/* From @shelfwin/brand; generated by src/build.ts. */
:root {
  --night: #041B13;
  --forest: #0B3D2E;
  --lime: #B0D34D;
  --paper: #F7F9F3;
  --ink: #173A2B;
  --mist: #E6EDE1;
  --white: #FFFFFF;
}

/*
 * ShelfWin landing page. Colours are the brand palette (--night, --forest,
 * --lime, --paper, --ink, --mist, --white), written above this file by the
 * build from @shelfwin/brand. Lime is never text on light surfaces.
 */

@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-latin-400.woff2) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-latin-500.woff2) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-latin-600.woff2) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-latin-700.woff2) format("woff2");
}
@font-face {
  font-family: "Cairo";
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/cairo-arabic-400.woff2) format("woff2");
  unicode-range:
    U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Cairo";
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cairo-arabic-600.woff2) format("woff2");
  unicode-range:
    U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Cairo";
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/cairo-arabic-700.woff2) format("woff2");
  unicode-range:
    U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}

:root {
  --muted: #4f6b5c;
  --on-dark-muted: #c9d8cc;
  --line: #dce5d6;
  --forest-raised: #134a39;
  --amber: #7a5a00;
  --amber-surface: #f6edcf;
  --danger: #9b2c1f;
  --danger-surface: #f7e1dc;
  --chain-a: #0b3d2e;
  --chain-b: #2f5da8;
  --chain-c: #c2410c;
  --radius: 16px;
  --gutter: 16px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
:root[dir="rtl"] {
  /* Cairo carries the Arabic; Inter keeps Latin words and numbers. */
  font-family: "Cairo", "Inter", system-ui, sans-serif;
  line-height: 1.75;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--paper);
  overflow-x: clip;
}
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
img {
  display: block;
}
:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 20;
  background: var(--lime);
  color: var(--forest);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Text */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
:root[dir="rtl"] .eyebrow {
  letter-spacing: 0;
  font-size: 15px;
}
.eyebrow-lime,
.section-forest .eyebrow,
.closing .eyebrow {
  color: var(--lime);
}
h1 {
  font-size: clamp(34px, 8.5vw, 60px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(26px, 5.8vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
  max-width: 22ch;
  margin-top: 8px;
  color: var(--forest);
}
:root[dir="rtl"] h1,
:root[dir="rtl"] h2 {
  letter-spacing: 0;
  line-height: 1.35;
}
h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--forest);
}
.lead {
  font-size: clamp(17px, 2.4vw, 19px);
  color: var(--muted);
  max-width: 60ch;
  margin-top: 16px;
}

/* Buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition:
    transform 120ms ease,
    background-color 120ms ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button-lime {
  background: var(--lime);
  color: var(--forest);
}
.button-lime:hover {
  background: color-mix(in srgb, var(--lime) 88%, var(--white));
}
.button-ghost {
  color: var(--white);
  border-color: color-mix(in srgb, var(--white) 40%, transparent);
}
.button-ghost:hover {
  border-color: var(--white);
}
.button-forest {
  background: var(--forest);
  color: var(--white);
}
.button-forest:hover {
  background: var(--night);
}
.button-small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 15px;
  white-space: nowrap;
}

/* Top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--night) 94%, transparent);
  backdrop-filter: blur(8px);
  color: var(--white);
}
.top-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  border-radius: 9px;
}
.wordmark {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--white);
}
.top-nav {
  display: none;
  gap: 24px;
  margin-inline-start: 16px;
}
.top-nav a,
.top-signin,
.lang {
  text-decoration: none;
  font-weight: 500;
  color: color-mix(in srgb, var(--white) 86%, transparent);
}
.top-nav a:hover,
.top-signin:hover,
.lang:hover {
  color: var(--white);
}
.top-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.top-signin {
  display: none;
}

/* Hero */
.hero {
  background:
    radial-gradient(
      90% 70% at 100% 0%,
      color-mix(in srgb, var(--forest) 80%, transparent),
      transparent 70%
    ),
    radial-gradient(
      70% 60% at 0% 100%,
      color-mix(in srgb, var(--forest) 60%, transparent),
      transparent 70%
    ),
    var(--night);
  color: var(--white);
  padding: 40px 0 56px;
  overflow: hidden;
}
.hero h1 {
  margin-top: 12px;
  max-width: 15ch;
}
.hero .lead {
  color: var(--on-dark-muted);
}
.hero-grid {
  display: grid;
  gap: 48px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  font-size: 15px;
  color: var(--on-dark-muted);
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--lime);
}
.hero-text .shelf-lines {
  margin-top: 36px;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 28px;
}

