/* ==========================================================================
   Pseudo GMC — design system
   --------------------------------------------------------------------------
   One condensed grotesque doing all the work, a four-colour palette, flat
   colour fields, and generous air. Archivo stands in for Founders Grotesk
   Condensed: same neo-grotesque bones, open licence, and a width axis that
   takes it to the same condensed proportion.
   ========================================================================== */

:root {
  /* --- colour ---------------------------------------------------------- */
  --forest: #2f5a2c;        /* headlines, dark fields, primary buttons      */
  --forest-deep: #23441f;   /* hovers                                        */
  --sage: #b6cba5;          /* the hero field                                */
  --mint: #e8efe4;          /* page ground                                   */
  --paper: #ffffff;
  --lime: #90b96d;          /* the one accent: numbers, marks, underlines    */
  --ink: #333333;           /* body copy                                     */
  --ink-soft: #5f6b5c;
  --line: rgba(47, 90, 44, .18);

  /* --- type ------------------------------------------------------------ */
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;
  --wide: 100;              /* width axis for body                           */
  --narrow: 79;             /* width axis for display                        */

  /* --- space ----------------------------------------------------------- */
  --gutter: clamp(20px, 3vw, 40px);
  --section: clamp(72px, 10vw, 160px);
  --radius: 12px;
  --radius-sm: 6px;
  --pill: 200px;
}

/* --------------------------------------------------------------------------
   reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--display);
  font-variation-settings: "wdth" var(--wide);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--lime); color: var(--forest-deep); }

/* --------------------------------------------------------------------------
   type scale — display sizes are condensed, tight and set in forest green
   -------------------------------------------------------------------------- */
.display, h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "wdth" var(--narrow);
  color: var(--forest);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: .78;
  margin: 0;
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(54px, 8.2vw, 116px); }
h2, .h2 { font-size: clamp(40px, 6vw, 86px); }
h3, .h3 { font-size: clamp(26px, 2.6vw, 38px); line-height: .9; }
.h4 {
  font-family: var(--display);
  font-variation-settings: "wdth" var(--narrow);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--forest);
  margin: 0;
}
.caps { text-transform: uppercase; letter-spacing: -0.015em; }
.lede {
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--forest);
  max-width: 30ch;
  margin: 0;
}
p { margin: 0 0 1.1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }
.small { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.eyebrow {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--forest);
  opacity: .62;
  margin: 0 0 18px;
}
.hand {
  font-family: var(--hand);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.1;
  color: var(--forest);
  letter-spacing: 0;
  transform: rotate(-6deg);
  display: inline-block;
}
.mark { color: var(--lime); }

/* --------------------------------------------------------------------------
   layout
   -------------------------------------------------------------------------- */
.wrap { width: 100%; padding-inline: var(--gutter); margin-inline: auto; max-width: 1560px; }
.section { padding-block: var(--section); }
.field-sage { background: var(--sage); }
.field-mint { background: var(--mint); }
.field-forest { background: var(--forest); color: rgba(255,255,255,.82); }
.field-paper { background: var(--paper); }
.field-forest h1, .field-forest h2, .field-forest h3, .field-forest .h4,
.field-forest .lede, .field-forest .eyebrow { color: var(--paper); }
.field-forest .eyebrow { opacity: .55; }

