:root {
  --bg: #faf8f3;
  --surface: #fffefb;
  --ink: #1a1815;
  --body: #4a453d;
  --muted: #8d867a;
  --line: #e9e4d8;
  --line-strong: #d9d2c2;
  --accent: #c8462c;
  --accent-soft: #faeae5;
  --ink-rgb: 26, 24, 21;

  --font-serif: 'Instrument Serif', serif;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ink); color: var(--bg); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 32px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--accent);
}

/* ---------- Nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark .dot { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  padding-block: 112px 88px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
  box-shadow: 0 1px 2px rgba(var(--ink-rgb), 0.04);
  margin-bottom: 36px;
}

.hero-badge .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.hero h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
  max-width: 880px;
  margin-inline: auto;
}

.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.hero-sub {
  font-size: 18.5px;
  color: var(--body);
  max-width: 520px;
  margin: 28px auto 44px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 99px;
  transition: all 0.18s ease;
}

.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 1px 3px rgba(var(--ink-rgb), 0.2), inset 0 1px 0 rgba(255,255,255,0.08);
}

.btn--primary:hover {
  background: #32302b;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(var(--ink-rgb), 0.18);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: 0 1px 2px rgba(var(--ink-rgb), 0.04);
}

.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

/* ---------- Stats strip ---------- */
.stats-wrap { padding-bottom: 96px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(var(--ink-rgb), 0.03), 0 12px 32px -16px rgba(var(--ink-rgb), 0.08);
  overflow: hidden;
}

.stat {
  padding: 36px 40px;
  text-align: center;
}

.stat + .stat { border-left: 1px solid var(--line); }

.stat__value {
  font-family: var(--font-serif);
  font-size: 52px;
  line-height: 1;
  color: var(--ink);
}

.stat__caption {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

/* ---------- Sections ---------- */
section { padding-block: 88px; }

.section-head { margin-bottom: 52px; }

.section-title {
  font-weight: 700;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-top: 14px;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.section-sub {
  margin-top: 14px;
  max-width: 520px;
  color: var(--body);
}

/* ---------- Product cards ---------- */
#products { border-top: 1px solid var(--line); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  text-decoration: none;
  color: var(--body);
  box-shadow: 0 1px 2px rgba(var(--ink-rgb), 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 1px 2px rgba(var(--ink-rgb), 0.03), 0 20px 40px -20px rgba(var(--ink-rgb), 0.18);
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.card__icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px 11px;
  background: var(--bg);
}

.card__tag--live { color: var(--accent); border-color: #efcfc6; background: var(--accent-soft); }

.card h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}

.card p { flex-grow: 1; font-size: 15.5px; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.card__link .arrow { transition: transform 0.18s ease; }
a.card:hover .card__link .arrow { transform: translateX(3px); }

.card--soon {
  background: transparent;
  border-style: dashed;
  border-color: var(--line-strong);
  box-shadow: none;
}

.card--soon .card__icon {
  background: rgba(var(--ink-rgb), 0.04);
  color: var(--muted);
}

.card--soon h3 { color: var(--muted); }
.card--soon .card__link { color: var(--muted); }

/* ---------- Mission ---------- */
#mission { border-top: 1px solid var(--line); }

.mission-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 56px;
  align-items: start;
}

.mission-copy p { margin-bottom: 16px; }
.mission-copy p:last-of-type { margin-bottom: 0; }
.mission-copy strong { color: var(--ink); font-weight: 600; }

.manifest {
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.manifest-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}

.manifest-row + .manifest-row { border-top: 1px solid var(--line); }

.manifest-row svg {
  width: 17px;
  height: 17px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding-block: 56px 48px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 10px;
  max-width: 320px;
  font-size: 14.5px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 56px;
}

.footer-col .mono { color: var(--muted); display: block; margin-bottom: 14px; }

.footer-col a {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.footer-bottom .heart { color: var(--accent); }

@media (max-width: 820px) {
  .container { padding-inline: 22px; }
  .hero { padding-block: 72px 56px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Contact page ---------- */
.contact-hero {
  padding-block: 96px 72px;
  text-align: center;
}

.contact-hero .section-sub { margin-inline: auto; }

.contact-wrap { padding-bottom: 112px; }

.contact-list {
  max-width: 560px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(var(--ink-rgb), 0.03), 0 12px 32px -16px rgba(var(--ink-rgb), 0.08);
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 26px;
  text-decoration: none;
  transition: background 0.15s;
}

.contact-row + .contact-row { border-top: 1px solid var(--line); }

.contact-row:hover { background: var(--bg); }

.contact-row__title {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}

.contact-row__email {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}

.contact-row:hover .contact-row__email { color: var(--accent); }