/*
 * The logo's three shelves, drawn as on the sign-in panel (keep the two the
 * same): thick bars with the W's slanted ends, starting at one edge and each
 * a little longer than the one above, set close so they read as one shelf
 * unit. Laid out left to right; Arabic mirrors.
 */
.shelf-lines {
  --shelf: 0.5px;
  direction: ltr;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(20 * var(--shelf));
}
:root[dir="rtl"] .shelf-lines {
  transform: scaleX(-1);
}
.shelf-lines span {
  display: block;
  height: calc(12 * var(--shelf));
  background: var(--lime);
  /* Ends slanted like the upright: 4 units across for 12 down. */
  clip-path: polygon(
    0 0,
    calc(100% - 4 * var(--shelf)) 0,
    100% 100%,
    calc(4 * var(--shelf)) 100%
  );
}
.shelf-lines span:nth-child(1) {
  width: calc(260 * var(--shelf));
}
.shelf-lines span:nth-child(2) {
  width: calc(280 * var(--shelf));
}
.shelf-lines span:nth-child(3) {
  width: calc(300 * var(--shelf));
}

/* Phone mock-up */
.phone {
  width: min(300px, 82vw);
  border-radius: 40px;
  padding: 10px;
  background: #0d1f18;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--lime) 22%, transparent),
    0 40px 80px rgb(0 0 0 / 0.45);
}
.phone-screen {
  border-radius: 31px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  min-height: 520px;
}
.phone-header {
  background: var(--night);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 26px 18px 16px;
  font-weight: 600;
  font-size: 18px;
}
.phone-header img {
  border-radius: 7px;
}
.phone-body {
  padding: 16px;
}
.phone-date {
  font-size: 13px;
  color: var(--muted);
}
.phone-progress {
  font-weight: 600;
  color: var(--forest);
  margin-top: 2px;
}
.progress {
  height: 8px;
  border-radius: 8px;
  background: var(--mist);
  margin: 10px 0 14px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--forest);
  border-radius: inherit;
}
.visit-list {
  display: grid;
  gap: 8px;
}
.visit-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.visit-row .chip {
  grid-column: 2;
  justify-self: start;
}
.visit-text {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
}
.visit-text small {
  color: var(--muted);
  white-space: nowrap;
}
.visit-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}
.dot-done {
  background: var(--forest);
  box-shadow: 0 0 0 3px var(--lime);
}
.dot-waiting {
  background: var(--amber);
}
.dot-open {
  background: var(--white);
  border: 2px solid var(--forest);
}
.dot-attention {
  background: var(--danger);
}
.dot-muted {
  background: var(--mist);
}

/* Chips: the app's status pills */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.chip {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.chip-done {
  background: var(--lime);
  color: var(--forest);
}
.chip-waiting {
  background: var(--amber-surface);
  color: var(--amber);
}
.chip-open {
  background: var(--mist);
  color: var(--forest);
}
.chip-attention {
  background: var(--danger-surface);
  color: var(--danger);
}
.chip-muted {
  background: var(--mist);
  color: var(--muted);
}

.float-card {
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: min(270px, 74vw);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.35);
}
.float-card strong {
  display: block;
  color: var(--forest);
}
.float-card small {
  color: var(--muted);
  font-size: 13px;
}
.pin-badge {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
}
.pin-badge .icon {
  width: 18px;
  height: 18px;
}

/* Sections */
.section {
  padding: 64px 0;
}
.section-mist {
  background: var(--mist);
}
.section-forest {
  background: var(--forest);
  color: var(--white);
}
.section-forest h2,
.section-forest h3 {
  color: var(--white);
}
.section-forest .card {
  background: var(--forest-raised);
  border-color: transparent;
}
.section-forest .card p {
  color: var(--on-dark-muted);
}
.section-forest .card-icon {
  background: color-mix(in srgb, var(--lime) 16%, transparent);
  color: var(--lime);
}
.card-step {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
}
:root[dir="rtl"] .card-step {
  letter-spacing: 0;
  font-size: 14px;
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card p {
  color: var(--muted);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--forest);
  margin-bottom: 6px;
}

