@font-face {
  font-family: "Discovery Fs";
  src: url("fonts/discovery-fs.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/*
 * Layout: an RTL editorial column on a calm near-white page, with an aurora moving slowly behind
 * it. Each section carries one live
 * instrument (the shift board, the cold-chain probe, the language switch); the type around
 * it stays quiet. Colors follow the portal's glass look (apps/web/app/glass.css).
 */
:root {
  color-scheme: light;

  /* page and ink */
  --paper: #fbfbfd;
  --paper-hi: #ffffff;
  --paper-lo: #f5f5f7;
  --ink: #1d1d1f;
  --ink-soft: #5c5c61;
  --line: rgb(0 0 0 / 0.08);
  --line-strong: rgb(0 0 0 / 0.17);
  --glass: rgb(255 255 255 / 0.72);

  /* the one color */
  --brand: #0071e3;
  --on-brand: #ffffff;
  --brand-ink: #0059b3;

  /* temperature, from the oven to the freezer */
  --hot: #c2570c;
  --cold: #0071e3;
  --ice: #0a7fae;

  /* states */
  --ok: #1a7f37;
  --warn: #a84b00;
  --alert: #d70015;
  --ok-wash: #e8f6ec;
  --hot-wash: #fdf1e5;
  --cold-wash: #e6f1fc;
  --ice-wash: #e4f3f9;

  /* the quiet section */
  --deep: rgb(245 245 247 / 0.72);
  --deep-card: #ffffff;
  --deep-line: #e3e3e8;
  --on-deep: #1d1d1f;
  --on-deep-soft: #5c5c61;
  --deep-accent: #0059b3;

  /* the tablet */
  --bezel: #1d1d1f;
  --bezel-hi: #3a3a3c;
  --bezel-ring: rgb(255 255 255 / 0.08);

  --shadow-soft: 0 1px 2px rgb(0 0 0 / 0.03), 0 6px 20px rgb(0 0 0 / 0.04);
  --shadow-panel: 0 2px 8px rgb(0 0 0 / 0.05), 0 24px 70px rgb(0 0 0 / 0.12);
  --shadow-device: 0 50px 100px -40px rgb(0 0 0 / 0.28), 0 24px 50px -30px rgb(0 0 0 / 0.18);

  /* type */
  --font: "Discovery Fs", "Segoe UI", "Arial Hebrew", "Noto Sans Hebrew", system-ui, sans-serif;
  --font-ar: "Noto Sans Arabic", "Geeza Pro", "Segoe UI", "Arial", sans-serif;
  --font-th: "Noto Sans Thai", "Thonburi", "Leelawadee UI", "Tahoma", sans-serif;
  /* The languages section's other scripts; index.html loads only the characters they show. */
  --font-noto: "Noto Sans", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
  --font-et: "Noto Sans Ethiopic", "Nyala", "Kefa", "Ebrima", sans-serif;
  --font-deva: "Noto Sans Devanagari", "Kohinoor Devanagari", "Nirmala UI", "Mangal", sans-serif;
  --font-si: "Noto Sans Sinhala", "Sinhala Sangam MN", "Nirmala UI", "Iskoola Pota", sans-serif;
  --font-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-ko: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --step-display: clamp(2.85rem, 1.55rem + 5.4vw, 6.2rem);
  --step-h2: clamp(2.1rem, 1.35rem + 3vw, 4.1rem);
  --step-lead: clamp(1.125rem, 1.02rem + 0.45vw, 1.3rem);
  --step-body: 1.0625rem;

  /* space and motion */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- base ---------- */

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

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

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.7;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

/* Buttons set their own display, which would otherwise override the hidden attribute. */
[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

::selection {
  background: color-mix(in oklab, var(--brand) 24%, transparent);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.i {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.125em;
}

/* Temperatures, times and counts read left to right inside Hebrew lines. */
.num {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed;
  inset-inline-start: 16px;
  top: -120px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: calc(16px + env(safe-area-inset-top, 0px));
}

.dot {
  color: var(--brand);
}

/* ---------- the aurora behind the page ---------- */

/*
 * main.js draws it moving on the canvas, which fades in over this still version. The still one is
 * what shows without WebGL. The page's cards are opaque, so the glass never has to blur it again.
 */
.aurora {
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 100vh;
  height: 100lvh;
  background:
    radial-gradient(62% 40% at 24% 26%, rgb(115 222 205 / 0.34), transparent 72%),
    radial-gradient(58% 44% at 62% 18%, rgb(102 174 255 / 0.36), transparent 72%),
    radial-gradient(44% 36% at 90% 30%, rgb(163 148 255 / 0.3), transparent 72%),
    var(--paper);
  pointer-events: none;
}

.aurora canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.aurora canvas.is-on {
  opacity: 1;
}

@media print {
  .aurora {
    display: none;
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding-inline: 28px;
  border: 0;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s, color 0.25s;
}

.btn .i {
  width: 1.15em;
  height: 1.15em;
  transition: transform 0.35s var(--ease);
}

.btn:hover .i {
  transform: translateX(-4px);
}

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

.btn--primary {
  background: var(--brand);
  color: var(--on-brand);
}

.btn--primary:hover {
  background: color-mix(in oklab, var(--brand) 90%, #ffffff);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn--ghost:hover {
  background: var(--paper-hi);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ink) 30%, transparent);
}

/* ---------- navigation ---------- */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  padding-inline: var(--gutter);
  pointer-events: none;
}

.nav__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--maxw);
  height: var(--nav-h);
  margin-inline: auto;
  padding-inline: 24px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  pointer-events: auto;
  transition: max-width 0.6s var(--ease), background-color 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.nav.is-scrolled .nav__bar,
.nav.is-open .nav__bar {
  max-width: 980px;
  background: var(--glass);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
}

.wordmark {
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
}

.wordmark span {
  color: var(--brand);
}

.nav__links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 2px;
}

.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.nav__links a:hover {
  color: var(--ink);
  background: color-mix(in oklab, var(--ink) 6%, transparent);
}

.nav__cta {
  height: 46px;
  padding-inline: 22px;
  font-size: 0.96rem;
}

.nav__toggle {
  display: none;
}

@media (max-width: 900px) {
  .nav__bar {
    gap: 8px;
    padding-inline: 20px 7px;
  }

  /* The wordmark is written left to right, so its inline start is the side facing the buttons. */
  .nav__bar .wordmark {
    margin-inline-start: auto;
  }

  .nav__toggle {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper-hi);
    color: var(--ink);
    font-size: 1.25rem;
    cursor: pointer;
  }

  .nav__links {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper-hi);
    box-shadow: var(--shadow-panel);
  }

  .nav.is-open .nav__links {
    display: flex;
  }

  .nav__links a {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 1.05rem;
    color: var(--ink);
  }
}

