:root {
  --plum: #6e3b4b;
  --plum-deep: #4d2633;
  --cta: #1e6b52;
  --cta-hover: #15523e;
  --marker: #f3e38e;
  --gold: #b59457;
  --gold-soft: #dfceaa;
  --ivory: #faf8f4;
  --sand: #f2ece3;
  --rose: #f6efef;
  --sage: #edf2ee;
  --surface: #ffffff;
  --ink: #2b2522;
  --ink-sub: #625751;
  --line: #e3dbd2;
  --serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
  --gutter: clamp(18px, 6.1vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  color: var(--ink);
  background: #ebe4da;
  font: 400 1rem / 1.95 var(--sans);
  overflow-wrap: anywhere;
}

h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-feature-settings: "palt";
  color: var(--plum-deep);
  line-height: 1.5;
  text-wrap: pretty;
}
h2 { font-size: clamp(1.5rem, 4.4vw, 2rem); font-weight: 800; }
h3 { font-size: clamp(1.18rem, 3.9vw, 1.44rem); font-weight: 700; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: 0.22em; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 4px; }

.page {
  width: 100%;
  max-width: 750px;
  margin-inline: auto;
  background: var(--surface);
  box-shadow: 0 0 36px rgb(69 50 34 / 8%);
}
.reading { padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 8vw, 84px); }
.section h2 { margin-bottom: 24px; }
.section h2::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-bottom: 17px;
  background: var(--gold);
}
.reading p + p { margin-top: 1.1em; }
.surface { background: var(--surface); }
.ivory { background: var(--ivory); }
.sand { background: var(--sand); }
.rose { background: var(--rose); }
.sage { background: var(--sage); }
.note { color: var(--ink-sub); font-size: 0.8125rem; line-height: 1.8; }

.scroll-progress {
  position: fixed;
  z-index: 6;
  inset: 0 0 auto;
  height: 3px;
  background: var(--gold);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
}

.target {
  position: relative;
  z-index: 1;
  border-top: 3px solid var(--gold-soft);
  padding: 11px 15px;
  color: var(--ivory);
  background: var(--plum-deep);
  text-align: center;
  font-size: clamp(0.75rem, 3.25vw, 0.9rem);
  letter-spacing: 0.025em;
  line-height: 1.55;
}
.keep-together { white-space: nowrap; }
.hero { background: var(--ivory); }
.hero-scene { position: relative; isolation: isolate; overflow: hidden; }
.hero-atmosphere, .sunbeam, .leaf-shadows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-atmosphere { z-index: -3; object-fit: cover; object-position: center 58%; }
.hero-scene::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgb(250 248 244 / 96%), rgb(250 248 244 / 80%) 47%, rgb(250 248 244 / 28%) 86%, var(--ivory));
}
.sunbeam {
  z-index: -1;
  clip-path: polygon(37% 0, 85% 0, 68% 100%, 13% 100%);
  background: linear-gradient(115deg, transparent 28%, rgb(255 255 255 / 46%) 54%, transparent 81%);
  mix-blend-mode: screen;
}
.leaf-shadows { z-index: -1; opacity: 0.17; filter: blur(4.5px); object-fit: cover; }
.hero-inner { padding: clamp(34px, 6vw, 64px) var(--gutter) 10px; }
.hero h1 { font-weight: 700; font-size: clamp(1.03rem, 4.9vw, 1.88rem); line-height: 1.65; }
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 strong {
  margin-top: 0.19em;
  font-size: clamp(1.56rem, 7.25vw, 2.85rem);
  line-height: 1.35;
  font-weight: 800;
  text-wrap: balance;
}
.hero-credit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 38%);
  gap: clamp(8px, 3vw, 24px);
  align-items: end;
  margin-top: 20px;
}
.hero-credit > div:first-child {
  align-self: center;
  border-left: 2px solid var(--gold);
  padding: 4px 8px 4px 12px;
  background: linear-gradient(90deg, rgb(250 248 244 / 88%), rgb(250 248 244 / 68%) 75%, transparent);
}
.hero-name { font: 700 clamp(0.91rem, 4vw, 1.4rem) / 1.55 var(--serif); color: var(--plum-deep); }
.hero-name small { font: 500 0.75rem / 1.3 var(--sans); }
.hero-proof { margin-top: 0.5em; font-size: clamp(0.69rem, 2.7vw, 0.88rem); line-height: 1.55; }
.portrait {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--gold-soft);
  border-radius: 48% 48% 4px 4px / 34% 34% 4px 4px;
  background: var(--ivory);
}
.portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 68%, rgb(242 236 227 / 56%));
  pointer-events: none;
  content: "";
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; mix-blend-mode: multiply; }
.portrait-hero { aspect-ratio: 0.85; width: min(100%, 193px); justify-self: end; }
.hero-offer { padding-block: 14px 20px; }
.hero-offer p { font-size: 0.9rem; line-height: 1.7; }
.hero-offer .offer-label { color: var(--plum); font-weight: 700; }
.hero-offer p + p { margin-top: 0.55em; }

