/* Resell Tracker website: shared styles for the home, download, privacy, terms and unsubscribe pages (the admin
   page uses its tokens too). Colors match the app (ui/index.html). Light and dark follow the visitor's system setting. */

:root {
  color-scheme: light;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Bricolage Grotesque", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bg: #f4f4f2;
  --bg-2: #ecebe6;
  --panel: #ffffff;
  --panel-2: #f7f7f5;
  --hover: rgba(11, 11, 11, .05);
  --border: rgba(11, 11, 11, .09);
  --border-strong: rgba(11, 11, 11, .16);
  --text: #0b0b0b;
  --text-2: #52514e;
  --muted: #6c6a64;
  --accent: #4f5bd5;
  --accent-hover: #4350c4;
  --accent-soft: rgba(79, 91, 213, .11);
  --accent-text: #3d48b8;
  --btn: #4f5bd5;
  --btn-hover: #4350c4;
  --on-btn: #ffffff;
  --good: #0a7a2a;
  --good-soft: rgba(12, 163, 12, .10);
  --header-bg: rgba(244, 244, 242, .84);
  --glow: rgba(79, 91, 213, .22);
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 2px 10px rgba(0, 0, 0, .03);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .04), 0 24px 60px rgba(30, 36, 90, .14);
  --radius: 16px;
  --radius-sm: 12px;
  --gutter: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0d0d0d;
    --bg-2: #141413;
    --panel: #1a1a19;
    --panel-2: #20201f;
    --hover: rgba(255, 255, 255, .06);
    --border: rgba(255, 255, 255, .08);
    --border-strong: rgba(255, 255, 255, .15);
    --text: #ffffff;
    --text-2: #c3c2b7;
    --muted: #9c9a92;
    --accent: #6d78ee;
    --accent-hover: #7d87f2;
    --accent-soft: rgba(124, 134, 240, .16);
    --accent-text: #a8aef7;
    --btn: #4f5bd5;
    --btn-hover: #5d69e0;
    --good: #3fcf4f;
    --good-soft: rgba(12, 163, 12, .16);
    --header-bg: rgba(13, 13, 13, .82);
    --glow: rgba(109, 120, 238, .20);
    --shadow: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 24px 60px rgba(0, 0, 0, .55);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
