/* ==========================================================================
   X-1 — Private Mobility
   Mobile first. Operator, not maison.
   --------------------------------------------------------------------------
   Height rule : on mobile, panel height follows content. Full-viewport is
                 reserved for .panel--full (hero, and one statement per page).
                 On desktop, panels get contemplative height back.
   Type        : Manrope throughout + JetBrains Mono for data and micro-labels.
                 Mobile floors — 12px mono, 15px secondary, 16px body.
   Colour      : white / mist / ink, one signal blue. No gold.
   ========================================================================== */

:root {
  --white:   #FFFFFF;
  --mist:    #F1F2F4;
  --tint:    #F7F8FA;
  --ink:     #0E0F11;
  --steel:   #4B5058;
  --signal:  #437ABD;  /* Pantone 2727 C, sampled from the supplied logo */
  --signal-l:#92B2D9;
  --signal-d:#345F93;

  --hair:      rgba(14, 15, 17, 0.12);
  --hair-dark: rgba(255, 255, 255, 0.16);

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --bar: 54px;
  --pad: 20px;
  --gap: 72px;          /* vertical rhythm between panels on mobile */
  --radius: 4px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--bar);
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.375rem, 10.5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 8.5vw, 3rem); }
h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }

p { margin: 0 0 1em; }

.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0 0 0.75rem;
}

.line {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--steel);
  max-width: 38ch;
  margin: 0.85rem auto 0;
}

/* the hero subline sits over photography and needs more weight to read
   reliably regardless of what is behind it */
.hero__lede {
  font-weight: 700;
  color: var(--ink);
}

.fine {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--steel);
}

.on-dark { color: var(--white); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .line { color: rgba(255, 255, 255, 0.78); }
.on-dark .fine { color: rgba(255, 255, 255, 0.62); }
.on-dark .eyebrow { color: var(--signal-l); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--bar);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 var(--pad);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--hair);
  color: var(--ink);
}

.bar--over {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
  color: var(--white);
}

.bar__brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }

/* the mark is a self-contained blue circle with the chevron cut out in
   white, so it needs no wrapper chip of its own */
.bar__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.bar__logo img { width: 26px; height: 26px; display: block; }

.bar__mark { font-weight: 800; font-size: 1.0625rem; letter-spacing: 0.06em; }

.bar__desc {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
}

.bar__menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0.55rem;
  width: 44px;
  min-height: 44px;
  color: inherit;
  cursor: pointer;
}

.burger {
  position: relative;
  width: 20px;
  height: 14px;
  flex: 0 0 auto;
}

.burger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 6px; }
.burger span:nth-child(3) { top: 12px; }

.cross {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.cross span {
  position: absolute;
  top: 7px;
  left: -1px;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.cross span:nth-child(1) { transform: rotate(45deg); }
.cross span:nth-child(2) { transform: rotate(-45deg); }

.bar__links { display: none; }

/* Drawer — a contact point, not just links */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--white);
  color: var(--ink);
  padding: calc(var(--bar) + 1.25rem) var(--pad) 1.5rem;
  transform: translateY(-101%);
  transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* the checkbox is the state; JS is not required for the menu to open */
.nav-state {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.nav-state:checked ~ .drawer { transform: none; }

.drawer[data-open="true"] { transform: none; }

/* the label is the button — give it the same affordances */
label.bar__menu,
label.drawer__close { display: inline-flex; align-items: center; user-select: none; }

.nav-state:focus-visible ~ .bar label.bar__menu { outline: 2px solid var(--signal); outline-offset: 3px; }

.drawer__close {
  position: absolute;
  top: 0; right: var(--pad);
  height: var(--bar);
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.drawer__links a {
  display: block;
  font-size: 1.4375rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hair);
}

.drawer__cta {
  margin-top: 1.5rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0.5rem;
}

.drawer__desk {
  margin-top: auto;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hair);
}

.drawer__desk-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.75rem;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--signal);
  flex: 0 0 auto;
}

