@font-face {
    font-family: "Schibsted Grotesk";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/schibsted-grotesk-400.woff2") format("woff2");
}
@font-face {
    font-family: "Schibsted Grotesk";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/schibsted-grotesk-500.woff2") format("woff2");
}
@font-face {
    font-family: "Schibsted Grotesk";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/schibsted-grotesk-600.woff2") format("woff2");
}

:root {
    --bg: #0e1116;
    --surface: #171c26;
    --surface-subtle: #222836;
    --surface-dark: #10141c;
    --surface-dark-2: #1c2330;
    --ink: #f3f5f8;
    --muted: #a7b0c0;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --accent: #ff5a36;
    --accent-ink: #ffffff;
    --accent-hover: #ff7454;
    --accent-soft: rgba(255, 90, 54, 0.16);
    --accent-border: rgba(255, 90, 54, 0.42);
    --accent-text: #ffb4a2;
    --field: #10141c;
    --danger: #ff8d7a;
    --margin: 28px;
    --stage: 74rem;
    --measure: 38rem;
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 10px 28px -8px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 24px 54px -16px rgba(0, 0, 0, 0.7);
    --font: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
    --step-small: 0.875rem;
    --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.09375rem);
    --step-lead: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
    --step-head: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; scrollbar-color: #3a4354 var(--bg); }
body {
    margin: 0;
    background: var(--bg);
    background-image: radial-gradient(circle at 50% 0%, #1a2030 0%, var(--bg) 58%);
    color: var(--ink);
    font-family: var(--font);
    font-size: var(--step-body);
    font-weight: 400;
    line-height: 1.55;
    text-wrap: pretty;
    -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 {
    text-wrap: balance;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0;
    scroll-margin-top: 5.5rem;
}
h1 { font-size: var(--step-head); }
h2 { font-size: var(--step-head); margin-bottom: 0.75rem; }
h3 { font-size: var(--step-lead); font-weight: 600; margin-bottom: 0.5rem; }
p { margin: 0 0 1rem; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

/* Prevent squished inline spans in headings (e.g. legacy <h1><span>$50 for</span><span>full lifetime</span></h1>) */
h1 > span + span::before { content: " "; }

.skip-link {
    position: absolute;
    left: 12px;
    top: -56px;
    background: var(--accent);
    color: var(--accent-ink);
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    z-index: 50;
}
.skip-link:focus { top: 12px; }

.stage, .page-wrap {
    width: min(100% - (2 * var(--margin)), var(--stage));
    margin-inline: auto;
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(14, 17, 22, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    width: min(100% - (2 * var(--margin)), var(--stage));
    margin: 0 auto;
    min-height: 4.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}
/* Fallback if .site-header has direct children without .header-inner */
.site-header:not(:has(.header-inner)) {
    width: 100%;
    padding-inline: max(var(--margin), calc((100% - var(--stage)) / 2));
    min-height: 4.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 44px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.brand img {
    width: 28px;
    height: 28px;
    display: block;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}
.site-nav a {
    text-decoration: none;
    min-height: 38px;
    padding: 0 0.85rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 140ms ease, background-color 140ms ease;
}
.site-nav a:hover {
    color: var(--ink);
    background: var(--surface-subtle);
}
.site-nav a[aria-current="page"] {
    color: var(--ink);
    background: var(--surface);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}
.site-nav a.nav-account { display: none; }
.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
}
.nav-actions a, .nav-actions button { text-decoration: none; }
.sign-link {
    min-height: 40px;
    padding: 0 0.75rem;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    border-radius: var(--radius-sm);
    transition: color 140ms ease, background-color 140ms ease;
}
.sign-link:hover {
    color: var(--ink);
    background: var(--surface-subtle);
}
.menu-toggle {
    display: none;
    min-height: 40px;
    padding: 0 0.85rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--ink);
}

/* Buttons & Links */
.button, .button-primary, .pay-link, .cell-quiet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0 1.25rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    box-shadow: var(--shadow-sm);
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.button:hover, .cell-quiet:hover {
    background: var(--surface-subtle);
    border-color: var(--border-strong);
}
.button:active:not(:disabled) { transform: translateY(1px); }
.button:disabled { opacity: 0.5; cursor: not-allowed; }
.button-primary, .pay-link {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
    box-shadow: 0 1px 2px rgba(17, 19, 24, 0.08), 0 4px 12px rgba(255, 90, 54, 0.25);
}
.button-primary:hover, .pay-link:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--accent-ink);
    box-shadow: 0 2px 4px rgba(17, 19, 24, 0.1), 0 6px 16px rgba(255, 90, 54, 0.32);
}
.button-secondary {
    background: var(--surface);
    border-color: var(--border-strong);
    color: var(--ink);
}
.button-quiet {
    background: var(--surface-subtle);
    border-color: transparent;
    box-shadow: none;
}
.button-quiet:hover {
    background: #2c3444;
    border-color: var(--border);
}
.text-link {
    color: var(--accent);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
.text-link:hover { color: var(--accent-hover); }
.icon {
    width: 1.15rem;
    height: 1.15rem;
    display: inline-block;
    vertical-align: -0.15em;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
}

/* Badges & Pills */
.hero-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.15rem;
    max-width: none;
}
.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: var(--accent-soft);
    color: var(--accent-text);
    border: 1px solid var(--accent-border);
}
.badge-subtle {
    background: var(--surface);
    color: var(--muted);
    border-color: var(--border);
}

