/*
  letsflight.app

  The site borrows the app's wayfinding rule: yellow marks the places you
  walk to, everything else sits on quiet graphite. Here that means signs
  (the hero, the stage-two sign row) and the one action worth taking,
  joining the beta. Nothing else is yellow.

  Shapes: anything yellow is a sign (8px), containers are plates (14px),
  phone frames follow the device. There are no pills.

  Type: Barlow, which was drawn from the look of highway and airport
  signage, in two widths. Semi Condensed carries headlines, signs and
  figures; the regular width carries reading text.
*/

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/barlow-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/barlow-semi-condensed-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-semi-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-semi-condensed-700.woff2") format("woff2");
}

:root {
  --night: #0d0e0f;
  --graphite: #121314;
  --plate: #1c1d1f;
  --rule: #2a2b2e;
  --paper: #f4f2ee;
  --fog: #aaa7a1;
  --sign: #ffc928;
  --sign-lit: #ffd65c;
  --sign-ink: #141414;

  --display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sign: 8px;
  --r-plate: 14px;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layers: sticky nav, then the skip link over everything. */
  --z-nav: 10;
  --z-skip: 20;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  font-family: var(--text);
  font-size: 18px;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  color: var(--paper);
  background: var(--night);
}

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

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

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

::selection {
  color: var(--sign-ink);
  background: var(--sign);
}

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

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: var(--z-skip);
  padding: 10px 16px;
  font-weight: 600;
  color: var(--sign-ink);
  text-decoration: none;
  background: var(--sign);
  border-radius: var(--r-sign);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}

h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1;
}

h3 {
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.02;
}

/* ───────────── Buttons: the primary one is a sign ───────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  font-family: var(--text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--r-sign);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 120ms ease;
}
.button:active {
  transform: translateY(1px);
}

.button-sign {
  color: var(--sign-ink);
  background: var(--sign);
}
.button-sign:hover {
  background: var(--sign-lit);
}

.button-quiet {
  color: var(--paper);
  border-color: var(--rule);
}
.button-quiet:hover {
  border-color: var(--fog);
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

/* ───────────── Navigation ───────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgb(13 14 15 / 0.72);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: border-color 200ms ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--rule);
}

.nav-row {
  display: flex;
  gap: 32px;
  align-items: center;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 16px;
  font-weight: 500;
}
.nav-links a {
  color: var(--fog);
  text-decoration: none;
  transition: color 150ms ease;
}
.nav-links a:hover {
  color: var(--paper);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-row > .button {
    margin-left: auto;
  }
}

/* ───────────── Signs ───────────── */

.sign {
  display: inline-flex;
  align-items: center;
  color: var(--sign-ink);
  background: var(--sign);
  border-radius: var(--r-sign);
}

.sign-hero {
  gap: clamp(14px, 1.6vw, 22px);
  align-items: flex-start;
  padding: clamp(16px, 1.8vw, 24px);
  font-family: var(--display);
  font-size: clamp(46px, 5.6vw, 86px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.015em;
}

.sign-words {
  max-width: 6.7em;
  padding-block: 0.08em 0.02em;
  text-wrap: balance;
}

.sign-picto {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.12em;
  height: 1.12em;
  color: var(--sign);
  background: var(--sign-ink);
  border-radius: calc(var(--r-sign) - 2px);
}
.sign-picto svg {
  width: 88%;
  height: 88%;
  fill: currentColor;
}

.sign-arrow {
  display: inline-grid;
  place-items: center;
  width: 0.82em;
  height: 0.82em;
  margin-left: 0.16em;
  vertical-align: -0.04em;
}
.sign-arrow svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
@media (max-width: 480px) {
  .sign-arrow {
    display: none;
  }
}

.sign-small {
  gap: 10px;
  align-items: baseline;
  padding: 10px 14px 9px;
}
.sign-label {
  font-size: 15px;
  font-weight: 500;
}
.sign-value {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* ───────────── Phones ───────────── */

.phone {
  --w: clamp(240px, 24vw, 320px);

  position: relative;
  flex: none;
  width: var(--w);
  padding: calc(var(--w) * 0.028);
  background: linear-gradient(160deg, #2c2d30, #0c0c0d 60%);
  border-radius: calc(var(--w) * 0.158);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.1),
    0 50px 90px -40px rgb(0 0 0 / 0.9);
}
.phone img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--w) * 0.13);
}

