/* Generated by tool/gen_tokens.dart from packages/dutiva_design/tokens/dutiva.json (the
   platform's shared base, ADR-0017). Do not edit.
   The theme follows the device; a visitor's choice (assets/theme.js sets
   data-theme on <html>) overrides it. */

:root {
  color-scheme: light;
  --void: #f7eeda;
  --floor: #fdf8ec;
  --panel: #fffef9;
  --raised: #fbf6e9;
  --line: #e2d9c4;
  --line-strong: #7a7466;
  --text1: #18233a;
  --text2: #3d4a63;
  --text3: #5c667b;
  --signal: #27573a;
  --signal-soft: rgb(39 87 58 / 0.1);
  --pos: #27573a;
  --neg: #9a3b2e;
  --warn: #7a5b0a;
  --info: #13294e;
  --on-fill: #ffffff;
  --scrim: rgb(10 23 48 / 0.45);
  --navy: #13294e;
  --navy-soft: rgb(19 41 78 / 0.08);
  --gold: #7a5f10;
  --gold-soft: #f3e5b8;
  --clay: #8e5235;
  --clay-soft: #f0dfd0;
  --radius-control: 12px;
  --radius-panel: 16px;
  --radius-sheet: 28px;
  --radius-pill: 999px;
  --size-label-small: 11px;
  --size-label: 12px;
  --size-body-small: 13px;
  --size-body: 15px;
  --size-body-large: 17px;
  --size-data: 14px;
  --size-data-large: 15px;
  --size-title: 20px;
  --size-input: 22px;
  --size-hero-small: 28px;
  --size-hero: 32px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;
  --layout-wide: 840px;
  --layout-target: 44px;
  --motion-fast: 150ms;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --void: #0b140e;
    --floor: #0f1b14;
    --panel: #16241b;
    --raised: #1c2d22;
    --line: #2a3d30;
    --line-strong: #71877a;
    --text1: #f1ead6;
    --text2: #d6dccb;
    --text3: #a9b3a6;
    --signal: #7fbf9a;
    --signal-soft: rgb(127 191 154 / 0.14);
    --pos: #7fbf9a;
    --neg: #f0a898;
    --warn: #d9b95a;
    --info: #a9c2e8;
    --on-fill: #0f1b14;
    --scrim: rgb(0 0 0 / 0.72);
    --navy: #a9c2e8;
    --navy-soft: rgb(169 194 232 / 0.14);
    --gold: #d9b85c;
    --gold-soft: #1f281b;
    --clay: #cf9070;
    --clay-soft: #36261b;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --void: #0b140e;
  --floor: #0f1b14;
  --panel: #16241b;
  --raised: #1c2d22;
  --line: #2a3d30;
  --line-strong: #71877a;
  --text1: #f1ead6;
  --text2: #d6dccb;
  --text3: #a9b3a6;
  --signal: #7fbf9a;
  --signal-soft: rgb(127 191 154 / 0.14);
  --pos: #7fbf9a;
  --neg: #f0a898;
  --warn: #d9b95a;
  --info: #a9c2e8;
  --on-fill: #0f1b14;
  --scrim: rgb(0 0 0 / 0.72);
  --navy: #a9c2e8;
  --navy-soft: rgb(169 194 232 / 0.14);
  --gold: #d9b85c;
  --gold-soft: #1f281b;
  --clay: #cf9070;
  --clay-soft: #36261b;
}
/* The site's look, over the generated tokens (tokens.css, ADR-0017): the
   system font for text, Lora for the calm products' titles, the shared
   shapes (pill buttons and chips, 16 px cards), both designed themes.
   Mobile first; two columns and more from the shared wide breakpoint. */

@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/Lora.3115193bd8.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--floor);
  color: var(--text1);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--size-body-large);
  line-height: 1.6;
}

/* Figures line up in prices, tables and facts. Never on the body: Lora's
   tabular feature also widens the space, which split every title apart. */
