/* Verso — the site is dark by design: black is Verso's accent, and the page frames the app the way the
   reader frames a verse. Tokens mirror the app's dark palette (docs/05-design-rules.md); the warm glow is
   the quote-card parchment, our only colour. */
:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --surface: #141416;
  --surface-raised: #1a1a1c;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #ededed;
  --ink-secondary: #a1a1a6;
  --ink-tertiary: #7c7c80;
  --parchment: #e8dcc4;
  --glow: rgba(232, 220, 196, 0.09);
  --radius: 22px;
  --wide: 1120px;
  --text: 720px;
  --gutter: 24px;
  --serif: "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

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

a { color: inherit; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--text); }

/* Small caps label with a short rule: "— ON THE APP STORE" */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-tertiary);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--parchment); opacity: 0.7; }

/* Header */
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand span { font-family: var(--serif); font-size: 22px; letter-spacing: 0.01em; }
header.site nav { display: flex; align-items: center; gap: 28px; }
header.site nav a { font-size: 14px; color: var(--ink-secondary); text-decoration: none; }
header.site nav a:hover { color: var(--ink); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: 16px; text-decoration: none;
  box-shadow: 0 0 40px var(--glow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 0 60px rgba(232, 220, 196, 0.18); }
.button.small { height: 36px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.note { display: block; margin-top: 14px; font-size: 14px; color: var(--ink-tertiary); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto 30%; height: 110%;
  background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.lockup { display: flex; align-items: center; gap: 20px; margin: 22px 0 18px; }
.lockup img { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lockup h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6vw, 68px); line-height: 1; margin: 0; }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 28px); color: var(--ink); margin: 0 0 16px; }
.lede { color: var(--ink-secondary); max-width: 480px; margin: 0 0 32px; }

/* Phones: real app screens in a simple device frame, fanned */
.phones { position: relative; height: 560px; }
.phone {
  position: absolute; width: 236px; aspect-ratio: 1320 / 2868;
  border-radius: 38px; padding: 7px; background: #1f1f22;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 80px rgba(0,0,0,.6);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 31px; }
.phone.left   { left: 0;    top: 64px; transform: rotate(-6deg); }
.phone.center { left: 50%;  top: 0;    transform: translateX(-50%); z-index: 2; }
.phone.right  { right: 0;   top: 64px; transform: rotate(6deg); }

/* Facts band: true numbers about the product, never borrowed social proof */
.facts { border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 44px 16px; text-align: center; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }
.fact span { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-tertiary); }

/* Sections */
section.block { padding: 110px 0; border-bottom: 1px solid var(--line); }
.statement { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 50px); line-height: 1.2; text-align: center; max-width: 880px; margin: 0 auto; }
.statement em { color: var(--parchment); font-style: italic; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 44px); line-height: 1.15; margin: 18px 0 12px; }
.section-head p { color: var(--ink-secondary); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card { background: var(--bg); padding: 36px 34px 40px; }
.card .num { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--ink-tertiary); display: inline-flex; gap: 10px; align-items: center; }
.card .num::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--parchment); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; margin: 18px 0 10px; }
.card p { color: var(--ink-secondary); margin: 0; font-size: 16px; }

/* Verso Plus */
.plus { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.free-list { list-style: none; padding: 0; margin: 24px 0 0; color: var(--ink-secondary); }
.free-list li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; }
.free-list li::before { content: "✓"; position: absolute; left: 0; color: var(--parchment); }
.prices { display: grid; gap: 14px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.price.featured { border-color: rgba(232, 220, 196, 0.35); box-shadow: 0 0 60px var(--glow); }
.price .label { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-tertiary); }
.price .amount { font-family: var(--serif); font-size: 36px; margin: 6px 0 2px; }
.price .amount small { font-family: var(--sans); font-size: 15px; color: var(--ink-secondary); }
.price p { margin: 0; color: var(--ink-secondary); font-size: 15px; }
.fine { font-size: 13px; color: var(--ink-tertiary); margin-top: 16px; }

/* Closing call to action */
.closing { position: relative; text-align: center; padding: 130px 0 110px; overflow: hidden; }
.closing::before { content: ""; position: absolute; left: 50%; top: 40%; width: 760px; height: 420px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
.closing h1, .closing h2 { position: relative; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 64px); margin: 0 0 14px; }
.closing p { position: relative; color: var(--ink-secondary); max-width: 520px; margin: 0 auto 30px; }
.legal-links { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; margin-top: 44px; }
.legal-links a, footer.site .col a {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--ink-tertiary);
}
.legal-links a:hover, footer.site .col a:hover { color: var(--ink); }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 48px 0 40px; }
footer.site .top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer.site .cols { display: flex; gap: 36px; flex-wrap: wrap; }
footer.site .col a { display: inline-flex; align-items: center; gap: 10px; }
footer.site .col a::before { content: ""; width: 18px; height: 1px; background: var(--ink-tertiary); opacity: .6; }
footer.site .bottom a { color: var(--ink-secondary); }
footer.site .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-tertiary); }

/* Long-form pages (privacy, terms, refunds, support) */
.prose { padding-top: 72px; padding-bottom: 40px; }
.prose h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 52px); line-height: 1.1; margin: 18px 0 8px; }
.prose .updated { color: var(--ink-tertiary); font-size: 14px; margin: 0 0 36px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 27px; margin: 48px 0 12px; }
.prose h3 { font-size: 18px; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--ink-secondary); }
.prose strong, .prose em { color: var(--ink); }
.prose a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }

.center { text-align: center; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .phones { height: 440px; max-width: 460px; width: 100%; margin: 0 auto; }
  .phone { width: 180px; border-radius: 30px; padding: 6px; }
  .phone img { border-radius: 24px; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid, .plus { grid-template-columns: 1fr; }
  section.block { padding: 80px 0; }
}

@media (max-width: 560px) {
  header.site nav a:not(.button) { display: none; }
  .phones { height: 360px; }
  .phone { width: 148px; }
  .card { padding: 30px 24px 32px; }
  .lockup img { width: 60px; height: 60px; border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) { .button { transition: none; } .button:hover { transform: none; } }