figcaption {
  font-size: 16px;
  line-height: 1.45;
  color: var(--fog);
}
figcaption strong {
  font-weight: 600;
  color: var(--paper);
}

/* ───────────── Hero ───────────── */

.hero {
  padding-block: clamp(28px, 5vh, 64px) clamp(56px, 9vh, 104px);
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: center;
  min-height: min(calc(100dvh - var(--nav-h) - 80px), 780px);
}

.hero-copy {
  display: grid;
  gap: 32px;
  justify-items: start;
}

.hero-sub {
  max-width: 30em;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--fog);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 72px;
}

.phone-hero {
  --w: clamp(260px, 23vw, 320px);

  margin-left: 16%;
}

.hero-activity {
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(380px, 62%);
  overflow: hidden;
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.12),
    0 30px 60px -20px rgb(0 0 0 / 0.85);
}
.hero-activity img {
  width: 100%;
  height: auto;
}

@media (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    min-height: 0;
  }
  .hero-stage {
    justify-content: flex-end;
    max-width: 560px;
    padding-bottom: 56px;
  }
  .phone-hero {
    margin: 0 6% 0 0;
  }
  .hero-activity {
    width: min(340px, 78%);
  }
}

/* The one orchestrated moment: the sign switches on like a lightbox in a
   terminal, then the phone and its Live Activity settle in. */
@media (prefers-reduced-motion: no-preference) {
  .sign-hero {
    animation: sign-on 1100ms linear both;
  }
  .sign-hero .sign-picto {
    animation: picto-on 1100ms linear both;
  }
  .phone-hero {
    animation: rise 900ms var(--ease-out) 380ms both;
  }
  .hero-activity {
    animation: slide-in 900ms var(--ease-out) 760ms both;
  }
  .hero-sub,
  .hero-actions {
    animation: fade 700ms ease 520ms both;
  }
}

@keyframes sign-on {
  0% {
    background-color: var(--plate);
    color: #4a4b4f;
    opacity: 0;
  }
  20% {
    background-color: var(--plate);
    color: #4a4b4f;
    opacity: 1;
  }
  34% {
    background-color: var(--sign-lit);
    color: var(--sign-ink);
  }
  40% {
    background-color: var(--plate);
    color: #4a4b4f;
  }
  48%,
  100% {
    background-color: var(--sign);
    color: var(--sign-ink);
    opacity: 1;
  }
}

@keyframes picto-on {
  0%,
  20% {
    background-color: #2a2b2e;
    color: #4a4b4f;
  }
  34% {
    background-color: var(--sign-ink);
    color: var(--sign);
  }
  40% {
    background-color: #2a2b2e;
    color: #4a4b4f;
  }
  48%,
  100% {
    background-color: var(--sign-ink);
    color: var(--sign);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    translate: -18px 0;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ───────────── The journey ───────────── */

.journey {
  padding-block: clamp(72px, 10vw, 128px) clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--rule);
}

.journey-intro {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(56px, 8vw, 112px);
}
.journey-intro p {
  max-width: 34em;
  font-size: 20px;
  color: var(--fog);
}

.journey-grid {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
}

/* The rail mirrors the timeline in the app: flown track in solid yellow,
   the rest of the way dashed, a dot per stop. */
.rail {
  --stops: 5;
  --gap: 64px;
  --progress: 0;

  position: sticky;
  top: calc(var(--nav-h) + 72px);
  align-self: start;
}
.rail ol {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--gap);
}
.rail a {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 24px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--fog);
  text-decoration: none;
  transition: color 250ms ease;
}
.rail a:hover {
  color: var(--paper);
}
.rail-dot {
  flex: none;
  width: 14px;
  height: 14px;
  margin-left: 5px;
  background: var(--night);
  border: 2px solid #56575b;
  border-radius: 50%;
  transition:
    background-color 250ms ease,
    border-color 250ms ease,
    transform 250ms var(--ease-out);
}
.rail a.is-passed .rail-dot {
  background: var(--sign);
  border-color: var(--sign);
}
.rail a.is-current {
  font-weight: 600;
  color: var(--paper);
}
.rail a.is-current .rail-dot {
  background: var(--sign);
  border-color: var(--sign);
  box-shadow: 0 0 0 5px rgb(255 201 40 / 0.18);
  transform: scale(1.15);
}