.grid { display: grid; gap: clamp(24px, 3vw, 48px); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.split h2 { max-width: 13ch; }

/* --------------------------------------------------------------------------
   buttons — a pill with a circular icon chip riding on its left
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 26px 9px 9px;
  border: 0;
  border-radius: var(--pill);
  background: var(--forest);
  color: var(--paper);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.btn .chip {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest-deep);
  display: grid; place-items: center;
  flex: none;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.btn:hover { background: var(--forest-deep); }
.btn:hover .chip { transform: rotate(45deg); }
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.btn.ghost { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost .chip { background: var(--forest); color: var(--paper); }
.btn.ghost:hover { background: rgba(47,90,44,.06); }
.btn.light { background: var(--paper); color: var(--forest); }
.btn.light .chip { background: var(--sage); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-underline {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--forest); font-weight: 500;
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 3px;
  transition: border-color .25s ease, gap .25s ease;
}
.link-underline:hover { border-color: var(--forest); gap: 12px; }

/* --------------------------------------------------------------------------
   the circular badge — a big number, a small caption, on white
   -------------------------------------------------------------------------- */
.badge {
  width: clamp(108px, 11vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(35, 68, 31, .10);
}
.badge b {
  display: block;
  font-variation-settings: "wdth" var(--narrow);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: .9;
  color: var(--forest);
}
.badge span { display: block; font-size: 12px; line-height: 1.2; color: var(--ink-soft); margin-top: 6px; max-width: 12ch; }
.ring {
  position: absolute;
  border: 1.5px solid rgba(47, 90, 44, .22);
  border-radius: 50%;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   cards — flat colour panels with a circular emblem on the top edge
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--sage);
  color: var(--forest-deep);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 44px);
  padding-top: clamp(44px, 4vw, 56px);
}
.card.pale { background: var(--paper); }
.card.deep { background: var(--forest); color: rgba(255,255,255,.8); }
.card.deep .h4, .card.deep h3 { color: var(--paper); }
.card .emblem {
  position: absolute;
  top: -22px; left: clamp(28px, 3vw, 44px);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--forest);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(35, 68, 31, .12);
}
.card.deep .emblem { background: var(--lime); color: var(--forest-deep); }
.card p { font-size: 16.5px; line-height: 1.5; max-width: 40ch; }
.card .h4 { margin-bottom: 12px; }

/* --------------------------------------------------------------------------
   the app window — our product photography, drawn rather than photographed
   -------------------------------------------------------------------------- */
.window {
  border-radius: 14px;
  background: #0f1512;
  box-shadow: 0 40px 90px rgba(28, 54, 25, .28), 0 4px 10px rgba(28, 54, 25, .12);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.window-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: #131a15;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.window-bar b {
  margin-left: 10px; font-size: 12px; font-weight: 400;
  color: rgba(255,255,255,.4); letter-spacing: .02em;
}
.window-body { padding: clamp(14px, 1.6vw, 22px); }

/* --------------------------------------------------------------------------
   navigation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  background: color-mix(in srgb, var(--mint) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.on-sage { background: color-mix(in srgb, var(--sage) 86%, transparent); }
.nav.scrolled { border-color: var(--line); }
.nav-logo { display: inline-flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 34px); align-items: center; }
.nav-links a {
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--forest);
  position: relative; padding-block: 4px;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--forest); transition: right .3s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-toggle { display: none; }

/* --------------------------------------------------------------------------
   footer
   -------------------------------------------------------------------------- */
.footer { background: var(--forest); color: rgba(255,255,255,.7); padding-top: clamp(64px, 7vw, 110px); overflow: hidden; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: var(--paper); }
.footer h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 0 0 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-word {
  font-family: var(--display);
  font-variation-settings: "wdth" var(--narrow);
  font-weight: 600;
  /* One line, edge to edge: a wordmark that wraps reads as a mistake. */
  font-size: clamp(44px, 12.8vw, 205px);
  white-space: nowrap;
  line-height: .78;
  letter-spacing: -0.045em;
  color: rgba(255,255,255,.1);
  margin: clamp(32px, 5vw, 70px) 0 0;
  user-select: none;
}
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 26px; padding: 22px 0 30px;
  display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between;
  font-size: 13.5px; color: rgba(255,255,255,.5);
}

/* --------------------------------------------------------------------------
   motion — everything starts hidden only when JS is there to reveal it
   -------------------------------------------------------------------------- */
/* Nothing is hidden by the stylesheet. The animation starts from a state the
   script sets the moment before it plays, so a visitor whose browser throttles
   animation — a background tab, a slow machine, a blocked CDN — reads the page
   as written instead of staring at nothing. */
/* The mask each word rises out of. Display type set at 0.78 line-height has
   glyphs taller than its line box, so the mask is padded to let capitals and
   descenders through, and pulled back by the same amount so the rhythm of the
   heading does not change. */
