/* ══════════════════════════════════════════════════════════════════════
   Lane Edge — Liquid Glass, shared by every page except the homepage.
   The homepage keeps its CSS inline because it is the LCP page and must
   not wait on a second request; everything else links this and gets it
   from cache after the first inner page.
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --bg:         #EEF1F7;
  --label:      #14151B;
  --label-2:    rgba(20,21,27,.72);
  --label-3:    rgba(20,21,27,.66);

  --g-thin:     rgba(255,255,255,.44);
  --g-reg:      rgba(255,255,255,.60);
  --g-thick:    rgba(255,255,255,.74);
  --g-lens:     linear-gradient(152deg, rgba(255,255,255,.74) 0%, rgba(255,255,255,.56) 46%, rgba(255,255,255,.64) 100%);
  --blur-s:     blur(14px) saturate(170%);
  --blur-m:     blur(26px) saturate(180%);
  --blur-l:     blur(44px) saturate(185%);

  --rim:        inset  1px  1px 0    rgba(255,255,255,.62),
                inset -1px -1px 0    rgba(158,186,255,.40),
                inset  0    0   0 1px rgba(255,255,255,.30),
                inset  0    0  24px -10px rgba(255,255,255,.55);
  --spec:       inset 0 1.5px 0 rgba(255,255,255,.82);
  --bounce:     inset 0 -24px 36px -28px rgba(255,255,255,.65);

  --sep:        rgba(20,21,27,.09);
  --sep-strong: rgba(20,21,27,.16);

  --blue:   #007AFF;  --blue-d: #0062DB; --indigo: #5856D6;
  --purple: #AF52DE;  --teal:   #30B0C7;
  --green:  #34C759;  --green-d:#1E7A34;
  --pink:   #FF2D55;  --orange: #FF9500;  --red: #D7263D;

  --r-s: 14px; --r-m: 22px; --r-l: 28px; --r-xl: 38px;

  --sh-s: 0 1px 2px rgba(16,24,40,.05),  0 10px 26px -8px rgba(16,24,40,.13);
  --sh-m: 0 2px 6px rgba(16,24,40,.06),  0 22px 50px -14px rgba(16,24,40,.20);
  --sh-l: 0 4px 14px rgba(16,24,40,.07), 0 44px 92px -24px rgba(16,24,40,.28);

  --ease: cubic-bezier(.32,.72,0,1);
  --wrap: 860px;
}

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

/* clip, never hidden — `hidden` makes the root a scroll container and
   silently kills position:sticky. */
html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip;
  color-scheme: light; background: var(--bg);
}

body {
  /* No background here on purpose: body::before carries the colour field at
     z-index:-2, and a negative-z pseudo paints BEFORE the in-flow body
     background, so an opaque fill here would hide the whole field. */
  background: transparent;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--label); font-size: 17px; line-height: 1.6; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  position: relative; overflow-x: clip;
}

/* The colour field every lens refracts. Orb heights are a PERCENTAGE of the
   document, so the field stays continuous however long the page runs. */
body::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(74% 26% at 12%  4%, rgba(0,122,255,.36),  rgba(0,122,255,0)  100%),
    radial-gradient(66% 24% at 94% 14%, rgba(175,82,222,.28), rgba(175,82,222,0) 100%),
    radial-gradient(70% 25% at  2% 34%, rgba(88,86,214,.28),  rgba(88,86,214,0)  100%),
    radial-gradient(68% 25% at 98% 52%, rgba(48,176,199,.24), rgba(48,176,199,0) 100%),
    radial-gradient(72% 26% at  8% 70%, rgba(0,122,255,.28),  rgba(0,122,255,0)  100%),
    radial-gradient(66% 24% at 94% 88%, rgba(175,82,222,.24), rgba(175,82,222,0) 100%),
    linear-gradient(180deg,#F3F6FD 0%,#EDF1F9 100%);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(58% 20% at 50% -12%, rgba(255,255,255,.26), rgba(255,255,255,0) 76%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px;
}

/* Skip link: off-screen until it takes focus. */
.skip {
  position: fixed; top: 10px; left: 50%; transform: translate(-50%,-160%);
  z-index: 500; padding: 11px 20px; border-radius: 999px;
  background: #fff; color: var(--blue); font-size: 15px; font-weight: 600;
  box-shadow: var(--spec), var(--rim), var(--sh-m);
  transition: transform .22s var(--ease);
}
.skip:focus { transform: translate(-50%,0); }

