/* ============================================================
   Ovio — design system
   ============================================================ */
:root {
  --paper: #fafaf7;
  --ink: #141412;
  --fog: #66665f;
  --faint: #9a9a90;
  --line: #e6e5dd;
  --line-strong: #cfcec4;
  --lime: #bde35c;
  --lime-soft: #eff7d6;
  --moss: #3f5a0a;
  --rec: #d9534f;
  --green: #62c655;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow-win: 0 26px 54px -28px rgba(40, 52, 0, 0.38);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  /* height of the made-by strip, notch included */
  --banner-h: calc(36px + env(safe-area-inset-top));
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(110px + var(--banner-h));
}

body {
  padding-top: var(--banner-h);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 10px;
}

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  /* keep text clear of rounded corners and notches */
  padding-left: max(28px, env(safe-area-inset-left));
  padding-right: max(28px, env(safe-area-inset-right));
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  z-index: 200;
}
.skip:focus { left: 0; }

/* ============================================================
   Credit line — built by Snippetz Labs
   A full-bleed strip pinned above the nav, not a badge.
   ============================================================ */
.made-by {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 95;
  height: var(--banner-h);
  padding-top: env(safe-area-inset-top);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141412;
  color: #f2f0e6;
  transition: background 0.2s var(--ease);
}
/* a hairline of brand green along the bottom edge, brightest in the middle */
.made-by::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(189, 227, 92, 0.3), transparent);
}
.made-by:hover { background: #1b1b17; }

.made-by-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.made-by-mark {
  width: 12px;
  height: 12px;
  flex: none;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.6;
  stroke-linecap: round;
  transition: transform 0.55s var(--ease);
}
.made-by:hover .made-by-mark { transform: rotate(60deg); }

.made-by-label {
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 243, 234, 0.44);
}

.made-by-name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  padding-bottom: 1px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.24s var(--ease);
}
.made-by:hover .made-by-name { background-size: 100% 1px; }

.made-by-arrow {
  width: 9px;
  height: 9px;
  flex: none;
  fill: none;
  stroke: rgba(245, 243, 234, 0.5);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease), stroke 0.2s;
}
.made-by:hover .made-by-arrow { transform: translate(1px, -1px); stroke: var(--lime); }

@media (max-width: 420px) {
  .made-by-in { gap: 7px; }
  .made-by-label { font-size: 9px; letter-spacing: 0.13em; }
  .made-by-name { font-size: 12px; }
}

/* ============================================================
   Nav
   ============================================================ */
.progress {
  position: fixed;
  inset: var(--banner-h) 0 auto 0;
  height: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 90;
}

.nav {
  position: fixed;
  top: calc(var(--banner-h) + 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 8px 8px 18px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 34px -18px rgba(30, 40, 0, 0.28);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  max-width: calc(100vw - 24px);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px -18px rgba(30, 40, 0, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-right: 12px;
  flex: none;
}

.bars {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 17px;
}
.bars i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--ink);
}
.bars i:nth-child(1) { height: 6px; background: var(--lime); }
.bars i:nth-child(2) { height: 15px; }
.bars i:nth-child(3) { height: 10px; }
.bars i:nth-child(4) { height: 4px; }

