/*
 * Autonautics Lite's public website. Lite's theme (docs/design/README.md): brand red #C22D22, ink #111111,
 * page grey #F2F2F2, 4 px corners on cards and 3 px on buttons. Lato is served from this site, never from
 * Google Fonts; its licence, SIL OFL 1.1 (approved on #35), sits beside the files as fonts/OFL.txt.
 * Two weights only, 400 and 700, to keep the pages light. The accented-letter part downloads only when a
 * page needs it.
 */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/fonts/lato-latin-ext-400-normal.8b9fc973.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/fonts/lato-latin-400-normal.918b7dc3.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/assets/fonts/lato-latin-ext-700-normal.3a5797f4.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/assets/fonts/lato-latin-700-normal.c447dd76.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --brand: #c22d22;
  --brand-dark: #a3241b;
  --ink: #111111;
  --muted: #595959;
  --line: #d9d9d9;
  --page: #f2f2f2;
  --white: #ffffff;
  --wrap: 1120px;
}

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

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

body {
  margin: 0;
  font-family: 'Lato', Calibri, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
}

/* Balanced lines (#316): headings and card titles split into even lines, and leads, intros and captions
   never leave one word alone on their last line. Browsers without text-wrap simply wrap as before. */
h1,
h2,
h3,
.h3 {
  text-wrap: balance;
}

.lead,
.pitch,
.route-words p,
.facts p,
figcaption,
.film-caption,
.film-panel-line,
.film-panel-sub,
.route-caption {
  text-wrap: pretty;
}

/* Text sizes follow the app's sign-in page (#310): main headings 32px (the home page's 44px), section
   headings 28px, leads 16px, body 15px, buttons 17px, kickers and small labels 13px. */
h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3,
.h3 {
  font-size: 1.0625rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brand);
}

a:hover {
  color: var(--brand-dark);
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 10;
}

.skip:focus {
  left: 8px;
  top: 8px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--brand);
  border-radius: 3px;
  background: var(--brand);
  color: var(--white);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--white);
}

.button-outline {
  background: transparent;
  border-color: var(--white);
}

.button-outline:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

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

/* Header */

