/* B2B Web Systems: minimal, calm, one page.
   Palette and typeface are the existing brand: cream, ink, evergreen, forest, lime. General Sans. */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallback so text does not jump when the font arrives */
@font-face {
  font-family: "General Sans Fallback";
  src: local("Arial");
  ascent-override: 91.05%;
  descent-override: 21.64%;
  line-gap-override: 9.01%;
  size-adjust: 110.93%;
}

/* ---------- Tokens ---------- */
:root {
  --cream: #f6f6f0;
  --paper: #ecede6;
  --mist: #e2e5dc;
  --white: #fff;
  --ink: #11211a;
  --ink-2: #3b4a42;
  --ink-3: #5f6b64;
  --evergreen: #204b3e;
  --forest-600: #18372c;
  --forest: #10221a;
  --forest-950: #08130e;
  --lime: #cefa77;
  --lime-soft: #d4f599;

  --line: rgb(17 33 26 / 0.1);
  --line-strong: rgb(17 33 26 / 0.18);

  --font: "General Sans", "General Sans Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 11vw, 9rem);
  --header: 72px;

  --shadow-sm: 0 1px 2px rgb(16 34 26 / 0.06), 0 1px 1px rgb(16 34 26 / 0.04);
  --shadow-md: 0 18px 36px -18px rgb(16 34 26 / 0.28), 0 2px 6px rgb(16 34 26 / 0.05);
  --shadow-lg: 0 60px 100px -50px rgb(16 34 26 / 0.5), 0 22px 40px -22px rgb(16 34 26 / 0.2);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
svg {
  display: block;
}
::selection {
  background: var(--lime);
  color: var(--forest);
}
:focus-visible {
  outline: 2px solid var(--evergreen);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.9375rem;
  transition: top 0.2s var(--ease);
}
.skip:focus {
  top: 1rem;
}
/* 8px marker at the very top; the header watches it instead of listening to scroll */
.sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 8px;
  pointer-events: none;
}

