/* AND COUNTING launch site — static, dependency-free, intentionally isolated from the iOS runtime. */
:root {
  --paper: #f4f2ec;
  --paper-deep: #e9e5db;
  --ink: #171716;
  --muted: #68655f;
  --line: rgba(23, 23, 22, 0.13);
  --card: rgba(255, 255, 255, 0.64);
  --solid: #171716;
  --radius: 28px;
  --shadow: 0 28px 80px rgba(25, 24, 21, 0.10);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(244, 242, 236, 0.82);
  border-bottom: 1px solid rgba(23, 23, 22, 0.07);
}
.nav-inner {
  max-width: var(--max);
  min-height: 68px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  text-decoration: none;
  font-size: 16px;
  font-weight: 720;
  letter-spacing: -0.025em;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--ink); }

main { overflow: hidden; }
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 108px 24px;
}
.section-tight { padding-top: 58px; padding-bottom: 58px; }
.hero {
  min-height: calc(100svh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: center;
  gap: 72px;
  padding-top: 74px;
  padding-bottom: 82px;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-family: ui-serif, "New York", Georgia, serif;
  font-size: clamp(54px, 7.1vw, 98px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 520;
}
.hero-copy {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.42;
  letter-spacing: -0.018em;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 680;
  border: 1px solid var(--solid);
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--solid); color: #fff; }
.button-secondary { background: transparent; color: var(--ink); }
.button[aria-disabled="true"] { opacity: 0.48; cursor: default; transform: none; }
.small-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.hero-visual { display: flex; justify-content: center; position: relative; }
.phone {
  width: min(355px, 88vw);
  aspect-ratio: 0.485;
  padding: 10px;
  border-radius: 56px;
  background: #0b0b0b;
  box-shadow: 0 40px 100px rgba(20, 19, 17, 0.20), inset 0 0 0 1px rgba(255,255,255,.14);
  transform: rotate(2.2deg);
}
.lock-screen {
  height: 100%;
  border-radius: 47px;
  overflow: hidden;
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 68% 22%, rgba(255,255,255,.24), transparent 26%),
    radial-gradient(circle at 16% 76%, rgba(255,255,255,.12), transparent 34%),
    linear-gradient(150deg, #6b6d6a 0%, #373a3b 42%, #161819 100%);
}
.lock-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.08), transparent 42%, rgba(0,0,0,.14));
  pointer-events: none;
}
.dynamic-island {
  width: 100px;
  height: 29px;
  background: #050505;
  border-radius: 999px;
  margin: 12px auto 22px;
  position: relative;
  z-index: 2;
}
.lock-date, .lock-time, .widget-shell, .lock-footer { position: relative; z-index: 2; text-align: center; }
.lock-date { font-size: 13px; font-weight: 620; opacity: .92; }
.lock-time { margin-top: 2px; font-size: 72px; line-height: 1; letter-spacing: -0.06em; font-weight: 300; }
.widget-zone {
  position: relative;
  z-index: 2;
  width: 82%;
  margin: 28px auto 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.widget-shell {
  margin: 0 auto;
  width: 100%;
  min-height: 68px;
  padding: 11px 14px 9px;
  border-radius: 18px;
  background: rgba(62, 64, 64, 0.50);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.widget-phrase { font-family: ui-serif, "New York", Georgia, serif; font-size: 17px; line-height: 1.02; }
.widget-count { margin-top: 4px; font-family: ui-serif, "New York", Georgia, serif; font-size: 22px; line-height: 1; font-weight: 610; }
.lock-footer { position: absolute; left: 0; right: 0; bottom: 22px; font-size: 11px; opacity: .54; }
.asset-chip {
  position: absolute;
  right: 2px;
  bottom: 4px;
  z-index: 4;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(244,242,236,.92);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.real-hero-capture {
  width: min(390px, 90vw);
  max-height: 720px;
  object-fit: contain;
  border-radius: 44px;
  box-shadow: var(--shadow);
}

.rule { border-top: 1px solid var(--line); }
.display-line {
  max-width: 980px;
  margin: 0;
  font-family: ui-serif, "New York", Georgia, serif;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.section-lead {
  max-width: 710px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.card-number { margin-bottom: 50px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.card h3 { margin-bottom: 10px; font-size: 20px; letter-spacing: -0.025em; }
.card p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.example-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.example {
  min-height: 128px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.38);
}
.example strong { font-family: ui-serif, "New York", Georgia, serif; font-size: 18px; font-weight: 520; }
.example span { margin-top: 4px; color: var(--muted); font-size: 14px; }
.privacy-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 760px;
  margin-top: 34px;
}
.mini-widget {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 24px;
  background: #242524;
  color: #fff;
  text-align: center;
}
.mini-widget strong { font-family: ui-serif, "New York", Georgia, serif; font-size: 22px; font-weight: 510; }
.mini-widget span { margin-top: 6px; font-family: ui-serif, "New York", Georgia, serif; font-size: 28px; font-weight: 650; }

.intent-hero h1 { font-size: clamp(50px, 6.2vw, 88px); }
.intent-tag { display: inline-flex; margin-bottom: 18px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; }

.prose { max-width: 800px; }
.prose h1 { font-size: clamp(46px, 6vw, 74px); }
.prose h2 { margin-top: 54px; font-size: 27px; letter-spacing: -0.03em; }
.prose h3 { margin-top: 34px; font-size: 18px; }
.prose p, .prose li { color: #4f4d48; font-size: 16px; line-height: 1.68; }
.prose ul, .prose ol { padding-left: 22px; }
.prose .policy-meta { margin-bottom: 42px; color: var(--muted); font-size: 13px; }
.callout { margin: 28px 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.45); }

.footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 38px 24px 52px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 54px; padding-top: 72px; }
  .hero-visual { order: 2; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .example-grid { grid-template-columns: 1fr 1fr; }
  .section { padding-top: 82px; padding-bottom: 82px; }
}

@media (max-width: 520px) {
  .nav-inner { padding: 0 18px; }
  .section { padding-left: 18px; padding-right: 18px; }
  h1 { font-size: 51px; }
  .hero-copy { font-size: 18px; }
  .example-grid, .privacy-demo { grid-template-columns: 1fr; }
  .actions { align-items: stretch; }
  .button { width: 100%; }
  .footer-inner { flex-direction: column; }
}

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


/* Acquisition calculator + intent engine — static, local-only and pre-launch safe. */
:root {
  --brand-violet: #3F32F0;
  --brand-cream: #FBF7F0;
  --lock-violet: #7A70FF;
}
.calculator-hero { padding-top: 90px; padding-bottom: 96px; }
.calculator-hero > h1 { max-width: 900px; }
.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 22px;
  margin-top: 52px;
  align-items: stretch;
}
.counter-controls, .counter-preview {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255,255,255,.52);
  box-shadow: 0 18px 55px rgba(20,19,17,.06);
}
.counter-controls { padding: 30px; }
.counter-controls h2 { margin-bottom: 20px; font-size: 27px; letter-spacing: -.035em; }
.segmented { display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:5px; margin-bottom:24px; border-radius:16px; background:var(--paper-deep); }
.segment { min-height:44px; border:0; border-radius:12px; background:transparent; color:var(--muted); font:inherit; font-size:14px; font-weight:700; cursor:pointer; }
.segment.is-active { background:#fff; color:var(--ink); box-shadow:0 3px 14px rgba(20,19,17,.08); }
.field { display:grid; gap:8px; margin-top:18px; color:var(--ink); font-size:13px; font-weight:700; }
.field small { color:var(--muted); font-size:12px; font-weight:500; }
.field input { width:100%; min-height:52px; padding:0 14px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.8); color:var(--ink); font:inherit; font-size:16px; outline:none; }
.field input:focus { border-color:rgba(63,50,240,.55); box-shadow:0 0 0 3px rgba(63,50,240,.10); }
.calculator-status { min-height:22px; margin:18px 0 0; color:var(--muted); font-size:13px; line-height:1.5; }
.compact-actions { margin-top:18px; }
.compact-actions .button { min-height:44px; padding:0 16px; background:transparent; color:var(--ink); }
.compact-actions button:disabled { opacity:.42; cursor:default; transform:none; }
.privacy-strip { display:grid; gap:5px; margin-top:24px; padding-top:20px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; line-height:1.55; }
.privacy-strip strong { color:var(--ink); }
.counter-preview { padding:22px; display:grid; align-content:center; }
.preview-label { margin:0 0 12px; color:var(--muted); font-size:11px; font-weight:750; letter-spacing:.11em; text-transform:uppercase; }
.preview-lock {
  min-height:430px; padding:34px; border-radius:26px; display:flex; flex-direction:column; justify-content:center;
  background:radial-gradient(circle at 82% 15%, rgba(122,112,255,.72), transparent 28%), linear-gradient(145deg, var(--brand-violet), #281ac8 68%, #17115e);
  color:var(--brand-cream); box-shadow:inset 0 0 0 1px rgba(255,255,255,.13);
}
.preview-mark { margin-bottom:auto; font-size:13px; font-weight:800; letter-spacing:.16em; }
.preview-phrase { max-width:520px; font-size:clamp(22px,3vw,40px); font-weight:760; line-height:1.02; letter-spacing:-.035em; text-transform:uppercase; }
.preview-number { margin-top:16px; font-family:ui-serif,"New York",Georgia,serif; font-size:clamp(54px,8vw,100px); line-height:.9; letter-spacing:-.065em; }
.preview-number [data-preview-unit] { font-size:.30em; letter-spacing:.02em; vertical-align:.18em; }
.preview-suffix { margin-top:14px; font-size:14px; font-weight:800; letter-spacing:.15em; }
.counter-preview .small-note { margin:14px 4px 0; }
.intent-grid { grid-auto-rows:1fr; }
.intent-link-card { display:block; transition:transform 160ms ease,border-color 160ms ease,background 160ms ease; }
.intent-link-card:hover { transform:translateY(-2px); border-color:rgba(23,23,22,.24); background:rgba(255,255,255,.72); }
.intent-link-card .card-number { margin-bottom:34px; }
@media (max-width:860px) {
  .calculator-shell { grid-template-columns:1fr; }
  .counter-preview { order:-1; }
  .preview-lock { min-height:360px; }
}
@media (max-width:520px) {
  .counter-controls,.counter-preview { padding:18px; border-radius:24px; }
  .preview-lock { min-height:330px; padding:24px; }
  .compact-actions .button { width:100%; }
}