.site-header {
  background: var(--ink);
  color: var(--white);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo:hover {
  color: var(--white);
}

.logo-wordmark {
  display: block;
  width: 220px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.header-nav a {
  color: var(--white);
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 3px;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a[aria-current='page'] {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Narrow screens: the logo, Sign in and Sign up (Get started while sign-up is off) on the first row; the page
   links on a second row. */
@media (max-width: 860px) {
  .header-row {
    flex-wrap: wrap;
    gap: 0 12px;
    padding-top: 10px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    margin: 0 0 4px -8px;
  }

  .header-nav a {
    padding: 8px;
  }
}

/* A phone: the wordmark has the first row to itself, so it stays readable beside nothing. */
@media (max-width: 480px) {
  .logo {
    flex-basis: 100%;
    padding: 6px 0 10px;
  }

  .logo-wordmark {
    width: 180px;
  }
}

/* Home page (the owner's design "Website home (chosen)", #293, with #310's product film): the words and the
   price on Lite black, the product at a glance as a short film, also on black, then the route band. No video (the owner's decision of 8 October
   2026). Lato comes in 400 and 700 only, so the design's heaviest weight shows as 700. */

.home-hero,
.home-facts,
.route-section {
  background: var(--ink);
  color: var(--white);
}

.home-hero {
  padding: 96px 0 80px;
}

.home-hero h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  max-width: 760px;
  margin: 0;
}

.rule {
  width: 64px;
  height: 4px;
  margin: 24px 0;
  background: var(--brand);
}

.pitch {
  font-size: 1rem;
  line-height: 1.5;
  color: #d9d9d9;
  max-width: 720px;
  margin: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.home-hero .actions,
.route-words .actions {
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.home-hero .actions .button + .hero-price {
  margin-left: 12px;
}

.button-large {
  min-height: 52px;
  padding: 0 24px;
}

.hero-price {
  margin: 0;
  font-size: 1rem;
  color: #d9d9d9;
}

.hero-price .amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.hero-price .tax {
  font-size: 0.875rem;
}

.home-facts {
  border-top: 1px solid #2a2a2a;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 32px;
  padding-top: 28px;
  padding-bottom: 28px;
  color: #d9d9d9;
}

.facts p {
  margin: 0;
}

.facts strong {
  color: var(--white);
}

.glance {
  padding: 96px 0;
  background: var(--ink);
  border-top: 1px solid #2a2a2a;
  color: var(--white);
}

.glance-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.kicker {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

/* On Lite black, the kicker takes a lighter red, so it stays readable. */
.glance .kicker {
  color: #e5675d;
}

.glance h2 {
  line-height: 1.15;
  margin: 0 0 12px;
}

.glance .lead {
  margin: 0;
  color: #d9d9d9;
}

.shot {
  margin: 0;
  min-width: 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #2e2e2e;
  border-radius: 4px;
  background: #0b0b0b;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.shot figcaption {
  margin-top: 16px;
}

.shot figcaption span {
  color: #bfbfbf;
}

.shots {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
  margin-top: 48px;
}

.shot-wide {
  flex: 999 1 560px;
}

.shot-phone {
  flex: 1 1 260px;
  max-width: 300px;
  margin: 0 auto;
}

.shot-phone img {
  border: 6px solid #2e2e2e;
  border-radius: 22px;
}

.glance-more {
  margin: 40px 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.glance-more a {
  color: var(--white);
  text-decoration-color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.glance-more a:hover {
  color: #d9d9d9;
}

/* The product film (#310): film.js moves the three screenshots above into this player, so without
   JavaScript the page shows them as plain figures. */

.film-ready .film-static {
  display: none;
}

.film-player {
  border: 1px solid #2e2e2e;
  border-radius: 8px;
  overflow: hidden;
  background: #0b0b0b;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.film-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0b0b;
}

.film-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.film-layer-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The screenshots are 16:10, so the 16:9 stage crops them: crop the bottom, and keep the app's header. */
  object-position: top;
}

.film-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.film-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.film-slide img {
  display: block;
  height: 88%;
  width: auto;
  border: 6px solid #2e2e2e;
  border-radius: 22px;
  background: #0b0b0b;
}

.film-panel {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  max-width: min(360px, 70%);
  padding: 12px 16px;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.88);
  color: var(--white);
  opacity: 0;
}

.film-panel p {
  margin: 0;
  line-height: 1.35;
}

.film-panel-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bfbfbf;
}

.film-panel .film-panel-line {
  margin-top: 4px;
  font-size: 0.9375rem;
  font-weight: 700;
}

.film-panel .film-panel-sub {
  margin-top: 2px;
  font-size: 0.8125rem;
  color: #d9d9d9;
}

.film-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  margin: 0;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(17, 17, 17, 0.88);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.film-bar {
  display: flex;
  align-items: stretch;
  background: var(--ink);
  border-top: 1px solid #2e2e2e;
}

.film-play {
  position: relative;
  flex: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-right: 1px solid #2e2e2e;
  background: transparent;
  cursor: pointer;
}

/* The play triangle, or the two pause bars while it plays: drawn in CSS, no image to load. */
.film-play::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -5px;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--white);
}

.film-play.is-playing::before {
  width: 4px;
  height: 16px;
  margin: -8px 0 0 -6px;
  border: 0;
  background: var(--white);
  box-shadow: 8px 0 0 var(--white);
}

/* The player clips what lies outside it, so the keyboard focus ring is drawn inside each button. */
.film-bar :focus-visible {
  outline-offset: -3px;
}

.film-play:hover {
  background: #1c1c1c;
}

.film-chapters {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
}

.film-chapter {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 12px 11px;
  border: 0;
  background: transparent;
  color: #a6a6a6;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.film-chapter + .film-chapter {
  border-left: 1px solid #2e2e2e;
}

.film-chapter:hover,
.film-chapter[aria-pressed='true'] {
  color: var(--white);
}

.film-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #2e2e2e;
}

.film-fill {
  display: block;
  height: 100%;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
}

.film-caption {
  margin: 16px 0 0;
  font-size: 0.9375rem;
  color: #bfbfbf;
}

.film-caption strong {
  color: var(--white);
}

/* A phone: the panel and the chapter names get smaller, so the picture stays in view. */
@media (max-width: 600px) {
  .film-panel {
    top: 8px;
    left: 8px;
    max-width: 78%;
    padding: 8px 10px;
  }

  .film-panel .film-panel-line {
    font-size: 0.8125rem;
  }

  .film-panel .film-panel-sub {
    font-size: 0.75rem;
  }

  .film-tag {
    top: 8px;
    right: 8px;
    padding: 3px 8px;
  }

  .film-chapter {
    padding: 8px 8px 11px;
    font-size: 0.75rem;
  }
}

.route-section {
  padding: 96px 0;
}

.route-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.route-words {
  flex: 1 1 440px;
  min-width: 0;
}

.route-words h2 {
  line-height: 1.15;
  margin: 0 0 16px;
}

.route-words p {
  font-size: 1rem;
  line-height: 1.5;
  color: #d9d9d9;
  max-width: 520px;
  margin: 0;
}

.route-words .actions {
  margin-top: 32px;
}

.route-band {
  flex: 1 1 420px;
  min-width: 0;
}

.route-map {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
}

.route-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  max-width: 440px;
  margin-top: 12px;
}

.route-caption {
  font-size: 0.8125rem;
  color: #d9d9d9;
}

.route-replay {
  margin-left: auto;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--muted);
  border-radius: 3px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}

.route-replay:hover {
  border-color: var(--white);
}

.route-replay[hidden] {
  display: none;
}

/* Phones: everything stacks, and nothing is wider than the screen. */
@media (max-width: 600px) {
  .home-hero {
    padding: 64px 0 56px;
  }

  .glance,
  .route-section {
    padding: 64px 0;
  }

  .home-hero .actions .button + .hero-price {
    margin-left: 0;
    flex-basis: 100%;
  }

  .shot-wide,
  .route-words,
  .route-band {
    flex-basis: 100%;
  }
}

