:root {
  --ivory: #fbf8f3;
  --paper: rgba(255, 253, 249, 0.94);
  --paper-solid: #fffdf9;
  --blush: #f4e4e5;
  --blush-deep: #e7c8ca;
  --gold-dark: #866025;
  --gold: #b99148;
  --gold-mid: #ceb16f;
  --gold-light: #ead9ac;
  --gold-pale: #f5ecd4;
  --brown: #3c2e2a;
  --brown-soft: #6d5a52;
  --wine: #784b52;
  --shadow: 0 18px 55px rgba(91, 65, 46, 0.12);
  --shadow-gold: 0 12px 34px rgba(139, 101, 42, 0.22);
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", serif;
  --sans: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  min-width: 320px;
  overflow-x: clip;
  margin: 0;
  color: var(--brown);
  background:
    linear-gradient(rgba(251, 248, 243, 0.7), rgba(251, 248, 243, 0.9)),
    url("assets/antique-romance-bg.png") center top / cover fixed,
    var(--ivory);
  font-family: var(--serif);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
select {
  font: inherit;
img,
video,
iframe {
  max-width: 100%;
}

.gold-button,
.line-button,
.preview-completion-button {
  touch-action: manipulation;
}

}

button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.page-shell {
  width: min(100% - 32px, 760px);
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 46px 0 76px;
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(185, 145, 72, 0.14);
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: -148px;
  right: -96px;
  box-shadow: 0 0 0 22px rgba(185, 145, 72, 0.035), 0 0 0 52px rgba(185, 145, 72, 0.025);
}

.hero::after {
  bottom: 110px;
  left: -185px;
  box-shadow: 0 0 0 28px rgba(231, 200, 202, 0.09), 0 0 0 58px rgba(185, 145, 72, 0.025);
}

.hero__inner {
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.6;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-inline: 0.4em;
  color: var(--gold-mid);
}

.compass-visual {
  position: relative;
  width: min(67vw, 270px);
  aspect-ratio: 1;
  margin: 2px auto 18px;
  border-radius: 50%;
  filter: drop-shadow(0 13px 24px rgba(135, 96, 39, 0.12));
}

.compass-visual::before,
.compass-visual::after {
  position: absolute;
  z-index: 3;
  color: var(--gold);
  content: "✦";
  font-size: 0.86rem;
  line-height: 1;
  animation: star-glint 4.8s ease-in-out infinite;
}

.compass-visual::before {
  top: 13%;
  right: -4%;
}

.compass-visual::after {
  bottom: 12%;
  left: -2%;
  animation-delay: -2.4s;
}

.compass-visual__halo {
  position: absolute;
  inset: -5%;
  z-index: -1;
  border: 1px solid rgba(185, 145, 72, 0.25);
  border-radius: 50%;
  box-shadow:
    0 0 0 6px rgba(255, 253, 249, 0.72),
    0 0 0 7px rgba(185, 145, 72, 0.1),
    0 0 38px rgba(206, 177, 111, 0.14);
}

.compass-visual__crop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
}

.compass-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  mix-blend-mode: multiply;
  opacity: 0.88;
  animation: compass-turn 60s linear infinite;
}

.compass-visual__needle {
  position: absolute;
  z-index: 4;
  top: 22%;
  left: 50%;
  width: 2px;
  height: 56%;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--gold-dark) 0 48%, var(--blush-deep) 48% 100%);
  box-shadow: 0 0 8px rgba(134, 96, 37, 0.24);
  transform: translateX(-50%) rotate(8deg);
  transform-origin: 50% 50%;
  animation: needle-seek 5.8s ease-in-out infinite;
}

.compass-visual__needle::before {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 5px solid transparent;
  border-bottom: 12px solid var(--gold-dark);
  border-left: 5px solid transparent;
  content: "";
  transform: translateX(-50%);
}

.compass-visual__center {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  border: 3px solid var(--paper-solid);
  border-radius: 50%;
  background: var(--gold-dark);
  box-shadow: 0 0 0 1px var(--gold-mid), 0 3px 12px rgba(81, 53, 24, 0.24);
  transform: translate(-50%, -50%);
}


@keyframes compass-turn {
  from { transform: scale(1.16) rotate(0deg); }
  to { transform: scale(1.16) rotate(360deg); }
}

@keyframes needle-seek {
  0%, 100% { transform: translateX(-50%) rotate(6deg); }
  45% { transform: translateX(-50%) rotate(-5deg); }
  62% { transform: translateX(-50%) rotate(-2deg); }
}

@keyframes star-glint {
  0%, 100% { opacity: 0.28; transform: scale(0.78) rotate(0); }
  50% { opacity: 0.9; transform: scale(1.12) rotate(22deg); }
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--brown);
  font-size: clamp(2rem, 9.2vw, 3.45rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.43;
}

h1 span {
  position: relative;
  color: var(--wine);
  white-space: nowrap;
}

h1 span::after {
  position: absolute;
  right: 5%;
  bottom: -9px;
  left: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-mid) 18% 82%, transparent);
  content: "";
}

.hero__lead {
  max-width: 580px;
  margin: 30px auto 32px;
  color: var(--brown-soft);
  font-size: 0.95rem;
  line-height: 2;
  text-align: left;
}

.luxury-card {
  position: relative;
  border: 1px solid rgba(185, 145, 72, 0.38);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.luxury-card::before {
  position: absolute;
  inset: 6px;
  z-index: 0;
  border: 1px solid rgba(206, 177, 111, 0.18);
  pointer-events: none;
  content: "";
}

.diagnosis-form {
  padding: 34px 24px 28px;
  border-radius: 4px 4px 34px 4px;
  text-align: left;
}

.diagnosis-form > * {
  position: relative;
  z-index: 1;
}

.person-input__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 19px;
}

.person-input__number {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid var(--gold-mid);
  border-radius: 50%;
  color: var(--gold-dark);
  font-family: Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.person-input__heading p {
  margin: 0 0 2px;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.person-input__heading h2 {
  margin: 0;
  font-size: 1.11rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.45;
}
.optional-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35em;
  padding: 2px 7px;
  border: 1px solid rgba(185, 145, 72, 0.38);
  border-radius: 999px;
  color: var(--gold-dark);
  background: var(--gold-pale);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  vertical-align: middle;
}

.partner-note {
  margin: 11px 0 0;
  color: #826f66;
  font-family: var(--sans);
  font-size: 0.69rem;
  line-height: 1.7;
  text-align: left;
}

.date-selects {
  display: grid;
  grid-template-columns: 1.42fr 0.92fr 0.92fr;
  gap: 8px;
}

.you-input-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 144px;
  align-items: end;
  gap: 12px;
}