.js .reveal-word .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding: .1em 0 .18em;
  margin: -.1em 0 -.18em;
}
.js .reveal-word .word-in { display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  /* The bar stays one line at any width: a nav that wraps pushes the page
     down and looks broken before a word has been read. */
  .nav { padding: 11px var(--gutter); gap: 10px; flex-wrap: nowrap; }
  .nav-logo { gap: 8px; }
  .nav-logo img { width: 28px; height: 28px; }
  .nav-logo .h4 { font-size: 19px; white-space: nowrap; }
  .nav .btn { padding: 5px 15px 5px 5px; font-size: 15px; gap: 8px; }
  .nav .btn .chip { width: 28px; height: 28px; }
  .nav-toggle { width: 38px; height: 38px; }
  .nav-links { inset: 60px 0 auto; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: minmax(0, 1fr); }
  .nav-links {
    position: fixed; inset: 64px 0 auto; flex-direction: column; align-items: flex-start;
    gap: 4px; padding: 20px var(--gutter) 28px; background: var(--mint);
    border-bottom: 1px solid var(--line); transform: translateY(-120%);
    transition: transform .4s cubic-bezier(.22,1,.36,1);
  }
  .nav-links[data-open="true"] { transform: none; }
  .nav-links a { font-size: 26px; font-variation-settings: "wdth" var(--narrow); }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 42px; height: 42px;
    border-radius: 50%; background: var(--forest); color: var(--paper); border: 0; cursor: pointer;
  }
  .badge { width: 96px; }
}

/* ==========================================================================
   home
   ========================================================================== */
.hero { padding-bottom: clamp(56px, 7vw, 110px); overflow: hidden; }
.hero-word {
  font-size: clamp(46px, 12.4vw, 196px);
  line-height: .8;
  letter-spacing: -0.05em;
  text-align: center;
  white-space: nowrap;
  margin: clamp(6px, 1.4vw, 20px) 0 clamp(-30px, -2.4vw, -10px);
  color: var(--forest);
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, .68fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 52px);
  align-items: center;
}
.hero-badges { display: grid; gap: clamp(12px, 1.6vw, 22px); justify-items: start; }
.hero-badges .badge:nth-child(2) { margin-left: clamp(16px, 4vw, 58px); }
.hero-badges .badge:nth-child(3) { margin-left: clamp(4px, 1vw, 16px); }
.hero-product { position: relative; margin: 0; padding: clamp(14px, 2vw, 30px); }
.hero-product .window { transform: rotate(-1.4deg); }
.hero-note { position: absolute; right: clamp(-6px, -0.4vw, 0px); bottom: clamp(-26px, -2vw, -14px); max-width: 16ch; text-align: left; }
.hero-copy { align-self: center; }
/* The wordmark is the loudest thing on the page; the claim sits under it. */
.hero-claim { font-size: clamp(36px, 4.4vw, 72px); margin-bottom: clamp(14px, 1.6vw, 22px); }
.hero-copy .lede { margin-bottom: 18px; }
.hero-sub { font-size: 17px; line-height: 1.5; color: var(--forest-deep); opacity: .78; max-width: 40ch; margin-bottom: 26px; }

