/* ============================================================
   JobPilot AI: site styles (landing, sign-in, privacy, support)
   The look is the extension's (JobPilot UI v2): ink #0A0A0B, greys #71717A and #A1A1AA, line #E4E4E7,
   hairline #F4F4F5, white surfaces, black top areas with white text, radius 8 for controls and 12 for cards, Geist.
   The sensibility is bytarc.com's: big tight headings, mono kickers, two-column section heads, generous
   spacing and a soft rise on scroll. No purple, no gradients.
   ============================================================ */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0A0A0B;
  --ink-2: #18181B;
  --ink-3: #27272A;
  --ink-4: #3F3F46;
  --grey: #71717A;
  --grey-2: #A1A1AA;
  --line: #E4E4E7;
  --hair: #F4F4F5;
  --paper: #FAFAFA;
  --white: #FFFFFF;
  --red: #DC2626;
  --dark-line: #232326;
  --font: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-ctl: 8px;
  --r-card: 12px;
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 1px 2px rgba(10, 10, 11, .06), 0 1px 6px rgba(10, 10, 11, .05);
  --shadow: 0 1px 2px rgba(10, 10, 11, .05), 0 16px 40px -18px rgba(10, 10, 11, .22);
  --shadow-lg: 0 2px 6px rgba(10, 10, 11, .08), 0 40px 80px -32px rgba(10, 10, 11, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--white); }
::selection { background: var(--ink); color: var(--white); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }
.wrap-narrow { max-width: 768px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dark { background: var(--ink); color: var(--white); }

/* ---------- type ---------- */
.kicker {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
}
.dark .kicker { color: var(--grey-2); }
.h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.035em; }
.lede { font-size: 17px; line-height: 1.6; color: var(--grey); max-width: 50ch; }
.dark .lede { color: var(--grey-2); }

/* ---------- buttons: 44 px, radius 8, one black primary per view ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-ctl);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--ink-3); border-color: var(--ink-3); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-secondary { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { background: var(--hair); }
.btn-quiet { background: transparent; color: var(--grey); }
.btn-quiet:hover { color: var(--ink); background: var(--hair); }
/* on black areas: the primary is white, the rest are outlined */
.btn-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--line); border-color: var(--line); }
.btn-outline-light { background: transparent; border: 1.5px solid var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--ink-2); }
.btn-ghost-dark { background: transparent; border-color: var(--ink-4); color: var(--white); }
.btn-ghost-dark:hover { background: var(--ink-2); border-color: var(--grey); }

/* ---------- nav ---------- */
.nav { position: relative; z-index: 50; color: var(--white); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; font-size: 16px; font-weight: 600; letter-spacing: -.02em; color: var(--white); white-space: nowrap; }
.brand img { width: 27px; height: 18px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; font-size: 14px; color: var(--grey-2); }
.nav-links a { padding: 8px 12px; border-radius: var(--r-ctl); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--white); background: var(--ink-2); }
.nav-right { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-links + .nav-right { margin-left: 8px; }
.nav-back { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 8px 12px; border-radius: var(--r-ctl); font-size: 14px; color: var(--grey-2); transition: color .2s, background-color .2s; }
.nav-back:hover { color: var(--white); background: var(--ink-2); }
.nav-back svg { width: 16px; height: 16px; }
/* landing: fixed over the black hero, frosted ink once the page moves */
.nav-fixed { position: fixed; top: 0; left: 0; right: 0; transition: background-color .25s, box-shadow .25s, border-color .25s; border-bottom: 1px solid transparent; }
/* solid ink once scrolled: dark glass over the white sections would read as a dull grey */
.nav-fixed.scrolled { background: var(--ink); border-bottom-color: var(--dark-line); }
@media (max-width: 900px) { .nav-links { display: none; } .nav-right { margin-left: auto; } }
@media (max-width: 600px) { .nav-in { height: 64px; gap: 12px; } .brand { font-size: 15px; } }
@media (max-width: 359px) { .brand span { display: none; } }

/* ---------- black page head (sign-in, privacy, support) ---------- */
.page-head { padding: 0 0 72px; }
.page-head-in { padding-top: 56px; }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -.04em; }
.page-head-in > p:not(.kicker) { margin-top: 16px; font-size: 17px; color: var(--grey-2); max-width: 54ch; }
.page-head-in > p.meta { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; }