.price,
.table-wrap,
.facts,
.plan {
  font-variant-numeric: tabular-nums;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 var(--space-md);
  text-wrap: balance;
}

.serif h1,
.serif h2 {
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-weight: 600;
}

h1 {
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(var(--size-hero), 6vw, 48px);
}

/* Above a card's title (the title size), even on a phone. */
h2 {
  font-size: clamp(calc(var(--size-title) * 1.2), 4vw, var(--size-hero-small));
}

h3 {
  font-size: var(--size-body-large);
}

p {
  margin: 0 0 var(--space-md);
}

a {
  color: var(--signal);
  text-underline-offset: 3px;
}

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: var(--radius-control);
}

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

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.skip {
  position: absolute;
  left: var(--space-lg);
  top: -100px;
  background: var(--panel);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  z-index: 10;
}

.skip:focus {
  top: var(--space-sm);
}

/* Header */

.top {
  border-bottom: 1px solid var(--line);
  background: var(--floor);
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
}

.top-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 var(--space-xl);
  min-height: 64px;
  padding-top: var(--space-sm);
}

.tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
}

.top-row .nav {
  grid-column: 1 / -1;
  order: 3;
}

.theme-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--layout-target);
  height: var(--layout-target);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text1);
  cursor: pointer;
}

.js .theme-toggle {
  display: inline-flex;
}

.theme-toggle svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle[aria-pressed="true"] .i-moon,
.theme-toggle[aria-pressed="false"] .i-sun {
  display: none;
}

.theme-toggle:hover {
  background: var(--raised);
}

.theme-toggle:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text1);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--size-title);
  min-height: var(--layout-target);
}

.lang {
  display: inline-flex;
  align-items: center;
  min-height: var(--layout-target);
  padding: 0 var(--space-lg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--text1);
  text-decoration: none;
  font-size: var(--size-body);
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0 0 var(--space-xs);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--layout-target);
  white-space: nowrap;
  color: var(--text2);
  font-size: var(--size-body);
  text-decoration: none;
}

.nav a {
  position: relative;
}

.nav a:hover {
  color: var(--text1);
}

.nav a[aria-current="page"] {
  color: var(--text1);
  font-weight: 600;
}

.nav a[aria-current="page"]::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--signal);
}

.nav a:hover:not([aria-current])::after {
  background: var(--line-strong);
}

/* The Dutiva leaf has no tile of its own: give it one, so it matches the
   other marks and its navy reads on the dark theme. */
img.tile {
  background: var(--tile-bg, var(--panel));
  border: 1px solid var(--tile-bg, var(--line));
  border-radius: var(--radius-control);
  padding: 3px;
}

.brand img.tile {
  border-radius: 9px;
  padding: 2px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --tile-bg: var(--text1);
  }
}

:root[data-theme="dark"] {
  --tile-bg: var(--text1);
}

/* Hero */

.hero {
  padding: var(--space-xxl) 0 var(--space-xl);
}

.hero-mark {
  display: block;
  border-radius: var(--radius-panel);
  margin-bottom: var(--space-lg);
}

.eyebrow {
  color: var(--text2);
  font-size: var(--size-body);
  font-weight: 600;
}

.lead {
  font-size: clamp(var(--size-body-large), 2.2vw, var(--size-title));
  color: var(--text2);
  max-width: 44rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: var(--space-xl) 0 var(--space-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--layout-target);
  padding: 0 var(--space-xl);
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--text1);
  font-weight: 600;
  font-size: var(--size-body);
  text-decoration: none;
  transition: background var(--motion-fast);
}

.btn:hover {
  background: var(--raised);
}

.btn.primary {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--on-fill);
}

.btn.primary:hover {
  filter: brightness(1.08);
}

/* Sections */

.band {
  padding: var(--space-xxl) 0;
}

/* The hero's buttons already end it: no second gap before the first band. */
.hero + .band {
  padding-top: var(--space-lg);
}

.band.tint {
  background: var(--void);
}

.intro {
  color: var(--text2);
  max-width: 44rem;
}