/* Sections & Hero */
.section { padding-top: 5.5rem; }
.hero { padding-top: 3rem; }
.hero-top {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.65fr);
    gap: 2.5rem 3.5rem;
    align-items: center;
    margin-bottom: 2.75rem;
}
.price {
    font-size: clamp(2.25rem, 4.5vw, 3.85rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.04;
    font-variant-numeric: tabular-nums;
    max-width: none;
    color: var(--ink);
}
.lede {
    font-size: var(--step-lead);
    color: var(--muted);
    margin-top: 1.1rem;
    max-width: 40rem;
    line-height: 1.5;
}
.hero-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.35rem;
}
.platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}
.platform-chip img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 3px;
}
.platform-chip-mark {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    border-radius: 3px;
    background: var(--surface-dark);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
}
a.platform-chip { text-decoration: none; }
a.platform-chip:hover { border-color: var(--border-strong); }
.catalog { display: grid; gap: 1.5rem; }
.catalog-group { min-width: 0; }
.catalog-label {
    margin: 0 0 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.catalog-names {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1rem;
    margin: 1.65rem 0 0;
}

/* Summary Card in Hero */
.summary-card, .facts-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.65rem;
    box-shadow: var(--shadow-md);
}
.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.summary-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.summary-price {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.summary-foot {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--muted);
}

/* App Screenshot Showcase */
.hero-shot { margin-top: 1rem; }
.shot {
    display: block;
    background: var(--surface-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 0.65rem 0.65rem 0;
    box-shadow: var(--shadow-lg);
    color: #e2e8f0;
    text-decoration: none;
    overflow: hidden;
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.shot:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 64px -12px rgba(15, 23, 42, 0.28), 0 6px 20px -2px rgba(15, 23, 42, 0.12);
}
.shot img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 8px;
    background: #0d1017;
}
.shot span {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.65rem 0.5rem;
    font-size: 0.825rem;
    font-weight: 500;
    color: #94a3b8;
    max-width: none;
    text-decoration: none;
}
.shot:hover span {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* Section Intros & Split Grids */
.section-intro { margin-bottom: 1.75rem; }
.section-intro p:not(.hero-kicker) { color: var(--muted); }
.split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    gap: 2.5rem 3.5rem;
    align-items: center;
}
.split-copy p { color: var(--muted); }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    align-items: center;
    min-height: 44px;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}
.facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.facts li:first-child { padding-top: 0; }
.facts li span:first-child { color: var(--muted); font-size: 0.95rem; }
.facts li span:last-child { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }

/* Platform Picks (Home Page) */
.picks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.pick {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    padding: 1.25rem 1.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}
.pick:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}
.pick input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.pick-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.pick-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}
.pick-monogram {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    background: var(--surface-dark);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}
.pick-name { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.pick-badge {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--surface-subtle);
    color: var(--muted);
}
.pick-fact { color: var(--muted); font-size: 0.95rem; }
.pick-note {
    display: none;
    margin: 0.25rem 0 0;
    padding-top: 0.65rem;
    border-top: 1px solid var(--accent-border);
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 500;
}
.pick:has(input:checked) {
    background: var(--accent-soft);
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(255, 90, 54, 0.12);
}
.pick:has(input:checked) .pick-badge {
    background: var(--accent);
    color: var(--accent-ink);
}
.pick:has(input:checked) .pick-note { display: block; }
.pick:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Payment Section */
.pay-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2rem;
    align-items: stretch;
}
.pay-steps-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}
.pay-steps-card > p { color: var(--muted); margin-bottom: 1.35rem; }
.steps {
    margin: 0;
    padding-left: 1.35rem;
    max-width: 40rem;
    display: grid;
    gap: 0.85rem;
}
.steps li {
    padding-left: 0.35rem;
    color: var(--ink);
}
.steps li::marker {
    font-weight: 600;
    color: var(--accent);
}
.sol-box {
    background: var(--surface-dark);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
}
.sol-box-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.sol-box h3 { color: #ffffff; margin: 0; }
.sol-box .badge-pill {
    background: rgba(255, 90, 54, 0.18);
    color: #ff8568;
    border-color: rgba(255, 90, 54, 0.35);
}
.address {
    font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
    max-width: none;
    margin: 0;
    padding: 1rem 1.1rem;
    background: var(--surface-dark-2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #ffffff;
    user-select: all;
}
.sol-actions { display: flex; gap: 0.75rem; }
.sol-meta {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.925rem;
    color: #cbd5e1;
}
.sol-meta a { color: #ff8568; font-weight: 600; }

/* Contact / Leave a Message */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2rem 3.5rem;
    align-items: start;
}
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}
.form-stack, .coupon form, .filters label, .form-stack label {
    display: grid;
    gap: 0.4rem;
    font-weight: 500;
    font-size: 0.95rem;
}
.form-stack { gap: 1rem; }
.field, .filters select {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 0.65rem 0.85rem;
    background: var(--field);
    color: var(--ink);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-weight: 400;
    transition: border-color 140ms ease, box-shadow 140ms ease;
}
.field::placeholder { color: #7d8798; }
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: var(--ink);
    caret-color: var(--ink);
    box-shadow: 0 0 0 1000px var(--field) inset;
    transition: background-color 9999s ease-out;
}
.field:focus, .field:focus-visible {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.18);
}
textarea.field { min-height: 7.5rem; resize: vertical; }
.field-row, .terms-acceptance { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 400; }
input[type="checkbox"] { width: 1.05rem; height: 1.05rem; accent-color: var(--accent); margin-top: 0.22rem; flex-shrink: 0; }

/* Platforms Filter Page (/sites) */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    align-items: end;
    margin: 1.5rem 0;
    padding: 1.35rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.filters label { min-width: min(100%, 15rem); flex: 1; }
.check { display: flex; gap: 0.55rem; align-items: center; min-height: 46px; min-width: 0; flex: 0 0 auto; }
.platform-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}
.platform-list li {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    min-height: 60px;
    padding: 1rem 1.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.platform-list-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.platform-list strong { font-size: 1.15rem; font-weight: 600; }
.platform-list-fact, .platform-list > li > span { color: var(--muted); text-align: right; }
.empty-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    color: var(--muted);
}

/* Download & Help Cards */
.download-card h2 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.download-url-box {
    padding: 0.85rem 1rem;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin: 0.85rem 0 1.15rem;
}
.help-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.help-cards .facts-card h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }

/* Footer */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    margin-top: 6rem;
    padding: 3.5rem 0 2.25rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 2rem 3rem;
}
.footer-name {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0 0 0.75rem;
    max-width: none;
}
.footer-note { max-width: 42rem; color: var(--muted); }
.footer-meta {
    width: min(100% - (2 * var(--margin)), var(--stage));
    margin: 2rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
}
.footer-meta a {
    text-decoration: none;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    font-size: 0.925rem;
    color: var(--muted);
}
.footer-meta a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* Notices & Utilities */
.notice {
    width: min(100% - (2 * var(--margin)), var(--stage));
    margin: 1rem auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    color: var(--ink);
    padding: 0.9rem 1.1rem;
    box-shadow: var(--shadow-sm);
}
.notice-error {
    background: rgba(158, 42, 27, 0.22);
    border-color: rgba(255, 141, 122, 0.45);
    border-left-color: var(--danger);
    color: #ffd2c8;
}
.notice ul { margin: 0.4rem 0 0; }
.muted, .quiet { color: var(--muted); }
.long-link { overflow-wrap: anywhere; }

/* Auth, Account & Admin Pages */
.auth-page { display: flex; justify-content: center; padding: 3.5rem 0 4.5rem; }
.auth-panel {
    width: min(100%, 29rem);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
}
.auth-panel h1 { margin-bottom: 1.25rem; }
.auth-panel .form-stack { margin: 1.25rem 0; }
.auth-panel .button-primary { width: 100%; }
.page-heading { margin-bottom: 1.5rem; display: flex; flex-direction: column; }
.page-heading .eyebrow {
    order: 2;
    margin: 0.45rem 0 0;
    font-size: var(--step-body);
    font-weight: 400;
    color: var(--muted);
    max-width: var(--measure);
}

.account-shell {
    width: min(100% - (2 * var(--margin)), var(--stage));
    margin: 2.5rem auto 4rem;
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}
.account-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.85rem;
    box-shadow: var(--shadow-sm);
}
.account-nav a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 42px;
    padding: 0 0.7rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
}
.account-nav a:hover { background: var(--surface-subtle); color: var(--ink); }
.account-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }
.account-nav-heading {
    padding: 0.75rem 0.7rem 0.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}