.drawer__desk a {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0;
}

/* --------------------------------------------------------------------------
   Panels — height follows content on mobile
   -------------------------------------------------------------------------- */

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--gap) var(--pad);
  gap: 1.75rem;
}

/* full-viewport, used sparingly: hero and one statement per page */
.panel--full {
  min-height: 100svh;
  justify-content: space-between;
  padding-top: calc(var(--bar) + 2.5rem);
  padding-bottom: 2.25rem;
}

.panel--media { overflow: hidden; }
.panel--dark { background: var(--ink); color: var(--white); }
.panel--mist { background: var(--mist); }

/* the workhorse light section: paper-white with a hairline seam */
.panel--seam { border-top: 1px solid var(--hair); }
.panel--tint { background: var(--tint); }

.panel--doc { text-align: left; align-items: stretch; }
.panel--doc .line { margin-left: 0; margin-right: 0; }

.panel__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.panel__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.34) 42%, rgba(255,255,255,0.94) 100%);
}

/* dark scrim kept for the rare panel that still needs one */
.panel--scrim-dark .panel__scrim {
  background: linear-gradient(180deg, rgba(14,15,17,0.5) 0%, rgba(14,15,17,0.1) 34%, rgba(14,15,17,0.72) 100%);
}

.panel__head,
.panel__foot { position: relative; z-index: 2; width: 100%; max-width: 900px; }
.panel__mid { position: relative; z-index: 2; width: 100%; max-width: 1240px; }

.panel > * + * { margin-top: 0; }

/* --------------------------------------------------------------------------
   Spec strip
   -------------------------------------------------------------------------- */

.specs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0.5rem;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 0.9rem 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.on-dark .specs, .panel--dark .specs { border-color: var(--hair-dark); }

.spec__n { display: block; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }

.spec__l {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 0.4rem;
  line-height: 1.35;
}

.on-dark .spec__l, .panel--dark .spec__l { color: rgba(255, 255, 255, 0.62); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  padding: 0.875rem 0.75rem;
  min-height: 52px;
  line-height: 1.25;
  hyphens: auto;
  border: 0;
  border-radius: var(--radius);
  background: var(--signal);
  color: var(--white);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.btn:hover, .btn:active { background: var(--signal-d); color: var(--white); }
.btn--light { background: rgba(244, 244, 245, 0.94); color: var(--ink); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--dim { background: rgba(14, 15, 17, 0.5); color: var(--white); backdrop-filter: blur(6px); }
.btn--dim:hover { background: rgba(14, 15, 17, 0.8); }
.btn--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); box-shadow: none; }

.actions {
  display: grid;
  grid-auto-flow: column;          /* side by side, never stacked */
  grid-auto-columns: 1fr;
  gap: 0.5rem;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

/* a lone button keeps full width */
.actions > :only-child { grid-column: 1 / -1; }
.panel--doc .actions { margin-left: 0; }

/* --------------------------------------------------------------------------
   One desk — the accountability block
   -------------------------------------------------------------------------- */

.desk {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: left;
}

.desk__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1.1rem;
}

.desk dl { margin: 0; display: grid; gap: 0.85rem; }

.desk dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.2rem;
}

.desk dd { margin: 0; font-size: 0.9375rem; font-weight: 500; color: var(--ink); line-height: 1.5; }

/* --------------------------------------------------------------------------
   Mode carousel — caption and optional CTA sit INSIDE the image.
   A gradient carries the legibility, since the photograph underneath is
   unknown; it is the one place on the site where an overlay is used.
   Next slide peeks; dots show position.
   -------------------------------------------------------------------------- */

.rail {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--pad);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 calc(var(--pad) * -1);
  padding: 0 var(--pad);
  text-align: left;
}

.rail::-webkit-scrollbar { display: none; }

.tile {
  flex: 0 0 86%;
  scroll-snap-align: start;
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  background: #1B1E22;
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,15,17,0) 34%, rgba(14,15,17,0.78) 100%);
}