.date-selects label {
  min-width: 0;
}

.date-selects label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.date-selects select {
  width: 100%;
  min-height: 52px;
  padding: 0 30px 0 11px;
  border: 1px solid rgba(134, 96, 37, 0.26);
  border-radius: 2px;
  color: var(--brown);
  background-color: rgba(255, 255, 255, 0.78);
  font-family: var(--sans);
  font-size: 0.93rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.date-selects select:focus {
  border-color: var(--gold);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(206, 177, 111, 0.18);
}

.gender-select {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.gender-select legend {
  margin: 0 0 6px;
  color: #826f66;
  font-family: var(--sans);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.gender-select__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(134, 96, 37, 0.26);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.78);
}

.gender-select__options label {
  position: relative;
  min-width: 0;
}

.gender-select__options label + label {
  border-left: 1px solid rgba(134, 96, 37, 0.2);
}

.gender-select__options input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.gender-select__options span {
  display: grid;
  min-height: 52px;
  place-items: center;
  color: #826f66;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.gender-select__options input:checked + span {
  color: var(--brown);
  background: var(--gold-pale);
  box-shadow: inset 0 0 0 1px var(--gold-mid);
}

.gender-select__options input:focus-visible + span {
  outline: 3px solid rgba(206, 177, 111, 0.32);
  outline-offset: -3px;
}

.ornament-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0;
  color: var(--gold-mid);
  font-size: 0.68rem;
}

.ornament-divider::before,
.ornament-divider::after {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(185, 145, 72, 0.4));
  content: "";
}

.ornament-divider::after {
  background: linear-gradient(90deg, rgba(185, 145, 72, 0.4), transparent);
}

.form-note,
.privacy-note {
  color: #826f66;
  font-family: var(--sans);
  font-size: 0.71rem;
  line-height: 1.7;
  text-align: center;
}

.form-note {
  margin: 25px 0 10px;
}

.form-error {
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid rgba(142, 62, 72, 0.24);
  background: rgba(251, 233, 235, 0.78);
  color: #7a3741;
  font-family: var(--sans);
  font-size: 0.81rem;
  line-height: 1.6;
  text-align: center;
}

