:root {
  --navy:#08192b;
  --navy-2:#102b45;
  --navy-3:#173b5c;
  --gold:#d8ae58;
  --gold-light:#f0ce84;
  --gold-ink:#76551a;
  --paper:#f4ecd9;
  --paper-2:#fffaf0;
  --ink:#172334;
  --muted:#566274;
  --orange:#e2703a;
  --line:rgba(216,174,88,.38);
  --shadow:0 24px 60px rgba(2,12,24,.18);
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0;
  min-width:320px;
  background:var(--paper);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;
  line-height:1.85;
}
button,a { font:inherit; }
button { cursor:pointer; }
[hidden] { display:none !important; }
:focus-visible { outline:3px solid var(--gold); outline-offset:3px; }

.site-header {
  position:fixed;
  z-index:20;
  top:0;
  left:0;
  width:100%;
  height:72px;
  padding:0 clamp(18px,4vw,52px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(216,174,88,.2);
  background:rgba(8,25,43,.92);
  backdrop-filter:blur(14px);
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  color:var(--paper);
  text-decoration:none;
  line-height:1.1;
}
.brand-compass { width:34px; height:34px; flex:0 0 auto; color:var(--gold); filter:drop-shadow(0 0 8px rgba(216,174,88,.2)); }
.brand b { display:block; letter-spacing:.18em; font-family:Georgia,"Yu Mincho",serif; }
.brand small { display:block; margin-top:5px; color:#aeb8c5; font-size:10px; letter-spacing:.08em; }
.corvia-link {
  padding:6px 11px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--gold-light);
  font-size:11px;
  letter-spacing:.08em;
  text-decoration:none;
}
.corvia-link:hover,.corvia-link:focus-visible { border-color:var(--gold-light); background:rgba(216,174,88,.1); }

.screen { min-height:100vh; padding-top:72px; }
.start-screen {
  position:relative;
  overflow:hidden;
  display:grid;
  place-items:center;
  min-height:100svh;
  background:var(--navy);
  color:var(--paper);
}
.start-screen::after {
  content:"";
  position:absolute;
  left:-10%;
  right:-10%;
  bottom:-12vh;
  height:34vh;
  border-top:1px solid rgba(216,174,88,.55);
  border-radius:50% 50% 0 0;
  background:repeating-radial-gradient(ellipse at 50% 0,rgba(216,174,88,.12) 0 1px,transparent 2px 18px);
  opacity:.7;
}
.start-visual { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.start-veil { position:absolute; inset:0; background:linear-gradient(90deg,rgba(5,17,30,.96) 0%,rgba(8,25,43,.84) 42%,rgba(8,25,43,.3) 70%,rgba(8,25,43,.55) 100%); }
.start-map { position:absolute; inset:72px 0 0; background:url("assets/prologue-map.webp") center/cover no-repeat; opacity:.27; mix-blend-mode:screen; }
.start-frame { position:absolute; inset:90px 24px 24px; border:1px solid rgba(216,174,88,.28); pointer-events:none; }
.start-frame::before { content:""; position:absolute; inset:6px; border:1px solid rgba(216,174,88,.1); }
.start-inner {
  position:relative;
  z-index:2;
  width:min(1080px,calc(100% - 72px));
  padding:86px 0 98px;
  text-align:left;
}
.eyebrow,.question-kicker {
  margin:0 0 20px;
  color:var(--gold-light);
  font-family:Georgia,serif;
  font-size:11px;
  letter-spacing:.24em;
}
h1,h2,h3 { margin-top:0; font-family:"Yu Mincho","Hiragino Mincho ProN",Georgia,serif; line-height:1.45; }
.start-inner h1 { max-width:760px; margin-bottom:28px; font-size:clamp(40px,6.7vw,76px); font-weight:500; letter-spacing:.02em; text-wrap:balance; text-shadow:0 8px 34px rgba(0,0,0,.35); }
.start-inner h1 em { color:var(--gold-light); font-style:normal; }
.lead { width:min(660px,100%); margin:0 0 38px; color:#e1e5eb; font-size:clamp(15px,2.2vw,18px); line-height:2; text-wrap:pretty; text-shadow:0 2px 10px rgba(0,0,0,.45); }
.feature-list {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  width:min(650px,100%);
  margin:0 0 32px;
  padding:0;
  list-style:none;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--line);
}
.feature-list li { padding:17px 14px; background:rgba(8,25,43,.82); backdrop-filter:blur(8px); }
.feature-list b,.feature-list span { display:block; }
.feature-list b { color:var(--gold-light); font-size:13px; }
.feature-list span { color:#aeb8c5; font-size:10px; }
.primary-button,.secondary-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  min-height:58px;
  padding:14px 30px;
  border:1px solid var(--orange);
  border-radius:4px;
  background:var(--orange);
  color:#fff;
  font-weight:700;
  letter-spacing:.04em;
  text-decoration:none;
  transition:.2s ease;
}
.primary-button:hover,.primary-button:focus-visible { background:#c85f2c; transform:translateY(-2px); box-shadow:0 12px 30px rgba(226,112,58,.28); }
.primary-button:disabled { cursor:not-allowed; opacity:.38; transform:none; box-shadow:none; }
.promise { width:min(650px,100%); margin:18px 0 0; color:#c2cad4; font-size:11px; }
.journey-preview { display:flex; align-items:center; gap:12px; width:min(650px,100%); margin-top:25px; padding-top:20px; border-top:1px solid rgba(216,174,88,.3); color:#cfd6df; font-size:11px; letter-spacing:.04em; }
.journey-preview span { display:flex; align-items:center; gap:7px; }
.journey-preview b { color:var(--gold-light); font-family:Georgia,serif; }
.journey-preview i { color:var(--gold); font-style:normal; }

.quiz-screen { display:grid; place-items:center; background:linear-gradient(rgba(8,25,43,.72),rgba(8,25,43,.9)),url("assets/prologue-map.webp") center/cover fixed; }
.quiz-shell { width:min(800px,calc(100% - 32px)); margin:38px auto 66px; padding:46px clamp(24px,6vw,64px) 58px; border:1px solid rgba(216,174,88,.46); border-radius:8px; background:linear-gradient(155deg,rgba(255,250,240,.98),rgba(236,225,201,.98)); box-shadow:0 32px 80px rgba(0,0,0,.38); }
.quiz-brand-line { margin:0 0 18px; color:var(--gold-ink); font-family:Georgia,serif; font-size:10px; letter-spacing:.28em; text-align:center; }
.progress-meta { display:flex; align-items:center; justify-content:space-between; color:var(--muted); font-size:11px; letter-spacing:.12em; }
.progress-meta p { margin:0; color:var(--navy); font-family:Georgia,serif; font-size:25px; }
.progress-meta small { color:var(--muted); font-size:12px; }
.text-button { padding:8px 0; border:0; background:none; color:var(--muted); }
.text-button:hover,.text-button:focus-visible { color:var(--navy); }
.progress-track { height:3px; margin:11px 0 58px; overflow:hidden; background:rgba(8,25,43,.12); }
.progress-track span { display:block; width:10%; height:100%; background:var(--gold); transition:width .28s ease; }
.question-kicker { color:var(--gold-ink); }
.quiz-shell h2 { min-height:108px; margin-bottom:14px; color:var(--navy); font-size:clamp(25px,4vw,38px); }
.answer-hint { margin:0 0 24px; color:#5c6675; font-size:13px; line-height:1.7; }
.answer-hint b { color:var(--navy); font-weight:600; }
.answer-list { display:grid; gap:14px; }
.answer-option {
  position:relative;
  width:100%;
  padding:20px 58px 20px 64px;
  border:1px solid rgba(8,25,43,.16);
  border-radius:8px;
  background:rgba(255,255,255,.64);
  color:var(--ink);
  text-align:left;
  line-height:1.65;
  transition:.18s ease;
}
.answer-option::before {
  content:attr(data-letter);
  position:absolute;
  left:20px;
  top:50%;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:50%;
  color:var(--gold-ink);
  font-family:Georgia,serif;
  transform:translateY(-50%);
}
.answer-option::after {
  content:"";
  position:absolute;
  right:22px;
  top:50%;
  width:10px;
  height:10px;
  border:2px solid transparent;
  border-right-color:var(--gold);
  border-bottom-color:var(--gold);
  opacity:0;
  transform:translateY(-65%) rotate(45deg);
}
.answer-option:hover,.answer-option:focus-visible { border-color:var(--gold); background:white; transform:translateY(-1px); }
.answer-option.selected { border-color:var(--gold); background:#fff7e6; box-shadow:0 0 0 2px rgba(216,174,88,.14); }
.answer-option.selected::after { opacity:1; }
.next-button { width:100%; margin-top:28px; }

.result-screen { background:linear-gradient(rgba(235,224,201,.94),rgba(235,224,201,.98)),url("assets/prologue-map.webp") center top/cover fixed; }
.result-hero { position:relative; min-height:min(78vh,760px); overflow:hidden; background:var(--navy); color:var(--paper); }
.result-hero img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.result-hero-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(8,25,43,.2),rgba(8,25,43,.08) 46%,rgba(8,25,43,.94)); }
.result-hero-copy { position:absolute; z-index:2; left:50%; bottom:7%; width:min(900px,calc(100% - 36px)); text-align:center; transform:translateX(-50%); }
.result-code { display:inline-block; margin:0 0 10px; padding:5px 12px; border:1px solid rgba(216,174,88,.55); border-radius:999px; color:var(--gold-light); font-family:Georgia,serif; letter-spacing:.14em; }
.result-hero-copy h2 { margin-bottom:10px; font-size:clamp(32px,6vw,64px); font-weight:500; }
.result-catch { margin:0; color:#e2e6eb; font-size:clamp(14px,2vw,19px); }
.result-body { width:min(920px,calc(100% - 32px)); margin:0 auto; padding:62px 0 90px; }
.hypothesis-card,.next-step-card,.reason-card,.feedback-card,.share-card,.corvia-bridge {
  margin-bottom:28px;
  border:1px solid rgba(8,25,43,.12);
  border-radius:10px;
  background:rgba(255,250,240,.9);
  box-shadow:var(--shadow);
}
.hypothesis-card { padding:25px 28px; border-left:4px solid var(--gold); }
.hypothesis-card p:last-child { margin:0; }
.card-label { margin:0 0 7px; color:var(--gold-ink); font-size:11px; font-weight:700; letter-spacing:.12em; }
.result-section { padding:48px 12px; border-bottom:1px solid rgba(8,25,43,.12); }
.result-section h3,.reason-card h3,.feedback-card h3,.share-card h3,.corvia-bridge h3 { color:var(--navy); font-size:clamp(23px,3vw,32px); }
.result-section p:last-child { margin-bottom:0; }
.section-number { margin:0 0 6px; color:var(--gold-ink); font-family:Georgia,serif; font-size:13px; }
.split { display:grid; grid-template-columns:1fr 1fr; gap:42px; }
.split article:first-child { padding-right:32px; border-right:1px solid rgba(8,25,43,.12); }
.next-step-card { padding:30px; background:var(--navy); color:var(--paper); border-color:var(--gold); text-align:center; }
.next-step-card p:last-child { margin:4px 0 0; color:var(--gold-light); font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:clamp(20px,3vw,28px); }
.reason-card,.feedback-card { padding:30px; }
.axis-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:18px 0; }
.axis-chip { padding:14px; border:1px solid var(--line); border-radius:8px; background:#fff8ea; }
.axis-chip small,.axis-chip b { display:block; }
.axis-chip small { color:var(--muted); font-size:10px; }
.axis-chip b { color:var(--navy); }
.feedback-buttons { display:flex; flex-wrap:wrap; gap:10px; }
.feedback-buttons button { flex:1; min-width:150px; padding:13px; border:1px solid var(--line); border-radius:999px; background:white; color:var(--navy); }
.feedback-buttons button:hover,.feedback-buttons button.selected { border-color:var(--gold); background:#fff3d8; }
.feedback-message { min-height:1.8em; margin:14px 0 0; color:#8a681e; font-size:13px; }
.line-benefit-card {
  margin-bottom:28px;
  padding:clamp(28px,5vw,46px);
  border:1px solid var(--gold);
  border-radius:10px;
  background:linear-gradient(145deg,#fffaf0,#eee0c2);
  box-shadow:var(--shadow);
}
.line-benefit-card h3 { margin-bottom:12px; color:var(--navy); font-size:clamp(24px,3.8vw,36px); }
.line-benefit-card > p { max-width:720px; }
.benefit-list { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:24px 0; }
.benefit-list span { padding:14px; border:1px solid var(--line); border-radius:8px; background:rgba(255,255,255,.7); color:var(--navy); font-size:13px; font-weight:700; text-align:center; }
.line-code-row { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:28px 0 20px; padding:22px; border:1px solid rgba(8,25,43,.16); border-radius:10px; background:var(--navy); color:var(--paper); }
.line-code-row p { margin:0; }
.code-label { color:#b8c2ce; font-size:11px; letter-spacing:.08em; }
.line-raw-code { color:var(--gold-light); font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:clamp(24px,5vw,38px); font-weight:700; letter-spacing:.04em; line-height:1.35; overflow-wrap:anywhere; }
.line-code-row .secondary-button { border-color:var(--gold); color:var(--paper); }
.line-actions { display:flex; }
.line-actions .primary-button { width:100%; }
.line-copy-message { min-height:1.8em; margin:12px 0 0; color:var(--gold-ink); font-size:12px; text-align:center; }
.line-note { margin:8px auto 0; color:var(--muted); font-size:11px; text-align:center; }
.share-card { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:28px 30px; }
.share-card h3 { margin-bottom:4px; }
.share-card p { margin:0; }
.secondary-button { flex:0 0 auto; background:transparent; color:var(--navy); }
.secondary-button:hover { background:var(--gold); }
.corvia-bridge { position:relative; overflow:hidden; padding:0; background:linear-gradient(145deg,var(--navy),var(--navy-2)); color:#d8dee7; border-color:var(--gold); text-align:center; }
.bridge-map { position:absolute; inset:0; background:url("assets/prologue-map.webp") center/cover no-repeat; opacity:.2; mix-blend-mode:screen; }
.bridge-map::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 50% 24%,rgba(216,174,88,.14),transparent 32%),linear-gradient(180deg,rgba(8,25,43,.15),rgba(8,25,43,.88)); }
.bridge-content { position:relative; z-index:1; padding:clamp(38px,7vw,68px) clamp(22px,6vw,58px); }
.corvia-bridge h3 { color:var(--paper); font-size:clamp(28px,4.6vw,44px); }
.bridge-lead { max-width:700px; margin:0 auto 30px; color:#d9dfe7; font-size:15px; }
.bridge-value-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; max-width:760px; margin:0 auto 32px; }
.bridge-value-grid article { padding:22px 16px; border:1px solid rgba(216,174,88,.3); background:rgba(8,25,43,.62); text-align:left; }
.bridge-value-grid span,.bridge-value-grid b,.bridge-value-grid small { display:block; }
.bridge-value-grid span { color:var(--gold); font-family:Georgia,serif; font-size:11px; letter-spacing:.18em; }
.bridge-value-grid b { margin-top:7px; color:var(--paper); font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:17px; }
.bridge-value-grid small { margin-top:7px; color:#adb8c6; font-size:11px; line-height:1.7; }
.bridge-guide { display:grid; grid-template-columns:150px 1fr; align-items:center; gap:26px; max-width:700px; margin:0 auto 34px; padding:22px 26px 0; border:1px solid rgba(216,174,88,.34); background:linear-gradient(135deg,#f7f0dd,#e9dcc0); color:var(--ink); text-align:left; }
.bridge-guide img { align-self:end; width:150px; max-height:190px; object-fit:contain; object-position:bottom; filter:drop-shadow(0 10px 15px rgba(8,25,43,.2)); }
.bridge-guide h4 { margin:2px 0 7px; font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:23px; }
.bridge-guide p { margin:0; color:#50483a; font-size:13px; }
.bridge-guide .guide-label { color:#9a6a34; font-family:Georgia,serif; font-size:10px; letter-spacing:.24em; }
.bridge-actions { display:flex; flex-direction:column; align-items:center; gap:14px; }
.corvia-bridge .secondary-button { min-width:min(100%,300px); border-color:rgba(216,174,88,.58); color:var(--gold-light); }
.corvia-bridge .secondary-button:hover { color:var(--navy); }
.bridge-apply-link { color:var(--gold-light); font-size:13px; text-underline-offset:4px; }
.bridge-apply-link:hover,.bridge-apply-link:focus-visible { color:var(--paper); }
.bridge-note { margin:17px 0 0; color:#aeb8c5; font-size:11px; }
.result-actions { text-align:center; }
.restart-button { color:var(--navy); }
.storage-message { min-height:1.8em; margin:0 0 8px; color:var(--gold-ink); font-size:12px; text-align:center; }
.disclaimer { color:var(--muted); font-size:11px; text-align:center; }

.guide-page {
  min-height:100vh;
  padding:120px 16px 80px;
  background:linear-gradient(rgba(235,224,201,.95),rgba(244,236,217,.98)),url("assets/prologue-map.webp") center top/cover fixed;
}
.guide-shell { width:min(860px,100%); margin:0 auto; }
.guide-shell > .eyebrow { margin-bottom:10px; color:var(--gold-ink); text-align:center; }
.guide-shell > .result-code { display:block; width:max-content; margin:0 auto 12px; background:var(--navy); }
.guide-shell > h1 { margin-bottom:8px; color:var(--navy); font-size:clamp(34px,6vw,56px); font-weight:500; text-align:center; }
.guide-catch { max-width:620px; margin:0 auto 14px; color:var(--muted); text-align:center; }
.guide-progress { width:max-content; margin:0 auto 30px; padding:6px 14px; border:1px solid var(--line); border-radius:999px; background:rgba(255,250,240,.8); color:var(--gold-ink); font-size:12px; font-weight:700; }
.guide-days { display:grid; gap:24px; margin-top:30px; }
.guide-day-card { padding:clamp(26px,5vw,44px); border:1px solid rgba(8,25,43,.13); border-radius:12px; background:rgba(255,250,240,.96); box-shadow:var(--shadow); }
.guide-day-heading { display:flex; align-items:baseline; gap:18px; padding-bottom:18px; border-bottom:1px solid rgba(8,25,43,.12); }
.guide-day-heading h2 { margin:0; color:var(--navy); font-size:clamp(23px,3vw,31px); }
.guide-day-number { flex:0 0 auto; margin:0; color:var(--gold-ink); font-family:Georgia,serif; font-size:12px; letter-spacing:.14em; }
.guide-explanation { margin:24px 0; }
.guide-prompt { margin-top:16px; padding:18px 20px; border-radius:8px; }
.guide-prompt p { margin:0; }
.guide-question { border:1px solid var(--line); background:#fff7e6; }
.guide-action { border:1px solid rgba(8,25,43,.14); background:#f2f5f7; }
.guide-prompt-label { margin:0 0 5px !important; color:var(--gold-ink); font-size:11px; font-weight:700; letter-spacing:.1em; }
.guide-completion { display:flex; align-items:center; width:max-content; margin:20px 0 0 auto; padding:9px 14px; border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--navy); font-size:13px; font-weight:700; cursor:pointer; }
.guide-completion input { width:18px; height:18px; margin:0 4px 0 0; accent-color:var(--orange); }
.guide-step-section { margin-top:28px; padding:22px; border:1px solid var(--gold); border-radius:8px; background:#fff7e6; }
.guide-step-section input { width:100%; min-height:50px; margin-top:8px; padding:11px 13px; border:1px solid rgba(8,25,43,.24); border-radius:6px; background:#fff; color:var(--ink); font:inherit; }
.guide-local-note { margin:8px 0 0; color:var(--muted); font-size:11px; }
.guide-prologue { margin-top:28px; padding:28px; border:1px solid var(--gold); border-radius:8px; background:linear-gradient(145deg,var(--navy),var(--navy-2)); color:#dce3eb; text-align:center; }
.guide-prologue h3 { color:var(--paper); font-size:clamp(22px,3vw,30px); }
.guide-prologue .secondary-button { margin-top:8px; border-color:var(--gold); color:var(--paper); }
.guide-copy-status { min-height:1.8em; margin:10px 0 0; color:var(--gold-light); font-size:12px; }
.invalid-guide { padding:48px 30px; border:1px solid var(--line); border-radius:12px; background:var(--paper-2); box-shadow:var(--shadow); text-align:center; }
.invalid-guide .primary-button { margin-top:12px; }

footer { padding:36px 18px; background:#06121f; color:#aeb8c5; text-align:center; }
footer a { text-decoration:none; }
footer b { color:var(--gold-light); font-family:Georgia,serif; letter-spacing:.2em; }
footer p { margin:5px 0 0; font-size:11px; }

@media (max-width:720px) {
  .site-header { height:64px; }
  .screen { padding-top:64px; }
  .brand small { display:none; }
  .start-veil { background:linear-gradient(180deg,rgba(5,17,30,.72) 0%,rgba(8,25,43,.9) 42%,rgba(8,25,43,.98) 100%); }
  .start-map { opacity:.18; }
  .start-frame { inset:76px 10px 10px; }
  .start-inner { width:min(100% - 36px,620px); padding:72px 0 74px; text-align:center; }
  .start-inner h1 { margin-bottom:24px; font-size:clamp(38px,12vw,58px); line-height:1.5; }
  .start-inner .lead { max-width:34em; margin-bottom:34px; line-height:1.95; }
  .lead,.feature-list,.promise { margin-left:auto; margin-right:auto; }
  .feature-list { grid-template-columns:1fr; }
  .feature-list li { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:12px 15px; }
  .journey-preview { justify-content:center; flex-wrap:wrap; margin-left:auto; margin-right:auto; }
  .journey-preview i { display:none; }
  .journey-preview span { width:100%; justify-content:center; }
  .quiz-shell { margin:18px auto 40px; padding-top:32px; }
  .progress-track { margin-bottom:40px; }
  .quiz-shell h2 { min-height:96px; }
  .answer-option { padding:18px 44px 18px 56px; }
  .split { grid-template-columns:1fr; gap:0; }
  .split article:first-child { padding:0 0 36px; border:0; border-bottom:1px solid rgba(8,25,43,.12); }
  .split article:last-child { padding-top:36px; }
  .axis-summary { grid-template-columns:1fr; }
  .benefit-list { grid-template-columns:1fr; }
  .line-code-row { display:block; text-align:center; }
  .line-code-row .secondary-button { width:100%; margin-top:18px; }
  .line-benefit-card { padding:26px 20px; }
  .share-card { display:block; }
  .share-card .secondary-button { width:100%; margin-top:20px; }
  .bridge-value-grid { grid-template-columns:1fr; }
  .bridge-guide { grid-template-columns:1fr; padding:24px 22px 0; text-align:center; }
  .bridge-guide img { width:160px; margin:0 auto; order:2; }
  .bridge-guide div { order:1; }
  .guide-page { padding:96px 12px 56px; }
  .guide-day-card { padding:26px 18px; }
  .guide-day-heading { display:block; }
  .guide-day-number { margin-bottom:5px; }
  .guide-completion { margin-left:0; }
  .guide-prologue { padding:24px 18px; }
}

@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; }
}

@media print {
  @page { size:A4; margin:12mm; }
  body { background:#fff; print-color-adjust:exact; -webkit-print-color-adjust:exact; }
  .site-header { position:static; }
  .screen { padding-top:0; }
  .guide-page { min-height:auto; padding:12mm 0 0; background:#f4ecd9; }
  .result-body { width:100%; padding:12mm 0; }
  .line-benefit-card,.hypothesis-card,.next-step-card,.reason-card,.share-card,.result-section,.guide-step-section,.guide-prologue { break-inside:avoid; page-break-inside:avoid; }
  .result-hero { min-height:150mm; break-after:avoid; page-break-after:avoid; }
  .guide-days { display:block; margin-top:0; }
  .guide-day-card { min-height:230mm; margin:0; break-before:page; page-break-before:always; break-inside:avoid; page-break-inside:avoid; box-shadow:none; }
  .guide-completion,.guide-step-section input,.feedback-card,.line-actions,.result-actions,footer { display:none !important; }
}