.tile__cap {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1.125rem 1.25rem;
}

.tile__code {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--signal-l);
  margin-bottom: 0.35rem;
}

.tile h3 { font-size: 1.1875rem; color: var(--white); }

.tile p {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin: 0.3rem 0 0;
  line-height: 1.4;
}

/* optional call to action, inside the frame */
.tile__cta {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 0.55rem 0.95rem;
}

/* dot pagination */

.rail-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(14, 15, 17, 0.2);
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.dots button[aria-current="true"] { background: var(--ink); transform: scale(1.3); }

/* arrow buttons: the only way to move the rail without touch or a trackpad */
/* arrows are pointer-only affordances: hidden on mobile (touch swipe and
   the dots already cover it there), shown from 700px up */
.rail-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--hair);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.rail-arrow:hover { background: var(--mist); border-color: var(--steel); }

.rail-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  background: var(--white);
  border-color: var(--hair);
}

.chev {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 1px;
}

.chev--left { transform: rotate(135deg); margin-left: 3px; }
.chev--right { transform: rotate(-45deg); margin-right: 3px; }

/* panels on a dark background: arrows need a matching palette */
.panel--seam .rail-arrow,
.panel--tint .rail-arrow {
  background: var(--white);
}

/* --------------------------------------------------------------------------
   Figures
   -------------------------------------------------------------------------- */

.figures { width: 100%; max-width: 720px; margin: 0 auto; text-align: left; }

.figure-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--hair);
}

.figure-row:last-child { border-bottom: 1px solid var(--hair); }

.figure-row__n { font-size: 2.125rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; min-width: 3.2ch; }
.figure-row__l { font-size: 0.9375rem; font-weight: 500; color: var(--steel); line-height: 1.45; }

.panel--dark .figure-row { border-color: var(--hair-dark); }
.panel--dark .figure-row__l { color: rgba(255, 255, 255, 0.75); }

/* --------------------------------------------------------------------------
   Levels
   -------------------------------------------------------------------------- */

.levels-grid { width: 100%; text-align: left; }

.level { border-top: 1px solid var(--hair); padding: 1.4rem 0 1.6rem; }
.level:last-of-type { border-bottom: 1px solid var(--hair); }

.level__name { font-size: 1.4375rem; font-weight: 600; letter-spacing: -0.02em; margin: 0; }

.level__entry {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--signal);
  margin: 0.3rem 0 0.9rem;
}

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

.level li {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--steel);
  padding: 0.3rem 0 0.3rem 1.1rem;
  position: relative;
}

.level li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85rem;
  width: 6px; height: 1px;
  background: var(--signal);
}

.level__note { margin-top: 0.85rem; }

/* --------------------------------------------------------------------------
   Statements
   -------------------------------------------------------------------------- */

.statements { list-style: none; margin: 0 auto; padding: 0; max-width: 780px; text-align: left; }

.statements li {
  border-top: 1px solid var(--hair);
  padding: 1rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--steel);
  line-height: 1.5;
}

.statements li:last-child { border-bottom: 1px solid var(--hair); }
.statements strong { color: var(--ink); font-weight: 600; display: block; }

/* --------------------------------------------------------------------------
   Operations: chain, compare, checks
   -------------------------------------------------------------------------- */

.chain { width: 100%; max-width: 860px; margin: 0 auto; text-align: left; }

.chain__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--hair);
}

.on-dark .chain__head, .panel--dark .chain__head { color: rgba(255,255,255,0.62); border-color: var(--hair-dark); }

.leg {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hair);
}

.panel--dark .leg, .on-dark .leg { border-color: var(--hair-dark); }

.leg__t { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; color: var(--steel); padding-top: 0.1rem; }
.panel--dark .leg__t, .on-dark .leg__t { color: rgba(255,255,255,0.68); }

.leg__mode {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  border: 1px solid currentColor;
  border-radius: 2px;
  padding: 0.1rem 0.32rem;
  margin-bottom: 0.3rem;
}