/* ── Nav: the same floating glass pill as the homepage ──────────────────
   Scoped to the page's own top-level nav: a bare `nav` selector also
   catches the <nav> inside the footer and pins it to the top of the
   viewport. */
body > nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; padding: 12px 16px 0; border: 0; background: none; }
.nav-inner {
  max-width: 1080px; margin: 0 auto; height: 56px;
  display: flex; align-items: center; gap: 12px; padding: 0 10px 0 16px;
  border-radius: 999px; background: var(--g-thin);
  -webkit-backdrop-filter: var(--blur-l); backdrop-filter: var(--blur-l);
  box-shadow: var(--spec), var(--rim), var(--bounce), 0 1px 2px rgba(16,24,40,.04);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 680; letter-spacing: -.02em; font-size: 17px; }
.logo-icon {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(165deg,#5FB4FF,#007AFF 62%,#0063DF);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 12px -4px rgba(0,122,255,.5);
}
.logo-icon svg { width: 16px; height: 16px; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 590; letter-spacing: -.01em; white-space: nowrap;
  border: none; cursor: pointer; font-family: inherit; position: relative; overflow: hidden;
  transition: background .2s, color .2s, transform .22s var(--ease), box-shadow .26s var(--ease);
}
.btn::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 52%;
  background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,0));
  pointer-events: none; transition: background .2s;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:hover::after { background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,0)); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .09s; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 15px; font-weight: 600; }
