:root {
  --ink: #17212b;
  --muted: #607080;
  --paper: #fbf9ff;
  --panel: #ffffff;
  --lilac: #a78bfa;
  --lavender: #e9ddff;
  --lavender-2: #f4efff;
  --teal: #2dd4bf;
  --teal-dark: #0f766e;
  --salmon: #f08a8a;
  --culture-bg: #ede9fe;
  --culture-border: #c4b5fd;
  --culture-text: #5b21b6;
  --preference-bg: #fef3c7;
  --preference-border: #fbbf24;
  --preference-text: #92400e;
  --line: #ddd6fe;
  --shadow: 0 18px 50px rgba(73, 49, 124, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fbf9ff 0%, #f5fbfb 48%, #fbf9ff 100%);
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 249, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(167,139,250,.25);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.text-brand { font-size: 18px; letter-spacing: .08em; }
nav { display: flex; flex-wrap: wrap; gap: 18px; color: #475569; font-size: 14px; font-weight: 650; }
.hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, .96fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(54px, 8vw, 100px) clamp(18px, 6vw, 82px) 36px;
}
.eyebrow { color: var(--teal-dark); text-transform: uppercase; font-size: 12px; letter-spacing: .12em; font-weight: 800; }
h1 { margin: 0; font-size: clamp(48px, 7.5vw, 92px); line-height: .92; letter-spacing: 0; }
h2 { margin: 0 0 14px; font-size: clamp(26px, 3.1vw, 42px); line-height: 1.05; letter-spacing: 0; }
h3 { margin: 0 0 10px; font-size: 21px; }
.subtitle { font-size: clamp(23px, 3vw, 38px); line-height: 1.08; font-weight: 750; max-width: 760px; margin: 18px 0; }
.authors { font-size: 17px; font-weight: 750; margin: 18px 0 4px; }
.affiliations { color: var(--muted); margin: 0 0 20px; }
.summary { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 680px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button, button { font: inherit; }
.button { border: 1px solid var(--line); border-radius: 8px; padding: 11px 16px; background: white; font-weight: 750; box-shadow: 0 6px 18px rgba(73,49,124,.08); }
.button.primary { background: var(--ink); color: white; border-color: var(--ink); }
.button.disabled { color: #718096; background: #f8fafc; cursor: not-allowed; }
.hero-panel { display: grid; gap: 18px; padding: 22px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(237,233,254,.92), rgba(254,243,199,.78)); box-shadow: var(--shadow); border-radius: 8px; }
.scenario-card, .interactive-example, .chart-shell, .figure-preview, .annotation-card, .takeaway-box, .cite-section pre { background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.scenario-card { padding: 24px; }
.scenario-card h2 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.08; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 12px; }
.choice, .segmented button, .icon-button { cursor: pointer; border: 1px solid var(--line); border-radius: 8px; background: white; font-weight: 750; }
.choice { padding: 14px 10px; }
.choice.active[data-choice="culture"] { background: var(--culture-bg); border-color: var(--culture-border); color: var(--culture-text); }
.choice.active[data-choice="preference"] { background: var(--preference-bg); border-color: var(--preference-border); color: var(--preference-text); }
.choice-explainer { color: var(--muted); min-height: 48px; }
.tag, .pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 800; }
.tag { background: var(--lavender); color: #5b21b6; }
.pill.culture { background: var(--culture-bg); color: var(--culture-text); }
.pill.preference { background: var(--preference-bg); color: var(--preference-text); }
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 clamp(18px, 6vw, 82px) 34px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.metric-strip div { background: white; padding: 18px; }
.metric-strip strong { display: block; font-size: 28px; color: #5b21b6; }
.metric-strip span { color: var(--muted); font-size: 13px; font-weight: 650; }
.section { padding: 70px clamp(18px, 6vw, 82px); }
.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center; }
.two-col.reverse { grid-template-columns: 1fr .95fr; }
.section p, li { line-height: 1.7; }
.interactive-example, .annotation-card, .takeaway-box { padding: 22px; }
.survey-card { padding: 28px; }
.question-list { display: grid; gap: 12px; margin: 18px 0; }
.question-item { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.78); }
.question-item strong { display: block; margin-bottom: 3px; color: #4c1d95; }
.question-item p { margin: 0; color: var(--muted); line-height: 1.45; }
.question-index { color: var(--teal-dark); font-size: 13px; font-weight: 850; letter-spacing: .08em; padding-top: 2px; }
.toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--muted); font-weight: 700; }
.icon-button { width: 34px; height: 34px; font-size: 22px; }
.option-list { display: grid; gap: 8px; }
.option-list p { margin: 0; padding: 12px; border-radius: 8px; background: var(--lavender-2); }
.muted { color: var(--muted); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--lavender-2); border: 1px solid var(--line); border-radius: 8px; }
.segmented button { padding: 9px 12px; border: 0; background: transparent; }
.segmented button.active { background: white; box-shadow: 0 4px 12px rgba(73,49,124,.10); }
.chart-shell { padding: 18px; }
.chart-note { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(244,239,255,.65); }
.chart-note strong { display: block; color: #4c1d95; font-size: 15px; margin-bottom: 2px; }
.chart-note p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.bar-chart { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: minmax(210px, 300px) minmax(0, 1fr) 70px; gap: 12px; align-items: center; }
.bar-label { font-weight: 750; line-height: 1.2; overflow-wrap: anywhere; }
.bar-track { height: 18px; background: #eef2ff; border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--lilac), var(--teal)); min-width: 2px; transition: width .45s ease; }
.bar-fill.negative { background: linear-gradient(90deg, var(--salmon), var(--lilac)); }
.bar-value { text-align: right; color: var(--muted); font-weight: 700; }
.hidden { display: none !important; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: #4c1d95; }
.takeaway-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.final-grid { align-items: stretch; }
.takeaway-box strong { color: #4c1d95; }
.takeaway-box p { margin-bottom: 0; }
.compact-box { box-shadow: none; background: var(--lavender-2); }
.alignment-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr); gap: 18px; align-items: stretch; }
.alignment-layout .bar-chart { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 18px; box-shadow: var(--shadow); }
.metric-note { margin: 0; }
.dot-chart { display: grid; gap: 12px; margin-top: 20px; }
.dot-row { display: grid; grid-template-columns: 115px 1fr; gap: 12px; align-items: center; }
.dot-lane { position: relative; height: 30px; background: #eef2ff; border-radius: 999px; }
.dot { position: absolute; top: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid white; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.dot.personal { background: var(--teal); }
.dot.norm { background: var(--lilac); }
.cite-section { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; }
.cite-section a { color: var(--teal-dark); font-weight: 800; }
pre { margin: 0; overflow-x: auto; padding: 22px; white-space: pre-wrap; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; line-height: 1.55; }
footer { padding: 38px clamp(18px, 6vw, 82px); border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 960px) {
  nav { display: none; }
  .hero, .two-col, .two-col.reverse, .alignment-layout, .cite-section { grid-template-columns: 1fr; }
  .metric-strip, .takeaway-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .metric-strip, .takeaway-grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr; gap: 6px; }
  .choice-grid { grid-template-columns: 1fr; }
}

.example-choice-label { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; color: #4c1d95; }
.option-list p:first-child { background: var(--culture-bg); border: 1px solid var(--culture-border); }
.option-list p:last-child { background: var(--preference-bg); border: 1px solid var(--preference-border); }

