:root {
  --bg: #fff7fb;
  --ink: #171821;
  --muted: #6b7280;
  --line: #ead5de;
  --brand: #d94672;
  --brand-dark: #9f1239;
  --blue: #2563eb;
  --yellow: #a16207;
  --green: #15803d;
  --panel: #ffffff;
  --shadow: 0 18px 44px rgba(48, 18, 32, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(255, 247, 251, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

main {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: center;
  min-height: 72vh;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1.05;
}

.hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel,
.card,
.score-panel,
article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel,
.card,
article {
  padding: 22px;
}

.grid {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}

.grid > * {
  min-width: 0;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.narrow {
  max-width: 620px;
  margin-inline: auto;
}

label,
fieldset {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

fieldset {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.check input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.btn.danger {
  border-color: #fecaca;
  color: #991b1b;
}

.upload-hero {
  align-items: start;
  padding-top: 24px;
}

.upload-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.upload-steps span {
  padding: 7px 10px;
  color: #075985;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.upload-form {
  display: grid;
  gap: 14px;
}

.photo-picker {
  display: grid;
  gap: 12px;
}

.photo-dropzone {
  margin: 0;
  padding: 16px;
  background: #f8fafc;
  border: 1px dashed #93c5fd;
  border-radius: 8px;
}

.photo-dropzone-title {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.photo-dropzone-copy,
.privacy-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.photo-dropzone input {
  margin-top: 10px;
  background: #fff;
}

.photo-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.preview {
  display: grid;
  place-items: center;
  min-height: 220px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
}

.preview.has-image {
  align-items: stretch;
  background: #111827;
  grid-template-rows: minmax(0, 1fr) auto;
}

.photo-card img,
.share-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  display: block;
}

.preview-placeholder {
  padding: 18px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.preview-meta {
  margin: 0;
  padding: 8px 10px;
  color: #e5e7eb;
  background: rgba(17, 24, 39, 0.86);
  font-size: 12px;
  font-weight: 800;
}

.upload-status {
  margin: 0;
  padding: 10px 12px;
  color: #075985;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.upload-status[data-state="success"] {
  color: #166534;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.upload-status[data-state="error"] {
  color: #991b1b;
  background: #fff1f2;
  border-color: #fecaca;
}

.photo-guide {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.photo-guide summary {
  cursor: pointer;
  font-weight: 900;
}

.photo-guide ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.upload-progress {
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.upload-progress p {
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 900;
}

.upload-progress ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.upload-progress li.is-active {
  color: #075985;
}

.upload-progress li.is-done {
  color: #166534;
}

.onboarding-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.onboarding-list article,
.beta-info article,
.result-comment,
.plain-feature-summary,
.faq details {
  box-shadow: none;
}

.onboarding-list h2,
.beta-info h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.onboarding-list p,
.beta-info p {
  margin: 0;
  font-size: 14px;
}

.ai-quality-compare {
  margin-top: 18px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #dbeafe;
  border-radius: 8px;
}

.ai-quality-compare h3 {
  margin-top: 0;
}

.privacy-note {
  margin: 0;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.photo-card {
  position: sticky;
  top: 88px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-card img,
.deleted {
  aspect-ratio: 3 / 4;
}

.photo-card p {
  margin: 0;
  padding: 14px;
  color: var(--muted);
  font-size: 13px;
}

.deleted {
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #f3f4f6;
}

.score-panel {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: center;
  margin: 18px 0;
  padding: 22px;
}

.big-score {
  font-size: 84px;
  line-height: 1;
  color: var(--brand-dark);
}

.score-lines p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #f3e3ea;
}

.result-comment p,
.plain-feature-summary li,
.faq p {
  color: var(--muted);
}

.faq details {
  margin: 10px 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.delete-targets {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.delete-targets div {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.delete-targets dt {
  color: var(--muted);
  font-weight: 800;
}

.delete-targets dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.privacy-page article {
  box-shadow: none;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.metric-grid div {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric-grid b {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  overflow-wrap: anywhere;
}

.muted {
  color: var(--muted);
}

.quality-panel {
  margin: 22px 0;
}

.quality-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.quality-head h2 {
  margin: 0;
}

.quality-score {
  min-width: 132px;
  padding: 12px;
  text-align: right;
  background: #fff7fb;
  border: 1px solid #f6c8d8;
  border-radius: 8px;
}

.quality-score strong {
  font-size: 42px;
  line-height: 1;
  color: var(--brand-dark);
}

.quality-score span,
.quality-score small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.quality-components {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.quality-components div {
  min-width: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quality-components span,
.quality-foot span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quality-components b {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.quality-lists {
  align-items: stretch;
}

.quality-lists article {
  box-shadow: none;
}

.quality-lists ol,
.quality-lists ul {
  margin: 0;
  padding-left: 20px;
}

.quality-lists li {
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}

.quality-lists li span {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quality-lists li p {
  margin: 4px 0 0;
  color: var(--muted);
}

.quality-foot {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow-wrap: anywhere;
}

.quality-foot b {
  color: var(--brand-dark);
}

.ai-model-panel {
  display: grid;
  gap: 16px;
  margin: 22px 0;
}

.face-analysis-panel {
  display: grid;
  gap: 16px;
  margin: 22px 0;
}

.quality-debug-panel {
  display: grid;
  gap: 16px;
  margin: 22px 0;
  border-color: #bfdbfe;
  background: #f8fbff;
}

.ai-model-panel h2,
.face-analysis-panel h2,
.quality-debug-panel h2 {
  margin: 0;
}

.status-pill {
  display: inline-flex;
  max-width: 100%;
  margin: 8px 0 0;
  padding: 7px 10px;
  color: #075985;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.empty-state {
  margin: 0;
  padding: 14px;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.notice {
  border-color: #fecaca;
  background: #fff8f8;
}

.notice h2 {
  margin-top: 0;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.integration-grid div {
  min-width: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.integration-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.integration-grid b {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.runtime-pipeline {
  display: grid;
  grid-template-columns: repeat(9, minmax(92px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.runtime-pipeline-title {
  margin: 16px 0 0;
  font-size: 16px;
}

.runtime-pipeline div {
  position: relative;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.runtime-pipeline div:not(:last-child)::after {
  content: ">";
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 800;
}

.runtime-pipeline span,
.runtime-pipeline b {
  display: block;
  overflow-wrap: anywhere;
}

.runtime-pipeline span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.runtime-pipeline b {
  margin-top: 4px;
  font-size: 12px;
}

.feature-vector {
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.feature-vector summary {
  cursor: pointer;
  font-weight: 800;
}

.feature-vector dl {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 6px 12px;
  margin: 12px 0 0;
}

.feature-vector dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.feature-vector dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.quality-json pre {
  max-height: 420px;
  margin: 12px 0 0;
  padding: 12px;
  overflow: auto;
  color: #111827;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.document-panel,
.document-detail,
.document-lookup {
  display: grid;
  gap: 16px;
  margin: 22px 0;
}

.document-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.document-panel-head h2,
.document-detail h1,
.document-detail h2,
.document-lookup h1,
.document-lookup h2 {
  margin: 0;
}

.doc-card-grid,
.doc-meta-grid,
.doc-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.doc-ref-card,
.doc-feature-list article,
.trace-list article {
  min-width: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.doc-ref-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.doc-ref-card dl,
.trace-list dl {
  display: grid;
  grid-template-columns: minmax(88px, 0.45fr) minmax(0, 1fr);
  gap: 5px 10px;
  margin: 0;
}

.doc-ref-card dt,
.trace-list dt,
.doc-meta-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.doc-ref-card dd,
.trace-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.doc-meta-grid div {
  min-width: 0;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.doc-meta-grid b {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.trace-list {
  display: grid;
  gap: 12px;
}

.doc-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #ffe4ec;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.advice {
  padding-left: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.accent {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.share-img {
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}

.card:has(table) {
  overflow-x: auto;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid #f0dce4;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

th {
  color: var(--muted);
  font-size: 12px;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.form-stack {
  display: grid;
  gap: 12px;
}

.eval-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.eval-grid .wide {
  grid-column: 1 / -1;
}

.site-footer {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

@media (max-width: 860px) {
  .hero,
  .result-layout,
  .grid.two,
  .grid.three,
  .share-grid,
  .score-panel,
  .metric-grid,
  .quality-components,
  .integration-grid,
  .runtime-pipeline,
  .doc-card-grid,
  .doc-meta-grid,
  .doc-feature-list,
  .doc-search,
  .feature-vector dl {
    grid-template-columns: 1fr;
  }

  .runtime-pipeline div:not(:last-child)::after {
    content: "v";
    top: auto;
    right: 50%;
    bottom: -10px;
    transform: translateX(50%);
  }

  .card:has(table) {
    max-width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .photo-card {
    position: static;
  }

  .big-score {
    font-size: 64px;
  }

  .site-header,
  .quality-head,
  .admin-head,
  .document-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .quality-score {
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-panel,
  .card,
  article,
  .score-panel {
    padding: 16px;
  }

  .photo-actions,
  .actions,
  .delete-targets div {
    grid-template-columns: 1fr;
  }

  .photo-actions .btn,
  .actions .btn,
  .actions form,
  .actions button {
    width: 100%;
  }

  .preview {
    min-height: 190px;
  }
}

@media (min-width: 861px) and (max-width: 1120px) {
  .quality-components {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  html,
  body {
    overflow-x: clip;
  }

  main,
  .site-footer {
    width: min(100% - 20px, 1180px);
  }

  .hero-panel,
  .card,
  article,
  .score-panel {
    padding: 16px;
  }

  .big-score {
    font-size: 54px;
  }

  .quality-score strong {
    font-size: 36px;
  }
}

@media (max-width: 390px) {
  main,
  .site-footer {
    width: min(100% - 16px, 1180px);
  }

  .site-header {
    gap: 10px;
    padding: 12px 10px;
  }

  nav {
    gap: 8px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 34px;
  }

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

  .upload-steps span,
  .upload-status,
  .photo-guide ul,
  .privacy-note,
  .photo-card p {
    font-size: 12px;
  }

  .btn,
  input,
  select,
  textarea {
    min-height: 44px;
  }

  table {
    min-width: 560px;
  }

  .card:has(table) {
    overflow-x: auto;
  }
}

/* Phase top-page renewal */
:root {
  --abp-ink: #180f3f;
  --abp-deep: #24105b;
  --abp-pink: #db2f93;
  --abp-coral: #ff8162;
  --abp-gold: #f3bd70;
  --abp-lavender: #f6eaff;
  --abp-soft: #fff7fd;
  --abp-line: rgba(93, 54, 126, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, #fff 0%, #fff4fb 26%, #f7ecff 58%, #fff8fc 100%);
  color: var(--abp-ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 40px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(92, 43, 124, 0.11);
  box-shadow: 0 14px 34px rgba(58, 18, 83, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #14093b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, #ff6fb3, #ff9065);
  border: 3px solid #ffd7ef;
  border-radius: 50%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  box-shadow: 0 8px 20px rgba(219, 47, 147, 0.22);
}

.site-nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  color: #23134f;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--abp-pink);
}

.nav-divider {
  width: 1px;
  height: 20px;
  background: rgba(70, 34, 108, 0.18);
}

.nav-muted {
  color: #6d6184;
}

.header-cta,
.hero-button,
.upload-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  color: #fff;
  background: linear-gradient(100deg, #d72c98 0%, #f04184 52%, #ff9962 100%);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 15px 30px rgba(218, 52, 140, 0.28);
  font-weight: 900;
  text-decoration: none;
}

.header-cta {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  white-space: nowrap;
}

.header-cta::after,
.hero-button::after {
  content: ">";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: 14px;
  color: #e43b8d;
  background: #fff;
  border-radius: 50%;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 28px;
  height: 3px;
  margin: 3px 0;
  background: #180f3f;
  border-radius: 999px;
}

main {
  width: min(100% - 64px, 1780px);
  padding: 0 0 64px;
}

.abp-home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(460px, 0.86fr) minmax(520px, 1.14fr);
  gap: 28px;
  min-height: 720px;
  align-items: center;
  padding: 44px 16px 26px;
  overflow: hidden;
}

.abp-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98), rgba(250, 230, 255, 0.66) 43%, rgba(244, 217, 255, 0.18)),
    repeating-linear-gradient(130deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 42px);
}

.hero-copy,
.hero-stage {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  margin: 0 0 12px;
  color: #170c42;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0 0 22px;
  color: #14093b;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 68px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy h1 span {
  color: var(--abp-pink);
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 28px;
  color: #211749;
  font-size: 17px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-button {
  min-height: 60px;
  padding: 15px 32px;
  font-size: 18px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 18px 0 10px;
  color: #23134f;
  font-size: 13px;
  font-weight: 900;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(202, 119, 188, 0.2);
  border-radius: 999px;
}

.hero-disclaimer {
  max-width: 620px;
  margin: 10px 0 0;
  color: #5f5278;
  font-size: 12px;
}

.hero-stage {
  min-height: 660px;
  isolation: isolate;
}

.hero-stage img {
  position: absolute;
  inset: 0 90px 0 0;
  z-index: -1;
  width: calc(100% - 70px);
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  filter: saturate(1.04);
}

.score-orbit {
  position: absolute;
  left: 0;
  bottom: 90px;
  display: grid;
  place-items: center;
  width: 250px;
  height: 250px;
  padding: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(255, 152, 221, 0.45);
  border-radius: 50%;
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, 0.24),
    0 18px 60px rgba(170, 69, 187, 0.22);
}

.score-orbit p,
.score-orbit em {
  margin: 0;
  color: var(--abp-pink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.score-orbit strong {
  color: #9632e2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 82px;
  line-height: 0.92;
}

.score-orbit span {
  margin-left: 128px;
  color: #3d2d6e;
  font-size: 12px;
}

.score-orbit em {
  padding: 5px 16px;
  color: #d62991;
  background: rgba(255, 245, 252, 0.8);
  border: 1px solid rgba(219, 47, 147, 0.24);
  border-radius: 999px;
  font-style: normal;
  font-size: 13px;
}

.score-bubbles {
  position: absolute;
  right: 6px;
  top: 52px;
  display: grid;
  gap: 16px;
}

.score-bubbles span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  color: #21134f;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(223, 104, 200, 0.36);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(159, 58, 159, 0.18);
  font-size: 12px;
  font-weight: 900;
}

.score-bubbles b {
  display: block;
  font-size: 22px;
}

.milestone-card {
  position: absolute;
  right: 28px;
  bottom: 26px;
  width: 280px;
  padding: 18px;
  color: #7930b4;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(221, 99, 189, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(72, 33, 98, 0.16);
  font-weight: 900;
}

.milestone-card strong {
  display: block;
  margin-top: 2px;
  color: #b22bc9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.milestone-card small {
  display: block;
  margin-top: 5px;
  color: #69527c;
}

.home-band,
.home-split,
.diagnosis-section,
.faq-section {
  margin: 24px 0 0;
}

.future-band {
  padding: 48px 34px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(30, 12, 83, 0.98), rgba(111, 22, 144, 0.95) 52%, rgba(232, 59, 145, 0.78)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(50, 15, 77, 0.24);
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-heading h2,
.home-split h2,
.faq-section h2 {
  margin: 0 0 12px;
  color: inherit;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: inherit;
  opacity: 0.86;
  font-weight: 700;
}

.chance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.chance-grid article {
  min-height: 188px;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(24, 10, 57, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: none;
}

.chance-grid article span {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ff9ed0, #ffd178);
  border-radius: 8px;
}

.chance-grid h3,
.chance-grid p {
  margin: 0 0 8px;
}

.chance-grid p,
.chance-grid small {
  color: rgba(255, 255, 255, 0.82);
}

.home-split {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.46fr);
  gap: 18px;
}

.home-split > article,
.diagnosis-section,
.faq-section {
  min-width: 0;
  padding: 26px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--abp-line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(88, 34, 106, 0.1);
}

.intro-card a {
  color: var(--abp-pink);
  font-weight: 900;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.flow-steps li {
  position: relative;
  min-height: 150px;
  padding: 18px 14px;
  text-align: center;
  background: linear-gradient(180deg, #fff, #fff3fb);
  border: 1px solid rgba(218, 111, 192, 0.18);
  border-radius: 8px;
}

.flow-steps b {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  color: #fff;
  background: linear-gradient(135deg, #b438d9, #f13a9a);
  border-radius: 50%;
  font-size: 12px;
}

.flow-steps span {
  display: block;
  min-height: 48px;
  color: #23134f;
  font-weight: 900;
}

.flow-steps small {
  color: #655679;
  font-weight: 700;
}

.diagnosis-section {
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 240, 249, 0.88)),
    #fff;
}

.abp-upload-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(219, 47, 147, 0.18);
  border-radius: 8px;
  box-shadow: 0 20px 58px rgba(91, 38, 116, 0.14);
}

.upload-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.photo-dropzone {
  padding: 22px;
  border: 2px dashed rgba(219, 47, 147, 0.34);
  background: linear-gradient(180deg, #fff, #fff5fb);
}

.photo-dropzone-title {
  color: #23134f;
  font-size: 20px;
}

.upload-submit {
  width: 100%;
  min-height: 58px;
  margin-top: 6px;
  font-size: 17px;
}

.support-zone {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.voice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.voice-list blockquote {
  margin: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(219, 47, 147, 0.15);
  border-radius: 8px;
  color: #23134f;
  font-weight: 800;
}

.voice-list cite {
  display: block;
  margin-top: 12px;
  color: #8b3a7e;
  font-style: normal;
  font-size: 12px;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.safety-grid div {
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(73, 39, 113, 0.12);
  border-radius: 8px;
}

.safety-grid b,
.safety-grid span {
  display: block;
}

.safety-grid span {
  margin-top: 8px;
  color: #655679;
  font-size: 13px;
  font-weight: 700;
}

.faq-section {
  max-width: 1180px;
  margin-inline: auto;
}

.faq-section details {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid rgba(73, 39, 113, 0.12);
  border-radius: 8px;
}

.faq-section details + details {
  margin-top: 10px;
}

.faq-section summary {
  cursor: pointer;
  color: #23134f;
  font-weight: 900;
}

.faq-section p {
  margin: 10px 0 0;
  color: #655679;
}

@media (min-width: 1440px) {
  .abp-home-hero {
    min-height: 760px;
  }

  .hero-stage {
    min-height: 700px;
  }
}

@media (max-width: 1280px) {
  .site-header {
    grid-template-columns: auto auto auto;
    padding: 14px 22px;
  }

  .site-nav {
    gap: 14px;
    font-size: 13px;
  }

  .abp-home-hero {
    grid-template-columns: minmax(390px, 0.86fr) minmax(480px, 1.14fr);
  }

  .hero-copy h1 {
    font-size: 58px;
  }
}

@media (max-width: 1023px) {
  main {
    width: min(100% - 36px, 1180px);
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    min-height: 48px;
    padding: 10px 18px;
    font-size: 14px;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
    display: grid;
  }

  .site-nav {
    position: fixed;
    grid-column: auto;
    grid-row: auto;
    top: 74px;
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(92, 43, 124, 0.14);
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(40, 16, 70, 0.18);
  }

  .site-nav.is-open {
    display: grid;
  }

  .nav-divider {
    display: none;
  }

  .abp-home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 34px;
  }

  .hero-stage {
    min-height: 620px;
  }

  .hero-stage img {
    inset: 0;
    width: 100%;
  }

  .score-orbit {
    left: 24px;
    bottom: 32px;
  }

  .milestone-card {
    right: 24px;
  }

  .chance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-split,
  .support-zone {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .voice-list,
  .safety-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  main {
    width: 100%;
    padding-bottom: 44px;
  }

  .site-header {
    padding: 16px 20px;
  }

  .brand {
    font-size: 24px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .header-cta {
    min-height: 44px;
    padding: 8px 14px;
    font-size: 14px;
  }

  .header-cta::after {
    width: 24px;
    height: 24px;
    margin-left: 10px;
  }

  .abp-home-hero {
    padding: 38px 26px 24px;
    background: linear-gradient(180deg, rgba(255, 246, 252, 0.96), rgba(248, 229, 255, 0.74));
  }

  .hero-kicker {
    font-size: 21px;
  }

  .hero-copy h1 {
    font-size: 48px;
    line-height: 1.24;
  }

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

  .hero-button {
    width: 100%;
    min-height: 60px;
    padding: 14px 20px;
  }

  .hero-stage {
    min-height: 690px;
    margin: -14px -18px 0;
  }

  .hero-stage img {
    object-position: 58% center;
  }

  .score-orbit {
    left: 18px;
    bottom: 142px;
    width: 220px;
    height: 220px;
  }

  .score-orbit strong {
    font-size: 72px;
  }

  .score-bubbles {
    right: 18px;
    top: 38px;
    gap: 12px;
  }

  .score-bubbles span {
    width: 78px;
    height: 78px;
    font-size: 10px;
  }

  .score-bubbles b {
    font-size: 19px;
  }

  .milestone-card {
    right: 18px;
    bottom: 24px;
    width: 250px;
  }

  .future-band,
  .home-split,
  .diagnosis-section,
  .faq-section {
    margin-top: 0;
    border-radius: 0;
  }

  .future-band {
    padding: 36px 22px;
  }

  .section-heading h2,
  .home-split h2,
  .faq-section h2 {
    font-size: 28px;
  }

  .chance-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .chance-grid article {
    flex: 0 0 185px;
    scroll-snap-align: start;
  }

  .home-split > article,
  .diagnosis-section,
  .faq-section {
    padding: 28px 22px;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .flow-steps {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .flow-steps li {
    min-height: auto;
  }

  .upload-fields {
    grid-template-columns: 1fr;
  }

  .abp-upload-card {
    padding: 18px;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding: 14px 16px;
    gap: 8px;
  }

  .brand {
    gap: 8px;
    font-size: 21px;
  }

  .header-cta {
    padding-inline: 12px;
    font-size: 13px;
  }

  .menu-toggle {
    width: 44px;
    padding: 8px;
  }

  .abp-home-hero {
    padding: 30px 20px 20px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-stage {
    min-height: 650px;
    margin-inline: -20px;
  }

  .score-orbit {
    width: 198px;
    height: 198px;
    left: 14px;
    bottom: 132px;
  }

  .score-orbit strong {
    font-size: 64px;
  }

  .score-orbit span {
    margin-left: 106px;
  }

  .score-bubbles {
    right: 12px;
  }

  .score-bubbles span {
    width: 70px;
    height: 70px;
  }

  .milestone-card {
    width: 230px;
    right: 12px;
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 19px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-cta {
    max-width: 128px;
    min-height: 42px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .header-cta::after {
    display: none;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

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

  .hero-stage {
    min-height: 620px;
  }

  .score-orbit {
    width: 184px;
    height: 184px;
  }

  .score-orbit strong {
    font-size: 58px;
  }

  .milestone-card {
    width: 218px;
  }
}

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

/* Connected brand-site rebuild */
.brand-world {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  --world-progress: 0;
  color: #160a3f;
  background:
    radial-gradient(circle at 70% calc(8% + (var(--world-progress) * 18%)), rgba(255, 188, 224, 0.44), transparent 32%),
    radial-gradient(circle at 22% calc(32% + (var(--world-progress) * 16%)), rgba(160, 98, 231, 0.28), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fff3fb 16%, #f7e9ff 36%, #2c115e 50%, #fff3fb 69%, #fff 100%);
}

.brand-world::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.9), rgba(255,255,255,0) 38%),
    repeating-linear-gradient(128deg, rgba(174, 85, 209, 0.08) 0 1px, transparent 1px 72px);
}

.world-ambient {
  position: fixed;
  inset: 74px 0 auto;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.66;
}

.world-ambient span {
  position: absolute;
  display: block;
  width: 34vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 63, 150, 0.38), rgba(255, 198, 112, 0.4), transparent);
  transform: rotate(-14deg);
  animation: ambient-drift 12s ease-in-out infinite;
}

.world-ambient span:nth-child(1) {
  top: 18%;
  left: 8%;
}

.world-ambient span:nth-child(2) {
  top: 44%;
  left: 38%;
}

.world-ambient span:nth-child(3) {
  top: 70%;
  left: 12%;
}

.world-hero,
.future-world,
.story-chapters,
.diagnosis-gate,
.world-assurance,
.final-brand-cta,
.world-faq {
  position: relative;
  z-index: 1;
  width: min(100%, 1760px);
  margin-inline: auto;
}

.world-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.68fr) minmax(760px, 1.55fr);
  gap: 28px;
  min-height: calc(100vh - 72px);
  padding: 60px 20px 92px;
  align-items: center;
}

.world-copy {
  align-self: center;
  padding-left: 8px;
}

.world-kicker {
  margin: 0 0 18px;
  color: #d73391;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.world-copy h1,
.brand-hero-title {
  margin: 0 0 24px;
  color: #130738;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(40px, 3.35vw, 50px);
  line-height: 1.16;
  letter-spacing: 0;
}

.brand-hero-line {
  display: block;
}

.brand-hero-line-nowrap {
  white-space: nowrap;
}

.brand-hero-mobile-line {
  display: inline;
}

.world-copy h1 span.brand-hero-accent,
.brand-hero-accent {
  color: #d92e91;
}

.world-copy p {
  max-width: 520px;
  color: #241850;
  font-size: 17px;
  font-weight: 750;
}

.world-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 30px 0 18px;
}

.world-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: #892db4;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid rgba(137, 45, 180, 0.26);
}

.world-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.world-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(215, 64, 154, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.world-visual {
  position: relative;
  min-height: 780px;
  isolation: isolate;
}

.world-person {
  position: absolute;
  inset: 0 160px 0 -40px;
  z-index: -2;
  width: calc(100% - 90px);
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  border-radius: 8px;
  box-shadow: 0 28px 84px rgba(73, 31, 95, 0.18);
  animation: person-float 9s ease-in-out infinite;
}

.world-visual::before {
  content: "";
  position: absolute;
  inset: 0 160px 0 -40px;
  z-index: -1;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,246,252,0.76), rgba(255,255,255,0) 24%, rgba(255,255,255,0) 72%, rgba(36, 9, 68, 0.38)),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,230,248,0.26));
}

.face-mesh {
  position: absolute;
  right: 338px;
  top: 132px;
  width: 310px;
  height: 420px;
  border: 1px solid rgba(255, 159, 221, 0.42);
  border-radius: 48% 52% 54% 46%;
  background:
    linear-gradient(33deg, transparent 48%, rgba(255,255,255,0.45) 49%, transparent 50%),
    linear-gradient(148deg, transparent 48%, rgba(255,255,255,0.34) 49%, transparent 50%),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255,255,255,0.26) 32px 33px),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,0.18) 39px 40px);
  opacity: 0.44;
  mix-blend-mode: screen;
  animation: mesh-breathe 7s ease-in-out infinite;
}

.world-score {
  position: absolute;
  left: 80px;
  bottom: 86px;
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  padding: 30px;
  text-align: center;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(218, 47, 147, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(255,255,255,0.18), 0 24px 80px rgba(141, 45, 180, 0.22);
  overflow: hidden;
}

.world-score::before,
.story-score-orb::before,
.final-score-motif::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from -90deg, #8b3dea, #df3097, #ffac68, rgba(255,255,255,0.3), #8b3dea) border-box;
  opacity: 0.74;
  animation: gauge-glow 6.8s ease-in-out infinite;
  pointer-events: none;
}

.world-score span,
.world-score em {
  color: #dc2f91;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}

.world-score strong {
  color: #9633de;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  line-height: 0.9;
}

.world-score small {
  color: #38275f;
  font-weight: 800;
}

.world-score em {
  padding: 5px 16px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(218, 47, 147, 0.22);
  border-radius: 999px;
  font-size: 13px;
  font-style: normal;
}

.analysis-labels {
  position: absolute;
  right: 8px;
  top: 72px;
  display: grid;
  gap: 12px;
  width: 228px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.analysis-label {
  position: relative;
  min-height: 104px;
  padding: 14px 16px 13px;
  color: #fff;
  background: linear-gradient(145deg, rgba(30, 9, 62, 0.74), rgba(118, 34, 117, 0.42));
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(47, 13, 82, 0.24);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateX(10px);
  animation: analysis-label-in 700ms ease forwards;
  animation-delay: calc(var(--i) * 160ms + 260ms);
}

.analysis-label em,
.analysis-label small {
  display: block;
}

.analysis-label em {
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.analysis-label b {
  display: block;
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.analysis-label small {
  color: rgba(255,255,255,0.76);
  font-weight: 800;
}

.analysis-line {
  position: absolute;
  top: 50%;
  right: 100%;
  width: 210px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 181, 227, 0), rgba(255, 181, 227, 0.7), rgba(255,255,255,0.9));
  --line-rotate: 0deg;
  transform: rotate(var(--line-rotate)) scaleX(0);
  transform-origin: right center;
  opacity: 0;
  animation: analysis-line-draw 900ms ease forwards;
  animation-delay: calc(var(--i) * 160ms + 80ms);
  box-shadow: 0 0 16px rgba(255, 157, 222, 0.46);
}

.analysis-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(255, 117, 213, 0.88);
}

.analysis-face .analysis-line {
  width: 198px;
  --line-rotate: -12deg;
}

.analysis-eyes .analysis-line {
  width: 260px;
  --line-rotate: -4deg;
}

.analysis-nose .analysis-line {
  width: 238px;
  --line-rotate: 8deg;
}

.analysis-lips .analysis-line {
  width: 280px;
  --line-rotate: 18deg;
}

.analysis-photo .analysis-line {
  width: 224px;
  --line-rotate: 27deg;
}

.world-future-note {
  position: absolute;
  right: 38px;
  bottom: 24px;
  max-width: 300px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(145deg, rgba(42, 13, 96, 0.9), rgba(219, 47, 147, 0.75));
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(86, 26, 118, 0.22);
}

.world-future-note p {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 900;
}

.world-future-note small {
  color: rgba(255,255,255,0.84);
  font-weight: 800;
}

.world-transition {
  height: 210px;
  overflow: hidden;
  margin-top: -92px;
}

.world-transition span {
  display: block;
  width: min(1180px, 88vw);
  height: 210px;
  margin: 0 auto;
  border-radius: 0 0 50% 50%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.82), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0), rgba(255,221,245,0.42), rgba(109, 54, 158, 0.24));
}

.world-transition i {
  position: absolute;
  left: 50%;
  top: 36px;
  display: block;
  width: min(780px, 72vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(219,47,147,0.46), rgba(255,184,98,0.64), transparent);
  transform: translateX(-50%);
  box-shadow: 0 0 32px rgba(225, 47, 149, 0.32);
}

.future-world {
  min-height: 760px;
  display: grid;
  align-items: end;
  margin-top: -58px;
  padding: 116px 44px 56px;
  color: #fff;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(43, 12, 76, 0.22);
}

.future-world > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.future-world::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 66% 20%, rgba(255, 106, 190, 0.26), transparent 34%),
    linear-gradient(180deg, rgba(35, 11, 75, 0.12), rgba(28, 9, 71, 0.54) 66%, rgba(26, 8, 64, 0.86)),
    linear-gradient(90deg, rgba(19, 7, 56, 0.68), rgba(19, 7, 56, 0.14) 50%, rgba(19, 7, 56, 0.58));
}

.future-narrative {
  max-width: 760px;
  margin: 0 0 42px;
}

.future-narrative h2,
.story-heading h2,
.gate-copy h2,
.assurance-copy h2,
.world-faq h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 42px;
  line-height: 1.25;
  letter-spacing: 0;
}

.future-title-line,
.gate-copy h2 span,
.final-brand-cta h2 span {
  display: block;
}

.future-narrative p,
.gate-copy p,
.assurance-copy p {
  max-width: 720px;
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.future-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 0;
  max-width: 1280px;
  margin: 46px 0 34px;
  padding: 34px 0 18px;
  list-style: none;
}

.future-journey::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 62px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,183,229,0.86), rgba(180,142,255,0.78), rgba(255,255,255,0.12));
  box-shadow: 0 0 28px rgba(255, 151, 220, 0.34);
}

.future-journey-step {
  position: relative;
  min-height: 230px;
  padding: 78px 12px 0;
  color: #fff;
  opacity: 0.92;
  transform: translateY(calc((var(--i) % 2) * 18px));
  animation: future-open 7.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 220ms);
}

.future-journey-step::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 20px;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255,255,255,0.36);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, rgba(255,255,255,0.7), transparent 18%),
    linear-gradient(145deg, rgba(255,255,255,0.24), rgba(255,255,255,0.06));
  box-shadow: 0 18px 44px rgba(25, 7, 64, 0.22);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.future-journey-step::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 54px;
  width: 9px;
  height: 9px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 131, 219, 0.9);
  transform: translateX(-50%);
}

.future-journey-step span,
.future-journey-step b,
.future-journey-step small {
  display: block;
  text-align: center;
}

.future-journey-step span {
  position: relative;
  z-index: 1;
  min-height: 32px;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 900;
}

.future-journey-step b {
  margin: 16px 0 8px;
  color: #fff;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 20px;
  line-height: 1.24;
}

.future-journey-step small {
  color: rgba(255,255,255,0.78);
  font-weight: 800;
  line-height: 1.55;
}

.partner-world {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  max-width: 1280px;
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,0.22);
}

.partner-world p {
  margin: 0;
  color: rgba(255,255,255,0.84);
  font-size: 14px;
  font-weight: 850;
}

.partner-world div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
}

.partner-world span {
  color: rgba(255,255,255,0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.future-disclaimer {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255,255,255,0.82);
  font-weight: 800;
}

.story-chapters {
  padding: 150px 34px 92px;
  color: #fff;
}

.story-heading {
  max-width: 840px;
  margin: 0 auto 72px;
  text-align: center;
}

.story-heading h2 {
  color: #fff;
  text-shadow: 0 14px 42px rgba(17, 6, 52, 0.36);
}

.story-heading .eyebrow {
  color: rgba(255,255,255,0.78);
}

.story-experience {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 64px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.story-compass {
  position: sticky;
  top: 104px;
  min-height: 560px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.story-compass::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.9), rgba(255,238,249,0.52) 42%, rgba(148, 71, 203, 0.18) 68%, transparent 70%);
  box-shadow: inset 0 0 60px rgba(220, 47, 145, 0.16);
}

.story-score-orb,
.final-score-motif {
  position: relative;
  display: grid;
  place-items: center;
  width: 238px;
  height: 238px;
  text-align: center;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(219,47,147,0.22);
  border-radius: 50%;
  box-shadow: 0 28px 70px rgba(116, 49, 153, 0.18);
}

.story-score-orb span {
  color: #dc2f91;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}

.story-score-orb strong,
.final-score-motif span {
  color: #9633de;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 76px;
  line-height: 0.9;
}

.story-light-path {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 2px;
  height: 210px;
  background: linear-gradient(180deg, rgba(219,47,147,0.1), rgba(219,47,147,0.78), rgba(255,184,98,0.62), rgba(219,47,147,0.08));
  transform: translateX(-50%);
  box-shadow: 0 0 24px rgba(219, 47, 147, 0.34);
}

.story-mini-steps {
  position: absolute;
  inset: auto 0 34px;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-mini-steps li {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, #8b3dea, #e12f95 58%, #ffad68);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(151, 55, 191, 0.24);
  animation: step-pulse 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.42s);
}

.chapter-rail {
  position: relative;
  display: grid;
  gap: 34px;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chapter-rail::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 38px;
  width: 2px;
  background: linear-gradient(180deg, rgba(216, 47, 145, 0), rgba(216, 47, 145, 0.48), rgba(246, 184, 112, 0.52), rgba(216, 47, 145, 0));
}

.chapter-rail li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 126px;
}

.chapter-rail li:nth-child(even) div {
  text-align: left;
}

.chapter-rail li:nth-child(even) b {
  grid-column: 1;
}

.chapter-rail b {
  grid-column: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: #fff;
  background: linear-gradient(135deg, #8b3dea, #e12f95 58%, #ffad68);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(151, 55, 191, 0.24);
}

.chapter-rail div {
  grid-column: 2;
  padding: 26px 28px;
  background: rgba(255,255,255,0.48);
  border: 1px solid rgba(219,47,147,0.12);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(77, 36, 107, 0.08);
  backdrop-filter: blur(12px);
}

.chapter-rail h3 {
  margin: 0 0 8px;
  color: #190d42;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 27px;
}

.chapter-rail p {
  margin: 0;
  color: #5f5278;
  font-weight: 800;
}

.diagnosis-gate {
  margin-top: 76px;
  padding: 116px 34px 110px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 213, 241, 0.74), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,242,250,0.93)),
    linear-gradient(90deg, rgba(219, 47, 147, 0.08), rgba(255, 184, 98, 0.1));
  border: 1px solid rgba(213, 79, 165, 0.15);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(72, 28, 98, 0.12);
}

.gate-copy {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
}

.diagnosis-gate .abp-upload-card {
  background: rgba(255,255,255,0.82);
  border-color: rgba(219, 47, 147, 0.22);
  backdrop-filter: blur(14px);
}

.world-assurance {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  padding: 142px 34px 72px;
  align-items: center;
}

.final-brand-cta {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin-top: 68px;
  padding: 52px 46px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 45%, rgba(255,255,255,0.22), transparent 28%),
    linear-gradient(135deg, rgba(44, 16, 98, 0.96), rgba(207, 45, 150, 0.9) 62%, rgba(255, 172, 104, 0.88));
  border-radius: 8px;
  box-shadow: 0 28px 84px rgba(73, 31, 95, 0.18);
  overflow: hidden;
}

.final-brand-cta h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.2;
  letter-spacing: 0;
}

.final-brand-cta p:not(.eyebrow) {
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-size: 17px;
  font-weight: 850;
}

.final-brand-cta .eyebrow {
  color: rgba(255,255,255,0.78);
}

.final-brand-cta .hero-button {
  white-space: nowrap;
}

.final-score-motif {
  width: 210px;
  height: 210px;
  background: rgba(255,255,255,0.82);
}

.assurance-lines {
  display: grid;
  gap: 14px;
}

.assurance-lines p {
  margin: 0;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(92, 43, 124, 0.14);
}

.assurance-lines b,
.assurance-lines span {
  display: block;
}

.assurance-lines b {
  color: #d63391;
  margin-bottom: 6px;
}

.assurance-lines span {
  color: #5f5278;
  font-weight: 800;
}

.world-faq {
  max-width: 1040px;
  padding: 82px 34px 104px;
  text-align: center;
}

.world-faq details {
  text-align: left;
  padding: 18px 20px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(73,39,113,0.12);
  border-radius: 8px;
}

.world-faq details + details {
  margin-top: 12px;
}

.world-faq summary {
  color: #190d42;
  cursor: pointer;
  font-weight: 900;
}

.world-faq p {
  margin: 10px 0 0;
  color: #5f5278;
  font-weight: 800;
}

.final-cta {
  margin-top: 26px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

.brand-world.is-enhanced .reveal:not(.is-visible) {
  opacity: 0.94;
  transform: translateY(8px);
}

.brand-world.is-enhanced .future-journey-step:not(.is-visible) {
  transform: translateY(8px) scale(0.99);
}

@keyframes mesh-breathe {
  0%, 100% {
    opacity: 0.34;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.02);
  }
}

@keyframes chip-rise {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.12);
  }
}

@keyframes analysis-label-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes analysis-line-draw {
  to {
    opacity: 1;
    transform: rotate(var(--line-rotate, 0deg)) scaleX(1);
  }
}

@keyframes future-open {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.14);
  }
}

@keyframes person-float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.006);
  }
}

@keyframes ambient-drift {
  0%, 100% {
    opacity: 0.62;
    transform: translateX(0) rotate(-14deg);
  }
  50% {
    opacity: 1;
    transform: translateX(22px) rotate(-14deg);
  }
}

@keyframes gauge-glow {
  0%, 100% {
    opacity: 0.52;
    transform: rotate(0deg);
  }
  50% {
    opacity: 0.88;
    transform: rotate(5deg);
  }
}

@keyframes step-pulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 10px 24px rgba(151, 55, 191, 0.24);
  }
  50% {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(225, 47, 149, 0.32);
  }
}

@media (max-width: 1280px) {
  .world-hero {
    grid-template-columns: minmax(360px, 0.72fr) minmax(620px, 1.45fr);
  }

  .world-future-note {
    right: 24px;
    bottom: 18px;
  }

  .brand-hero-title {
    font-size: clamp(40px, 3.2vw, 44px);
  }

  .world-person,
  .world-visual::before {
    right: 138px;
  }

  .analysis-labels {
    width: 210px;
  }

  .analysis-line {
    width: 180px;
  }
}

@media (max-width: 1023px) {
  .world-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 46px 24px 60px;
  }

  .world-visual {
    min-height: 680px;
  }

  .world-person,
  .world-visual::before {
    inset: 0;
    width: 100%;
  }

  .world-future-note {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: 0;
  }

  .future-world {
    border-radius: 0;
    margin-top: -24px;
  }

  .analysis-labels {
    right: 16px;
    top: 32px;
    width: 188px;
  }

  .analysis-label {
    min-height: 82px;
    padding: 12px 14px;
  }

  .analysis-label b {
    font-size: 28px;
  }

  .analysis-line {
    display: none;
  }

  .future-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .future-journey::before {
    display: none;
  }

  .partner-world {
    grid-template-columns: 1fr;
  }

  .partner-world div {
    justify-content: flex-start;
  }

  .story-experience {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .story-compass {
    position: relative;
    top: auto;
    min-height: 380px;
  }

  .final-brand-cta {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .final-brand-cta .hero-button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .world-assurance {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .world-hero,
  .future-world,
  .story-chapters,
  .diagnosis-gate,
  .world-assurance,
  .final-brand-cta,
  .world-faq {
    width: 100%;
  }

  .world-hero {
    padding: 28px 20px 22px;
  }

  .world-copy h1 {
    font-size: 42px;
    line-height: 1.22;
  }

  .brand-hero-line-nowrap {
    white-space: normal;
  }

  .brand-hero-mobile-line {
    display: block;
  }

  .world-copy p,
  .future-narrative p,
  .gate-copy p,
  .assurance-copy p {
    font-size: 15px;
  }

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

  .world-visual {
    min-height: 680px;
    margin-inline: -20px;
  }

  .world-person {
    object-position: 58% center;
  }

  .face-mesh {
    right: 82px;
    top: 90px;
    width: 190px;
    height: 288px;
  }

  .world-score {
    left: 18px;
    bottom: 126px;
    width: 198px;
    height: 198px;
  }

  .world-score strong {
    font-size: 58px;
  }

  .analysis-labels {
    top: 28px;
    right: 12px;
    width: 132px;
    gap: 8px;
  }

  .analysis-label {
    min-height: 64px;
    padding: 9px 10px;
  }

  .analysis-label em {
    font-size: 9px;
  }

  .analysis-label b {
    font-size: 22px;
  }

  .analysis-label small {
    display: none;
  }

  .future-world {
    min-height: 720px;
    padding: 70px 20px 36px;
  }

  .future-world > img {
    object-position: center;
  }

  .future-narrative h2,
  .story-heading h2,
  .gate-copy h2,
  .assurance-copy h2,
  .final-brand-cta h2,
  .world-faq h2 {
    font-size: 30px;
  }

  .future-journey {
    display: flex;
    gap: 12px;
    margin-inline: -20px;
    padding: 22px 20px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .future-journey-step {
    flex: 0 0 210px;
    min-height: 196px;
    scroll-snap-align: start;
    transform: none;
  }

  .story-chapters,
  .diagnosis-gate,
  .world-assurance,
  .final-brand-cta,
  .world-faq {
    padding-inline: 20px;
  }

  .story-chapters {
    padding-top: 86px;
    padding-bottom: 54px;
  }

  .story-heading {
    margin-bottom: 38px;
  }

  .story-compass {
    min-height: 310px;
  }

  .story-score-orb {
    width: 190px;
    height: 190px;
  }

  .story-score-orb strong,
  .final-score-motif span {
    font-size: 58px;
  }

  .story-light-path {
    height: 116px;
  }

  .chapter-rail::before {
    left: 36px;
  }

  .chapter-rail li,
  .chapter-rail li:nth-child(even) {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .chapter-rail li div,
  .chapter-rail li:nth-child(even) div {
    grid-column: 2;
    text-align: left;
  }

  .chapter-rail li b,
  .chapter-rail li:nth-child(even) b {
    grid-column: 1;
  }

  .chapter-rail div {
    padding: 18px 18px;
  }

  .chapter-rail h3 {
    font-size: 23px;
  }

  .diagnosis-gate {
    margin-top: 44px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .world-assurance {
    padding-top: 76px;
    padding-bottom: 46px;
  }

  .final-brand-cta {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 36px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .final-score-motif {
    width: 166px;
    height: 166px;
  }

  .final-brand-cta .hero-button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .world-copy h1 {
    font-size: 37px;
  }

  .world-visual {
    min-height: 642px;
  }

  .world-score {
    width: 184px;
    height: 184px;
    bottom: 116px;
  }

  .world-score strong {
    font-size: 52px;
  }

  .analysis-labels {
    width: 122px;
  }

  .analysis-label b {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .face-mesh,
  .analysis-label,
  .analysis-line,
  .future-journey-step,
  .world-ambient span,
  .world-person,
  .world-score::before,
  .story-score-orb::before,
  .story-mini-steps li,
  .final-score-motif::before {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