.on-dark .leg__mode, .panel--dark .leg__mode { color: var(--signal-l); }

.leg__name { display: block; font-size: 0.9375rem; font-weight: 500; line-height: 1.25; }
.leg__note { display: block; font-size: 0.875rem; color: var(--steel); line-height: 1.4; margin-top: 0.15rem; }
.panel--dark .leg__note, .on-dark .leg__note { color: rgba(255,255,255,0.68); }

.leg__d { font-family: var(--mono); font-size: 0.75rem; color: var(--steel); white-space: nowrap; padding-top: 0.1rem; }
.panel--dark .leg__d, .on-dark .leg__d { color: rgba(255,255,255,0.68); }

.compare { width: 100%; max-width: 860px; margin: 0 auto; display: grid; gap: 0.5rem; text-align: left; }

.option {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 1rem 1.125rem 1.125rem;
}

.panel--dark .option, .on-dark .option { border-color: var(--hair-dark); }
.option--picked { border-color: var(--signal); border-width: 2px; }

.option__top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; margin-bottom: 0.85rem; }
.option__name { font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; }

.option__flag {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  border: 1px solid currentColor;
  border-radius: 2px;
  padding: 0.15rem 0.35rem;
  white-space: nowrap;
}

.on-dark .option__flag { color: var(--signal-l); }

.option__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }

.metric__n { display: block; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }

.metric__l {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 0.35rem;
  line-height: 1.3;
}

.panel--dark .metric__l, .on-dark .metric__l { color: rgba(255,255,255,0.58); }
.metric--win .metric__n { color: var(--signal); }
.on-dark .metric--win .metric__n { color: var(--signal-l); }

.checks { list-style: none; margin: 0 auto; padding: 0; max-width: 780px; text-align: left; display: grid; gap: 0.375rem; }

.checks li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: baseline;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--steel);
  line-height: 1.5;
  padding: 0.7rem 0.85rem;
  background: var(--mist);
  border-radius: var(--radius);
}

.panel--dark .checks li, .on-dark .checks li { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.75); }

.checks code {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--signal);
}

.on-dark .checks code, .panel--dark .checks code { color: var(--signal-l); }
.checks strong { color: var(--ink); font-weight: 600; }
.panel--dark .checks strong, .on-dark .checks strong { color: var(--white); }

/* Segmented control */

.switch {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  background: var(--mist);
  border-radius: var(--radius);
  margin: 0 auto 1.1rem;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.switch::-webkit-scrollbar { display: none; }
.panel--dark .switch, .on-dark .switch { background: rgba(255,255,255,0.1); }

.switch button {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  background: transparent;
  border: 0;
  border-radius: 3px;
  padding: 0.6rem 0.85rem;
  min-height: 40px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.panel--dark .switch button, .on-dark .switch button { color: rgba(255,255,255,0.68); }
.switch button[aria-selected="true"] { background: var(--white); color: var(--ink); }

.case[hidden] { display: none; }

.case__meta {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 auto 0.85rem;
  text-align: left;
  max-width: 860px;
}

.panel--dark .case__meta, .on-dark .case__meta { color: rgba(255,255,255,0.6); }

/* Draft-data marker — visible until real figures replace the placeholders */

.draft {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B45309;
  background: #FEF3C7;
  border-radius: 2px;
  padding: 0.3rem 0.55rem;
  margin-bottom: 0.85rem;
}

/* --------------------------------------------------------------------------
   Form
   -------------------------------------------------------------------------- */

.field { margin-bottom: 1.25rem; text-align: left; }

.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.45rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;              /* 16px keeps iOS from zooming on focus */
  color: var(--ink);
  background: var(--mist);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.8rem 0.85rem;
  min-height: 48px;
  appearance: none;
}

.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); background: var(--white); }

/* --------------------------------------------------------------------------
   Footer — always-open columns (no accordion: <details>/content-visibility
   toggling proved unreliable across browsers, so every section simply stays
   visible at all times, on every breakpoint).
   -------------------------------------------------------------------------- */

