/* ==========================================================================
   PhonDeal - shared design system
   ========================================================================== */
:root {
  --ink: #0b1220;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f6f8fb;
  --card: #ffffff;
  --brand: #4f46e5;
  --brand-600: #4338ca;
  --brand-50: #eef2ff;
  --sky: #0ea5e9;
  --good: #047857;
  --good-50: #ecfdf5;
  --warn: #b45309;
  --warn-50: #fffbeb;
  --bad: #b91c1c;
  --bad-50: #fef2f2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06);
  --shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 10px 30px rgba(11, 18, 32, .07);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-tight { padding: 32px 0 72px; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: var(--radius-sm); color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--brand-50); color: var(--brand-600); text-decoration: none; }
.nav-links .btn { margin-left: 8px; color: #fff; }
.nav-links .btn:hover { background: var(--brand-600); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links .btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: .95rem; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(79, 70, 229, .3); }
.btn-primary:hover { background: var(--brand-600); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: #c7d2fe; background: var(--brand-50); }
.btn-ghost-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .18); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--brand-600); }
.btn-lg { padding: 14px 24px; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: 7px 12px; font-size: .8rem; border-radius: 9px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Primitives ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.pill-light { background: rgba(255, 255, 255, .1); color: #e0e7ff; border: 1px solid rgba(255, 255, 255, .2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.badge-brand { background: var(--brand-50); color: var(--brand-600); }
.badge-good { background: var(--good-50); color: var(--good); }
.badge-muted { background: #f1f5f9; color: var(--muted); }
.badge-warn { background: var(--warn-50); color: var(--warn); }
.notice { padding: 14px 18px; border-radius: 12px; font-size: .95rem; border: 1px solid; }
.notice-error { background: var(--bad-50); border-color: #fecaca; color: var(--bad); }
.notice-info { background: var(--brand-50); border-color: #c7d2fe; color: var(--brand-600); }
.skeleton { background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 37%, #eef2f7 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 10px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.skel-line { height: 16px; margin: 10px 0; }
.skel-block { height: 120px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 480px at 85% -10%, rgba(99, 102, 241, .55), transparent 60%), radial-gradient(700px 420px at -10% 110%, rgba(14, 165, 233, .35), transparent 60%), linear-gradient(135deg, #0b1220 0%, #1e1b4b 100%); }
.hero h1 { color: #fff; margin-top: 18px; }
.hero .grad { background: linear-gradient(90deg, #a5b4fc, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; color: #cbd5e1; max-width: 560px; margin: 18px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 84px 20px 88px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; padding: 56px 20px 64px; gap: 36px; } }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 24px; margin: 40px 0 0; justify-content: start; }
.stats div { min-width: 0; display: flex; flex-direction: column-reverse; }
.stats dt { font-size: .75rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.stats dd { margin: 0; font-size: 1.7rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.hero-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 20px; padding: 24px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-card h2 { font-size: 1.05rem; color: #fff; margin-bottom: 14px; letter-spacing: -.01em; }
.hero-card a.more { display: inline-block; margin-top: 14px; color: #c7d2fe; font-weight: 600; font-size: .9rem; }
.deal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.deal-list li { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 12px 14px; }
.deal-rank { width: 28px; height: 28px; flex: none; border-radius: 50%; background: rgba(165, 180, 252, .25); color: #e0e7ff; font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.deal-main { flex: 1; min-width: 0; }
.deal-main strong { display: block; color: #fff; font-size: .95rem; }
.deal-main span { color: #94a3b8; font-size: .8rem; }
.deal-price { font-weight: 800; color: #fff; font-size: 1.1rem; white-space: nowrap; }
.deal-price small { font-size: .7rem; color: #a5b4fc; font-weight: 600; }

/* ---------- Cards: generations, comparisons, posts ---------- */
.gen-card { position: relative; display: flex; flex-direction: column; min-height: 260px; border-radius: 20px; padding: 26px; color: #fff; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; box-shadow: var(--shadow); }
.gen-card:hover { transform: translateY(-4px); text-decoration: none; }
.gen-card .gen-num { font-size: 5.5rem; font-weight: 800; line-height: .9; letter-spacing: -.05em; opacity: .95; }
.gen-card h3 { color: #fff; font-size: 1.25rem; margin: 10px 0 6px; }
.gen-card p { color: rgba(255, 255, 255, .85); font-size: .95rem; flex: 1; }
.gen-card .gen-meta { font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .92); }
.gen-18 { background: linear-gradient(135deg, #1e1b4b, #7c3aed 55%, #db2777); }
.gen-17 { background: linear-gradient(135deg, #4f46e5, #0ea5e9); }
.gen-16 { background: linear-gradient(135deg, #0f766e, #22c55e); }
.gen-15 { background: linear-gradient(135deg, #be185d, #f59e0b); }
.gen-links { display: flex; gap: 14px; margin-top: 14px; font-weight: 700; font-size: .9rem; }
.gen-links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.cmp-card { display: block; padding: 22px; color: var(--ink); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.cmp-card:hover { text-decoration: none; border-color: #c7d2fe; transform: translateY(-3px); box-shadow: var(--shadow); }
.cmp-card h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.cmp-card p { color: var(--muted); font-size: .9rem; margin: 0 0 12px; }
.cmp-card .go { font-weight: 700; font-size: .9rem; }
.vs { display: inline-flex; align-items: center; gap: 8px; }
.vs i { font-style: normal; font-size: .7rem; font-weight: 800; color: var(--muted); background: #f1f5f9; border-radius: 6px; padding: 2px 6px; }

.post-card { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); }
.post-banner { height: 150px; display: flex; align-items: flex-end; padding: 18px 22px; color: rgba(255, 255, 255, .95); font-size: 3.4rem; font-weight: 800; letter-spacing: -.05em; }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.post-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-meta { font-size: .8rem; color: var(--muted); display: flex; gap: 10px; align-items: center; }

.steps { counter-reset: step; }
.step { padding: 26px; }
.step-num { width: 38px; height: 38px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); padding-bottom: 12px; margin: 0; }

/* ---------- Page heads & toolbars ---------- */
.page-head { background: linear-gradient(180deg, #fff, var(--bg)); border-bottom: 1px solid var(--line); padding: 52px 0 40px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-head p { color: var(--muted); max-width: 680px; font-size: 1.08rem; margin: 0; }
.toolbar { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 14px; padding: 18px; margin-bottom: 28px; }
@media (max-width: 820px) { .toolbar { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .toolbar { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.input, .select { width: 100%; font: inherit; font-size: .95rem; padding: 11px 14px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; color: var(--ink); }
.input:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.result-count { color: var(--muted); font-size: .9rem; margin: -8px 0 20px; }

/* ---------- Deals / model cards ---------- */
.model-card { overflow: hidden; margin-bottom: 28px; }
.model-head { display: grid; grid-template-columns: 1fr 200px; gap: 24px; padding: 28px; background: linear-gradient(180deg, #fbfcff, #f4f6fb); border-bottom: 1px solid var(--line); align-items: center; }
@media (max-width: 760px) { .model-head { grid-template-columns: 1fr; } .model-img { order: -1; } }
.model-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.model-title h2 { font-size: 1.6rem; margin: 0; }
.model-desc { color: var(--ink-2); font-size: .95rem; max-width: 680px; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0; }
@media (max-width: 760px) { .specs { grid-template-columns: repeat(2, 1fr); } }
.spec { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.spec dt { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: 2px 0 0; font-size: .85rem; font-weight: 700; overflow-wrap: anywhere; }
.model-img { background: #fff; border: 1px solid var(--line); border-radius: 18px; height: 190px; display: grid; place-items: center; padding: 14px; }
.model-img img { max-height: 160px; object-fit: contain; }
.model-img .ph { text-align: center; color: #94a3b8; font-size: .8rem; }
.model-img .ph b { display: block; font-size: 2rem; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; min-width: 680px; }
.table th { text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 20px; background: #f8fafc; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 16px 20px; border-bottom: 1px solid #eef2f7; font-size: .92rem; vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fafbff; }
.table .num { font-weight: 800; white-space: nowrap; }
.table .carrier { font-weight: 800; }
.table .sub { display: block; font-size: .78rem; color: var(--muted); font-weight: 500; }
.table .credit { color: var(--good); font-weight: 600; }
.table .right { text-align: right; }
.empty-row { text-align: center; color: var(--muted); padding: 28px !important; }
.best-tag { margin-left: 6px; }

/* ---------- Compare page ---------- */
.picker { padding: 20px; margin-bottom: 24px; }
.picker-grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 14px; align-items: end; }
@media (max-width: 820px) { .picker-grid { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.chips span.lbl { font-size: .8rem; color: var(--muted); font-weight: 600; margin-right: 4px; }
.chip { font: inherit; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: #c7d2fe; background: var(--brand-50); color: var(--brand-600); }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
@media (max-width: 820px) { .summary-grid { grid-template-columns: 1fr; } }
.summary-card { padding: 22px; }
.summary-card .k { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.summary-card .v { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; margin: 4px 0; }
.summary-card .d { color: var(--ink-2); font-size: .92rem; margin: 0; }
.summary-card.hl { background: linear-gradient(135deg, #eef2ff, #ecfeff); border-color: #c7d2fe; }

.cmp-section { margin-bottom: 32px; }
.cmp-section > h2 { font-size: 1.4rem; margin-bottom: 14px; }
.cmp-table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: 14px 18px; border-bottom: 1px solid #eef2f7; text-align: left; vertical-align: top; font-size: .92rem; }
.cmp-table thead th { background: #f8fafc; vertical-align: bottom; }
.cmp-table tbody th { width: 150px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: #fcfdff; }
.cmp-head-name { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; display: block; margin-top: 8px; }
.cmp-head-img { height: 84px; object-fit: contain; }
.cmp-head-ph { height: 84px; display: grid; place-items: center; font-size: 2rem; color: #cbd5e1; }
.cmp-table td.best { background: var(--good-50); color: var(--good); font-weight: 800; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }

.bars { padding: 22px; }
.bar-row { display: grid; grid-template-columns: 230px 1fr 90px; gap: 14px; align-items: center; padding: 7px 0; }
@media (max-width: 720px) { .bar-row { grid-template-columns: 1fr 80px; } .bar-track { grid-column: 1 / -1; order: 3; } }
.bar-label { font-size: .85rem; font-weight: 600; }
.bar-label small { display: block; color: var(--muted); font-weight: 500; }
.bar-track { background: #eef2f7; border-radius: 999px; height: 14px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; transition: width .6s ease; }
.bar-fill.m0 { background: linear-gradient(90deg, #6366f1, #818cf8); }
.bar-fill.m1 { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.bar-fill.m2 { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.bar-val { text-align: right; font-weight: 800; font-size: .95rem; }
.footnote { color: var(--muted); font-size: .8rem; margin: 14px 0 0; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.swatch.m0 { background: #6366f1; } .swatch.m1 { background: #0ea5e9; } .swatch.m2 { background: #f59e0b; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: var(--ink-2); margin-bottom: 8px; }

/* ---------- Blog ---------- */
.article-hero { color: #fff; padding: 72px 0 56px; position: relative; overflow: hidden; }
.article-hero.h15 { background: radial-gradient(700px 360px at 90% 0, rgba(245, 158, 11, .5), transparent 60%), linear-gradient(135deg, #831843, #be185d); }
.article-hero.h16 { background: radial-gradient(700px 360px at 90% 0, rgba(34, 197, 94, .45), transparent 60%), linear-gradient(135deg, #134e4a, #0f766e); }
.article-hero.h18 { background: radial-gradient(700px 360px at 90% 0, rgba(219, 39, 119, .5), transparent 60%), linear-gradient(135deg, #1e1b4b, #6d28d9); }
.article-hero.h17 { background: radial-gradient(700px 360px at 90% 0, rgba(14, 165, 233, .5), transparent 60%), linear-gradient(135deg, #1e1b4b, #4f46e5); }
.article-hero .big { position: absolute; right: -10px; bottom: -60px; font-size: 18rem; font-weight: 800; letter-spacing: -.08em; line-height: 1; color: rgba(255, 255, 255, .09); pointer-events: none; user-select: none; }
.article-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 820px; }
.article-hero .dek { font-size: 1.2rem; color: rgba(255, 255, 255, .88); max-width: 720px; margin: 0 0 22px; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: rgba(255, 255, 255, .8); }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: rgba(255, 255, 255, .75); }
.crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.article-wrap { max-width: 740px; margin: 0 auto; padding: 48px 20px 24px; }
.prose { font-family: var(--serif); font-size: 1.15rem; line-height: 1.8; color: #1e293b; }
.prose h2 { font-family: var(--font); font-size: 1.7rem; margin: 2.2em 0 .6em; }
.prose h3 { font-family: var(--font); }
.prose p:first-of-type::first-letter { font-size: 3.6rem; font-weight: 800; float: left; line-height: .85; padding: 6px 10px 0 0; color: var(--brand); font-family: var(--font); }
.prose .no-drop::first-letter { all: unset; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: .5em; }
.pullquote { font-family: var(--font); font-size: 1.6rem; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; color: var(--brand-600); border-left: 4px solid var(--brand); padding: 4px 0 4px 22px; margin: 2em 0; }
.callout { font-family: var(--font); font-size: .98rem; line-height: 1.6; background: var(--brand-50); border: 1px solid #c7d2fe; border-radius: 16px; padding: 20px 24px; margin: 2em 0; color: var(--ink-2); }
.callout h3 { margin-bottom: 8px; color: var(--brand-600); }
.callout ul { margin: 0; padding-left: 1.2em; } .callout li { margin-bottom: .35em; }
.callout.warn { background: var(--warn-50); border-color: #fde68a; } .callout.warn h3 { color: var(--warn); }
.fieldnote { font-family: var(--font); font-size: .92rem; line-height: 1.5; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 18px; margin: 1.2em 0 1.6em; }
.fieldnote div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.fieldnote div:last-child { border-bottom: 0; }
.fieldnote dt { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 2px; }
.fieldnote dd { margin: 0; color: var(--ink-2); }
.time-mark { font-family: var(--font); display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #0f766e; background: #ccfbf1; padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.live-wrap { max-width: 1000px; margin: 0 auto; padding: 8px 20px 24px; }
.live-wrap > h2 { font-size: 1.6rem; }
.live-wrap .card { margin-bottom: 28px; overflow: hidden; }
.live-wrap .table { min-width: 640px; }
.related { padding: 48px 0 72px; }
.cta-band { background: linear-gradient(135deg, #0b1220, #1e1b4b); color: #fff; border-radius: 24px; padding: 40px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: 1.6rem; }
.cta-band p { margin: 0; color: #cbd5e1; }

/* ---------- Footer ---------- */
.site-footer { background: #070d1a; color: #94a3b8; font-size: .85rem; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 0 32px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { color: #e2e8f0; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #cbd5e1; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.legal { border-top: 1px solid #16213a; padding: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; font-size: .78rem; line-height: 1.65; }
@media (max-width: 820px) { .legal { grid-template-columns: 1fr; } }
.legal h4 { margin-bottom: 8px; }
.copyright { border-top: 1px solid #16213a; padding: 20px 0 28px; text-align: center; color: #64748b; font-size: .78rem; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta-band { display: none; } }

/* ---------- Dialogue (iPhone 18 story) ---------- */
.prose .say { font-family: var(--serif); margin: 0 0 1em; padding-left: 0; }
.prose .say::first-letter { all: unset; }
.prose .who { font-family: var(--font); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; display: inline-block; padding: 2px 9px; border-radius: 999px; margin-right: 10px; vertical-align: 2px; }
.prose .who.max { background: #ede9fe; color: #6d28d9; }
.prose .who.pro { background: #e0f2fe; color: #0369a1; }
.prose .who.duo { background: #fce7f3; color: #be185d; }
.prose .who.narr { background: #f1f5f9; color: #475569; }
.prose .stage { font-style: italic; color: var(--muted); }

.prose .callout p::first-letter { all: unset; }
.gen-links { flex-wrap: wrap; }

/* ---------- Pay in full vs pay monthly ---------- */
.seg { display: inline-flex; background: #eef2f7; border-radius: 14px; padding: 4px; gap: 4px; margin-bottom: 14px; }
.seg button { font: inherit; font-weight: 700; font-size: .92rem; padding: 9px 18px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); cursor: pointer; }
.seg button[aria-selected="true"] { background: #fff; color: var(--brand-600); box-shadow: var(--shadow-sm); }
.pay-explain { color: var(--muted); max-width: 760px; margin: 0 0 18px; font-size: .95rem; }
.summary-grid.n2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .summary-grid, .summary-grid.n2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .seg { display: flex; } .seg button { flex: 1; padding: 9px 8px; } }
.summary-card .k .badge { margin-left: 6px; vertical-align: 1px; }
.pay-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 18px 20px 6px; border-top: 1px solid var(--line); }
.pay-head:first-child { border-top: 0; }
.pay-head h3 { margin: 0; font-size: 1.05rem; }
.pay-head p { margin: 0; color: var(--muted); font-size: .85rem; }
.deals-sub { font-size: 1.15rem; margin: 26px 0 12px; }
.table .btn { white-space: nowrap; }