@media (max-width: 600px) { .page-head { padding-bottom: 56px; } .page-head-in { padding-top: 32px; } }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 1; padding: 0 0 40px; font-size: 13px; color: var(--grey-2); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 28px; border-top: 1px solid var(--dark-line); }
.foot-copy { display: flex; align-items: center; gap: 12px; }
.foot-copy img { width: 22px; height: 15px; flex: none; }
.foot-copy a:hover, .foot-links a:hover { color: var(--white); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot.solid { background: var(--ink); padding-top: 0; }

/* ---------- long-form text (privacy) ---------- */
.prose { padding: 72px 0 112px; }
.prose h2 { margin: 48px 0 12px; font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-4); font-size: 16px; line-height: 1.75; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { margin-top: 12px; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 2px; background: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a, .text-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
.prose a:hover, .text-link:hover { text-decoration-color: var(--ink); }
@media (max-width: 600px) { .prose { padding: 48px 0 80px; } .prose h2 { margin-top: 40px; font-size: 20px; } }

/* ---------- FAQ (landing and support) ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: var(--r-ctl);
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 11px no-repeat;
  transition: transform .3s var(--ease), background-color .2s;
}
.faq-item summary:hover::after { background-color: var(--hair); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: -6px 0 24px; max-width: 62ch; color: var(--grey); font-size: 15.5px; line-height: 1.7; }
.faq-item[open] p { animation: fadeUp .35s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- motion: a soft rise as sections arrive (only when JS runs and motion is allowed) ---------- */
.rv-on .rv { opacity: 0; translate: 0 22px; transition: opacity .8s var(--ease), translate .9s var(--ease); }
.rv-on .rv.in { opacity: 1; translate: none; }
@media print { .rv-on .rv { opacity: 1 !important; translate: none !important; } .bg-canvas, .nav-fixed { display: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv-on .rv { opacity: 1; translate: none; }
}

/* ============================================================
   Landing page
   ============================================================ */
.landing { background: var(--ink); }
.bg-canvas { position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: .5; }
.landing main, .landing .cta-band { position: relative; z-index: 1; }

/* hero: the black top area */
.hero { position: relative; overflow: hidden; color: var(--white); padding-top: 152px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: end; }
.hero-copy { padding-bottom: 96px; }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.hero-copy > :nth-child(6) { animation-delay: .3s; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 4px 14px 4px 4px; border: 1px solid var(--ink-3); border-radius: 999px; font-size: 13px; color: var(--grey-2); background: rgba(10, 10, 11, .6); }
.hero-pill b { padding: 3px 8px; border-radius: 999px; background: var(--white); color: var(--ink); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { font-size: clamp(40px, 5.6vw, 82px); line-height: .98; letter-spacing: -.045em; }
.hero h1 em { font-style: normal; color: var(--grey-2); }
.hero .lead { margin-top: 28px; max-width: 46ch; font-size: clamp(17px, 1.45vw, 19px); line-height: 1.6; color: var(--grey-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-ctas .btn { height: 48px; padding: 0 22px; }
.hero-trust { margin-top: 18px; font-size: 13px; color: var(--grey); }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 16px 40px; margin-top: 48px; list-style: none; }
.hero-stats li { display: flex; flex-direction: column; gap: 4px; max-width: 17ch; }
.hero-stats b { font-family: var(--mono); font-size: 26px; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; color: var(--white); font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 13px; line-height: 1.4; color: var(--grey); }

/* the product rises out of the hero's bottom edge */
.hero-visual { position: relative; display: flex; justify-content: center; align-self: end; }
.hero-shot {
  position: relative;
  width: min(380px, 100%);
  height: 640px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 -30px 90px -30px rgba(0, 0, 0, .9);
  animation: shotIn 1.2s var(--ease) .25s both;
}
.hero-shot img { width: 100%; }
@keyframes shotIn { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }


@media (max-width: 960px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-copy { padding-bottom: 0; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 440px; }
  .hero-shot { width: min(340px, 86vw); height: 480px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 104px; }
  .hero-pill { margin-bottom: 22px; }
  .hero .lead { margin-top: 22px; }
  .hero-ctas { flex-direction: column; align-items: stretch; margin-top: 30px; }
  .hero-stats { margin-top: 44px; gap: 22px 20px; }
  .hero-stats b { font-size: 24px; }
  .hero-shot { height: 420px; }
}

/* sections */
.sec { position: relative; padding: 128px 0; background: var(--white); }
.sec.paper { background: var(--paper); }
.sec + .sec:not(.paper):not(.dark) { border-top: 1px solid var(--hair); }
@media (max-width: 700px) { .sec { padding: 88px 0; } }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 48px; align-items: end; margin-bottom: 64px; }
.sec-head .lede { justify-self: end; }
.sec-head.center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.sec-head.center .lede { justify-self: center; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 48px; } .sec-head .lede { justify-self: start; } }

/* platform strip */
.platforms { position: relative; padding: 56px 0 60px; background: var(--white); border-bottom: 1px solid var(--hair); }
.platforms .kicker { text-align: center; margin-bottom: 24px; }
.platform-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; list-style: none; }
.platform-row li { font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: var(--grey-2); transition: color .2s; }
.platform-row li:hover { color: var(--ink); }
@media (max-width: 600px) { .platform-row { gap: 10px 26px; } .platform-row li { font-size: 16px; } }

/* pipeline: three rows, text beside a real screenshot */
.flow { display: grid; gap: 96px; }
.flow-row { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 72px; align-items: center; }
.flow-row:nth-child(even) { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.flow-row:nth-child(even) .flow-text { order: 2; }
.flow-num { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--grey); }
.flow-text h3 { margin-top: 14px; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.06; letter-spacing: -.035em; }
.flow-text p:last-child { margin-top: 16px; font-size: 17px; color: var(--grey); max-width: 42ch; }
.stage { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--hair); aspect-ratio: 6 / 5; display: flex; align-items: center; justify-content: center; }
.stage img { width: auto; max-width: 90%; max-height: 90%; }
.stage.rise { align-items: flex-end; }
.stage.rise img { width: 62%; max-width: none; max-height: none; margin-bottom: -2px; }
/* full browser frames: anchored near the top, running off the bottom edge */
.stage.top { align-items: flex-start; }
.stage.top img { width: 86%; max-width: none; max-height: none; margin-top: 7%; }
@media (max-width: 860px) {
  .flow { gap: 72px; }
  .flow-row, .flow-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .flow-row:nth-child(even) .flow-text { order: 0; }
  .stage { aspect-ratio: 1 / 1; }
  .stage.rise img { width: 74%; }
  .stage.top img { width: 92%; margin-top: 6%; }
  .stage img { max-width: 94%; max-height: 92%; }
}

/* features */
.f-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.f-card { padding: 28px 28px 30px; background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-card); transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.f-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px; border-radius: var(--r-ctl); background: var(--hair); color: var(--ink); }
.ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.f-card h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.02em; }
.f-card p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--grey); }
@media (max-width: 960px) { .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .f-grid { grid-template-columns: minmax(0, 1fr); } .f-card { padding: 24px; } }

