/* whiskeyrichard.app — one stylesheet for every page.
   Colours, fonts and label style follow the approved share cards and rating
   page (wr-v2-brief brand/share-cards). Dark theme only (brand guide). */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url(/fonts/cormorant-garamond-latin-600-italic.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/work-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/work-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/work-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/roboto-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --page: #0f0f0f;
  --panel: #1a1812;
  --card: #1e1812;
  --sunken: #161410;
  --hair: #3a3020;
  --hair2: #5a4424;
  --cream: #f5f0e8;
  --body: #e9dfcc;
  --muted: #b0a898;
  --gold: #c9a84c;
  --gold-m: #a08c6e;
  --r0: #8c4a15;
  --r1: #b5762a;
  --r2: #d4a24e;
  --r3: #e8b45c;
  --warn: #e0843b;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Roboto Mono", Consolas, Menlo, monospace;
  --radius: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--page); -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { background: var(--page); color: var(--body); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--r3); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--r3); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
strong { color: var(--cream); font-weight: 600; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--r2); color: var(--page); padding: 10px 14px; border-radius: 8px; font-weight: 600; z-index: 20; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }

/* ---------- type ---------- */
h1, h2 { font-family: var(--serif); font-weight: 600; color: var(--cream); letter-spacing: .2px; }
h1 { font-size: clamp(42px, 8vw, 78px); line-height: 1.02; }
h2 { font-size: clamp(31px, 4.4vw, 46px); line-height: 1.08; margin-bottom: 14px; }
h3 { font: 600 19px/1.3 var(--sans); color: var(--cream); margin-bottom: 6px; }
p + p { margin-top: 12px; }
.kick { font: 500 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-m); margin-bottom: 14px; }
.lead { font-size: clamp(18px, 2.1vw, 20px); color: var(--muted); margin-top: 18px; max-width: 40em; }
.center .lead { margin-left: auto; margin-right: auto; }
.fine { font-size: 14px; color: var(--muted); margin-top: 18px; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.small-h { font: 500 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-m); margin: 26px 0 12px; }
.tag { display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--r1); color: var(--r3); font: 500 11px/1.2 var(--mono); letter-spacing: .08em; vertical-align: 1px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 12px; background: var(--r2); color: var(--page); font: 600 16px/1.2 var(--sans); text-decoration: none; border: 1px solid var(--r2); text-align: center; }
.btn:hover { background: var(--r3); border-color: var(--r3); color: var(--page); }
.btn-ghost { background: transparent; color: var(--r3); border-color: var(--r1); }
.btn-ghost:hover { background: rgba(212, 162, 78, .1); color: var(--cream); border-color: var(--r3); }
.btn-small { min-height: 40px; padding: 8px 14px; font-size: 15px; border-radius: 10px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center .cta-row, .center-row { justify-content: center; }
.cta-under { margin-top: 32px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(15, 15, 15, .92); border-bottom: 1px solid var(--hair); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font: 600 22px/1 var(--serif); letter-spacing: .3px; white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
.brand:hover { color: var(--cream); }
.nav { order: 3; width: 100%; display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font: 500 15px/1 var(--sans); padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--r2); }
@media (min-width: 760px) {
  .bar { flex-wrap: nowrap; padding-top: 14px; padding-bottom: 14px; }
  .nav { order: 0; width: auto; margin-left: auto; gap: 28px; }
  .nav + .btn { margin-left: 12px; }
}

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section.tight { padding-top: 16px; }
@media (min-width: 760px) { .section { padding: 96px 0; } }
.band { background: var(--panel); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.page-head { padding: 56px 0 40px; }
@media (min-width: 760px) { .page-head { padding: 88px 0 56px; } }

/* hero */
.hero { position: relative; padding: 40px 0 56px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(46% 52% at 74% 46%, rgba(181, 118, 42, .24), rgba(140, 74, 21, .08) 55%, rgba(15, 15, 15, 0) 100%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 36px; align-items: center; }
.hero h1 { font-style: italic; color: var(--gold); }
.hero-art { text-align: center; }
.hero-art .dial { width: min(100%, 420px); margin: 0 auto; }
.art-cap { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-m); margin-top: 14px; }
@media (min-width: 900px) {
  .hero { padding: 88px 0 104px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .page-head .hero-grid { grid-template-columns: 1.2fr .8fr; }
}

/* core loop */
.loop { list-style: none; display: grid; gap: 16px; margin-top: 36px; counter-reset: none; }
.loop li { background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); padding: 24px 22px; }
.loop p { color: var(--muted); font-size: 16px; }
.num { display: inline-block; font: 500 13px/1 var(--mono); color: var(--r2); letter-spacing: .08em; margin-bottom: 14px; }
@media (min-width: 640px) { .loop { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .loop { grid-template-columns: repeat(4, 1fr); } }

/* feature sections: text + phone */
.split { display: grid; gap: 40px; align-items: center; }
.split > div > p { color: var(--muted); max-width: 36em; }
.split > div > p.kick { color: var(--gold-m); }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr auto; gap: 72px; }
  .split.flip > :first-child { order: 2; }
}
.feature + .feature { padding-top: 0; }
.ticks { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--body); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 2px; background: var(--r2); }