@media (max-width: 380px) {
  .nav__cta {
    padding-inline: 16px;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-block: calc(132px + env(safe-area-inset-top, 0px)) 0;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in oklab, var(--paper-hi) 82%, transparent);
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 550;
  line-height: 1.4;
}

.live {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}

.hero__title {
  margin-top: 30px;
  font-size: var(--step-display);
  font-weight: 230;
  line-height: 1.03;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__title > span,
.hero__title > b {
  display: block;
}

.hero__title > b {
  font-weight: 660;
  letter-spacing: -0.035em;
}

.hero__lead {
  max-width: 35em;
  margin: 26px auto 0;
  color: var(--ink-soft);
  font-size: var(--step-lead);
  line-height: 1.65;
  text-wrap: pretty;
}

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

.hero__note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.rise {
  animation: rise 1s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 1ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* The tablet is large: it rises without the blur, which would repaint it every frame. */
.stage.rise {
  animation-name: rise-plain;
  animation-duration: 1.2s;
}

@keyframes rise-plain {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- the tablet and its shift board ---------- */

.stage {
  position: relative;
  margin-top: clamp(48px, 5vw, 64px);
}

.device {
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(6px, 1vw, 12px);
  border-radius: clamp(20px, 3vw, 36px);
  background: linear-gradient(180deg, var(--bezel-hi), var(--bezel));
  box-shadow: var(--shadow-device), inset 0 0 0 1px var(--bezel-ring);
}

.device__screen {
  overflow: hidden;
  border-radius: clamp(14px, 2.2vw, 26px);
  background: var(--paper);
  text-align: start;
  container-type: inline-size;
}

.stage__note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.app {
  display: grid;
  gap: 1em;
  padding: 1.3em;
  background-color: var(--paper-lo);
  font-size: clamp(12px, 1.32cqi, 14.5px);
  line-height: 1.45;
}

.app__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0.75em 0.9em 0.75em 1em;
  border: 1px solid var(--line);
  border-radius: 0.8em;
  background: var(--paper-hi);
  box-shadow: 0 1px 2px color-mix(in oklab, var(--ink) 5%, transparent);
}

.app__brand,
.app__meta {
  display: flex;
  align-items: center;
  gap: 0.7em;
  min-width: 0;
}

.app__tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.6em;
  height: 2.6em;
  border-radius: 0.65em;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 1em;
}

.app__tile .i {
  width: 1.35em;
  height: 1.35em;
}

.app__title {
  display: grid;
  line-height: 1.25;
  min-width: 0;
}

.app__title b {
  font-size: 1.14em;
  font-weight: 650;
}

.app__title small {
  color: var(--ink-soft);
  font-size: 0.86em;
  font-weight: 500;
  white-space: nowrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.3em 0.8em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-hi);
  color: var(--ink-soft);
  font-size: 0.86em;
  font-weight: 550;
  white-space: nowrap;
}