.rail-track {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 11px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    #45464a 0 6px,
    transparent 6px 12px
  );
}
.rail-flown {
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--progress) * 100%);
  background: var(--sign);
  transition: height 700ms var(--ease-out);
}
.stages {
  display: grid;
  gap: clamp(112px, 14vw, 200px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.stage-copy {
  display: grid;
  gap: 22px;
  align-content: start;
  max-width: 34em;
}
.stage-copy > p:not(.stage-tag) {
  color: var(--fog);
}
.stage-copy-wide {
  max-width: 44em;
}

/* Stage tags stand in for the rail on narrow screens. */
.stage-tag {
  display: none;
}

.stage-note {
  padding-top: 18px;
  font-size: 16px;
  border-top: 1px solid var(--rule);
}

/* Before you fly and Landed: copy beside one phone. */
.stage-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.stage-flip .stage-copy {
  order: 2;
}
.stage-visual {
  display: flex;
  justify-content: center;
}

.ways {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}
.ways li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
}
.ways svg {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  fill: var(--fog);
}

/* At the airport: copy and signs beside the flight and the board. */
.sign-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.airport-visuals,
.passport-visuals {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  align-items: flex-start;
}
.airport-visuals .phone,
.passport-visuals .phone {
  --w: clamp(200px, 17vw, 250px);
}
.phone-offset {
  margin-top: clamp(40px, 6vw, 88px);
}

/* In the air: a bento of real crops, each with its own ground. */
.stage-air {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
}
.bento {
  display: grid;
  grid-template-areas:
    "map lock lock"
    "map plane forecast";
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--graphite);
  border: 1px solid var(--rule);
  border-radius: var(--r-plate);
}
.tile > img {
  width: 100%;
  height: auto;
}
.tile figcaption {
  padding: 18px 22px 22px;
  margin-top: auto;
}
.tile-map {
  grid-area: map;
  align-items: center;
  padding-top: 28px;
  background:
    radial-gradient(120% 70% at 50% 20%, rgb(58 92 60 / 0.35), transparent 70%),
    var(--graphite);
}
.tile-map .phone {
  --w: clamp(220px, 20vw, 280px);
}
.tile-map figcaption {
  align-self: stretch;
}
.tile-lock {
  grid-area: lock;
}
.tile-lock > img {
  aspect-ratio: 1206 / 600;
  object-fit: cover;
  object-position: center 62%;
}
.tile-plane {
  grid-area: plane;
}
.tile-plane > img {
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
.tile-forecast {
  grid-area: forecast;
}

/* Afterwards: the passport beside its numbers. */
.stage-passport {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
}
.passport-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.figures {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 36px clamp(32px, 4vw, 56px);
}
.figures div:first-child {
  grid-column: 1 / -1;
}
.figures div {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.figures dt {
  font-size: 16px;
  color: var(--fog);
}
.figures dd {
  font-family: var(--display);
  font-size: clamp(40px, 4.4vw, 60px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.figures div:first-child dd {
  font-size: clamp(64px, 7.4vw, 108px);
}
.figures dd span {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--fog);
}
.figures-note {
  padding-top: 16px;
  margin-top: 32px;
  font-size: 15px;
  color: var(--fog);
  border-top: 1px solid var(--rule);
}

@media (max-width: 1099px) {
  .journey-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rail {
    display: none;
  }
  .stage-tag {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-self: start;
    padding: 6px 12px 6px 8px;
    font-family: var(--display);
    font-size: 17px;
    font-weight: 600;
    color: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--r-sign);
  }
  .stage-tag svg {
    width: 20px;
    height: 20px;
    fill: var(--sign);
  }
}

@media (max-width: 860px) {
  .stage-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .stage-flip .stage-copy {
    order: 0;
  }
  .bento {
    grid-template-areas:
      "lock lock"
      "map map"
      "plane forecast";
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .passport-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .airport-visuals,
  .passport-visuals {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .bento {
    grid-template-areas:
      "lock"
      "map"
      "plane"
      "forecast";
    grid-template-columns: minmax(0, 1fr);
  }
  .airport-visuals,
  .passport-visuals {
    gap: 14px;
    justify-content: center;
  }
  .airport-visuals .phone,
  .passport-visuals .phone {
    --w: calc(50vw - 30px);
  }
}

/* ───────────── Questions ───────────── */

.questions {
  padding-block: clamp(72px, 10vw, 136px);
  border-top: 1px solid var(--rule);
}
.questions-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  flex: none;
  width: 14px;
  height: 14px;
  content: "";
  border-right: 2px solid var(--fog);
  border-bottom: 2px solid var(--fog);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 220ms var(--ease-out);
}
.faq details[open] summary::after {
  transform: translateY(3px) rotate(225deg);
}
.faq details p {
  max-width: 36em;
  padding-bottom: 24px;
  color: var(--fog);
}
.faq a {
  color: var(--paper);
  text-underline-offset: 3px;
}

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

/* ───────────── Beta ───────────── */

.beta {
  position: relative;
  padding-block: clamp(96px, 14vw, 180px);
  overflow: hidden;
  isolation: isolate;
}
.beta-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    url("/assets/media/runway-night.webp") center 58% / cover no-repeat;
}
.beta-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(to bottom, var(--night), transparent 30%),
    linear-gradient(to right, rgb(13 14 15 / 0.85), rgb(13 14 15 / 0.2));
}
.beta-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.beta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 48px;
  align-items: end;
}
.beta-copy {
  display: grid;
  gap: 20px;
  max-width: 30em;
}
.beta-copy h2 {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
}
.beta-copy p {
  font-size: 20px;
  color: #d4d1cb;
}

