/* Fate customer site. Same origin only (CSP): no web fonts, no inline styles. */
:root {
  color-scheme: dark;
  --bg: #0f0e13;            /* the logo's own background */
  --bg-deep: #0b0a0e;       /* main column of the signed-in area */
  --surface: #15141a;
  --surface-2: #1c1b22;
  --surface-3: #24222b;
  --line: #24222b;
  --line-strong: #35323d;
  --text: #f2f0f5;
  --text-soft: #c9c4d0;
  --muted: #9a95a3;         /* 6:1 on --bg */
  --faint: #847f8d;         /* 4.8:1, small labels only */
  --red: #e5304f;           /* logo red: marks and markers */
  --rose: #dc9ca8;          /* the red, quieted: headline tone and main buttons */
  --rose-hover: #e7b2bc;
  --on-rose: #1c0f13;
  --rose-soft: rgba(220, 156, 168, .12);
  --rose-line: rgba(220, 156, 168, .3);
  --good: #8fd6a9;
  --good-soft: rgba(143, 214, 169, .11);
  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur: 180ms;
  --section-py: 72px;
  --container: 1200px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-family: var(--font);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; letter-spacing: -.02em; }
p, dd { text-wrap: pretty; }
strong { font-weight: 600; }
code { font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: .9em; padding: 1px 6px; border-radius: 5px; background: var(--surface-3); color: var(--text); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 60; padding: 10px 14px; border-radius: var(--radius); background: var(--text); color: var(--bg); }
.skip:focus { top: 12px; }
main { outline: none; }
.loading { padding: 40vh 24px 0; text-align: center; color: var(--muted); }

/* Icons: one stroke weight everywhere. */
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.solid { fill: currentColor; stroke: none; }
#i-google path { stroke: none; }

/* The logo PNG has wide margins: crop to the mark and the word at any height (--h). */
.logo { --h: 22px; position: relative; display: block; flex: none; width: calc(var(--h) * 4.608); height: var(--h); overflow: hidden; }
.logo img { position: absolute; max-width: none; width: calc(var(--h) * 6.667); height: auto; left: calc(var(--h) * -1.025); top: calc(var(--h) * -.75); mix-blend-mode: lighten; }
.logo-lg { --h: 30px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius); font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; background: none; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .12s var(--ease), opacity .18s; }
.btn .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--rose); color: var(--on-rose); }
.btn-primary:hover { background: var(--rose-hover); }
.btn-outline { border-color: var(--line-strong); background: rgba(255, 255, 255, .02); color: var(--text); }
.btn-outline:hover { border-color: #4b4754; background: rgba(255, 255, 255, .05); }
.btn-block { width: 100%; }
.btn-small { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .42; cursor: not-allowed; transform: none; }
.btn:disabled .icon, .btn[aria-disabled="true"] .icon { transform: none; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 0; border-radius: 9px; background: none; color: var(--muted); transition: background-color .15s, color .15s; }
.icon-btn:hover { background: rgba(255, 255, 255, .06); color: var(--text); }

/* Fields: the label sits inside the box. */
.stack { display: grid; gap: 12px; }
.field { position: relative; display: block; padding: 9px 14px 7px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface-2); transition: border-color .15s, box-shadow .15s; }
.field:focus-within { border-color: #5a5562; box-shadow: 0 0 0 3px var(--rose-soft); }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.field input { display: block; width: 100%; padding: 2px 0 3px; border: 0; outline: none; background: none; font-size: 15px; }
.field input::placeholder { color: #6d6876; }
.field input[readonly] { color: var(--text-soft); }
.has-action input { padding-right: 40px; }
.field-action { position: absolute; right: 7px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 8px; background: none; color: var(--muted); }
.field-action:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.hint { font-size: 13px; line-height: 1.55; color: var(--muted); }

/* Entrance */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.rise { animation: rise .55s var(--ease) both; }
.rise:nth-child(2) { animation-delay: .05s; }
.rise:nth-child(3) { animation-delay: .1s; }
.rise:nth-child(4) { animation-delay: .15s; }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
  .btn, .btn .icon, .sidebar { transition: none; }
}

/* ---------- Landing ---------- */
.landing { position: relative; isolation: isolate; width: 100%; }
.public { position: relative; isolation: isolate; width: min(var(--container), 100% - 64px); margin-inline: auto; }
.wrap { width: min(var(--container), 100% - 64px); margin-inline: auto; }
.landing::before, .public::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(860px 540px at 50% -10%, rgba(229, 48, 79, .09), transparent 72%),
    radial-gradient(620px 420px at 78% 42%, rgba(255, 255, 255, .035), transparent 70%); }