/* how it works: four blocks rising right, like the mark */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; list-style: none; counter-reset: step; }
.step { counter-increment: step; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 260px; padding: 24px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); }
.step:nth-child(2) { min-height: 300px; }
.step:nth-child(3) { min-height: 340px; }
.step:nth-child(4) { min-height: 380px; background: var(--ink); border-color: var(--ink); color: var(--white); }
.step::before { content: "0" counter(step); font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--grey); }
.step:nth-child(4)::before { color: var(--grey-2); }
.step h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.step p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--grey); }
.step:nth-child(4) p { color: var(--grey-2); }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step, .step:nth-child(n) { min-height: 0; }
}
@media (max-width: 600px) { .steps { grid-template-columns: minmax(0, 1fr); } .step { gap: 28px; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 880px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); }
.plan.pro { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: var(--shadow-lg); }
.plan h3 { font-size: 20px; letter-spacing: -.02em; }
.plan-badge { position: absolute; top: 32px; right: 28px; padding: 5px 10px; border-radius: 999px; background: var(--white); color: var(--ink); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.price { margin-top: 20px; display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.price span { font-size: 15px; color: var(--grey); }
.plan.pro .price span { color: var(--grey-2); }
.price-note { margin-top: 10px; font-size: 14px; color: var(--grey); }
.plan.pro .price-note { color: var(--grey-2); }
.checks { margin: 28px 0 32px; padding-top: 24px; border-top: 1px solid var(--hair); list-style: none; display: grid; gap: 12px; }
.plan.pro .checks { border-top-color: var(--ink-3); }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.45; }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.checks li.off { color: var(--grey-2); }
.checks strong { font-weight: 600; }
.plan .btn { margin-top: auto; width: 100%; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; } .plan { padding: 32px 24px 24px; } .plan-badge { top: 28px; right: 20px; } }

