/* minispirits.pages.dev — изумруд и золото, «винтажная этикетка». Шрифты системные: Didot / Bodoni на Apple, Georgia — запасной. */
:root {
  --emerald: #0f2a20;
  --emerald-2: #173d30;
  --emerald-3: #1e4d3b;
  --gold: #d9ae5f;
  --gold-light: #f2d594;
  --gold-deep: #a97a2f;
  --amber: #d88a2a;
  --ivory: #fbf6ea;
  --ink: #10261d;
  --ink-soft: #4d5f55;
  --line: rgba(217, 174, 95, .35);
  --display: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", Georgia, serif;
  --serif: "Iowan Old Style", "Palatino", "Book Antiqua", Georgia, serif;
  --sans: -apple-system, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 var(--sans);
  color: var(--ivory);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(217,174,95,.18), transparent 60%),
    linear-gradient(var(--emerald-2), var(--emerald) 700px);
  background-color: var(--emerald);
}
a { color: var(--gold-light); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Шапка */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ivory); text-decoration: none;
  font: 600 22px/1 var(--display); letter-spacing: .04em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.top nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.top nav a { color: var(--ivory); opacity: .8; text-decoration: none; }
.top nav a:hover { opacity: 1; }
.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.langs a { padding: 4px 11px; font-size: 13px; letter-spacing: .06em; opacity: .75; }
.langs a[aria-current] { background: var(--gold); color: var(--ink); opacity: 1; font-weight: 600; }

/* Главный блок: этикетка */
.label {
  position: relative; margin: 28px auto 0; max-width: 760px; text-align: center;
  padding: 56px 40px 48px; border: 1px solid var(--gold); border-radius: 6px;
  outline: 1px solid var(--line); outline-offset: 7px;
  background: linear-gradient(180deg, rgba(23,61,48,.65), rgba(15,42,32,.4));
}
.label::before, .label::after {
  content: "✦"; position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 14px; background: var(--emerald-2); padding: 6px 0;
}
.label::before { left: -8px; } .label::after { right: -8px; }
.est { font: 13px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.est span { display: inline-block; width: 46px; height: 1px; background: var(--gold); vertical-align: middle; margin: 0 14px; }
h1 { font: 400 clamp(46px, 8vw, 84px)/1 var(--display); margin: 22px 0 6px; letter-spacing: .02em;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.motto { font: italic 22px/1.4 var(--serif); color: var(--ivory); margin: 0 0 18px; }
.lead { max-width: 560px; margin: 0 auto 28px; color: rgba(251,246,234,.82); }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px;
  background: var(--ivory); color: var(--ink); text-decoration: none; font-weight: 600; }
.badge svg { width: 22px; height: 22px; }
.badge.soon { background: transparent; color: var(--gold-light); border: 1px dashed var(--gold); }
.facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; margin-top: 26px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* Полка со скриншотами */
.shelf { margin: 72px 0 0; position: relative; }
.bottles { display: flex; justify-content: center; align-items: flex-end; gap: 22px; padding: 0 12px; }
.bottles figure { margin: 0; flex: 0 1 200px; text-align: center; }
.bottles figure:nth-child(odd) { transform: translateY(-14px); }
.bottles img { width: 100%; height: auto; border-radius: 26px; border: 6px solid #07140f;
  box-shadow: 0 24px 40px -18px rgba(0,0,0,.7), 0 0 0 1px var(--line); }
.bottles figcaption { margin-top: 14px; font: italic 16px/1.3 var(--serif); color: rgba(251,246,234,.8); }
.plank { height: 18px; margin: 6px auto 0; max-width: 1180px; border-radius: 3px;
  background: linear-gradient(180deg, #b98a45, #7a5326 60%, #4e3318);
  box-shadow: 0 18px 30px -10px rgba(0,0,0,.6); }

/* Возможности — бумажные этикетки на изумруде */
section.features { padding: 96px 0 24px; }
h2 { font: 400 clamp(30px, 4.4vw, 44px)/1.15 var(--display); margin: 0 0 12px; text-align: center; color: var(--gold-light); }
.sub { text-align: center; max-width: 620px; margin: 0 auto 44px; color: rgba(251,246,234,.75); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card { position: relative; background: var(--ivory); color: var(--ink); padding: 30px 28px 26px;
  border-radius: 4px; box-shadow: 0 16px 30px -18px rgba(0,0,0,.6); }
.card::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(169,122,47,.45); border-radius: 2px; pointer-events: none; }
.card .no { font: 12px/1 var(--sans); letter-spacing: .3em; color: var(--gold-deep); }
.card h3 { font: 600 23px/1.2 var(--serif); margin: 10px 0 8px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.dots { display: flex; gap: 6px; margin-top: 14px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }

/* Копии и приватность — лента */
.ribbon { margin: 80px 0 0; padding: 64px 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold) 50%, var(--gold-deep)); color: var(--ink); }
.ribbon h2 { color: var(--ink); }
.ribbon .sub { color: rgba(16,38,29,.8); }
.ticks { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 34px; }
.ticks li { padding-left: 30px; position: relative; font-size: 16px; }
.ticks li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--emerald); }

/* Вопросы */
section.faq { padding: 88px 0 40px; max-width: 780px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
summary { cursor: pointer; font: 600 19px/1.4 var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font: 400 24px/1 var(--display); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: rgba(251,246,234,.8); }

/* Кофе разработчику */
section.tip { max-width: 640px; margin: 24px auto 72px; padding: 40px 28px; text-align: center;
  border: 1px solid var(--gold); border-radius: 6px; outline: 1px solid rgba(217,174,95,.35); outline-offset: 6px; }
section.tip h2 { font-size: clamp(26px, 3.6vw, 34px); }
section.tip p { margin: 0 auto 22px; max-width: 480px; color: rgba(251,246,234,.82); }
section.tip .badge { background: linear-gradient(180deg, var(--gold-light), var(--gold) 60%, var(--gold-deep)); color: var(--ink); }

/* Текстовые страницы */
.doc { max-width: 760px; margin: 24px auto 60px; background: var(--ivory); color: var(--ink); padding: 48px clamp(22px, 5vw, 56px); border-radius: 4px; position: relative; }
.doc::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(169,122,47,.45); pointer-events: none; }
.doc h1 { font-size: clamp(34px, 6vw, 48px); margin-top: 0; }
.doc h2 { text-align: left; color: var(--emerald-3); font-size: 26px; margin: 34px 0 8px; }
.doc p, .doc li { color: #2b3b33; }
.doc a { color: var(--gold-deep); }
.doc .meta { color: var(--ink-soft); font-size: 14px; }
.doc .short { background: #f1e6cd; padding: 16px 20px; border-left: 3px solid var(--gold-deep); }

footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; font-size: 14px; color: rgba(251,246,234,.65); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer a { color: rgba(251,246,234,.8); }
.note { font-size: 13px; color: rgba(251,246,234,.55); }

@media (max-width: 820px) {
  .bottles { overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .bottles figure { flex: 0 0 62%; scroll-snap-align: center; }
  .bottles figure:nth-child(odd) { transform: none; }
  .top nav a.hide-sm { display: none; }
  .label { padding: 44px 22px 36px; }
}
@media (max-width: 480px) {
  .top { padding: 16px 0; }
  .brand { font-size: 18px; gap: 9px; }
  .brand img { width: 32px; height: 32px; }
  .top nav { gap: 10px; font-size: 14px; }
  .langs a { padding: 4px 8px; }
  .est { letter-spacing: .2em; font-size: 12px; }
  .est span { display: none; }
  .badge { font-size: 15px; padding: 11px 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
