/* OathLock site — shared styles */
:root {
  --paper: #f7f4ee;
  --paper-2: #efeae1;
  --surface: #ffffff;
  --ink: #17161b;
  --ink-2: #4a4750;
  --muted: #77727c;
  --line: #e3ddd2;
  --accent: #3b4bd8;
  --accent-ink: #ffffff;
  --accent-soft: #e6e8fb;
  --night: #0f1020;
  --night-2: #181a30;
  --night-text: #eceaf4;
  --night-muted: #a6a3b8;
  --glow: #8b98ff;
  --radius: 18px;
  --max: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111114;
    --paper-2: #17171c;
    --surface: #1c1c22;
    --ink: #f1eee8;
    --ink-2: #c9c5bd;
    --muted: #9b968f;
    --line: #2b2b33;
    --accent: #8b98ff;
    --accent-ink: #0d0e1c;
    --accent-soft: #23264a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav .pill { color: var(--accent); background: var(--accent-soft); padding: 7px 14px; border-radius: 999px; font-weight: 600; }
@media (max-width: 760px) { .nav a:not(.pill) { display: none; } }

/* ---------- Buttons / badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 14px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  line-height: 1.15;
}
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 11px; opacity: .7; letter-spacing: .02em; }
.store strong { font-size: 15px; font-weight: 600; }
.store[aria-disabled="true"] { cursor: default; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
h1, h2, h3 { color: var(--ink); }
.display {
  font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 144;
  font-size: clamp(44px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.025em;
  margin: 18px 0 22px;
}
.display em { font-style: italic; color: var(--accent); }
.lead { font-size: 20px; line-height: 1.6; color: var(--ink-2); max-width: 34em; margin: 0 0 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--muted); font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: var(--accent); }

@media (max-width: 900px) {
  .hero { padding: 48px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Phone mockup ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-stage::before {
  content: ""; position: absolute; inset: 8% -10% 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 35%, transparent), transparent);
  filter: blur(20px); z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: min(320px, 82vw); aspect-ratio: 9 / 19;
  padding: 11px; border-radius: 48px;
  background: linear-gradient(145deg, #2b2b33, #0b0b0e);
  box-shadow: 0 40px 80px -30px rgba(20, 20, 60, .55), inset 0 0 0 1.5px #3a3a44;
}
.screen {
  height: 100%; border-radius: 38px; overflow: hidden; position: relative;
  background: radial-gradient(120% 80% at 50% 0%, #1d2040 0%, #111216 55%);
  color: #f1efea; display: flex; flex-direction: column; align-items: center;
  padding: 58px 26px 30px; text-align: center;
}
.island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; }
.screen .blocked { font-size: 12.5px; color: #a9a49b; display: flex; align-items: center; gap: 6px; }
.screen .blocked svg { width: 14px; height: 14px; }
.screen .q-wrap { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.screen blockquote {
  margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.35;
  transition: opacity .5s ease;
}
.screen cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; color: #a9a49b; transition: opacity .5s ease; }
.screen .timer { font-weight: 700; color: var(--glow); font-size: 17px; font-variant-numeric: tabular-nums; }
.screen .timer small { display: block; font-weight: 500; color: #a9a49b; font-size: 12px; margin-top: 2px; }
.screen .back { margin-top: 20px; width: 100%; padding: 12px; border-radius: 999px; background: #f1efea; color: #111; font-weight: 600; font-size: 14px; }
.fade { opacity: 0; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2, h2.title {
  font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 144;
  font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.02em; margin: 12px 0 14px;
}
.section-head p { color: var(--ink-2); font-size: 18px; margin: 0; }
.alt { background: var(--paper-2); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 18px;
}
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--surface); padding: 30px 28px; }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

@media (max-width: 900px) {
  .steps, .features { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
}

/* Quote band */
.quote-band { background: var(--night); color: var(--night-text); text-align: center; }
.quote-band blockquote {
  margin: 0 auto; max-width: 860px;
  font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 144;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.22; letter-spacing: -0.01em;
}
.quote-band cite { display: block; margin-top: 22px; font-style: normal; color: var(--night-muted); }
.quote-band .eyebrow { color: var(--glow); margin-bottom: 26px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 17px; color: var(--ink-2); font-weight: 600; }
.price { font-family: var(--serif); font-size: 46px; line-height: 1; margin: 14px 0 4px; letter-spacing: -0.02em; }
.price span { font-family: var(--sans); font-size: 16px; color: var(--muted); letter-spacing: 0; }
.per { color: var(--muted); font-size: 14px; min-height: 22px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.plan li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.fineprint { color: var(--muted); font-size: 13.5px; margin-top: 18px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* CTA */
.cta { text-align: center; }
.cta .stores { justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 14px; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer .brand { margin-bottom: 10px; }
.site-footer p { margin: 4px 0; max-width: 420px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- Legal / prose pages ---------- */
.page-head { padding: 64px 0 24px; }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 144; font-size: clamp(38px, 5vw, 56px); letter-spacing: -0.02em; margin: 10px 0 8px; line-height: 1.05; }
.page-head p { color: var(--muted); margin: 0; }
.prose { max-width: 760px; padding-bottom: 80px; }
.prose h2 { font-size: 24px; margin: 44px 0 10px; letter-spacing: -0.01em; }
.prose h3 { font-size: 18px; margin: 28px 0 6px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .callout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 24px 0; }
.prose .callout ul { margin: 0; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { color: var(--ink); font-weight: 600; background: var(--paper-2); }
.prose td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 16px; }
.contact-card p { margin: 2px 0; }