/* compatibility */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 920px; margin: 0 auto; list-style: none; }
.chips li { padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-family: var(--mono); font-size: 13.5px; font-weight: 500; line-height: 1; color: var(--ink-4); transition: border-color .2s, color .2s; }
.chips li:hover { border-color: var(--ink); color: var(--ink); }
.chips li.more { border-style: dashed; color: var(--grey); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 32px 80px; align-items: start; }
.faq-grid .h2 { position: sticky; top: 112px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-grid .h2 { position: static; } }

/* closing call to action, in black, running into the footer */
.cta-band { color: var(--white); }
.cta { padding: 136px 0 112px; text-align: center; }
.cta-mark { width: 54px; margin: 0 auto 36px; color: var(--white); }
.cta-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
/* the three steps rise in one after another when the band arrives */
.rv-on .cta-mark .s { opacity: 0; }
.rv-on .cta-mark.in .s { animation: stepUp .9s var(--ease) both; }
.rv-on .cta-mark.in .s2 { animation-delay: .16s; }
.rv-on .cta-mark.in .s3 { animation-delay: .32s; }
@keyframes stepUp { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }
.cta h2 { max-width: 16ch; margin: 0 auto; font-size: clamp(38px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.04em; }
.cta p { max-width: 50ch; margin: 22px auto 0; font-size: 17px; color: var(--grey-2); }
.cta .btn { margin-top: 36px; height: 48px; padding: 0 24px; }
@media (max-width: 600px) { .cta { padding: 96px 0 80px; } .cta .btn { width: 100%; } }

/* ============================================================
   Sign-in
   ============================================================ */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.auth-top { padding-bottom: 140px; }
.auth-main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 0 16px 72px; margin-top: -112px; position: relative; z-index: 2; }
.auth-card { width: 100%; max-width: 420px; padding: 40px 36px 36px; background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-card); box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.03em; text-align: center; }
.auth-card .subtitle { margin-top: 8px; margin-bottom: 28px; text-align: center; font-size: 15px; color: var(--grey); }
.auth-mark { display: block; width: 36px; height: 24px; margin: 0 auto 20px; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--white); color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-google:hover { background: var(--hair); }
.btn-google:disabled { opacity: .6; cursor: progress; }
.btn-google svg { width: 18px; height: 18px; flex: none; }
.divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; font-size: 12px; color: var(--grey-2); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.auth-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--ink-4); }
.auth-form input { display: block; width: 100%; height: 44px; margin-bottom: 16px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--white); color: var(--ink); font: inherit; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.auth-form input::placeholder { color: var(--grey-2); }
.auth-form input:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.auth-form .btn { margin-top: 4px; }
.auth-footer { margin-top: 20px; text-align: center; font-size: 14px; color: var(--grey); }
.auth-footer a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.auth-footer a:hover { text-decoration-color: var(--ink); }
.auth-status { display: none; margin-bottom: 16px; padding: 10px 12px; border-radius: var(--r-ctl); font-size: 13px; line-height: 1.5; text-align: center; }
.auth-status.success { display: block; background: var(--hair); border: 1px solid var(--line); color: var(--ink); }
.auth-status.error { display: block; background: #FEF2F2; border: 1px solid #FECACA; color: var(--red); }
.info-box { margin-top: 24px; padding: 14px 16px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--hair); font-size: 13px; line-height: 1.6; color: var(--grey); }
.info-box strong { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 600; }
.logged-in { display: none; text-align: center; }
.logged-in .avatar { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; object-fit: cover; background: var(--hair); box-shadow: 0 0 0 1px var(--line), 0 0 0 4px var(--white), 0 0 0 5px var(--line); }
/* no photo on the account: no empty circle (the login script only ever sets src, never display) */
.logged-in .avatar[src=""] { display: none; }
.logged-in .name { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.logged-in .email { margin-top: 2px; font-size: 14px; color: var(--grey); }
.sync-badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; margin: 18px 0 24px; padding: 0 12px; border-radius: 999px; background: var(--hair); color: var(--ink-4); font-size: 12px; font-weight: 500; }
.sync-badge svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.logged-in .btn + .btn { margin-top: 8px; }
.auth-page .foot { margin-top: auto; }
@media (max-width: 600px) { .auth-top { padding-bottom: 120px; } .auth-main { margin-top: -96px; padding-bottom: 56px; } .auth-card { padding: 32px 20px 24px; } }