.gold-button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #d8bd78;
  border-radius: 2px;
  color: #fffefa;
  background: linear-gradient(115deg, #8c6429 0%, #b88d42 39%, #d0b168 61%, #98702f 100%);
  box-shadow: var(--shadow-gold), inset 0 1px rgba(255, 255, 255, 0.38);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.gold-button::before {
  position: absolute;
  top: -120%;
  left: -35%;
  width: 22%;
  height: 340%;
  background: rgba(255, 255, 255, 0.3);
  content: "";
  transform: rotate(24deg);
  transition: left 520ms ease;
}

.gold-button:hover::before {
  left: 118%;
}

.gold-button:hover {
  filter: saturate(1.05) brightness(1.04);
  box-shadow: 0 15px 38px rgba(139, 101, 42, 0.29), inset 0 1px rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.gold-button:active {
  transform: translateY(1px);
}

.gold-button:focus-visible {
  outline: 3px solid rgba(120, 75, 82, 0.3);
  outline-offset: 3px;
}

.gold-button__arrow {
  font-size: 1.25rem;
  font-weight: 400;
}

.privacy-note {
  margin: 13px 0 0;
}

.privacy-note span {
  color: var(--gold);
}

.results {
  position: relative;
  padding: 86px 0 84px;
  border-top: 1px solid rgba(185, 145, 72, 0.2);
  background: rgba(255, 253, 249, 0.69);
}

.results--visible .result-card,
.results--visible .mismatch-card {
  animation: result-arrive 620ms ease both;
}

.results--visible .result-card:nth-of-type(2) {
  animation-delay: 100ms;
}

.results--visible .mismatch-card {
  animation-delay: 180ms;
}

@keyframes result-arrive {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 9px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 7vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.07em;
}

.section-heading__line {
  display: block;
  width: 90px;
  height: 1px;
  margin: 17px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.result-grid {
  display: grid;
  gap: 12px;
}
.result-grid--solo {
  max-width: 560px;
  margin-inline: auto;
}

.result-grid__cross {
  position: relative;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin: -7px auto;
  border: 1px solid var(--gold-mid);
  border-radius: 50%;
  color: var(--gold-dark);
  background: var(--paper-solid);
  font-size: 1.05rem;
  box-shadow: 0 5px 18px rgba(91, 65, 46, 0.1);
}

.result-card {
  padding: 38px 25px 30px;
  border-radius: 4px 4px 30px 4px;
  text-align: center;
}

.result-card > * {
  position: relative;
  z-index: 1;
}

.result-card__label {
  margin: 0;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.result-card__emoji {
  margin: 15px 0 2px;
  font-size: 4.45rem;
  line-height: 1.15;
  filter: drop-shadow(0 7px 10px rgba(74, 51, 35, 0.1));
}

.result-card h3 {
  margin: 0;
  color: var(--wine);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.result-card__number {
  margin: 8px 0 21px;
  color: #9a8378;
  font-family: var(--sans);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
}

.result-card__copy {
  padding-top: 22px;
  border-top: 1px solid rgba(185, 145, 72, 0.2);
  color: var(--brown-soft);
  font-size: 0.91rem;
  line-height: 2;
  text-align: left;
}

.result-card__copy p {
  margin: 0 0 0.85em;
}

.result-card__copy p:last-child {
  margin-bottom: 0;
}

.mismatch-card {
  position: relative;
  margin-top: 36px;
  padding: 38px 24px 32px;
  overflow: hidden;
  border: 1px solid rgba(185, 145, 72, 0.48);
  border-radius: 4px 4px 38px 4px;
  background:
    radial-gradient(circle at 50% -20%, rgba(234, 217, 172, 0.35), transparent 45%),
    linear-gradient(145deg, rgba(255, 253, 249, 0.98), rgba(246, 232, 232, 0.91));
  box-shadow: var(--shadow-gold);
  text-align: center;
}

.mismatch-card::before,
.mismatch-card::after {
  position: absolute;
  width: 95px;
  height: 95px;
  border: 1px solid rgba(185, 145, 72, 0.22);
  border-radius: 50%;
  content: "";
}

.mismatch-card::before {
  top: -56px;
  left: -43px;
  box-shadow: 0 0 0 8px rgba(185, 145, 72, 0.04);
}

.mismatch-card::after {
  right: -44px;
  bottom: -58px;
  box-shadow: 0 0 0 8px rgba(185, 145, 72, 0.04);
}

.mismatch-card__icon {
  margin: 0 0 4px;
  font-size: 2rem;
  line-height: 1.2;
}

.mismatch-card .eyebrow {
  margin-bottom: 8px;
}

.mismatch-card h2 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(1.35rem, 5.6vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.mismatch-card__pair {
  display: inline-block;
  margin: 20px 0 5px;
  padding: 7px 12px;
  border-top: 1px solid rgba(185, 145, 72, 0.4);
  border-bottom: 1px solid rgba(185, 145, 72, 0.4);
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.6;
}

.mismatch-card__copy {
  margin-top: 20px;
  color: var(--brown);
  font-size: 0.94rem;
  line-height: 2.08;
  text-align: left;
}

.mismatch-card__copy p {
  margin: 0 0 1em;
}

.mismatch-card__copy p:last-child {
  margin-bottom: 0;
}

.results--visible .solo-gift-offer {
  animation: result-arrive 720ms 220ms ease both;
}

.solo-gift-offer {
  position: relative;
  margin: 66px 0 2px;
  padding: 56px 18px 34px;
  overflow: hidden;
  border: 1px solid rgba(185, 145, 72, 0.52);
  border-radius: 4px 4px 44px 4px;
  background:
    radial-gradient(circle at 0 0, rgba(231, 200, 202, 0.52), transparent 34%),
    radial-gradient(circle at 100% 18%, rgba(234, 217, 172, 0.42), transparent 30%),
    linear-gradient(150deg, rgba(255, 253, 249, 0.98), rgba(248, 237, 237, 0.95));
  box-shadow: var(--shadow-gold);
  text-align: center;
}

.solo-gift-offer::before,
.solo-gift-offer::after {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(185, 145, 72, 0.15);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.solo-gift-offer::before {
  top: -102px;
  left: -87px;
  box-shadow: 0 0 0 16px rgba(185, 145, 72, 0.025);
}

.solo-gift-offer::after {
  right: -105px;
  bottom: -92px;
  box-shadow: 0 0 0 18px rgba(231, 200, 202, 0.05);
}

.solo-gift-offer > * {
  position: relative;
  z-index: 1;
}

.solo-gift-offer__ornament {
  position: absolute;
  top: 15px;
  left: 50%;
  color: var(--gold);
  transform: translateX(-50%);
}

.solo-gift-offer__ribbon {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin: 0 0 15px;
  padding: 5px 15px;
  border: 1px solid rgba(185, 145, 72, 0.42);
  border-radius: 999px;
  color: var(--gold-dark);
  background: rgba(255, 253, 249, 0.82);
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.solo-gift-offer__intro .eyebrow {
  margin-bottom: 8px;
}

.solo-gift-offer__intro h2 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(1.65rem, 7vw, 2.55rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.55;
}

.solo-gift-offer__lead {
  margin: 24px auto 0;
  color: var(--brown);
  font-size: clamp(0.98rem, 3.7vw, 1.14rem);
  line-height: 2.05;
}

.solo-gift-offer__lead span {
  color: var(--wine);
  font-weight: 700;
  background: linear-gradient(transparent 66%, rgba(231, 200, 202, 0.68) 66%);
}

.solo-gift-offer__lead strong {
  color: var(--gold-dark);
  font-weight: 600;
}

.solo-gift-cards {
  display: grid;
  gap: 24px;
  margin-top: 38px;
}

.solo-gift-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 24px 18px 20px;
  overflow: hidden;
  border: 1px solid rgba(185, 145, 72, 0.31);
  border-radius: 4px 4px 30px 4px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 14px 34px rgba(91, 65, 46, 0.1);
}

.solo-gift-card::after {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(206, 177, 111, 0.16);
  border-radius: 2px 2px 24px 2px;
  content: "";
  pointer-events: none;
}

.solo-gift-card > * {
  position: relative;
  z-index: 1;
}

.solo-gift-card__badge {
  align-self: center;
  margin: 0;
  padding: 4px 13px;
  border-radius: 999px;
  color: #fffdf9;
  background: var(--wine);
  font-family: var(--sans);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.solo-gift-card--guide .solo-gift-card__badge {
  color: var(--brown);
  background: var(--gold-pale);
  box-shadow: inset 0 0 0 1px rgba(185, 145, 72, 0.38);
}

.solo-gift-card__visual {
  display: grid;
  height: 238px;
  place-items: center;
  margin: 4px 0 -2px;
}

.solo-gift-card__visual img {
  display: block;
  width: min(100%, 270px);
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 15px rgba(92, 55, 43, 0.13));
}

.course-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 20px 0 16px;
}

.course-preview__main {
  position: relative;
  grid-row: 2;
  grid-column: 1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 3px solid rgba(255, 253, 249, 0.96);
  outline: 1px solid rgba(185, 145, 72, 0.34);
  background: #372824;
  box-shadow: 0 6px 13px rgba(81, 54, 41, 0.14);
}

.course-preview__main::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 44%, rgba(60, 46, 42, 0.1));
  content: "";
  pointer-events: none;
}

.course-preview__main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-preview__duration {
  position: absolute;
  z-index: 2;
  top: 5px;
  right: 5px;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 3px 5px;
  border: 1px solid rgba(234, 217, 172, 0.85);
  color: #fffdf9;
  background: rgba(76, 45, 49, 0.92);
  box-shadow: 0 6px 14px rgba(60, 46, 42, 0.24);
  font-family: var(--sans);
  font-size: 0.43rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.course-preview__duration strong {
  color: #f7df9f;
  font-size: 0.62rem;
}

.course-preview__play {
  position: absolute;
  z-index: 2;
  top: 48%;
  left: 22%;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 253, 249, 0.82);
  border-radius: 50%;
  background: rgba(120, 75, 82, 0.9);
  box-shadow: 0 8px 20px rgba(43, 26, 25, 0.28);
  transform: translate(-50%, -50%);
}

.course-preview__play::after {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fffdf9;
  content: "";
}

.course-preview__slides-label {
  display: flex;
  grid-row: 1;
  grid-column: 1 / -1;
  align-items: center;
  gap: 8px;
  margin: 0 0 2px;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.course-preview__slides-label::before,
.course-preview__slides-label::after {
  height: 1px;
  flex: 1;
  background: rgba(185, 145, 72, 0.33);
  content: "";
}

.course-preview__slides {
  display: contents;
}

.course-preview__slide {
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 3px solid rgba(255, 253, 249, 0.96);
  outline: 1px solid rgba(185, 145, 72, 0.34);
  background: var(--gold-pale);
  box-shadow: 0 6px 13px rgba(81, 54, 41, 0.14);
}

.course-preview__slide:first-child {
  transform: none;
}

.course-preview__slide:last-child {
  transform: none;
}

.course-preview__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-preview__proof {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 15px 10px 13px;
  border-top: 1px solid rgba(185, 145, 72, 0.32);
  border-bottom: 1px solid rgba(185, 145, 72, 0.32);
  background: linear-gradient(90deg, rgba(245, 236, 212, 0.4), rgba(244, 228, 229, 0.58), rgba(245, 236, 212, 0.4));
  font-family: var(--sans);
  text-align: center;
}

.course-preview__proof-kicker,
.course-preview__proof-headline,
.course-preview__proof-note {
  display: block;
}

.course-preview__proof-kicker {
  color: var(--brown-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.course-preview__proof-kicker strong {
  margin-right: 3px;
  color: var(--gold-dark);
  font-family: Georgia, var(--serif);
  font-size: 0.92rem;
}

.course-preview__proof-headline {
  margin-top: 5px;
  color: var(--brown);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  line-height: 1.62;
}

.course-preview__proof-headline span {
  margin: 0 2px;
  color: var(--wine);
  font-size: 1.16rem;
}

.course-preview__proof-headline em {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-style: normal;
}

.course-preview__proof-note {
  margin-top: 6px;
  color: #806d64;
  font-size: 0.58rem;
  line-height: 1.55;
}

.guidebook-preview {
  margin: 20px 0 16px;
}

.guidebook-preview__showcase {
  display: grid;
  grid-template-columns: minmax(106px, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 11px;
  padding: 22px 11px 15px;
  border: 1px solid rgba(185, 145, 72, 0.35);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.96), transparent 36%),
    linear-gradient(145deg, rgba(245, 236, 212, 0.86), rgba(244, 228, 229, 0.72));
  box-shadow: inset 0 0 0 5px rgba(255, 253, 249, 0.65);
}

.guidebook-preview__cover {
  position: relative;
  width: min(100%, 150px);
  justify-self: center;
  padding: 5px;
  border: 1px solid rgba(185, 145, 72, 0.42);
  background: #fffdf9;
  box-shadow: 0 13px 23px rgba(67, 41, 30, 0.22);
  transform: rotate(-1.3deg);
}

.guidebook-preview__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.guidebook-preview__cover-label {
  position: absolute;
  z-index: 2;
  top: -13px;
  left: 50%;
  width: max-content;
  padding: 3px 9px;
  border: 1px solid rgba(185, 145, 72, 0.38);
  border-radius: 999px;
  color: var(--brown);
  background: #fffaf0;
  box-shadow: 0 5px 12px rgba(91, 65, 46, 0.12);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.5;
  transform: translateX(-50%);
  white-space: nowrap;
}

.guidebook-preview__inside {
  position: relative;
  min-width: 0;
}

.guidebook-preview__inside-label {
  margin: 0 0 7px;
  color: var(--wine);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.guidebook-preview__pages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  transform: rotate(1deg);
}

.guidebook-preview__page {
  position: relative;
  min-width: 0;
  aspect-ratio: 640 / 905;
  overflow: hidden;
  border: 2px solid rgba(255, 253, 249, 0.92);
  background: #f4eee6;
  box-shadow: 0 6px 12px rgba(81, 54, 41, 0.16);
}

.guidebook-preview__page:nth-child(2),
.guidebook-preview__page:nth-child(5) {
  transform: translateY(-3px);
}

.guidebook-preview__page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.guidebook-preview__page::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(120, 75, 82, 0.08));
  content: "";
}

.guidebook-preview__lock {
  position: absolute;
  top: 54%;
  left: 50%;
  display: flex;
  width: min(94%, 170px);
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 7px;
  border: 1px solid rgba(234, 217, 172, 0.82);
  color: #fffdf9;
  background: rgba(76, 45, 49, 0.92);
  box-shadow: 0 8px 16px rgba(60, 46, 42, 0.24);
  font-family: var(--sans);
  line-height: 1.45;
  transform: translate(-50%, -50%) rotate(-1deg);
}

.guidebook-preview__lock span {
  font-size: 0.82rem;
}

.guidebook-preview__lock strong {
  font-size: 0.56rem;
  letter-spacing: 0.04em;
}

.guidebook-preview__caption {
  margin-top: 13px;
  color: var(--brown-soft);
  font-family: var(--sans);
  font-size: 0.7rem;
  line-height: 1.7;
  text-align: center;
}

.guidebook-preview__caption strong,
.guidebook-preview__caption span {
  display: block;
}

.guidebook-preview__caption strong {
  margin-bottom: 3px;
  color: var(--wine);
  font-size: 0.8rem;
  letter-spacing: 0.07em;
}

.solo-gift-card__step {
  margin: 0;
  color: var(--gold-dark);
  font-family: Georgia, serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.solo-gift-card h3 {
  margin: 7px 0 0;
  color: var(--wine);
  font-size: clamp(1.35rem, 5vw, 1.72rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.52;
}

.solo-gift-card__hook {
  margin: 18px 0 0;
  padding: 14px 10px;
  border-top: 1px solid rgba(185, 145, 72, 0.24);
  border-bottom: 1px solid rgba(185, 145, 72, 0.24);
  color: var(--brown);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.8;
}

.solo-gift-card__benefits {
  display: grid;
  gap: 9px;
  margin: 19px 0 0;
  padding: 0;
  color: var(--brown-soft);
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.65;
  list-style: none;
  text-align: left;
}

.solo-gift-card__benefits li {
  position: relative;
  padding-left: 25px;
}

.solo-gift-card__benefits li::before {
  position: absolute;
  top: 0.05em;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(185, 145, 72, 0.48);
  border-radius: 50%;
  color: var(--gold-dark);
  content: "✓";
  font-size: 0.65rem;
}

.solo-gift-card__delivery {
  margin: auto 0 0;
  padding: 18px 4px 0;
  color: var(--wine);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.65;
}

.customer-voices {
  position: relative;
  margin-top: 42px;
  padding: 36px 16px 27px;
  overflow: hidden;
  border: 1px solid rgba(185, 145, 72, 0.34);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.9), transparent 27%),
    linear-gradient(155deg, rgba(250, 246, 235, 0.96), rgba(244, 239, 224, 0.88));
  box-shadow: 0 14px 34px rgba(91, 65, 46, 0.08);
}

.customer-voices::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 84px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  transform: translateX(-50%);
}

.customer-voices > * {
  position: relative;
  z-index: 1;
}

.customer-voices .eyebrow {
  margin-bottom: 3px;
}

.customer-voices h3 {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 3px 7px;
  border-bottom: 1px solid var(--gold-dark);
  color: var(--wine);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.55;
}

.customer-voices__intro {
  margin: 15px auto 0;
  color: var(--brown-soft);
  font-family: var(--sans);
  font-size: 0.72rem;
  line-height: 1.75;
  text-align: center;
}

.customer-voices__list {
  display: grid;
  max-width: 650px;
  gap: 25px;
  margin: 30px auto 0;
}

.customer-voice {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
}

.customer-voice:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) 52px;
}

.customer-voice:nth-child(even) .customer-voice__icon {
  grid-row: 1;
  grid-column: 2;
}

.customer-voice:nth-child(even) .customer-voice__content {
  grid-row: 1;
  grid-column: 1;
}

.customer-voice__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(185, 145, 72, 0.42);
  border-radius: 50%;
  color: var(--wine);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 7px 16px rgba(91, 65, 46, 0.1);
  font-family: Georgia, serif;
  font-size: 2.15rem;
  line-height: 1;
}

