:root {
  --bg: #0c0a09; --surface: #1c1917; --raised: #292524; --line: #3a3532;
  --text: #fafaf9; --muted: #a8a29e; --amber: #f59e0b; --amber-deep: #d97706;
  --radius: 18px; --max: 1080px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.serif { font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(12,10,9,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(58,53,50,.6); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.wordmark { font: italic 700 24px/1 Georgia, serif; background: linear-gradient(#f59e0b, #d97706); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark:hover { text-decoration: none; }
.nav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .btn { color: #1c1917; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn-primary { background: linear-gradient(#f59e0b, #d97706); color: #1c1917; }
.btn-ghost { background: var(--raised); color: var(--text); }
.btn-small { padding: 8px 16px; font-size: 14px; }
.store-badge { display: inline-flex; flex-direction: column; justify-content: center; padding: 8px 20px 9px 46px; min-height: 52px; border-radius: 12px; background: #000 no-repeat 16px center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M16.4 12.7c0-2.5 2-3.7 2.1-3.8-1.2-1.7-3-1.9-3.6-2-1.5-.2-3 .9-3.8.9-.8 0-2-.9-3.3-.9-1.7 0-3.3 1-4.1 2.5-1.8 3.1-.5 7.6 1.3 10.1.8 1.2 1.8 2.6 3.1 2.5 1.3 0 1.7-.8 3.3-.8 1.5 0 1.9.8 3.3.8 1.4 0 2.2-1.2 3-2.4 1-1.4 1.4-2.7 1.4-2.8 0 0-2.7-1-2.7-4.1zM14 5.3c.7-.8 1.1-1.9 1-3-1 0-2.1.7-2.8 1.5-.6.7-1.2 1.8-1 2.9 1.1.1 2.1-.6 2.8-1.4z'/%3E%3C/svg%3E"); color: #fff; border: 1px solid #57534e; line-height: 1.15; }
.store-badge:hover { text-decoration: none; border-color: #a8a29e; }
.store-small { font-size: 11px; letter-spacing: .02em; }
.store-big { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.store-soon { opacity: .75; cursor: default; }

/* Sections */
section { padding: 88px 0; }
section + section { border-top: 1px solid rgba(58,53,50,.5); }
.eyebrow { color: var(--amber); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; letter-spacing: -.01em; }
h1 { font: 700 clamp(38px, 6vw, 64px)/1.05 Georgia, serif; }
h2 { font: 700 clamp(28px, 4vw, 40px)/1.1 Georgia, serif; }
h3 { font-size: 19px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(245,158,11,.14); color: var(--amber); display: grid; place-items: center; margin-bottom: 14px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 36px; } section { padding: 64px 0; } }

/* Hero */
.hero { padding-top: 72px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.fineprint { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Phone illustration */
.phone { width: min(300px, 78vw); margin: 0 auto; aspect-ratio: 9 / 19; border-radius: 44px; background: #000; border: 10px solid #1c1917; box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px #3a3532; position: relative; overflow: hidden; }
.phone .screen { position: absolute; inset: 0; background: radial-gradient(120% 60% at 50% 30%, #2a2420 0%, #0c0a09 70%); }
.phone .island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; border-radius: 12px; background: #000; z-index: 2; }
.phone .app-title { position: absolute; top: 44px; left: 18px; font: italic 700 18px Georgia, serif; color: var(--amber); }
.phone .sleeve { position: absolute; top: 25%; left: 14%; width: 72%; aspect-ratio: 1; border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 10px 30px rgba(0,0,0,.6); background: linear-gradient(135deg, #c2410c, #7c2d12); overflow: hidden; }
.phone .sleeve::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; right: -30%; bottom: -12%; border-radius: 50%;
  background: radial-gradient(circle, #0c0a09 0 3%, #f59e0b 3.5% 17%, #1c1917 17.5% 22%, #292524 22.5% 23%, #1c1917 23.5% 34%, #292524 34.5% 35%, #1c1917 35.5% 47%, #292524 47.5% 48%, #1c1917 48.5%); }
.phone .sleeve::after { content: ""; position: absolute; left: 10%; top: 10%; width: 46%; height: 9%; border-radius: 3px; background: rgba(250,250,249,.88); box-shadow: 0 16px 0 -2px rgba(250,250,249,.5); }
.phone .finder { position: absolute; top: 22%; left: 9%; width: 82%; aspect-ratio: 1; border-radius: 18px; border: 3px solid var(--amber); }
.phone .finder::before { content: ""; position: absolute; inset: -3px; border-radius: 18px; border: 6px solid var(--amber); clip-path: polygon(0 0, 100% 0, 100% 62%, 0 62%); opacity: .95; }
.phone .pill { position: absolute; left: 50%; transform: translateX(-50%); top: 66%; padding: 6px 14px; border-radius: 999px; background: rgba(41,37,36,.85); font-size: 12px; font-weight: 600; white-space: nowrap; }
.phone .result { position: absolute; left: 10px; right: 10px; bottom: 10px; border-radius: 22px; background: #1c1917; padding: 14px; display: flex; gap: 12px; align-items: center; border: 1px solid #3a3532; }
.phone .result .art { width: 46px; height: 46px; border-radius: 8px; background: linear-gradient(135deg, #b45309, #7c2d12); flex: none; }
.phone .result b { display: block; font-size: 13px; }
.phone .result span { font-size: 11px; color: var(--amber); }
.phone .result .play { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(#f59e0b, #d97706); display: grid; place-items: center; color: #1c1917; font-size: 13px; flex: none; }

/* Steps */
.step-num { font: italic 700 44px/1 Georgia, serif; color: var(--amber); opacity: .9; margin-bottom: 10px; }

/* Rally */
.rally { background: radial-gradient(80% 120% at 0% 0%, rgba(245,158,11,.14), transparent 60%), var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.compare .card ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--amber); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; font-size: 16px; }

/* Footer */
footer { border-top: 1px solid rgba(58,53,50,.6); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); }

/* Legal / prose pages */
.prose { max-width: 720px; margin: 0 auto; padding: 56px 20px 80px; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose p, .prose li { color: #d6d3d1; }
.prose .updated { color: var(--muted); font-size: 15px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); }
