/* Sipz.vin marketing site. One stylesheet, no framework, no build step. Colours match the app (src/components/ui.tsx). */
:root {
  --bg: #faf7f2;
  --card: #ffffff;
  --ink: #2b2224;
  --muted: #6b6061;       /* darker than the app's #7a6f70 so small text passes contrast on the cream background */
  --wine: #7b1e3a;
  --wine-deep: #4a1024;
  --wine-soft: #f3e3e8;
  --line: #e8dfd6;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--wine); text-underline-offset: 3px; }
a:focus-visible, .pill:focus-visible { outline: 3px solid #cf3a63; outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1040px, 100% - 40px); margin-inline: auto; }

.hero { background: var(--wine-deep); color: #fff; border-bottom-left-radius: 32px; border-bottom-right-radius: 32px; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; }
.nav-link { color: #e8cdd6; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 4px; }
.nav-link:hover { color: #fff; text-decoration: underline; }
.hero-body { padding: 56px 0 72px; max-width: 760px; margin-inline: auto 0; margin-left: max(20px, calc((100% - 1040px) / 2)); }
.kicker { margin: 0 0 14px; color: #e0b8c6; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { margin: 0 0 18px; font-size: clamp(2.4rem, 7vw, 4.2rem); line-height: 1.04; letter-spacing: -0.02em; }
.lede { margin: 0 0 28px; font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: #f1dde4; max-width: 38em; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #fff; font-weight: 700; font-size: 15px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #ff8fb0; box-shadow: 0 0 0 4px rgba(255, 143, 176, 0.25); }

.section { padding: 64px 0; }
h2 { margin: 0 0 24px; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.15; letter-spacing: -0.01em; }
h3 { margin: 0 0 8px; font-size: 1.15rem; color: var(--wine); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 2px rgba(43, 34, 36, 0.04), 0 8px 24px rgba(43, 34, 36, 0.05); }
.card p { margin: 0; color: var(--muted); }

.band { background: var(--wine-soft); }
.band .section { padding: 56px 0; }
.two { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.two p { margin: 0; }

.measure { max-width: 40em; margin: 0 0 16px; }
.note { margin-top: 28px; padding: 16px 18px; border-left: 4px solid var(--wine); background: var(--card); border-radius: 0 12px 12px 0; max-width: 40em; }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; flex-wrap: wrap; }
.foot a { color: var(--muted); }

.prose { padding: 48px 0 72px; max-width: 42em; }
.prose h1 { color: var(--ink); font-size: clamp(2rem, 5vw, 2.8rem); }
.prose h2 { margin-top: 36px; font-size: 1.3rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.updated { color: var(--muted); font-size: 15px; }

@media (max-width: 560px) { .hero-body { padding: 36px 0 52px; margin-left: 20px; } .section { padding: 44px 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .hero { background: none; color: #000; } .hero * { color: #000 !important; } }

/* the privacy page has a plain bar instead of the rounded hero */
.hero-flat { border-radius: 0; }
