/* Moderate marketing site. Colors follow the app: the accent is the app's AccentColor, drink types
   use the same hues as DrinkCategory.color, and over-limit days are orange as in the calendar. */

:root {
  --accent: #2778f4;
  --accent-strong: #1f63d1;
  --accent-soft: rgba(39, 120, 244, 0.12);
  --accent-on: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --tile: #f2f2f7;
  --card: #ffffff;
  --text: #111317;
  --text-2: #5b616e;
  --text-3: #8d93a0;
  --line: rgba(17, 19, 23, 0.1);
  --over: #ff9500;
  --red: #ff3b30;
  --today: #fabf29;
  --beer: #ff9500;
  --wine: #af52de;
  --spirit: #a2845e;
  --cocktail: #ff2d55;
  --seltzer: #30b0c7;
  --phone-frame: #1c1d21;
  --shadow: 0 1px 2px rgba(17, 19, 23, 0.06), 0 12px 40px rgba(17, 19, 23, 0.1);
  --radius: 20px;
  --max: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #4a94ff;
    --accent-strong: #6aa8ff;
    --accent-soft: rgba(74, 148, 255, 0.16);
    --bg: #000000;
    --bg-alt: #0e0f12;
    --tile: #1c1c1e;
    --card: #141518;
    --text: #f5f5f7;
    --text-2: #a1a6b3;
    --text-3: #6e7380;
    --line: rgba(255, 255, 255, 0.12);
    --over: #ff9f0a;
    --red: #ff453a;
    --phone-frame: #2c2d32;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 40px rgba(0, 0, 0, 0.5);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--bg);
  padding: 8px 12px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.nav a {
  color: var(--text-2);
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav .btn {
  color: var(--accent-on);
}

@media (max-width: 720px) {
  .nav a:not(.btn) {
    display: none;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-on);
  font-weight: 600;
  font-size: 16px;
  border: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent-strong);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-small {
  padding: 7px 16px;
  font-size: 14px;
}

.btn-ghost {
  background: var(--accent-soft);
  color: var(--accent);
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--accent) 20%, transparent);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* Hero */

.hero {
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

h1,
h2,
h3 {
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(42px, 6.4vw, 72px);
  font-weight: 800;
}

h1 .accent {
  color: var(--accent);
}

.lede {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--text-2);
  margin: 22px 0 32px;
  max-width: 34em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.fineprint {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-3);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -10%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent);
  filter: blur(20px);
}

@media (max-width: 900px) {
  .hero {
    padding: 48px 0 72px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }
}

/* Phone mockups. Drawn in HTML so they stay sharp, follow light and dark mode, and use the app's
   real layout: ScreenHeader, LimitMeter, Quick Add tiles and DrinkRow. */

.phone {
  position: relative;
  width: 300px;
  flex: none;
  border-radius: 48px;
  padding: 11px;
  background: var(--phone-frame);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone .screen {
  position: relative;
  height: 610px;
  border-radius: 38px;
  overflow: hidden;
  background: var(--bg);
  padding: 50px 18px 0;
  font-size: 13px;
  line-height: 1.3;
  text-align: left;
}

.phone .screen::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  width: 90px;
  height: 26px;
  margin-left: -45px;
  background: #000;
  border-radius: 999px;
}

.status-bar {
  position: absolute;
  top: 14px;
  left: 28px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}

.status-bar .dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.status-bar .dots i {
  display: block;
  width: 16px;
  height: 8px;
  border-radius: 2px;
  border: 1.5px solid currentColor;
}

.screen-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.screen-title svg {
  width: 22px;
  height: 22px;
}

.screen-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  margin: 2px 0 12px;
}

.meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.meter-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-2);
}

.meter-value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 3px 0 6px;
}

.meter-value b {
  font-size: 30px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.meter-value span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-3);
}

.bar {
  height: 5px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--text-2) 18%, transparent);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bar.over i {
  background: var(--red);
}

.meter-status {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
}

.meter-status.over {
  color: var(--red);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 9px;
}

.section-heading span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
}

.presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 16px;
}