/* Announcement band */
.announce { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(229, 48, 79, .12), rgba(229, 48, 79, .04) 55%, transparent), var(--surface); color: var(--text-soft); font-size: 13px; font-weight: 600; text-align: center; }
.announce .icon { width: 15px; height: 15px; stroke-width: 2.3; color: var(--rose); }

/* Top bar: logo, centred pill navigation, account actions */
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 84px; }
.public .topbar { border-bottom: 1px solid var(--line); }
.topbar .logo { --h: 24px; }
.topnav { justify-self: center; display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); font-size: 14px; }
.topnav a { padding: 8px 16px; border-radius: 999px; color: var(--muted); font-weight: 500; transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .07); }
.topbar-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.topbar-actions .btn { border-radius: 999px; }

/* Hero */
.hero { display: grid; justify-items: center; align-content: center; gap: 26px; padding: 80px 0 96px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border: 1px solid var(--rose-line); border-radius: 999px; background: var(--rose-soft); color: var(--rose); font-size: 13px; font-weight: 600; }
.eyebrow .icon { width: 14px; height: 14px; stroke-width: 2.3; }
.hero h1 { display: flex; flex-direction: column; font-size: clamp(44px, 6.6vw, 76px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.hero h1 .tone { color: var(--rose); }
.hero-sub { max-width: 52ch; font-size: 17px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
.hero-actions .btn { height: 50px; padding: 0 24px; border-radius: 999px; }

/* Section frame */
.section { padding: var(--section-py) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 10px; margin-bottom: 36px; }
.section-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.section-head h2 { font-size: clamp(27px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
.section-head p { max-width: 62ch; font-size: 15.5px; color: var(--muted); }

/* Offers shown on the landing */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 282px), 1fr)); gap: 18px; }
.shop-card { display: flex; flex-direction: column; gap: 9px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.shop-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.shop-tag { font-size: 12.5px; font-weight: 600; color: var(--rose); }
.shop-card h3 { font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.shop-price { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.shop-price span { font-family: var(--font); font-size: 13.5px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.shop-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.chip .icon { width: 13px; height: 13px; stroke-width: 2.5; }
.chip.good { background: var(--good-soft); color: var(--good); }
.shop-card .btn { margin-top: auto; border-radius: 999px; }
.shop-skeleton { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--faint); font-size: 14px; }
.shop-grid > .empty { grid-column: 1 / -1; }

/* How it works */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 262px), 1fr)); gap: 18px; counter-reset: hstep; }
.step-card { counter-increment: hstep; display: grid; align-content: start; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.step-card::before { content: counter(hstep, decimal-leading-zero); font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--rose); font-variant-numeric: tabular-nums; }
.step-card h3 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.step-card p { font-size: 14.5px; color: var(--muted); }

