
:root {
  --paper: #faf7f2;
  --paper-deep: #f2ece4;
  --white: #fffdf9;
  --ink: #273039;
  --ink-soft: #5d666b;
  --rose: #c95f73;
  --rose-deep: #a94359;
  --rose-pale: #f7e9ec;
  --sage: #7e9688;
  --sage-deep: #536c5e;
  --sage-pale: #edf2ee;
  --line: #d8d3cc;
  --shadow: 0 22px 70px rgba(53, 49, 43, 0.1);
  --type-hero: clamp(42px, 4.2vw, 58px);
  --type-section: clamp(30px, 3.6vw, 45px);
  --type-body: 15.5px;
  --type-body-large: 17px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo",
    sans-serif;
  margin: 0;
  min-width: 320px;
}

body,
button,
input,
select {
  font: inherit;
}

button,
input,
select {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

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

:focus-visible {
  outline: 3px solid rgba(201, 95, 115, 0.38);
  outline-offset: 3px;
}

.skip-link {
  background: var(--ink);
  border-radius: 0 0 8px 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  left: 0;
  padding: 12px 16px;
  position: fixed;
  top: 0;
  transform: translateY(-120%);
  transition: transform 160ms ease;
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.review-strip {
  align-items: center;
  background: var(--ink);
  color: #fff;
  display: flex;
  gap: 14px;
  height: 34px;
  justify-content: center;
  letter-spacing: 0.06em;
}

.review-strip span {
  background: var(--rose);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 4px 9px;
}

.review-strip p {
  font-size: 11px;
  opacity: 0.82;
}

.site-header {
  backdrop-filter: blur(14px);
  background: rgba(250, 247, 242, 0.93);
  border-bottom: 1px solid rgba(216, 211, 204, 0.8);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner,
.hero,
.section,
.footer-inner,
.footer-bottom,
.review-page-header,
.review-page-intro,
.hero-candidate-section,
.couple-candidate-section,
.photo-verdict {
  margin-inline: auto;
  max-width: 1180px;
  width: calc(100% - 64px);
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 34px;
  height: 92px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-copy strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-copy small {
  color: #4b555a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.45;
  margin-top: 5px;
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.site-header nav a,
.header-review-link {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.5;
  min-height: 44px;
  transition: color 180ms ease;
}

.site-header nav a:hover,
.header-review-link:hover {
  color: var(--rose-deep);
}

.site-header nav a[aria-current="page"] {
  color: var(--rose-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.header-review-link {
  border-left: 1px solid var(--line);
  color: var(--rose-deep);
  padding-left: 25px;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 24px;
  justify-content: center;
  letter-spacing: 0.02em;
  min-height: 58px;
  padding: 0 26px;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button-small {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  min-height: 48px;
  padding: 0 23px;
}

.button-primary {
  background: var(--rose-deep);
  box-shadow: 0 10px 28px rgba(169, 67, 89, 0.22);
  color: #fff;
}

.button-primary:hover:not(:disabled) {
  background: #8c3549;
  box-shadow: 0 14px 34px rgba(169, 67, 89, 0.28);
}

.button:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.38;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  min-height: 680px;
  padding-block: 68px 82px;
}

.eyebrow {
  color: var(--sage-deep);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.4;
}

.hero h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: var(--type-hero);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.34;
  margin-top: 22px;
}

.hero h1 span {
  color: var(--rose-deep);
  white-space: nowrap;
}

.hero-eyebrow {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.hero-lead {
  color: #414a4f;
  display: grid;
  font-size: var(--type-body-large);
  gap: 12px;
  line-height: 1.95;
  margin-top: 28px;
  max-width: 560px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
}

.text-link {
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding-bottom: 4px;
}

.quick-facts {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 50px;
  padding-top: 23px;
}

.quick-facts div {
  align-items: center;
  display: flex;
  min-height: 34px;
}

.quick-facts div + div {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.quick-facts strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 21px;
}

.hero-portraits {
  align-items: end;
  display: grid;
  gap: clamp(16px, 2.1vw, 28px);
  grid-template-columns: 0.94fr 1.06fr;
  height: 570px;
  padding: 0 6px 8px;
  position: relative;
}

.hero-portraits::before {
  background: var(--sage-pale);
  border-radius: 50%;
  content: "";
  height: 210px;
  left: 38%;
  opacity: 0.72;
  position: absolute;
  top: 3%;
  width: 210px;
}

.hero-portrait {
  background: #e9e4dc;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px 999px 28px 28px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.hero-portrait::after {
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: inherit;
  content: "";
  inset: 10px;
  pointer-events: none;
  position: absolute;
}

.hero-portrait-man {
  height: 500px;
}

.hero-portrait-woman {
  height: 552px;
}

.hero-portrait img {
  height: 100%;
  max-width: none;
  position: absolute;
  top: 0;
  width: auto;
}

.hero-portrait-man img {
  left: 0;
}

.hero-portrait-woman img {
  right: 0;
}

.section {
  padding-block: 110px;
}

.section-heading h2,
.principles-intro h2,
.analysis-intro h2,
.review-page-intro h1,
.review-section-title h2,
.photo-verdict h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.section-heading h2,
.principles-intro h2,
.analysis-intro h2 {
  font-size: var(--type-section);
  line-height: 1.45;
  margin-top: 17px;
}

.section-heading-split {
  align-items: end;
  display: grid;
  gap: 90px;
  grid-template-columns: 1.1fr 0.9fr;
}

.section-heading-split > p,
.principles-intro > p:last-child,
.analysis-intro > p {
  color: var(--ink-soft);
  font-size: var(--type-body);
  line-height: 1.95;
}

.couple-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: 1.22fr 1fr 1fr;
  grid-template-rows: 245px 245px;
  margin-top: 58px;
}

.couple-photo {
  border-radius: 12px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.couple-photo::after {
  background: linear-gradient(transparent 45%, rgba(21, 25, 28, 0.58));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.couple-photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.6, 0.2, 1);
  width: 100%;
}

.couple-photo:hover img {
  transform: scale(1.025);
}

.couple-main {
  border-radius: 26px 12px 12px 12px;
  grid-row: 1 / 3;
}

.couple-photo figcaption {
  bottom: 16px;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 13px;
  left: 18px;
  letter-spacing: 0.05em;
  position: absolute;
  z-index: 1;
}

.image-note {
  color: #8a8782;
  font-size: 10px;
  margin-top: 14px;
  text-align: right;
}

.principles {
  align-items: start;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.82fr 1.18fr;
}

.principles-intro {
  position: sticky;
  top: 140px;
}

.principles-intro > p:last-child {
  margin-top: 24px;
}

.principle-cards {
  border-top: 1px solid var(--line);
}

.principle-cards article {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 44px 180px 1fr;
  padding-block: 35px;
}

.principle-cards article > span {
  color: var(--rose);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.principle-cards h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  font-weight: 500;
}

.principle-cards p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.analysis-section {
  max-width: none;
  padding-bottom: clamp(88px, 9vw, 132px);
  padding-inline: 32px;
  scroll-margin-top: 112px;
  width: 100%;
}

.analysis-shell {
  background: var(--sage-pale);
  border-radius: 32px;
  display: grid;
  gap: clamp(48px, 7vw, 100px);
  grid-template-columns: minmax(240px, 0.68fr) minmax(520px, 1.32fr);
  margin-inline: auto;
  max-width: 1240px;
  padding: 72px;
}

.analysis-intro {
  align-self: start;
  position: sticky;
  top: 130px;
}

.analysis-intro h2 {
  margin-top: 0;
}

.analysis-intro > p {
  margin-top: 22px;
}

.analysis-note {
  border-left: 3px solid var(--sage);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 35px;
  padding-left: 17px;
}

.analysis-note strong {
  font-size: 12px;
}

.analysis-note span {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.analysis-form {
  min-width: 0;
  scroll-margin-top: 100px;
}

.form-progress {
  background: var(--sage-pale);
  margin-inline: -6px;
  margin-bottom: 28px;
  padding: 12px 6px 16px;
  position: sticky;
  top: 82px;
  z-index: 12;
}

.form-progress > div:first-child {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.form-progress span {
  color: var(--sage-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.form-progress strong {
  font-size: 13px;
}

.progress-track {
  background: rgba(126, 150, 136, 0.2);
  border-radius: 999px;
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
}

.progress-track > span {
  background: var(--rose);
  display: block;
  height: 100%;
  transition: width 300ms ease;
}

.question-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.question-card {
  background: rgba(255, 253, 249, 0.98);
  border: 1px solid rgba(216, 211, 204, 0.78);
  border-radius: 14px;
  margin: 0;
  min-width: 0;
  padding: 25px 27px;
}

.question-card legend {
  align-items: center;
  display: flex;
  float: left;
  font-size: 16px;
  font-weight: 700;
  gap: 11px;
  line-height: 1.7;
  padding: 0;
  width: 100%;
}

.question-card legend + * {
  clear: both;
}

.question-card legend > span {
  color: var(--rose-deep);
  flex: 0 0 auto;
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: italic;
}

.question-card legend small {
  background: var(--rose-pale);
  border-radius: 999px;
  color: var(--rose-deep);
  flex: 0 0 auto;
  font-size: 9px;
  margin-left: auto;
  padding: 4px 8px;
}

.choice-row {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 20px;
}

.choice-pill {
  align-items: center;
  background: #f8f6f2;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
  justify-content: center;
  min-width: 98px;
  padding: 11px 18px;
  transition: 160ms ease;
}

.choice-pill input,
.long-choice input {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.radio-dot {
  background: #fff;
  border: 1px solid #aaa69f;
  border-radius: 50%;
  height: 15px;
  position: relative;
  width: 15px;
}

.choice-pill:hover,
.choice-pill.is-selected {
  background: var(--rose-pale);
  border-color: var(--rose);
}

.choice-pill.is-selected .radio-dot::after {
  background: var(--rose);
  border-radius: 50%;
  content: "";
  inset: 3px;
  position: absolute;
}

.question-card-long {
  padding-bottom: 24px;
}

.long-choice-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 19px;
}

.long-choice {
  align-items: center;
  background: #f8f6f2;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  font-size: 13px;
  gap: 11px;
  grid-template-columns: 28px 1fr 22px;
  line-height: 1.75;
  padding: 13px 15px;
  transition: 160ms ease;
}

.long-choice:hover,
.long-choice.is-selected {
  background: var(--rose-pale);
  border-color: rgba(201, 95, 115, 0.55);
}

.long-choice-letter {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--rose-deep);
  display: flex;
  font-family: Georgia, serif;
  height: 27px;
  justify-content: center;
  width: 27px;
}

.choice-check {
  color: var(--rose-deep);
  opacity: 0;
}

.long-choice.is-selected .choice-check {
  opacity: 1;
}

.form-next,
.form-submit {
  align-self: stretch;
  margin-top: 15px;
  width: 100%;
}

.form-hint {
  color: #4b555a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.age-selects {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto 1fr;
  padding-top: 20px;
}

.age-selects label,
.email-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.age-selects label > span,
.email-field > span {
  color: var(--ink-soft);
  font-size: 10px;
}

.age-selects select,
.email-field input {
  appearance: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
  min-height: 47px;
  padding: 0 14px;
  width: 100%;
}

.age-selects select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 20px,
    calc(100% - 13px) 20px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.age-separator {
  font-family: serif;
  padding-bottom: 13px;
}

.email-field {
  clear: both;
  padding-top: 20px;
}

.consent-panel {
  background: #e3ebe5;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.consent-panel label {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  font-size: 10px;
  gap: 10px;
  line-height: 1.8;
}

.consent-panel input {
  accent-color: var(--rose);
  height: 16px;
  margin-top: 1px;
  width: 16px;
}

.consent-panel strong {
  color: var(--rose-deep);
  margin-left: 5px;
}

.consent-panel em {
  color: var(--ink-soft);
  display: block;
  font-size: 9px;
  font-style: normal;
}

.consent-panel a {
  border-bottom: 1px solid currentColor;
  color: var(--sage-deep);
  font-weight: 800;
}

.consent-disclosure {
  border-top: 1px solid rgba(83, 108, 94, 0.2);
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.8;
  margin-top: 2px;
  padding-top: 12px;
}

.success-panel {
  background: #fff;
  border: 1px solid var(--sage);
  border-radius: 14px;
  padding: 25px;
  text-align: center;
}

.success-panel strong {
  color: var(--sage-deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
}

.success-panel p {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
  margin-top: 8px;
}

.back-button {
  align-self: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  margin-top: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-section {
  display: grid;
  gap: 90px;
  grid-template-columns: 0.65fr 1.35fr;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 26px 5px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  padding-right: 35px;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--rose-deep);
  content: "+";
  font-size: 20px;
  font-weight: 400;
  position: absolute;
  right: 4px;
  top: -5px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.9;
  max-width: 640px;
  padding: 17px 40px 0 0;
}

footer {
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
  grid-template-columns: 1.2fr 0.62fr 1fr;
  padding-block: 72px 58px;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand strong {
  display: block;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1.2;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.5;
  margin-top: 8px;
}

.footer-brand p,
.footer-company p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.85;
  margin-top: 16px;
}

.footer-brand p {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 13px;
  line-height: 1.9;
}

.footer-company > a {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.55;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-company a:hover,
.footer-related-links a:hover,
.footer-legal-links a:hover {
  color: #fff;
}

.footer-company {
  display: flex;
  flex-direction: column;
}

.footer-related-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 25px;
}

.footer-related-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.55;
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.56);
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  letter-spacing: 0.025em;
  line-height: 1.5;
  padding-block: 20px;
  word-spacing: 0.08em;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 16px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.55;
}

.mobile-cta {
  display: none;
}

.faq-page-hero {
  border-bottom: 1px solid var(--line);
  padding-block: 100px 76px;
  text-align: center;
}

.faq-page-hero h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: 0.025em;
  margin-top: 18px;
}

.faq-page-hero > p:last-child {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2;
  margin-top: 20px;
}

.faq-page-content {
  max-width: 880px;
}

.faq-page-action {
  margin-top: 52px;
  text-align: center;
}

/* Photo review */
.photo-review-page {
  min-height: 100vh;
}

.review-page-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-block: 24px;
}

.review-page-intro {
  padding-block: 95px 65px;
  text-align: center;
}

.review-page-intro h1 {
  font-size: clamp(38px, 5vw, 62px);
  margin-top: 18px;
}

.review-page-intro > p:last-child {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2;
  margin: 24px auto 0;
  max-width: 720px;
}

.hero-candidate-section,
.couple-candidate-section {
  padding-block: 65px 100px;
}

.couple-candidate-section {
  border-top: 1px solid var(--line);
}

.review-section-title {
  align-items: end;
  display: flex;
  gap: 45px;
  justify-content: space-between;
  margin-bottom: 38px;
}

.review-section-title > div {
  align-items: center;
  display: flex;
  gap: 15px;
}

.review-section-title > div > span {
  color: var(--rose);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.review-section-title h2 {
  font-size: 28px;
}

.review-section-title > p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
  max-width: 480px;
}

.hero-candidate-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.hero-candidate {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.hero-candidate.recommended {
  border-color: var(--rose);
  box-shadow: 0 16px 46px rgba(169, 67, 89, 0.13);
}

.candidate-image {
  aspect-ratio: 1.5;
  position: relative;
}

.candidate-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.candidate-image > span {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-family: Georgia, serif;
  font-size: 18px;
  height: 42px;
  justify-content: center;
  left: 15px;
  position: absolute;
  top: 15px;
  width: 42px;
}

.hero-candidate.recommended .candidate-image > span {
  background: var(--rose);
}

.candidate-copy {
  padding: 21px;
}

.candidate-copy > div {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.candidate-copy h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 16px;
  font-weight: 500;
}

.candidate-copy em {
  background: var(--rose-pale);
  border-radius: 999px;
  color: var(--rose-deep);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.13em;
  padding: 5px 8px;
}

.candidate-copy p {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.8;
  margin-top: 11px;
}

.photo-review-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.28fr 1fr 1fr;
  grid-template-rows: 250px 250px;
}

.photo-review-grid figure {
  background: var(--ink);
  border-radius: 13px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.photo-review-grid .review-main {
  grid-row: 1 / 3;
}

.photo-review-grid img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.photo-review-grid figcaption {
  align-items: center;
  background: rgba(39, 48, 57, 0.88);
  bottom: 12px;
  color: #fff;
  display: flex;
  font-size: 10px;
  gap: 9px;
  left: 12px;
  padding: 7px 10px;
  position: absolute;
}

.photo-review-grid figcaption span {
  color: #e8bec7;
  font-family: Georgia, serif;
  font-style: italic;
}

.photo-verdict {
  background: var(--sage-pale);
  border-radius: 26px 26px 0 0;
  padding: 70px max(40px, 7vw) 78px;
  text-align: center;
}

.photo-verdict h2 {
  font-size: 36px;
  margin-top: 15px;
}

.photo-verdict > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2;
  margin: 22px auto 30px;
  max-width: 700px;
}

/* HERO photo options */
.hero-option-baseline,
.hero-option-inner {
  margin-inline: auto;
  max-width: 1180px;
  width: calc(100% - 64px);
}

.hero-option-baseline {
  border-top: 1px solid var(--line);
}

.baseline-arches {
  margin-inline: auto;
  max-width: 560px;
}

.hero-option-section {
  background: var(--sage-pale);
}

.hero-option-inner {
  width: calc(100% - 64px);
}

.hero-option-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-option-card {
  align-items: stretch;
  background: var(--white);
  border: 1px solid rgba(126, 150, 136, 0.3);
  border-radius: 24px;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(420px, 1.15fr) minmax(260px, 0.85fr);
  overflow: hidden;
  padding: 26px 34px 26px 26px;
}

.candidate-arch-pair {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: 0.94fr 1.06fr;
  height: 420px;
  padding: 0 4px 4px;
}

.candidate-arch {
  background: #e9e4dc;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px 999px 22px 22px;
  box-shadow: 0 16px 42px rgba(53, 49, 43, 0.11);
  height: 90%;
  overflow: hidden;
  position: relative;
}

.candidate-arch-right {
  height: 100%;
}

.candidate-arch img {
  height: 100%;
  max-width: none;
  position: absolute;
  top: 0;
  width: auto;
}

.candidate-arch-left img {
  left: 0;
}

.candidate-arch-right img {
  right: 0;
}

.hero-option-copy {
  align-self: center;
}

.hero-option-copy > span {
  color: var(--rose-deep);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.hero-option-copy h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.025em;
  margin-top: 13px;
}

.hero-option-copy p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2;
  margin-top: 18px;
}

.hero-option-return {
  margin-top: 54px;
  text-align: center;
}

@media (max-width: 1050px) {
  .site-header .button-small {
    margin-left: 0;
  }

  .header-review-link {
    margin-left: auto;
  }

  .hero {
    gap: 32px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-portraits {
    height: 510px;
  }

  .hero-portrait-man {
    height: 445px;
  }

  .hero-portrait-woman {
    height: 495px;
  }

  .analysis-shell {
    gap: 48px;
    padding: 55px 44px;
  }

  .meaning-inner {
    grid-template-columns: 1fr;
  }

  .hero-option-card {
    gap: 28px;
    grid-template-columns: minmax(360px, 1fr) minmax(240px, 0.8fr);
  }
}

@media (max-width: 820px) {
  .header-inner,
  .hero,
  .section,
  .footer-inner,
  .footer-bottom,
  .review-page-header,
  .review-page-intro,
  .hero-candidate-section,
  .couple-candidate-section,
  .photo-verdict {
    width: calc(100% - 36px);
  }

  .hero-option-baseline,
  .hero-option-inner {
    width: calc(100% - 36px);
  }

  .header-inner {
    gap: 18px;
    height: 76px;
  }

  .site-header .button-small {
    display: none;
  }

  .site-header nav {
    margin-left: auto;
  }

  .header-review-link {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 52px 70px;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-copy {
    max-width: 670px;
  }

  .hero-portraits {
    height: min(70vw, 600px);
    min-height: 430px;
    padding-inline: clamp(16px, 8vw, 72px);
  }

  .hero-portrait-man {
    height: 86%;
  }

  .hero-portrait-woman {
    height: 98%;
  }

  .section {
    padding-block: 80px;
  }

  .section-heading-split,
  .principles,
  .faq-section,
  .analysis-shell {
    gap: 38px;
    grid-template-columns: 1fr;
  }

  .principles-intro,
  .analysis-intro {
    position: static;
  }

  .couple-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px 210px 210px;
  }

  .couple-main {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .principle-cards article {
    grid-template-columns: 40px 170px 1fr;
  }

  .analysis-section {
    padding-inline: 18px;
  }

  .analysis-shell {
    padding: 48px 28px;
  }

  .footer-inner {
    grid-template-columns: 1.2fr 1fr;
  }

  .footer-links {
    grid-column: auto;
  }

  .footer-company {
    grid-column: 1 / 3;
  }

  .review-section-title {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }

  .hero-candidate-grid {
    grid-template-columns: 1fr;
  }

  .hero-candidate {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
  }

  .candidate-image {
    aspect-ratio: auto;
    min-height: 280px;
  }

  .photo-review-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px 210px 210px;
  }

  .photo-review-grid .review-main {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .hero-option-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .candidate-arch-pair {
    height: min(76vw, 520px);
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 70px;
  }

  .review-strip {
    height: 30px;
  }

  .review-strip p {
    font-size: 9px;
  }

  .header-inner {
    gap: 10px;
    width: calc(100% - 28px);
  }

  .site-header nav {
    display: flex;
    flex: 0 0 auto;
    gap: 0;
    margin-left: auto;
  }

  .site-header nav a {
    font-size: 12.5px;
    white-space: nowrap;
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .brand-copy small {
    font-size: 10.5px;
    letter-spacing: 0.025em;
    line-height: 1.35;
    margin-top: 4px;
    max-width: 155px;
    white-space: normal;
  }

  .hero {
    gap: 38px;
    padding-top: 40px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.9;
  }

  .hero-eyebrow {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .text-link {
    align-self: flex-start;
  }

  .quick-facts {
    gap: 7px;
  }

  .quick-facts div + div {
    padding-left: 9px;
  }

  .quick-facts strong {
    font-size: 18px;
  }

  .quick-facts span {
    font-size: 8px;
  }

  .hero-portraits {
    gap: 12px;
    height: min(112vw, 500px);
    min-height: 360px;
    padding: 0 0 4px;
  }

  .hero-portraits::before {
    height: 140px;
    left: 31%;
    width: 140px;
  }

  .hero-portrait {
    border-radius: 999px 999px 18px 18px;
  }

  .hero-portrait-man {
    height: 84%;
  }

  .hero-portrait-woman {
    height: 98%;
  }

  .section {
    padding-block: 66px;
  }

  .section-heading-split {
    gap: 20px;
  }

  .section-heading h2,
  .principles-intro h2,
  .analysis-intro h2 {
    font-size: 29px;
  }

  .couple-grid,
  .photo-review-grid {
    display: flex;
    flex-direction: column;
  }

  .couple-photo,
  .photo-review-grid figure {
    aspect-ratio: 1.46;
  }

  .couple-main,
  .photo-review-grid .review-main {
    aspect-ratio: 1;
  }

  .principle-cards article {
    gap: 10px;
    grid-template-columns: 35px 1fr;
  }

  .principle-cards p {
    grid-column: 2;
  }

  .analysis-section {
    padding-bottom: 72px;
    padding-inline: 0;
  }

  .analysis-shell {
    border-radius: 22px;
    padding: 38px 18px;
  }

  .question-card {
    padding: 20px 16px;
  }

  .question-card legend {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .question-card legend small {
    margin-left: 0;
  }

  .choice-row {
    justify-content: stretch;
  }

  .choice-pill {
    flex: 1;
    min-width: 0;
  }

  .age-selects {
    gap: 8px;
  }

  .footer-inner {
    gap: 35px;
    grid-template-columns: 1fr;
    padding-block: 50px;
  }

  .footer-links {
    grid-column: auto;
  }

  .footer-company {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .mobile-cta {
    align-items: center;
    bottom: 10px;
    display: flex;
    height: 52px;
    left: 14px;
    position: fixed;
    right: 14px;
    width: auto;
    z-index: 50;
  }

  .policy-hero {
    padding-block: 72px 54px;
  }

  .policy-content article {
    padding-block: 28px;
  }

  .policy-action .button {
    width: 100%;
  }

  .form-progress {
    top: 68px;
  }

  .review-page-header .button {
    font-size: 9px;
    padding-inline: 13px;
  }

  .review-page-intro {
    padding-block: 70px 40px;
  }

  .hero-candidate-section,
  .couple-candidate-section {
    padding-block: 45px 70px;
  }

  .hero-candidate {
    display: block;
  }

  .candidate-image {
    aspect-ratio: 1.5;
    min-height: 0;
  }

  .photo-verdict {
    padding: 55px 22px 65px;
  }

  .photo-verdict h2 {
    font-size: 29px;
  }

  .hero-option-card {
    border-radius: 18px;
    padding: 17px;
  }

  .candidate-arch-pair {
    gap: 10px;
    height: min(112vw, 470px);
  }

  .candidate-arch {
    border-radius: 999px 999px 16px 16px;
  }

  .hero-option-copy h3 {
    font-size: 24px;
  }
}

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

/* AIPC minimum-site production pass */
.site-header .button-small {
  margin-left: 0;
}

.analysis-points {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.analysis-points span {
  align-items: center;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid #c9bfb2;
  border-radius: 11px;
  box-shadow: 0 7px 20px rgba(53, 49, 43, 0.06);
  color: var(--ink);
  display: flex;
  font-size: 11px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.03em;
  min-height: 54px;
  padding: 9px 7px;
  text-align: center;
}

.field-error {
  color: var(--rose-deep);
  font-size: 10px;
  margin-top: 10px;
}

.center-action {
  grid-column: 2;
  margin-top: 4px;
}

.button-quiet {
  background: var(--ink);
  color: #fff;
}

.angel-section {
  background: var(--paper-deep);
}

.angel-inner {
  align-items: center;
  display: grid;
  gap: clamp(50px, 8vw, 120px);
  grid-template-columns: 0.9fr 1.1fr;
}

.angel-inner h2,
.subpage-hero h1,
.belief-section h2,
.method-title h2,
.boundary-copy h2,
.relationship-inner h2,
.page-cta h2,
.result-hero h1,
.result-intro h2,
.result-actions h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.angel-inner h2 {
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.5;
  margin-top: 17px;
}

.angel-copy p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2.1;
  margin-bottom: 28px;
}

.footer-notice {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-inline: auto;
  max-width: 1180px;
  padding-block: 22px;
  width: calc(100% - 64px);
}

.footer-notice p,
.footer-notice span {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  font-size: 11px;
  line-height: 1.85;
}

.footer-notice span {
  color: #e9cbd2;
  margin-top: 5px;
}

/* Privacy page */
.policy-hero {
  border-bottom: 1px solid var(--line);
  padding-block: 96px 70px;
}

.policy-hero h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: 0.025em;
  margin-top: 18px;
}

.policy-hero > p:last-child {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2;
  margin-top: 20px;
}

.policy-content {
  max-width: 860px;
}

.policy-content article {
  border-top: 1px solid var(--line);
  padding-block: 34px;
}

.policy-content article:last-of-type {
  border-bottom: 1px solid var(--line);
}

.policy-content h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
}

.policy-content article p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2;
  margin-top: 13px;
}

.policy-link {
  border-bottom: 1px solid var(--ink);
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  margin-top: 16px;
  padding-bottom: 4px;
}

.policy-action {
  margin-top: 48px;
}

/* Technology page */
.subpage-hero {
  align-items: center;
  display: grid;
  gap: clamp(50px, 8vw, 110px);
  grid-template-columns: 1fr 0.9fr;
  min-height: 670px;
}

.subpage-hero h1 {
  font-size: var(--type-hero);
  line-height: 1.34;
  margin-top: 22px;
}

.subpage-hero h1 span,
.result-hero h1 span {
  color: var(--rose-deep);
}

.subpage-hero-copy > p:last-child {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2.15;
  margin-top: 30px;
  max-width: 620px;
}

.about-hero {
  min-height: 720px;
  position: relative;
}

@media (min-width: 821px) {
  .hero-copy,
  .about-hero .subpage-hero-copy {
    align-self: start;
    margin-top: 34px;
  }

  .about-hero {
    padding-top: 68px;
  }

  .about-hero .subpage-hero-image {
    margin-top: 42px;
  }
}

.about-kicker {
  color: var(--sage-deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.about-hero-lead {
  color: var(--ink-soft);
  display: grid;
  font-size: var(--type-body-large);
  gap: 12px;
  line-height: 1.95;
  margin-top: 28px;
  max-width: 640px;
}

.about-hero-actions {
  margin-top: 30px;
}

.about-facts {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 38px 0 0;
  padding-top: 19px;
}

.about-facts div {
  padding-inline: 18px;
}

.about-facts div:first-child {
  padding-left: 0;
}

.about-facts div + div {
  border-left: 1px solid var(--line);
}

.about-facts dt {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-facts dd {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  margin: 7px 0 0;
}

.subpage-hero-image {
  background: #e6e2da;
  border: 1px solid rgba(126, 150, 136, 0.28);
  border-radius: 190px 28px 28px 28px;
  box-shadow: 0 30px 80px rgba(53, 49, 43, 0.13);
  height: 520px;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.subpage-hero-image::after {
  background:
    linear-gradient(180deg, transparent 66%, rgba(39, 48, 57, 0.12)),
    linear-gradient(110deg, rgba(255, 253, 249, 0.08), transparent 45%);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: inherit;
  content: "";
  inset: 10px;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.subpage-hero-image img {
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  width: 100%;
}

.belief-section {
  border-top: 1px solid var(--line);
}

.understanding-section {
  border-top: 1px solid var(--line);
}

.understanding-grid {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
}

.understanding-grid article {
  min-height: 270px;
  padding: 38px 36px 42px;
  position: relative;
}

.understanding-grid article + article {
  border-left: 1px solid var(--line);
}

.understanding-grid article > span {
  color: rgba(169, 67, 89, 0.3);
  font-family: Georgia, serif;
  font-size: 38px;
  font-style: italic;
  line-height: 1;
}

.understanding-grid h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 27px;
}

.understanding-grid p {
  color: var(--ink-soft);
  font-size: var(--type-body);
  line-height: 1.95;
  margin-top: 15px;
}

.meaning-section {
  background: var(--sage-pale);
}

.meaning-inner {
  align-items: start;
  display: grid;
  gap: clamp(44px, 5vw, 72px);
  grid-template-columns: minmax(330px, 0.7fr) minmax(0, 1.3fr);
}

.meaning-copy h2,
.use-intro h2,
.process-title h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: var(--type-section);
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.5;
  margin-top: 17px;
}

.meaning-copy > p:not(.eyebrow),
.use-intro > p:last-child,
.process-title > p:last-child {
  color: var(--ink-soft);
  font-size: var(--type-body);
  line-height: 1.95;
}

.meaning-copy > p:not(.eyebrow) {
  margin-top: 22px;
}

.meaning-example {
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 95, 115, 0.09), transparent 34%),
    rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(83, 108, 94, 0.24);
  border-radius: 24px;
  box-shadow: 0 20px 54px rgba(53, 73, 61, 0.09);
  overflow: hidden;
  padding: 30px;
  position: relative;
}

.meaning-example::before {
  background: linear-gradient(90deg, var(--rose), var(--sage));
  content: "";
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
}

.meaning-label {
  background: #f3ede4;
  border: 1px solid rgba(130, 101, 69, 0.2);
  border-radius: 999px;
  color: #71583f;
  display: table;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.035em;
  margin-inline: auto;
  padding: 8px 15px;
}

.meaning-actions {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.meaning-actions article {
  background: rgba(255, 253, 249, 0.74);
  border: 1px solid rgba(216, 211, 204, 0.82);
  border-radius: 15px;
  min-height: 138px;
  padding: 22px 16px 24px;
  position: relative;
  text-align: center;
}

.meaning-actions article:first-of-type {
  border-top: 3px solid rgba(201, 95, 115, 0.66);
}

.meaning-actions article:last-of-type {
  border-top: 3px solid rgba(126, 150, 136, 0.8);
}

.meaning-actions article > span {
  align-items: center;
  background: var(--rose-pale);
  border-radius: 999px;
  color: var(--rose-deep);
  display: inline-flex;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  min-height: 29px;
  margin-inline: auto;
  padding: 5px 11px;
  width: max-content;
}

.meaning-actions article:last-of-type > span {
  background: var(--sage-pale);
  color: var(--sage-deep);
}

.meaning-actions strong {
  display: block;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.7;
  margin-top: 20px;
  white-space: nowrap;
}

.meaning-flow {
  height: 62px;
  margin-inline: 13%;
  position: relative;
}

.meaning-flow::before {
  border-bottom: 1.5px solid rgba(97, 122, 107, 0.58);
  border-left: 1.5px solid rgba(201, 95, 115, 0.5);
  border-radius: 0 0 15px 15px;
  border-right: 1.5px solid rgba(97, 122, 107, 0.58);
  content: "";
  height: 31px;
  inset: 0 0 auto;
  position: absolute;
}

.meaning-flow::after {
  background: rgba(97, 122, 107, 0.58);
  content: "";
  height: 29px;
  left: 50%;
  position: absolute;
  top: 31px;
  transform: translateX(-50%);
  width: 1.5px;
}

.meaning-flow span {
  border-bottom: 1.5px solid rgba(97, 122, 107, 0.72);
  border-right: 1.5px solid rgba(97, 122, 107, 0.72);
  bottom: 1px;
  height: 8px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  z-index: 1;
}

.meaning-conclusion {
  background:
    linear-gradient(105deg, rgba(250, 237, 240, 0.8), rgba(237, 242, 238, 0.96));
  border: 1px solid rgba(102, 127, 111, 0.22);
  border-radius: 16px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.9;
  padding: 21px 23px 22px;
  position: relative;
}

.meaning-conclusion::before {
  background: linear-gradient(180deg, var(--rose), var(--sage));
  border-radius: 3px;
  content: "";
  inset: 18px auto 18px 0;
  position: absolute;
  width: 3px;
}

.meaning-conclusion p + p {
  border-top: 1px solid rgba(102, 127, 111, 0.15);
  margin-top: 14px;
  padding-top: 13px;
}

.meaning-conclusion-lead {
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 16.5px;
  line-height: 1.85;
}

.meaning-conclusion-lead strong {
  color: var(--sage-deep);
  font-weight: 700;
}

.use-section {
  display: block;
}

.use-intro {
  max-width: 800px;
}

.use-intro > p:last-child {
  margin-top: 23px;
  max-width: 740px;
}

.use-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.use-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 225px;
  padding: 30px 28px;
}

.use-grid article > span {
  color: var(--rose-deep);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.use-grid h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.65;
  margin-top: 24px;
}

.use-grid p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
  margin-top: 12px;
}

.process-section {
  background: var(--paper-deep);
}

.process-inner {
  display: grid;
  gap: 45px 80px;
  grid-template-columns: 0.75fr 1.25fr;
}

.process-title > p:last-child {
  margin-top: 23px;
}

.process-list {
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 48px 1fr;
  padding-block: 31px;
}

.process-list li > span {
  color: var(--rose-deep);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.process-list h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
}

.process-list p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.95;
  margin-top: 10px;
}

.process-disclosure {
  background: var(--white);
  border-left: 4px solid var(--sage);
  grid-column: 2;
  padding: 27px 29px;
}

.process-disclosure strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 16px;
}

.process-disclosure p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
  margin-top: 10px;
}

.process-disclosure a {
  border-bottom: 1px solid currentColor;
  color: var(--sage-deep);
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 15px;
  padding-bottom: 3px;
}

.process-action {
  grid-column: 2;
}

.belief-section h2 {
  font-size: var(--type-section);
  line-height: 1.5;
  margin-top: 17px;
}

.method-section,
.relationship-section {
  background: var(--sage-pale);
}

.method-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 253, 249, 0.62), transparent 30%),
    linear-gradient(135deg, #edf2ee 0%, #e8eee9 100%);
}

.method-inner {
  align-items: start;
  display: grid;
  gap: 90px;
  grid-template-columns: 0.75fr 1.25fr;
}

.method-title {
  position: sticky;
  top: 130px;
}

.method-title h2 {
  font-size: var(--type-section);
  line-height: 1.5;
  margin-top: 17px;
}

.method-list {
  border-top: 1px solid rgba(83, 108, 94, 0.28);
}

.method-list article {
  border-bottom: 1px solid rgba(83, 108, 94, 0.28);
  display: grid;
  gap: 28px;
  grid-template-columns: 52px 1fr;
  padding-block: 36px;
}

.method-list article > span {
  color: var(--rose-deep);
  font-family: Georgia, serif;
  font-size: 15px;
  font-style: italic;
}

.method-list h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  font-weight: 500;
}

.method-list p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
  margin-top: 12px;
}

.boundary-section {
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid rgba(216, 211, 204, 0.92);
  border-radius: 28px;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.8fr 1.2fr;
  margin-block: 84px;
  padding-inline: clamp(28px, 5vw, 62px);
  scroll-margin-top: 112px;
}

.boundary-copy h2 {
  font-size: var(--type-section);
  line-height: 1.5;
  margin-top: 17px;
}

.boundary-copy > p:last-child {
  color: var(--ink-soft);
  font-size: var(--type-body);
  line-height: 1.95;
  margin-top: 24px;
}

.boundary-grid {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr;
}

.boundary-grid article {
  background: transparent;
  padding: 34px 29px;
}

.boundary-grid article.boundary-muted {
  background: transparent;
  border-left: 1px solid var(--line);
}

.boundary-grid article > span {
  color: var(--sage-deep);
  display: block;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.55;
}

.boundary-grid ul {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
  margin: 22px 0 0;
  padding-left: 0;
}

.boundary-grid li {
  display: grid;
  gap: 8px;
  grid-template-columns: 10px minmax(0, 1fr);
  list-style: none;
}

.boundary-grid li::before {
  content: "-";
  color: var(--sage-deep);
  font-weight: 700;
}

.boundary-grid li + li {
  margin-top: 10px;
}

.relationship-inner {
  display: grid;
  gap: 90px;
  grid-template-columns: 0.85fr 1.15fr;
}

.relationship-inner h2 {
  font-size: var(--type-section);
  line-height: 1.5;
  margin-top: 17px;
}

.relationship-inner > div:last-child > p {
  color: var(--ink-soft);
  font-size: var(--type-body);
  line-height: 1.95;
}

.relationship-inner > div:last-child > p + p {
  margin-top: 16px;
}

.relationship-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.relationship-links a {
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid rgba(83, 108, 94, 0.24);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  padding: 13px 18px;
}

.page-cta {
  text-align: center;
}

.page-cta h2 {
  font-size: var(--type-section);
  line-height: 1.5;
  margin-top: 17px;
}

.page-cta > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: var(--type-body);
  margin-top: 18px;
}