.tag .live {
  width: 0.55em;
  height: 0.55em;
}

.app__clock {
  min-width: 3.2em;
  font-size: 1.15em;
  font-weight: 600;
  text-align: end;
}

.zones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85em;
  align-items: start;
}

.zone {
  display: grid;
  gap: 0.6em;
  padding: 0.75em;
  border: 1px solid var(--line);
  border-radius: 0.9em;
  background: color-mix(in oklab, var(--paper-hi) 62%, transparent);
}

.zone--blast {
  --z-bg: var(--cold-wash);
  --z-fg: var(--cold);
}

.zone--chill {
  --z-bg: var(--ice-wash);
  --z-fg: var(--ice);
}

.zone--ready {
  --z-bg: var(--ok-wash);
  --z-fg: var(--ok);
}

.zone__head {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.1em 0.15em 0.25em;
}

.zone__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2em;
  height: 2em;
  border-radius: 0.55em;
  background: var(--z-bg);
  color: var(--z-fg);
}

.zone__icon .i {
  width: 1.15em;
  height: 1.15em;
}

.zone__name {
  font-weight: 650;
  white-space: nowrap;
}

.zone__count {
  margin-inline-start: auto;
  color: var(--ink-soft);
  font-size: 0.86em;
  font-weight: 500;
  white-space: nowrap;
}

.cart {
  --c-bg: var(--cold-wash);
  --c-fg: var(--cold);
  --b: var(--cold);
  display: grid;
  gap: 0.4em;
  padding: 0.75em 0.85em 0.8em;
  border: 1px solid var(--line);
  border-radius: 0.7em;
  background: var(--paper-hi);
  box-shadow: 0 1px 2px color-mix(in oklab, var(--ink) 5%, transparent);
}

.zone--chill .cart {
  --c-bg: var(--ice-wash);
  --c-fg: var(--ice);
}

.cart__top,
.cart__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
}

.cart__id {
  font-weight: 650;
}

.chip {
  padding: 0.18em 0.7em;
  border-radius: 999px;
  background: var(--c-bg);
  color: var(--c-fg);
  font-size: 0.8em;
  font-weight: 650;
  white-space: nowrap;
}