.customer-voice__content {
  min-width: 0;
  padding: 15px 15px 14px;
  border: 1px solid rgba(185, 145, 72, 0.22);
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 8px 20px rgba(91, 65, 46, 0.07);
  text-align: left;
}

.customer-voice__meta {
  margin: 0 0 4px;
  color: #8b766c;
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.customer-voice h4 {
  display: inline;
  margin: 0;
  color: var(--gold-dark);
  background: linear-gradient(transparent 72%, rgba(206, 177, 111, 0.38) 72%);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.75;
}

.customer-voice__content > p:last-child {
  margin: 8px 0 0;
  color: var(--brown);
  font-size: 0.76rem;
  line-height: 1.82;
}

.mirai-profile {
  position: relative;
  margin-top: 38px;
  padding: 38px 18px 31px;
  overflow: hidden;
  border: 1px solid rgba(185, 145, 72, 0.36);
  background:
    radial-gradient(circle at 88% 10%, rgba(244, 228, 229, 0.78), transparent 29%),
    linear-gradient(145deg, rgba(255, 253, 249, 0.96), rgba(248, 241, 224, 0.92));
  box-shadow: 0 14px 34px rgba(91, 65, 46, 0.09);
}

.mirai-profile::before,
.mirai-profile::after {
  position: absolute;
  width: 70px;
  height: 70px;
  border-color: rgba(185, 145, 72, 0.3);
  content: "";
}

.mirai-profile::before {
  top: 9px;
  left: 9px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.mirai-profile::after {
  right: 9px;
  bottom: 9px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.mirai-profile > * {
  position: relative;
  z-index: 1;
}

.mirai-profile .eyebrow {
  margin-bottom: 3px;
}

.mirai-profile h3 {
  margin: 0;
  color: var(--wine);
  font-size: 1.48rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-align: center;
}

.mirai-profile__subtitle {
  width: max-content;
  max-width: 100%;
  margin: 5px auto 0;
  padding: 0 4px 7px;
  border-bottom: 1px solid rgba(185, 145, 72, 0.64);
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.65;
  text-align: center;
}

.mirai-profile__hero {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.mirai-profile__portrait {
  margin: 0;
  text-align: center;
}

.mirai-profile__portrait-frame {
  width: min(74%, 238px);
  aspect-ratio: 1;
  margin-inline: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(185, 145, 72, 0.6);
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 14px 28px rgba(91, 65, 46, 0.16),
    0 0 0 7px rgba(245, 236, 212, 0.5);
}

.mirai-profile__portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.16);
  transform-origin: center;
  object-position: center;
}

.mirai-profile__portrait figcaption {
  margin-top: 12px;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.6;
}

.mirai-profile__body {
  max-width: 620px;
  margin-inline: auto;
  color: var(--brown-soft);
  font-size: 0.78rem;
  line-height: 1.92;
  text-align: left;
}

.mirai-profile__body p {
  margin: 14px 0 0;
}

.mirai-profile__body p:first-child {
  margin-top: 0;
}

.mirai-profile__body strong {
  color: var(--wine);
}

.mirai-profile__catch {
  padding: 12px 13px;
  border-top: 1px solid rgba(185, 145, 72, 0.3);
  border-bottom: 1px solid rgba(185, 145, 72, 0.3);
  color: var(--brown);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.78;
  text-align: center;
}

.mirai-profile__catch strong {
  color: var(--gold-dark);
  font-size: 1.02rem;
}

.mirai-profile__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 29px 0 0;
  border-top: 1px solid rgba(185, 145, 72, 0.32);
  border-bottom: 1px solid rgba(185, 145, 72, 0.32);
  background: rgba(255, 253, 249, 0.62);
}

.mirai-profile__stats div {
  min-width: 0;
  padding: 13px 5px 12px;
  text-align: center;
}

.mirai-profile__stats div:not(:last-child) {
  border-right: 1px solid rgba(185, 145, 72, 0.24);
}

.mirai-profile__stats dt {
  color: #89746a;
  font-family: var(--sans);
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.mirai-profile__stats dd {
  margin: 5px 0 0;
  color: var(--wine);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.25;
}

.mirai-profile__stats dd strong {
  margin-right: 2px;
  color: var(--gold-dark);
  font-family: Georgia, var(--serif);
  font-size: 1.32rem;
  font-weight: 500;
}

.mirai-profile__method {
  margin-top: 27px;
  padding: 22px 15px 17px;
  border-left: 3px solid rgba(185, 145, 72, 0.62);
  background: rgba(244, 228, 229, 0.42);
  text-align: center;
}

.mirai-profile__method-lead {
  margin: 0;
  color: var(--brown);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.82;
}

.mirai-profile__method-lead strong {
  color: var(--wine);
  background: linear-gradient(transparent 70%, rgba(231, 200, 202, 0.68) 70%);
}

.mirai-profile__method > p:nth-child(2) {
  margin: 10px 0 0;
  color: var(--brown-soft);
  font-family: var(--sans);
  font-size: 0.66rem;
  line-height: 1.75;
}

.mirai-profile__journey {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mirai-profile__journey li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(185, 145, 72, 0.24);
  background: rgba(255, 253, 249, 0.76);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 0.65rem;
  line-height: 1.55;
  text-align: left;
}

.mirai-profile__journey li > span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  color: #fffdf9;
  background: var(--wine);
  font-family: Georgia, serif;
  font-size: 0.68rem;
}

.mirai-profile__voices {
  margin: 28px 0 0;
  padding: 19px 12px 17px;
  border-top: 1px solid rgba(185, 145, 72, 0.35);
  border-bottom: 1px solid rgba(185, 145, 72, 0.35);
  text-align: center;
}

.mirai-profile__voices p {
  margin: 0;
  color: var(--wine);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.75;
}

.mirai-profile__voices cite {
  display: block;
  margin-top: 7px;
  color: var(--brown-soft);
  font-family: var(--sans);
  font-size: 0.63rem;
  font-style: normal;
  line-height: 1.7;
}

.mirai-profile__closing {
  margin: 23px auto 0;
  color: var(--brown);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.95;
  text-align: center;
}

.gift-flow {
  margin-top: 38px;
  padding: 30px 16px 22px;
  border: 1px solid rgba(185, 145, 72, 0.34);
  background: rgba(255, 253, 249, 0.68);
}

.gift-flow .eyebrow {
  margin-bottom: 4px;
}

.gift-flow h3 {
  margin: 0;
  color: var(--wine);
  font-size: 1.26rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.gift-flow__steps {
  display: grid;
  gap: 12px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.gift-flow__steps li {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  padding: 13px;
  border: 1px solid rgba(185, 145, 72, 0.2);
  background: rgba(255, 255, 255, 0.65);
}

.gift-flow__number {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  color: #fffdf9;
  background: linear-gradient(145deg, var(--gold-mid), var(--gold-dark));
  font-family: Georgia, serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.gift-flow__steps strong {
  display: block;
  color: var(--brown);
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.5;
}

.gift-flow__steps p {
  margin: 3px 0 0;
  color: #88736a;
  font-family: var(--sans);
  font-size: 0.68rem;
  line-height: 1.55;
}

.line-button {
  display: grid;
  width: min(100%, 570px);
  min-height: 76px;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 11px;
  margin: 28px auto 0;
  padding: 11px 16px;
  border: 1px solid #45c16d;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(120deg, #14984b, #22b75c 58%, #108943);
  box-shadow: 0 13px 30px rgba(18, 137, 67, 0.25), inset 0 1px rgba(255, 255, 255, 0.24);
  font-family: var(--sans);
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.line-button:hover {
  filter: brightness(1.05) saturate(1.04);
  box-shadow: 0 16px 34px rgba(18, 137, 67, 0.31), inset 0 1px rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.line-button:focus-visible {
  outline: 3px solid rgba(24, 163, 81, 0.25);
  outline-offset: 3px;
}

.line-button__mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #119248;
  background: #fff;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.line-button__copy {
  min-width: 0;
  text-align: left;
}

.line-button__copy small,
.line-button__copy strong {
  display: block;
}

.line-button__copy small {
  margin-bottom: 1px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.line-button__copy strong {
  font-size: clamp(0.87rem, 3.4vw, 1.05rem);
  line-height: 1.45;
}

.line-button__arrow {
  font-size: 1.2rem;
}

.line-button.is-disabled {
  border-color: #a7aaa4;
  background: #8b918a;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.72;
}

.solo-gift-offer__note {
  max-width: 560px;
  margin: 13px auto 0;
  color: #826f66;
  font-family: var(--sans);
  font-size: 0.69rem;
  line-height: 1.7;
}

.next-stage {
  position: relative;
  margin: 66px 0 2px;
  padding: 42px 17px 20px;
  border-top: 1px solid rgba(185, 145, 72, 0.34);
  text-align: center;
}

.next-stage__ornament {
  position: absolute;
  top: -15px;
  left: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--gold);
  background: var(--ivory);
  transform: translateX(-50%);
}

.next-stage h2 {
  margin: 0;
  font-size: clamp(1.35rem, 5.7vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.75;
}

#future-video-section {
  min-height: 1px;
}
#future-video-section {
  margin-top: 48px;
}

.free-course {
  position: relative;
  padding: 38px 0 0;
}

.free-course::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 480px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 145, 72, 0.44), transparent);
  content: "";
  transform: translateX(-50%);
}

.free-course__heading {
  text-align: center;
}

.free-course__heading .eyebrow {
  margin-bottom: 9px;
}

.free-course__presenter {
  margin: 0 0 6px;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.next-stage .free-course__heading h2 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(1.55rem, 6.3vw, 2.35rem);
  letter-spacing: 0.06em;
  line-height: 1.55;
}

.free-course__copy {
  margin: 32px auto 0;
  padding: 27px 22px;
  border: 1px solid rgba(185, 145, 72, 0.25);
  border-radius: 3px 3px 26px 3px;
  background: rgba(255, 253, 249, 0.78);
  box-shadow: 0 12px 35px rgba(91, 65, 46, 0.08);
  color: var(--brown-soft);
  font-size: 0.91rem;
  line-height: 2.05;
  text-align: left;
}

.free-course__copy p {
  margin: 0 0 1.1em;
}

.free-course__copy p:last-child {
  margin-bottom: 0;
}

.video-gift-banner {
  position: relative;
  margin: 34px auto 0;
  padding: 17px 14px 19px;
  overflow: hidden;
  border: 1px solid rgba(216, 189, 120, 0.75);
  background: linear-gradient(120deg, #80602d, #bd954d 45%, #d5b974 66%, #8b672f);
  box-shadow: var(--shadow-gold);
  color: #fffdf7;
  text-align: center;
}

.video-gift-banner::after {
  position: absolute;
  top: -100%;
  left: -25%;
  width: 18%;
  height: 300%;
  background: rgba(255, 255, 255, 0.18);
  content: "";
  transform: rotate(22deg);
  animation: gift-shine 5.8s ease-in-out infinite;
}

.video-gift-banner p,
.video-gift-banner h3 {
  position: relative;
  z-index: 1;
  margin: 0;
}

.video-gift-banner p {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.video-gift-banner h3 {
  margin-top: 3px;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.09em;
}

@keyframes gift-shine {
  0%, 42% { left: -25%; opacity: 0; }
  54% { opacity: 0.75; }
  70%, 100% { left: 118%; opacity: 0; }
}

.video-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(185, 145, 72, 0.52);
  border-top: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(206, 177, 111, 0.16), transparent 42%),
    linear-gradient(145deg, #382d29, #1f1917);
  box-shadow: 0 18px 42px rgba(65, 44, 31, 0.18);
}

.video-shell iframe,
.video-shell video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-shell video {
  object-fit: contain;
  background: #171210;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 13px;
  padding: 20px;
  color: rgba(255, 253, 247, 0.78);
  font-family: var(--sans);
  font-size: 0.73rem;
  line-height: 1.7;
  text-align: center;
}

.video-placeholder p {
  max-width: 300px;
  margin: 0;
}

.video-placeholder__play {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  padding-left: 4px;
  border: 1px solid rgba(234, 217, 172, 0.7);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 7px rgba(234, 217, 172, 0.05);
  font-size: 1.12rem;
}

.preview-completion-button {
  margin: 16px auto 0;
  padding: 9px 13px;
  border: 1px solid rgba(134, 96, 37, 0.28);
  border-radius: 999px;
  color: var(--gold-dark);
  background: rgba(255, 253, 249, 0.88);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.7rem;
  transition: background-color 160ms ease, transform 160ms ease;
}

.preview-completion-button:hover {
  background: #fff;
  transform: translateY(-1px);
}

.post-video-content {
  margin-top: 58px;
}

.post-video-content.is-visible {
  animation: unlock-arrive 700ms ease both;
}

@keyframes unlock-arrive {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.gift-unlocked {
  position: relative;
  padding: 34px 20px 28px;
  overflow: hidden;
  border: 1px solid rgba(185, 145, 72, 0.52);
  border-radius: 4px 4px 34px 4px;
  background:
    radial-gradient(circle at 50% 0, rgba(234, 217, 172, 0.48), transparent 48%),
    linear-gradient(145deg, rgba(255, 253, 249, 0.98), rgba(246, 232, 232, 0.94));
  box-shadow: var(--shadow-gold);
  text-align: center;
}

.gift-unlocked::before,
.gift-unlocked::after {
  position: absolute;
  color: rgba(185, 145, 72, 0.35);
  content: "✦";
  font-size: 1rem;
}

.gift-unlocked::before {
  top: 21px;
  left: 22px;
}

.gift-unlocked::after {
  right: 22px;
  bottom: 24px;
}

.gift-unlocked__icon {
  margin: 0 0 6px;
  font-size: 2.2rem;
  line-height: 1;
}

.gift-unlocked .eyebrow {
  margin-bottom: 8px;
}

.next-stage .gift-unlocked h2 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(1.3rem, 5.5vw, 1.85rem);
  line-height: 1.6;
}

.gift-unlocked > p:not(.eyebrow):not(.gift-unlocked__icon):not(.gift-unlocked__status) {
  margin: 16px 0 0;
  color: var(--brown-soft);
  font-size: 0.92rem;
}

.gift-unlocked__link,
.consultation-card__cta {
  text-decoration: none;
}

.gift-unlocked__link {
  max-width: 420px;
  margin: 22px auto 0;
}

.gift-unlocked__status {
  margin: 12px 0 0;
  color: #88736a;
  font-family: var(--sans);
  font-size: 0.68rem;
  line-height: 1.7;
}

.gold-button[aria-disabled="true"] {
  cursor: not-allowed;
  filter: grayscale(0.2);
  opacity: 0.72;
}

.gold-button[aria-disabled="true"]::before {
  display: none;
}

.personal-bridge {
  margin: 62px auto 0;
  padding: 36px 4px 0;
  border-top: 1px solid rgba(185, 145, 72, 0.3);
  text-align: center;
}

.personal-bridge > span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
}

.next-stage .personal-bridge h2 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(1.4rem, 5.9vw, 2rem);
  line-height: 1.6;
}