/* the drawn app window ---------------------------------------------------- */
.ui-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.ui-eyebrow { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 6px; }
.ui-title { display: block; font-size: clamp(15px, 1.3vw, 19px); font-weight: 500; color: #eef4ec; letter-spacing: -0.01em; }
.ui-pill { font-size: 11px; padding: 5px 11px; border-radius: 999px; background: rgba(144,185,109,.16); color: #a9cf8a; white-space: nowrap; }
.ui-rows { display: grid; gap: 1px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.07); border-radius: 8px; overflow: hidden; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; background: #121a14; }
.ui-row span { font-size: 13px; color: rgba(255,255,255,.45); }
.ui-row b { font-size: 14px; font-weight: 500; color: #eef4ec; }
.ui-accent { color: #a9cf8a !important; }
.ui-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ui-btn { font-size: 12.5px; padding: 8px 14px; border-radius: 999px; background: var(--lime); color: #1d3a19; font-weight: 500; }
.ui-btn.ghost { background: transparent; color: rgba(255,255,255,.5); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }

/* sections ---------------------------------------------------------------- */
.section-head { max-width: min(100%, 980px); margin-bottom: clamp(40px, 5vw, 78px); }
.section-head h2 { max-width: 15ch; }
.section-head .lede { max-width: 32ch; margin-top: 22px; }
.promise-grid { align-items: start; }
.promise-grid .card:nth-child(2) { margin-top: clamp(0px, 3vw, 46px); }
.promise-grid .card:nth-child(3) { margin-top: clamp(0px, 6vw, 92px); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: clamp(64px, 8vw, 132px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(24px, 2.6vw, 38px);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.step-no {
  font-variation-settings: "wdth" var(--narrow);
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: .8;
  color: var(--sage);
}
.step p { margin-top: 8px; font-size: 16.5px; line-height: 1.5; color: var(--ink-soft); max-width: 58ch; }
.step:hover .step-no { color: var(--lime); transition: color .3s ease; }

.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rules li { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 16.5px; line-height: 1.5; }
.rules li:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.rules b { color: var(--paper); font-weight: 500; }
.rules-sub { max-width: 46ch; margin-bottom: 22px; color: rgba(255,255,255,.72); }
.field-forest .hand { color: var(--lime); }

.data-grid .card { padding-top: clamp(44px, 4vw, 56px); }
.data-link { margin-top: clamp(28px, 3vw, 44px); }

.who-facts { display: grid; gap: 18px; }
.fact { background: rgba(255,255,255,.55); border-radius: var(--radius); padding: 22px 24px; }
.fact b { display: block; font-variation-settings: "wdth" var(--narrow); font-size: 22px; color: var(--forest); letter-spacing: -0.02em; margin-bottom: 6px; }
.fact span { font-size: 16px; line-height: 1.45; color: var(--forest-deep); opacity: .8; }
.who-sub { max-width: 46ch; margin-bottom: 26px; color: var(--forest-deep); }

.closing { text-align: center; display: grid; justify-items: center; gap: 22px; }
.closing-line { max-width: 16ch; }
.closing-sub { max-width: 46ch; }
.closing-actions { justify-content: center; }

.footer-grid { gap: clamp(28px, 3vw, 48px); }
@media (max-width: 1100px) {
  .hero-stage { grid-template-columns: minmax(0, 1fr); }
  .hero-badges { grid-auto-flow: column; justify-content: start; }
  .hero-badges .badge { margin: 0 !important; }
  .hero-copy { max-width: 46ch; }
  .hero-note { position: static; display: block; margin-top: 18px; }
}
@media (max-width: 760px) {
  .hero-badges { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
  .hero-badges .badge { width: 100%; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ==========================================================================
   long-form pages — legal, about, documentation
   ========================================================================== */
.page-doc { background: var(--paper); }
.doc { padding-block: clamp(48px, 6vw, 96px) clamp(64px, 8vw, 130px); }
.doc-head { max-width: min(100%, 900px); margin-bottom: clamp(36px, 4vw, 64px); }
.doc-head h1 { max-width: 15ch; margin-bottom: 20px; }
.doc-head .lede { max-width: 34ch; }
.doc-date { margin-top: 18px; }
.doc-body { max-width: 74ch; }
.doc-wide .doc-body { max-width: 80ch; }
.doc-body h2 {
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: .95;
  margin: clamp(38px, 4vw, 62px) 0 14px;
  max-width: 20ch;
}
.doc-body h3 {
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.1;
  margin: 28px 0 10px;
}
.doc-body p, .doc-body li { font-size: 17px; line-height: 1.6; color: var(--ink); }
.doc-body a:not(.btn):not(.link-underline) { color: var(--forest); border-bottom: 1.5px solid var(--line); }
.doc-body a:not(.btn):not(.link-underline):hover { border-color: var(--forest); }
.doc-body ul, .doc-body ol { padding-left: 1.15em; margin: 0 0 1.2em; display: grid; gap: 9px; }
.doc-body li { max-width: 68ch; }
.doc-summary {
  background: var(--mint);
  border-left: 3px solid var(--lime);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 22px 24px;
  max-width: none;
  margin-bottom: 8px;
}
.doc-summary b { color: var(--forest); }
.doc-note {
  background: var(--mint);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  font-size: 16.5px !important;
  max-width: none;
}
.doc-steps { counter-reset: step; list-style: none; padding: 0; gap: 14px; }
.doc-steps li { position: relative; padding-left: 44px; }
.doc-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  font-variation-settings: "wdth" var(--narrow);
  font-weight: 600; font-size: 19px; letter-spacing: -0.02em;
  color: var(--lime);
}
.doc-steps b { color: var(--forest); font-weight: 600; }
.doc-table { width: 100%; border-collapse: collapse; margin: 6px 0 1.4em; font-size: 16.5px; }
.doc-table th, .doc-table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table th { font-weight: 600; color: var(--forest); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.doc-table td:first-child { color: var(--forest); font-weight: 500; width: 34%; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 34px); align-items: start; }
.contact-grid .card p { max-width: 46ch; }
.contact-grid .card:nth-child(even) { margin-top: clamp(0px, 2.4vw, 38px); }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid .card:nth-child(even) { margin-top: 0; }
}

/* ==========================================================================
   the catalogue strip — products as the application judges them
   ========================================================================== */
.catalogue-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 60px);
}
.catalogue-head h2 { max-width: 14ch; }
.catalogue-sub { color: var(--forest-deep); opacity: .82; max-width: 44ch; font-size: 16.5px; line-height: 1.55; }
/* The results page, annotated — an illustration drawn in this site's own
   colours, never a screenshot of Google. Three bands: what a feed puts up,
   what this application writes, and what the page gives away for free. */
.serp {
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(16px, 2vw, 26px);
  box-shadow: 0 30px 70px rgba(35, 68, 31, .12);
}
.serp-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.serp-field {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--mint); color: var(--forest);
  border-radius: var(--pill); padding: 10px 20px;
  font-size: 15.5px; min-width: min(100%, 320px);
}
.serp-tabs { display: flex; gap: 18px; font-size: 14px; color: var(--ink-soft); }
.serp-tabs b { color: var(--forest); font-weight: 600; border-bottom: 2px solid var(--lime); padding-bottom: 3px; }

.serp-band {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 40px);
  padding: clamp(20px, 2.2vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}
.serp-band:last-child { border-bottom: 0; padding-bottom: 6px; }
.serp-label b {
  display: block;
  font-variation-settings: "wdth" var(--narrow);
  font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.02em; line-height: 1;
  color: var(--forest); margin-bottom: 8px;
}
.serp-label span { display: block; font-size: 14px; line-height: 1.45; color: var(--ink-soft); max-width: 30ch; }
.serp-tag {
  display: inline-block !important;
  margin-top: 10px;
  background: var(--lime); color: var(--forest-deep) !important;
  border-radius: var(--pill); padding: 5px 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
}
/* The band this application is responsible for is the one that is lit. */
.serp-band.ours {
  background: var(--mint);
  border-radius: var(--radius-sm);
  padding-inline: clamp(14px, 1.6vw, 22px);
  border-bottom-color: transparent;
  box-shadow: inset 3px 0 0 var(--lime);
}
.serp-sponsored, .ad-label {
  display: inline-block; margin: 0 0 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
}
.ad-label { color: var(--forest); background: var(--paper); border-radius: 4px; padding: 3px 8px; }
.ad-url { margin: 0 0 4px; font-size: 14px; color: var(--ink-soft); }
.ad-title {
  font-size: clamp(20px, 1.9vw, 26px); line-height: 1.05; margin: 0 0 7px;
  color: var(--forest);
}
.ad-copy { font-size: 15.5px; line-height: 1.45; color: var(--ink); margin: 0; max-width: 56ch; }
.ad-bid { margin: 12px 0 0; font-size: 14px; color: var(--ink-soft); }
.ad-bid b { color: var(--forest); }
.ad-title.organic, .ad-url.organic { opacity: .72; }

/* the shopping cards: picture, name, price, shop — as a feed presents them */
.shop-row {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px);
}
.shop-card {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px; display: grid; gap: 3px; align-content: start;
  background: var(--paper);
}
.shop-photo { aspect-ratio: 1; overflow: hidden; margin-bottom: 8px; }
.shop-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.shop-card:hover .shop-photo img { transform: scale(1.05); }
.shop-title { font-size: 14.5px; line-height: 1.25; color: var(--forest); }
.shop-price { font-size: 15px; font-weight: 600; color: var(--ink); }
.shop-seller { font-size: 13px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .serp-band { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .serp-label span { max-width: none; }
  .shop-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.catalogue-note { margin-top: clamp(18px, 2vw, 30px); color: var(--forest-deep); opacity: .62; }
@media (max-width: 1000px) {
  .catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalogue-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 560px) {
  .catalogue { grid-template-columns: minmax(0, 1fr); }
  .tile:nth-child(even) { margin-top: 0; }
}

/* Below a narrow phone the call to action keeps only its arrow. */
@media (max-width: 430px) {
  .nav .btn .btn-label { display: none; }
  .nav .btn { padding: 5px; }
  .hero-badges { gap: 8px; }
  .badge { width: 100%; }
  .badge b { font-size: 22px; }
  .badge span { font-size: 11px; }
}
