/* Selden — landing */

:root {
  --bg: #ede9df;          /* warm cream from app */
  --bg-2: #e6e1d4;        /* slightly deeper cream */
  --fg: #0a0a0a;
  --fg-2: #28272a;
  --muted: #75736b;       /* warm gray */
  --line: rgba(10, 10, 10, 0.08);
  --line-2: rgba(10, 10, 10, 0.14);
  --chip: rgba(10, 10, 10, 0.04);
  --accent: #c5e23f;      /* lime/chartreuse from app */
  --accent-ink: #0a0a0a;

  --max: 1240px;

  --f-display: "Geist", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --f-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-display);
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -0.011em;
  line-height: 1.4;
}

::selection { background: var(--accent); color: var(--fg); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: 16px;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 14px 10px 20px;
  background: rgba(237, 233, 223, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: -0.005em;
}
.nav-brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 600; letter-spacing: -0.02em;
}
.nav-mark {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.nav-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.nav-links { display: flex; gap: 22px; color: var(--muted); }
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  background: var(--fg); color: #fff;
  padding: 8px 14px; border-radius: 999px;
  font-weight: 500; font-size: 13px;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .18s ease, opacity .18s ease;
}
.nav-cta:hover:not(:disabled) { transform: translateY(-1px); opacity: .92; }
.nav-cta:disabled { cursor: default; }
.nav-cta .tri {
  width: 0; height: 0;
  border-style: solid; border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent var(--accent);
}

/* ---------- hero ---------- */
.hero {
  padding: 160px 32px 96px;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(197, 226, 63, .25);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.92); }
}
.hero h1 {
  font-size: clamp(48px, 6.6vw, 92px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal; color: var(--muted);
}
.hero p.lede {
  font-size: 20px;
  line-height: 1.45;
  color: var(--fg-2);
  max-width: 36ch;
  letter-spacing: -0.012em;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--fg); color: #fff;
  padding: 16px 24px; border-radius: 16px;
  font-weight: 500; font-size: 15px;
  border: none; cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
}
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); opacity: .94; }
.btn-primary:disabled {
  cursor: default;
  opacity: 1;
}
.btn-primary:disabled .tri {
  opacity: 0.45;
}
.btn-primary .tri {
  width: 0; height: 0;
  border-style: solid; border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent var(--accent);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 22px; border-radius: 16px;
  font-weight: 500; font-size: 15px; color: var(--fg);
  background: transparent;
  border: 1px solid var(--line-2); cursor: pointer;
}
.btn-ghost:hover { background: var(--chip); }

.hero-meta {
  margin-top: 40px;
  display: flex; gap: 36px;
  font-family: var(--f-mono);
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.02em;
}
.hero-meta strong {
  display: block; font-family: var(--f-display);
  color: var(--fg); font-size: 26px; font-weight: 600;
  letter-spacing: -0.028em;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

/* phone stage */
.phone-stage {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 504px;
}
.phone-stage::before {
  content: "";
  position: absolute;
  inset: 8% -8% 8% -8%;
  background: radial-gradient(55% 45% at 50% 50%, rgba(10,10,10,0.06), transparent 70%);
  filter: blur(8px);
  z-index: 0;
}
.phone-frame {
  position: relative; z-index: 1;
  width: 266px;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(10,10,10,0.18)) drop-shadow(0 4px 12px rgba(10,10,10,0.06));
  border-radius: 48px;
  overflow: hidden;
  display: block;
}
.phone-stack {
  position: relative; z-index: 1;
  width: 266px;
  aspect-ratio: 576 / 1197;
}
.phone-stack img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(10,10,10,0.18)) drop-shadow(0 4px 12px rgba(10,10,10,0.06));
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
}
.phone-stack img.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.phone-dots {
  position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.phone-dots button {
  width: 7px; height: 7px; border-radius: 999px;
  background: rgba(10,10,10,0.18);
  border: none; padding: 0; cursor: pointer;
  transition: all .25s ease;
}
.phone-dots button.active {
  background: var(--fg);
  width: 24px;
}

/* ---------- bar ticker ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  overflow: hidden;
  font-family: var(--f-mono);
  font-size: 13px; color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-2);
}
.ticker-track {
  display: flex; gap: 56px;
  white-space: nowrap;
  animation: ticker 60s linear infinite;
  width: max-content;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 14px; }
.ticker-track span::before {
  content: ""; width: 5px; height: 5px; border-radius: 999px; background: var(--accent);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- features ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px 32px;
}
.section-eyebrow {
  font-family: var(--f-mono);
  font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before {
  content: ""; width: 16px; height: 1px; background: var(--muted);
}
.section-title {
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.036em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
  max-width: 22ch;
}
.section-title em {
  font-style: normal; color: var(--muted);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-copy { padding: 16px 0; }
.feature-num {
  font-family: var(--f-mono);
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.feature-num .pill {
  background: var(--accent);
  color: var(--fg);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.feature-copy h3 {
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 22px;
  text-wrap: balance;
}
.feature-copy p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 40ch;
  margin: 0 0 28px;
  text-wrap: pretty;
}
.feature-bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0;
}
.feature-bullets li {
  display: flex; gap: 16px;
  font-size: 14.5px; color: var(--fg-2);
  padding: 16px 0;
  border-top: 1px solid var(--line);
  line-height: 1.45;
}
.feature-bullets li span:first-child {
  font-family: var(--f-mono);
  color: var(--muted);
  width: 26px; flex-shrink: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.feature-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 0;
  min-height: 532px;
}
.feature-visual::before {
  content: "";
  position: absolute;
  inset: 12% 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(10,10,10,0.06), transparent 70%);
  filter: blur(10px);
}
.feature-visual img {
  position: relative;
  width: 238px;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(10,10,10,0.18)) drop-shadow(0 4px 12px rgba(10,10,10,0.06));
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- big quote ---------- */
.pull {
  max-width: 1080px;
  margin: 0 auto;
  padding: 140px 32px;
  border-top: 1px solid var(--line);
}
.pull q {
  display: block;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
  quotes: "“" "”" "‘" "’";
}
.pull q::before, .pull q::after {
  color: var(--muted);
}
.pull-attr {
  margin-top: 36px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono);
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pull-attr .av {
  width: 36px; height: 36px; border-radius: 999px;
  background: #1b2a47;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  color: #f5f0d9;
  letter-spacing: 0;
  border: 2px solid var(--accent);
}

/* ---------- numbers band ---------- */
.numbers {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px 60px;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.numbers-grid > div {
  background: var(--bg);
  padding: 44px 32px;
}
.numbers-grid .n {
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.numbers-grid .l {
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  max-width: 26ch;
  line-height: 1.4;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px 32px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
  border-top: 1px solid var(--line);
}
.faq-list { display: grid; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%;
  background: none; border: none; padding: 0;
  text-align: left; cursor: pointer;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--fg);
}
.faq-q .plus {
  flex-shrink: 0; margin-left: 24px;
  width: 18px; height: 18px;
  position: relative;
  transition: transform .35s ease;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 1.5px;
  background: var(--fg);
  transform: translate(-50%, -50%);
}
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s ease; }
.faq-item.open .plus::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .45s ease, padding .3s ease, opacity .3s ease;
  font-size: 16px; color: var(--fg-2); line-height: 1.55;
  max-width: 60ch;
  opacity: 0;
}
.faq-item.open .faq-a {
  max-height: 280px;
  padding-top: 18px;
  opacity: 1;
}

