/* Last Seen — marketing + legal site
   Dark editorial true-crime look. Rose (#FF4D6D) is the Signal 9 brand color,
   carried straight from the app. System fonts only: fast, private, no external
   requests (no Google Fonts calls, GDPR-clean). */

:root {
  --bg:      #0b0b0f;
  --bg-2:    #131319;
  --bg-3:    #1c1c24;
  --ink:     #f4f1ee;
  --ink-2:   #b8b4bd;
  --ink-3:   #86828e;
  --rose:    #ff4d6d;
  --rose-hi: #ff7d96;
  --line:    rgba(255, 255, 255, 0.09);
  --line-2:  rgba(255, 255, 255, 0.14);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:  ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --radius:   20px;
  --radius-s: 13px;
  --maxw:     1120px;
  --pad:      clamp(20px, 5vw, 40px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* soft ambient glow, fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 40% at 80% -5%, rgba(255, 77, 109, 0.14), transparent 70%),
    radial-gradient(50% 45% at 0% 5%, rgba(255, 125, 150, 0.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--rose-hi); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0; overflow-wrap: break-word; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(11, 11, 15, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav__row { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.22); flex: none; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: var(--ink); text-decoration: none; }
.nav__toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 26px; cursor: pointer; padding: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 15px; font-weight: 700;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--rose); color: #1a0710; }
.btn--primary:hover { background: var(--rose-hi); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink-3); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(38px, 6.4vw, 74px); margin: 18px 0 20px; }
.hero h1 .accent { color: var(--rose); font-style: italic; }
.hero__lede { font-size: clamp(17px, 2.1vw, 20px); color: var(--ink-2); max-width: 34ch; margin: 0 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { font-size: 13px; color: var(--ink-3); margin-top: 18px; }

/* device frame */
.phone {
  position: relative; width: min(300px, 78vw); margin-inline: auto;
  border-radius: 46px; padding: 11px;
  background: linear-gradient(150deg, #2a2a33, #0e0e12);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06),
              inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}
.phone::after { /* dynamic island */
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 30px; background: #000; border-radius: 16px; z-index: 3;
}
.phone img { border-radius: 36px; display: block; }
.phone--tilt { transform: rotate(2.4deg); }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 9vw, 108px); }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015)); border-block: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head h2 { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 16px; }
.section__head p { color: var(--ink-2); font-size: 18px; margin: 0; }
.center { text-align: center; margin-inline: auto; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step__n { counter-increment: step; font-family: var(--mono); font-size: 13px; color: var(--rose); font-weight: 700; }
.step__n::before { content: "0" counter(step); }
.step h3 { font-size: 21px; margin: 12px 0 8px; }
.step p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 77, 109, 0.14); color: var(--rose); margin-bottom: 16px; }
.feature__ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* split showcase */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.split--rev .split__media { order: -1; }
.split__media { display: flex; justify-content: center; }
.split ul { list-style: none; padding: 0; margin: 22px 0 0; }
.split li { position: relative; padding-left: 30px; margin-bottom: 14px; color: var(--ink-2); }
.split li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }
.split li b { color: var(--ink); font-weight: 600; }

/* case cards */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.case__kicker { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.case__no { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--rose); }
.tag { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; }
.tag--free { background: rgba(99, 222, 116, 0.16); color: #7ee38c; }
.tag--soon { background: var(--bg-3); color: var(--ink-3); }
.case h3 { font-size: 27px; margin-bottom: 10px; }
.case p { color: var(--ink-2); font-size: 15px; margin: 0 0 18px; }
.case__meta { margin-top: auto; font-size: 13px; color: var(--ink-3); font-family: var(--mono); }

/* faq */
.faq { max-width: 760px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 26px; font-weight: 300; color: var(--rose); transition: transform .2s ease; }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa__body { padding: 0 44px 22px 0; color: var(--ink-2); }
.qa__body p { margin: 0 0 10px; }

/* cta band */
.cta {
  text-align: center; background: linear-gradient(150deg, rgba(255, 77, 109, 0.16), rgba(255, 77, 109, 0.03));
  border: 1px solid var(--line-2); border-radius: 28px; padding: clamp(40px, 6vw, 72px);
}
.cta h2 { font-size: clamp(28px, 4.6vw, 46px); margin-bottom: 16px; }
.cta p { color: var(--ink-2); max-width: 46ch; margin: 0 auto 28px; }

/* ---------- legal / prose ---------- */
.page-head { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(34px, 5.4vw, 56px); }
.page-head p { color: var(--ink-3); margin: 12px 0 0; font-size: 15px; }
.prose { max-width: 760px; padding-block: clamp(32px, 5vw, 56px); }
.prose h2 { font-size: 26px; margin: 40px 0 14px; }
.prose h3 { font-size: 19px; font-family: var(--sans); font-weight: 700; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose .lead { font-size: 19px; color: var(--ink); }
.toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 20px 24px; margin-bottom: 8px; }
.toc h2 { font-size: 14px; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin: 0 0 12px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; }
.toc li { margin-bottom: 6px; }

/* ---------- form ---------- */
.form { max-width: 620px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px;
  color: var(--ink); font-family: var(--sans); font-size: 16px; padding: 13px 15px; transition: border-color .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--rose); }
.form__note { font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.form__status { margin-top: 16px; font-size: 15px; }
.form__status.ok { color: #7ee38c; }
.form__status.err { color: var(--rose-hi); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 52px 40px; margin-top: 40px; }
.footer__grid { display: flex; flex-wrap: wrap; gap: 28px 64px; justify-content: space-between; }
.footer__brand { max-width: 300px; }
.footer__brand p { color: var(--ink-3); font-size: 14px; margin: 12px 0 0; }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin: 0 0 14px; font-family: var(--sans); font-weight: 700; }
.footer__col a { display: block; color: var(--ink-2); font-size: 15px; margin-bottom: 10px; }
.footer__col a:hover { color: var(--ink); text-decoration: none; }
.footer__legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.footer__legal p { margin: 0; max-width: 60ch; }

/* ---------- reveal ---------- */
/* Pure-CSS fade-up on load. Content is NEVER permanently hidden — the animation
   always completes (fill `both`), and reduced-motion disables it (rule below),
   leaving elements at their normal, visible state. No JS dependency. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .7s cubic-bezier(.22,.61,.36,1) both; }
  .reveal:nth-child(2) { animation-delay: .06s; }
  .reveal:nth-child(3) { animation-delay: .12s; }
  .reveal:nth-child(4) { animation-delay: .18s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__lede { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__media { margin-top: 8px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; text-align: center; }
  .split--rev .split__media, .split__media { order: 0; }
  .split ul { display: inline-block; text-align: left; }
  .toc ol { columns: 1; }
}
@media (max-width: 620px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute; top: 62px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 18px var(--pad); gap: 18px;
  }
  .nav__toggle { display: block; }
  .steps, .features { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; }
}