.foot {
  background: var(--mist);
  color: var(--steel);
  padding: 2.25rem var(--pad) 1.5rem;
  font-size: 0.9375rem;
}

.foot__col { border-bottom: 1px solid var(--hair); padding-bottom: 0.5rem; }

.foot h4 {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  padding: 0.85rem 0;
}

.foot ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.foot li { margin-bottom: 0.6rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

.foot__social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.foot__social svg { flex: 0 0 auto; }

.foot__desk {
  padding: 1.25rem 0 0.5rem;
  display: grid;
  gap: 0.5rem;
}

.foot__desk-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.foot__base {
  border-top: 1px solid var(--hair);
  margin-top: 1rem;
  padding-top: 1.1rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  display: grid;
  gap: 0.4rem;
}

/* ==========================================================================
   Wider screens
   ========================================================================== */

@media (min-width: 700px) {
  :root { --pad: 40px; --bar: 60px; --gap: 96px; }

  .actions { justify-content: center; max-width: 560px; }
  .panel--doc .actions { justify-content: start; }
  .btn { padding: 0.9375rem 2rem; font-size: 0.875rem; }
  .drawer .btn { width: 100%; }

  .tile { flex-basis: 46%; }
  .line { font-size: 1.0625rem; max-width: 46ch; }
  .spec__n { font-size: 2rem; }
  .rail-arrow { display: flex; }

  .compare { grid-template-columns: repeat(2, 1fr); }
  .checks { grid-template-columns: repeat(2, 1fr); }
  .leg { grid-template-columns: 56px 1fr auto; }

  .desk dl { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

  .foot { padding: 3rem var(--pad) 2rem; }
  .foot__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .foot__col { border-bottom: 0; }
  .foot h4 { padding: 0 0 0.85rem; }
  .foot__base { grid-auto-flow: column; justify-content: space-between; }
}

@media (min-width: 1000px) {
  :root { --pad: 64px; --gap: 128px; }

  /* contemplative height comes back on desktop only */
  .panel { min-height: 78vh; justify-content: center; }
  .panel--full { min-height: 100svh; justify-content: space-between; }
  .panel--auto { min-height: 0; }

  .bar__menu, label.bar__menu { display: none; }
  .bar__links { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }

  .bar__links a {
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius);
    color: inherit;
    opacity: 0.85;
  }

  .bar__links a:hover { opacity: 1; background: rgba(14, 15, 17, 0.06); }
  .bar--over .bar__links a:hover { background: rgba(255, 255, 255, 0.14); }
  .bar__links a[aria-current="page"] { opacity: 1; color: var(--signal); }
  .bar__links .btn { width: auto; min-height: 0; padding: 0.55rem 1rem; opacity: 1; }
  .bar__links a.btn, .bar__links a.btn:visited, .bar__links a.btn:hover { color: var(--white); }

  h1 { font-size: clamp(3.25rem, 5vw, 4.75rem); }
  h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); }

  .tile { flex-basis: 30%; }
  .rail-nav { margin-top: 1.5rem; }
  .figure-row__n { font-size: 2.75rem; }
  .desk { padding: 2rem; }

  .levels-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .levels-grid .level { border-bottom: 1px solid var(--hair); padding: 1.75rem 1.75rem 2rem; }
  .levels-grid .level + .level { border-left: 1px solid var(--hair); }
  .levels-grid .level:last-of-type { background: var(--mist); }
}

/* ==========================================================================
   Imagery — components for a light-background site
   ========================================================================== */

/* --------------------------------------------------------------------------
   Band — a full-bleed image strip between panels. Breathing room, and the
   place where the human side of the operation shows.
   -------------------------------------------------------------------------- */

.band { width: 100%; margin: 0; }

.band img {
  width: 100%;
  height: 58svh;
  min-height: 260px;
  max-height: 620px;
  object-fit: cover;
}

