/* ColdLatch landing page. Same palette as the product: cold-store ink, frost, one glacier blue,
 * and orange kept for temperatures out of range. Static CSS, no build step. */

@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Latin Extended (š, č, ž ...), fetched only when a page uses those letters. */
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0f2730;
  --ink-2: #14232b;
  --soft: #4a5d67;
  --frost: #f2f6f7;
  --line: #d5dfe3;
  --glacier: #0b6e8a;
  --glacier-bright: #5cc8e0;
  --tint: #e4f1f5;
  --inrange: #1b7f55;
  --warm: #c2410c;
  --warm-bright: #fb923c;
  /* One centred column, at most 76rem wide, on every screen: the gutter grows, the content doesn't. */
  --pad: max(clamp(1.25rem, 5vw, 3rem), calc((100vw - 76rem) / 2));
  --measure: 38rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--frost);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

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

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--glacier-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -100rem;
  top: 0.5rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: #fff;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 600;
}

.skip:focus {
  left: 0.5rem;
}

h2 {
  max-width: 22ch;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

.section-lede {
  max-width: var(--measure);
  margin-top: 0.9rem;
  font-size: 1.15rem;
  color: var(--soft);
}

section {
  padding: clamp(3.25rem, 8vw, 6.5rem) var(--pad);
}

/* Sections whose heading sits above a centred block. */
.center > h2,
.center > .section-lede {
  margin-inline: auto;
  text-align: center;
}

.center > h2 {
  max-width: 24ch;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* --- buttons ---------------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--glacier);
  border: 2px solid var(--glacier);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  background: #0a5870;
  border-color: #0a5870;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgb(11 110 138 / 0.28);
}

.btn:active {
  transform: none;
  box-shadow: none;
}

.btn-small {
  padding: 0.5rem 1rem;
}

.btn-outline {
  background: transparent;
  color: var(--glacier);
}

.btn-outline:hover {
  background: var(--tint);
  border-color: var(--glacier);
  color: #0a5870;
}

/* On the dark hero the primary action is the bright one. */
.hero .btn,
.top .btn,
.btn-light {
  background: var(--glacier-bright);
  border-color: var(--glacier-bright);
  color: var(--ink);
}

.hero .btn:hover,
.top .btn:hover,
.btn-light:hover {
  background: #8bdcee;
  border-color: #8bdcee;
}

.hero .btn-ghost {
  background: transparent;
  border-color: rgb(255 255 255 / 0.4);
  color: #fff;
}

.hero .btn-ghost:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: #fff;
}

/* --- header ----------------------------------------------------------------------------------- */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  background: rgb(15 39 48 / 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.2vw, 1.9rem);
  font-size: 0.98rem;
}

.nav a:not(.btn) {
  color: #c5d3d8;
}

.nav a:not(.btn):hover {
  color: #fff;
}

.nav-login {
  margin-left: 0.5rem;
}

.menu {
  display: none;
  padding: 0.45rem 0.9rem;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 6px;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

/* --- hero ------------------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(2.75rem, 7vw, 6rem);
  padding-bottom: clamp(3.25rem, 8vw, 7rem);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Cold light behind the hero: two soft glows on a faint measurement grid, drifting slowly. */
.hero-glow {
  position: absolute;
  inset: -20% -10%;
  z-index: -1;
  background:
    radial-gradient(38rem 26rem at 78% 30%, rgb(92 200 224 / 0.22), transparent 70%),
    radial-gradient(30rem 22rem at 12% 85%, rgb(11 110 138 / 0.35), transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
}

.hero-kicker {
  margin-bottom: 1.1rem;
  color: var(--glacier-bright);
  font-weight: 500;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 6.2vw, 4.9rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.lede {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  color: #c5d3d8;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-demo {
  margin-top: 1.1rem;
  color: #c5d3d8;
}

.hero-demo a {
  color: var(--glacier-bright);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-demo a:hover {
  color: #fff;
}

.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.95rem;
  color: #9fb3ba;
}

.assurances li::before {
  content: '';
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--glacier-bright);
  vertical-align: 0.08em;
}

.trace {
  padding: 1.1rem 1.25rem 1.25rem;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.35);
  backdrop-filter: blur(6px);
}

.trace-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  color: #c5d3d8;
  font-size: 0.95rem;
}

.trace-now {
  color: var(--warm-bright);
  white-space: nowrap;
}

