/* Models & Pricing (Page 2): light theme on top of brochure.css.
   Values from DESIGN.md §9: white page, #F0F0F0 panels, black text, #474747 secondary,
   #959595 inactive trim tab (24px and up only), black primary / outlined secondary buttons. */

html.light {
  --bg: #fff;
  --surface-1: #f0f0f0;
  --text-primary: #000;
  --text-secondary: #474747;
  --text-tertiary: #474747;
  --text-inactive: #959595;
  --line: rgba(0, 0, 0, 0.16);
  --line-strong: rgba(0, 0, 0, 0.75);
  --glass: rgba(255, 255, 255, 0.78);
  background: #fff;
  color-scheme: light;
}
.light body { background: #fff; color: #000; }
.light ::selection { background: #000; color: #fff; }
.light :focus-visible { outline-color: #000; }
.light .chapter-label b,
.light .stat-num,
.light .intro strong { color: #000; }

/* Nav, light variant */
.light .nav { border-bottom-color: rgba(0, 0, 0, 0.08); }
.light .nav__tab { color: var(--text-secondary); }
.light .nav__tab:hover { color: #000; }
.light .nav__tab[aria-current="page"] { color: #000; box-shadow: inset 0 -1px 0 #000; }

/* Buttons, light variant (DESIGN.md §9): black primary, outlined secondary.
   Uses the edge / fill layers from brochure.css, so the outline follows the chamfer. */
.light .btn--primary { --fill: #000; --edge: #000; color: #fff; background: #000; }
.light .btn--primary:hover { --fill: #fff; --edge: #000; color: #000; background: #fff; }
.light .btn--secondary { --fill: #fff; --edge: #000; color: #000; background: #fff; }
.light .btn--secondary:hover { --fill: #000; --edge: #000; color: #fff; background: #000; }

/* Accordions, light variant */
.light .acc { background: var(--surface-1); }
.light .plus::before, .light .plus::after { background: #000; }
.acc__meta { display: inline-flex; align-items: center; gap: 16px; }
.acc__meta .label { color: var(--text-secondary); }

/* Prototype notes on white */
.light .notes-toggle { background: rgba(255, 255, 255, .85); color: #474747; border-color: rgba(0,0,0,.2); }
.light.notes-on .notes-toggle { background: #000; color: #fff; border-color: #000; }
.light.notes-on .notes-toggle i { background: #fff; border-color: #fff; }
.light .build-tag { background: #000; color: #fff; }
.light .build-tag b { background: #fff; color: #000; }
.light .event-log { background: rgba(255,255,255,.92); border-color: rgba(0,0,0,.2); color: #474747; }
.light .event-log b { color: #000; }

/* ---------- Layout ---------- */

.mp-section { position: relative; padding-block: var(--section-y); }
.mp-section + .mp-section { padding-top: 0; }
.mp-head { padding-top: calc(var(--nav-h) + clamp(48px, 30px + 4vw, 96px)); }
.mp-section .chapter-head .secondary { max-width: 40ch; }

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: clamp(28px, 20px + 2vw, 48px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.jump a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  text-decoration: none;
}
.jump a:hover { color: #000; text-decoration: underline; text-underline-offset: 4px; }

/* Split: heading column left, content right (ESR / MacBook pattern) */
.mp-split { display: grid; gap: 28px; }
.mp-split__head { display: grid; gap: 12px; align-content: start; }
.mp-split__head .caption { max-width: 32ch; }
@media (min-width: 900px) {
  .mp-split { grid-template-columns: 1fr 2fr; gap: 48px; }
  .mp-split__head { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
}
.mp-split--flush { margin-top: clamp(56px, 40px + 4vw, 96px); }

/* ---------- Trims ---------- */

.trim-tabs { display: flex; gap: 28px; margin-top: clamp(40px, 28px + 3vw, 64px); }
.trim-tab {
  padding: 0 0 6px;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 24px; /* #959595 inactive meets AA only at 24px and up */
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text-inactive);
  cursor: pointer;
  box-shadow: inset 0 -1px 0 transparent;
  transition: color var(--ui) var(--ease), box-shadow var(--ui) var(--ease);
}
.trim-tab[aria-selected="true"] { color: #000; box-shadow: inset 0 -1px 0 #000; }
@media (min-width: 734px) { .trim-tabs { display: none; } }

.trim-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88%;
  gap: 12px;
  margin: 20px calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter) 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.trim-row::-webkit-scrollbar { display: none; }
@media (min-width: 734px) {
  .trim-row { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 16px; margin: clamp(40px, 28px + 3vw, 64px) 0 0; padding: 0; overflow: visible; }
}

.trim-card {
  --chamfer: 24px;
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface-1);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%);
}
.trim-card__img { position: relative; margin: 0; background: #fff; }
.trim-card__img img { width: 100%; aspect-ratio: 1264 / 848; object-fit: contain; }
.trim-card__img figcaption { position: absolute; left: 20px; bottom: 14px; }
.trim-card__body { display: grid; align-content: start; gap: 8px; padding: 24px 20px 28px; }
.trim-card__body .display-m { margin-top: 2px; }
.trim-card__line { color: var(--text-secondary); max-width: 40ch; }
.trim-card__line a { color: #000; text-underline-offset: 3px; }
.trim-card__price { display: grid; gap: 4px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.trim-card__price .stat-num { font-size: clamp(40px, 33px + 1.8vw, 60px); }
@media (min-width: 900px) {
  .trim-card__img figcaption { left: 32px; bottom: 20px; }
  .trim-card__body { padding: 32px 32px 40px; }
}

/* Price build-up (native "show more") */
.breakdown { margin-top: 12px; border-top: 1px solid var(--line); }
.breakdown summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  font-size: var(--fs-caption);
  cursor: pointer;
}
.breakdown summary::-webkit-details-marker { display: none; }
.breakdown[open] .plus::after { opacity: 0; }
.bd { margin: 0 0 8px; }
.bd-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); font-size: var(--fs-caption); }
.bd-row dt { color: var(--text-secondary); }
.bd-row dd { margin: 0; font-variant-numeric: tabular-nums; }
.bd-row--total { border-top-color: var(--line-strong); font-weight: 600; }
.bd-row--total dt { color: #000; }

.light .offer .label { display: inline-flex; align-items: center; gap: 8px; color: #000; }
.offer__mark { width: 10px; height: 10px; background: var(--func-offer); }
.light .offer b, .light .hero__price b { color: #000; }
.mp-ctas { margin-top: clamp(32px, 24px + 2vw, 48px); }

/* ---------- What Executive adds ---------- */

.mp-delta .stat-num { font-size: clamp(36px, 30px + 1.6vw, 56px); }
.adds { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.adds li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.adds__plus { flex: none; width: 14px; height: 14px; margin-top: 4px; stroke: #000; stroke-width: 2; }
.adds__t { display: grid; gap: 4px; }
.adds .caption { color: var(--text-secondary); }
.mp-note { margin-top: 20px; color: var(--text-secondary); }

/* ---------- Standard on both ---------- */

.features {
  list-style: none;
  margin: 0;
  padding: 0 20px 24px;
  columns: 1;
}
@media (min-width: 1068px) { .features { columns: 2; column-gap: 40px; } }
.features li {
  break-inside: avoid;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.4;
}

/* ---------- Tech data ---------- */

.mp-keyfigs { margin-top: clamp(40px, 28px + 3vw, 64px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
.mp-keyfigs .stat-num { font-size: clamp(32px, 24.6px + 1.9vw, 56px); }
@media (min-width: 900px) { .mp-keyfigs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; } }

.t-table { margin: 0; padding: 0 20px 20px; }
.t-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.4;
}
.t-row dt { color: var(--text-secondary); }
.t-row dd { margin: 0; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.t-row dd.split { display: grid; gap: 2px; }
.t-row dd.split .label { margin-right: 6px; }

/* Data flags: visible only with Foleon notes on (they're for the client check, not the page) */
.flag { display: none; }
.notes-on .flag {
  display: block;
  margin-top: 6px;
  padding: 6px 8px;
  background: #fff3f5;
  box-shadow: inset 0 0 0 1px rgba(255, 7, 58, .5);
  color: #000;
  font: 500 11px/1.4 var(--font-mono);
  text-transform: none;
}

.mp-next .final-ctas { margin-top: clamp(28px, 20px + 2vw, 48px); }