.preset {
  appearance: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: var(--tile);
  border-radius: 11px;
  padding: 8px;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.preset:active {
  transform: scale(0.95);
  opacity: 0.85;
}

.preset b {
  display: block;
  font-size: 11px;
  font-weight: 650;
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preset small {
  display: block;
  font-size: 10px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.badge {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 16%, transparent);
  flex: none;
}

.badge svg {
  width: 13px;
  height: 13px;
}

.badge.lg {
  width: 30px;
  height: 30px;
}

.badge.lg svg {
  width: 15px;
  height: 15px;
}

.c-beer {
  --c: var(--beer);
}
.c-wine {
  --c: var(--wine);
}
.c-spirit {
  --c: var(--spirit);
}
.c-cocktail {
  --c: var(--cocktail);
}
.c-seltzer {
  --c: var(--seltzer);
}

.log-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  animation: rowIn 0.35s ease both;
}

.log-row div {
  flex: 1;
  min-width: 0;
}

.log-row b {
  display: block;
  font-size: 13px;
  font-weight: 550;
}

.log-row small {
  font-size: 11px;
  color: var(--text-2);
}

.log-row em {
  font-style: normal;
  font-weight: 650;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .log-row {
    animation: none;
  }
}

.fab {
  position: absolute;
  right: 16px;
  bottom: 70px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.fab svg {
  width: 18px;
  height: 18px;
}

.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 7px 4px 0;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--text-3);
  text-align: center;
}

.tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.tabbar svg {
  width: 20px;
  height: 20px;
}

.tabbar .on {
  color: var(--accent);
}

.mock-hint {
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
  margin-top: 14px;
}

/* Sections */

section {
  padding: 96px 0;
}

.alt {
  background: var(--bg-alt);
}

.section-intro {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.kicker {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
}

.section-intro p,
.split-copy > p {
  font-size: 19px;
  color: var(--text-2);
  margin: 18px 0 0;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.pillar .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  margin-bottom: 18px;
}

.pillar .icon svg {
  width: 22px;
  height: 22px;
}

.pillar h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.pillar p {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
}

@media (max-width: 860px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.split.flip .split-visual {
  order: -1;
}

.split-visual {
  display: flex;
  justify-content: center;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.checks li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  color: var(--text-2);
  font-size: 16px;
}

.checks li b {
  color: var(--text);
}

.checks svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-top: 1px;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split.flip .split-visual {
    order: 0;
  }
}

/* Calendar mockup */

.cal-month {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  margin: 4px 0 10px;
}

.cal-month span {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 10px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr) 22px;
  gap: 6px 3px;
  justify-items: center;
}

.cal-grid .dow {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
}

.cal-day {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cal-day.free {
  background: var(--accent);
  color: #fff;
}

.cal-day.within {
  background: color-mix(in srgb, var(--accent) 30%, transparent);
}

.cal-day.over {
  background: var(--over);
  color: #fff;
}

.cal-day.over::after {
  content: "✕";
  position: absolute;
  top: -3px;
  right: -3px;
  font-size: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--over);
}

.cal-day.unlogged {
  border: 1px dashed color-mix(in srgb, var(--text-2) 60%, transparent);
}

.cal-day.future {
  color: var(--text-3);
}

.cal-day.today {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text);
}

.cal-week {
  width: 18px;
  height: 18px;
  align-self: center;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
}

.cal-week.ok {
  background: var(--accent);
}

.cal-week.over {
  background: var(--over);
}

.cal-week.track {
  border: 1.5px solid var(--accent);
}

.cal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.cal-stat {
  background: var(--tile);
  border-radius: 11px;
  padding: 8px 10px;
}

.cal-stat b {
  display: block;
  font-size: 19px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.cal-stat small {
  font-size: 10.5px;
  color: var(--text-2);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-size: 15px;
  color: var(--text-2);
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.legend .l-free {
  background: var(--accent);
}

.legend .l-within {
  background: color-mix(in srgb, var(--accent) 30%, transparent);
}

.legend .l-over {
  background: var(--over);
}

.legend .l-unlogged {
  border: 1.5px dashed var(--text-2);
}

/* Insights mockup */

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--tile);
  border-radius: 9px;
  padding: 2px;
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
}

.segmented button {
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  padding: 5px 0;
  border-radius: 7px;
  cursor: pointer;
}