/* What the account gives */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 252px), 1fr)); gap: 18px; }
.why-card { display: grid; align-content: start; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.why-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); background: var(--rose-soft); color: var(--rose); }
.why-icon .icon { width: 19px; height: 19px; }
.why-card h3 { font-size: 16.5px; font-weight: 650; letter-spacing: -.01em; }
.why-card p { font-size: 14.5px; color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 15.5px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 9px; height: 9px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); rotate: 45deg; translate: 0 -3px; transition: rotate var(--dur) var(--ease), translate var(--dur) var(--ease); }
.faq-item[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq-item p { padding: 0 22px 20px; max-width: 78ch; font-size: 14.5px; color: var(--muted); }

/* Footer */
.site-footer { padding: 48px 0 36px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand .logo { --h: 24px; margin-bottom: 14px; }
.footer-brand p { max-width: 38ch; }
.footer-col h3 { margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.footer-col nav { display: grid; gap: 9px; }
.footer-col a { transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* ---------- Sign in / create an account ---------- */
.auth-screen { position: relative; isolation: isolate; min-height: 100dvh; display: grid; place-items: center; align-content: center; gap: 22px; padding: 48px 16px; }
.auth-screen::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(560px 460px at 50% 38%, rgba(255, 255, 255, .03), transparent 70%); }
.auth-card { width: min(420px, 100%); padding: 36px 32px 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); }
.auth-card .logo { margin: 0 auto 24px; }
.auth-card h1 { font-size: 21px; font-weight: 650; text-align: center; }
.auth-copy { margin: 8px auto 0; max-width: 36ch; font-size: 14px; color: var(--muted); text-align: center; }
.auth-body { display: grid; gap: 12px; margin-top: 26px; }
.identity-block { display: grid; gap: 12px; }
.providers { display: grid; gap: 10px; }
.providers:empty { display: none; }
.providers .btn { justify-content: flex-start; gap: 12px; padding: 0 16px; font-weight: 600; }
.providers .btn .icon { width: 19px; height: 19px; }
.providers .btn:hover .icon { transform: none; }
.providers .btn span { flex: 1; text-align: center; padding-right: 31px; }
.identity-block .hint:empty { display: none; }
.divider { display: flex; align-items: center; gap: 12px; margin: 6px 0; font-size: 12.5px; color: var(--faint); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-alt { justify-self: center; padding: 6px 4px 0; font-size: 14px; color: var(--muted); }
.auth-alt:hover { color: var(--text); }
.auth-back { font-size: 13.5px; color: var(--muted); }
.auth-back:hover { color: var(--text); }

/* ---------- Signed-in area ---------- */
.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100dvh; }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; padding: 18px 14px 14px; border-right: 1px solid var(--line); background: var(--bg); }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 10px 16px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-nav { display: flex; flex: 1; flex-direction: column; gap: 2px; overflow-y: auto; }
.side-nav a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 12px; border-radius: 9px; color: var(--text-soft); font-size: 14.5px; font-weight: 500; transition: background-color .15s, color .15s; }
.side-nav a .icon { color: var(--faint); transition: color .15s; }
.side-nav a:hover { background: rgba(255, 255, 255, .035); color: var(--text); }
.side-nav a[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.side-nav a[aria-current="page"] .icon { color: var(--text); }
.side-nav a[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 2px; border-radius: 2px; background: var(--red); }
.side-label { margin: 18px 12px 6px; font-size: 12px; font-weight: 600; color: var(--faint); }
.side-user { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding: 8px 6px 8px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.user-link { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; padding: 2px; border-radius: 8px; }
.user-link[aria-current="page"] .user-text strong, .user-link:hover .user-text strong { color: var(--rose); }
.avatar { position: relative; display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; background: linear-gradient(140deg, #2c2933, #1b1a20); font-weight: 700; font-size: 14px; color: var(--text); }
.avatar::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; border: 2px solid var(--surface); border-radius: 50%; background: var(--faint); }
.avatar.is-linked::after { background: var(--good); }
.user-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.user-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; transition: color .15s; }
.user-status { font-size: 12px; color: var(--muted); }
.app-main { min-width: 0; background: var(--bg-deep); }
.only-mobile { display: none !important; }
.banner { display: flex; align-items: center; gap: 12px; padding: 12px 32px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(229, 48, 79, .09), transparent 55%), var(--surface); font-size: 14px; }
.banner > .icon { color: var(--rose); }
.banner p { flex: 1; }
.view { width: min(960px, 100% - 64px); margin-inline: auto; padding: 48px 0 88px; }
.view > * + * { margin-top: 20px; }
.view-public { padding-top: 56px; }
.page-head { padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(28px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -.035em; font-weight: 700; }
.page-head p { margin-top: 6px; color: var(--muted); }
.section-title { margin: 12px 0 12px; font-size: 15px; font-weight: 600; color: var(--text-soft); letter-spacing: 0; }
.small-title { margin: 24px 0 0; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.body-copy { color: var(--text-soft); max-width: 68ch; }

.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.card-head h2, .card h2 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Getting started */
.steps { list-style: none; padding: 0; }
.steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.step-check { display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid var(--line-strong); border-radius: 50%; color: transparent; }
.step-check .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.steps .is-done .step-check { border-color: rgba(143, 214, 169, .45); background: var(--good-soft); color: var(--good); }
.steps strong { display: block; font-size: 15px; }
.steps p { font-size: 13.5px; color: var(--muted); }
.steps .is-done strong { color: var(--text-soft); }

/* Status tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.tile { display: grid; align-content: start; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.tile h3 { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.tile p { font-size: 14px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 7px; justify-self: start; height: 24px; padding: 0 9px; border-radius: 6px; background: rgba(255, 255, 255, .05); font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.good { background: var(--good-soft); color: var(--good); }

/* Offers */
.pill-note { display: inline-block; padding: 6px 12px; border-radius: 8px; background: var(--rose-soft); color: var(--rose); font-size: 13px; font-weight: 600; }
.offer-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.offer { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color .2s; }
.offer:hover { border-color: var(--line-strong); }
.offer-tag { font-size: 12.5px; font-weight: 600; color: var(--rose); }
.offer h2 { font-size: 19px; font-weight: 650; }
.offer-price { margin-top: 10px; font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.offer-price span { margin-left: 6px; font-family: var(--font); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.offer-facts { list-style: none; display: grid; gap: 9px; margin: 18px 0 22px; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-soft); }
.offer-facts li { display: flex; align-items: center; gap: 10px; }
.offer-facts .icon { width: 16px; height: 16px; stroke-width: 2.2; color: var(--good); }
.offer-actions { display: grid; gap: 10px; margin-top: auto; }
.offers-note { margin-top: 18px; }
.empty { display: grid; justify-items: center; gap: 8px; padding: 56px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); text-align: center; }
.empty > .icon { width: 28px; height: 28px; margin-bottom: 6px; color: var(--faint); }
.empty h2 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.empty p { max-width: 44ch; font-size: 14px; color: var(--muted); }
.empty .btn { margin-top: 12px; }

/* Orders */
.table-card { padding: 6px 0; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 13px 24px; text-align: left; white-space: nowrap; }
th { font-size: 12.5px; font-weight: 600; color: var(--muted); }
td { border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }

/* Download */
.download-list { display: grid; gap: 14px; }
.download-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.download-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--rose-soft); color: var(--rose); }
.download-icon .icon { width: 22px; height: 22px; }
.download-main h2 { margin-bottom: 2px; }
.download-main .btn:hover .icon { transform: translateY(1px); }
.download-access { display: grid; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.download-products { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.howto { list-style: none; counter-reset: step; display: grid; margin-top: 22px; padding: 0; border-top: 1px solid var(--line); }
.howto li { counter-increment: step; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.howto li:last-child { border-bottom: 0; padding-bottom: 0; }
.howto li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font-size: 13px; font-weight: 600; color: var(--rose); font-variant-numeric: tabular-nums; line-height: 1.7; }
.howto strong { font-size: 14.5px; }
.howto span { font-size: 13.5px; color: var(--muted); }

/* Licences */
.activation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 24px; align-items: center; }
.activation h2 { margin-bottom: 4px; }
.inline-form { display: flex; gap: 10px; }
.inline-form .field { flex: 1; min-width: 0; }
.inline-form .btn { height: auto; }
#activate-help { grid-column: 1 / -1; }

/* Device */
.kv { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.kv span { color: var(--muted); }

.kv-title { margin: 0; }
.device-status { display: flex; align-items: flex-start; gap: 14px; }
.status-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--surface-2); color: var(--text-soft); }
.status-icon.good { background: var(--good-soft); color: var(--good); }
.status-icon.wait { background: var(--rose-soft); color: var(--rose); }
.device-status strong { display: block; font-size: 15px; }
.device-status p { margin-top: 3px; font-size: 14px; color: var(--muted); max-width: 64ch; }
.device-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-left: 54px; }
.device-form { display: flex; gap: 10px; margin-top: 18px; padding-left: 54px; }
.device-form .field { flex: 1; min-width: 0; max-width: 420px; }
.device-form .btn { height: auto; }