.cart__food {
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart__meta {
  align-items: baseline;
  color: var(--ink-soft);
  font-size: 0.88em;
  white-space: nowrap;
}

.cart__timer {
  color: var(--ink);
  font-size: 1.22em;
  font-weight: 600;
}

.cart__ok,
.cart__dest {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.cart__ok {
  color: var(--ok);
  font-weight: 600;
}

.bar {
  height: 0.32em;
  margin-top: 0.15em;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 8%, transparent);
}

.bar i {
  display: block;
  width: calc(var(--p, 0) * 100%);
  height: 100%;
  border-radius: inherit;
  background: var(--b);
  transition: width 1s linear;
}

.cart--soon {
  --c-bg: var(--hot-wash);
  --c-fg: var(--warn);
  --b: var(--warn);
}

.cart--over {
  --c-bg: color-mix(in oklab, var(--alert) 11%, transparent);
  --c-fg: var(--alert);
  --b: var(--alert);
  border-color: color-mix(in oklab, var(--alert) 45%, var(--line));
}

.cart--over .cart__timer {
  color: var(--alert);
}

.cart--ready {
  --c-bg: var(--ok-wash);
  --c-fg: var(--ok);
}

@container (max-width: 760px) {
  .zones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zone--ready,
  .app__lang {
    display: none;
  }
}

@container (max-width: 470px) {
  .app {
    padding: 0.9em;
    font-size: 13px;
  }

  .zones {
    grid-template-columns: minmax(0, 1fr);
  }

  .zone--chill,
  .app__title small {
    display: none;
  }
}

/* ---------- facts ---------- */

.facts {
  padding-block: clamp(72px, 9vw, 120px) 0;
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.fact {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(26px, 3vw, 40px) clamp(16px, 2.4vw, 32px);
}

.fact + .fact {
  border-inline-start: 1px solid var(--line);
}

.fact__n {
  color: var(--ink);
  font-size: clamp(3rem, 2.1rem + 2.8vw, 4.9rem);
  font-weight: 150;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

/* The advance-warning days change on their own (main.js) and rise into place, which needs a box. */
.fact__n [data-choices] {
  display: inline-block;
}

.fact dd {
  display: grid;
  gap: 2px;
}

.fact__t {
  font-size: 1.0625rem;
  font-weight: 650;
}

.fact__d {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-wrap: balance;
}

@media (max-width: 860px) {
  .facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact:nth-child(3) {
    border-inline-start: 0;
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/* ---------- sections ---------- */

.section {
  padding-block: clamp(80px, 9vw, 132px);
}

.sec-head {
  display: grid;
  gap: 20px;
  max-width: 46rem;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-ink);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.h2 {
  font-size: var(--step-h2);
  font-weight: 280;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.h2 b {
  display: block;
  font-weight: 640;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 36em;
  color: var(--ink-soft);
  font-size: var(--step-lead);
  line-height: 1.65;
  text-wrap: pretty;
}

/* ---------- cold chain ---------- */

.track {
  --num: clamp(2.6rem, 1.5rem + 3vw, 4.5rem);
  position: relative;
}

.stations {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.station {
  --c: var(--hot);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: clamp(6px, 1.2vw, 16px);
  text-align: center;
}

.station--warm {
  --c: color-mix(in oklab, var(--hot) 40%, var(--cold));
}

.station--cold {
  --c: var(--cold);
}

.station--ice {
  --c: var(--ice);
}

.station__num {
  height: var(--num);
  color: var(--c);
  font-size: var(--num);
  font-weight: 160;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.station__node {
  position: relative;
  z-index: 2;
  width: 15px;
  height: 15px;
  margin-block: 28px 24px;
  border-radius: 50%;
  background: var(--paper-hi);
  box-shadow: inset 0 0 0 2px var(--c);
}

.station h3 {
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.35;
}

.station p {
  max-width: 15em;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.track__line {
  position: absolute;
  z-index: 1;
  top: calc(var(--num) + 28px + 7.5px - 1px);
  inset-inline: 10%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to left, var(--hot), color-mix(in oklab, var(--hot) 40%, var(--cold)) 25%, var(--cold) 50%, var(--ice) 75%, var(--hot));
  opacity: 0.6;
}

.track[data-orient="vertical"] .track__line {
  background: linear-gradient(to bottom, var(--hot), color-mix(in oklab, var(--hot) 40%, var(--cold)) 25%, var(--cold) 50%, var(--ice) 75%, var(--hot));
}

.probe {
  --heat: 1;
  --frost: 0;
  --pc: color-mix(in oklab, color-mix(in oklab, var(--hot) calc(var(--heat) * 100%), var(--cold)) calc((1 - var(--frost)) * 100%), var(--ice));
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  will-change: transform;
}

.track.is-live .probe {
  opacity: 1;
}

.probe__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  margin: -7.5px 0 0 -7.5px;
  border-radius: 50%;
  background: var(--pc);
  box-shadow:
    0 0 0 5px color-mix(in oklab, var(--pc) 24%, transparent),
    0 0 26px 6px color-mix(in oklab, var(--pc) 40%, transparent);
}

.track__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.readout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-hi);
  color: var(--ink);
  font-weight: 600;
}

.readout .i {
  color: var(--ink-soft);
}

.readout__v {
  min-width: 4.4em;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--paper-lo);
  font-weight: 600;
  text-align: center;
}

@media (max-width: 760px) {
  .track {
    --num: 2.25rem;
  }

  .stations {
    grid-template-columns: minmax(0, 1fr);
  }

  .station {
    display: grid;
    grid-template-columns: 5.6rem 24px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: start;
    padding: 0 0 34px;
    text-align: start;
  }

  .station__num {
    grid-row: 1 / span 2;
    height: auto;
    text-align: end;
  }

  .station__node {
    grid-column: 2;
    grid-row: 1;
    margin: 10px auto 0;
  }

  .station h3 {
    grid-column: 3;
    grid-row: 1;
  }

  .station p {
    grid-column: 3;
    grid-row: 2;
    margin-top: 4px;
  }

  .track__line {
    inset-inline: auto;
    inset-inline-start: calc(5.6rem + 14px + 11px);
    top: 17px;
    bottom: 51px;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom, var(--hot), color-mix(in oklab, var(--hot) 40%, var(--cold)) 25%, var(--cold) 50%, var(--ice) 75%, var(--hot));
  }
}

/* ---------- features ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 26px;
  grid-column: span 3;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper-hi);
  transition: border-color 0.3s, transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.card--wide {
  grid-column: span 7;
}

.card--sign {
  grid-column: span 5;
}

.card__copy {
  display: grid;
  gap: 10px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.3;
}

.card p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.card__art {
  height: 136px;
  margin: 0;
}

/* the form sheet */
.sheet {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  font-size: 0.9rem;
}

.sheet__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}

.sheet__head b {
  font-weight: 650;
}

.sheet__head span {
  color: var(--ink-soft);
}

.sheet__scroll {
  overflow-x: auto;
}

.sheet table {
  width: 100%;
  border-collapse: collapse;
}

.sheet th,
.sheet td {
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  white-space: nowrap;
}

.sheet th {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.sheet tbody tr:last-child td {
  border-bottom: 0;
}

.sheet .is-new td {
  background: color-mix(in oklab, var(--brand) 7%, transparent);
}

.sheet__ok {
  color: var(--ok);
  font-weight: 600;
}

.sheet__ok .i {
  margin-inline-end: 6px;
}

.sheet__wait {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--hot-wash);
  color: var(--warn);
  font-size: 0.8rem;
  font-weight: 650;
}

/* the signature pad */
.sigpad {
  position: relative;
  height: 196px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.sigpad__ink {
  position: absolute;
  top: 18px;
  inset-inline: 22px;
  width: calc(100% - 44px);
  height: 118px;
  transform: scaleX(-1);
}

.sig {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: sign 7s var(--ease) infinite;
}

.sig--tail {
  animation-name: sign-tail;
}

@keyframes sign {
  0% {
    stroke-dashoffset: 1;
    opacity: 1;
  }

  40%,
  88% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  96%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes sign-tail {
  0%,
  38% {
    stroke-dashoffset: 1;
    opacity: 1;
  }

  50%,
  88% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  96%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

.sigpad__base {
  position: absolute;
  bottom: 46px;
  inset-inline: 22px;
  border-top: 1px dashed var(--line-strong);
}

.sigpad__meta {
  position: absolute;
  bottom: 14px;
  inset-inline: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ok);
  font-weight: 650;
  animation: stamp 7s var(--ease) infinite;
}

@keyframes stamp {
  0%,
  48% {
    opacity: 0;
    transform: translateY(4px);
  }

  54%,
  88% {
    opacity: 1;
    transform: none;
  }

  96%,
  100% {
    opacity: 0;
  }
}

/* expiry alerts */
.alerts {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.alerts li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: 0.84rem;
  font-weight: 550;
  white-space: nowrap;
}

.alerts__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--s);
}

.alerts__state {
  margin-inline-start: auto;
  padding: 2px 9px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--s) 11%, transparent);
  color: var(--s);
  font-size: 0.75rem;
  font-weight: 650;
}

