:root {
  --ink: #070707; --ink-2: #0f0e0c; --ink-3: #171512; --line: #2a251c;
  --gold: #d6aa4f; --gold-hi: #f3d891; --gold-lo: #8a6a26; --cream: #f1ead9; --muted: #b9ae95; --dim: #8c836f;
  --ok: #7fc48a; --warn: #f0b85a; --bad: #ef7a6a;
  --serif: 'Playfair Display', 'TeX Gyre Pagella', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 16px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; background: var(--gold); color: #000; padding: 8px 12px; z-index: 9; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(7,7,7,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.brand { font-family: var(--serif); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); text-decoration: none; font-size: 15px; white-space: nowrap; }
.brand b { color: var(--gold); font-weight: 700; }
.top nav { display: flex; gap: 22px; align-items: center; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.top nav a:hover { color: var(--cream); }
@media (max-width: 720px) { .top nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #b8862f); color: #120d03; font: 600 15px/1 var(--sans);
  padding: 14px 22px; border-radius: 999px; box-shadow: 0 6px 24px rgba(214,170,79,.22); transition: transform .15s, box-shadow .15s, opacity .15s; }
.btn:hover { transform: translateY(-1px); color: #000; box-shadow: 0 10px 30px rgba(214,170,79,.32); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.small { padding: 10px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--gold-hi); border: 1px solid var(--gold-lo); box-shadow: none; }
.btn.block { width: 100%; padding: 17px 22px; font-size: 16px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px;
  background: radial-gradient(1200px 520px at 70% 75%, rgba(196,98,22,.28), transparent 60%), radial-gradient(700px 400px at 20% 10%, rgba(214,170,79,.08), transparent 70%), var(--ink); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0 0 .5em; color: #fff; }
.hero h1 { font-size: clamp(38px, 6.2vw, 68px); letter-spacing: -.01em; }
.hero h1 em { font-style: italic; color: var(--gold-hi); font-weight: 400; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .price-hint { color: var(--dim); font-size: 14px; }
.hero .price-hint strong { color: var(--cream); }
.cover { position: relative; justify-self: center; width: min(400px, 100%); }
.cover img { border-radius: 4px 10px 10px 4px; box-shadow: -14px 24px 60px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.05), 0 0 80px rgba(214,140,50,.22); transform: perspective(1400px) rotateY(-9deg); }
.cover::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -28px; height: 30px; background: radial-gradient(closest-side, rgba(0,0,0,.8), transparent); filter: blur(6px); z-index: -1; }
@media (max-width: 860px) {
  .hero { padding: 40px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .cover { order: -1; width: min(280px, 72vw); }
  .cover img { transform: none; }
}

/* sections */
section { padding: 76px 0; }
section.alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--muted); margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } section { padding: 56px 0; } }
.card { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card h3 { font-size: 20px; margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card .ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px;
  background: radial-gradient(circle at 30% 30%, var(--gold-hi), var(--gold-lo)); color: #120d03; font: 700 15px var(--serif); }
.prose p { color: var(--muted); }
.prose p:first-child::first-letter { font-family: var(--serif); color: var(--gold-hi); float: left; font-size: 3.4em; line-height: .85; padding: 6px 10px 0 0; }

.chapters { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.chapters li { break-inside: avoid; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.chapters .n { font-family: var(--serif); color: var(--gold); min-width: 1.8em; font-size: 18px; }
@media (max-width: 720px) { .chapters { columns: 1; } }

.author { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; }
.monogram { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold-lo);
  background: radial-gradient(circle at 35% 30%, #2a2214, #0b0a08); font: 700 36px var(--serif); color: var(--gold-hi); letter-spacing: .04em; }
@media (max-width: 560px) { .author { grid-template-columns: 1fr; } .monogram { width: 88px; height: 88px; font-size: 28px; } }

/* pricing */
.pricing { background: radial-gradient(900px 420px at 50% 0%, rgba(214,170,79,.10), transparent 70%), var(--ink-2); border-block: 1px solid var(--line); }
.price-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .price-layout { grid-template-columns: 1fr; } }
.price-card { position: relative; background: linear-gradient(180deg, #16130d, #0d0c09); border: 1px solid #4a3c1c; border-radius: 18px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.price-card .tag { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #120d03; background: var(--gold); padding: 7px 10px; border-radius: 999px; }
.price-card h3 { font-size: 24px; margin: 16px 0 4px; }
.price-card .formats { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.amount { font: 700 clamp(44px, 7vw, 60px)/1 var(--serif); color: #fff; letter-spacing: -.01em; margin: 6px 0 4px; word-break: break-word; }
.amount small { font: 500 16px var(--sans); color: var(--dim); letter-spacing: 0; margin-left: 6px; }
.est-label { font-size: 13px; color: var(--warn); min-height: 1.4em; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.badge { font-size: 12.5px; color: var(--cream); border: 1px solid var(--line); background: #0b0a08; padding: 6px 10px; border-radius: 999px; }
.badge::before { content: "✓ "; color: var(--gold); }
.price-card ul.inc { list-style: none; padding: 0; margin: 0 0 20px; font-size: 15px; color: var(--muted); }
.price-card ul.inc li { padding: 6px 0 6px 24px; position: relative; }
.price-card ul.inc li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold); }
.za-note { border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; color: var(--muted); margin: 0; }
.za-note strong { color: var(--cream); }

.fx { background: #0b0a08; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.fx-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fx-head h3 { font-size: 20px; margin: 0; }
.fx-status { font-size: 12.5px; color: var(--dim); }
.fx-status .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: 1px; }
.fx-status.stale .dot { background: var(--warn); } .fx-status.down .dot { background: var(--bad); }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
input[type=search], input[type=email], input[type=text], select {
  width: 100%; background: #12100c; color: var(--cream); border: 1px solid #3a3222; border-radius: 10px; padding: 13px 14px; font: 16px var(--sans); }
input:focus, select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(214,170,79,.18); }
.cur-list { list-style: none; margin: 0; padding: 4px; max-height: 236px; overflow-y: auto; border: 1px solid #3a3222; border-radius: 10px; background: #12100c; }
.cur-list li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 14.5px; }
.cur-list li:hover, .cur-list li.active { background: #221c10; }
.cur-list li[aria-selected=true] { background: #2c2311; box-shadow: inset 0 0 0 1px var(--gold-lo); }
.cur-list .code { font-weight: 700; color: var(--gold-hi); letter-spacing: .04em; }
.cur-list .nm { color: var(--cream); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cur-list .pr { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cur-list .empty { display: block; color: var(--dim); cursor: default; }
.fx-detail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fx-detail div { background: #12100c; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.fx-detail dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 0; }
.fx-detail dd { margin: 4px 0 0; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 560px) { .fx-detail { grid-template-columns: 1fr 1fr; } }
.fx-foot { font-size: 12.5px; color: var(--dim); margin: 0; }
.fx-foot a { color: var(--muted); }

.notice { border-radius: 12px; padding: 14px 16px; font-size: 14.5px; line-height: 1.55; }
.notice.info { background: rgba(214,170,79,.08); border: 1px solid rgba(214,170,79,.35); color: var(--cream); }
.notice.warn { background: rgba(240,184,90,.08); border: 1px solid rgba(240,184,90,.45); color: var(--cream); }
.notice.error { background: rgba(239,122,106,.1); border: 1px solid rgba(239,122,106,.5); color: #ffd9d3; }
.notice.ok { background: rgba(127,196,138,.08); border: 1px solid rgba(127,196,138,.45); }
.notice strong { color: #fff; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--cream); margin: 12px 0 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); flex: none; }
.checkout { display: grid; gap: 12px; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--dim); text-align: center; }
[hidden] { display: none !important; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

footer { padding: 40px 0 56px; color: var(--dim); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; } footer a:hover { color: var(--cream); }

/* success / message pages */
.msg { padding: 64px 0 80px; }
.msg h1 { font-size: clamp(30px, 5vw, 44px); }
.status-card { background: var(--ink-3); border: 1px solid var(--line); border-radius: 18px; padding: 28px; margin: 24px 0; }
.status-card .ref { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--gold-hi); overflow-wrap: anywhere; }
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 8px; }
@media (max-width: 520px) { .dl { grid-template-columns: 1fr; } }
.steps { color: var(--muted); padding-left: 20px; } .steps li { margin-bottom: 8px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #3a3222; border-top-color: var(--gold); animation: spin 1s linear infinite; display: inline-block; vertical-align: -5px; margin-right: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.legal h2 { font-size: 22px; margin-top: 1.6em; } .legal p, .legal li { color: var(--muted); }

figure.cover { margin: 0; }
.section-head.flush { margin: 0; }
.contents-block { margin-top: 44px; }
.contents-title { font-size: 22px; margin-bottom: 12px; }
.author-name { font-size: clamp(26px, 4vw, 36px); }
.muted { color: var(--muted); }

.section-head .eyebrow { margin-bottom: 14px; }
.btn { white-space: nowrap; }
@media (max-width: 720px) { .wide-only { display: none; } .brand { font-size: 13px; letter-spacing: .06em; } }
.top nav a.btn, .top nav a.btn:hover { color: #120d03; }