.personal-bridge p {
  max-width: 630px;
  margin: 22px auto 0;
  color: var(--brown-soft);
  font-size: 0.91rem;
  line-height: 2.08;
  text-align: left;
}

.consultation-card {
  margin-top: 38px;
  padding: 38px 22px 28px;
  border-radius: 4px 4px 36px 4px;
  text-align: left;
}

.consultation-card > * {
  position: relative;
  z-index: 1;
}

.consultation-card__heading {
  text-align: center;
}

.consultation-card__heading .eyebrow {
  margin-bottom: 8px;
}

.next-stage .consultation-card__heading h2 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(1.65rem, 6.5vw, 2.35rem);
  line-height: 1.5;
}

.consultation-card__heading > p:last-child {
  margin: 10px 0 0;
  color: var(--brown-soft);
  font-size: 0.9rem;
}

.consultation-topics {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.consultation-topics li {
  position: relative;
  padding: 13px 13px 13px 42px;
  border: 1px solid rgba(185, 145, 72, 0.2);
  background: rgba(255, 255, 255, 0.55);
  color: var(--brown);
  font-size: 0.87rem;
  line-height: 1.75;
}

.consultation-topics li::before {
  position: absolute;
  top: 12px;
  left: 14px;
  color: var(--gold-dark);
  content: "✦";
  font-size: 0.72rem;
}

.consultation-bonus {
  margin-top: 22px;
  padding: 17px 14px;
  border-top: 1px solid rgba(185, 145, 72, 0.35);
  border-bottom: 1px solid rgba(185, 145, 72, 0.35);
  color: var(--gold-dark);
  background: linear-gradient(90deg, transparent, rgba(245, 236, 212, 0.64), transparent);
  text-align: center;
}

.consultation-bonus h3 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.consultation-bonus ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
  color: var(--brown-soft);
  font-size: 0.8rem;
  text-align: left;
}