.alerts .is-over {
  --s: var(--alert);
}

.alerts .is-soon {
  --s: var(--warn);
}

.alerts .is-ok {
  --s: var(--ok);
}

/* personal code */
.pin {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.pin__dots {
  display: flex;
  gap: 14px;
}

.pin__dots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  animation: pin 3.6s var(--ease) infinite;
  animation-delay: calc(var(--n) * 0.22s);
}

@keyframes pin {
  0%,
  8% {
    background: transparent;
  }

  14%,
  78% {
    background: var(--brand);
    box-shadow: inset 0 0 0 1.5px var(--brand);
  }

  90%,
  100% {
    background: transparent;
  }
}

.pin__roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.pin__roles span {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
}

/* management screen */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(0deg, var(--line) 1px, transparent 1px) 0 16px / 100% 34px,
    var(--paper);
}

.bars i {
  flex: 1;
  height: calc(var(--h) * 1%);
  border-radius: 6px 6px 3px 3px;
  background: color-mix(in oklab, var(--brand) 24%, transparent);
}

.bars i:last-child {
  background: var(--brand);
}

/* folders */
.folders {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.folders li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: 0.84rem;
  font-weight: 550;
  white-space: nowrap;
}

.folders .i {
  color: var(--brand);
  font-size: 1.05rem;
}