/* phone frame + screenshot placeholder */
.phone { width: min(260px, 72vw); margin: 0 auto; padding: 10px; border-radius: 42px; background: #050505; box-shadow: 0 0 0 1px #2a2218, 0 30px 70px rgba(0, 0, 0, .6); }
.phone-screen { aspect-ratio: 1080 / 2340; border-radius: 32px; overflow: hidden; background: var(--panel); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.shot-ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; border: 1px dashed var(--hair2); border-radius: 32px; background: repeating-linear-gradient(135deg, var(--panel) 0 14px, var(--sunken) 14px 28px); }
.shot-kick { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-m); }
.shot-name { font: 600 26px/1.15 var(--serif); color: var(--cream); }
.mini-shot { margin-top: 28px; }
.mini-shot .phone { width: 170px; margin: 0; padding: 7px; border-radius: 28px; }
.mini-shot .phone-screen, .mini-shot .shot-ph { border-radius: 22px; }
.mini-shot .shot-name { font-size: 19px; }

/* rating words + chips + in-page nav */
.words { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 18px 0 20px; }
.words li { display: flex; align-items: baseline; gap: 10px; background: var(--card); border: 1px solid var(--hair); border-radius: 10px; padding: 9px 12px; color: var(--cream); font-size: 15px; }
.words .num { margin: 0; min-width: 1.6em; }
@media (min-width: 560px) { .words { grid-template-columns: repeat(5, 1fr); } .words li { flex-direction: column; gap: 4px; } }
.chips, .toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li, .toc a { font: 500 13px/1 var(--mono); color: var(--body); border: 1px solid var(--hair); background: var(--card); padding: 9px 12px; border-radius: 999px; text-decoration: none; }
.toc { margin-top: 28px; }
.toc a:hover { border-color: var(--r1); color: var(--cream); }