.btn-blue {
  background: linear-gradient(180deg,#36A1FF,#007AFF 54%,#0068DD); color: #fff;
  box-shadow: var(--spec), inset 0 0 0 1px rgba(255,255,255,.26),
              0 2px 6px rgba(0,98,219,.26), 0 14px 32px -8px rgba(0,98,219,.52);
}
.btn-blue:hover {
  background: linear-gradient(180deg,#44A8FF,#0B86FF 54%,#0072EE);
  box-shadow: var(--spec), inset 0 0 0 1px rgba(255,255,255,.36),
              0 4px 10px rgba(0,98,219,.30), 0 26px 50px -10px rgba(0,98,219,.66);
}
.btn-grey {
  background: var(--g-reg); color: var(--label);
  -webkit-backdrop-filter: var(--blur-m); backdrop-filter: var(--blur-m);
  box-shadow: var(--spec), var(--rim), 0 1px 2px rgba(16,24,40,.05), 0 8px 20px -8px rgba(16,24,40,.18);
}
.btn-grey:hover {
  background: var(--g-thick);
  box-shadow: var(--spec), var(--rim), 0 2px 5px rgba(16,24,40,.07), 0 16px 32px -10px rgba(16,24,40,.30);
}

/* ── Page shell ───────────────────────────────────────────────────────── */
main { max-width: var(--wrap); margin: 0 auto; padding: 128px 24px 80px; }
main.wide { max-width: 1080px; }

.breadcrumb { font-size: 13.5px; color: var(--label-3); margin-bottom: 24px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { opacity: .5; }

.kicker, .label {
  display: inline-flex; align-items: center; height: 30px; padding: 0 15px;
  border-radius: 999px; font-size: 12.5px; font-weight: 640; letter-spacing: .02em;
  margin-bottom: 16px; background: rgba(255,255,255,.52); color: var(--blue);
  -webkit-backdrop-filter: var(--blur-s); backdrop-filter: var(--blur-s);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), var(--rim);
}

h1 { font-size: clamp(32px,5vw,50px); font-weight: 700; line-height: 1.07; letter-spacing: -.034em; }
h2 { font-size: clamp(24px,3.2vw,34px); font-weight: 700; line-height: 1.14; letter-spacing: -.028em; margin-top: 52px; }
h3 { font-size: 20px; font-weight: 640; letter-spacing: -.02em; margin-top: 34px; }
h4 { font-size: 16.5px; font-weight: 640; letter-spacing: -.015em; margin-top: 24px; }
p { color: var(--label-2); margin-top: 18px; }
.lead { font-size: 19px; line-height: 1.58; color: var(--label-2); margin-top: 18px; }
strong, b { color: var(--label); font-weight: 650; }
main ul, main ol { margin: 18px 0 0 22px; color: var(--label-2); }
main li { margin-top: 9px; }
main p a, main li a { color: var(--blue); font-weight: 550; }
main p a:hover, main li a:hover { text-decoration: underline; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em;
  background: rgba(255,255,255,.55); border-radius: 6px; padding: 2px 6px;
  box-shadow: inset 0 0 0 1px rgba(16,24,40,.08);
}
hr { border: 0; height: 1px; background: var(--sep); margin: 44px 0; }

/* ── Glass surfaces ───────────────────────────────────────────────────── */
.card, .glass {
  background: var(--g-lens); border-radius: var(--r-l); padding: 28px 26px;
  -webkit-backdrop-filter: var(--blur-s); backdrop-filter: var(--blur-s);
  box-shadow: var(--spec), var(--rim), var(--bounce), var(--sh-s);
}
.card h2, .card h3, .glass h2, .glass h3 { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 26px; }

/* ── Tables ───────────────────────────────────────────────────────────── */
.table-wrap {
  margin-top: 30px; border-radius: var(--r-l); overflow: hidden;
  background: var(--g-lens);
  -webkit-backdrop-filter: var(--blur-s); backdrop-filter: var(--blur-s);
  box-shadow: var(--spec), var(--rim), var(--bounce), var(--sh-s);
}
table { width: 100%; border-collapse: collapse; font-size: 15px; }
thead th {
  text-align: left; padding: 15px 18px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--label-3);
  background: rgba(255,255,255,.30);
}
tbody td { padding: 14px 18px; color: var(--label-2); vertical-align: top; }
tbody tr + tr td { border-top: 1px solid var(--sep); }
tbody tr:hover td { background: rgba(255,255,255,.30); }
.check { color: var(--green-d); font-weight: 700; }
.cross  { color: var(--red);   font-weight: 700; }
.partial{ color: #9A5B00; font-size: 13px; font-weight: 650; }

/* ── CTA block ────────────────────────────────────────────────────────── */
.cta-box {
  margin-top: 56px; text-align: center; position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: 52px 36px; color: #fff;
  background: linear-gradient(160deg,#58B2FF 0%,#007AFF 40%,#5856D6 78%,#9B45C9 100%);
  box-shadow: var(--spec), inset 0 0 0 1px rgba(255,255,255,.26), 0 34px 74px -22px rgba(0,98,219,.6);
}
.cta-box::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 60% at 18% -10%, rgba(255,255,255,.30), rgba(255,255,255,0) 62%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { margin-top: 0; color: #fff; }
.cta-box p { color: rgba(255,255,255,.92); max-width: 540px; margin: 14px auto 26px; }
.btn-white {
  background: linear-gradient(180deg,#fff,#F2F6FF); color: #007AFF;
  box-shadow: var(--spec), 0 2px 6px rgba(0,0,0,.08), 0 14px 32px -8px rgba(0,0,0,.26);
}
.btn-white:hover { background: #fff; box-shadow: var(--spec), 0 4px 10px rgba(0,0,0,.12), 0 24px 46px -10px rgba(0,0,0,.38); }
.btn-note { font-size: 13px; color: rgba(255,255,255,.82); margin-top: 14px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--sep); padding: 36px 0 34px; }
footer .wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.f-links { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; font-size: 14px; color: var(--label-3); }
.f-links a:hover { color: var(--blue); }
.f-copy { font-size: 13.5px; color: var(--label-3); }

@media (max-width: 760px) {
  main { padding: 108px 18px 60px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 8px 0 14px; }
  .cta-box { padding: 40px 22px; border-radius: var(--r-l); }
  table { font-size: 14px; }
  thead th, tbody td { padding: 12px 13px; }
  .f-links { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .btn:active { transform: none; }
}

/* ── Dark mode ────────────────────────────────────────────────────────
   Same material, inverted ground: dark glass is still a white film, just
   a far thinner one, and every bright edge drops to a fraction of its
   light-mode strength or it reads as glare rather than a raised lip. */

@media (prefers-reduced-transparency: reduce) {
  body::before, body::after { display: none; }
  .card, .glass, .table-wrap, .nav-inner, .btn-grey, .kicker, .label {
    -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff;
  }
}