.cards {
  list-style: none;
  margin: var(--space-xl) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: var(--space-xl);
}

.card p {
  color: var(--text2);
  font-size: var(--size-body);
  margin: 0;
}

.steps {
  counter-reset: step;
}

.steps .card h3::before {
  counter-increment: step;
  content: counter(step) ". ";
  color: var(--signal);
}

.lines {
  margin: var(--space-md) 0;
  padding-left: 1.2em;
  max-width: 48rem;
}

.lines li {
  margin-bottom: var(--space-sm);
}

.notice {
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--gold);
  background: var(--panel);
  border-radius: var(--radius-control);
  padding: var(--space-md) var(--space-lg);
  font-size: var(--size-body);
  color: var(--text1);
  max-width: 48rem;
  margin: var(--space-md) 0;
}

.notice[role="note"] {
  border-left-color: var(--signal);
  font-weight: 600;
}

.cards + .links {
  margin-top: var(--space-lg);
}

.fine,
.links {
  font-size: var(--size-body);
  color: var(--text2);
}

/* The home page: a centred opening, then the two sides as doors */

.hero-home {
  text-align: center;
  padding-bottom: 80px;
  background:
    radial-gradient(50rem 24rem at 20% 0%, var(--signal-soft), transparent 70%),
    radial-gradient(50rem 24rem at 80% 10%, var(--navy-soft), transparent 70%);
}

.hero-home h1,
.hero-home .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-home h1 {
  max-width: 16em;
}

.doors-band {
  margin-top: -32px;
  padding-bottom: var(--space-xxl);
}

.doors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-lg);
}

.door {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sheet);
  padding: var(--space-xxl);
  box-shadow: 0 24px 48px -32px var(--scrim);
}

.door h2 {
  font-size: clamp(var(--size-hero-small), 4vw, 40px);
  margin-bottom: var(--space-sm);
}

.door-line {
  color: var(--text2);
}

.door .actions {
  margin: auto 0 0;
  padding-top: var(--space-lg);
}

.app-rows {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
}

.app-rows li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: var(--size-body);
}

.app-rows img,
.app-rows .mono {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.app-rows .mono {
  font-size: var(--size-body);
}

.assistants .card {
  padding: var(--space-lg) var(--space-xl);
}

.assistant .who {
  margin-bottom: var(--space-xs);
  color: var(--text1);
}

.assistant .who span {
  color: var(--text3);
  font-size: var(--size-body-small);
}

.assistant.soon {
  background: transparent;
}

.closing {
  text-align: center;
  border-top: 1px solid var(--line);
}

.closing .actions {
  justify-content: center;
}

.feature-cols {
  display: grid;
  gap: var(--space-lg) var(--space-xxl);
}

.feature-cols .notice {
  margin-bottom: 0;
}

.feature-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.feature-head h3 {
  margin: 0;
  font-size: var(--size-title);
}

.feature-head .chip-row {
  margin-left: auto;
}

.feature-lead {
  font-size: var(--size-body-large);
}

.feature .card p,
.card.feature > p {
  color: var(--text1);
}

/* Products */



.product a {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.product {
  transition:
    border-color var(--motion-fast),
    transform var(--motion-fast),
    box-shadow var(--motion-fast);
}

.product:hover {
  border-color: var(--signal);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -20px var(--scrim);
}

.product h3::after {
  content: " \2192";
  color: var(--signal);
  opacity: 0;
  transition: opacity var(--motion-fast);
}

.product:hover h3::after {
  opacity: 1;
}

/* In development: quieter cards, an outlined initial instead of a filled one. */
.product.soon {
  background: transparent;
}

.product.soon .mono {
  background: transparent;
  border: 1.5px dashed var(--line-strong);
  color: var(--text2);
}

.product.soon img {
  opacity: 0.85;
}

.product img,
.mono {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-control);
}

.mono {
  display: inline-grid;
  place-items: center;
  background: var(--signal);
  color: var(--on-fill);
  font-weight: 700;
  font-size: var(--size-title);
}

.product-area {
  color: var(--text3);
  font-size: var(--size-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product h3 {
  margin: 0;
  font-size: var(--size-title);
}

/* The mark beside the area and the name: a shorter card on a phone. */
.product-head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xs);
}

.product-head img,
.product-head .mono {
  flex: none;
}

.product-head .product-area {
  display: block;
}

.product .mono {
  font-size: var(--size-title);
}

.product .chip-row {
  margin-top: auto;
}

.chip {
  display: inline-block;
  white-space: nowrap;
  padding: 3px var(--space-md);
  border-radius: var(--radius-pill);
  font-size: var(--size-body-small);
  line-height: 1.4;
  font-weight: 600;
  border: 1px solid currentColor;
}

.chip.open {
  color: var(--pos);
  background: var(--signal-soft);
}

.chip.invite {
  color: var(--info);
  background: var(--navy-soft);
}

.chip.early {
  color: var(--gold);
  background: var(--gold-soft);
}

.chip.preview {
  color: var(--text2);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-sm);
}

