/* Shared styles for the content pages (/iphone, /android, /download, /faq, /about, /guides).
   CSS is served with a one-year immutable cache, so change this file by copying it to a new
   name and updating the <link> tags, never by editing it in place. */
:root {
  --bg-deep: #0C0A09;
  --bg-card: #1A1714;
  --bg-elevated: #231F1B;
  --bg-surface: #2C2722;
  --cream: #F5F0E8;
  --cream-soft: #E8E0D4;
  --cream-muted: #B8AFA3;
  --gold: #D4A853;
  --gold-bright: #E8C068;
  --teal: #5EEAD4;
  --border: rgba(245, 240, 232, 0.08);
  --border-hover: rgba(245, 240, 232, 0.16);
  --glow-gold: rgba(212, 168, 83, 0.15);
  --serif: 'Literata', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 24px);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 80px; }
body {
  font-family: var(--sans);
  background: var(--bg-deep);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-bright); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--gold); color: var(--bg-deep); padding: 8px 14px; border-radius: 8px; }

/* Nav */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(12, 10, 9, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font-family: var(--serif); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.01em; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--cream-muted); text-decoration: none; font-size: 0.875rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); }
.nav-cta { background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: var(--bg-deep) !important; padding: 9px 18px; border-radius: 999px; font-weight: 600 !important; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--cream); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 0.85rem; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-deep); border-bottom: 1px solid var(--border); padding: 8px var(--gutter) 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 1rem; border-bottom: 1px solid var(--border); }
  .nav-links a.nav-cta { margin-top: 12px; text-align: center; border-bottom: 0; }
}