/* line icons (paths live in the sprite) */
.i {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: none;
  border-radius: 50%;
  background: var(--evergreen);
  box-shadow: 0 0 0 4px rgb(206 250 119 / 0.75);
}
.display {
  font-size: clamp(2.9rem, 1.2rem + 5.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}
.display > span {
  display: block;
}
.title {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 36ch;
  text-wrap: pretty;
}
.fine {
  font-size: 0.875rem;
  color: var(--ink-3);
}

/* lime highlighter swipe under a word (visible by default; swept in by .rise) */
.hl {
  background-image: linear-gradient(transparent 63%, var(--lime) 63% 93%, transparent 93%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.07em;
  margin-inline: -0.07em;
}

/* ---------- Entrance motion ---------- */
/* First screen: pure CSS, so the first paint never waits for JavaScript */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sweep {
  from {
    background-size: 0% 100%;
  }
  to {
    background-size: 100% 100%;
  }
}
.rise {
  animation: rise 0.8s var(--ease) var(--d, 0s) both;
}
.rise .hl {
  animation: sweep 1.1s var(--ease) 0.5s both;
}

/* Below the fold: revealed on scroll (only when scripting is on; fails safe) */
@keyframes failsafe {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (scripting: enabled) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  .reveal:not(.is-in) {
    animation: failsafe 0.01s 4s forwards;
  }
}
.d1 {
  --d: 0.06s;
}
.d2 {
  --d: 0.12s;
}
.d3 {
  --d: 0.18s;
}
.d4 {
  --d: 0.24s;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  background: rgb(246 246 240 / 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.bar {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.brand-mark {
  width: 3.1rem;
  height: 1.84rem;
  color: var(--evergreen);
}
.brand-text {
  font-size: 0.8125rem;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav {
  display: none;
  align-items: center;
  gap: clamp(1.1rem, 1.9vw, 1.9rem);
  margin-inline-start: auto;
  margin-inline-end: 0.5rem;
}
.nav a {
  position: relative;
  font-size: 0.9375rem;
  color: var(--ink-2);
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
@media (min-width: 1060px) {
  .nav {
    display: flex;
  }
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.pill:hover {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.pill--solid {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.pill--solid:hover {
  background: var(--evergreen);
  border-color: var(--evergreen);
}
.bar-end {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-inline-start: auto;
}
@media (min-width: 1060px) {
  .bar-end {
    margin-inline-start: 0;
  }
}
@media (max-width: 639px) {
  .bar-end > .pill {
    display: none;
  }
}

/* ---------- Menu (a native disclosure: works without JavaScript) ---------- */
.menu > summary {
  list-style: none;
}
.menu > summary::-webkit-details-marker {
  display: none;
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1rem 0.55rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.25s;
}
.menu-btn:hover {
  background: var(--paper);
}
.menu-bars {
  position: relative;
  display: block;
  width: 1rem;
  height: 0.5rem;
}
.menu-bars i {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu-bars i:first-child {
  top: 0;
}
.menu-bars i:last-child {
  top: calc(100% - 1.5px);
}
.menu[open] .menu-bars i:first-child {
  top: calc(50% - 0.75px);
  transform: rotate(45deg);
}
.menu[open] .menu-bars i:last-child {
  top: calc(50% - 0.75px);
  transform: rotate(-45deg);
}
.menu-t--close,
.menu[open] .menu-t--open {
  display: none;
}
.menu[open] .menu-t--close {
  display: inline;
}
@media (min-width: 1060px) {
  .menu {
    display: none;
  }
}
.menu-panel {
  position: fixed;
  inset: var(--header) 0 0 0;
  z-index: 45;
  overflow: auto;
  overscroll-behavior: contain;
  padding-block: 1.25rem 3rem;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.site-header:has(.menu[open]) {
  background: var(--cream);
  box-shadow: 0 1px 0 var(--line);
}
html:has(.menu[open]) {
  overflow: hidden;
}
.menu-grid {
  display: grid;
  gap: 2rem 4rem;
}
@media (min-width: 860px) {
  .menu-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}
.menu-list {
  display: grid;
}
.menu-link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.menu-link:hover,
.menu-link[aria-current="page"] {
  color: var(--evergreen);
}
.menu-n {
  flex: none;
  width: 1.6rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.menu-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  padding: 0 0 0.6rem 2.6rem;
}
.menu-sub a {
  display: block;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--ink-2);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.menu-sub a:hover {
  background: var(--lime-soft);
  border-color: transparent;
  color: var(--forest);
}
.menu-side {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 1rem;
}
.menu-side a:not(.btn) {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--forest);
  --fg: var(--cream);
  --ico-bg: var(--lime);
  --ico-fg: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0.45rem 0.45rem 1.6rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  box-shadow: 0 14px 28px -16px rgb(16 34 26 / 0.7);
  transition: background-color 0.25s, transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:hover {
  background: var(--evergreen);
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -16px rgb(16 34 26 / 0.7);
}
.btn-ico {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ico-bg);
  color: var(--ico-fg);
  transition: transform 0.4s var(--ease);
}
.btn:hover .btn-ico {
  transform: translateX(3px);
}
.btn--lime {
  --bg: var(--lime);
  --fg: var(--forest);
  --ico-bg: var(--forest);
  --ico-fg: var(--lime);
  box-shadow: none;
}
.btn--lime:hover {
  background: var(--lime-soft);
  box-shadow: none;
}
.btn--lime:focus-visible {
  outline-color: var(--lime);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5.5rem);
}
.hero::before {
  /* faint dot grid, fades out from the demo */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(17 33 26 / 0.1) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 62%, #000 0%, transparent 80%);
  mask-image: radial-gradient(70% 55% at 50% 62%, #000 0%, transparent 80%);
  pointer-events: none;
}
.hero-head {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.hero-title {
  display: grid;
  gap: clamp(1.4rem, 2.4vw, 2rem);
  justify-items: start;
}
.hero-title .eyebrow {
  align-items: flex-start;
  line-height: 1.5;
}
.hero-title .eyebrow .dot {
  margin-top: 0.4rem;
}
.hero-lede {
  display: grid;
  gap: 1.1rem;
  justify-items: start;
}
.hero-lede .cta-row {
  margin-top: 0.15rem;
}
@media (min-width: 980px) {
  /* the same 60 / 40 split runs through the headline row and the two doors below it */
  .hero-head,
  .doors {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
  .hero-head {
    align-items: center;
    column-gap: clamp(2rem, 4vw, 4rem);
  }
}
.eyebrow .sep {
  display: none;
}
@media (min-width: 560px) {
  .eyebrow .sep {
    display: inline;
  }
}
.eyebrow-text > span {
  display: block;
}
@media (min-width: 560px) {
  .eyebrow-text > span {
    display: inline;
  }
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.25rem;
}
.live {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 0.4rem;
}
.live-dot {
  position: relative;
  width: 0.6rem;
  height: 0.6rem;
  flex: none;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: #2e9d6b;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #2e9d6b;
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  80%,
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* ---------- Hero: two doors, systems 60 / creative 40 ---------- */
.doors {
  position: relative;
  display: grid;
  gap: 1.25rem;
}
.door {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
  padding: clamp(0.7rem, 3.4vw, 1.5rem);
  border-radius: var(--r-xl);
}
.door-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-left: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.door-tag::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
}
.door-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: auto;
  padding-inline: 0.2rem;
}
.door-foot .live {
  margin-top: 0;
}
.door-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.door-link .i {
  width: 1rem;
  height: 1rem;
  transition: transform 0.35s var(--ease);
}
.door-link:hover .i {
  transform: translateX(3px);
}
.door-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Systems: a light, lime-tinted panel around the live assistant */
.door--systems {
  background: rgb(206 250 119 / 0.3);
}
.door--systems .door-tag {
  color: var(--evergreen);
}
.door--systems .demo {
  width: 100%;
  max-width: 41rem;
  margin-inline: auto;
}
.door--systems .demo::before,
.door--systems .demo::after {
  display: none;
}
.door--systems .demo-card {
  grid-template-columns: minmax(0, 1fr);
  box-shadow: var(--shadow-md);
}
@container demo (max-width: 22rem) {
  .demo-sub {
    display: none;
  }
  .demo-top {
    flex-wrap: wrap;
  }
}
/* wide enough: the conversation on the left, what to ask and the log on the right, so the door is no taller than it needs to be */
@container demo (min-width: 40rem) {
  .door--systems .demo-card {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    column-gap: 1.25rem;
    align-items: start;
  }
  .demo-top {
    grid-column: 1 / -1;
  }
  .thread {
    grid-column: 1;
    grid-row: 2 / span 2;
    align-self: stretch;
  }
  .prompts {
    grid-column: 2;
    grid-row: 2;
  }
  .log {
    grid-column: 2;
    grid-row: 3;
  }
}

/* Creative: a dark panel around the film */
.door--creative {
  background: var(--forest);
  color: var(--cream);
}
.door--creative .door-tag,
.door--creative .door-link {
  color: var(--lime);
}
.door-film {
  display: flex;
  flex: 1 1 16rem;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 16rem;
  max-height: 28rem;
}
.door-film-media {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 13rem;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-lg);
  background: var(--forest-950);
}
.door-film-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.door-film:hover img {
  transform: scale(1.04);
}
.door-film:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: var(--r-lg);
}
.door-film-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.6rem;
  height: 3.6rem;
  margin: -1.8rem 0 0 -1.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest);
  transition: transform 0.4s var(--ease);
}
.door-film:hover .door-film-play {
  transform: scale(1.08);
}
.door-film-play .i {
  width: 1.3rem;
  height: 1.3rem;
  margin-left: 3px;
  fill: currentColor;
  stroke: none;
}
.door-film-cap {
  display: grid;
  gap: 0.15rem;
  padding-inline: 0.2rem;
}
.door-film-cap strong {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.door-film-cap span {
  font-size: 0.875rem;
  color: rgb(246 246 240 / 0.78);
}
.door-kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-inline: 0.2rem;
}
.door-kinds li {
  padding: 0.3rem 0.8rem;
  border: 1px solid rgb(246 246 240 / 0.24);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: rgb(246 246 240 / 0.86);
}

/* the second button: outline, same size as the first */
.btn--ghost {
  --bg: transparent;
  --fg: var(--forest);
  --ico-bg: var(--forest);
  --ico-fg: var(--lime);
  box-shadow: inset 0 0 0 1.5px var(--forest);
}
.btn--ghost:hover {
  --ico-bg: var(--lime);
  --ico-fg: var(--forest);
  background: var(--forest);
  color: var(--cream);
  box-shadow: inset 0 0 0 1.5px var(--forest);
}
.btn-ico .i-fill {
  width: 1rem;
  height: 1rem;
  margin-left: 2px;
  fill: currentColor;
  stroke: none;
}

/* ---------- Assistant demo ---------- */
.demo {
  position: relative;
  isolation: isolate;
  container: demo / inline-size;
  width: 100%;
  max-width: 34rem;
  justify-self: center;
}
.demo::before {
  /* lime glow */
  content: "";
  position: absolute;
  z-index: -2;
  inset: -14% -18% -10% -14%;
  background: radial-gradient(closest-side, rgb(206 250 119 / 0.7), rgb(206 250 119 / 0));
  animation: drift 16s ease-in-out infinite alternate;
}
.demo::after {
  /* tilted evergreen card behind; stays inside the gutter on phones */
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.8rem -0.55rem -0.8rem 0.8rem;
  border-radius: calc(var(--r-xl) + 2px);
  background: var(--evergreen);
  transform: rotate(1.6deg);
  transform-origin: 70% 90%;
}
@media (min-width: 640px) {
  .demo::after {
    inset: 1.1rem -0.9rem -0.9rem 1.1rem;
    transform: rotate(2.4deg);
  }
}
@keyframes drift {
  from {
    transform: translate3d(-3%, -2%, 0) scale(1);
  }
  to {
    transform: translate3d(4%, 3%, 0) scale(1.06);
  }
}
.demo-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid rgb(17 33 26 / 0.07);
  box-shadow: var(--shadow-lg);
}
.demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.2rem 0.2rem 0;
}
.demo-id {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  white-space: nowrap;
}
.avatar {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest);
}
.avatar .i {
  width: 1.1rem;
  height: 1.1rem;
}
.demo-name {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
}
.demo-sub {
  font-size: 0.8125rem;
  line-height: 1.25;
  color: var(--ink-3);
}
.seg {
  display: inline-flex;
  flex: none;
  padding: 3px;
  border-radius: 999px;
  background: rgb(17 33 26 / 0.06);
}
/* native radios: the browser handles grouping and arrow keys; the input covers its pill */
.seg label {
  position: relative;
  display: block;
  cursor: pointer;
}
.seg input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.seg span {
  display: block;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.seg input:checked + span {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 2px rgb(16 34 26 / 0.16), 0 0 0 1px rgb(16 34 26 / 0.05);
}
.seg input:focus-visible + span {
  outline: 2px solid var(--evergreen);
  outline-offset: 2px;
}
.seg-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.seg-label {
  display: none;
  font-size: 0.75rem;
  color: var(--ink-3);
}
/* only show the label when the card is wide enough for it */
@container demo (min-width: 28rem) {
  .seg-label {
    display: block;
  }
}

.thread {
  display: grid;
  padding: 1rem;
  border-radius: var(--r-lg);
  background: var(--cream);
}
.scene {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0s 0.3s;
}
.scene.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}
.msg-user {
  align-self: flex-end;
  max-width: 88%;
  padding: 0.65rem 1rem;
  border-radius: 18px 18px 6px 18px;
  background: var(--evergreen);
  color: var(--cream);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.msg-bot {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.msg-bot .avatar {
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.15rem;
}
.msg-bot .avatar .i {
  width: 0.9rem;
  height: 0.9rem;
}
.bubble {
  min-width: 0;
  flex: 1;
  padding: 0.8rem 1rem;
  border-radius: 18px 18px 18px 6px;
  background: var(--white);
  border: 1px solid rgb(17 33 26 / 0.08);
  box-shadow: var(--shadow-sm);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.bubble strong {
  font-weight: 600;
}
.rows {
  display: grid;
  margin-top: 0.6rem;
}
.rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0 0.1rem;
  border-top: 1px solid rgb(17 33 26 / 0.08);
  font-size: 0.875rem;
}
.rows li + li {
  margin-top: 0.45rem;
}
.row-name {
  display: grid;
  font-weight: 500;
}
.row-name small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ink-3);
}
.row-val {
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.draft {
  margin-top: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--r-sm);
  background: var(--cream);
  border: 1px dashed var(--line-strong);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.draft-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: var(--ink);
}
.draft-head span:last-child {
  font-weight: 500;
  color: var(--ink-3);
}
.diff {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  margin-top: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--r-sm);
  background: var(--cream);
  font-size: 0.8125rem;
}
.diff-what {
  font-weight: 500;
  color: var(--ink-2);
}
.diff-vals {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.diff-vals s {
  color: var(--ink-3);
  text-decoration-thickness: 1px;
}
.diff-vals b {
  font-weight: 600;
}
.diff-vals .i {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--ink-3);
}
.diff-vals em {
  font-style: normal;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgb(138 90 18 / 0.12);
  color: #8a5a12;
  font-size: 0.75rem;
  font-weight: 500;
}
.bubble-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  font-size: 0.8125rem;
  color: #1f6b4a;
}
.bubble-note .i {
  width: 0.95rem;
  height: 0.95rem;
}
.bubble-note.is-warn {
  color: #8a5a12;
}
.typing {
  display: none;
  flex: none;
  align-items: center;
  gap: 5px;
  padding: 1.05rem 1.1rem;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: blink 1.1s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
.scene.is-typing .answer {
  display: none;
}
.scene.is-typing .typing {
  display: inline-flex;
}

.prompts {
  display: grid;
  gap: 0.4rem;
}
.label {
  padding-inline: 0.2rem;
  font-size: 0.71875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.label-row span {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.62rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
  font-size: 0.9375rem;
  line-height: 1.35;
  text-wrap: balance;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.3s var(--ease);
}
.chip .i {
  width: 1rem;
  height: 1rem;
  color: var(--ink-3);
  transition: transform 0.3s var(--ease), color 0.2s;
}
.chip:hover {
  background: rgb(206 250 119 / 0.32);
  border-color: rgb(32 75 62 / 0.28);
}
.chip:hover .i {
  transform: translate(2px, -2px);
  color: var(--ink);
}
.chip[aria-pressed="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}
.chip[aria-pressed="true"] .i {
  color: var(--lime);
}
.hint {
  padding-inline: 0.2rem;
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.hint button {
  font-weight: 500;
  color: var(--evergreen);
  text-decoration: underline;
  text-decoration-color: rgb(32 75 62 / 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.hint button:hover {
  text-decoration-color: var(--evergreen);
}

.log {
  display: grid;
  gap: 0.4rem;
  padding: 0.85rem 0.2rem 0.15rem;
  border-top: 1px solid var(--line);
}
.log-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.log-head .i {
  width: 0.9rem;
  height: 0.9rem;
}
.log ul {
  display: grid;
  gap: 0.3rem;
}
.log li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.log time {
  flex: none;
  width: 4.1rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.log .new {
  display: none;
}
.log.has-new .new {
  display: flex;
  animation: log-in 1.4s var(--ease);
}
.log.has-new .old2 {
  display: none;
}
@keyframes log-in {
  from {
    background: rgb(206 250 119 / 0.75);
    transform: translateY(-4px);
    opacity: 0;
  }
  25% {
    opacity: 1;
    transform: none;
  }
  to {
    background: rgb(206 250 119 / 0);
  }
}

/* ---------- Calm-control row ---------- */
.control {
  position: relative;
  display: grid;
  gap: 1.5rem 2rem;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) {
  .control {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .control {
    grid-template-columns: repeat(4, 1fr);
  }
}
.control li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.ico {
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--evergreen);
}
.control strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.control li > div {
  padding-top: 0.15rem;
}
.control li > div > span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ink-3);
}

/* ---------- Why / who ---------- */
.why {
  padding-block: var(--section);
}
.why-grid {
  display: grid;
  align-items: start;
  gap: 1.75rem 3rem;
}
@media (min-width: 900px) {
  .why-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  }
  .why-grid .eyebrow {
    padding-top: 1.1rem;
  }
}
.big {
  font-size: clamp(1.75rem, 1rem + 2.9vw, 3.25rem);
  line-height: 1.13;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.big .accent {
  display: block;
  margin-top: 0.55em;
  color: var(--evergreen);
}
.nb {
  white-space: nowrap;
}
/* Words warm up from a mid grey-green (3.3:1 on cream, so never unreadable) to full ink */
@media (scripting: enabled) {
  .big.is-scrub .w {
    color: #7c8982;
    transition: color 0.6s var(--ease);
  }
  .big.is-scrub .w.on {
    color: var(--ink);
  }
  .big.is-scrub .accent .w.on {
    color: var(--evergreen);
  }
}

.who {
  margin-top: clamp(4rem, 8vw, 6.5rem);
}
.who-title {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
}
.cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 620px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .cards,
  .cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.card {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgb(255 255 255 / 0.7);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-color 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.card .ico {
  background: var(--lime-soft);
  color: var(--forest);
}
.card h3 {
  font-size: 1.1875rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.card p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-3);
}
/* a card that is a link fills its grid cell and shows where it leads */
.cards > li > .card--link {
  height: 100%;
}
.card--link {
  color: inherit;
}
.card-sub {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-3);
}
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--evergreen);
}
.card-more .i {
  width: 1rem;
  height: 1rem;
  transition: transform 0.35s var(--ease);
}
.card--link:hover .card-more .i {
  transform: translateX(4px);
}
@media (max-width: 619px) {
  /* compact rows on phones: icon left, words right */
  .card {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.2rem 1rem;
    padding: 1.2rem;
  }
  .card .ico {
    grid-row: 1 / span 4;
  }
  .card h3 {
    align-self: end;
  }
  .card > :not(.ico):not(h3) {
    grid-column: 2;
  }
  .card:not(:has(.ico)) {
    grid-template-columns: 1fr;
  }
  .card:not(:has(.ico)) > * {
    grid-column: auto;
  }
}

/* ---------- Proof (dark) ---------- */
.proof {
  position: relative;
  overflow: clip;
  padding-block: var(--section);
  background: var(--forest);
  color: var(--cream);
}
.proof::before {
  content: "";
  position: absolute;
  width: 60rem;
  height: 60rem;
  right: -22rem;
  top: -26rem;
  background: radial-gradient(closest-side, rgb(206 250 119 / 0.14), rgb(206 250 119 / 0));
  pointer-events: none;
}
.proof::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(246 246 240 / 0.07) 1px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%);
  mask-image: linear-gradient(180deg, #000, transparent 60%);
  pointer-events: none;
}
.proof .wrap {
  position: relative;
  z-index: 1;
}
.proof .eyebrow {
  color: var(--lime);
}
.proof .title {
  max-width: 16ch;
  margin-top: 1.1rem;
}
.proof .title em {
  font-style: normal;
  color: var(--lime);
}
.num {
  white-space: nowrap;
  font-size: clamp(2.6rem, 1.2rem + 5vw, 5.5rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgb(246 246 240 / 0.16);
}
.stats li {
  padding: 1.6rem 0;
  border-bottom: 1px solid rgb(246 246 240 / 0.16);
}
.stats li:nth-child(odd) {
  padding-right: 1.1rem;
}
.stats li:nth-child(even) {
  padding-left: 1.1rem;
  border-left: 1px solid rgb(246 246 240 / 0.16);
}
@media (min-width: 720px) {
  .stats li {
    padding-block: 2.25rem;
  }
  .stats li:nth-child(odd) {
    padding-right: 2rem;
  }
  .stats li:nth-child(even) {
    padding-left: 2rem;
  }
  .num {
    font-size: 4.5rem;
  }
}
@media (min-width: 1000px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .stats li:nth-child(n) {
    padding: 2.25rem 1.5rem;
    border-bottom: 0;
    border-left: 1px solid rgb(246 246 240 / 0.16);
  }
  .stats li:nth-child(1) {
    padding-left: 0;
    border-left: 0;
  }
  .num {
    font-size: clamp(3.25rem, 5.2vw, 5.5rem);
  }
}
.num .u {
  color: var(--lime);
}
.num .unit {
  margin-left: 0.18em;
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgb(246 246 240 / 0.72);
}
.cap {
  margin-top: 0.8rem;
  max-width: 17ch;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgb(246 246 240 / 0.72);
}
.proof .fine {
  margin-top: 1.5rem;
  color: rgb(246 246 240 / 0.6);
}
.biz {
  display: grid;
  gap: 1.5rem 3rem;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: 2.25rem;
  border-top: 1px solid rgb(246 246 240 / 0.16);
}
@media (min-width: 900px) {
  .biz {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: center;
  }
}
.biz-title {
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.brands {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) {
  .brands {
    grid-template-columns: repeat(4, 1fr);
  }
}
.brands li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgb(246 246 240 / 0.14);
  border-radius: var(--r-md);
  background: rgb(246 246 240 / 0.04);
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-kind {
  font-size: 0.8125rem;
  color: rgb(246 246 240 / 0.62);
}

/* ---------- Process ---------- */
.process {
  padding-block: var(--section);
}
.process .title {
  max-width: 14ch;
  margin-top: 1.1rem;
}
.steps {
  display: grid;
  gap: 0;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}
.step {
  position: relative;
  padding: 1.75rem 0 1.75rem 2.25rem;
  border-left: 1px solid var(--line-strong);
}
.step::before {
  content: "";
  position: absolute;
  left: -0.4rem;
  top: 2.15rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px var(--evergreen);
}
@media (min-width: 900px) {
  .step {
    padding: 2.25rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }
  .step::before {
    left: 0;
    top: -0.4rem;
  }
}
.step-no {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.step h3 {
  margin-top: 0.7rem;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.step p {
  margin-top: 0.6rem;
  max-width: 30ch;
  color: var(--ink-3);
}

/* ---------- Closing call to action ---------- */
.cta {
  padding-bottom: var(--section);
}
.cta-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: 1.4rem;
  justify-items: start;
  padding: clamp(2.25rem, 6vw, 5.5rem);
  border-radius: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--evergreen);
  color: var(--cream);
}
.cta-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 38rem;
  height: 38rem;
  right: -12rem;
  top: -16rem;
  background: radial-gradient(closest-side, rgb(206 250 119 / 0.26), rgb(206 250 119 / 0));
}
.cta-mark {
  position: absolute;
  z-index: -1;
  right: -3rem;
  bottom: -2.5rem;
  width: min(30rem, 70%);
  height: auto;
  aspect-ratio: 1300 / 770;
  color: var(--cream);
  opacity: 0.07;
}
.cta-panel .eyebrow {
  color: var(--lime);
}
.cta-panel .title {
  max-width: 17ch;
}
.cta-lead {
  max-width: 38ch;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.5;
  color: rgb(246 246 240 / 0.82);
}
.cta-panel .cta-row {
  margin-top: 0.6rem;
}
.mail {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  color: rgb(246 246 240 / 0.9);
}
.mail a {
  text-decoration: underline;
  text-decoration-color: rgb(246 246 240 / 0.35);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
  overflow-wrap: anywhere;
}
.mail a:hover {
  text-decoration-color: var(--lime);
}
.copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgb(246 246 240 / 0.28);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: rgb(246 246 240 / 0.9);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.copy .i {
  width: 0.9rem;
  height: 0.9rem;
}
.copy:hover {
  background: rgb(246 246 240 / 0.1);
}
.copy.is-done {
  border-color: var(--lime);
  color: var(--lime);
}
.cta-panel :focus-visible {
  outline-color: var(--lime);
}
.cta-panel .fine {
  color: rgb(246 246 240 / 0.7);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.25rem;
}
.foot-top {
  display: grid;
  gap: 2.5rem 3rem;
}
@media (min-width: 960px) {
  .foot-top {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
}
.foot-brand {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 1rem;
}
.foot-brand p {
  max-width: 26ch;
  font-size: 0.9375rem;
  color: var(--ink-3);
}
.foot-contact {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}
@media (min-width: 720px) {
  .foot-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.foot-h {
  margin-bottom: 0.9rem;
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.foot-cols ul {
  display: grid;
  gap: 0.55rem;
  font-size: 0.9375rem;
}
.foot-contact a,
.foot-cols a,
.foot-base a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s, color 0.2s;
}
.foot-cols a {
  color: var(--ink-2);
}
.foot-contact a:hover,
.foot-cols a:hover,
.foot-base a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.foot-base ul {
  display: flex;
  gap: 1.5rem;
}

/* ---------- 404 ---------- */
.lost {
  min-height: calc(100svh - var(--header));
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.5rem;
  padding-block: 4rem;
}

.lost-in {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
}
.lost-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.lost-links a {
  display: block;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.9375rem;
  color: var(--ink-2);
  transition: background-color 0.2s, border-color 0.2s;
}
.lost-links a:hover {
  background: var(--lime-soft);
  border-color: transparent;
  color: var(--forest);
}

/* ---------- Shared small pieces ---------- */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--evergreen);
  text-decoration: underline;
  text-decoration-color: rgb(32 75 62 / 0.3);
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s, gap 0.3s var(--ease);
}
.link:hover {
  gap: 0.75rem;
  text-decoration-color: var(--evergreen);
}
.link .i {
  width: 1rem;
  height: 1rem;
}
.proof .link {
  color: var(--lime);
  text-decoration-color: rgb(206 250 119 / 0.4);
}
.proof .link:hover {
  text-decoration-color: var(--lime);
}
.proof-link,
.process-link,
.control-more {
  margin-top: 1.75rem;
}
.control-more {
  margin-top: 2rem;
}
.u-link {
  color: var(--evergreen);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