@media (max-width: 1080px) {
  .card {
    grid-column: span 6;
  }

  .card--wide,
  .card--sign {
    grid-column: span 12;
  }

  .card--sign {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .card,
  .card--wide,
  .card--sign {
    grid-column: auto;
  }

  .card--sign {
    display: flex;
    align-items: stretch;
  }

  .sheet th,
  .sheet td {
    padding-inline: 12px;
  }

  .sheet th:nth-child(4),
  .sheet td:nth-child(4) {
    display: none;
  }
}

/* ---------- languages ---------- */

.langs__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.langs .sec-head {
  margin-bottom: 0;
}

.lang-stage {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background-color: var(--paper-hi);
  box-shadow: var(--shadow-soft);
}

/*
 * "Hello" in language after language, like a new iPhone's welcome screen: each greeting is
 * written on in its own reading direction, from blur to sharp, and dissolves as the next one
 * arrives. The ink runs through a few cool colors, around the page's blue.
 */
.hello {
  display: grid;
  place-items: center;
  min-height: 1.8em;
  margin: 0;
  font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5.2rem);
  font-weight: 300;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.hello__word {
  grid-area: 1 / 1;
  padding: 0.14em 0.08em;
  background-image: linear-gradient(100deg, var(--ice), var(--brand) 38%, #5e5ce6 68%, #8944ab);
  background-size: 260% 100%;
  background-position: calc(var(--tint, 0) * 25%) 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-mask-image: linear-gradient(to right, #000 44%, transparent 56%);
  mask-image: linear-gradient(to right, #000 44%, transparent 56%);
  -webkit-mask-size: 240% 100%;
  mask-size: 240% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
  animation:
    hello-in 0.9s var(--ease) both,
    hello-write-ltr 1.3s cubic-bezier(0.33, 0, 0.2, 1) both;
}

.hello__word[dir="rtl"] {
  -webkit-mask-image: linear-gradient(to left, #000 44%, transparent 56%);
  mask-image: linear-gradient(to left, #000 44%, transparent 56%);
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  animation-name: hello-in, hello-write-rtl;
}

.hello__word.is-static {
  animation: none;
}

.hello__word.is-leaving {
  animation: hello-out 0.7s var(--ease) forwards;
}

@keyframes hello-in {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: scale(0.94);
  }
}

@keyframes hello-write-ltr {
  from {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
}

@keyframes hello-write-rtl {
  from {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

@keyframes hello-out {
  to {
    opacity: 0;
    filter: blur(12px);
    transform: scale(1.06);
  }
}

.lang-hint {
  margin: -6px 0 6px;
  color: var(--ink-soft);
  font-size: 0.875rem;
  text-align: center;
}

.lang-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.lang-chip {
  height: 36px;
  padding-inline: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 550;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.lang-chip:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.lang-chip[aria-pressed="true"] {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--on-brand);
}

/* One face per script. Hebrew keeps the page's own font. */
.langs :is(:lang(en), :lang(ru), :lang(fr), :lang(es), :lang(fil), :lang(it), :lang(ro), :lang(tr), :lang(uk), :lang(vi), :lang(de)) {
  font-family: var(--font-noto);
}

.langs :lang(ar) {
  font-family: var(--font-ar);
}

.langs :lang(th) {
  font-family: var(--font-th);
}

.langs :lang(am) {
  font-family: var(--font-et);
}

.langs :lang(hi) {
  font-family: var(--font-deva);
}

.langs :lang(si) {
  font-family: var(--font-si);
}

.langs :lang(zh) {
  font-family: var(--font-zh);
}

.langs :lang(ja) {
  font-family: var(--font-ja);
}

.langs :lang(ko) {
  font-family: var(--font-ko);
}

.lang-chip:not(:lang(he)) {
  font-weight: 600;
}

@media (max-width: 900px) {
  .langs__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .lang-chips {
    gap: 5px;
  }

  .lang-chip {
    height: 34px;
    padding-inline: 11px;
    font-size: 0.86rem;
  }
}

/* ---------- inspection ---------- */

.deep {
  background: var(--deep);
  color: var(--on-deep);
}

.deep .eyebrow {
  color: var(--deep-accent);
}

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

.audit {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}

.audit .sec-head {
  margin-bottom: clamp(36px, 4vw, 52px);
}

.points {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.points li {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--deep-line);
}

.points h3 {
  font-size: 1.125rem;
  font-weight: 650;
}

.points p {
  color: var(--on-deep-soft);
  line-height: 1.6;
}

.log {
  padding: 26px 28px 20px;
  border: 1px solid var(--deep-line);
  border-radius: 26px;
  background: var(--deep-card);
  box-shadow: var(--shadow-panel);
}

.log__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--deep-line);
}

.log__head b {
  font-size: 1.05rem;
  font-weight: 650;
}

.log__head span {
  padding: 3px 12px;
  border: 1px solid var(--deep-line);
  border-radius: 999px;
  color: var(--on-deep-soft);
  font-size: 0.8125rem;
}

.log ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.log li {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--deep-line);
}

.log time {
  color: var(--on-deep-soft);
  font-weight: 600;
  line-height: 1.5;
}

.log li p {
  display: grid;
  gap: 2px;
  line-height: 1.5;
}

.log li b {
  font-weight: 600;
}

.log li p > span {
  color: var(--on-deep-soft);
  font-size: 0.9rem;
}

.log__foot {
  padding-top: 14px;
  color: var(--on-deep-soft);
  font-size: 0.8125rem;
}

@media (max-width: 960px) {
  .audit {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

/* ---------- getting started ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.step__n {
  margin-bottom: 18px;
  color: var(--brand);
  font-size: clamp(3rem, 2.4rem + 1.8vw, 4.2rem);
  font-weight: 150;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 650;
}

.step p {
  color: var(--ink-soft);
}

.privacy {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(22px, 2.6vw, 30px) clamp(22px, 3vw, 34px);
  border-radius: 24px;
  background: var(--paper-lo);
}

.privacy__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 1.3rem;
}

.privacy h3 {
  font-size: 1.125rem;
  font-weight: 650;
}

.privacy p {
  margin-top: 4px;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- FAQ ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.faq .sec-head {
  position: sticky;
  top: calc(var(--nav-h) + 56px);
  margin-bottom: 0;
}

.qa {
  border-bottom: 1px solid var(--line);
}

.qa:first-child {
  border-top: 1px solid var(--line);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}

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

.qa summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  color: var(--ink-soft);
  transition: transform 0.4s var(--ease);
}

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

.qa summary:hover {
  color: var(--brand-ink);
}

.qa p {
  max-width: 40em;
  padding-bottom: 26px;
  color: var(--ink-soft);
}

@supports (interpolate-size: allow-keywords) {
  .qa {
    interpolate-size: allow-keywords;
  }

  .qa::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete;
  }

  .qa[open]::details-content {
    block-size: auto;
  }
}

@media (max-width: 860px) {
  .faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq .sec-head {
    position: static;
  }
}

/* ---------- contact ---------- */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.contact .sec-head {
  margin-bottom: 28px;
}

.ways {
  display: grid;
  justify-items: start;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ways a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 7px;
  color: var(--ink);
  font-weight: 550;
  text-decoration: none;
  transition: color 0.2s;
}

.ways a:hover {
  color: var(--brand-ink);
}

.ways .i {
  color: var(--brand-ink);
  font-size: 1.15rem;
}

.lead-form {
  position: relative;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper-hi);
  box-shadow: var(--shadow-soft);
}

.lead-form__body {
  display: grid;
  gap: 18px;
}

.lead-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
}

.field small {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 400;
}

.field input {
  width: 100%;
  height: 52px;
  padding-inline: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper-hi);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Written left to right, and still lined up with the Hebrew fields. */
.field input[dir="ltr"] {
  text-align: end;
}

.field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 22%, transparent);
}

.field input[aria-invalid="true"] {
  border-color: var(--alert);
}

.lead-form .btn {
  width: 100%;
}

.lead-form .btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.lead-form__status {
  color: var(--alert);
  font-size: 0.9375rem;
  font-weight: 550;
}

.lead-form__status:empty {
  display: none;
}

.lead-form__note {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  text-align: center;
}

/* Out of sight for people; a robot fills every field it finds. */
.lead-form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.lead-form__done {
  display: grid;
  gap: 14px;
  outline: none;
  text-align: center;
}

.lead-form__done h3 {
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1.3;
}

.lead-form__done p {
  color: var(--ink-soft);
}

.lead-form__bar {
  display: block;
  height: 4px;
  margin-block: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 14%, transparent);
}

.lead-form__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transform-origin: 100% 50%;
  animation: lead-bar 3s linear both;
}

@keyframes lead-bar {
  from {
    transform: scaleX(0);
  }
}

@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .lead-form__fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- closing ---------- */

.cta {
  position: relative;
  padding-block: clamp(110px, 14vw, 200px);
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta__kicker {
  color: var(--brand-ink);
  font-size: 1rem;
  font-weight: 550;
  font-feature-settings: "smcp" 1, "c2sc" 1;
  letter-spacing: 0.18em;
}

.cta__title {
  margin-top: 18px;
  font-size: clamp(3.4rem, 1.8rem + 6.6vw, 8rem);
  font-weight: 220;
  line-height: 1;
  letter-spacing: -0.035em;
}

.cta__title b {
  font-weight: 660;
}

.cta__lead {
  margin: 28px auto 0;
}

/* ---------- footer ---------- */

.foot {
  padding-block: 44px calc(36px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
}

.foot__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
}

.foot__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
}

.foot__brand p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.foot__brand p a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.foot__brand p a:hover {
  color: var(--brand-ink);
}

.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}

.foot__nav a {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

.foot__fine {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

@media (max-width: 760px) {
  .foot__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- reduced motion ---------- */

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

  .rise,
  .lead-form__bar i,
  .pin__dots i,
  .sig,
  .stamp {
    animation: none;
  }

  .sig {
    stroke-dashoffset: 0;
  }

  .pin__dots i {
    background: var(--brand);
    box-shadow: inset 0 0 0 1.5px var(--brand);
  }

  .pin__dots i:last-child {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px var(--line-strong);
  }

  .card,
  .btn,
  .btn .i,
  .bar i,
  .nav__bar {
    transition: none;
  }

  .card:hover {
    transform: none;
  }

  .hello__word,
  .hello__word.is-leaving {
    animation: none;
  }
}