/* Breadcrumb */
.crumbs { font-size: 0.8rem; color: var(--cream-muted); padding-top: 28px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.crumbs a { color: var(--cream-muted); text-decoration: none; }
.crumbs a:hover { color: var(--cream); }

/* Type */
.eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; color: var(--cream); }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.1; margin-bottom: 20px; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.18; margin-bottom: 16px; }
h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--cream-soft); max-width: 640px; line-height: 1.75; }
.muted { color: var(--cream-muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
section { padding: clamp(56px, 9vw, 96px) 0; }
.section-alt { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { margin-bottom: 40px; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 72px) 0 clamp(56px, 8vw, 88px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(212, 168, 83, 0.13), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-shots { display: flex; justify-content: center; gap: 16px; }
.hero-shots img { width: min(240px, 46%); height: auto; border-radius: 26px; border: 1px solid var(--border-hover); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.hero-shots img:nth-child(2) { margin-top: 48px; }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 30px; color: var(--cream-muted); font-size: 0.9rem; }
.checks li::before { content: "\2713"; color: var(--gold); margin-right: 7px; }

/* Store badges */
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .badges { justify-content: center; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; min-width: 176px; padding: 9px 18px 9px 14px; border-radius: 12px; background: #000; border: 1px solid rgba(245, 240, 232, 0.28); color: #fff; text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.store-badge:hover { border-color: var(--gold); color: #fff; transform: translateY(-1px); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge small { font-size: 0.66rem; letter-spacing: 0.04em; opacity: 0.85; }
.store-badge strong { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.store-badge.is-primary { border-color: var(--gold); box-shadow: 0 6px 24px var(--glow-gold); }
.badge-note { font-size: 0.8rem; color: var(--cream-muted); margin-top: 12px; }

/* Cards */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 18px; padding: 24px; transition: border-color 0.25s; }
.section-alt .card { background: var(--bg-deep); }
.card:hover { border-color: var(--border-hover); }
.card p { color: var(--cream-muted); font-size: 0.93rem; line-height: 1.7; }
.card .icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(212, 168, 83, 0.1); border: 1px solid rgba(212, 168, 83, 0.18); color: var(--gold); margin-bottom: 16px; font-size: 1.1rem; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card h3 { color: var(--cream); }
.card .more { color: var(--gold); font-size: 0.85rem; font-weight: 600; margin-top: 12px; display: inline-block; }

/* Platform cards */
.platform { display: flex; flex-direction: column; gap: 14px; }
.platform ul { list-style: none; display: grid; gap: 8px; color: var(--cream-soft); font-size: 0.93rem; }
.platform li::before { content: "\2022"; color: var(--gold); margin-right: 8px; }
.platform .badges { margin-top: auto; padding-top: 8px; }

/* Screenshot strip */
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; -webkit-overflow-scrolling: touch; }
.shots figure { flex: 0 0 auto; width: 220px; scroll-snap-align: start; }
.shots img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--border-hover); }
.shots figcaption { font-size: 0.8rem; color: var(--cream-muted); margin-top: 10px; line-height: 1.5; }

/* Facts table / comparison */
.facts { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.facts th, .facts td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.facts th { color: var(--cream-muted); font-weight: 500; width: 38%; }
.facts td { color: var(--cream-soft); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-elevated); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 520px; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.compare thead th { color: var(--cream); font-weight: 600; background: var(--bg-surface); }
.compare td { color: var(--cream-soft); }
.compare td.yes { color: var(--gold); }
.compare td.no { color: var(--cream-muted); }
.compare tr:last-child td { border-bottom: 0; }

/* Steps */
.steps { counter-reset: step; list-style: none; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 64px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 16px; color: var(--cream-soft); }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: rgba(212, 168, 83, 0.12); color: var(--gold); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.steps strong { color: var(--cream); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; }
.section-alt .faq details { background: var(--bg-deep); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--cream); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { color: var(--cream-muted); margin-top: 12px; font-size: 0.95rem; line-height: 1.75; }
.faq details > div p + p { margin-top: 10px; }

/* Article (guides) */
.article { padding-top: 24px; }
.article h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.article .meta { color: var(--cream-muted); font-size: 0.85rem; margin-bottom: 28px; }
.article .tldr { background: var(--bg-elevated); border: 1px solid rgba(212, 168, 83, 0.25); border-radius: 16px; padding: 20px 22px; margin: 28px 0; }
.article .tldr strong { color: var(--gold); display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.article .tldr p, .article .tldr li { color: var(--cream-soft); }
.prose { color: var(--cream-soft); font-size: 1.05rem; line-height: 1.85; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 44px 0 14px; }
.prose h3 { font-size: 1.1rem; margin: 28px 0 8px; color: var(--cream); }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--cream); font-weight: 600; }
.verse { margin: 22px 0; padding: 18px 22px; border-left: 3px solid var(--gold); background: var(--bg-card); border-radius: 0 14px 14px 0; font-family: var(--serif); font-size: 1.1rem; line-height: 1.75; color: var(--cream); }
.verse cite { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--gold); }
.callout { margin: 32px 0; padding: 24px; border-radius: 18px; background: linear-gradient(135deg, rgba(212, 168, 83, 0.1), rgba(212, 168, 83, 0.03)); border: 1px solid rgba(212, 168, 83, 0.22); }
.callout h3 { margin-bottom: 6px; }
.callout p { color: var(--cream-soft); font-size: 0.95rem; margin-bottom: 14px; }

/* CTA band */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, rgba(212, 168, 83, 0.12), transparent 60%); pointer-events: none; }
.cta-band .wrap-narrow { position: relative; }
.fineprint { font-size: 0.78rem; color: var(--cream-muted); opacity: 0.85; margin-top: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 32px; font-size: 0.875rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; margin-bottom: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } .foot-grid > div:first-child { grid-column: 1 / -1; } }
.foot-grid h2 { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-soft); margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 9px; }
.foot-grid a { color: var(--cream-muted); text-decoration: none; }
.foot-grid a:hover { color: var(--gold); }
.foot-grid p { color: var(--cream-muted); line-height: 1.7; max-width: 300px; margin-top: 12px; }
.foot-base { border-top: 1px solid var(--border); padding-top: 24px; color: var(--cream-muted); font-size: 0.78rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; opacity: 0.8; }