/* Sections */

.section {
  padding: 64px 0;
}

.section-grey {
  background: var(--page);
}

.lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 720px;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: 4px;
  padding: 24px;
}

.tile p {
  margin: 0;
  color: var(--muted);
}

.more {
  font-weight: 700;
  margin: 28px 0 0;
}



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

.checks li {
  position: relative;
  padding: 6px 0 6px 30px;
}

.checks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--brand);
  border-bottom: 3px solid var(--brand);
  transform: rotate(-45deg);
}

/* Features page */

.page-head {
  background: var(--ink);
  color: var(--white);
  padding: 56px 0 48px;
}

.page-head .lead {
  color: #d9d9d9;
  margin: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.later {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 3px;
  background: var(--page);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  vertical-align: middle;
  white-space: nowrap;
}

.later-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px 20px;
}

.later-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

/* Pricing page */

.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--brand);
  border-radius: 4px;
  padding: 32px 24px;
  max-width: 760px;
}

.plan .price {
  font-size: clamp(2rem, 6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.plan .per {
  font-size: 1rem;
  font-weight: 700;
  margin: 4px 0 4px;
}

.plan .included {
  font-size: 1rem;
  margin: 0 0 12px;
}

.plan .addons {
  color: var(--muted);
  margin: 0 0 24px;
}

.plan h3 {
  font-size: 1.0625rem;
  margin: 24px 0 8px;
}

.plan-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 8px;
}

.small-print {
  color: var(--muted);
  max-width: 760px;
  margin-top: 24px;
}

/* Closing band: one line and a button */

.band {
  border-top: 1px solid var(--line);
}

.band-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.band-row h2 {
  margin: 0;
}

/* Contact page */

.notice {
  max-width: 760px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 4px;
  background: var(--page);
}

.demo-form fieldset {
  border: 0;
  padding: 0;
  margin: 24px 0 0;
  max-width: 760px;
  display: grid;
  gap: 18px 20px;
}

@media (min-width: 700px) {
  .demo-form fieldset {
    grid-template-columns: 1fr 1fr;
  }

  .field-wide {
    grid-column: 1 / -1;
  }
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

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

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #8c8c8c;
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  resize: vertical;
}

.hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

/* The honeypot: out of sight and out of the tab order; people never fill it, some robots do. */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-turnstile {
  min-height: 65px;
}

.form-note {
  color: var(--muted);
  margin: 0;
}

.demo-form button {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.demo-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-status {
  margin: 0;
  padding: 12px 16px;
  border-radius: 4px;
  border-left: 4px solid var(--brand);
  background: var(--page);
  font-weight: 700;
}

.form-status.is-sent {
  border-left-color: #2e7d32;
}

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.field-check input {
  width: 20px;
  min-height: 20px;
  margin-top: 4px;
  flex: none;
}

.field-check label {
  font-weight: 400;
  margin: 0;
}

.demo-form fieldset:disabled .button {
  cursor: not-allowed;
  opacity: 0.75;
}

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

/* Privacy policy and terms: their long running text reads at 16px. */

.legal {
  font-size: 1rem;
}

.legal .wrap > * {
  max-width: 760px;
}

/* Long addresses, such as yourcompany.lite.autonautics.in, wrap on a phone. */
.legal code {
  overflow-wrap: anywhere;
}

.legal h2 {
  font-size: 1.25rem;
  margin-top: 36px;
}

.updated {
  color: var(--muted);
}

.legal ul,
.legal ol {
  padding-left: 1.5em;
}

.legal li + li {
  margin-top: 6px;
}

/* Wide tables scroll inside their box on a phone, never the page. */
.table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.legal th,
.legal td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal thead th,
.legal tbody th {
  background: var(--page);
}

.placeholder {
  background: #fff4cc;
  color: #5c4500;
  font-weight: 700;
}

/* 404 */

.not-found {
  padding: 96px 0;
}

/* Footer (#322): two rows split by a thin line. Top: the page links, and "A product by" Anstel. Bottom: the
   small print, and the Core sign-in, muted so a Lite user never takes it for Lite's own Sign in. On narrow
   screens each row wraps in reading order. */

.site-footer {
  background: var(--ink);
  color: #a6a6a6;
  padding: 40px 0 28px;
  font-size: 0.8125rem;
}

.site-footer p {
  margin: 0;
}

.footer-top,
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 28px;
}

.footer-top {
  padding-bottom: 28px;
  margin-bottom: 20px;
  border-bottom: 1px solid #2a2a2a;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: #d9d9d9;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  font-size: 0.875rem;
}

.site-footer .anstel {
  color: #a6a6a6;
}

.site-footer .anstel:hover {
  color: #d9d9d9;
  text-decoration: none;
}

.anstel-logo {
  height: 20px;
  width: auto;
  margin-left: 10px;
}

/* The Core link flows as text, so its words wrap with the line; the padding keeps it a 24px tap target. */
.site-footer .footer-core a {
  display: inline;
  padding: 5px 0;
}

.leaves {
  color: #a6a6a6;
}
