/* Drink Moderator — landing site. Single stylesheet, system fonts, no external assets. */
:root {
  --bg: #eef6f4;
  --bg-card: #ffffff;
  --ink: #0e3a46;
  --ink-soft: #3f636d;
  --line: #cfe3df;
  --accent: #2ba98c;
  --accent-bright: #1d8a71;
  --grad-a: #5ee0c0;
  --grad-b: #2ba98c;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07222b;
    --bg-card: #0e3a46;
    --ink: #eaf7f3;
    --ink-soft: #a9ccc5;
    --line: #1b4c5a;
    --accent: #5ee0c0;
    --accent-bright: #7cebcc;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--accent-bright); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.site-header img { width: 44px; height: 44px; border-radius: 10px; }
.site-header .name { font-weight: 700; font-size: 1.15rem; }
.site-header .tag { display: block; font-size: 0.75rem; color: var(--ink-soft); font-weight: 400; }

/* Hero */
.hero {
  padding: 48px 0 32px;
  display: grid;
  gap: 32px;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .hero { grid-template-columns: 1fr 260px; text-align: left; }
}
.hero h1 {
  font-size: clamp(1.6rem, 6vw, 2.3rem);
  line-height: 1.25;
  margin: 0 0 12px;
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (prefers-color-scheme: dark) {
  .hero h1 { background: linear-gradient(120deg, #7cebcc, #5ee0c0); -webkit-background-clip: text; background-clip: text; }
}
.hero p { color: var(--ink-soft); font-size: 1.05rem; margin: 0 auto; max-width: 34em; }
@media (min-width: 640px) { .hero p { margin: 0; } }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; justify-content: center; }
@media (min-width: 640px) { .chips { justify-content: flex-start; } }
.chip {
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.phone { width: min(260px, 72vw); margin: 0 auto; }
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(7, 34, 43, 0.28);
}

/* Sections */
section { padding: 32px 0; }
h2 { font-size: 1.35rem; margin: 0 0 16px; }

/* Feature cards */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .features { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.card .emoji { font-size: 1.5rem; display: block; margin-bottom: 8px; }

/* Feature rows — screenshot + copy, alternating sides on wide screens */
.feature-rows { display: grid; gap: 40px; }
.feature-row {
  display: grid;
  gap: 16px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .feature-row { grid-template-columns: 240px 1fr; gap: 32px; }
  .feature-row.reverse .shot { order: 2; }
}
.feature-row .shot { display: flex; justify-content: center; }
.feature-row .shot img {
  width: min(240px, 70vw);
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(7, 34, 43, 0.22);
}
.feature-row h3 { margin: 0 0 8px; font-size: 1.2rem; }
.feature-row p { margin: 0; color: var(--ink-soft); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 16px 56px;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #07222b;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.steps strong { display: block; }
.steps span { color: var(--ink-soft); font-size: 0.95rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

/* Prose pages */
.prose { padding: 32px 0 48px; }
.prose h1 { font-size: 1.7rem; margin: 0 0 8px; }
.prose h2 { margin-top: 28px; font-size: 1.15rem; }
.prose p, .prose li { color: var(--ink); }
.prose .updated { color: var(--ink-soft); font-size: 0.85rem; }
.prose dl dt { font-weight: 700; margin-top: 18px; }
.prose dl dd { margin: 4px 0 0 0; color: var(--ink-soft); }

.note {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.95rem;
}

/* 404 */
.notfound { text-align: center; padding: 80px 0; }
.notfound .big { font-size: 4rem; margin: 0; }