.beta-form {
  display: grid;
  gap: 20px;
  padding: 28px;
  background: rgb(18 19 20 / 0.92);
  border: 1px solid var(--rule);
  border-radius: var(--r-plate);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.beta-form .button {
  width: 100%;
}

.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-size: 16px;
  font-weight: 600;
}
.field label span {
  margin-left: 6px;
  font-weight: 400;
  color: var(--fog);
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 17px;
  line-height: 1.4;
  color: var(--paper);
  background: var(--night);
  border: 1px solid #3a3b3f;
  border-radius: var(--r-sign);
  transition: border-color 150ms ease;
}
.field textarea {
  min-height: 92px;
  resize: vertical;
}
.field input:hover,
.field textarea:hover {
  border-color: #56575b;
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--paper);
  box-shadow: 0 0 0 3px rgb(244 242 238 / 0.2);
}
.field input[aria-invalid="true"] {
  border-color: #ff7a6e;
}
.field-help,
.form-status {
  font-size: 15px;
  line-height: 1.45;
  color: var(--fog);
}
.field-error {
  font-size: 15px;
  font-weight: 500;
  color: #ff8a80;
}

@media (max-width: 860px) {
  .beta-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .beta-backdrop::after {
    background:
      linear-gradient(to bottom, var(--night), transparent 30%),
      linear-gradient(to bottom, transparent, rgb(13 14 15 / 0.9) 70%);
  }
}

/* ───────────── Footer ───────────── */

.footer {
  padding-block: 40px 48px;
  border-top: 1px solid var(--rule);
}
.footer-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 40px;
  align-items: center;
}
.footer-row .brand {
  font-size: 20px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: flex-end;
  font-size: 16px;
}
.footer-links a {
  color: var(--fog);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--paper);
}
.footer-fine {
  grid-column: 1 / -1;
  font-size: 14px;
  color: #8a8781;
}

@media (max-width: 600px) {
  .footer-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