.preview-note {
  font-size: var(--size-body-small) !important;
  color: var(--text3) !important;
}

.chip.dev {
  color: var(--text2);
}

/* Plans */

.card .price {
  font-size: var(--size-hero-small);
  font-weight: 700;
  color: var(--text1);
  margin: 0 0 var(--space-sm);
}

.plan > p {
  margin-bottom: var(--space-sm);
}

.plan .per {
  font-size: var(--size-body);
  font-weight: 400;
  color: var(--text2);
  margin-left: 2px;
}

.plan .lines {
  font-size: var(--size-body);
  color: var(--text2);
}

/* HR's carried pages (lib/hr_pages.dart): documents, help, FAQ, tables */

.narrow {
  max-width: 760px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-sm);
  list-style: none;
  margin: 0;
  padding: var(--space-lg) 0 0;
  font-size: var(--size-body-small);
  color: var(--text3);
}

.crumbs li + li::before {
  content: "/";
  margin-right: var(--space-sm);
  color: var(--text3);
}

.crumbs a {
  color: var(--text2);
}

.kicker {
  color: var(--text3);
  font-size: var(--size-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}

.fine {
  font-size: var(--size-body-small);
}

.center {
  text-align: center;
}

.strong {
  font-weight: 600;
  color: var(--text1);
}

.group {
  margin-top: var(--space-xxl);
  font-size: var(--size-title);
}

.quote {
  margin: var(--space-lg) 0 0;
  padding: var(--space-xl);
  border-left: 4px solid var(--gold);
  background: var(--panel);
  border-radius: var(--radius-control);
  font-size: var(--size-title);
  max-width: 48rem;
}

.quote p {
  margin: 0;
}

.signature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.signature img {
  border-radius: var(--radius-panel);
}

.signature p {
  margin: 0 0 var(--space-xs);
}

.faq {
  display: grid;
  gap: var(--space-md);
  max-width: 48rem;
  margin-top: var(--space-lg);
}

.faq .card {
  padding: 0;
}

.faq summary {
  cursor: pointer;
  padding: var(--space-lg) var(--space-xl);
  min-height: var(--layout-target);
  font-weight: 600;
}

.faq summary:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
  border-radius: var(--radius-panel);
}

.faq details p {
  padding: 0 var(--space-xl) var(--space-lg);
}

.facts {
  display: grid;
  gap: var(--space-lg) var(--space-xxl);
  grid-template-columns: 1fr;
  margin: var(--space-lg) 0;
}