.trace-now b {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.trace svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.trace .band {
  fill: var(--glacier-bright);
  opacity: 0.13;
}

.trace .limit {
  stroke: var(--glacier-bright);
  stroke-dasharray: 5 5;
  opacity: 0.65;
}

.trace .excursion {
  fill: var(--warm-bright);
  opacity: 0.15;
}

.trace .line {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.trace .dot {
  fill: var(--warm-bright);
}

.trace .d3 {
  fill: #fff;
}

.trace .d4 {
  fill: #4ade80;
}

.trace .pulse {
  fill: none;
  stroke: #4ade80;
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.trace .axis {
  fill: #9fb3ba;
  font-size: 13px;
}

.moments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #dbe6ea;
}

.moments time {
  margin-right: 0.5rem;
  color: #9fb3ba;
}

.moments .m4 {
  color: #86efac;
  font-weight: 600;
}

/* --- ribbon ----------------------------------------------------------------------------------- */
.ribbon {
  display: flex;
  overflow: hidden;
  padding: 0.9rem 0;
  background: var(--glacier);
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
  user-select: none;
}

.ribbon-track {
  display: flex;
  flex: none;
  gap: 0;
}

.ribbon-track li {
  padding: 0 1.6rem;
}

.ribbon-track li::before {
  content: '';
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 1.6rem;
  margin-left: -1.6rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.55);
  vertical-align: 0.12em;
}

/* --- the gap: before and after ---------------------------------------------------------------- */
.gap {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.versus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 64rem;
  margin: 2.5rem auto 0;
}

.versus-col {
  padding: 1.75rem;
  border: 1px solid;
  border-radius: 14px;
}

.versus-before {
  --tone: var(--warm);
  background: #fff7f1;
  border-color: #f3d3bd;
}

.versus-after {
  --tone: var(--inrange);
  background: #eefaf4;
  border-color: #b9e2cd;
}

.versus-stat {
  margin-top: 0.75rem;
  color: var(--soft);
}

.versus-stat b {
  display: block;
  color: var(--tone);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

/* How long the warm stock stays pickable. 22 minutes against three days is a sliver. */
.versus-bar {
  height: 0.6rem;
  margin: 1.1rem 0 1.6rem;
  background: rgb(15 39 48 / 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.versus-bar span {
  display: block;
  height: 100%;
  background: var(--tone);
  border-radius: inherit;
  transform-origin: left;
}

.versus-before .versus-bar span {
  background: linear-gradient(90deg, var(--warm-bright), var(--warm));
}

.versus-after .versus-bar span {
  width: 0.6rem;
}

.versus-col ol {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding-left: 1.6rem;
}

.versus-col ol::before {
  content: '';
  position: absolute;
  left: 0.3rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  background: var(--tone);
  opacity: 0.25;
}

.versus-col li {
  position: relative;
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr);
  gap: 0.75rem;
}

.versus-col li::before {
  content: '';
  position: absolute;
  left: -1.6rem;
  top: 0.4em;
  width: 0.75rem;
  height: 0.75rem;
  background: #fff;
  border: 2px solid var(--tone);
  border-radius: 50%;
}

.versus-col li:last-child::before {
  background: var(--tone);
}

.versus-col time {
  color: var(--soft);
  font-size: 0.92rem;
}

.versus-end {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(15 39 48 / 0.12);
  color: var(--tone);
  font-weight: 600;
}

.versus-note {
  margin-top: 1rem;
  color: var(--soft);
  font-size: 0.9rem;
  text-align: center;
}

/* --- product tour ----------------------------------------------------------------------------- */
.shot {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.shot-flip .shot-text {
  order: 2;
}

.shot-step {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.15rem 0.75rem;
  background: var(--tint);
  border-radius: 999px;
  color: #0a5870;
  font-size: 0.9rem;
  font-weight: 600;
}

.shot h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.shot-text > p:not(.shot-step) {
  margin-top: 0.75rem;
  color: var(--soft);
}

.ticks {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.ticks li {
  position: relative;
  padding-left: 1.6rem;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.45em;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid var(--inrange);
  border-bottom: 2px solid var(--inrange);
  transform: rotate(-45deg);
}

.ticks-light li::before {
  border-color: #fff;
}

/* A browser-window frame around each real screenshot. */
.frame {
  position: relative;
  padding-top: 1.9rem;
  background: #e3eaed;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgb(15 39 48 / 0.16);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.frame::before {
  content: '';
  position: absolute;
  left: 0.9rem;
  top: 0.7rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #b9c6cc;
  box-shadow: 0.95rem 0 0 #b9c6cc, 1.9rem 0 0 #b9c6cc;
}

.frame img {
  width: 100%;
}

@media (hover: hover) {
  .shot:hover .frame {
    transform: translateY(-4px);
    box-shadow: 0 32px 70px rgb(15 39 48 / 0.2);
  }
}

.tour-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding: 1.6rem 1.9rem;
  background: var(--ink);
  border-radius: 16px;
  color: #fff;
}

.tour-cta p {
  margin-top: 0.3rem;
  color: #c5d3d8;
}

/* --- how it works ----------------------------------------------------------------------------- */
.how {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.how::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40rem 20rem at 50% 0%, rgb(92 200 224 / 0.16), transparent 70%),
    linear-gradient(rgb(255 255 255 / 0.03) 1px, transparent 1px) 0 0 / 3rem 3rem,
    linear-gradient(90deg, rgb(255 255 255 / 0.03) 1px, transparent 1px) 0 0 / 3rem 3rem;
}

.how .section-lede {
  color: #c5d3d8;
}

/* Each step carries a progress value --p from 0 (not reached yet) to 1 (done). The node, the
 * picture and its label are all drawn from it, so one animation per step tells the whole story
 * from left to right. Without animation --p stays 1 and every step shows finished. */
@property --p {
  syntax: '<number>';
  inherits: true;
  initial-value: 1;
}

.flow {
  position: relative;
  margin-top: 3.25rem;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}

/* The line the numbered nodes sit on, from the first node's centre to the last one's. */
.flow-rail {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 1.25rem;
  height: 2px;
  background: rgb(255 255 255 / 0.16);
}

.flow-rail::before,
.flow-rail::after {
  content: '';
  position: absolute;
  top: 0;
}

.flow-rail::before {
  inset: 0;
  background: var(--glacier-bright);
  transform-origin: left;
}

/* The travelling head of the line. Only shown while it moves. */
.flow-rail::after {
  left: 100%;
  width: 0.7rem;
  height: 0.7rem;
  margin: -0.3rem 0 0 -0.35rem;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0.3rem rgb(92 200 224 / 0.3), 0 0 1.4rem 0.3rem var(--glacier-bright);
  opacity: 0;
}

.flow-step {
  --p: 1;
  position: relative;
  padding-top: 3.9rem;
  text-align: center;
  counter-increment: step;
}

.flow-step::before {
  content: counter(step);
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: -1.25rem;
  background: color-mix(in srgb, var(--glacier-bright) calc(var(--p) * 100%), var(--ink));
  border: 2px solid color-mix(in srgb, var(--glacier-bright) calc(var(--p) * 100%), #4a6570);
  border-radius: 50%;
  box-shadow: 0 0 0 calc(var(--p) * 0.4rem) rgb(92 200 224 / 0.16);
  color: color-mix(in srgb, var(--ink) calc(var(--p) * 100%), #9fb3ba);
  font-weight: 600;
}

.flow-art {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.6rem;
  height: 8.5rem;
  padding: 0.9rem;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid color-mix(in srgb, var(--glacier-bright) calc(var(--p) * 55%), rgb(255 255 255 / 0.12));
  border-radius: 14px;
}

.flow-art > * {
  opacity: calc(0.25 + 0.75 * var(--p));
}

.flow-art svg {
  display: block;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.art-trace {
  width: 6.5rem;
}

.art-trace line {
  stroke: var(--glacier-bright);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}

.art-trace polyline,
.art-sign path,
.art-ring .ring-go {
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--p));
}

.art-ring {
  width: 3.4rem;
}

.art-ring circle:first-child {
  stroke: rgb(255 255 255 / 0.18);
}

.art-ring .ring-go {
  stroke: var(--warm-bright);
}

.art-ring text {
  fill: #fff;
  stroke: none;
  font-size: 15px;
  font-weight: 600;
}

.art-rows {
  gap: 0.35rem;
  place-items: stretch;
}

.art-rows span {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.2rem 0.6rem;
  background: rgb(255 255 255 / 0.08);
  border-left: 3px solid var(--warm-bright);
  border-radius: 6px;
  color: #dbe6ea;
  font-size: 0.82rem;
}

.art-sign {
  width: 6.5rem;
}

.art-sign line {
  stroke: rgb(255 255 255 / 0.3);
  stroke-width: 1.5;
}

.art-lock {
  width: 2.6rem;
  stroke: #4ade80;
}

.art-lock .shackle {
  transform: translateY(calc((1 - var(--p)) * -5px));
}

.flow-chip {
  padding: 0.12rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.chip-warm {
  background: rgb(251 146 60 / 0.18);
  color: #fdba74;
}

.chip-blue {
  background: rgb(92 200 224 / 0.18);
  color: #a5e4f2;
}

.chip-ok {
  background: rgb(74 222 128 / 0.18);
  color: #86efac;
}

.flow-step h3 {
  margin-top: 1.1rem;
}

.flow-step p {
  margin-top: 0.4rem;
  color: #b5c6cd;
  font-size: 0.95rem;
}

/* --- compliance ------------------------------------------------------------------------------- */
.compliance {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 2rem 4rem;
  align-items: start;
}

.compliance-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
}

.compliance-list dt {
  padding-top: 0.9rem;
  border-top: 2px solid var(--glacier);
  font-weight: 600;
}

.compliance-list dd {
  margin-top: 0.3rem;
  color: var(--soft);
}

/* --- connections ------------------------------------------------------------------------------ */
.connect {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.connect-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.connect-list li {
  padding: 1.5rem;
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}

.connect-list li:hover {
  background: #fff;
  border-color: var(--glacier);
  box-shadow: 0 16px 36px rgb(15 39 48 / 0.1);
  transform: translateY(-4px);
}

.connect-icon {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1rem;
  background: var(--tint);
  border-radius: 10px;
  color: var(--glacier);
  transition: background-color 0.25s, color 0.25s;
}

.connect-list li:hover .connect-icon {
  background: var(--glacier);
  color: #fff;
}

.connect-icon svg,
.modal-mark svg,
.modal-x svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connect-list b {
  display: block;
  font-size: 1.12rem;
  font-weight: 600;
}

.connect-list li > span:last-child {
  display: block;
  margin-top: 0.35rem;
  color: var(--soft);
}

/* --- roadmap and waitlist --------------------------------------------------------------------- */
.road-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.road-item {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px dashed #a9bcc4;
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.road-item:hover,
.road-item.is-open {
  border-style: solid;
  border-color: var(--glacier);
  box-shadow: 0 14px 32px rgb(15 39 48 / 0.1);
  transform: translateY(-3px);
}

.road-item.is-joined {
  border-style: solid;
  border-color: var(--inrange);
  background: #f1faf5;
}

.road-tag {
  align-self: flex-start;
  margin-bottom: 0.6rem;
  padding: 0.1rem 0.6rem;
  background: var(--frost);
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.road-item p {
  margin-top: 0.4rem;
  color: var(--soft);
  font-size: 0.98rem;
}

.road-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
}

.road-count {
  color: var(--glacier);
  font-size: 0.9rem;
  font-weight: 600;
}

.modal {
  width: min(30rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 40px 100px rgb(0 0 0 / 0.45);
  color: var(--ink-2);
  overflow: auto;
}

.modal::backdrop {
  background: rgb(15 39 48 / 0.62);
  backdrop-filter: blur(4px);
}

/* The page behind an open dialog stays where it is. */
html:has(dialog[open]) {
  overflow: hidden;
}

.join {
  position: relative;
  padding: 2rem 1.9rem 1.6rem;
}

.modal-mark {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1rem;
  background: var(--tint);
  border-radius: 50%;
  color: var(--glacier);
}

.join h3 {
  font-size: 1.4rem;
  letter-spacing: -0.015em;
}

.join-what {
  margin: 0.4rem 0 1.25rem;
  color: var(--soft);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.modal-x {
  position: absolute;
  right: 1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--soft);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.modal-x:hover {
  background: var(--frost);
  color: var(--ink);
}

.join label:not(.consent),
.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  font-weight: 500;
}

input[type='email'],
input[type='text'],
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: #fff;
  border: 1px solid #a9bcc4;
  border-radius: 8px;
  color: var(--ink-2);
  font: inherit;
}

input:focus-visible,
textarea:focus-visible {
  border-color: var(--glacier);
}

/* Hidden from people; only a script fills it in. */
.trap {
  position: absolute;
  left: -100rem;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: var(--soft);
}

.consent input {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--glacier);
}

.consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  min-height: 1.5em;
  margin-top: 0.75rem;
  font-weight: 500;
}

.form-status.is-error {
  color: #b42318;
}

.form-status.is-ok {
  color: var(--inrange);
}

/* --- pricing ---------------------------------------------------------------------------------- */
.pricing {
  background: #fff radial-gradient(60rem 22rem at 50% 0%, var(--tint), transparent 70%) no-repeat;
  border-top: 1px solid var(--line);
}

.founding {
  width: fit-content;
  max-width: 46rem;
  margin: 1.75rem auto 0;
  padding: 0.7rem 1.2rem;
  background: #fff7e6;
  border: 1px solid #f1d59a;
  border-radius: 12px;
  color: #6b4a06;
  text-align: center;
}

.founding b {
  color: #4d3503;
}

.calc {
  max-width: 46rem;
  margin: 2.25rem auto 0;
  padding: 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid #b7dbe6;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgb(15 39 48 / 0.08);
}

.calc > label {
  display: block;
  font-weight: 600;
}

.calc-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 1rem;
}

.calc-slider {
  flex: 1;
  min-width: 0;
}

.calc input[type='range'] {
  display: block;
  width: 100%;
  height: 0.55rem;
  margin: 0.6rem 0;
  appearance: none;
  background: linear-gradient(90deg, var(--glacier) var(--fill, 22%), #cfdfe5 var(--fill, 22%));
  border-radius: 999px;
  cursor: pointer;
}

.calc input[type='range']::-webkit-slider-thumb {
  width: 1.6rem;
  height: 1.6rem;
  appearance: none;
  background: #fff;
  border: 3px solid var(--glacier);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgb(15 39 48 / 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.calc input[type='range']::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  background: #fff;
  border: 3px solid var(--glacier);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgb(15 39 48 / 0.25);
}

.calc input[type='range']:hover::-webkit-slider-thumb,
.calc input[type='range']:active::-webkit-slider-thumb {
  box-shadow: 0 0 0 0.45rem rgb(11 110 138 / 0.16), 0 4px 12px rgb(15 39 48 / 0.25);
  transform: scale(1.08);
}

/* Which plan each stretch of the slider belongs to, counting the ten extra points a plan can
 * take: 1-20, 21-60, above 60 (of 1-80). */
.calc-zones {
  display: grid;
  grid-template-columns: 24fr 50.6fr 25.4fr;
  gap: 3px;
  margin-top: 0.75rem;
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.calc-zones span {
  padding-top: 0.35rem;
  border-top: 3px solid #cfdfe5;
  transition: color 0.2s, border-color 0.2s;
}

.calc-zones span.is-on {
  border-color: var(--glacier);
  color: var(--glacier);
}

.calc output {
  min-width: 3ch;
  color: var(--glacier);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: right;
}

.calc-result {
  margin-top: 1rem;
}

.calc-result a {
  color: var(--glacier);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.billing {
  display: flex;
  width: fit-content;
  margin: 2rem auto 0;
  padding: 0.3rem;
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.billing[hidden] {
  display: none;
}

.billing button {
  padding: 0.5rem 1.1rem;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--soft);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.billing button:hover {
  color: var(--ink);
}

.billing button[aria-pressed='true'] {
  background: #fff;
  box-shadow: 0 2px 8px rgb(15 39 48 / 0.14);
  color: var(--ink);
}

.billing button span {
  margin-left: 0.35rem;
  padding: 0.1rem 0.5rem;
  background: #dcf5e7;
  border-radius: 999px;
  color: var(--inrange);
  font-size: 0.8rem;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.25rem;
  max-width: 70rem;
  margin: 2rem auto 0;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 1.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.plan:hover {
  border-color: #9cc9d6;
  box-shadow: 0 18px 44px rgb(15 39 48 / 0.12);
  transform: translateY(-4px);
}

/* The recommended plan is the dark one, and stands a little taller than its neighbours. */
.plan-main {
  margin-block: -0.9rem;
  padding-block: 2.8rem;
  background: var(--ink) radial-gradient(22rem 14rem at 100% 0%, rgb(92 200 224 / 0.22), transparent 70%);
  border-color: var(--ink);
  box-shadow: 0 28px 64px rgb(15 39 48 / 0.3);
  color: #fff;
}

.plan-main:hover {
  border-color: var(--glacier-bright);
  box-shadow: 0 32px 72px rgb(15 39 48 / 0.36);
}

/* The plan the calculator lands on. */
.plan.is-match {
  border-color: var(--glacier);
  box-shadow: 0 0 0 3px rgb(11 110 138 / 0.2), 0 18px 44px rgb(15 39 48 / 0.14);
}

.plan-main.is-match {
  border-color: var(--glacier-bright);
  box-shadow: 0 0 0 3px rgb(92 200 224 / 0.45), 0 28px 64px rgb(15 39 48 / 0.3);
}

.plan-flag {
  align-self: flex-start;
  margin-bottom: 0.75rem;
  padding: 0.15rem 0.7rem;
  background: var(--glacier-bright);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.plan h3 {
  font-size: 1.4rem;
}

.plan-for {
  min-height: 3.1em;
  margin-top: 0.3rem;
  color: var(--soft);
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.6rem;
  margin-top: 1rem;
}

.amount {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.per {
  color: var(--soft);
  font-size: 0.95rem;
}

/* The list price the founding price replaces. */
.list-price {
  color: var(--soft);
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration-thickness: 2px;
}

.price-why {
  width: fit-content;
  margin-top: 0.5rem;
  padding: 0.1rem 0.6rem;
  background: #fff7e6;
  border-radius: 999px;
  color: #6b4a06;
  font-size: 0.85rem;
  font-weight: 600;
}

.plan-main .list-price {
  color: #9fb3ba;
}

.plan-main .price-why {
  background: rgb(253 224 138 / 0.16);
  color: #fde08a;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.plan-facts {
  display: grid;
  gap: 0;
  margin-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.plan-facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.plan-facts dt {
  color: var(--soft);
}

.plan-facts dd {
  font-weight: 600;
  text-align: right;
}

.plan-main .plan-for,
.plan-main .per,
.plan-main .plan-facts dt {
  color: #b5c6cd;
}

.plan-main .plan-facts,
.plan-main .plan-facts div {
  border-color: rgb(255 255 255 / 0.16);
}

.plan ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 1.75rem;
}

.plan li {
  position: relative;
  padding-left: 1.5rem;
}

.plan li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.45em;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid var(--inrange);
  border-bottom: 2px solid var(--inrange);
  transform: rotate(-45deg);
}

.plan-main li::before {
  border-color: #4ade80;
}

.plan .btn {
  margin-top: auto;
}

.plan-main .btn {
  background: var(--glacier-bright);
  border-color: var(--glacier-bright);
  color: var(--ink);
}

.plan-main .btn:hover {
  background: #8bdcee;
  border-color: #8bdcee;
}

.addons {
  max-width: 70rem;
  margin: 2.75rem auto 0;
  padding: 1.6rem 1.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.addons-lede {
  margin-top: 0.3rem;
  color: var(--soft);
}

.addon-list {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}

.addon-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1.2fr);
  align-items: baseline;
  gap: 0.25rem 1.5rem;
  padding: 0.8rem 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s;
}

.addon-list > div:hover {
  background: var(--frost);
}

.addon-list dt {
  font-weight: 600;
}

.addon-what {
  color: var(--soft);
  font-size: 0.95rem;
}

.addon-price {
  text-align: right;
}

.addon-price b {
  font-size: 1.1rem;
}

.addon-tag {
  margin-left: 0.35rem;
  padding: 0.05rem 0.5rem;
  background: var(--frost);
  border: 1px dashed #a9bcc4;
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.addons .pricing-note a {
  color: var(--glacier);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.included {
  max-width: 70rem;
  margin: 2.75rem auto 0;
  padding: 1.6rem 1.9rem;
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.included ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 2rem;
  margin-top: 0.9rem;
}

.included li {
  color: var(--soft);
}

.included li b,
.byo b {
  color: var(--ink-2);
}

.byo {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  background: #fff;
  border-left: 4px solid var(--glacier);
  border-radius: 8px;
  color: var(--soft);
}

.pricing-note {
  margin-top: 1rem;
  color: var(--soft);
  font-size: 0.95rem;
}

/* --- FAQ -------------------------------------------------------------------------------------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  align-items: start;
  gap: 2rem clamp(2rem, 5vw, 4.5rem);
}

.faq-side {
  position: sticky;
  top: 6rem;
}

.faq-help {
  margin-top: 1.9rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgb(15 39 48 / 0.07);
}

.faq-help p {
  margin: 0.4rem 0 1.1rem;
  color: var(--soft);
}

.faq-help p a {
  color: var(--glacier);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.faq details:hover {
  border-color: #9cc9d6;
  box-shadow: 0 10px 26px rgb(15 39 48 / 0.08);
  transform: translateX(4px);
}

.faq details[open] {
  border-color: var(--glacier);
  box-shadow: 0 10px 26px rgb(15 39 48 / 0.08);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

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

.faq summary:hover,
.faq details[open] summary {
  color: var(--glacier);
}

/* A round chevron button that turns over when the answer opens. */
.faq summary::after {
  content: '';
  flex: none;
  width: 2rem;
  height: 2rem;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6e8a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 1rem no-repeat;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.2s;
}

.faq summary:hover::after {
  background-color: #cfe8ef;
}

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

.faq-a {
  overflow: hidden;
}

.faq-a p {
  max-width: var(--measure);
  padding: 0 1.25rem 1.3rem;
  color: var(--soft);
}

/* --- demo request ----------------------------------------------------------------------------- */
.demo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem clamp(2rem, 5vw, 5rem);
  background: linear-gradient(135deg, #0b6e8a, #0a5268);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.demo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(34rem 22rem at 0% 100%, rgb(92 200 224 / 0.28), transparent 70%),
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px) 0 0 / 3rem 3rem,
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px) 0 0 / 3rem 3rem;
}

.demo h2 {
  max-width: 16ch;
}

.demo-lede {
  max-width: 30rem;
  margin-top: 0.9rem;
  color: #dff2f7;
  font-size: 1.15rem;
}

/* What the half hour holds, as a short timetable. */
.agenda {
  max-width: 34rem;
  margin-top: 1.9rem;
}

.agenda li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid rgb(255 255 255 / 0.22);
  color: #dff2f7;
}

.agenda li:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 0.22);
}

.agenda b {
  color: #fff;
}

.agenda-when {
  color: #a5e4f2;
  font-weight: 600;
}

.demo-alt {
  margin-top: 1.4rem;
  color: #dff2f7;
}

.demo-alt a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.demo-form {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding: 1.9rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.3);
  color: var(--ink-2);
}

.demo-form h3 {
  font-size: 1.4rem;
  letter-spacing: -0.015em;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.optional {
  color: var(--soft);
  font-weight: 400;
}

.demo-form .consent {
  margin-top: 0;
}

.demo-form .btn-light {
  background: var(--glacier);
  border-color: var(--glacier);
  color: #fff;
}

.demo-form .btn-light:hover {
  background: #0a5870;
  border-color: #0a5870;
}

.demo-form .form-status {
  margin-top: 0;
}

.demo-form .form-status:empty {
  display: none;
}

/* --- footer ----------------------------------------------------------------------------------- */
.foot {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 2rem 3rem;
  padding: 3rem var(--pad) 2rem;
  background: var(--ink);
  color: #9fb3ba;
  font-size: 0.95rem;
}

.foot-brand p {
  margin-top: 0.6rem;
}

.foot nav {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.foot-title {
  margin-bottom: 0.2rem;
  color: #fff;
  font-weight: 600;
}

.foot nav a:hover {
  color: #fff;
}

.foot .legal {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

/* --- legal pages ------------------------------------------------------------------------------ */
.doc {
  max-width: 46rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad);
  margin: 0 auto;
}

.doc h1 {
  max-width: none;
  color: var(--ink-2);
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.doc .doc-meta {
  margin-top: 0.6rem;
  color: var(--soft);
}

.doc h2 {
  max-width: none;
  margin-top: 2.25rem;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.doc p,
.doc ul {
  margin-top: 0.8rem;
}

.doc ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.doc li + li {
  margin-top: 0.35rem;
}

.doc a {
  color: var(--glacier);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.top-plain {
  position: static;
}

/* --- guides (articles) --------------------------------------------------------------------------- */
.guide {
  max-width: 48rem;
}

.guide-crumb a,
.guide-next a {
  font-weight: 600;
}

.guide-crumb {
  margin: 0 0 0.75rem !important;
  font-size: 0.95rem;
}

/* The direct answer, first: what a hurried reader and an AI assistant both take away. */
.guide-answer {
  margin-top: 1.5rem !important;
  padding: 1.1rem 1.3rem;
  background: var(--tint);
  border-left: 4px solid var(--glacier);
  border-radius: 8px;
  font-size: 1.1rem;
}

.doc .guide-steps {
  padding-left: 1.6rem;
  list-style: decimal;
}

.guide-steps li {
  padding-left: 0.3rem;
}

.guide-steps li + li {
  margin-top: 0.7rem;
}

.guide-steps li::marker {
  color: var(--glacier);
  font-weight: 600;
}

.guide-table {
  margin-top: 1rem;
  overflow-x: auto;
}

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

.guide-table th,
.guide-table td {
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.guide-table th {
  background: #fff;
  font-weight: 600;
}

.guide code {
  padding: 0.1rem 0.35rem;
  background: #e3eaed;
  border-radius: 4px;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.guide-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  padding: 1.5rem 1.7rem;
  background: var(--ink);
  border-radius: 14px;
  color: #fff;
}

.guide-cta h2 {
  margin-top: 0;
  color: #fff;
}

.guide-cta p {
  margin-top: 0.3rem;
  color: #c5d3d8;
}

.doc .guide-cta a.btn {
  color: var(--ink);
  text-decoration: none;
  background: var(--glacier-bright);
  border-color: var(--glacier-bright);
}

.guide-note {
  margin-top: 2rem !important;
  color: var(--soft);
  font-size: 0.92rem;
}

.doc .guide-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

.doc .guide-list a {
  display: block;
  padding: 1.2rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.doc .guide-list a:hover {
  border-color: var(--glacier);
  box-shadow: 0 12px 30px rgb(15 39 48 / 0.1);
  transform: translateY(-2px);
}

.guide-list b {
  display: block;
  font-size: 1.12rem;
}

.guide-list span {
  display: block;
  margin-top: 0.25rem;
  color: var(--soft);
}

.foot-plain {
  display: block;
}

.foot-plain .legal {
  padding-top: 0;
  border-top: 0;
}

.foot-plain a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- motion ----------------------------------------------------------------------------------- */
/* Every animation runs *from* a hidden or offset state to the element's normal one. If one never
 * runs (a paused background tab, a crawler's renderer, a print), the content is simply there. */
@media (prefers-reduced-motion: no-preference) {
  /* The hero's one orchestrated moment: the trace draws, crosses the limit, and the four moments
   * light up in the order they happen. */
  .trace .line {
    stroke-dasharray: 1;
    animation: draw 2.4s 0.3s cubic-bezier(0.6, 0, 0.3, 1) backwards;
  }

  .trace .excursion,
  .trace .dot,
  .moments li {
    animation: appear 0.45s ease-out backwards;
  }

  .trace .excursion,
  .trace .d1,
  .moments .m1 {
    animation-delay: 1.5s;
  }

  .trace .d2,
  .moments .m2 {
    animation-delay: 2s;
  }

  .trace .d3,
  .moments .m3 {
    animation-delay: 2.5s;
  }

  .trace .d4,
  .moments .m4 {
    animation-delay: 3s;
  }

  /* After the block lands, its dot keeps a slow heartbeat: the one thing on the page still moving. */
  .trace .pulse {
    animation: pulse 2.4s 3.4s ease-out infinite;
  }

  .hero-glow {
    animation: drift 22s ease-in-out infinite alternate;
  }

  .hero-text > * {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }

  .hero-text > :nth-child(2) {
    animation-delay: 0.08s;
  }

  .hero-text > :nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero-text > :nth-child(4) {
    animation-delay: 0.24s;
  }

  .hero-text > :nth-child(5) {
    animation-delay: 0.32s;
  }

  .trace {
    animation: rise 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }

  .ribbon-track {
    animation: slide 38s linear infinite;
  }

  .ribbon:hover .ribbon-track {
    animation-play-state: paused;
  }

  /* Sections ease in as they are scrolled to. script.js adds .is-in; without JavaScript (no .js on
   * <html>) nothing is ever hidden. */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  /* Once arrived, an element goes back to its own, quicker hover transitions. */
  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
  }

  .js .versus-after[data-reveal],
  .js .plan[data-reveal]:nth-child(2),
  .js .connect-list li:nth-child(2),
  .js .road-item:nth-child(3n + 2) {
    transition-delay: 0.1s;
  }

  .js .plan[data-reveal]:nth-child(3),
  .js .connect-list li:nth-child(3),
  .js .road-item:nth-child(3n) {
    transition-delay: 0.2s;
  }

  .js .connect-list li:nth-child(4) {
    transition-delay: 0.3s;
  }

  /* A card that has arrived answers the pointer at once, not after its entrance delay. */
  .js [data-reveal].is-in:hover {
    transition-delay: 0s;
  }

  /* Before and after: each bar grows to its length, then the events arrive in order. */
  .js .versus-col[data-reveal] .versus-bar span {
    transform: scaleX(0);
    transition: transform 1.8s 0.3s cubic-bezier(0.3, 0, 0.2, 1);
  }

  .js .versus-after[data-reveal] .versus-bar span {
    transition-duration: 0.3s;
  }

  .js .versus-col.is-in .versus-bar span {
    transform: none;
  }

  .js .versus-col[data-reveal] li {
    opacity: 0;
    transform: translateX(-0.6rem);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .js .versus-col.is-in li {
    opacity: 1;
    transform: none;
  }

  .js .versus-col.is-in li:nth-child(1) {
    transition-delay: 0.5s;
  }

  .js .versus-col.is-in li:nth-child(2) {
    transition-delay: 0.8s;
  }

  .js .versus-col.is-in li:nth-child(3) {
    transition-delay: 1.1s;
  }

  .js .versus-col.is-in li:nth-child(4) {
    transition-delay: 1.4s;
  }

  /* How it works: the line runs from left to right and each step completes as it is reached,
   * over and over. It starts when the section is scrolled to (script.js adds .is-live). */
  .flow.is-live .flow-step {
    animation: 11s linear infinite;
  }

  .flow.is-live .flow-step:nth-child(1) {
    animation-name: step-1;
  }

  .flow.is-live .flow-step:nth-child(2) {
    animation-name: step-2;
  }

  .flow.is-live .flow-step:nth-child(3) {
    animation-name: step-3;
  }

  .flow.is-live .flow-step:nth-child(4) {
    animation-name: step-4;
  }

  .flow.is-live .flow-step:nth-child(5) {
    animation-name: step-5;
  }

  .flow.is-live .flow-rail::before {
    animation: rail-fill 11s linear infinite;
  }

  .flow.is-live .flow-rail::after {
    animation: rail-head 11s linear infinite;
  }

  @keyframes step-1 {
    0% { --p: 0; }
    4%, 94% { --p: 1; }
    100% { --p: 0; }
  }

  @keyframes step-2 {
    0%, 15% { --p: 0; }
    21%, 94% { --p: 1; }
    100% { --p: 0; }
  }

  @keyframes step-3 {
    0%, 30% { --p: 0; }
    36%, 94% { --p: 1; }
    100% { --p: 0; }
  }

  @keyframes step-4 {
    0%, 45% { --p: 0; }
    51%, 94% { --p: 1; }
    100% { --p: 0; }
  }

  @keyframes step-5 {
    0%, 60% { --p: 0; }
    66%, 94% { --p: 1; }
    100% { --p: 0; }
  }

  @keyframes rail-fill {
    0% { transform: scaleX(0); opacity: 1; }
    60%, 94% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(1); opacity: 0; }
  }

  @keyframes rail-fill-down {
    0% { transform: scaleY(0); opacity: 1; }
    60%, 94% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
  }

  @keyframes rail-head {
    0% { left: 0; opacity: 1; }
    60% { left: 100%; opacity: 1; }
    64%, 100% { left: 100%; opacity: 0; }
  }

  /* The waitlist dialog rises into place over a fading backdrop. */
  .modal[open] {
    animation: modal-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .modal[open]::backdrop {
    animation: appear 0.25s ease-out;
  }

  @keyframes modal-in {
    from {
      opacity: 0;
      transform: translateY(1.5rem) scale(0.96);
    }
  }

  /* A price that has just changed (monthly to yearly) ticks into place. */
  .amount.is-changed {
    animation: tick 0.35s ease-out;
  }

  @keyframes tick {
    from {
      opacity: 0;
      transform: translateY(0.4rem);
    }
  }

  @keyframes draw {
    from {
      stroke-dashoffset: 1;
    }
  }

  @keyframes appear {
    from {
      opacity: 0;
    }
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(1.25rem);
    }
  }

  @keyframes pulse {
    0% {
      opacity: 0.8;
      transform: scale(1);
    }

    70%,
    100% {
      opacity: 0;
      transform: scale(3.2);
    }
  }

  @keyframes drift {
    to {
      transform: translate3d(-4%, 3%, 0) scale(1.08);
    }
  }

  @keyframes slide {
    to {
      transform: translateX(-100%);
    }
  }
}

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

  /* No travelling ribbon: show it as a wrapped list. */
  .ribbon {
    flex-wrap: wrap;
    white-space: normal;
  }

  .ribbon-track {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.4rem;
  }

  .ribbon-track[aria-hidden='true'] {
    display: none;
  }
}

/* --- tablets and small laptops ---------------------------------------------------------------- */
@media (max-width: 68rem) {
  .hero,
  .compliance,
  .faq,
  .demo {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-side {
    position: static;
  }

  /* Five steps no longer fit side by side: they stack, the line runs down the left, and each
   * step puts its picture beside its text. */
  .flow-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .flow-rail {
    left: 1.2rem;
    right: auto;
    top: 1.25rem;
    bottom: 4rem;
    width: 2px;
    height: auto;
  }

  .flow-rail::before {
    transform-origin: top;
  }

  .flow.is-live .flow-rail::before {
    animation-name: rail-fill-down;
  }

  .flow-rail::after {
    display: none;
  }

  .flow-step {
    display: grid;
    grid-template-columns: 13rem minmax(0, 1fr);
    align-items: center;
    column-gap: 1.5rem;
    padding: 0 0 0 4rem;
    text-align: left;
  }

  .flow-step::before {
    left: 0;
    margin-left: 0;
  }

  .flow-art {
    grid-row: span 2;
  }

  .flow-step h3 {
    align-self: end;
    margin-top: 0;
  }

  .flow-step p {
    align-self: start;
  }

  h1 {
    max-width: 16ch;
  }

  .trace {
    max-width: 40rem;
  }

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

  .shot-flip .shot-text {
    order: 0;
  }

  .road-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .connect-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .foot-brand {
    grid-column: 1 / -1;
  }

  .menu {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--pad) 1.25rem;
    background: var(--ink);
    border-bottom: 1px solid rgb(255 255 255 / 0.12);
  }

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

  .nav a:not(.btn) {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
  }

  .nav-login {
    margin-left: 0;
  }

  .nav .btn {
    margin-top: 1rem;
  }
}

/* Three plans side by side need room; below this they stack, the recommended one first. */
@media (max-width: 60rem) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 32rem;
  }

  .plan-main {
    margin-block: 0;
    padding-block: 1.9rem;
  }

  .plan-main {
    order: -1;
  }

  .plan-for {
    min-height: 0;
  }

}

/* --- phones ----------------------------------------------------------------------------------- */
@media (max-width: 42rem) {
  body {
    font-size: 1rem;
  }

  .versus,
  .compliance-list,
  .connect-list,
  .road-list,
  .included ul,
  .field-row,
  .moments {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-row .btn {
    flex: 1 1 100%;
  }

  .versus-col li {
    grid-template-columns: 4.9rem minmax(0, 1fr);
  }

  .trace {
    padding: 0.9rem 0.9rem 1rem;
  }

  .calc output {
    font-size: 1.8rem;
  }

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

  .flow-step {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 3.4rem;
  }

  .flow-art {
    grid-row: auto;
    margin-bottom: 1rem;
  }

  .calc {
    padding: 1.25rem;
  }

  .addons {
    padding: 1.25rem;
  }

  .addon-list > div {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 0;
  }

  .addon-price {
    text-align: left;
  }

  .calc-row {
    gap: 0.9rem;
  }

  .billing button {
    padding-inline: 0.8rem;
  }

  .agenda li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.15rem;
  }

  .join {
    padding: 1.6rem 1.25rem 1.25rem;
  }

  .modal-actions .btn {
    flex: 1;
  }

  .tour-cta .btn {
    flex: 1 1 100%;
  }

  /* On touch screens a card that slides sideways under the finger is a nuisance. */
  .faq details:hover {
    transform: none;
  }
}
