:root {
  --blue: #241b17;
  --blue-deep: #1b1411;
  --blue-soft: #eeeae7;
  --green: #9c8b7e;
  --green-deep: #6f6056;
  --ink: #352d28;
  --muted: #6f655e;
  --line: #c7c0ba;
  --paper: #ffffff;
  --wash: #352d28;
  --shadow: 0 22px 60px rgba(53, 45, 40, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--wash);
  color: var(--ink);
  font: 400 18px/1.55 "Assistant", "Segoe UI", Arial, sans-serif;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: var(--blue); }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 50; padding: 10px 14px; background: white; }
.skip-link:focus { top: 12px; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 22px 0;
}
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand-logo-frame { position: relative; display: block; width: 290px; height: 72px; overflow: hidden; background: var(--wash); }
.brand-logo { position: absolute; top: 50%; left: 50%; width: 290px; height: 290px; max-width: none; transform: translate(-50%, -50%); object-fit: contain; mix-blend-mode: screen; }
.header-link { color: #fff; font-weight: 700; text-underline-offset: 4px; }
main { overflow: hidden; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 48px; align-items: center;
  width: min(1180px, calc(100% - 32px)); margin: 26px auto 48px; padding: 58px;
  border: 1px solid var(--line); border-radius: 24px;
  background: radial-gradient(circle at 90% 5%, rgba(156,139,126,.28), transparent 32%), linear-gradient(140deg, #fff 15%, #eeeae7 100%);
  box-shadow: var(--shadow);
}
.eyebrow, .card-kicker { margin: 0 0 10px; color: var(--green-deep); font-weight: 800; letter-spacing: .045em; text-transform: uppercase; font-size: .8rem; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { color: var(--blue); }
h1 { margin: 0; max-width: 700px; font-size: clamp(2.5rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.045em; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.04; letter-spacing: -.03em; }
h3 { margin: 0; font-size: 1.45rem; line-height: 1.15; }
.hero-lead { max-width: 710px; margin: 24px 0; color: var(--muted); font-size: 1.25rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.trust-row span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.78); color: var(--ink); font-size: .85rem; font-weight: 700; }
.button { min-height: 50px; padding: 12px 22px; border: 2px solid var(--blue); border-radius: 8px; font-weight: 800; transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(53,45,40,.2); }
.button:focus-visible, .answer:focus-visible { outline: 4px solid rgba(156,139,126,.58); outline-offset: 3px; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.button-secondary { background: white; color: var(--blue); }
.button-danger { border-color: var(--green-deep); background: white; color: var(--green-deep); }
.hero-card { padding: 28px; border: 1px solid rgba(53,45,40,.2); border-radius: 18px; background: rgba(255,255,255,.88); }
.hero-card ol { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.hero-card li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; font-weight: 700; }
.hero-card li span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.tool-shell { width: min(930px, calc(100% - 32px)); min-height: 520px; margin: 0 auto 80px; }
.panel { padding: clamp(24px, 5vw, 52px); border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.intro-panel { text-align: center; }
.intro-panel p { max-width: 650px; margin: 16px auto 28px; color: var(--muted); }
.privacy-note { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; padding: 10px 14px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-deep); font-size: .9rem; font-weight: 700; }
.progress-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.progress { height: 10px; overflow: hidden; border-radius: 99px; background: var(--blue-soft); }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--green)); transition: width .25s ease; }
.flashcard { min-height: 390px; display: grid; align-content: center; margin: 26px 0; padding: clamp(30px, 7vw, 70px); border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #fff, #eeeae7); text-align: center; }
.flashcard p { margin: 0; font-size: clamp(1.45rem, 4vw, 2.25rem); line-height: 1.18; font-weight: 700; }
.answers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.answer { min-height: 76px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-size: .86rem; font-weight: 700; }
.answer:hover { border-color: var(--blue); background: var(--blue-soft); }
.answer.selected { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--blue); }
.question-actions { display: flex; margin-top: 18px; }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; box-shadow: none; }
.share-note { max-width: 720px; margin: 14px 0 0; color: var(--muted); font-size: .88rem; }
.handover { text-align: center; }
.handover-icon { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 24px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 2rem; }
.handover p { max-width: 620px; margin: 16px auto 28px; color: var(--muted); }
.score-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin: 26px 0; }
.score-card { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #faf9f8; }
.score-value { margin: 6px 0 2px; color: var(--blue); font-size: 2.7rem; font-weight: 800; line-height: 1; }
.comparison-scale { position: relative; height: 76px; margin: 28px 10px 38px; border-top: 12px solid transparent; border-image: linear-gradient(90deg,#352d28,#9c8b7e,#d5d2cd) 1; }
.scale-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; }
.marker { position: absolute; top: -32px; transform: translateX(-50%); min-width: 42px; padding: 3px 7px; border-radius: 6px; background: var(--blue); color: white; text-align: center; font-size: .72rem; font-weight: 800; }
.marker.partner-b { top: 17px; background: var(--green-deep); }
.themes { display: grid; gap: 12px; margin: 26px 0; }
.theme-row { display: grid; grid-template-columns: minmax(130px,.75fr) 1fr 1fr; gap: 12px; align-items: center; }
.theme-name { font-weight: 800; }
.theme-meter { height: 14px; overflow: hidden; border-radius: 99px; background: var(--blue-soft); }
.theme-meter span { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.theme-meter.partner-b span { background: var(--green-deep); }
.insights { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.insight { padding: 22px; border-left: 5px solid var(--green); background: #f4f1ef; }
.insight.difference { border-left-color: var(--blue); background: #eeeae7; }
.conversation { margin-top: 30px; padding: 26px; border-radius: 14px; background: var(--blue-deep); color: white; }
.conversation h3 { color: white; }
.conversation ol { margin-bottom: 0; padding-left: 24px; }
.conversation li + li { margin-top: 12px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.explanation, .faq { width: min(1050px, calc(100% - 32px)); margin: 0 auto 80px; }
.explanation { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; padding-top: 60px; border-top: 1px solid var(--line); }
.explanation, .faq { color: #f4f1ef; }
.explanation h2, .faq h2 { color: #fff; }
.explanation .eyebrow, .faq .eyebrow { color: #d5d2cd; }
.prose p:first-child { margin-top: 0; }
.faq h2 { max-width: 720px; margin-bottom: 26px; }
details { border-top: 1px solid rgba(255,255,255,.28); }
details:last-child { border-bottom: 1px solid rgba(255,255,255,.28); }
summary { padding: 20px 4px; font-weight: 800; cursor: pointer; }
details p { max-width: 800px; margin: -8px 4px 24px; color: #e3ded9; }
footer { padding: 34px 16px; background: var(--blue-deep); color: white; text-align: center; }
footer p { margin: 5px auto; max-width: 850px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 820px) {
  .brand-logo-frame { width: 220px; height: 58px; }
  .brand-logo { width: 220px; height: 220px; }
  .hero, .explanation { grid-template-columns: 1fr; }
  .hero { padding: 34px 24px; gap: 30px; }
  .answers { grid-template-columns: 1fr; }
  .answer { min-height: 52px; text-align: left; padding: 12px 16px; }
  .score-grid, .insights { grid-template-columns: 1fr; }
  .theme-row { grid-template-columns: 100px 1fr 1fr; font-size: .84rem; }
}

@media print {
  .site-header, .hero, .faq, footer, .result-actions { display: none !important; }
  body { background: white; color: black; }
  .tool-shell { width: 100%; margin: 0; }
  .panel { border: 0; box-shadow: none; padding: 0; }
  .conversation { background: white; color: black; border: 1px solid #777; }
  .conversation h3 { color: black; }
}