.page-cta .button {
  margin-top: 32px;
}

.page-cta-policy {
  border-bottom: 1px solid currentColor;
  color: var(--sage-deep);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin: 20px auto 0;
  padding-bottom: 4px;
  width: max-content;
}

/* Result page */
.result-hero {
  background:
    radial-gradient(circle at 85% 18%, rgba(201, 95, 115, 0.14), transparent 27%),
    var(--paper);
}

.result-hero-inner {
  min-height: 590px;
  padding-right: min(34vw, 430px);
  position: relative;
}

.result-hero-inner::after {
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.18), rgba(39, 48, 57, 0.06)),
    url("/images/hero-a-woman-30s.webp") 72% 30% / cover;
  border-radius: 150px 24px 24px 24px;
  content: "";
  height: 410px;
  position: absolute;
  right: 0;
  top: 90px;
  width: min(30vw, 350px);
}

.sample-badge {
  background: var(--rose-pale);
  border-radius: 999px;
  color: var(--rose-deep);
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  margin-top: 22px;
  padding: 7px 11px;
}

.result-hero h1 {
  font-size: clamp(41px, 5vw, 64px);
  line-height: 1.4;
  margin-top: 22px;
}

.result-hero-inner > p:last-child {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2;
  margin-top: 27px;
  max-width: 610px;
}