b, strong { font-weight: 650; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.wrap { max-width: 1152px; margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--panel); color: var(--text); padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--muted); }
.fineprint { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 11px;
  border: 1px solid var(--border-strong); background: var(--panel); color: var(--text);
  font: 600 15px/1.2 var(--font); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn:hover { background: var(--panel-2); border-color: var(--muted); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: var(--btn); border-color: transparent; color: var(--on-btn);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 18px rgba(79, 91, 213, .28);
}
.btn.primary:hover { background: var(--btn-hover); }
.btn.lg { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 13px; }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn.light { background: #fff; color: #2d3294; border-color: transparent; }
.btn.light:hover { background: #eef0ff; }
.btn .ic { width: 18px; height: 18px; stroke-width: 2; }

.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cta-row.left { justify-content: flex-start; }
@media (max-width: 480px) { .cta-row .btn { flex: 1 1 100%; } }

.pill, .tag {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  font: 600 12.5px/1 var(--font); letter-spacing: .01em; white-space: nowrap;
  background: var(--bg-2); color: var(--text-2); vertical-align: middle;
}
.tag.accent, .pill.accent { background: var(--accent-soft); color: var(--accent-text); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 16px; height: 66px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0;
  color: var(--text); text-decoration: none; font: 700 18px/1 var(--display); letter-spacing: -.015em; white-space: nowrap;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 8px 12px; border-radius: 9px;
}
.nav-links a:hover { color: var(--text); background: var(--hover); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--hover); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
@media (max-width: 960px) { .nav-links { display: none; } }
@media (max-width: 430px) { .nav-actions .hide-xs { display: none; } }

/* The phone menu: below 960 px the section links move into it (a <details>, so it works without script;
   site.js closes it when a link is picked, on a tap outside or on Esc). */
.nav-menu { display: none; position: relative; flex: none; }
.nav-menu > summary {
  list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; cursor: pointer;
  color: var(--text); background: var(--panel); border: 1px solid var(--border-strong);
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary::marker { content: ""; }
.nav-menu > summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-menu > summary:hover, .nav-menu[open] > summary { background: var(--hover); }
.nav-menu .mi-close { display: none; }
.nav-menu[open] .mi-open { display: none; }
.nav-menu[open] .mi-close { display: inline; }
.nav-menu-panel {
  position: absolute; right: 0; top: calc(100% + 11px); z-index: 40; width: 240px; max-width: calc(100vw - 2 * var(--gutter));
  display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
}
.nav-menu-panel a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 9px;
  color: var(--text); text-decoration: none; font-weight: 550; font-size: 16px;
}
.nav-menu-panel a:hover, .nav-menu-panel a[aria-current="page"] { background: var(--hover); text-decoration: none; }
.nav-menu-panel .btn { justify-content: center; margin-top: 6px; color: var(--on-btn); }
.nav-menu-panel .btn:hover { background: var(--btn-hover); }
@media (max-width: 960px) { .nav-menu { display: block; } }
@media (max-width: 380px) { .nav { gap: 8px; } .nav-actions .btn.sm { padding: 0 10px; } .nav-menu > summary { width: 42px; height: 42px; } }

/* Terms and Privacy opened inside the iPhone app (?inapp=1): just the page, no ways onward into the website. */
.inapp .nav-links, .inapp .nav-actions, .inapp .nav-menu, .inapp .foot-links { display: none !important; }
.inapp .inapp-plain { color: inherit; text-decoration: none; cursor: default; }
.inapp .not-inapp { display: none !important; } /* (the website's own price and billing page) */

/* ---------- home page: hero ---------- */
.hero { position: relative; isolation: isolate; padding: 72px 0 24px; text-align: center; }
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -66px; height: 680px; pointer-events: none;
  background:
    radial-gradient(50% 55% at 50% 0%, var(--accent-soft), transparent 72%),
    radial-gradient(30% 40% at 85% 12%, var(--accent-soft), transparent 70%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; max-width: 100%;
  background: var(--accent-soft); color: var(--accent-text); font-weight: 650; font-size: 14px; letter-spacing: .01em;
}
.hero h1 { font-size: clamp(38px, 6.2vw, 70px); letter-spacing: -.035em; line-height: 1.03; max-width: 17ch; margin: 22px auto 0; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 42rem; margin: 22px auto 0; text-wrap: pretty; }
@media (max-width: 600px) { .hero { padding-top: 44px; } .eyebrow { font-size: 13px; } }

/* The app in a browser window, with the iPhone app in front of it. */
.showcase { position: relative; isolation: isolate; max-width: 1100px; margin: 56px auto 0; padding-bottom: calc(7% + 44px); text-align: left; }
.showcase::before {
  content: ""; position: absolute; z-index: -1; inset: 10% 4% 6%; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(24px);
}
.frame { margin: 0; background: var(--panel); border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.showcase .frame { width: 86%; }
.frame-bar {
  display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  background: var(--panel-2); border-bottom: 1px solid var(--border);
}
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); flex: none; }
.frame-bar span { margin-left: 8px; min-width: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot { display: block; background: var(--bg); }
.shot img { display: block; width: 100%; height: auto; }

.phone { position: absolute; right: 0; bottom: 44px; width: 24%; margin: 0; container-type: inline-size; }
.phone-body {
  position: relative; padding: 3.6cqw; border-radius: 15cqw; background: #16161a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 0 0 1px rgba(0, 0, 0, .35), var(--shadow-lg);
}
@media (prefers-color-scheme: dark) { .phone-body { background: #26262c; } }
.phone-screen { display: block; position: relative; overflow: hidden; border-radius: 11.6cqw; background: var(--bg); }
.phone-screen img { display: block; width: 100%; height: auto; }
/* the Dynamic Island */
.phone-screen::before {
  content: ""; position: absolute; z-index: 1; top: 2.4cqw; left: 50%; width: 30%; height: 8.4cqw;
  transform: translateX(-50%); border-radius: 99px; background: #000;
}
.phone figcaption {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 12px; white-space: nowrap;
}
@media (max-width: 720px) {
  .showcase { margin-top: 40px; padding-bottom: calc(10% + 44px); }
  .showcase .frame { width: 94%; }
  .frame-bar { height: 24px; padding: 0 9px; gap: 5px; }
  .frame-bar i { width: 7px; height: 7px; }
  .frame-bar span { font-size: 10.5px; }
  .phone { width: 31%; right: -4px; }
  .phone figcaption { left: auto; right: 0; transform: none; }
}

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section.tight { padding: 24px 0 104px; }
@media (max-width: 600px) { .section { padding: 72px 0; } .section.tight { padding: 8px 0 72px; } }
.section-head { max-width: 720px; margin: 0 auto; text-align: center; }
.kicker { font: 700 13px/1 var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 16px; }
.section-head h2, .spot-text h2 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.03em; }
.section-head p:not(.kicker) { margin-top: 18px; color: var(--text-2); font-size: 18px; text-wrap: pretty; }

.band { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (prefers-color-scheme: dark) { .band { background: var(--bg-2); } }

.pill.pro {
  height: 24px; padding: 0 10px; font-size: 12px; letter-spacing: .03em; text-transform: none; color: #fff;
  background: linear-gradient(135deg, #5461dc, #3d47bd);
}
.pill.good { background: var(--good-soft); color: var(--good); }

/* ---------- how it works ---------- */
.flow { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: flow; }
.flow li {
  counter-increment: flow; position: relative; min-width: 0;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px; display: flex; flex-direction: column; gap: 10px;
}
.flow li::before {
  content: counter(flow); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 6px;
  background: var(--btn); color: #fff; font: 700 18px/1 var(--display);
}
.flow h3 { font-size: 21px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.flow p { color: var(--text-2); }
@media (max-width: 860px) { .flow { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; } }

/* ---------- feature spotlights (text + a picture of the app) ---------- */
.spot { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.spot + .spot { margin-top: 112px; }
.spot.flip .spot-text { order: 2; }
.spot-text .kicker { display: flex; align-items: center; gap: 10px; }
.spot-text > p:not(.kicker) { margin-top: 18px; color: var(--text-2); font-size: 18px; }
.spot-text .checks { margin-top: 24px; }
.spot-text .checks li { font-size: 16px; }
.spot-text .more-line { margin-top: 18px; color: var(--muted); font-size: 15px; }
.spot-pic { min-width: 0; }
@media (max-width: 900px) {
  .spot { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 640px; margin: 0 auto; }
  .spot.flip .spot-text { order: 0; }
  .spot + .spot { margin-top: 88px; }
}

/* the two ways to print */
.outputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.output { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; min-width: 0; }
.band .output { background: var(--bg); }
@media (prefers-color-scheme: dark) { .band .output { background: var(--panel); } }
.output h3 { font: 700 16px/1.3 var(--font); letter-spacing: 0; display: flex; align-items: center; gap: 8px; }
.output h3 .ic { width: 20px; height: 20px; color: var(--accent-text); }
.output p { margin-top: 6px; color: var(--text-2); font-size: 14.5px; }
@media (max-width: 480px) { .outputs { grid-template-columns: minmax(0, 1fr); } }

/* a printed label in front of the app's "Item code" window */
.label-stack { position: relative; padding: 0 0 18% 12%; }
.label-stack .frame { width: 100%; }
.paper-label {
  position: absolute; left: 0; bottom: 0; width: 60%; aspect-ratio: 2.25 / 1.25; container-type: inline-size;
  transform: rotate(-4deg); background: #fff; color: #000; border-radius: 3% / 5.4%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 18px 40px rgba(20, 24, 60, .22);
}
@media (prefers-color-scheme: dark) { .paper-label { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 18px 40px rgba(0, 0, 0, .6); } }
.paper-in { position: absolute; inset: 0; display: flex; align-items: center; gap: 4.5cqw; padding: 5.5cqw 6cqw; }
.paper-in svg { height: 100%; width: auto; aspect-ratio: 1; flex: none; }
.paper-in div { min-width: 0; display: flex; flex-direction: column; gap: 2.6cqw; }
.paper-in b { font: 700 6.4cqw/1.15 var(--font); letter-spacing: -.01em; }
.paper-in span { font: 700 8cqw/1 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .02em; }
.paper-in small { font: 500 4.8cqw/1.2 var(--font); color: #555; }

/* the cost worked out */
.calc {
  margin-top: 26px; padding: 18px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--border);
  font-variant-numeric: tabular-nums; font-size: 15px; box-shadow: var(--shadow);
}
.calc-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; color: var(--text-2); }
.calc-row span:last-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.calc-row.total { border-top: 1px solid var(--border-strong); margin-top: 6px; padding-top: 12px; color: var(--text); font-weight: 600; }
.calc-row.each { margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); font-weight: 650; }
.calc-row.each span:last-child { color: var(--accent-text); font: 700 20px/1.1 var(--display); }

/* ---------- everything else ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.feature {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.band .feature { background: var(--bg); box-shadow: none; }
@media (prefers-color-scheme: dark) { .band .feature { background: var(--panel); } }
.feature h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.015em; }
.feature p { color: var(--text-2); font-size: 15.5px; }
.f-ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 6px;
  background: var(--accent-soft); color: var(--accent-text);
}
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* ---------- works everywhere ---------- */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.platform {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.platform h3 { font-size: 21px; }
.platform p { color: var(--text-2); }
.platform .fineprint { margin-top: 0; }
.p-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 6px; }
.p-ic .ic { width: 24px; height: 24px; }
.p-foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.more { font-weight: 650; text-decoration: none; }
.more:hover { text-decoration: underline; }
@media (max-width: 860px) { .platforms { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; } }

/* Store-style "coming soon" badges (our own drawing, not Apple's or Microsoft's artwork; not links until the apps are out). */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 12px; border-radius: 11px;
  background: #000; color: #fff; border: 1px solid #000; line-height: 1.05; white-space: nowrap;
}
@media (prefers-color-scheme: dark) { .store-badge { border-color: #a6a6a6; } }
.store-badge .ic { width: 24px; height: 24px; stroke-width: 1.7; }
.store-badge small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .01em; opacity: .85; }
.store-badge b { display: block; font: 650 17px/1.1 var(--font); letter-spacing: -.01em; }

/* ---------- pricing ---------- */
.trial-strip {
  max-width: 880px; margin: 48px auto 0; display: flex; align-items: center; justify-content: center; gap: 10px 12px; flex-wrap: wrap;
  padding: 14px 20px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); font-weight: 600; text-align: center;
}
.trial-strip .ic { width: 20px; height: 20px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 880px; margin: 28px auto 0; align-items: stretch; }
.plan {
  position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: 20px;
  padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0; box-shadow: var(--shadow);
}
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.plan .badge {
  position: absolute; top: -14px; left: 26px; padding: 7px 12px; border-radius: 999px;
  background: var(--btn); color: #fff; font: 700 12px/1 var(--font); letter-spacing: .03em;
}
.plan h3 { font-size: 24px; }
.plan-sub { color: var(--text-2); font-size: 15.5px; margin-top: -8px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price strong { font: 700 46px/1 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-weight: 500; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 15.5px; }
.checks li b { color: var(--text); }
.checks li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background: var(--accent-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checks li.no { color: var(--muted); }
.checks li.no::before {
  background: var(--muted);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E");
}
.plan .btn { margin-top: auto; width: 100%; }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 24px; }
@media (max-width: 760px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; gap: 30px; }
  .plan.featured { order: -1; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 48px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; }
.band .faq details { background: var(--bg); }
@media (prefers-color-scheme: dark) { .band .faq details { background: var(--panel); } }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; font: 650 17px/1.35 var(--font); color: var(--text); border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin: -4px 4px 0 0;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq summary:hover { background: var(--hover); }
.faq summary:focus-visible { outline-offset: -2px; }
.faq .answer { padding: 0 22px 20px; color: var(--text-2); }
.faq .answer p + p, .faq .answer p + ul, .faq .answer ul + p { margin-top: 10px; }
.faq .answer ul { margin: 0; padding-left: 20px; }
.faq .answer li + li { margin-top: 4px; }
.faq .answer b { color: var(--text); }
@media (max-width: 600px) { .faq summary { padding: 17px 18px; font-size: 16.5px; } .faq .answer { padding: 0 18px 18px; } }

/* ---------- closing call to action ---------- */
.cta-final {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
  border-radius: 26px; padding: 64px 28px;
  background: linear-gradient(135deg, #5461dc 0%, #4f5bd5 45%, #3a3db0 100%);
}
.cta-final::before {
  content: ""; position: absolute; z-index: -1; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent);
}
.cta-final h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; color: #fff; max-width: 20ch; margin: 0 auto; }
.cta-final p { color: #fff; font-size: 18px; margin: 14px auto 0; max-width: 34rem; }
.cta-final .fineprint { color: #fff; font-size: 14px; }
.cta-final :focus-visible { outline-color: #fff; }
@media (max-width: 600px) { .cta-final { padding: 48px 20px; border-radius: 20px; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0 52px; color: var(--muted); font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: start; }
.foot .brand { margin: 0; font-size: 17px; }
.foot-tag { margin-top: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
.foot-links a { color: var(--text-2); text-decoration: none; font-weight: 500; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }
.foot-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid var(--border); }
.foot-meta a { color: var(--text-2); overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .foot { grid-template-columns: minmax(0, 1fr); }
  .foot-links { justify-content: flex-start; }
}

/* ---------- download page ---------- */
.dl { max-width: 760px; margin: 0 auto; padding: 60px 0 96px; }
.dl-head { text-align: center; margin-bottom: 28px; }
.notice {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 16px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-text); font-size: 14.5px; font-weight: 500;
}
.notice .ic { width: 18px; height: 18px; margin-top: 2px; }
.dl-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow);
  padding: 36px; text-align: left;
}
@media (max-width: 600px) { .dl-card { padding: 24px 20px; } .dl { padding-top: 40px; } }
.dl-card .p-ic { margin-bottom: 18px; }
.dl-card h1 { font-size: clamp(28px, 4.4vw, 40px); letter-spacing: -.03em; }
.dl-card .intro { margin-top: 14px; color: var(--text-2); font-size: 17px; }
.dl-card .who { margin-top: 10px; color: var(--muted); font-size: 14.5px; overflow-wrap: anywhere; }
.dl-card .fineprint { font-size: 14px; color: var(--muted); }
.dl-card .cta-row { margin-top: 26px; }
.dl-card h2 { font-size: 20px; margin-top: 34px; letter-spacing: -.015em; }
.alt-link { margin-top: 16px; color: var(--text-2); }
.alt-link a { font-weight: 650; }
.steps { list-style: none; counter-reset: step; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; color: var(--text-2); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 14px;
}
.steps b { color: var(--text); }
.help { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14.5px; }
.loading-line { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border-strong); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone-card { margin-top: 20px; }
.phone-card ul { margin: 14px 0 0; padding-left: 20px; color: var(--text-2); display: grid; gap: 8px; }
.phone-card .fineprint { margin-top: 16px; }

/* ---------- privacy + terms ---------- */
.doc { max-width: 740px; margin: 0 auto; padding: 60px 0 96px; }
.doc h1 { font-size: clamp(34px, 5vw, 50px); letter-spacing: -.035em; }
.doc .updated { margin-top: 12px; color: var(--muted); }
.doc .summary {
  margin-top: 28px; padding: 20px 22px; border-radius: 14px; background: var(--accent-soft); color: var(--text);
}
.doc .summary p + p { margin-top: 8px; }
.doc h2 { font-size: 23px; letter-spacing: -.02em; margin-top: 44px; scroll-margin-top: 90px; }
.doc h3 { font-size: 17.5px; margin-top: 24px; font-family: var(--font); font-weight: 700; letter-spacing: 0; }
.doc p, .doc li { color: var(--text-2); font-size: 16.5px; }
.doc h2 + p, .doc h3 + p, .doc p + p, .doc p + ul, .doc ul + p, .doc h2 + ul { margin-top: 12px; }
.doc ul { padding-left: 22px; margin-bottom: 0; }
.doc li + li { margin-top: 8px; }
.doc strong, .doc b { color: var(--text); }
.doc a { overflow-wrap: anywhere; }
.toc { margin-top: 28px; padding: 18px 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.toc p { font-weight: 700; color: var(--text); font-size: 15px; }
.toc ol { margin: 10px 0 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.doc .toc li { font-size: 15px; margin: 0 0 6px; break-inside: avoid; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