/* ============================================================
   Support
   ============================================================ */
.help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: -40px; position: relative; z-index: 2; }
.help-card { display: flex; flex-direction: column; padding: 28px 24px 24px; background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-card); box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.help-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.help-card h2 { font-size: 18px; letter-spacing: -.02em; }
.help-card p { margin-top: 8px; margin-bottom: 20px; font-size: 15px; line-height: 1.6; color: var(--grey); }
.help-card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); word-break: break-word; }
.help-card .go svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: translate .2s; }
.help-card:hover .go svg { translate: 2px -2px; }
.support-faq { padding: 96px 0 120px; }
.support-faq .h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 32px; }
@media (max-width: 860px) { .help-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .help-grid { margin-top: -32px; } .support-faq { padding: 72px 0 88px; } }

/* glass frames around the product shots */
.hero-shot { height: 640px; margin-bottom: 0; padding: 0; border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
  border: 2px solid rgba(255, 255, 255, .26); border-bottom: 0;
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 -30px 90px -30px rgba(0, 0, 0, .9); }
.hero-shot img { display: block; height: auto; border-radius: 16px 16px 0 0; }
@media (max-width: 960px) { .hero-shot { height: 480px; } }
@media (max-width: 600px) { .hero-shot { height: 420px; } }

.stage { border: 0; background: transparent; overflow: visible; aspect-ratio: auto; padding: 24px 0 56px; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 12% 14%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 10, 11, .16), rgba(10, 10, 11, 0)); filter: blur(28px); }
.stage .glass { position: relative; display: inline-block; padding: 0; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42));
  border: 2px solid rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 1px rgba(10, 10, 11, .05), 0 18px 50px rgba(10, 10, 11, .12), 0 2px 6px rgba(10, 10, 11, .05); }
.stage .glass img, .stage.rise .glass img, .stage.top .glass img { display: block; width: 100%; height: auto; max-width: none; max-height: none; margin: 0; border-radius: 16px; box-shadow: none; overflow: hidden; }
.stage.rise .glass { width: min(380px, 80%); }
.stage.top .glass { width: 100%; }
@media (max-width: 860px) { .stage.rise .glass { width: min(340px, 88%); } }

/* Pro is not available yet: shown, greyed out */
.plan.pro.soon { background: var(--paper); border-color: var(--line); color: var(--grey); box-shadow: none; }
.plan.pro.soon h3, .plan.pro.soon .price b { color: var(--grey); }
.plan.pro.soon .soon-label { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--grey-2); margin-left: 4px; }
.plan.pro.soon .price span, .plan.pro.soon .price-note, .plan.pro.soon .checks li, .plan.pro.soon .checks strong { color: var(--grey-2); }
.plan.pro.soon .checks svg { stroke: var(--grey-2); opacity: .7; }
.plan.pro.soon .btn { pointer-events: none; cursor: default; background: transparent; color: var(--grey); border: 1px solid var(--line); box-shadow: none; }

/* the tilt needs the hero's entrance animation to let go of transform once it has played */
.hero-shot { animation-fill-mode: backwards; transform-origin: 50% 100%; }
.stage .glass { transform-origin: 50% 50%; }