.result-content {
  display: grid;
  gap: 70px 90px;
  grid-template-columns: 0.72fr 1.28fr;
}

.result-intro {
  position: sticky;
  top: 130px;
}

.result-intro h2 {
  font-size: clamp(30px, 3.7vw, 45px);
  line-height: 1.5;
  margin-top: 17px;
}

.result-intro > p:last-child {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2;
  margin-top: 23px;
}

.result-cards {
  border-top: 1px solid var(--line);
}

.result-cards article {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 25px;
  grid-template-columns: 48px 1fr;
  padding-block: 34px;
}

.result-cards article > span {
  color: var(--rose-deep);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.result-cards em {
  background: var(--paper-deep);
  border-radius: 999px;
  color: var(--ink-soft);
  display: inline-block;
  font-size: 8px;
  font-style: normal;
  margin-bottom: 12px;
  padding: 5px 8px;
}

.result-cards h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  font-weight: 500;
}

.result-cards p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2;
  margin-top: 12px;
}

.result-caution {
  background: var(--sage-pale);
  border-left: 4px solid var(--sage);
  grid-column: 2;
  padding: 26px 28px;
}

.result-caution strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 16px;
}

.result-caution p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.9;
  margin-top: 8px;
}

.result-actions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 70px;
  grid-template-columns: 1fr auto;
}

