:root {
  color-scheme: light;
  --paper: #f7f3ed;
  --ink: #1d1c1a;
  --muted: #69645e;
  --line: rgba(29, 28, 26, 0.14);
  --card: rgba(255, 255, 255, 0.74);
  --accent: #d74d2f;
  --accent-dark: #a8321d;
  --shadow: 0 28px 70px rgba(58, 42, 28, 0.11);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic",
    system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 87% 8%, rgba(231, 166, 141, 0.22), transparent 30rem),
    radial-gradient(circle at 5% 40%, rgba(143, 192, 181, 0.17), transparent 27rem),
    var(--paper);
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid currentColor;
  border-radius: 10px 10px 10px 3px;
  font-family: Georgia, serif;
  font-style: italic;
}

.quiet-button {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 2px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

main {
  overflow: hidden;
}

.hero {
  width: min(900px, calc(100% - 40px));
  margin: 72px auto 96px;
  text-align: center;
}

.eyebrow,
.step {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(52px, 9vw, 104px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.08em;
}

.lead {
  max-width: 620px;
  margin: 36px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 2;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--muted);
  font-size: 13px;
}

.hero-action {
  width: fit-content;
  margin: 24px auto 0;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-radius: 13px;
  color: #fff;
  background: var(--accent);
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.hero-action:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d78934;
  box-shadow: 0 0 0 5px rgba(215, 137, 52, 0.13);
}

.chooser {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.section-heading {
  max-width: 640px;
}

.section-heading h2,
.promise h2,
.dialog-shell h2 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(32px, 4.8vw, 56px);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.section-heading > p:last-child,
.promise-copy > p:last-child,
.dialog-shell > p {
  color: var(--muted);
  line-height: 1.85;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.choice-card {
  position: relative;
  min-height: 295px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.choice-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 77, 47, 0.38);
  box-shadow: 0 18px 40px rgba(58, 42, 28, 0.09);
}

.choice-card:focus-visible {
  outline: 3px solid rgba(215, 77, 47, 0.2);
  border-color: var(--accent);
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.choice-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 16px;
  font-size: 21px;
}

.peach {
  background: #f5d6c9;
}

.violet {
  background: #ded8ef;
}

.mint {
  background: #d1e7df;
}

.choice-card strong {
  font-size: 21px;
  letter-spacing: -0.03em;
}

.choice-copy {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 24px;
}

.choice-arrow {
  margin-top: 15px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.facts span {
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(29, 28, 26, 0.055);
  color: var(--muted);
  font-size: 11px;
}

.choice-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.next-panel {
  margin-top: 22px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 22px;
  color: #f9f5ef;
  background: #24211e;
}

.next-panel .step {
  color: #dfa58f;
}

.next-panel h3 {
  margin: 0;
  font-size: 21px;
}

.next-panel p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.primary-button {
  flex: 0 0 auto;
  padding: 13px 19px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
  cursor: pointer;
}

.primary-button:hover {
  background: var(--accent-dark);
}

.promise {
  width: min(1060px, calc(100% - 40px));
  margin: 150px auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 110px;
  align-items: start;
}

.memory-list {
  border-top: 1px solid var(--line);
}

.memory-list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.memory-list article > span {
  color: var(--accent);
  font-family: Georgia, serif;
  font-style: italic;
}

.memory-list h3,
.memory-list p {
  margin: 0;
}

.memory-list p {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.7;
}

dialog {
  width: min(620px, calc(100% - 30px));
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.25);
}

dialog::backdrop {
  background: rgba(29, 28, 26, 0.5);
  backdrop-filter: blur(5px);
}

.dialog-shell {
  position: relative;
  padding: 48px;
}

.dialog-shell h2 {
  font-size: 40px;
}

.dialog-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.guide-steps {
  margin: 26px 0;
  padding: 0;
  list-style: none;
  counter-reset: guide;
}

.guide-steps li {
  position: relative;
  padding: 15px 0 15px 48px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
  counter-increment: guide;
}

.guide-steps li::before {
  content: counter(guide);
  position: absolute;
  left: 4px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: #fff;
  background: #24211e;
  font-size: 12px;
  font-weight: 800;
}

.plain-note {
  margin: 0 0 24px;
  padding: 15px 17px;
  border-radius: 14px;
  color: var(--muted);
  background: rgba(215, 77, 47, 0.08);
  line-height: 1.7;
}

.guide-link {
  display: block;
  width: fit-content;
  margin: -5px 0 24px;
  color: var(--accent);
  font-weight: 800;
  text-underline-offset: 4px;
}

.guide-link[hidden] {
  display: none;
}

.details-list {
  margin: 30px 0;
}

.details-list div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.details-list dt {
  font-weight: 800;
}

.details-list dd {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.small {
  font-size: 13px;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 25px 0 45px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer > div {
  display: flex;
  gap: 12px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.site-footer .adult-link {
  color: #7d315f;
  font-weight: 800;
}

@media (max-width: 850px) {
  .chooser {
    padding: 42px 24px;
  }

  .choice-grid,
  .promise {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: 235px;
  }

  .promise {
    gap: 45px;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    margin-top: 42px;
  }

  .chooser {
    width: min(100% - 20px, 1180px);
    border-radius: 25px;
  }

  .next-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .dialog-shell {
    padding: 42px 24px 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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