.navlinks { display: flex; align-items: center; gap: 2px; }
.navlinks a {
  font-size: 15px;
  color: var(--fog);
  padding: 9px 13px;
  border-radius: 999px;
  transition: color 0.16s, background 0.16s;
  white-space: nowrap;
}
.navlinks a:hover { color: var(--ink); background: #f0efe8; }

/* nav sits on the dark hero until you scroll (homepage only) */
.nav.nav-dark:not(.scrolled) {
  background: rgba(20, 20, 18, 0.55);
  border-color: rgba(247, 245, 236, 0.14);
  color: #f5f3ea;
  box-shadow: 0 10px 34px -18px rgba(0, 0, 0, 0.65);
}
.nav.nav-dark:not(.scrolled) .bars i { background: #f5f3ea; }
.nav.nav-dark:not(.scrolled) .bars i:nth-child(1) { background: var(--lime); }
.nav.nav-dark:not(.scrolled) .navlinks a { color: rgba(245, 243, 234, 0.72); }
.nav.nav-dark:not(.scrolled) .navlinks a:hover { color: #fff; background: rgba(247, 245, 236, 0.1); }
.nav.nav-dark:not(.scrolled) .gh { color: rgba(245, 243, 234, 0.7); }
.nav.nav-dark:not(.scrolled) .gh:hover { background: rgba(247, 245, 236, 0.1); color: #fff; }
.nav.nav-dark:not(.scrolled) .btn.sm { background: #f5f3ea; border-color: #f5f3ea; color: var(--ink); }
.nav.nav-dark:not(.scrolled) .btn.sm:hover { background: #fff; border-color: #fff; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: 500 16px/1 var(--sans);
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 12px 26px -16px rgba(20, 20, 18, 0.75);
  transition: transform 0.18s var(--ease), background 0.18s, box-shadow 0.18s, color 0.18s;
}
.btn:hover {
  transform: translateY(-2px);
  background: #262621;
  box-shadow: 0 20px 34px -18px rgba(20, 20, 18, 0.6);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.sm { font-size: 14px; padding: 11px 18px; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn.ghost:hover { background: #fff; border-color: var(--ink); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 150px 0 60px;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
  color: #f5f3ea;
  background:
    radial-gradient(58% 44% at 50% 0%, rgba(255, 246, 224, 0.14), rgba(255, 246, 224, 0) 64%),
    linear-gradient(
      180deg,
      #080907 0%,
      #090b08 26%,
      #10190c 44%,
      #1d3013 60%,
      #33530f 73%,
      #5d8a1e 84%,
      #95bd3b 93%,
      #bde35c 100%
    );
}

/* warm top light — no colour wash, no pattern */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(52% 44% at 50% -6%, rgba(255, 246, 224, 0.2), rgba(255, 246, 224, 0) 68%),
    radial-gradient(80% 46% at 50% 104%, rgba(189, 227, 92, 0.35), rgba(189, 227, 92, 0) 70%);
  pointer-events: none;
}

/* a whisper of film grain, so the flat ink still feels printed */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero .eyebrow { color: #cfcdbc; }
.hero h1 { color: #f7f5ec; }
.hero h1 span { color: rgba(247, 245, 236, 0.52); }
.hero .sub { color: #b0afa2; }
.hero .sub b { color: #f7f5ec; }
.hero .meta { color: #a3a196; }
.hero .meta span + span::before { color: rgba(247, 245, 236, 0.24); }
.hero .scriptline { filter: brightness(0) invert(1) brightness(0.82); }

.hero-note {
  max-width: 58ch;
  margin: 18px auto 0;
  font-size: 13px;
  line-height: 1.6;
  color: #a3a196;
  text-wrap: pretty;
}
.hero-note a {
  color: #f1efe4;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(247, 245, 236, 0.3);
}
.hero-note a:hover { color: #fff; text-decoration-color: rgba(247, 245, 236, 0.7); }

.hero .btn {
  background: #f7f5ec;
  border-color: #f7f5ec;
  color: var(--ink);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.95);
}
.hero .btn:hover { background: #fff; border-color: #fff; }
.hero .btn.ghost {
  background: transparent;
  color: #f1efe4;
  border-color: rgba(247, 245, 236, 0.26);
  box-shadow: none;
}
.hero .btn.ghost:hover {
  background: rgba(247, 245, 236, 0.08);
  border-color: rgba(247, 245, 236, 0.6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.5;
}


h1 {
  margin: 26px auto 0;
  font-size: clamp(44px, 6.8vw, 94px);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.047em;
  text-wrap: balance;
}
h1 span { display: block; color: var(--faint); }

.sub {
  max-width: 540px;
  margin: 28px auto 0;
  font-size: clamp(17px, 1.5vw, 19.5px);
  color: var(--fog);
  line-height: 1.6;
}
.sub b { color: var(--ink); font-weight: 500; }

.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

.meta {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--faint);
  letter-spacing: -0.005em;
  /* wraps cleanly on narrow phones instead of running off the edge */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 2px;
}
.meta span + span::before {
  content: "·";
  margin: 0 9px;
  color: var(--line-strong);
}

/* ============================================================
   Stage — app window + floating cards
   ============================================================ */
.stage {
  position: relative;
  margin-top: 58px;
  padding: 0 28px;
}
.stage-inner {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}
/* soft light pooled behind the app window */
.stage-inner::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: -4%;
  bottom: 4%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 246, 224, 0.18), rgba(255, 246, 224, 0) 76%);
  filter: blur(26px);
  pointer-events: none;
}

/* Real app screenshot */
.app-shot {
  position: relative;
  z-index: 2;
  margin: 0;
}
.app-shot-frame {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 70px 110px -60px rgba(40, 70, 0, 0.5),
    0 2px 0 rgba(255, 255, 255, 0.9) inset;
}
.hero .app-shot-frame {
  background: #0c0c0b;
  border-color: rgba(247, 245, 236, 0.16);
  border-radius: 16px;
  box-shadow:
    0 90px 140px -60px rgba(0, 0, 0, 0.95),
    0 0 90px -10px rgba(255, 246, 224, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

/* slim window chrome, so the light app reads as a window, not a white card */
.app-shot-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 16px;
  background: linear-gradient(180deg, rgba(247, 245, 236, 0.09), rgba(247, 245, 236, 0.02));
  border-bottom: 1px solid rgba(247, 245, 236, 0.08);
}
.app-shot-dots { display: flex; flex: none; gap: 7px; }
.app-shot-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4a4a43;
}
.app-shot-dots i:nth-child(1) { background: #d9635c; }
.app-shot-dots i:nth-child(2) { background: #d8a83f; }
.app-shot-dots i:nth-child(3) { background: #7fa15c; }
.app-shot-title {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.01em;
  color: rgba(247, 245, 236, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-shot-spacer { flex: none; width: 44px; }
.app-shot-screen {
  position: relative;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(20, 20, 18, 0.14);
}

.app-shot picture { display: block; }
/* the whole window, always — it scales down instead of scrolling sideways */
.app-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2938 / 1844;
  object-fit: contain;
}

.wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 58px;
}
.wave i {
  display: block;
  width: 3px;
  height: var(--h, 20px);
  border-radius: 2px;
  background: var(--ink);
  transform-origin: center;
  animation: wv 1.15s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.wave.s { height: 34px; gap: 3px; }

/* facts */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 72px 0 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
  overflow: hidden;
}
.facts li {
  background: rgba(255, 255, 255, 0.72);
  padding: 24px 22px;
  text-align: left;
}
.facts b {
  display: block;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.facts span {
  display: block;
  margin-top: 7px;
  font-size: 13.5px;
  color: var(--fog);
}

/* ============================================================
   Sections
   ============================================================ */
section { padding-top: 140px; }

.eyebrow-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow-sm::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--moss);
  opacity: 0.5;
}

.h2 {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.045em;
  max-width: 15ch;
}
.lead {
  color: var(--fog);
  max-width: 54ch;
  margin-top: 20px;
  font-size: 18px;
}

/* ============================================================
   One continuous page gradient — ink, moss, lime, paper
   Each section picks up exactly where the last one stopped.
   ============================================================ */
.home { background: #fff; }

.home #why {
  --fog: #45442e;
  --faint: #6a694f;
  background: linear-gradient(180deg, #bde35c 0%, #cee982 26%, #dff0b5 62%, #e8f4c8 100%);
}

.home #features {
  --fog: #4a4a34;
  --faint: #6f6e56;
  background: linear-gradient(180deg, #e8f4c8 0%, #eef7d9 48%, #f4fae9 100%);
}

.home #compare {
  --fog: #52513b;
  --faint: #75745c;
  background: linear-gradient(180deg, #f4fae9 0%, #f8fbf1 55%, #fbfdf7 100%);
}

.home #how {
  background: linear-gradient(180deg, #fbfdf7 0%, #fdfefa 100%);
}

.home #who { background: #fdfefb; }

.home #faq { background: linear-gradient(180deg, #fdfefb 0%, #fff 68%); }

/* ============================================================
   Film modal
   ============================================================ */
html.modal-open { overflow: hidden; }

.film-modal {
  width: min(1120px, calc(100vw - 32px));
  max-width: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  overflow: visible;
}
.film-modal::backdrop {
  background: rgba(10, 10, 9, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.film-modal-box {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(247, 245, 236, 0.14);
  background: #0c0c0b;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9);
}
.film-modal-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 86vh;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0c0c0b;
}
.film-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(247, 245, 236, 0.22);
  border-radius: 50%;
  background: rgba(12, 12, 11, 0.72);
  color: #f7f5ec;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s;
}
.film-modal-close:hover {
  background: rgba(12, 12, 11, 0.95);
  border-color: rgba(247, 245, 236, 0.5);
}
.film-modal-close svg { width: 15px; height: 15px; }
.film-modal[open] { animation: modal-in 0.26s var(--ease); }
@keyframes modal-in {
  from { opacity: 0; scale: 0.985; }
  to { opacity: 1; scale: 1; }
}

@media (max-width: 560px) {
  .film-modal { width: calc(100vw - 20px); }
  .film-modal-box { border-radius: 14px; }
  .film-modal-close { top: 8px; right: 8px; width: 34px; height: 34px; }
}


/* ============================================================
   Compare
   ============================================================ */
.duel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 48px;
}
.pane {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px 24px 20px;
  overflow: hidden;
}
.pane.us {
  background: linear-gradient(180deg, #f4fadf, #fff 78%);
  border-color: #d8e9ac;
}
.pane-tag {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
}
.pane.us .pane-tag { color: var(--moss); }

.diagram { width: 100%; height: auto; max-width: 430px; margin: 8px auto 0; }
.diagram text { font: 500 12px var(--sans); fill: var(--fog); }
.bx { fill: #fff; stroke: var(--line-strong); stroke-width: 1.5; }
.diagram .ghost { opacity: 0.34; }
.diagram .ghost .bx { stroke-dasharray: 4 5; }
.fl {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
  animation: flow 0.9s linear infinite;
}
.lp { fill: #fff; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.b2 {
  fill: var(--ink);
  transform-box: fill-box;
  transform-origin: center;
  animation: wv 1s ease-in-out infinite;
  animation-delay: var(--d);
}
.ring {
  fill: none;
  stroke: var(--moss);
  stroke-width: 1.6;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
}
.spin { transform-origin: 210px 222px; animation: spin 18s linear infinite; }
.orb { fill: var(--lime); stroke: var(--moss); stroke-width: 1.5; }
.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.stat b { font-size: 20px; font-weight: 500; letter-spacing: -0.03em; }
.them .stat b { color: var(--faint); }
.stat-note {
  font-size: 13.5px;
  color: var(--fog);
  text-align: right;
}
.pane.us .stat-note { color: var(--moss); }

/* ============================================================
   Bento
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.tile {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.tile h3 {
  font-size: clamp(23px, 2.3vw, 31px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.tile p {
  margin-top: 9px;
  color: var(--fog);
  font-size: 15px;
  line-height: 1.5;
  max-width: 34ch;
}
.s4 { grid-column: span 4; }
.s2 { grid-column: span 2; }
.vz {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 24px;
  min-height: 150px;
}

.call {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 440px;
}
.pp {
  position: relative;
  height: 78px;
  border-radius: 14px;
  background: #f0efe8;
  overflow: hidden;
}
.pp::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 13px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--c, #c9c8be);
  translate: -50% 0;
}
.pp::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 52px;
  height: 38px;
  border-radius: 28px 28px 0 0;
  background: var(--c, #c9c8be);
  translate: -50% 0;
}
.pp:nth-child(2) { --c: #b8c79a; }
.pp:nth-child(4) { --c: #d3cbb6; }
.pp:nth-child(5) { --c: #b3b9c2; }
.pp.bot {
  background: transparent;
  border: 1.5px dashed var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 11.5px;
  color: var(--fog);
  text-align: center;
  line-height: 1.25;
}
.pp.bot::before,
.pp.bot::after { display: none; }
.pp.bot i {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 2px;
  background: var(--rec);
  transform-origin: left;
  transform: rotate(-14deg) scaleX(0);
  animation: strike 6s infinite;
}

.off { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.slash { stroke-dasharray: 66; animation: sl 5s infinite; }
.sw {
  width: 64px;
  height: 36px;
  border-radius: 99px;
  position: relative;
  animation: swbg 5s infinite;
}
.sw::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  animation: swk 5s infinite;
}

.models {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  max-width: 235px;
}
.mc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  font-size: 14.5px;
  animation: pick 6s infinite;
  animation-delay: calc(var(--k) * 2s);
}
.mc small { font-size: 11.5px; color: var(--faint); }
.mc:last-child { border-style: dashed; }

.tile.dk {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tile.dk p { color: rgba(255, 255, 255, 0.62); }
.zero {
  position: absolute;
  right: 24px;
  top: 6px;
  font-size: clamp(78px, 10vw, 142px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.07em;
  color: var(--lime);
}
.dk .vz { justify-content: flex-start; align-items: flex-start; padding-top: 40px; }
.code { display: flex; flex-direction: column; gap: 11px; width: 54%; }
.code i {
  display: block;
  height: 9px;
  border-radius: 6px;
  width: var(--w);
  background: rgba(255, 255, 255, 0.22);
  transform-origin: left;
  animation: grow 5.5s ease-out infinite;
  animation-delay: calc(var(--k) * 0.28s);
}
.code i.g { background: var(--lime); }

/* ============================================================
   Steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
}
.step-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}
.num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 500;
  flex: none;
}
.step-head b { font-size: 14px; font-weight: 500; letter-spacing: 0.01em; }
.step h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 7px;
}
.step p { color: var(--fog); font-size: 15px; line-height: 1.55; }
.step-vis {
  margin-top: 20px;
  height: 118px;
  border-radius: 16px;
  background: var(--c, #f6f5ef);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.tray {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #fff;
  border-radius: 18px;
  padding: 11px 16px;
  box-shadow: 0 16px 30px -22px rgba(40, 60, 0, 0.5);
}
.fld {
  width: 46px;
  height: 34px;
  background: #cfe88a;
  border-radius: 4px 8px 8px 8px;
  position: relative;
}
.fld::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  width: 19px;
  height: 9px;
  background: #cfe88a;
  border-radius: 5px 5px 0 0;
}
.fileic {
  width: 42px;
  height: 52px;
  background: #fff;
  border: 1px solid #d8d7ce;
  border-radius: 6px 14px 6px 6px;
  display: grid;
  place-items: center;
  animation: hl 5s infinite;
}
.appic {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}
.appic .bars { transform: scale(0.72); }
.appic .bars i { background: #fff; }
.appic .bars i:nth-child(1) { background: var(--lime); }
.sep { width: 1px; height: 40px; background: #d8d7ce; }
.step-vis .trash { stroke: var(--fog); }

.mdl {
  width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13.5px;
  box-shadow: 0 16px 30px -22px rgba(40, 60, 0, 0.5);
}
.mdl .row { display: flex; justify-content: space-between; align-items: center; }
.mdl small { color: var(--faint); font-size: 11.5px; }
.pg { height: 7px; background: #edece4; border-radius: 6px; overflow: hidden; }
.pg i {
  display: block;
  height: 100%;
  background: var(--ink);
  border-radius: 6px;
  transform-origin: left;
  animation: fill 6s var(--ease) infinite;
}
.st3 { position: relative; width: 68px; height: 16px; text-align: right; }
.st3 span { position: absolute; right: 0; top: 0; font-size: 11.5px; }
.st3 .a { color: var(--faint); animation: dl 6s infinite; }
.st3 .b { color: var(--moss); animation: rd 6s infinite; }
.rec-dot {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 5px solid #f6d8d6;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px -18px rgba(217, 83, 79, 0.9);
}
.rec-dot i {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--rec);
  animation: pulse 1.4s infinite;
  display: block;
}
.step-vis .counter {
  font: 300 34px/1 var(--sans);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-top: 12px;
  animation: count 5s infinite;
}

/* ============================================================
   Audience
   ============================================================ */
.mq {
  overflow: hidden;
  margin-top: 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.mq + .mq { margin-top: 12px; }
.mq div { display: flex; gap: 12px; width: max-content; animation: mq 46s linear infinite; }
.mq.rev div { animation-direction: reverse; animation-duration: 54s; }
.mq:hover div { animation-play-state: paused; }
.mq span {
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  padding: 17px 28px 21px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  white-space: nowrap;
}
.mq span:nth-child(3n + 1) { background: var(--lime); border-color: var(--lime); }
.mq.rev span {
  background: transparent;
  color: var(--fog);
  border: 1px dashed var(--line-strong);
  font-size: clamp(24px, 3.2vw, 40px);
  font-style: italic;
  letter-spacing: -0.03em;
}

.doc {
  max-width: 700px;
  margin: 48px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 30px 30px;
  font-size: clamp(22px, 2.9vw, 34px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.035em;
  box-shadow: 0 30px 60px -50px rgba(40, 60, 0, 0.6);
}
.doc small {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--faint);
  margin-bottom: 16px;
}
.rd {
  background: var(--ink);
  color: transparent;
  border-radius: 5px;
  padding: 0 6px;
  animation: unrd 7s ease-in-out infinite;
}

/* ============================================================
   Final CTA
   ============================================================ */
.final {
  margin-top: 140px;
  padding: 130px 0 118px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: radial-gradient(62% 72% at 50% 104%, rgba(189, 227, 92, 0.24), rgba(189, 227, 92, 0) 72%);
}
.final .wrap { position: relative; z-index: 2; }
.final h2 {
  margin: 0 auto;
  font-size: clamp(54px, 9.8vw, 124px);
  line-height: 0.93;
  font-weight: 500;
  letter-spacing: -0.05em;
}
.rip {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--s);
  height: var(--s);
  border: 1px solid rgba(63, 90, 10, 0.18);
  border-radius: 50%;
  translate: -50% -50%;
  animation: rip 8s linear infinite;
  animation-delay: var(--d);
  pointer-events: none;
}
.os {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 42px;
}
.os .btn.ghost {
  background: #fff;
  border-color: var(--line-strong);
  box-shadow: 0 10px 24px -18px rgba(20, 20, 18, 0.5);
}
.os .btn.ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.os-links {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  font-size: 14px;
  color: var(--fog);
}
.os-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  /* comfortable thumb target without moving the line */
  padding: 9px 3px;
  margin: -9px 0;
}
.os-links a:hover { color: var(--ink); }
.os-links span { color: var(--line-strong); }
.note { margin-top: 16px; font-size: 13.5px; color: var(--fog); }
.note kbd {
  font: 500 12px var(--mono);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--ink);
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 calc(44px + env(safe-area-inset-bottom));
  font-size: 14px;
  color: var(--fog);
  background: var(--paper);
}
.home footer { background: transparent; }
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer a:hover { color: var(--ink); }
footer .brand { margin: 0; font-size: 15px; color: var(--ink); }
footer .brand .bars { transform: scale(0.86); }

/* ============================================================
   Motion helpers
   ============================================================ */
.js .rv {
  opacity: 0;
  translate: 0 30px;
  transition:
    opacity 0.9s var(--ease) var(--d, 0s),
    translate 0.9s var(--ease) var(--d, 0s),
    scale 0.9s var(--ease) var(--d, 0s);
}
.js .rv[data-a="scale"] { translate: none; scale: 0.96; }
.js .rv.in { opacity: 1; translate: none; scale: 1; }
.js .anim:not(.in) * { animation-play-state: paused; }

@keyframes pop { from { opacity: 0; scale: 0.86; } to { opacity: 1; scale: 1; } }
@keyframes pulse { 50% { opacity: 0.35; } }
@keyframes wv { 0%, 100% { transform: scaleY(0.34); } 50% { transform: scaleY(1); } }
@keyframes flow { to { stroke-dashoffset: -24; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes rip {
  0% { scale: 0.25; opacity: 0; }
  18% { opacity: 0.9; }
  100% { scale: 1.7; opacity: 0; }
}
@keyframes grow {
  0% { transform: scaleX(0); }
  18%, 88% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}
@keyframes bot {
  0%, 6% { opacity: 0; scale: 0.9; }
  14%, 82% { opacity: 1; scale: 1; }
  94%, 100% { opacity: 0; scale: 0.9; }
}
@keyframes strike { 0%, 32% { transform: rotate(-14deg) scaleX(0); } 44%, 100% { transform: rotate(-14deg) scaleX(1); } }
@keyframes sl { 0%, 22% { stroke-dashoffset: 66; } 32%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 66; } }
@keyframes swbg { 0%, 16% { background: var(--lime); } 22%, 90% { background: var(--ink); } 100% { background: var(--lime); } }
@keyframes swk { 0%, 16% { left: 32px; } 22%, 90% { left: 4px; } 100% { left: 32px; } }
@keyframes pick { 0%, 30% { background: var(--ink); color: #fff; border-color: var(--ink); } 34%, 100% { background: #fff; color: var(--ink); } }
@keyframes unrd {
  0%, 36% { background: var(--ink); color: transparent; }
  46%, 86% { background: var(--lime); color: var(--ink); }
  100% { background: var(--ink); color: transparent; }
}
@keyframes hl { 0%, 42% { background: #fff; } 50%, 72% { background: var(--lime-soft); border-color: #c9df8e; } 80%, 100% { background: #fff; } }
@keyframes fill { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
@keyframes dl { 0%, 66% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes rd { 0%, 66% { opacity: 0; } 72%, 100% { opacity: 1; } }
@keyframes recin { 0%, 70% { opacity: 0.3; scale: 0.9; } 80%, 100% { opacity: 1; scale: 1; } }
@keyframes count {
  0%, 12% { opacity: 0.35; }
  20%, 100% { opacity: 1; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .duel { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .s4, .s2 { grid-column: span 1; }
  .tile.dk { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .step { flex-direction: row; gap: 24px; align-items: center; padding: 22px; }
  .step > div:first-child { flex: 1; }
  .step-vis { margin-top: 0; width: 42%; flex: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .navlinks { display: none; }
  .brand { margin-right: 6px; }
  .hero { padding-top: 132px; }
  h1 { font-size: clamp(40px, 10.5vw, 72px); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .hero { padding-top: 104px; padding-bottom: 30px; }
  .stage { padding: 0 14px; margin-top: 30px; }
  section { padding-top: 96px; }
  .facts { margin-top: 56px; }
  .facts li { padding: 20px 18px; }
  .facts b { font-size: 25px; }
  .facts span { font-size: 12.5px; }
  .tile { min-height: 290px; padding: 22px; }
  .tile.dk { grid-column: span 2; }
  .zero { font-size: 76px; }
  .code { width: 62%; }
  .step { flex-direction: column; align-items: stretch; gap: 16px; }
  .step-vis { width: 100%; }
  .app-shot-frame { border-radius: 14px; }
  .app-shot-chrome { height: 32px; padding: 0 12px; gap: 10px; }
  .app-shot-dots i { width: 8px; height: 8px; }
  .app-shot-spacer { width: 34px; }
  .final { margin-top: 96px; padding: 92px 0 82px; }
  .doc { padding: 20px; }
  .doc small { flex-direction: column; gap: 2px; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .cta .btn, .os .btn { width: 100%; }
  h1 { font-size: clamp(36px, 11.4vw, 54px); }
  .app-shot-title, .app-shot-spacer { display: none; }
  .hero .sub { margin-top: 22px; }
  .hero .cta { margin-top: 26px; }
  .hero .scriptline { margin-top: 14px; }
  .hero .meta { margin-top: 14px; }
  .eyebrow { font-size: 12px; }
  .meta { font-size: 12.5px; }
  .bento { grid-template-columns: 1fr; }
  .tile.dk { grid-column: auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .call { max-width: 100%; }
  .doc { font-size: 20px; }
  .mq span { padding: 13px 22px 17px; }
  .dl-foot { padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
}

/* very narrow phones: the OS line and the headline need the extra room */
@media (max-width: 380px) {
  .hero .meta { font-size: 11.5px; letter-spacing: -0.015em; }
  .meta span + span::before { margin: 0 6px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.1em; }
  .btn { padding: 13px 18px; font-size: 15px; }
  .facts { grid-template-columns: 1fr; }
  .h2 { letter-spacing: -0.035em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }
  .js .rv { opacity: 1; translate: none; scale: 1; }
}

/* ============================================================
   Download page
   ============================================================ */
.dl { max-width: 880px; padding-bottom: 70px; }
.dl-head { padding: 138px 0 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 600;
  margin-bottom: 16px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.5;
}

.dl-head h1 {
  margin: 0;
  font-size: clamp(42px, 6.6vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.dl-lead {
  margin-top: 20px;
  max-width: 52ch;
  color: var(--fog);
  font-size: 18px;
}
.dl-beta {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--fog);
}
.dl-beta b { font-weight: 600; color: var(--ink); }
.dl-beta a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}
.dl-beta a:hover { color: var(--ink); }

.os-tabs {
  display: flex;
  gap: 30px;
  margin-top: 44px;
  border-bottom: 1px solid var(--line);
}
.os-tabs button {
  appearance: none;
  background: none;
  border: 0;
  padding: 2px 0 15px;
  margin-bottom: -1px;
  font: 500 17px/1 var(--sans);
  color: var(--faint);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.os-tabs button:hover { color: var(--ink); }
.os-tabs button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.panel { padding-top: 38px; }
.panel[hidden] { display: none !important; }
.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.panel-head h2 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.panel-head span {
  font-size: 13.5px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.panel-lead {
  margin-top: 10px;
  color: var(--fog);
  font-size: 16.5px;
  max-width: 62ch;
}
.panel a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.panel a:hover { color: var(--moss); }
.panel a.btn { text-decoration: none; color: #fff; }
.panel a.btn.ghost { color: var(--ink); }

.cmd {
  position: relative;
  margin-top: 22px;
  background: var(--ink);
  color: #edede6;
  border-radius: 16px;
  padding: 20px 22px;
  font: 13.5px/1.9 var(--mono);
  overflow-x: auto;
}
.cmd pre { margin: 0; white-space: pre; }
.cmd-label {
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 12px;
}
.cmd .copy {
  position: absolute;
  top: 12px;
  right: 12px;
  font: 500 12px/1 var(--sans);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 8px 11px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.cmd .copy:hover { color: #fff; background: rgba(255, 255, 255, 0.16); }
.cmd .copy.done { color: var(--lime); border-color: rgba(189, 227, 92, 0.5); }

.kv {
  margin-top: 20px;
  display: grid;
  gap: 9px;
  font-size: 14.5px;
  color: var(--fog);
}
.kv div { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.kv b { min-width: 64px; color: var(--ink); font-weight: 500; }
.kv code, .panel-lead code, .stepper code, .fineprint code {
  font: 12.5px/1.4 var(--mono);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
  color: var(--ink);
  white-space: nowrap;
}

.stepper { margin-top: 26px; }
.stepper li {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--fog);
  line-height: 1.55;
}
.stepper li:first-child { border-top: 0; padding-top: 4px; }
.stepper .n {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 11.5px;
  color: var(--ink);
  margin-top: 2px;
}
.stepper b { color: var(--ink); font-weight: 500; }

.dl-choices {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.btn small {
  font-size: 12.5px;
  font-weight: 400;
  opacity: 0.6;
  margin-left: 8px;
  letter-spacing: 0;
}
.btn.ghost small { opacity: 0.55; }

.fineprint { margin-top: 18px; font-size: 13px; color: var(--faint); line-height: 1.7; }

.dl-foot {
  margin-top: 56px;
  padding: 24px 0 60px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--fog);
}
.dl-foot a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}
.dl-foot a:hover { color: var(--ink); }

@media (max-width: 700px) {
  .dl-head { padding-top: 118px; }
  /* long brew URLs read fully instead of hiding behind a sideways swipe */
  .cmd pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  .cmd { overflow-x: visible; }
  .os-tabs { gap: 20px; overflow-x: auto; }
  .os-tabs button { font-size: 15.5px; white-space: nowrap; }
  .cmd { padding: 46px 16px 18px; font-size: 12px; border-radius: 14px; }
  .panel-head h2 { font-size: 23px; }
  .panel-lead { font-size: 15.5px; }
  .stepper li { font-size: 15px; }
  .dl-foot { flex-direction: column; }
}

/* ============================================================
   Compare table (SEO section)
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.cmp-wrap {
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cmp {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 15px;
}
.cmp th,
.cmp td {
  text-align: left;
  vertical-align: top;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.cmp thead th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  background: #fbfbf8;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.cmp thead th.us { color: var(--moss); background: var(--lime-soft); }
.cmp tbody th {
  width: 25%;
  min-width: 200px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.cmp tbody td { font-size: 14.5px; color: var(--fog); }
.cmp td.us {
  color: var(--moss);
  font-weight: 500;
  background: rgba(239, 247, 214, 0.55);
}
.cmp tbody tr:last-child th,
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr:hover th { background: #fbfbf8; }

.cmp-notes {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  max-width: 78ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fog);
}
.cmp-notes b { color: var(--ink); font-weight: 500; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 {
  margin: 0;
  font-size: 19.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.faq .ic {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
  margin: 7px 0 0 auto;
}
.faq .ic::before,
.faq .ic::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.faq .ic::before { left: 0; top: 5.25px; width: 12px; height: 1.5px; }
.faq .ic::after { left: 5.25px; top: 0; width: 1.5px; height: 12px; }
.faq details[open] .ic::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  padding: 0 48px 24px 0;
  max-width: 70ch;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--fog);
}
.faq-a a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}
.faq-a a:hover { color: var(--moss); }
.faq-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--faint);
}
.faq-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}
.faq-note a:hover { color: var(--ink); }

/* ============================================================
   Footer sub-nav
   ============================================================ */
.foot-sub {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint);
}
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-nav a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .faq summary h3 { font-size: 17px; }
  .faq-a { padding-right: 0; font-size: 15.5px; }
  .cmp th, .cmp td { padding: 13px 14px; }
  .cmp tbody th { min-width: 0; }
  .foot-sub { font-size: 12.5px; }
}

/* ---- Comparison on phones and tablets: same table, first column pinned ---- */
.cmp-hint {
  display: none;
  margin-top: 24px;
  font-size: 13px;
  color: var(--faint);
  letter-spacing: -0.005em;
}
.cmp-hint b { color: var(--moss); font-weight: 500; }

.cmp-wrap:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }

/* the hint only matters once the table really overflows */
@media (max-width: 660px) {
  .cmp-hint { display: block; }
}

@media (max-width: 900px) {
  .cmp-wrap { margin-top: 10px; border-radius: 18px; }
  .cmp { min-width: 620px; font-size: 14px; }
  .cmp th, .cmp td { padding: 13px 12px; }
  .cmp thead th { font-size: 10px; letter-spacing: 0.08em; white-space: normal; }
  .cmp tbody th { width: 31%; min-width: 148px; font-size: 14.5px; }
  .cmp tbody td { font-size: 13.5px; }

  .cmp thead th:first-child,
  .cmp tbody th {
    position: sticky;
    left: 0;
    z-index: 2;
  }
  .cmp thead th:first-child { z-index: 3; background: #fbfbf8; }
  .cmp tbody th { background: #fff; box-shadow: 1px 0 0 var(--line); }
  .cmp tbody tr:hover th { background: #fbfbf8; }
}

@media (max-width: 420px) {
  .cmp { min-width: 520px; }
  .cmp th, .cmp td { padding: 12px 10px; }
  .cmp tbody th { min-width: 132px; width: 34%; }
  .cmp thead th { font-size: 9.5px; }
}

/* ============================================================
   GitHub entry points + handwritten hero line
   ============================================================ */
.gh {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--fog);
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.gh:hover { background: #f0efe8; color: var(--ink); }
.gh svg { width: 19px; height: 19px; }

footer .gh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}
footer .gh-btn svg { width: 15px; height: 15px; }
footer .gh-btn:hover { color: var(--moss); }

.scriptline {
  display: block;
  width: min(400px, 78vw);
  height: auto;
  margin: 24px auto 0;
  transform: rotate(-1.4deg);
}

@media (max-width: 720px) {
  .scriptline { width: min(320px, 82vw); margin-top: 20px; }
  .gh { width: 34px; height: 34px; }
}