.result-actions h2 {
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.5;
  margin-top: 17px;
}

.result-actions > div:first-child > p:last-child {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2;
  margin-top: 20px;
  max-width: 680px;
}

.result-buttons {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1200px) {
  .meaning-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .center-action {
    grid-column: 1;
  }

  .angel-inner,
  .subpage-hero,
  .meaning-inner,
  .use-section,
  .process-inner,
  .method-inner,
  .boundary-section,
  .relationship-inner,
  .result-content,
  .result-actions {
    gap: 42px;
    grid-template-columns: 1fr;
  }

  .understanding-grid {
    grid-template-columns: 1fr;
  }

  .use-grid {
    grid-template-columns: 1fr;
  }

  .understanding-grid article {
    min-height: 0;
  }

  .understanding-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .subpage-hero {
    padding-block: 72px;
  }

  .subpage-hero-image {
    height: min(68vw, 520px);
  }

  .use-intro,
  .method-title,
  .result-intro {
    position: static;
  }

  .process-disclosure,
  .process-action {
    grid-column: 1;
  }

  .result-caution {
    grid-column: 1;
  }

  .result-hero-inner {
    min-height: auto;
    padding-bottom: 500px;
    padding-right: 0;
  }

  .result-hero-inner::after {
    bottom: 70px;
    height: 390px;
    right: 0;
    top: auto;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .analysis-points {
    gap: 6px;
  }

  .angel-inner h2,
  .meaning-copy h2,
  .use-intro h2,
  .process-title h2,
  .belief-section h2,
  .method-title h2,
  .boundary-copy h2,
  .relationship-inner h2,
  .page-cta h2,
  .result-hero h1,
  .result-intro h2,
  .result-actions h2 {
    font-size: 29px;
  }

  .hero h1,
  .subpage-hero h1 {
    font-size: clamp(36px, 10.5vw, 44px);
    line-height: 1.34;
  }

  .about-kicker {
    font-size: 15px;
  }

  .about-hero-lead {
    font-size: 16px;
    line-height: 1.9;
  }

  .subpage-hero {
    padding-top: 40px;
  }

  .subpage-hero-image {
    border-radius: 90px 18px 18px 18px;
    height: 110vw;
    max-height: 510px;
  }

  .about-hero-actions .button {
    width: 100%;
  }

  .about-facts {
    gap: 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .about-facts div {
    padding: 0 12px 15px;
  }

  .about-facts div:first-child {
    padding-left: 0;
  }

  .about-facts div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .about-facts div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    padding-top: 15px;
  }

  .about-facts dd {
    font-size: 16px;
  }

  .meaning-example {
    padding: 25px 18px;
  }

  .meaning-actions {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .meaning-actions article {
    min-height: 0;
    padding: 20px 15px 22px;
  }

  .meaning-actions strong {
    font-size: 13px;
    letter-spacing: -0.025em;
    line-height: 1.7;
    margin-top: 17px;
  }

  .meaning-flow {
    height: 54px;
    margin-inline: auto;
    width: 20px;
  }

  .meaning-flow::before {
    border: 0;
    border-left: 1.5px solid rgba(97, 122, 107, 0.58);
    border-radius: 0;
    height: 27px;
    inset: 0 auto auto 50%;
    left: 50%;
    width: 0;
  }

  .meaning-flow::after {
    height: 25px;
    top: 27px;
  }

  .meaning-conclusion {
    padding: 19px 17px 20px;
  }

  .meaning-conclusion-lead {
    font-size: 14.5px;
  }

  .use-grid {
    margin-top: 34px;
  }

  .use-grid article {
    min-height: 0;
    padding: 24px 22px;
  }

  .use-grid h3 {
    margin-top: 18px;
  }

  .use-grid article,
  .process-list li {
    gap: 12px;
    grid-template-columns: 36px 1fr;
  }

  .process-disclosure {
    padding: 24px 20px;
  }

  .process-action .button {
    width: 100%;
  }

  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .boundary-grid article.boundary-muted {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .boundary-section {
    margin-block: 54px;
  }

  .method-list article {
    gap: 12px;
    grid-template-columns: 36px 1fr;
  }

  .footer-notice {
    width: calc(100% - 36px);
  }

  .result-hero-inner {
    padding-bottom: 440px;
  }

  .result-hero-inner::after {
    height: 350px;
  }

  .result-cards article {
    gap: 12px;
    grid-template-columns: 36px 1fr;
  }

  .result-actions {
    align-items: stretch;
  }

  .result-buttons .button {
    width: 100%;
  }

  .policy-hero {
    padding-block: 72px 54px;
  }

  .policy-content article {
    padding-block: 28px;
  }

  .policy-action .button {
    width: 100%;
  }
}

@media (max-width: 1050px) and (min-width: 561px) {
  .site-header .button-small {
    margin-left: 0;
  }
}

/* AWS static implementation */
[hidden] { display: none !important; }
.form-error {
  background: #fff4f5;
  border: 1px solid rgba(169, 67, 89, 0.35);
  border-radius: 12px;
  color: #8c3549;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 18px;
  padding: 14px 16px;
}
.field-error {
  color: #8c3549;
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
}
.form-actions {
  display: grid;
  gap: 12px;
  margin-top: 15px;
}
.email-notice {
  background: rgba(255, 253, 249, 0.82);
  border-left: 3px solid var(--sage);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 16px;
  padding: 14px 16px;
}
.static-page-main { min-height: 60vh; }
.processing-page {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 64vh;
  padding: 80px 24px;
}
.processing-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  max-width: 620px;
  padding: 54px;
  text-align: center;
  width: 100%;
}
.processing-card h1,
.completion-card h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.45;
}
.processing-card p,
.completion-card p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-top: 18px;
}
.processing-track {
  background: rgba(126, 150, 136, 0.2);
  border-radius: 999px;
  height: 10px;
  margin-top: 30px;
  overflow: hidden;
}
.processing-track span {
  animation: aipc-processing 1.6s ease-in-out infinite;
  background: var(--rose);
  border-radius: inherit;
  display: block;
  height: 100%;
  transform: translateX(-110%);
  width: 34%;
  will-change: transform;
}
@keyframes aipc-processing {
  to { transform: translateX(300%); }
}
.completion-wrap { padding-block: 72px; }
.completion-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin-inline: auto;
  max-width: 820px;
  padding: clamp(34px, 6vw, 70px);
}
.completion-card.is-success {
  max-width: 720px;
  padding: clamp(34px, 5vw, 54px);
}
.completion-card.is-error {
  border-color: rgba(169, 67, 89, 0.45);
}
.completion-card p.completion-note {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
  margin-top: 24px;
  padding-top: 20px;
}
.completion-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}
@media (prefers-reduced-motion: reduce) {
  .processing-track span {
    animation: none;
    margin-left: 33%;
    opacity: 0.65;
    transform: none;
  }
}
@media (max-width: 700px) {
  .processing-card { padding: 36px 22px; }
  .completion-actions { align-items: stretch; flex-direction: column; }
  .completion-actions .button { width: 100%; }
}