.segmented button[aria-pressed="true"] {
  background: var(--bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 150px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}

.chart i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
  min-height: 0;
  transition: height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.chart i.over {
  background: var(--over);
}

.chart .limit {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1.5px dashed color-mix(in srgb, var(--text-2) 70%, transparent);
}

.chart .limit span {
  position: absolute;
  right: 0;
  top: -15px;
  font-size: 9.5px;
  color: var(--text-2);
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  color: var(--text-3);
  margin-top: 4px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

/* Everywhere */

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  overflow: hidden;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.card > p {
  margin: 0 0 22px;
  color: var(--text-2);
  font-size: 16px;
}

.siri {
  display: grid;
  gap: 8px;
}

.bubble {
  justify-self: start;
  max-width: 100%;
  padding: 9px 15px;
  border-radius: 18px;
  background: var(--tile);
  font-size: 15px;
}

.bubble.me {
  justify-self: end;
  background: var(--accent);
  color: #fff;
}

.widgets {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.widget {
  width: 150px;
  height: 150px;
  border-radius: 24px;
  background: var(--tile);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 12px;
}

.widget .w-label {
  color: var(--text-2);
  font-weight: 600;
}

.widget .w-big {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.widget .w-big span {
  font-size: 15px;
  color: var(--text-3);
  font-weight: 500;
}

.widget .w-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  border-radius: 999px;
  padding: 7px;
}

.widget .w-btn svg {
  width: 13px;
  height: 13px;
}

.ring {
  width: 64px;
  height: 64px;
}

.lock-widgets {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.lock {
  background: #0d0e10;
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--tile);
  font-size: 15px;
  font-weight: 550;
}

.chip svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

@media (max-width: 860px) {
  .everywhere {
    grid-template-columns: 1fr;
  }
}

/* Privacy band */

.privacy-band {
  background: linear-gradient(180deg, #2a7cf6, #1f63d1);
  color: #fff;
}

@media (prefers-color-scheme: dark) {
  .privacy-band {
    background: linear-gradient(180deg, #15306b, #0c1c42);
  }
}

.privacy-band .section-intro p {
  color: rgba(255, 255, 255, 0.82);
}

.privacy-band .kicker {
  color: rgba(255, 255, 255, 0.85);
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.privacy-points div {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 24px;
}

.privacy-points svg {
  width: 26px;
  height: 26px;
  margin-bottom: 14px;
}

.privacy-points h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.privacy-points p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}

.privacy-band a.more {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .privacy-points {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .privacy-points {
    grid-template-columns: 1fr;
  }
}

/* Details */

.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
}

.details h3 {
  font-size: 18px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.details h3 svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex: none;
}

.details p {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
}

@media (max-width: 860px) {
  .details {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .details {
    grid-template-columns: 1fr;
  }
}

/* Get it */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
  margin-bottom: 40px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.step p {
  margin: 0;
  font-size: 15px;
  color: var(--text-2);
}

code,
pre {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
}

.step code {
  background: var(--tile);
  padding: 1px 6px;
  border-radius: 6px;
}

.terminal {
  max-width: 680px;
  margin: 0 auto 36px;
  background: #0f1115;
  color: #e6e8ee;
  border-radius: 16px;
  padding: 18px 22px;
  overflow-x: auto;
  box-shadow: var(--shadow);
}

.terminal pre {
  margin: 0;
  line-height: 1.7;
}

.terminal .p {
  color: #6b7385;
  user-select: none;
}

.center {
  text-align: center;
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* FAQ */

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 650;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 20px;
  color: var(--text-2);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  font-size: 14px;
  color: var(--text-3);
}

.site-footer .wrap {
  display: grid;
  gap: 18px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-links a {
  color: var(--text-2);
}

.site-footer p {
  margin: 0;
  max-width: 760px;
}

/* Reveal on scroll */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* Prose pages (privacy) */

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.prose h1 {
  font-size: clamp(36px, 5vw, 52px);
  margin-bottom: 8px;
}

.prose .updated {
  color: var(--text-3);
  margin: 0 0 40px;
}

.prose h2 {
  font-size: 24px;
  margin: 40px 0 12px;
}

.prose p,
.prose li {
  color: var(--text-2);
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--text);
}

.prose .summary {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 22px 26px;
  color: var(--text);
}

.prose .summary p {
  color: var(--text);
  margin: 0;
}