.band figcaption {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  text-align: left;
  padding: 0.85rem var(--pad);   /* equal gap above and below the caption text */
}

/* --------------------------------------------------------------------------
   Media split — image beside content. Stacks on mobile, image first.
   -------------------------------------------------------------------------- */

.media-split {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  text-align: left;
}

.media-split__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--mist);
}

.media-split__body > :last-child { margin-bottom: 0; }
.media-split__body .line { font-size: 1.125rem; color: var(--ink); margin-bottom: 0.85rem; }
.media-split__body .fine { font-size: 0.9375rem; font-family: var(--font); line-height: 1.55; letter-spacing: 0; }

/* --------------------------------------------------------------------------
   Inline figure — a single supporting image inside a panel
   -------------------------------------------------------------------------- */

.figure {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--mist);
}

.figure figcaption {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 0.75rem;
  text-align: left;
}

/* --------------------------------------------------------------------------
   Mosaic — three supporting images, used once per page at most
   -------------------------------------------------------------------------- */

.mosaic {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.mosaic img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--mist);
}

.mosaic img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }

/* --------------------------------------------------------------------------
   Light-theme adjustments
   -------------------------------------------------------------------------- */

/* header sits over a light hero: keep ink text, add a soft plate */
.bar--over {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(14, 15, 17, 0.06);
  color: var(--ink);
}

/* over-media buttons on a light scrim */
.btn--dim {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.btn--dim:hover { background: var(--white); color: var(--ink); }

@media (min-width: 700px) {
  .media-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
  .media-split--flip .media-split__img { order: 2; }
  .band img { height: 62svh; }
  .mosaic { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .mosaic img:first-child { grid-column: span 3; aspect-ratio: 21 / 9; }
}

@media (min-width: 1000px) {
  .band img { height: 68svh; max-height: 700px; }
  .band figcaption { padding: 1rem var(--pad); }
}

/* ==========================================================================
   Offer cards — what the client actually buys, on the home page
   ========================================================================== */

.offer {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.offer__card {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.375rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.offer__card h3 {
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.7rem;
}

.offer__card p {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--steel);
  line-height: 1.55;
  margin: 0 0 1.25rem;
}

.offer__tier {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
}

/* the two offers that sit outside the mobility account */

.aside-offers {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  border-top: 1px solid var(--hair);
}

.aside-offers a {
  display: block;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
}

.aside-offers strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.2rem;
}

.aside-offers span { font-size: 0.9375rem; font-weight: 500; color: var(--steel); line-height: 1.5; }

.aside-offers a::after {
  content: " \2192";
  color: var(--signal);
  font-weight: 600;
}

@media (min-width: 700px) {
  .offer { grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1080px; }
  .aside-offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; }
  .aside-offers a:first-child { border-right: 0; }
}

@media (min-width: 1000px) {
  .offer__card { padding: 2.25rem 2rem 1.875rem; }
  .offer__card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
  .offer__card p { font-size: 1rem; margin-bottom: 2rem; }
  .offer__tier { padding-top: 1.1rem; }
  .aside-offers { max-width: 1080px; }
  .aside-offers a { padding: 1.5rem 0; }
  .aside-offers strong { font-size: 1.25rem; }
}

/* ==========================================================================
   Legal / Privacy — plain reading pages, no panels
   ========================================================================== */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--bar) + 2.5rem) var(--pad) 5rem;
}

.legal__head { border-bottom: 1px solid var(--hair); padding-bottom: 1.75rem; margin-bottom: 2rem; }

.legal__head h1 { font-size: clamp(2rem, 7vw, 2.75rem); margin: 0.5rem 0 0.75rem; }

.legal__body h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 1rem;
}

.legal__body p {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--steel);
  line-height: 1.7;
  max-width: none;
  margin-bottom: 1.25rem;
}

.legal__body a { color: var(--signal); text-decoration: underline; text-underline-offset: 2px; }

@media (min-width: 1000px) {
  .legal { padding-top: calc(var(--bar) + 4rem); }
}
