/* getcellarius.com — the same palette and type as the app, so the page and the
   product are visibly one thing. No web fonts: the serif is the system's. */
:root {
  --bg: #f7f3ee; --surface: #ffffff; --surface-2: #f1ebe3; --text: #22191b; --muted: #6f6266;
  --line: #e2d8cc; --accent: #6e1f33; --accent-text: #ffffff; --accent-soft: #f3e3e7;
  --red: #7a1f2b; --white: #d9c37a; --rose: #e39aa6; --sparkling: #c9b35a; --dessert: #b5762c; --fortified: #5a2a16;
  --font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --radius: 14px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161113; --surface: #201a1c; --surface-2: #2a2224; --text: #f1e9e4; --muted: #a99c9f;
    --line: #3a3033; --accent: #c9637b; --accent-text: #1a0d11; --accent-soft: #3a222a;
    --red: #b8475a; --white: #e6d590; --fortified: #9a5a3a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.6rem; }
h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

header.site { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 1rem; height: 64px; }
.brand { display: flex; gap: 0.55rem; align-items: center; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--text); text-decoration: none; }
header.site nav { margin-left: auto; display: flex; gap: 1.2rem; align-items: center; }
header.site nav a { color: var(--muted); text-decoration: none; font-weight: 550; }
header.site nav a:hover { color: var(--text); }
.btn { display: inline-block; padding: 0.7rem 1.2rem; border-radius: 10px; font-weight: 650; text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn:hover { filter: brightness(1.06); }
header.site .btn { padding: 0.45rem 0.9rem; }
@media (max-width: 640px) { header.site nav a:not(.btn) { display: none; } }

.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.hero .cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero .note { font-size: 0.9rem; margin-top: 0.8rem; }
.rack { width: 100%; height: auto; }
.rack circle.end { stroke: color-mix(in srgb, black 22%, transparent); stroke-width: 1; }
.rack circle.punt { fill: color-mix(in srgb, black 30%, transparent); }
.rack circle.empty { fill: none; stroke: var(--line); stroke-width: 1.6; }
.rack circle.next { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2.2; animation: glow 1.8s ease-in-out infinite; }
@keyframes glow { 50% { stroke-opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) { .rack circle.next { animation: none; } }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 28px; } }

.shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 2px 6px rgb(0 0 0 / 0.05), 0 18px 48px rgb(0 0 0 / 0.08); overflow: hidden; background: var(--surface); }
.phone { border-radius: 34px; border: 8px solid #1b1517; box-shadow: 0 18px 48px rgb(0 0 0 / 0.18); overflow: hidden; max-width: 300px; margin: 0 auto; }

section { padding: 64px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.flip > :first-child { order: 0; } }
.kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
section.alt .card { background: var(--bg); }
.card svg { color: var(--accent); margin-bottom: 0.6rem; }
.card p { color: var(--muted); margin: 0; }

.price { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; } }
.price .card h3 { margin-bottom: 0.2rem; }
.price ul { padding-left: 1.1rem; margin: 0.8rem 0 0; color: var(--muted); }
.price li { margin: 0.25rem 0; }
.price .soon { border-style: dashed; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 650; list-style: none; }
details summary::after { content: '+'; float: right; color: var(--muted); }
details[open] summary::after { content: '–'; }
details p { color: var(--muted); margin: 0.6rem 0 0; }

footer.site { padding: 36px 0 48px; color: var(--muted); font-size: 0.9rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
footer.site a { color: var(--muted); }

.legal { max-width: 760px; padding-top: 48px; }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal li { margin: 0.3rem 0; }
.todo { background: #fff3c4; color: #5a4300; padding: 0 0.3rem; border-radius: 4px; }
