/* SyncHer landing. Apple system font (SF Pro on Apple devices, native font elsewhere); no font files or third-party requests. */


:root {
  --surface: #0c0e12;
  --surface-dim: #11141a;
  --card: #161a22;
  --card-hover: #1c2128;
  --border: #232936;
  --border-strong: #343c4c;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --subtle: #64748b;
  --brand: #ef4444;
  --brand-light: #f87171;
  --red: #ef4444;
  --blue: #60a5fa;
  --green: #34d399;
  --yellow: #fbbf24;
  --radius: 20px;
  --radius-lg: 28px;
  --max: 1120px;
  --display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; line-height: 1.1; }
p { margin: 0; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- type helpers ---------- */
.eyebrow {
  font: 700 11px/1.3 var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow.brand { color: var(--brand-light); }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.red { color: var(--red); }
.blue { color: var(--blue); }
.green { color: var(--green); }
.yellow { color: var(--yellow); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface-dim); border: 1px solid var(--border);
  font: 600 11px/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text);
}

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 14px;
  font: 700 13px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--brand); color: #fff;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}
.button:hover { background: var(--brand-light); box-shadow: 0 0 26px rgba(239, 68, 68, 0.5); }
.button:active { transform: scale(0.97); }
.button.small { min-height: 40px; padding: 10px 18px; font-size: 12px; }
.button.ghost { background: var(--card); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.button.ghost:hover { background: var(--card-hover); border-color: var(--border-strong); }

.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px; border-radius: 18px; background: #fff; color: var(--surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transition: background 0.15s, transform 0.1s;
}
.store:hover { background: #e2e8f0; }
.store:active { transform: scale(0.97); }
.store small { display: block; font: 500 10px/1 var(--body); text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
.store strong { display: block; font: 700 16px/1.2 var(--display); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 14, 18, 0.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(35, 41, 54, 0.6);
}
.site-header .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-dim); border: 1px solid var(--border); padding: 3px; }
.brand-name { font: 700 19px/1 var(--display); letter-spacing: 0.01em; }
.brand-tag { display: block; margin-top: 4px; font: 600 9px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
@media (max-width: 480px) { .brand-tag { display: none; } }
.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--text); }
@media (max-width: 860px) { .nav { display: none; } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; display: grid; gap: 14px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 44px); }
.section-head p { color: var(--muted); font-size: 17px; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(120px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.fine { text-align: center; color: var(--subtle); font-size: 13px; margin-top: 28px; }

/* ---------- stacked scroll layers ---------- */
.stack { position: relative; }
.stack-layer {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 88px 0;
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.4s ease, filter 0.4s ease;
}
.stack-layer.is-covered { transform: scale(0.96); filter: brightness(0.7); }
.layer-hero { z-index: 1; }
.layer-briefing { z-index: 2; background: var(--surface-dim); border-top-left-radius: 32px; border-top-right-radius: 32px; box-shadow: 0 -30px 60px -24px rgba(0, 0, 0, 0.6); }
.layer-chat { z-index: 3; background: var(--surface); border-top-left-radius: 32px; border-top-right-radius: 32px; box-shadow: 0 -30px 60px -24px rgba(0, 0, 0, 0.6); }
.layer-privacy { z-index: 4; background: var(--surface-dim); border-top-left-radius: 32px; border-top-right-radius: 32px; box-shadow: 0 -30px 60px -24px rgba(0, 0, 0, 0.6); }
.layer-download { z-index: 5; background: var(--surface); border-top-left-radius: 32px; border-top-right-radius: 32px; box-shadow: 0 -30px 60px -24px rgba(0, 0, 0, 0.6); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .stack-layer {
    position: static;
    min-height: auto;
    padding: 64px 0;
    box-shadow: none;
    transform: none !important;
    filter: none !important;
  }
}

/* hero layer */
.hero-store { margin: 0 auto; }

/* shared two-up layer grid (briefing / chat) */
.layer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.layer-grid.reverse { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .layer-grid, .layer-grid.reverse { grid-template-columns: 1fr; } .layer-grid.reverse { display: flex; flex-direction: column-reverse; } }
.layer-copy h2 { font-size: clamp(28px, 4.2vw, 40px); margin: 12px 0 12px; }
.layer-copy p { color: var(--muted); font-size: 17px; max-width: 460px; }

/* briefing notification visual */
.notif-stack { display: grid; gap: 16px; justify-items: center; }
.notif-phases { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.notif-phases li { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); color: var(--muted); }
.notif-phases .dot { background: currentColor; }
.notif-phases .is-red { color: var(--red); }
.notif-phases .is-blue { color: var(--blue); }
.notif-phases .is-green { color: var(--green); }
.notif-phases .is-yellow { color: var(--yellow); }
.notif-card { width: 100%; max-width: 340px; background: var(--card); border: 1px solid var(--border-strong); border-radius: 20px; padding: 16px; display: grid; gap: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.notif-head { display: flex; align-items: center; gap: 10px; }
.notif-head strong { display: block; font: 700 14px/1.2 var(--display); }
.notif-time { font-size: 11px; color: var(--subtle); }
.notif-phase { display: flex; align-items: center; gap: 8px; font: 700 12px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.notif-body { font-size: 14px; color: var(--text); }

/* chat visual */
.chat-stack { display: grid; gap: 12px; max-width: 400px; }
.chat-row { display: flex; gap: 10px; align-items: flex-end; }
.chat-row.you { justify-content: flex-end; }
.chat-row.you .bubble { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.chat-row.wingman { justify-content: flex-start; }
.chat-row.wingman .bubble { background: var(--card); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.bubble-group { display: grid; gap: 8px; }
.bubble { max-width: 300px; padding: 12px 16px; border-radius: 18px; font-size: 14px; line-height: 1.45; }
.bubble.follow-up { color: var(--muted); }

/* privacy layer */
.privacy-wrap { max-width: 640px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 14px; }
.privacy-wrap h2 { font-size: clamp(28px, 4.4vw, 42px); }
.privacy-line { color: var(--muted); font-size: 17px; }
.privacy-icons { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.privacy-icon { display: grid; justify-items: center; gap: 8px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; font-size: 13px; color: var(--muted); min-width: 110px; }

/* download layer */
.final-wrap { max-width: 560px; margin: 0 auto; display: grid; justify-items: center; gap: 16px; }
.download-icon { width: 88px; height: 88px; border-radius: 24px; border: 1px solid var(--border); background: var(--surface-dim); padding: 6px; }
.layer-download h2 { font-size: clamp(30px, 4.6vw, 46px); }
.layer-download p { color: var(--muted); font-size: 17px; }

/* faq teaser (compact, non-sticky, sits above the footer) */
.faq-teaser { position: relative; z-index: 6; background: var(--surface); border-top: 1px solid var(--border); padding: 28px 0; text-align: center; }
.faq-teaser p { color: var(--muted); font-size: 15px; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0 44px; color: var(--subtle); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a:hover { color: var(--text); }

/* ---------- document pages (FAQ, privacy, terms) ---------- */
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 780px; }
.doc header.doc-head { display: grid; gap: 14px; margin-bottom: 44px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); }
.doc h2 { font-size: 24px; margin: 44px 0 14px; }
.doc h3 { font-size: 18px; margin: 26px 0 8px; }
.doc p, .doc li { color: #cbd5e1; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.doc a:not(.button) { color: var(--brand-light); text-decoration: underline; text-underline-offset: 3px; }
.doc strong { color: var(--text); }
.doc .updated { color: var(--subtle); font-size: 14px; }
.doc .note { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; margin: 20px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--border); color: #cbd5e1; }
.doc th { font: 700 11px/1.3 var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); color: var(--muted) !important; text-decoration: none !important; }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 0 22px; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 600 18px/1.35 var(--display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand-light); font-size: 24px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; display: grid; gap: 12px; }
.faq-group { margin-top: 40px; }
.faq-group > .eyebrow { display: block; margin-bottom: 14px; }

/* ---------- utilities ---------- */
.rounded { border-radius: 12px; }
.mb-xs { margin-bottom: 6px; }
.mt-xs { margin-top: 6px; }
.mt-sm { margin-top: 12px; }
.text-lg { font-size: 18px; }
.text-sm { font-size: 14px; }
.not-found { min-height: 100vh; display: grid; place-items: center; }
.final { text-align: center; padding: 110px 0; }
.final img { margin: 0 auto 18px; border-radius: 28px; border: 1px solid var(--border); background: var(--surface-dim); padding: 6px; }
.final .hero-actions { justify-content: center; margin-top: 22px; }
.section-head .eyebrow { justify-self: center; }

/* ---------- misc ---------- */
.link { color: var(--brand-light); text-decoration: underline; text-underline-offset: 3px; }
.faq-home { max-width: 780px; margin: 0 auto; }

/* ---------- mobile menu (no JS) ---------- */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--border); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 54px; min-width: 220px; display: grid; padding: 8px; background: var(--card); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.menu-panel a { padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.menu-panel a:hover { background: var(--card-hover); }
.header-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 860px) { .menu { display: block; } }
@media (max-width: 420px) { .header-actions .button.small { display: none; } }

/* ---------- support page ---------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 14px; align-content: start;
  transition: border-color 0.2s, background 0.2s;
}
.card:hover { border-color: var(--border-strong); background: var(--card-hover); }
.card p { color: var(--muted); font-size: 15px; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
@media (max-width: 640px) { .support-grid { grid-template-columns: 1fr; } }
.support-grid .card h3 { font-size: 19px; }

/* ---------- hero (photo + copy) ---------- */
.layer-hero { overflow: hidden; background: #0a0a0c; }
.hero-photo { position: absolute; inset: 0; pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 85% center; }
/* Fade the photo into the page so the copy side stays clean. */
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 12, 0.96) 0%, rgba(10, 10, 12, 0.82) 34%, rgba(10, 10, 12, 0.2) 50%, rgba(10, 10, 12, 0) 60%), linear-gradient(0deg, #0a0a0c 0%, rgba(10, 10, 12, 0) 16%); }
/* Copy hugs the left edge (not the centered .wrap) so it stays clear of the phone in the photo. */
.hero-wrap { position: relative; display: flex; align-items: center; min-height: 100svh; max-width: none; padding: 88px 0 56px clamp(24px, 6vw, 110px); }
.hero-copy { max-width: min(520px, 36vw); display: grid; gap: 28px; justify-items: start; text-align: left; }
.hero-brand { display: flex; align-items: center; gap: 18px; }
.hero-brand img { width: clamp(52px, 6vw, 72px); height: auto; border-radius: 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55); }
.hero-wordmark { font: 700 clamp(44px, 6vw, 72px)/1 var(--display); letter-spacing: -0.03em; color: #fff; }
.hero-wordmark span { color: var(--brand-light); }
.layer-hero h1 { font: 500 clamp(20px, 2.3vw, 30px)/1.45 var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: #e5e7eb; }
.hero-sub { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.5; color: var(--muted); }
.hero-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; }
.hero-points li { font-size: 14px !important; }
.hero-points li { display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 15px; color: var(--text); }
.hero-points svg { color: var(--brand-light); }
.hero-store { margin-top: 4px; justify-self: start; }
@media (max-width: 900px) { .hero-store { justify-self: center; } }
.hero-kicker { font: 600 12px/1 var(--display); letter-spacing: 0.3em; text-transform: uppercase; color: var(--subtle); }

@media (max-width: 900px) {
  /* The hero is taller than a phone screen: keep it in normal flow so the next
     layer slides over it only after the copy has scrolled past. */
  .layer-hero { position: relative; display: block; padding: 0 0 48px; min-height: auto; }
  .hero-photo { position: relative; display: block; width: 100%; height: 58svh; inset: auto; }
  .hero-photo img { object-position: 30% center; }
  .hero-photo::after { background: linear-gradient(0deg, #0a0a0c 0%, rgba(10, 10, 12, 0) 45%); }
  .hero-wrap { min-height: auto; padding-top: 0; margin-top: -14svh; }
  .hero-wrap { padding: 0 24px; }
  .hero-copy { max-width: 560px; justify-items: center; text-align: center; margin: 0 auto; }
  .hero-points { gap: 10px; }
  .hero-points li span { font-size: 13px; }
  .layer-hero h1 { letter-spacing: 0.12em; }
  .hero-sub br { display: none; }
}