/* ---------- CTA + footer ---------- */
.cta-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px 32px 80px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-band h2 {
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 600;
  letter-spacing: -0.044em;
  line-height: 0.96;
  margin: 0 0 36px;
  text-wrap: balance;
}
.cta-band h2 em { font-style: normal; color: var(--muted); }
.cta-band .row { display: inline-flex; gap: 12px; }

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 32px 40px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: flex-end;
  font-size: 13px; color: var(--muted);
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a:hover { color: var(--fg); }
.footer-mark {
  font-family: var(--f-display);
  font-size: 17px; font-weight: 600; color: var(--fg);
  letter-spacing: -0.02em;
}

/* ---------- privacy page ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 160px 32px 80px;
}
.legal-eyebrow {
  font-family: var(--f-mono);
  font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.legal h1 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1;
  margin: 0 0 24px;
  text-wrap: balance;
}
.legal .updated {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 64px;
}
.legal .summary {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 32px;
  margin-bottom: 64px;
}
.legal .summary h2 {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 20px;
}
.legal .summary ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px;
}
.legal .summary li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 16px;
  line-height: 1.45;
}
.legal .summary li .check {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--accent);
  display: grid; place-items: center;
  margin-top: 2px;
}
.legal .summary li .check::after {
  content: ""; width: 10px; height: 5px;
  border-left: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
  transform: rotate(-45deg) translate(1px, -1px);
}
.legal .summary li .x {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(10,10,10,0.08);
  position: relative;
  margin-top: 2px;
}
.legal .summary li .x::before,
.legal .summary li .x::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 1.5px;
  background: var(--fg);
  transform: translate(-50%, -50%) rotate(45deg);
}
.legal .summary li .x::after { transform: translate(-50%, -50%) rotate(-45deg); }

.legal section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.legal section:first-of-type { border-top: 1px solid var(--line); }
.legal section h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.024em;
  margin: 0 0 8px;
}
.legal section .h-num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.legal section p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 14px;
  max-width: 64ch;
  text-wrap: pretty;
}
.legal section ul {
  padding: 0; margin: 0 0 14px;
  list-style: none;
  display: grid; gap: 10px;
}
.legal section ul li {
  font-size: 15.5px; line-height: 1.5;
  color: var(--fg-2);
  padding-left: 22px;
  position: relative;
}
.legal section ul li::before {
  content: ""; position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 1.5px;
  background: var(--muted);
}
.legal-toc {
  position: sticky; top: 100px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 48px;
  text-transform: uppercase;
}
.legal-back:hover { color: var(--fg); }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding: 130px 24px 60px; gap: 24px; }
  .phone-stage { min-height: 448px; order: 2; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; padding: 56px 0; }
  .feature-row .feature-visual { order: -1; min-height: 378px; }
  .feature-visual img { width: 196px; }
  .phone-stack { width: 210px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; padding: 80px 24px; }
  .section { padding: 80px 24px; }
  .footer { flex-direction: column; gap: 24px; align-items: flex-start; }
  .nav-links { display: none; }
  .hero-meta { gap: 22px; flex-wrap: wrap; }
}