.consultation-card__cta {
  margin-top: 25px;
  text-align: center;
}

.age-notice {
  margin: 13px 0 0;
  color: #88736a;
  font-family: var(--sans);
  font-size: 0.68rem;
  line-height: 1.65;
  text-align: center;
}

footer {
  padding: 24px 16px;
  border-top: 1px solid rgba(185, 145, 72, 0.2);
  color: #9b877d;
  background: rgba(255, 253, 249, 0.75);
  font-family: Georgia, serif;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-align: center;
}

footer p {
  margin: 0;
}

footer span {
  color: var(--gold-mid);
}

@media (max-width: 619px) {
  body {
    background-attachment: scroll;
  }

  .page-shell {
    width: min(100% - 20px, 760px);
  }

  .hero {
    min-height: auto;
    padding: 28px 0 50px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }

  .compass-visual {
    width: min(62vw, 215px);
    margin-bottom: 14px;
  }

  h1 {
    font-size: clamp(1.78rem, 8vw, 2.2rem);
    letter-spacing: 0.035em;
  }

  h1 span {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
  }

  .hero__lead {
    margin: 22px auto 25px;
    font-size: 0.86rem;
    line-height: 1.85;
    text-align: center;
  }

  .diagnosis-form {
    padding: 28px 16px 24px;
  }

  .person-input__heading {
    gap: 10px;
    margin-bottom: 15px;
  }

  .date-selects {
    grid-template-columns: 1.55fr 1fr 1fr;
    gap: 6px;
  }

  .you-input-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .date-selects select {
    min-height: 52px;
    padding-right: 22px;
    padding-left: 8px;
    font-size: 1rem;
  }

  .ornament-divider {
    margin: 22px 0;
  }

  .gold-button {
    min-height: 58px;
    padding-inline: 13px;
    font-size: 0.92rem;
  }

  .results {
    padding: 58px 0 62px;
  }

  .result-card {
    padding: 32px 17px 27px;
  }

  .mismatch-card {
    padding: 34px 17px 29px;
  }

  .solo-gift-offer {
    margin-top: 48px;
    padding: 49px 10px 28px;
  }

  .solo-gift-card {
    padding: 22px 12px 18px;
  }

  .solo-gift-card__visual {
    height: 218px;
  }

  .course-preview {
    gap: 5px;
  }

  .guidebook-preview__showcase {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 29px 12px 17px;
  }

  .guidebook-preview__cover {
    width: min(62%, 170px);
  }

  .guidebook-preview__inside-label {
    text-align: center;
  }

  .customer-voices {
    padding: 34px 12px 24px;
  }

  .customer-voice__content {
    padding: 14px 12px 13px;
  }

  .mirai-profile {
    padding: 34px 12px 28px;
  }

  .mirai-profile__portrait-frame {
    width: min(68vw, 205px);
  }

  .line-button {
    min-height: 72px;
    gap: 9px;
    padding: 10px 12px;
  }

  .next-stage {
    margin-top: 52px;
    padding: 39px 6px 18px;
  }

  .free-course__copy,
  .consultation-card {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (min-width: 620px) {
  .hero {
    padding-top: 58px;
  }

  .hero__lead {
    text-align: center;
  }

  .diagnosis-form {
    padding: 42px 42px 34px;
  }

  .date-selects {
    gap: 12px;
  }

  .result-card {
    padding-inline: 38px;
  }

  .mismatch-card {
    padding: 48px 44px 42px;
  }

  .solo-gift-offer {
    padding: 62px 34px 42px;
  }

  .solo-gift-card {
    padding: 26px 24px 22px;
  }

  .customer-voices {
    padding: 43px 34px 30px;
  }

  .customer-voice {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 18px;
  }

  .customer-voice:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 62px;
  }

  .customer-voice__icon {
    width: 62px;
    height: 62px;
  }


  .mirai-profile {
    padding: 46px 36px 34px;
  }

  .mirai-profile__hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .mirai-profile__portrait-frame {
    width: 210px;
  }

  .mirai-profile__catch {
    text-align: center;
  }

  .mirai-profile__journey {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mirai-profile__journey li {
    min-height: 98px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding-inline: 8px;
    text-align: center;
  }
}

@media (min-width: 820px) {
  .page-shell {
    width: min(100% - 56px, 960px);
  }

  .hero__inner {
    max-width: 720px;
  }

  .result-grid {
    grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
  }
  .result-grid.result-grid--solo {
    grid-template-columns: minmax(0, 620px);
    justify-content: center;
  }

  .result-grid__cross {
    align-self: center;
    margin: 0;
  }

  .result-card {
    height: 100%;
  }

  .solo-gift-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }


  .gift-flow__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gift-flow__steps li {
    min-height: 125px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .gift-flow__steps li:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -18px;
    color: var(--gold);
    content: "→";
    transform: translateY(-50%);
  }
}

@media (max-width: 370px) {
  .page-shell {
    width: min(100% - 16px, 760px);
  }

  .diagnosis-form {
    padding-inline: 12px;
  }

  .date-selects {
    gap: 4px;
  }

  .date-selects select {
    padding-right: 18px;
    padding-left: 6px;
    font-size: 1rem;
  }

  .gold-button {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