.cta-wrap { background: var(--sand); padding: 24px var(--gutter); }
.cta-panel {
  padding: clamp(12px, 3.3vw, 24px);
  border: 1px solid var(--gold-soft);
  border-radius: 7px;
  background: var(--ivory);
  text-align: center;
  line-height: 1.55;
}
.line-button {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 56px;
  padding: 12px 13px;
  overflow: hidden;
  color: white;
  background: var(--cta);
  border-radius: 6px;
  font-size: clamp(0.875rem, 3.8vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
  text-wrap: balance;
  transition: background-color 160ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.line-button .keep-together { white-space: normal; display: inline-block; }
.line-button > :not(.ripple) { position: relative; }
.line-icon { flex: 0 0 auto; }
.cta-panel .note { margin-top: 10px; }
.legal-link { font-size: 0.8125rem; color: var(--plum-deep); }
.ripple {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background: white;
}

.conditions { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.2em; }
.gifts { border-block: 1px solid var(--gold-soft); margin-bottom: 18px; }
.gift { padding: 20px 0; }
.gift + .gift { border-top: 1px solid var(--line); }
.gift h3 { margin-bottom: 9px; }
.editorial-image {
  width: 100%;
  aspect-ratio: 1376 / 768;
  border-radius: 4px;
  object-fit: cover;
  margin-block: 26px;
}
.report-figure { margin-block: 24px; }
.report-figure img { margin: 0; }
figcaption { padding-top: 7px; font-size: 0.8125rem; color: var(--ink-sub); }
.marker {
  color: inherit;
  background: linear-gradient(var(--marker), var(--marker)) no-repeat left 87% / 100% 0.46em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.marker-ready .marker {
  background-size: 0% 0.46em;
  transition: background-size 800ms var(--ease-out);
}
.marker-ready .marker.is-marked { background-size: 100% 0.46em; }
.diagram { width: min(100%, 450px); margin: 25px auto; }
.diagram svg { display: block; width: 100%; height: auto; font-family: var(--sans); }
.mechanisms-lead { margin-bottom: 12px; }
.timeline {
  --timeline-progress: 1;
  --track-inset: 15px;
  position: relative;
  margin: 0 0 27px;
  padding: 0 16px 0 29px;
  list-style: none;
}
.timeline::before, .timeline::after {
  content: "";
  position: absolute;
  top: var(--track-inset);
  bottom: var(--track-end, 0);
  left: 5px;
  width: 2px;
  border-radius: 2px;
}
.timeline::before { background: var(--line); }
.timeline::after { background: var(--gold); transform: scaleY(var(--timeline-progress)); transform-origin: top; }
.timeline li { position: relative; }
.timeline li + li { margin-top: 22px; }
.timeline li::before, .timeline li::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: var(--track-inset);
  left: -23px;
  border-radius: 50%;
}
.timeline li::before {
  width: 15px;
  height: 15px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--gold);
  background: var(--surface);
}
.timeline li::after {
  width: 7px;
  height: 7px;
  background: var(--plum);
  transform: translate(-50%, -50%) scale(var(--node-progress, 1));
}
.mechanism { transform: translateX(var(--node-shift, 0px)); opacity: var(--node-opacity, 1); }
.mechanism h3 { margin-bottom: 5px; }
.subheading { margin-block: 28px 12px; }
.examples, .future { padding: 0; margin: 22px 0 14px; list-style: none; }
.examples li {
  border-inline-start: 2px solid var(--gold);
  padding: 1px 0 1px 15px;
  font: 600 1.08rem / 1.85 var(--serif);
}
.examples li + li { margin-top: 18px; }
.future li { position: relative; padding: 12px 0 12px 25px; border-bottom: 1px solid var(--line); }
.future li:first-child { border-top: 1px solid var(--line); }
.future li::before {
  position: absolute;
  inset: 1.25em auto auto 2px;
  content: "";
  width: 13px;
  height: 7px;
  border: solid var(--cta);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.takeaway { padding-block: 27px 22px; }
.takeaway h3 { margin-top: 19px; }
.takeaway ol { margin: 6px 0 0; padding-left: 1.5em; }
.takeaway li::marker { color: var(--plum); font-weight: 700; }
.capacity { padding-bottom: 6px; }
.bio-heading { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); margin-bottom: 24px; }
.portrait-bio { flex: 0 0 min(33%, 155px); aspect-ratio: 0.82; }
.bio-heading h3 { font-size: clamp(1.1rem, 4.7vw, 1.62rem); }

.disclosure { border-top: 1px solid var(--gold-soft); }
.disclosure:last-child { border-bottom: 1px solid var(--gold-soft); }
.disclosure summary {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 3px;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
}
.disclosure summary::-webkit-details-marker { display: none; }
.chevron {
  width: 19px;
  height: 19px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  transition: transform 320ms var(--ease-in-out);
}
.chevron::before {
  content: "";
  width: 8px;
  height: 8px;
  border: solid var(--plum);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.disclosure[open] > summary { color: var(--plum); }
.disclosure[open] > summary .chevron { transform: rotate(180deg); transition-duration: 350ms; }
.disclosure.is-closing > summary .chevron { transform: rotate(0); transition-duration: 320ms; }
.disclosure-panel > div { padding: 2px 22px 17px 3px; }
.disclosure.is-animating .disclosure-panel { overflow: hidden; }
.final-offer { padding-bottom: 26px; }

.footer {
  padding: 30px var(--gutter);
  background: var(--plum-deep);
  color: var(--ivory);
  text-align: center;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: center; margin: 9px 0; }
.footer nav, .footer small { font-size: 0.8125rem; }
.footer a:focus-visible { outline-color: var(--gold-soft); }

.sticky-cta { display: none; }
.preview-dialog {
  max-width: min(420px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  overflow: auto;
  padding: 23px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--ink);
  background: var(--ivory);
  box-shadow: 0 12px 40px rgb(43 37 34 / 18%);
}
.preview-dialog::backdrop { background: rgb(43 37 34 / 45%); }
.preview-dialog h2 { margin-bottom: 10px; font-size: 1.35rem; }
.preview-dialog form { margin-top: 16px; text-align: right; }
.plain-button {
  min-height: 44px;
  padding: 5px 18px;
  color: var(--plum-deep);
  border: 1px solid var(--gold-soft);
  border-radius: 5px;
  background: var(--ivory);
  font-weight: 600;
}
.static-notice { padding: 10px var(--gutter); background: var(--ivory); }

.check-page .reading { padding-block: 36px; }
.check-header { border-top: 3px solid var(--gold); background: var(--sand); }
.check-header h1 { margin-bottom: 12px; font-weight: 800; font-size: clamp(1.65rem, 6vw, 2.25rem); }
.check-page label { cursor: pointer; }
.check-page fieldset {
  min-width: 0;
  padding: 0 0 14px;
  margin: 0 0 15px;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.check-page legend { padding: 0; margin-bottom: 7px; font-weight: 600; line-height: 1.65; }
.answers { display: flex; flex-wrap: wrap; gap: 8px; }
.answers label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
}
.answers label:has(:checked) { border-color: var(--cta); background: var(--sage); }
.answers input { accent-color: var(--cta); width: 1.1em; height: 1.1em; margin: 0; }
.check-submit { border: 0; margin-block: 18px 10px; }
.check-screening { margin-bottom: 25px; }
.check-result { border-top: 1px solid var(--gold-soft); padding-top: 26px; scroll-margin-top: 16px; }
.check-result h2, .check-result h3 { margin-bottom: 9px; }
.check-result article { border-inline-start: 2px solid var(--gold); margin: 17px 0; padding-left: 14px; }
.check-return { margin-block: 17px 10px; }
.check-page .note { margin-top: 10px; }

@media (max-width: 767px) {
  .sticky-cta {
    display: block;
    position: fixed;
    z-index: 5;
    inset: auto 0 0;
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--gold-soft);
    background: rgb(250 248 244 / 97%);
    visibility: hidden;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 240ms var(--ease-out), opacity 240ms var(--ease-out), visibility 240ms;
  }
  .sticky-cta.is-visible { visibility: visible; opacity: 1; transform: translateY(0); }
  .sticky-cta .line-button { min-height: 48px; padding-block: 8px; }
}

@media (hover: hover) and (pointer: fine) {
  .line-button:hover { background: var(--cta-hover); }
  .disclosure summary:hover, .legal-link:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 0.22em; }
}
@media (prefers-reduced-motion: reduce) {
  .marker-ready .marker { background-size: 100% 0.46em; transition: none; }
  .timeline { --timeline-progress: 1 !important; }
  .timeline li { --node-progress: 1 !important; --node-shift: 0px !important; --node-opacity: 1 !important; }
  .chevron, .sticky-cta { transition: none !important; }
  .leaf-shadows { display: none; }
}