.account-nav-bottom {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.account-main, .desk { min-width: 0; }
.sheet { padding: 2.75rem 0 4rem; }
.sheet .desk {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}
.icon-button {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    background: transparent;
    color: inherit;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 0;
}
.icon-button:hover { background: var(--surface-subtle); border-color: var(--border); }
.avatar {
    width: 2rem;
    height: 2rem;
    display: inline-grid;
    place-items: center;
    background: var(--surface-subtle);
    border-radius: 50%;
    font-weight: 600;
    color: var(--ink);
    flex-shrink: 0;
}
.table-wrap { overflow-x: auto; margin-top: 1.25rem; }
.data-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td {
    text-align: left;
    vertical-align: top;
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid var(--border);
}
.data-table th {
    font-size: 0.825rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
}
.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.825rem;
    font-weight: 500;
    background: var(--surface-subtle);
}
.status-active { background: rgba(34, 120, 70, 0.28); color: #b6e7c8; }
.status-pending { background: rgba(180, 120, 30, 0.28); color: #f3d7a1; }
.status-error { background: rgba(160, 40, 30, 0.32); color: #ffc7be; }
.status-line { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; margin: 0.75rem 0 1.25rem; }
.build-progress { display: grid; gap: 0.4rem; margin: 0.75rem 0; max-width: 28rem; }
.build-progress[hidden] { display: none; }
.build-progress-track { height: 10px; border-radius: 999px; background: var(--surface-subtle); border: 1px solid var(--border); overflow: hidden; }
.build-progress-track > span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width 180ms ease; }
.check-line { display: flex; gap: 0.6rem; align-items: flex-start; line-height: 1.45; }
.check-line input { margin-top: 0.25rem; }
.message-list { display: grid; gap: 0.8rem; }
.message { background: var(--surface-subtle); border-radius: var(--radius-sm); padding: 0.85rem 0.95rem; max-width: 40rem; }
.message-own { background: rgba(34, 120, 70, 0.28); color: #e7f6ec; }
.panel { padding: 0.75rem 0 1rem; border-bottom: 1px solid var(--border); }
.content-page, .legal-content { padding: 2.5rem 0 4rem; }
.legal-doc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}
.legal-doc h1 { margin-bottom: 0.75rem; }
.legal-doc h2 { font-size: var(--step-lead); margin-top: 2rem; }
.legal-doc p, .legal-doc li { font-size: var(--step-body); color: var(--muted); }
.legal-doc__meta { color: var(--muted); font-size: 0.9rem; }

/* Floating Live Chat Widget */
.live-chat {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 30;
    width: max-content;
    max-width: calc(100% - 32px);
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
}
.live-chat[open] { width: min(23rem, calc(100% - 32px)); }
.live-chat summary {
    list-style: none;
    min-height: 46px;
    padding: 0 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(255, 90, 54, 0.35);
    transition: background-color 150ms ease, transform 150ms ease;
}
.live-chat summary:hover { background: var(--accent-hover); }
.live-chat summary:active { transform: scale(0.97); }
.live-chat summary::-webkit-details-marker { display: none; }
.live-chat form {
    width: 100%;
    margin-bottom: 0.65rem;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
}
.chat-log {
    display: grid;
    gap: 0.55rem;
    max-height: 16rem;
    overflow: auto;
    margin-bottom: 0.85rem;
}
.chat-line, .chat-thread {
    margin: 0;
}
.chat-line {
    padding: 0.55rem 0.7rem;
    border-radius: var(--radius-sm);
    background: var(--surface-subtle);
}
.chat-line-you { background: rgba(255, 90, 54, 0.16); }
.chat-line-staff { background: rgba(34, 120, 70, 0.28); }
.chat-who { display: block; font-size: 0.78rem; font-weight: 650; margin-bottom: 0.15rem; }
.chat-thread {
    display: grid;
    gap: 0.45rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}
.chat-thread .field { min-height: 2.5rem; }
.chat-desk { margin: 0 0 1.5rem; }
.chat-desk .chat-log { max-height: 28rem; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Legacy Markup Compatibility (ensures cached/older Blade markup renders cleanly too) */
.invite, .showcase, .menu-band, .pay, .contact-band {
    width: min(100% - (2 * var(--margin)), var(--stage));
    margin-inline: auto;
    padding-top: 3rem;
}
.order-card, .slip, .coupon {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}
.name-stack {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.name-stack li {
    padding: 0.4rem 0.85rem;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 500;
}
.card-foot, .slip-end { margin-top: 1rem; color: var(--muted); font-size: 0.925rem; }
.showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: 2.5rem;
    align-items: center;
}
.cells { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.25rem; }
.pay {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}
.slip-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
    .line-mask { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
    .line-mask > span { display: block; animation: mask-rise 700ms cubic-bezier(0.16, 1, 0.3, 1) both; }
    .arrive { animation: fade-up 600ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both; }
    html.motion .rise { opacity: 0; transform: translateY(14px); }
    html.motion .rise.shown {
        opacity: 1;
        transform: none;
        transition: opacity 550ms cubic-bezier(0.16, 1, 0.3, 1), transform 550ms cubic-bezier(0.16, 1, 0.3, 1);
    }
}
@keyframes mask-rise {
    from { transform: translateY(105%); }
    to { transform: none; }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .hero-top, .split, .pay-grid, .contact-grid, .footer-grid, .account-shell, .help-cards, .picks, .showcase, .pay {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
@media (max-width: 800px) {
    :root { --margin: 16px; }
    .header-inner, .site-header:not(:has(.header-inner)) {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .menu-toggle { display: inline-flex; }
    .sign-link, .nav-actions form, .nav-actions > a:not(.button) { display: none; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        padding: 0.5rem 1rem 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
    }
    .site-nav.open { display: flex; }
    .site-nav a.nav-account { display: inline-flex; }
    .section { padding-top: 3.75rem; }
    .hero { padding-top: 1.75rem; }
    .site-footer { margin-top: 4rem; }
    .platform-list li { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
    .platform-list-fact { text-align: left; }
}
@media (max-width: 480px) {
    .brand span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    html.motion .rise { opacity: 1; transform: none; }
}