/* Help */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.faq > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 600; }
.faq dd { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* Account */
.list-card { padding: 4px 24px; }
.row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--surface-2); color: var(--text-soft); }
.row-text { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.row-text span { font-size: 13.5px; color: var(--muted); }

/* Toast */
.notice { position: fixed; right: 20px; bottom: 20px; z-index: 50; max-width: min(400px, calc(100% - 40px)); padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-3); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); font-size: 14px; animation: rise .3s var(--ease) both; }

/* ---------- Narrow screens ---------- */
@media (max-width: 900px) {
  .only-mobile { display: grid !important; }
  .mobile-bar.only-mobile { display: flex !important; }
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; width: min(288px, 86vw); transform: translateX(-102%); transition: transform .28s var(--ease); }
  .app.menu-open .sidebar { transform: none; box-shadow: 0 0 60px rgba(0, 0, 0, .6); }
  .scrim { position: fixed; inset: 0; z-index: 30; background: rgba(5, 4, 8, .6); }
  .mobile-bar { position: sticky; top: 0; z-index: 20; align-items: center; gap: 10px; height: 60px; padding: 0 12px; border-bottom: 1px solid var(--line); background: rgba(11, 10, 14, .88); backdrop-filter: blur(12px); }
  .mobile-bar .logo { --h: 20px; }
  .banner { padding: 12px 16px; flex-wrap: wrap; }
  .view { width: calc(100% - 32px); padding: 28px 0 64px; }
  .activation, .faq { grid-template-columns: minmax(0, 1fr); }
  .download-main { grid-template-columns: auto minmax(0, 1fr); }
  .download-main .btn { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .public, .wrap { width: calc(100% - 32px); }
  .topbar { height: 68px; }
  .topbar .logo { --h: 20px; }
  .topnav a { padding: 8px 10px; }
  .hero { padding: 48px 0 72px; gap: 22px; }
  .hero-actions { flex-direction: column; justify-self: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .auth-card { padding: 28px 20px 22px; border-radius: 16px; }
  .steps li { grid-template-columns: 26px minmax(0, 1fr); }
  .steps li > .btn { grid-column: 2; justify-self: start; }
  .inline-form { flex-direction: column; }
  .inline-form .btn { height: 46px; }
  .row { flex-wrap: wrap; }
  .row .btn { margin-left: 52px; }
  .kv { flex-wrap: wrap; }
  .device-actions, .device-form { padding-left: 0; }
  .device-form { flex-direction: column; }
  .device-form .field { max-width: none; }
  .device-form .btn { height: 46px; }
  th, td { padding: 12px 16px; }
}

/* ---------- Narrow screens: landing ---------- */
@media (max-width: 1000px) {
  :root { --section-py: 56px; }
  .topbar { grid-template-columns: auto minmax(0, 1fr); }
  .landing .topnav { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .announce { font-size: 12.5px; text-wrap: balance; }
  .hero h1 { letter-spacing: -.03em; }
  .hero-sub { font-size: 16px; }
  .topbar-actions .btn { padding: 0 12px; }
  .section-head { margin-bottom: 26px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq-item summary { padding: 16px 18px; font-size: 15px; }
  .faq-item p { padding: 0 18px 18px; }
}
