/* Shared layout, type and surfaces for Flyslice interior pages. */
body {
  /* Both palettes follow the page’s effective color scheme, including without JavaScript. */
  --v2-glass: light-dark(rgb(255 255 255 / 54%), rgb(14 31 64 / 54%));
  --v2-glass-strong: light-dark(rgb(255 255 255 / 74%), rgb(19 42 84 / 72%));
  --v2-glass-subtle: light-dark(rgb(255 255 255 / 34%), rgb(11 25 52 / 36%));
  --v2-glass-border: light-dark(rgb(15 23 32 / 9%), rgb(168 206 245 / 13%));
  --v2-glass-border-strong: light-dark(rgb(15 23 32 / 15%), rgb(168 206 245 / 24%));
  --v2-rule: light-dark(rgb(15 23 32 / 12%), rgb(168 206 245 / 14%));
  --v2-accent-tint: light-dark(rgb(0 104 150 / 10%), rgb(56 189 248 / 12%));
  --v2-accent-tint-strong: light-dark(rgb(0 104 150 / 16%), rgb(56 189 248 / 20%));
  --v2-accent-border: light-dark(rgb(0 104 150 / 26%), rgb(56 189 248 / 34%));
  --v2-chip-bg: light-dark(rgb(235 245 253 / 86%), rgb(20 46 92 / 78%));
  --v2-chip-border: light-dark(rgb(0 104 150 / 16%), rgb(125 211 252 / 22%));
  --v2-studio-bg: light-dark(#ebf4fa, #e7f1f8);
  --v2-studio-bar: light-dark(rgb(255 255 255 / 72%), rgb(12 27 56 / 84%));
  --v2-studio-ink: light-dark(#344757, #c1d2e7);
  --v2-shadow-soft: 0 10px 30px -14px rgb(12 34 58 / 12%);
  --v2-radius: 14px;
  --v2-radius-sm: 8px;
  --v2-gap: clamp(18px, 1.8vw, 26px);
  --v2-sec-gap: clamp(60px, 6vw, 96px);
  --v2-pad: clamp(20px, 2.2vw, 32px);
}

:root[data-theme="navy"] body {
  --v2-shadow-soft: 0 18px 40px -18px rgb(2 8 20 / 55%);
}

/* --------------------------------------------------------------------------
   Shared Section Skeleton & Typography Discipline (Wide Outer Rail)
   -------------------------------------------------------------------------- */
.v2-band {
  width: var(--section-width);
  margin: var(--v2-sec-gap) auto 0;
}

.v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font: 600 12.5px/1.3 var(--latin), var(--body);
  letter-spacing: .06em;
  color: var(--accent);
}
.v2-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1.5px;
  background: var(--signal);
  flex-shrink: 0;
}

/* Split editorial header keeps wide outer rails while capping reading measure */
.v2-sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(18px, 3.5vw, 60px);
  align-items: end;
  margin-bottom: clamp(26px, 3vw, 44px);
}
.v2-sec-head h2 {
  font-size: clamp(28px, 2.85vw, 44px);
  line-height: 1.14;
  letter-spacing: -.028em;
  max-width: 18em;
}
.v2-sec-lead {
  justify-self: end;
  max-width: 48ch;
  color: var(--muted);
  font-size: var(--text-size);
  line-height: 1.72;
}
.v2-sec-lead-wrap {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 48ch;
}
.v2-sec-lead-wrap p {
  color: var(--muted);
  font-size: var(--text-size);
  line-height: 1.72;
}

/* Unmistakable interactive link style with arrow */
.v2-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
  transition: color 150ms ease;
}
.v2-link svg {
  width: 16px;
  height: 16px;
  transition: transform 160ms ease;
}
.v2-link:hover,
.v2-link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .25em;
}
.v2-link:hover svg {
  transform: translateX(4px);
}
.v2-link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  margin-top: 18px;
}

/* Glass surface primitive */
.v2-surface {
  background: var(--v2-glass);
  border: 1px solid var(--v2-glass-border);
  border-radius: var(--v2-radius);
  box-shadow: var(--v2-shadow-soft);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .v2-surface {
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

.v2-model {
  display: block;
  font: 600 clamp(38px, 4.6vw, 66px)/1.04 var(--latin);
  letter-spacing: -.04em;
  color: var(--ink);
}
.v2-name {
  display: block;
  margin-top: 8px;
  font: 600 clamp(24px, 2.4vw, 36px)/1.2 var(--body);
  letter-spacing: -.025em;
  color: var(--ink);
}
.v2-hero-desc {
  margin-top: 18px;
  max-width: 40ch;
  color: var(--muted);
  font-size: clamp(16px, 1.15vw, 17.5px);
  line-height: 1.72;
}
.v2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 26px;
}
.v2-btn-primary {
  background: light-dark(var(--ink), var(--accent));
  color: light-dark(#fff, #061527);
}
.v2-btn-primary:hover {
  background: light-dark(var(--action-hover), #7dd3fc);
  color: light-dark(#fff, #04101f);
  transform: translateY(-1px);
}
.v2-facts-strip {
  margin-top: clamp(20px, 2.4vw, 32px);
}
.v2-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 36px);
}
.v2-facts > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: clamp(10px, 1.2vw, 16px) 0;
  min-width: 0;
}
.v2-facts dt {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.v2-facts dd {
  font: 600 clamp(26px, 2.7vw, 40px)/1.08 var(--latin);
  letter-spacing: -.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
:root[data-theme="navy"] .v2-facts dd {
  color: var(--accent);
}
.v2-facts dd.fact-word {
  font-size: clamp(20px, 1.95vw, 28px);
  letter-spacing: -.02em;
}
.v2-facts dd span {
  font-size: 13.5px;
  font-weight: 500;
  margin-left: 5px;
  color: var(--muted);
  letter-spacing: 0;
}
.v2-facts .fact-word span {
  display: block;
  margin: 4px 0 0;
}