/* Two columns: words and a picture */
.split {
  display: grid;
  gap: 36px;
  align-items: center;
}
.split > *,
.grid > * {
  min-width: 0;
}
.ticks,
.steps {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ticks li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B3D2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 14px no-repeat,
    var(--lime);
}
.steps {
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  align-items: center;
  font-weight: 500;
}
.steps li::before {
  content: counter(step);
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
}

/* Live Day map mock-up */
.map-frame {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 30px 60px rgb(4 27 19 / 0.12);
}
.map-filters {
  display: flex;
  gap: 6px;
  overflow: hidden;
  mask-image: linear-gradient(to right, #000 85%, transparent);
  padding-bottom: 10px;
}
.filter {
  flex: none;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}
.filter b {
  font-weight: 600;
  color: var(--muted);
  margin-inline-start: 4px;
}
.filter-on {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}
.filter-on b {
  color: var(--lime);
}
.map-area {
  position: relative;
  aspect-ratio: 600 / 380;
  border-radius: 12px;
  overflow: hidden;
}
.map-streets {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-land {
  fill: #eef1ea;
}
.map-park {
  fill: #dbe8cf;
}
.map-water {
  fill: #d5e4ea;
}
.map-road-major {
  stroke: var(--white);
  stroke-width: 14;
  fill: none;
}
.map-road {
  stroke: var(--white);
  stroke-width: 7;
  fill: none;
}
.map-route {
  stroke: var(--forest);
  stroke-width: 3;
  stroke-dasharray: 2 8;
  stroke-linecap: round;
  fill: none;
  opacity: 0.55;
}
.pin {
  position: absolute;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 3px solid var(--white);
  box-shadow: 0 4px 10px rgb(4 27 19 / 0.25);
}
.pin .icon {
  width: 16px;
  height: 16px;
}
.pin-chain-A {
  background: var(--chain-a);
}
.pin-chain-B {
  background: var(--chain-b);
}
.pin-chain-C {
  background: var(--chain-c);
}
.pin-done {
  border-color: var(--lime);
}
.pin-open {
  border-color: #e5a50a;
}
.pin-planned {
  opacity: 0.7;
}
.pin-attention {
  border-color: var(--white);
}
.pin-alert {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--danger);
  color: var(--white);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border: 2px solid var(--white);
}
.team {
  position: absolute;
  width: 20px;
  height: 20px;
  margin: -20px 0 0 -10px;
  background: var(--lime);
  border: 2px solid var(--forest);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 8px rgb(4 27 19 / 0.25);
}
.map-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-top: 12px;
}
.map-card-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.map-card-head strong {
  display: block;
  color: var(--forest);
  font-size: 17px;
}
.map-card-head small {
  color: var(--muted);
}
.map-card-label {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
:root[dir="rtl"] .map-filters {
  mask-image: linear-gradient(to left, #000 85%, transparent);
}
:root[dir="rtl"] .map-card-label {
  letter-spacing: 0;
  font-size: 13px;
}
.map-card p:last-child {
  font-size: 14px;
  color: var(--muted);
}
.map-card p strong {
  color: var(--ink);
}

/* Activity builder mock-up */
.builder,
.gallery {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 30px 60px rgb(4 27 19 / 0.1);
}
.builder-head {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.builder-head .card-icon {
  margin: 0;
}
.builder-head strong {
  display: block;
  color: var(--forest);
  font-size: 18px;
}
.builder-head small {
  color: var(--muted);
  font-size: 14px;
}
.field-list {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}
.field-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.field-row strong {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 15px;
}
.field-icon {
  flex: none;
  color: var(--forest);
  display: grid;
}
.field-icon .icon {
  width: 20px;
  height: 20px;
}
.builder-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Gallery mock-up */
.gallery-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
}
.gallery-search .icon {
  width: 18px;
  height: 18px;
  flex: none;
}
.gallery .chips {
  margin: 12px 0 16px;
}
.gallery-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.photo {
  margin: 0;
  min-width: 0;
}
.photo figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-top: 8px;
}
.photo strong {
  font-size: 14px;
  line-height: 1.3;
  color: var(--forest);
}
.photo small {
  font-size: 12px;
  color: var(--muted);
}
/* A drawn shelf: three boards of packs in a chain's colours. */
.shelf {
  aspect-ratio: 1;
  border-radius: 10px;
  background: #e9e3d6;
  padding: 8% 6%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.shelf i {
  display: block;
  height: 24%;
  border-bottom: 4px solid #8c7a5b;
  background-size: 25% 100%;
}
.shelf-1 i {
  background-image: linear-gradient(90deg, #2f5da8 0 78%, transparent 78%);
}
.shelf-1 i:nth-child(2) {
  background-image: linear-gradient(90deg, #f2f4f7 0 78%, transparent 78%);
}
.shelf-2 i {
  background-image: linear-gradient(90deg, #c2410c 0 78%, transparent 78%);
}
.shelf-2 i:nth-child(3) {
  background-image: linear-gradient(90deg, #f0c24b 0 78%, transparent 78%);
}
.shelf-3 i {
  background-image: linear-gradient(90deg, #0b3d2e 0 78%, transparent 78%);
}
.shelf-3 i:nth-child(1) {
  background-image: linear-gradient(90deg, #b0d34d 0 78%, transparent 78%);
}

/* Offline states */
.states {
  background: var(--white);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 30px 60px rgb(4 27 19 / 0.1);
}
.states-title {
  font-weight: 600;
  color: var(--forest);
}
.states ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.states li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.states .chip {
  font-size: 14px;
  white-space: normal;
}

/* Pilot */
.section.section-lime {
  padding: 72px 0;
}
.section-lime {
  background: var(--lime);
  color: var(--night);
}
.section-lime .eyebrow,
.section-lime .lead {
  color: var(--forest);
}
.section-lime h2,
.section-lime h3 {
  color: var(--night);
}
.pilot-note {
  margin-top: 20px;
  font-weight: 600;
  color: var(--forest);
}

/* Closing call */
.closing {
  background:
    radial-gradient(
      80% 90% at 50% 120%,
      color-mix(in srgb, var(--forest) 90%, transparent),
      transparent 70%
    ),
    var(--night);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.closing h2 {
  color: var(--white);
  margin-top: 28px;
}
.closing .lead {
  color: var(--on-dark-muted);
}
.closing .actions {
  justify-content: center;
}
.or-email {
  margin-top: 20px;
  color: var(--on-dark-muted);
}
.or-email a {
  color: var(--white);
  font-weight: 600;
}
.closing .shelf-lines {
  align-self: center;
}

/* Footer */
.footer {
  background: var(--night);
  color: var(--on-dark-muted);
  border-top: 1px solid color-mix(in srgb, var(--white) 10%, transparent);
  padding: 28px 0 36px;
  font-size: 15px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.footer .brand img {
  border-radius: 7px;
}
.footer .wordmark {
  font-size: 13px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  margin-inline-start: auto;
}
.footer-nav a {
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--white);
}
.footer small {
  flex-basis: 100%;
  color: color-mix(in srgb, var(--white) 55%, transparent);
}

/* Phones: the tile alone keeps the top bar on one line. */
@media (max-width: 479px) {
  .wordmark {
    display: none;
  }
}

@media (min-width: 640px) {
  :root {
    --gutter: 24px;
  }
  .top-signin {
    display: inline;
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 88px 0;
  }
}

@media (min-width: 960px) {
  :root {
    --gutter: 32px;
  }
  .top-nav {
    display: flex;
  }
  .hero {
    padding: 72px 0 88px;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
  .hero-visual {
    padding-bottom: 0;
  }
  .float-card {
    bottom: -20px;
    inset-inline-end: auto;
    inset-inline-start: 0;
  }
  .shelf-lines {
    --shelf: 0.6px;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }
  .split-reverse {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .split-reverse .split-text {
    order: 2;
  }
  .map-card {
    position: absolute;
    inset-inline-end: -24px;
    bottom: -32px;
    width: 300px;
    box-shadow: 0 20px 40px rgb(4 27 19 / 0.18);
  }
  .section {
    padding: 112px 0;
  }
  .closing {
    padding: 112px 0;
  }
}