/* social proof / final call to action */
.final { border-top: 1px solid var(--hair); }
.final-glass { width: 64px; margin: 0 auto 18px; }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 18px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--card); border: 1px solid var(--hair); border-radius: 18px; padding: 28px 24px; }
.plan-featured { border-color: var(--r1); }
.plan h2 { font-size: 34px; margin-bottom: 6px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; min-height: 58px; }
.price .amount { font: 600 44px/1.1 var(--serif); color: var(--cream); }
.price .per { color: var(--muted); font-size: 15px; }
.plan-sum { color: var(--muted); margin-top: 6px; }
.limits { margin-top: 22px; }
.limits div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--hair); font-size: 15px; }
.limits dt { color: var(--muted); }
.limits dd { color: var(--cream); font: 500 14px/1.3 var(--mono); text-align: right; }
.ph { display: inline-block; border: 1px dashed var(--warn); color: var(--warn); border-radius: 6px; padding: 2px 7px; font: 500 12px/1.4 var(--mono); letter-spacing: 0; text-align: left; vertical-align: middle; }
.price .ph { font-size: 13px; }
.promise { display: flex; gap: 18px; align-items: flex-start; margin-top: 24px; padding: 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--hair2); }
.promise img { width: 40px; flex: none; }
.promise h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 8px; }
.promise p { color: var(--muted); }
.faq { margin-top: 20px; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font: 600 17px/1.4 var(--sans); color: var(--cream); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 500 24px/1 var(--mono); color: var(--r2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 20px; max-width: 40em; }

/* ---------- download ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; min-width: 200px; min-height: 58px; padding: 9px 20px; border-radius: 12px; background: #000; border: 1px solid var(--hair2); color: var(--cream); text-decoration: none; font: 600 20px/1.1 var(--sans); }
.store small { display: block; font: 500 12px/1.3 var(--sans); color: var(--muted); }
a.store:hover { border-color: var(--r2); color: var(--cream); }
.store-soon { border-style: dashed; color: var(--muted); }
/* Official badges: unaltered artwork, same height, clear space >= 1/4 of the height. */
.store-badge { display: inline-block; padding: 12px; line-height: 0; border-radius: 12px; }
.store-badge img { display: block; height: 48px; width: auto; }
.store-badge:focus-visible { outline: 2px solid var(--r2); outline-offset: 2px; }
.web-card { margin-top: 28px; padding: 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--hair); }
.web-card h2 { font-size: 28px; margin-bottom: 4px; }
.web-card p { color: var(--muted); margin-bottom: 16px; }
.page-head .hero-art .dial { width: min(100%, 360px); }

/* ---------- about ---------- */
.prose h2 { font-size: clamp(27px, 3.4vw, 34px); margin: 44px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--body); }
.four { display: grid; gap: 10px; margin-top: 18px; }
.four div { display: grid; gap: 4px; padding: 16px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--hair); }
.four dt { font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--r2); }
.four dd { color: var(--body); }
@media (min-width: 640px) { .four div { grid-template-columns: 9.5em 1fr; align-items: baseline; } }

/* ---------- email confirmation notice ---------- */
.notice { max-width: 560px; margin: 56px auto 0; padding: 36px 24px; text-align: center; border-radius: 18px; background: var(--panel); border: 1px solid var(--hair2); }
.notice-mark { font: 600 40px/1 var(--serif); color: var(--r2); margin-bottom: 12px; }
.notice h1, .notice h2 { font-size: 34px; line-height: 1.1; margin-bottom: 8px; }
.notice p:last-child { color: var(--muted); }
.notice .cta-row { margin-top: 22px; }

/* ---------- legal pages (text unchanged; styling only) ---------- */
.legal-wrap { padding-top: 48px; }
.legal h1 { font-size: clamp(38px, 6vw, 56px); margin-bottom: 8px; }
.legal h2 { font-size: clamp(24px, 3vw, 28px); color: var(--gold); margin: 44px 0 12px; }
.legal h3 { font: 600 18px/1.35 var(--sans); color: var(--cream); margin: 26px 0 8px; }
.legal p, .legal li { color: #d3cabb; font-size: 16px; line-height: 1.7; margin-bottom: 14px; }
.legal p + p { margin-top: 0; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 8px; }
.legal .effective { font: 500 13px/1.4 var(--mono); color: var(--gold-m); margin-bottom: 32px; }
.legal a { overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--hair); background: var(--sunken); padding: 48px 0 40px; font-size: 15px; }
.foot-grid { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; }
.foot-tag { font: 600 italic 20px/1.2 var(--serif); color: var(--gold); margin-top: 10px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.foot-col h2 { font: 500 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-m); margin-bottom: 4px; }
.foot-col a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.foot-col a:hover { color: var(--cream); }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }
.age-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--hair); color: var(--muted); font-size: 14px; }
.copyright { margin-top: 10px; color: var(--gold-m); font-size: 13px; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