.facts dt {
  color: var(--text3);
  font-size: var(--size-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.facts dd {
  margin: var(--space-xs) 0 0;
}

.lines.small {
  font-size: var(--size-body-small);
  color: var(--text2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
  margin: var(--space-md) 0;
  padding: 0;
}

.chips .chip {
  color: var(--text2);
}

.chip.risk-low {
  color: var(--pos);
}

.chip.risk-medium {
  color: var(--warn);
}

.chip.risk-high {
  color: var(--neg);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-xl);
  list-style: none;
  margin: var(--space-lg) 0 0;
  padding: 0;
}

.link-row a,
.more a,
.back {
  display: inline-flex;
  align-items: center;
  min-height: var(--layout-target);
  font-weight: 600;
}

.card h3 a {
  color: var(--text1);
}

.card .more {
  margin-top: var(--space-sm);
}

.card.plan.popular {
  border-color: var(--signal);
}

.cards.plans .plan {
  display: flex;
  flex-direction: column;
}

.cards.plans .plan .actions {
  margin: auto 0 0;
  padding-top: var(--space-md);
}

.aside {
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: var(--space-xl);
  max-width: 48rem;
}

.aside h2 {
  font-size: var(--size-title);
}

.table-wrap {
  overflow-x: auto;
  margin: var(--space-lg) 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
}

.table-wrap table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--size-body);
}

.table-wrap th,
.table-wrap td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

.table-wrap thead th {
  border-top: 0;
}

.table-wrap td {
  color: var(--text2);
}

.table-wrap tbody th {
  font-weight: 600;
}

.table-wrap .group th {
  background: var(--void);
  font-size: var(--size-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text2);
}

.table-wrap .sub {
  display: block;
  font-weight: 400;
  font-size: var(--size-body-small);
  color: var(--text3);
}

.yes,
.no {
  display: inline-block;
  width: 16px;
  height: 16px;
  position: relative;
}

.yes::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--signal);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.no::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 10px;
  border-top: 2px solid var(--text3);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.timeline {
  list-style: none;
  margin: var(--space-xl) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-lg);
}

.timeline h2 {
  font-size: var(--size-title);
  margin-bottom: var(--space-sm);
}

.doc {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
}

.doc h1 {
  font-size: clamp(var(--size-hero-small), 5vw, 40px);
}

.doc h2 {
  font-size: var(--size-title);
  margin-top: var(--space-xxl);
}

.doc section p,
.doc section li {
  color: var(--text2);
}

.callout {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-panel);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

.box {
  margin-top: var(--space-xxl);
}

.box h2 {
  margin-top: 0;
}

.related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-xs);
}

.related h2 {
  font-size: var(--size-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text3);
}

.disclaimer {
  margin-top: var(--space-xxl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line);
  color: var(--text3);
}

/* Footer */

.foot {
  border-top: 1px solid var(--line);
  padding: var(--space-xxl) 0 var(--space-xl);
  font-size: var(--size-body);
  color: var(--text2);
}

.foot-grid {
  display: grid;
  gap: var(--space-xl) var(--space-lg);
  grid-template-columns: repeat(2, 1fr);
}

.foot-grid > :first-child {
  grid-column: 1 / -1;
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 var(--space-xl);
}

.foot-base .copy {
  margin: var(--space-xl) 0 0;
}

.foot h2 {
  font-family: inherit;
  font-size: var(--size-body);
  color: var(--text1);
  margin-bottom: var(--space-sm);
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot li a {
  display: inline-flex;
  min-height: var(--layout-target);
  align-items: center;
  line-height: 1.3;
  color: var(--text2);
  text-decoration: none;
}

.foot li a:hover {
  color: var(--text1);
  text-decoration: underline;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  color: var(--text1);
}

.copy {
  margin-top: var(--space-xl);
  color: var(--text3);
}

/* Wider windows */

@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 840px) {
  .hero {
    padding: 72px 0 var(--space-xxl);
  }

  /* Two or four cards read as rows of two, never three and one alone. */
  .cards:has(> li:nth-child(4):last-child),
  .cards:has(> li:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }

  .doors,
  .feature-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-row {
    grid-template-columns: auto 1fr auto;
  }

  .top-row .nav {
    grid-column: auto;
    order: 0;
  }

  .nav ul {
    padding: 0;
  }

  .foot li a {
    min-height: 32px;
  }



  .band {
    padding: 56px 0;
  }

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

  .cards.plans {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
