:root {
  --plum: #6a1d55;
  --plum-dark: #531442;
  --plum-soft: #f3e8f0;
  --gold: #c6a22b;
  --gold-soft: #fbf3dd;
  --ink: #2d272a;
  --muted: #6f676b;
  --line: #d8ceca;
  --line-soft: #e9e1dd;
  --paper: #faf8f6;
  --surface: #ffffff;
  --disabled: #f2efed;
  --shadow: 0 18px 55px rgba(51, 36, 44, .12);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  min-width: 320px;
  background: #eee9e7;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
}
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  transform: translateY(-180%);
  padding: .7rem 1rem;
  color: #fff;
  background: var(--plum);
  border-radius: .4rem;
}
.skip-link:focus { transform: none; }
:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--plum);
}

.presenter {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}
.presenter-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 32px 22px;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
}
.presenter-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--plum);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.presenter-rail .presenter-kicker { color: #e0c769; }
.presenter-brand strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.12;
}
.group-nav {
  margin-top: 54px;
  display: grid;
  gap: 8px;
}
.group-tab {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  cursor: pointer;
}
.group-tab span { color: #d6b84e; font-size: .8rem; font-weight: 700; }
.group-tab:hover { background: rgba(255,255,255,.08); }
.group-tab.is-active { background: var(--plum); }
.presenter-note {
  margin-top: auto;
  color: #d9d4d6;
  font-size: .86rem;
}
.presenter-main {
  min-width: 0;
  padding: 28px 34px 24px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
}
.presenter-head, .presenter-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.presenter-head h1 {
  margin: 0;
  font: 600 clamp(1.55rem, 2vw, 2.2rem)/1.15 var(--serif);
}
.slide-counter {
  min-width: 74px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  text-align: center;
  font-weight: 700;
}
.stage {
  min-height: 600px;
  overflow: auto;
  border: 1px solid #d7ccca;
  border-radius: 14px;
  background:
    linear-gradient(#e6dfdc 1px, transparent 1px),
    linear-gradient(90deg, #e6dfdc 1px, transparent 1px),
    #f7f4f2;
  background-size: 24px 24px;
  box-shadow: var(--shadow);
}
.stage-inner {
  min-width: max-content;
  min-height: 100%;
  padding: 30px;
  display: grid;
  place-items: start center;
}
.presenter-controls { min-height: 48px; }
.nav-button {
  min-width: 112px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid var(--plum);
  border-radius: 7px;
  background: var(--plum);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.nav-button:hover { background: var(--plum-dark); }
.nav-button--secondary { background: #fff; color: var(--plum); }
.nav-button--secondary:hover { background: var(--plum-soft); }
.nav-button:disabled { background: var(--disabled); color: var(--muted); border-color: var(--line); cursor: default; }
.dots { display: flex; align-items: center; gap: 8px; }
.dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid var(--plum);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.dot.is-active { background: var(--plum); }

/* Foundations */
.foundation-board {
  width: min(1120px, calc(100vw - 360px));
  min-width: 820px;
  padding: 48px;
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 8px 30px rgba(52,45,48,.08);
}
.foundation-board h2 { margin: 0 0 8px; font: 600 2rem/1.2 var(--serif); }
.foundation-board > p { max-width: 780px; margin: 0 0 34px; color: var(--muted); }
.token-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.token {
  min-height: 126px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
}
.swatch { height: 62px; margin-bottom: 12px; border: 1px solid rgba(45,39,42,.18); border-radius: 5px; }
.swatch--plum { background: var(--plum); }
.swatch--gold { background: var(--gold); }
.swatch--paper { background: var(--paper); }
.swatch--ink { background: var(--ink); }
.swatch--soft { background: var(--plum-soft); }
.swatch--warning { background: var(--gold-soft); }
.swatch--muted { background: var(--muted); }
.swatch--line { background: var(--line); }
.token strong, .token small { display: block; }
.token small { margin-top: 3px; color: var(--muted); }
.contrast-table { width: 100%; margin-top: 26px; border-collapse: collapse; background: #fff; }
.contrast-table th, .contrast-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.contrast-pass { color: var(--plum-dark); font-weight: 700; }
.type-stack { display: grid; gap: 28px; }
.type-sample { padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); }
.type-sample small { color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.type-display { margin: 8px 0 0; font: 600 3rem/1.08 var(--serif); }
.type-heading { margin: 8px 0 0; font: 600 2rem/1.15 var(--serif); }
.type-body { max-width: 700px; margin: 8px 0 0; font-size: 1rem; }
.measure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.measure-card { padding: 24px; border: 1px solid var(--line-soft); background: #fff; }
.space-row { display: flex; align-items: center; gap: 14px; margin: 14px 0; }
.space-bar { height: 12px; background: var(--plum); }
.radius-row { display: flex; align-items: end; gap: 22px; margin-top: 22px; }
.radius-box { width: 82px; height: 64px; border: 1px solid var(--plum); background: var(--plum-soft); }
.focus-demo { margin-top: 26px; display: inline-flex; padding: 12px 18px; border: 1px solid var(--plum); border-radius: 7px; background: #fff; color: var(--plum); font-weight: 700; box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--plum); }
.state-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.state-card { min-height: 126px; padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.state-card strong { display: block; margin-bottom: 6px; }
.state-card--selected { border: 2px solid var(--plum); background: var(--plum-soft); }
.state-card--clarify { border-color: #8c6712; background: var(--gold-soft); }
.state-card--disabled { background: var(--disabled); color: var(--muted); }
.icon-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.icon-card { min-height: 132px; padding: 15px 10px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; display: grid; place-items: center; text-align: center; }
.icon-card img { width: 52px; height: 52px; object-fit: contain; margin-bottom: 8px; }
.icon-card span { font-size: .84rem; font-weight: 600; }

/* Embedded configurator screens */
.screen {
  overflow: hidden;
  border: 1px solid #d8ceca;
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(54,39,47,.14);
  color: var(--ink);
}
.desktop-screen { width: 1280px; min-height: 820px; }
.mobile-screen { width: 390px; min-height: 844px; }
.site-head {
  height: 76px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}
.site-logo { width: 238px; height: auto; }
.menu-icon { width: 36px; height: 27px; display: grid; align-content: space-between; border: 0; padding: 0; background: transparent; cursor: pointer; }
.menu-icon span { display: block; height: 3px; background: var(--plum); }
.config-bar {
  min-height: 46px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  gap: 22px;
  background: #f4eff2;
  color: #4a4145;
  font-size: .84rem;
  font-weight: 600;
}
.config-bar .accent, .config-bar a { color: var(--plum); text-decoration: none; }
.config-bar .grow { flex: 1; }
.desktop-work { display: grid; grid-template-columns: 220px minmax(0,1fr) 270px; gap: 28px; padding: 38px 56px 32px; }
.step-nav h2 { margin: 0 0 14px; font-size: 1rem; }
.step-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.step-nav li { min-height: 44px; padding: 9px 10px; border: 1px solid transparent; border-radius: 7px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .84rem; }
.step-nav li::before { content: attr(data-step); width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: #fff; font-size: .75rem; }
.step-nav li.done::before { content: "✓"; background: var(--plum); color: #fff; border-color: var(--plum); }
.step-nav li.active { border-color: var(--plum); background: var(--plum-soft); color: var(--ink); }
.step-nav li.active::before { background: var(--plum); color: #fff; border-color: var(--plum); }
.screen-main .eyebrow { color: var(--plum); font-weight: 700; font-size: .84rem; }
.screen-main h2 { max-width: 740px; margin: 14px 0 12px; font: 600 2rem/1.15 var(--serif); }
.screen-main .intro { margin: 0 0 20px; color: #574e52; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.choice-grid--three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.choice-card {
  position: relative;
  min-height: 142px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: #fff;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}
.choice-card:hover { border-color: var(--plum); }
.choice-card.selected { border: 2px solid var(--plum); background: var(--plum-soft); }
.choice-card img { width: 38px; height: 38px; object-fit: contain; }
.choice-card strong, .choice-card small, .choice-card em { display: block; }
.choice-card strong { font-size: 1rem; }
.choice-card small { margin-top: 6px; color: #574e52; font-size: .82rem; }
.choice-card em { margin-top: 14px; font-style: normal; font-weight: 700; font-size: .84rem; }
.radio-dot { position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.selected .radio-dot { border: 7px solid var(--plum); }
.field-card { margin-top: 16px; padding: 16px; border: 1px solid var(--line-soft); border-radius: 9px; background: #fff; }
.field-card label, .field-label { display: block; margin-bottom: 7px; font-weight: 700; font-size: .86rem; }
.field { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); }
.field--button { display: flex; align-items: center; justify-content: space-between; text-align: left; }
.field--button span { color: var(--plum); font-weight: 700; }
.place-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.selection-summary { margin-bottom: 16px; padding: 13px 16px; border: 1px solid var(--line-soft); border-radius: 9px; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.selection-summary small, .selection-summary strong { display: block; }
.selection-summary small { color: var(--muted); }
.clarify-link { display: inline-block; margin-top: 8px; color: var(--plum); font-weight: 700; font-size: .84rem; }
.offer-panel { align-self: start; padding: 22px; border: 1px solid var(--line-soft); border-radius: 10px; background: #fff; }
.offer-panel h3 { margin: 0 0 16px; font: 600 1.25rem/1.2 var(--serif); }
.offer-panel p { margin: 0 0 14px; color: #574e52; font-size: .88rem; }
.offer-panel > small { display: block; margin-top: 14px; color: var(--muted); font-size: .76rem; }
.panel-lead { margin-bottom: 5px !important; color: var(--plum) !important; font-size: .76rem !important; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.panel-product { display: block; margin-bottom: 6px; line-height: 1.25; }
.panel-callout, .delta { margin-top: 16px; padding: 13px; border: 1px solid #8c6712; border-radius: 8px; background: var(--gold-soft); }
.panel-callout strong, .panel-callout span { display: block; }
.panel-callout span { margin-top: 4px; font-size: .82rem; }
.delta { border-color: var(--line); background: var(--paper); font-size: .84rem; font-weight: 700; }
.screen-actions { grid-column: 2; margin-top: 30px; display: flex; justify-content: space-between; }
.screen-button { min-height: 44px; padding: 10px 22px; border: 1px solid var(--plum); border-radius: 7px; background: var(--plum); color: #fff; font-weight: 700; cursor: pointer; }
.screen-button.secondary { background: #fff; color: var(--plum); }
.catalog-note { margin: 0 0 16px; padding: 14px 16px; border-left: 4px solid var(--plum); background: #fff; }
.catalog-note strong, .catalog-note span { display: block; }
.catalog-note span { margin-top: 3px; color: #574e52; font-size: .84rem; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.product-card { overflow: hidden; border: 1px solid var(--line-soft); border-radius: 9px; background: #fff; }
.product-card.selected { border: 2px solid var(--plum); background: var(--plum-soft); }
.product-placeholder { width: 100%; height: 142px; padding: 16px; background: #f3efed; display: grid; place-items: center; color: var(--muted); font-size: .8rem; }
.product-body { padding: 13px; }
.product-meta { color: var(--muted); font-size: .76rem; }
.product-card h3 { margin: 5px 0 4px; font-size: 1rem; line-height: 1.2; }
.product-delta { min-height: 40px; margin: 4px 0 10px; color: var(--plum); font-weight: 700; font-size: .84rem; }
.product-delta.neutral { color: var(--ink); }
.product-card .screen-button { width: 100%; }
.catalog-disclaimer { display: block; margin-top: 12px; color: var(--muted); }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 14px 0; padding: 15px; border: 1px solid #8c6712; border-radius: 9px; background: var(--gold-soft); }
.notice--info { border-color: var(--line); border-left: 4px solid var(--plum); background: #fff; }
.notice strong, .notice small { display: block; }
.summary-list { display: grid; gap: 10px; }
.summary-card { padding: 15px; border: 1px solid var(--line-soft); border-radius: 9px; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.summary-card strong, .summary-card small { display: block; }
.summary-card small { margin-top: 3px; color: #574e52; }
.text-action { border: 0; background: transparent; color: var(--plum); font-weight: 700; cursor: pointer; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-grid .full { grid-column: 1 / -1; }
.contact-grid textarea { min-height: 86px; resize: vertical; }
.field-label em { margin-left: 5px; color: var(--plum); font-size: .72rem; font-style: normal; letter-spacing: .04em; text-transform: uppercase; }
.process-list { counter-reset: item; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.process-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: .86rem; }
.process-list li::before { counter-increment: item; content: counter(item); width: 26px; height: 26px; border: 1px solid var(--plum); border-radius: 50%; display: grid; place-items: center; color: var(--plum); }

/* Mobile mock */
.mobile-screen .site-head { height: 72px; padding: 0 20px; }
.mobile-screen .site-logo { width: 180px; }
.mobile-screen .menu-icon { width: 32px; height: 24px; }
.mobile-screen .config-bar { min-height: 40px; padding: 0 20px; font-size: .8rem; }
.mobile-progress { height: 64px; padding: 9px 20px; display: flex; justify-content: space-between; align-items: center; background: #fff; }
.mobile-progress strong, .mobile-progress small { display: block; }
.mobile-progress small { color: var(--plum); }
.mobile-content { padding: 22px 20px 88px; }
.mobile-content h2 { margin: 0 0 10px; font: 600 1.65rem/1.18 var(--serif); }
.mobile-content .intro { margin: 0 0 16px; color: #574e52; }
.mobile-content .choice-grid, .mobile-content .choice-grid--three { grid-template-columns: 1fr; }
.mobile-content .choice-grid--compact { grid-template-columns: 1fr 1fr; }
.mobile-content .choice-card { min-height: 104px; padding: 15px; grid-template-columns: 38px 1fr; }
.mobile-content .choice-grid--compact .choice-card { min-height: 142px; display: block; }
.mobile-content .choice-grid--compact .choice-card img { margin-bottom: 16px; }
.mobile-content .field-card { padding: 0; border: 0; background: transparent; }
.mobile-content .place-grid { grid-template-columns: 1fr; }
.mobile-content .product-grid { grid-template-columns: 1fr; }
.mobile-content .product-card { display: grid; grid-template-columns: 126px 1fr; }
.mobile-content .product-placeholder { height: 188px; }
.mobile-content .summary-card { min-height: 82px; }
.mobile-sticky { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 20px; border-top: 1px solid var(--line); background: rgba(255,255,255,.98); }
.mobile-sticky .screen-button { width: 100%; }
.mobile-screen { position: relative; }
.mobile-screen .notice { align-items: start; }
.mobile-content .contact-grid { grid-template-columns: 1fr; }
.mobile-content .contact-grid > label { grid-column: 1 / -1; }
.mobile-content .catalog-note { padding: 12px 13px; }

@media (max-width: 900px) {
  .presenter { grid-template-columns: 1fr; }
  .presenter-rail { position: static; height: auto; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
  .presenter-brand strong { font-size: 1.15rem; }
  .presenter-brand strong br, .presenter-rail .presenter-kicker, .presenter-note { display: none; }
  .group-nav { margin: 0; display: flex; gap: 5px; }
  .group-tab { width: auto; min-height: 40px; padding: 7px 10px; }
  .group-tab span { display: none; }
  .presenter-main { padding: 18px 14px; }
  .stage { min-height: 570px; }
  .stage-inner { padding: 18px; }
  .foundation-board { width: 860px; min-width: 860px; padding: 36px; }
}

@media (max-width: 560px) {
  .presenter-rail { grid-template-columns: 1fr; }
  .presenter-brand { display: none; }
  .group-nav { width: 100%; }
  .group-tab { flex: 1; justify-content: center; }
  .presenter-head { align-items: end; }
  .presenter-head h1 { font-size: 1.45rem; }
  .slide-counter { min-width: 62px; padding: 6px 10px; }
  .presenter-main { min-height: calc(100vh - 72px); }
  .stage-inner { place-items: start; }
  .presenter-controls { gap: 10px; }
  .nav-button { min-width: 94px; }
  .dots { gap: 6px; }
  .dot { width: 10px; height: 10px; }
}