/* Mail delivery preference */
.mailstop-wrap {
  align-items: center;
  display: flex;
  min-height: calc(100vh - 160px);
  padding-block: 72px;
}
.mailstop-card {
  max-width: 680px;
  width: 100%;
}
.mailstop-card h1 {
  text-wrap: balance;
}
.mailstop-card .eyebrow {
  margin-bottom: 16px;
}
.mailstop-lead {
  font-size: 15px;
}
.mailstop-card .form-error {
  margin-block: 28px 0;
}
.mailstop-form {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 28px;
}
.mailstop-field {
  display: grid;
  gap: 10px;
}
.mailstop-field label {
  font-size: 14px;
  font-weight: 700;
}
.mailstop-field input {
  background: #fff;
  border: 1px solid #bcb7af;
  border-radius: 10px;
  min-height: 56px;
  padding: 12px 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}
.mailstop-field input:focus {
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 4px rgba(201, 95, 115, 0.13);
  outline: 0;
}
.mailstop-field p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
  margin-top: 0;
}
.mailstop-submit {
  margin-top: 24px;
}
.mailstop-links {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
  padding-top: 22px;
}
@media (max-width: 700px) {
  .mailstop-wrap {
    min-height: calc(100vh - 142px);
    padding-block: 44px;
  }
  .mailstop-card {
    padding: 34px 22px;
  }
  .mailstop-submit {
    width: 100%;
  }
  .mailstop-links {
    gap: 18px;
  }
}
@media (max-width: 560px) {
  body.mailstop-page {
    padding-bottom: 0;
  }
}
