/* Scan List — support and privacy site.
   One page, no build step, no external requests: fonts are the platform stacks
   so a privacy page never phones a font CDN to render itself. */

:root {
  --ink: #f4f2ec;
  --muted: #a6aca8;
  --faint: #6f7772;
  --paper: #0b0e0c;
  --panel: #121713;
  --panel-raised: #171d18;
  --line: rgba(244, 242, 236, 0.12);
  --green: #35d477;
  --green-wash: rgba(53, 212, 119, 0.1);
  --header-height: 82px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 72% 14%, rgba(53, 212, 119, 0.08), transparent 27rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Anchor targets clear the sticky header. */
[id] { scroll-margin-top: calc(var(--header-height) + 20px); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  background: var(--green);
  color: #071009;
  font-weight: 620;
}

.skip-link:focus { left: 0; }

.site-frame {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── Header and footer ──────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 14, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand img { border-radius: 10px; }

.site-header nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-header nav a,
.footer-links a { transition: color 160ms ease; }
.site-header nav a:hover,
.footer-links a:hover { color: var(--ink); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  padding: 42px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer > div:first-child { display: flex; gap: 12px; }
.site-footer strong { color: var(--ink); }
.site-footer p { grid-column: 1 / -1; margin: 0; color: var(--faint); }

/* ── Hero ───────────────────────────────────────────────────────────── */

.section-shell { padding: 112px 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(56px, 8vw, 112px);
  min-height: calc(100vh - var(--header-height));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3, h4, p { text-wrap: pretty; }

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(4rem, 8vw, 7.8rem);
  font-weight: 620;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.hero-intro {
  max-width: 630px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 620;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--green); color: #071009; }
.button.primary:hover { background: #52e48d; }

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.button.secondary:hover {
  border-color: rgba(244, 242, 236, 0.26);
  background: rgba(255, 255, 255, 0.05);
}

/* The hero art is the real app, not a mockup. Sized by height so the phone
   shot keeps its proportions and still sits inside the viewport next to the
   headline; the glow behind it picks up the accent green. */

.hero-shot {
  position: relative;
  margin: 0;
  justify-self: center;
}

/* The glow is wider than the shot it sits behind, which on a narrow viewport
   would push the document past the container and give the page a horizontal
   scrollbar. `clip` trims it without creating a scroll container, so the
   sticky header — which is not inside .hero — is unaffected. */
.hero { overflow-x: clip; }

.hero-shot::before {
  content: "";
  position: absolute;
  inset: -14% -22%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 212, 119, 0.16), transparent 66%);
  filter: blur(24px);
}

.hero-shot img {
  display: block;
  width: auto;
  height: min(72vh, 740px);
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55);
}

/* ── Showcase ───────────────────────────────────────────────────────── */

.showcase { border-top: 1px solid var(--line); }

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 52px);
}

.shot {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.shot:hover img {
  transform: translateY(-6px);
  box-shadow: 0 32px 74px rgba(0, 0, 0, 0.55);
}

.shot figcaption {
  display: grid;
  gap: 8px;
}

.shot figcaption strong {
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.shot figcaption span {
  color: var(--muted);
  line-height: 1.62;
}

/* ── Principles ─────────────────────────────────────────────────────── */

.principles { border-top: 1px solid var(--line); }

.section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 40px;
  margin-bottom: 56px;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 1;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.feature-card {
  min-height: 280px;
  padding: 30px 30px 34px 0;
  border-right: 1px solid var(--line);
}

.feature-card + .feature-card { padding-left: 30px; }
.feature-card:last-child { border-right: 0; }

.feature-number {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.feature-card h3 {
  margin: 88px 0 12px;
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.feature-card p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

/* ── Support and privacy documents ──────────────────────────────────── */

.doc-section {
  padding: 96px 0 40px;
  border-top: 1px solid var(--line);
}

/* The support and privacy documents used to sit in a two-column layout with a
   sticky "on this page" rail. The rail is now a row of chips under each heading,
   so centre the prose instead of leaving its old column empty. */
.doc-section > .page-header,
.doc-section > .content-section {
  max-width: 920px;
  margin-inline: auto;
}

.page-header {
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.page-header h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.page-header .lede {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.page-meta {
  display: inline-flex;
  margin-top: 24px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.jump-nav a {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.86rem;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.jump-nav a:hover {
  border-color: rgba(53, 212, 119, 0.42);
  background: var(--green-wash);
  color: var(--ink);
}

.content-section { padding: 52px 0; border-bottom: 1px solid var(--line); }
.content-section:last-child { border-bottom: 0; }

.content-section h3 {
  margin: 0 0 24px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 570;
  letter-spacing: -0.04em;
}

.content-section h4 { margin: 34px 0 10px; font-size: 1.05rem; font-weight: 600; }

.content-section p,
.content-section li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.content-section p { max-width: 760px; }

.content-section a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(53, 212, 119, 0.35);
  text-underline-offset: 4px;
}

.content-section .button { text-decoration: none; }

.steps,
.bullet-list { max-width: 760px; margin: 0; padding-left: 1.25rem; }
.steps li,
.bullet-list li { padding-left: 0.35rem; margin: 10px 0; }

.steps li::marker {
  color: var(--green);
  font-family: var(--font-mono);
  font-weight: 700;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(53, 212, 119, 0.25);
  border-radius: 20px;
  background: var(--green-wash);
}

.contact-card p { margin: 0; }
.contact-card h3 { margin: 0; font-size: 1.35rem; letter-spacing: -0.025em; }
.contact-card p { margin-top: 7px; color: var(--muted); line-height: 1.55; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  padding: 22px 42px 22px 0;
  cursor: pointer;
  font-weight: 570;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  position: absolute;
  top: 18px;
  right: 3px;
  color: var(--green);
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.4rem;
}

.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -4px 0 24px; }

.privacy-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.privacy-row {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 28px;
  padding: 22px;
  background: var(--panel);
}

.privacy-row strong { font-size: 0.96rem; }
.privacy-row p { margin: 0; font-size: 0.94rem; }

.plain-callout {
  margin-top: 28px;
  padding: 26px;
  border-left: 3px solid var(--green);
  background: var(--green-wash);
}

.plain-callout strong { display: block; margin-bottom: 8px; }
.plain-callout p { margin: 0; }

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 88px;
  }

  .hero-shot img { height: auto; width: min(78vw, 420px); }
  .shot-grid { grid-template-columns: 1fr; justify-items: center; }
  .shot { max-width: 420px; }

  .section-heading { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; }

  .feature-card,
  .feature-card + .feature-card {
    min-height: auto;
    padding: 28px 0 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-card h3 { margin-top: 50px; }
  .doc-section { padding-top: 72px; }
}

@media (max-width: 620px) {
  :root { --header-height: 70px; }
  .site-frame { width: min(100% - 28px, 1180px); }
  .site-header nav { gap: 16px; font-size: 0.84rem; }
  .brand { gap: 9px; }
  .brand img { width: 32px; height: 32px; }
  .section-shell { padding: 78px 0; }
  .hero { gap: 52px; padding-top: 70px; }
  h1 { font-size: clamp(3.55rem, 19vw, 5rem); }
  .hero-actions, .hero-actions .button { width: 100%; }
  .hero-shot img { width: min(84vw, 420px); border-radius: 22px; }
  .doc-section { padding-top: 60px; }
  .page-header { padding-bottom: 40px; }
  .contact-card,
  .privacy-row { grid-template-columns: 1fr; }
  .contact-card .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div:first-child,
  .footer-links { align-items: flex-start; flex-direction: column; }
  .site-footer p { grid-column: auto; }
}

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