:root {
  --primary: #000000;
  --on-primary: #ffffff;
  --ink: #000000;
  --canvas: #ffffff;
  --inverse-canvas: #000000;
  --inverse-ink: #ffffff;
  --hairline: #e6e6e6;
  --hairline-soft: #f1f1f1;
  --surface-soft: #f7f7f5;
  --block-lime: #dceeb1;
  --block-lilac: #c5b0f4;
  --block-cream: #f4ecd6;
  --block-pink: #efd4d4;
  --block-mint: #c8e6cd;
  --block-coral: #f3c9b6;
  --block-navy: #1f1d3d;
  --accent-magenta: #ff3d8b;
  --success: #1ea64a;
  --header-bg: rgba(255, 255, 255, 0.9);
  --shadow-color: #000000;
  --header-height: 72px;
  --max-width: 1040px;
  --sans: "Figma Sans", "Apple SD Gothic Neo", "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Figma Mono", "SFMono-Regular", "IBM Plex Mono", monospace;
}

body[data-design="apple"] {
  --primary: #0066cc;
  --on-primary: #ffffff;
  --ink: #1d1d1f;
  --canvas: #ffffff;
  --inverse-canvas: #000000;
  --inverse-ink: #ffffff;
  --hairline: #e0e0e0;
  --hairline-soft: #f5f5f7;
  --surface-soft: #f5f5f7;
  --block-lime: #f5f5f7;
  --block-lilac: #e8f2ff;
  --block-cream: #fafafc;
  --block-pink: #f0f0f0;
  --block-mint: #dbeaff;
  --block-coral: #f5f5f7;
  --block-navy: #000000;
  --accent-magenta: #0071e3;
  --success: #1ea64a;
  --header-bg: rgba(245, 245, 247, 0.9);
  --shadow-color: rgba(0, 102, 204, 0.34);
}

body[data-design="cursor"] {
  --primary: #f54e00;
  --on-primary: #ffffff;
  --ink: #26251e;
  --canvas: #f7f7f4;
  --inverse-canvas: #26251e;
  --inverse-ink: #f7f7f4;
  --hairline: #e6e5e0;
  --hairline-soft: #efeee8;
  --surface-soft: #fafaf7;
  --block-lime: #9fc9a2;
  --block-lilac: #c0a8dd;
  --block-cream: #dfa88f;
  --block-pink: #f3c9b6;
  --block-mint: #9fbbe0;
  --block-coral: #c08532;
  --block-navy: #26251e;
  --accent-magenta: #f54e00;
  --success: #1f8a65;
  --header-bg: rgba(247, 247, 244, 0.9);
  --shadow-color: rgba(245, 78, 0, 0.28);
}

body[data-design="figma"] {
  --primary: #000000;
  --on-primary: #ffffff;
  --ink: #000000;
  --canvas: #ffffff;
  --inverse-canvas: #000000;
  --inverse-ink: #ffffff;
  --hairline: #e6e6e6;
  --hairline-soft: #f1f1f1;
  --surface-soft: #f7f7f5;
  --block-lime: #dceeb1;
  --block-lilac: #c5b0f4;
  --block-cream: #f4ecd6;
  --block-pink: #efd4d4;
  --block-mint: #c8e6cd;
  --block-coral: #f3c9b6;
  --block-navy: #1f1d3d;
  --accent-magenta: #ff3d8b;
  --success: #1ea64a;
  --header-bg: rgba(255, 255, 255, 0.9);
  --shadow-color: #000000;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(var(--hairline-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-soft) 1px, transparent 1px),
    var(--canvas);
  background-size: 48px 48px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.45;
}

body.is-report-flow main > section:not(.report-experience),
body.is-report-flow .site-footer {
  display: none;
}

body.is-report-flow .report-experience {
  min-height: 100vh;
  border-top: 0;
  padding-top: var(--header-height);
}

body.is-report-flow .experience-shell {
  padding-top: 40px;
}

button,
input {
  font: inherit;
}

button,
a {
  color: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid var(--hairline);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-symbol {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--primary);
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 18px;
  font-weight: 700;
}

.brand-copy strong {
  display: block;
  font-size: 19px;
  font-weight: 700;
}

.brand-copy small {
  display: block;
  margin-top: 1px;
  font-size: 12px;
}

.design-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface-soft);
}

.design-switcher button {
  min-width: 72px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.design-switcher button.is-active {
  background: var(--primary);
  color: var(--on-primary);
}

.locale-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.hero-section {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  padding: 80px 0 80px;
  text-align: center;
}

.authority-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 34px;
  padding: 10px 18px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.authority-pill span,
.section-kicker span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--block-lilac);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
}

h1 {
  width: min(1100px, calc(100% - 96px));
  margin: 0;
  font-size: clamp(58px, 6.4vw, 86px);
  font-weight: 340;
  line-height: 1;
}

.hero-subtitle {
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
}

.card-strip {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: min(1040px, calc(100% - 96px));
  margin: 46px auto 42px;
}

.chapter-card {
  width: 116px;
  height: 176px;
  padding: 10px 10px 12px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--canvas);
  box-shadow: 7px 7px 0 var(--shadow-color);
  transform-origin: center bottom;
}

.rotate-left {
  transform: rotate(-3deg);
}

.rotate-right {
  transform: rotate(3deg);
}

.chapter-art {
  display: grid;
  height: 92px;
  place-items: center;
  border: 1px solid var(--primary);
  border-radius: 6px;
}

.chapter-art span {
  font-size: 32px;
  font-weight: 700;
}

.art-lime {
  background: var(--block-lime);
}

.art-lilac {
  background: var(--block-lilac);
}

.art-cream {
  background: var(--block-cream);
}

.art-mint {
  background: var(--block-mint);
}

.art-pink {
  background: var(--block-pink);
}

.art-coral {
  background: var(--block-coral);
}

.art-navy {
  background: var(--block-navy);
  color: var(--inverse-ink);
}

.chapter-card strong {
  display: block;
  margin-top: 13px;
  font-size: 13px;
  font-weight: 800;
}

.chapter-card small {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.2;
}

.input-lead {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
}

.hero-form {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  grid-template-columns: 124px 124px minmax(80px, 1fr) 150px 116px 118px 82px 164px;
  align-items: stretch;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--canvas);
  box-shadow: 8px 8px 0 var(--shadow-color);
  overflow: hidden;
}

.hero-field {
  display: grid;
  min-height: 62px;
  grid-template-rows: 18px 1fr;
  align-items: center;
  padding: 10px 14px;
  border-right: 1px solid var(--hairline);
  text-align: left;
}

.hero-field span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.hero-field input,
.final-form input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
}

/* Apple Segmented Control Toggles */
.segmented-control {
  position: relative;
  display: flex;
  width: 100%;
  height: 34px;
  margin-top: 4px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 9px;
  padding: 2px;
  user-select: none;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

body[data-design="cursor"] .segmented-control {
  background: rgba(0, 0, 0, 0.04);
}

.segmented-control input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.segmented-control label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  opacity: 0.55;
  cursor: pointer;
  z-index: 2;
  transition: color 240ms ease, opacity 240ms ease, transform 240ms cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
  padding: 0;
  margin: 0;
  transform: scale(0.96);
  white-space: nowrap;
}

.segmented-control .selection-slider {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 2px;
  right: calc(50% + 1px);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 0.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 7px;
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.06), 
    0 3px 8px rgba(0, 0, 0, 0.12),
    inset 0 0.5px 0.5px rgba(255, 255, 255, 0.9);
  z-index: 1;
  pointer-events: none;
  /* Default: Option 1 checked, or transitioning to Option 1 */
  /* Moving left: left (leading) is fast (260ms), right (trailing) is slow (340ms) with spring overshoot */
  transition: 
    left 260ms cubic-bezier(0.25, 1, 0.4, 1), 
    right 340ms cubic-bezier(0.25, 1.4, 0.5, 1),
    transform 200ms ease;
  transform: scale(1);
}

.segmented-control input[type="radio"]:nth-of-type(2):checked ~ .selection-slider {
  left: calc(50% + 1px);
  right: 2px;
  /* Moving right: right (leading) is fast (260ms), left (trailing) is slow (340ms) with spring overshoot */
  transition: 
    left 340ms cubic-bezier(0.25, 1.4, 0.5, 1), 
    right 260ms cubic-bezier(0.25, 1, 0.4, 1),
    transform 200ms ease;
}

.segmented-control:active .selection-slider {
  transform: scale(0.96, 0.92);
}

.segmented-control input[type="radio"]:checked + label {
  opacity: 1;
  color: var(--ink);
  transform: scale(1);
}

.segmented-control label:hover {
  opacity: 0.85;
}

.unknown-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 62px;
  padding: 0 12px;
  border-right: 1px solid var(--hairline);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.unknown-time input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.primary-button,
.report-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.primary-button:hover,
.report-button:hover {
  background: var(--accent-magenta);
}

.completion-count {
  margin: 20px 0 0;
  font-size: 15px;
}

.privacy-copy {
  width: 520px;
  margin: 30px 0 20px;
  font-size: 17px;
  font-weight: 600;
}

.trust-badge {
  width: 420px;
  padding: 18px 22px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--block-mint);
  text-align: left;
  box-shadow: 7px 7px 0 var(--shadow-color);
}

.trust-badge span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.trust-badge strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.trust-badge small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

.scroll-mark {
  position: absolute;
  bottom: 28px;
  left: 50%;
  font-family: var(--mono);
  font-size: 11px;
  transform: translateX(-50%);
}

.intro-section,
.stories-section,
.discover-section,
.how-section,
.institute-section,
.faq-section,
.final-section {
  padding: 112px calc((100vw - var(--max-width)) / 2);
  border-top: 1px solid var(--hairline);
}

.intro-section {
  min-height: 560px;
  background: var(--block-cream);
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
}

.intro-section h2,
.stories-section h2,
.discover-section h2,
.how-section h2,
.institute-section h2,
.faq-section h2,
.final-section h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 340;
  line-height: 1.1;
  text-align: center;
}

.intro-section > p:last-child,
.discover-copy {
  width: 620px;
  margin: 28px auto 0;
  font-size: 22px;
  line-height: 1.55;
}

.stories-section {
  background: var(--canvas);
}

.stories-section .section-kicker,
.stories-section h2,
.discover-section .section-kicker,
.discover-section h2,
.discover-copy,
.how-section .section-kicker,
.how-section h2,
.institute-section .section-kicker,
.institute-section h2 {
  display: flex;
  justify-content: center;
}

.story-list {
  display: grid;
  gap: 22px;
  width: 980px;
  margin: 64px auto 0;
}

.story-card {
  padding: 30px 34px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--surface-soft);
}

.person-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--primary);
  border-radius: 50%;
  background: var(--block-lime);
  font-weight: 800;
}

.person-row strong,
.person-row small {
  display: block;
}

.person-row small {
  margin-top: 2px;
  font-size: 13px;
}

.story-card p {
  margin: 22px 0 18px;
  font-size: 18px;
  line-height: 1.7;
}

.story-card em {
  color: var(--accent-magenta);
  font-style: normal;
  font-weight: 800;
}

.satisfaction {
  margin: 40px 0 0;
  text-align: center;
  font-weight: 800;
}

.discover-section {
  overflow: hidden;
  background: var(--inverse-canvas);
  color: var(--inverse-ink);
}

.discover-section .section-kicker span {
  background: var(--block-lime);
}

.phone-gallery {
  display: flex;
  gap: 30px;
  width: max-content;
  margin: 74px 0 54px;
  padding-left: calc((100vw - var(--max-width)) / 2);
}

.phone-card {
  width: 214px;
}

.phone-card p {
  min-height: 42px;
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.phone-frame {
  width: 214px;
  height: 420px;
  padding: 16px;
  border: 2px solid var(--inverse-ink);
  border-radius: 34px;
  background: var(--inverse-ink);
  color: var(--ink);
}

.report-page {
  display: grid;
  height: 100%;
  align-content: start;
  gap: 18px;
  padding: 26px 20px;
  border-radius: 24px;
  background: var(--block-lime);
}

.report-page span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.report-page strong {
  font-size: 24px;
  line-height: 1.25;
}

.report-page i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}

.block-lilac {
  background: var(--block-lilac);
}

.block-cream {
  background: var(--block-cream);
}

.block-mint {
  background: var(--block-mint);
}

.block-pink {
  background: var(--block-pink);
}

.timeline {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  background: var(--block-coral);
}

.timeline span {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  text-align: center;
}

.fade-card {
  opacity: 0.45;
}

.discover-chips {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.discover-chips span {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 14px;
}

.report-button {
  width: 220px;
  height: 60px;
  margin: 0 auto;
  border: 1px solid var(--inverse-ink);
  border-radius: 0;
  background: var(--block-lime);
  color: var(--ink);
}

.how-section {
  background: var(--block-lilac);
}

.how-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 960px;
  margin: 64px auto 0;
}

.how-grid article,
.trust-grid article {
  min-height: 260px;
  padding: 32px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--canvas);
}

.how-grid span,
.trust-grid span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 22px;
  font-weight: 800;
}

.how-grid h3,
.trust-grid h3 {
  margin: 38px 0 16px;
  font-size: 24px;
}

.how-grid p,
.trust-grid p {
  margin: 0;
  line-height: 1.65;
}

.method-note {
  width: max-content;
  margin: 46px auto 0;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 800;
}

.institute-section {
  background: var(--canvas);
}

.trust-grid article:nth-child(1) {
  background: var(--block-lime);
}

.trust-grid article:nth-child(2) {
  background: var(--block-cream);
}

.trust-grid article:nth-child(3) {
  background: var(--block-mint);
}

.faq-section {
  background: var(--surface-soft);
}

.faq-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 860px;
  min-height: 76px;
  margin: 28px auto 0;
  padding: 0 28px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--canvas);
  font-size: 22px;
  font-weight: 800;
  text-align: left;
}

.faq-row b {
  font-size: 28px;
}

.faq-answer {
  display: none;
  width: 860px;
  margin: 0 auto;
  padding: 22px 28px 28px;
  border-right: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
  border-left: 1px solid var(--primary);
  border-radius: 0 0 8px 8px;
  background: var(--block-cream);
  line-height: 1.7;
}

.faq-row.is-open {
  border-radius: 8px 8px 0 0;
  background: var(--block-lime);
}

.faq-row.is-open + .faq-answer {
  display: block;
}

.final-section {
  background: var(--block-navy);
  color: var(--inverse-ink);
  text-align: center;
}

.final-section p {
  margin: 28px 0;
  font-size: 22px;
}

.final-form {
  display: grid;
  width: 520px;
  grid-template-columns: 1fr 180px;
  margin: 0 auto 18px;
  border: 1px solid var(--inverse-ink);
  border-radius: 8px;
  background: var(--inverse-ink);
  overflow: hidden;
}

.final-form input {
  min-height: 62px;
  padding: 0 18px;
}

.final-form .primary-button {
  background: var(--block-lime);
  color: var(--ink);
}

.final-section small {
  font-size: 15px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px calc((100vw - var(--max-width)) / 2);
  border-top: 1px solid var(--hairline);
  background: var(--canvas);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

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

.analysis-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.74);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.analysis-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.analysis-card {
  width: 420px;
  padding: 36px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--canvas);
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--shadow-color);
  text-align: center;
}

.analysis-card > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 24px;
  font-weight: 800;
}

.analysis-card h2 {
  margin: 0;
  font-size: 30px;
}

.analysis-card p {
  margin: 16px 0 26px;
}

.progress-bar {
  height: 10px;
  overflow: hidden;
  border: 1px solid var(--primary);
  border-radius: 999px;
}

.progress-bar i {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--accent-magenta);
  animation: loading 1800ms ease-in-out infinite alternate;
}

.analysis-card button {
  margin-top: 24px;
  padding: 8px 18px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--canvas);
  font-weight: 800;
}

@keyframes loading {
  to {
    width: 92%;
  }
}

.analysis-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.analysis-actions button {
  margin-top: 0;
}

.analysis-actions button:last-child {
  background: var(--primary);
  color: var(--on-primary);
}

.report-portal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(195, 164, 88, 0.12), transparent 28%),
    #050505;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  pointer-events: none;
}

.report-portal.is-active {
  animation: portal-fade 960ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.portal-stage {
  display: grid;
  width: min(560px, calc(100% - 44px));
  justify-items: center;
  transform: translateY(12px);
  text-align: center;
}

.portal-avatar {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(201, 169, 92, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #c9a95c;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 0 48px rgba(201, 169, 92, 0.22);
}

.portal-stage > strong {
  margin-top: 16px;
  color: #c9a95c;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.portal-stage h2 {
  margin: 28px 0 8px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
}

.portal-stage p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 17px;
}

.portal-progress {
  width: min(360px, 80vw);
  height: 7px;
  overflow: hidden;
  margin: 38px 0 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.portal-progress i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: #d0af65;
  box-shadow: 0 0 24px rgba(208, 175, 101, 0.35);
  animation: portal-progress 960ms ease-in-out both;
}

.portal-review {
  width: min(520px, 100%);
  border: 1px solid rgba(201, 169, 92, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  padding: 26px;
}

.portal-review span,
.portal-review small {
  display: block;
  color: rgba(255, 255, 255, 0.36);
  font-size: 14px;
}

.portal-review b {
  display: block;
  margin: 14px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
}

.portal-stage em {
  margin-top: 34px;
  color: #bd5c55;
  font-style: normal;
  font-weight: 800;
}

.report-experience {
  background: var(--canvas);
  border-top: 1px solid var(--primary);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.experience-shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 110px;
}

.limited-pass {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 12%, rgba(201, 169, 92, 0.16), transparent 26%),
    linear-gradient(180deg, #080807 0%, #030303 100%);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 10px 10px 0 var(--shadow-color);
  padding: 420px 64px 64px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.limited-pass .section-kicker {
  color: #c9a95c;
}

.limited-pass h2,
.core-report h2,
.section-picker h2,
.generation-workspace h2,
.final-report-view h2 {
  margin: 10px 0 18px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.limited-pass p:not(.section-kicker) {
  width: min(640px, 100%);
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.55;
}

.pass-deck {
  position: absolute;
  top: 54px;
  left: 50%;
  width: min(820px, calc(100% - 64px));
  height: 310px;
  transform: translateX(-50%);
}

.pass-card {
  position: absolute;
  top: 18px;
  display: grid;
  width: 248px;
  height: 282px;
  align-content: space-between;
  border: 1px solid rgba(201, 169, 92, 0.85);
  border-radius: 10px;
  background: #fbfaf5;
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  padding: 28px;
  transform-origin: center bottom;
  animation: card-breathe 2400ms ease-in-out infinite alternate;
}

.pass-card span {
  color: #9a7c39;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pass-card strong {
  display: block;
  margin-top: auto;
  font-size: 30px;
  line-height: 1.1;
}

.pass-card small {
  display: block;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  font-size: 13px;
  line-height: 1.4;
}

.pass-card.is-left {
  left: 0;
  transform: translateX(8px) rotate(-4deg) scale(0.93);
}

.pass-card.is-center {
  z-index: 2;
  left: 50%;
  transform: translateX(-50%) translateY(-12px) scale(1.08);
}

.pass-card.is-right {
  right: 0;
  transform: translateX(-8px) rotate(4deg) scale(0.93);
}

.pass-progress {
  display: flex;
  gap: 22px;
  margin: 26px 0 0;
}

.pass-progress i {
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.pass-progress i:first-child {
  width: 64px;
  background: #c9a95c;
}

.pass-price {
  display: flex;
  width: min(420px, 100%);
  align-items: center;
  justify-content: space-between;
  margin: 46px 0 22px;
  border: 1px solid rgba(201, 169, 92, 0.42);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
}

.pass-price span {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
}

.pass-price strong {
  color: #d0af65;
  font-size: 32px;
}

.pass-button {
  min-width: 220px;
}

.limited-pass .pass-button {
  min-width: 300px;
  min-height: 62px;
  border: 1px solid rgba(201, 169, 92, 0.75);
  border-radius: 8px;
  background: #c9a95c;
  color: #050505;
  box-shadow: 0 18px 42px rgba(201, 169, 92, 0.18);
}

.limited-pass .pass-button:hover {
  background: #d9bb72;
}

.core-report,
.generation-workspace {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.report-sidebar,
.canonical-column {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  align-self: start;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--block-lime);
  padding: 28px;
  box-shadow: 8px 8px 0 var(--shadow-color);
}

.report-sidebar p:not(.section-kicker),
.canonical-column p:not(.section-kicker),
.section-picker > p:not(.section-kicker) {
  line-height: 1.55;
}

.report-tabs {
  display: grid;
  gap: 8px;
  margin: 28px 0;
}

.report-tabs button,
.section-card,
.queue-item,
.stream-item {
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--canvas);
  color: var(--ink);
}

.report-tabs button {
  min-height: 46px;
  padding: 0 14px;
  text-align: left;
  font-weight: 900;
}

.report-tabs button.is-active {
  background: var(--primary);
  color: var(--on-primary);
}

.report-document {
  min-height: 640px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--canvas);
  box-shadow: 8px 8px 0 var(--shadow-color);
  padding: clamp(28px, 5vw, 64px);
}

.report-document h1,
.report-document h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.report-document h3 {
  margin: 38px 0 14px;
  font-size: 25px;
  line-height: 1.18;
}

.report-document p,
.report-document li {
  font-size: 18px;
  line-height: 1.78;
}

.report-document p {
  margin: 0 0 18px;
}

.report-document ul,
.report-document ol {
  padding-left: 22px;
}

.report-document table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.report-document th,
.report-document td {
  border: 1px solid var(--primary);
  padding: 10px;
  vertical-align: top;
}

.report-document th {
  background: var(--surface-soft);
}

.section-picker {
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--block-lilac);
  box-shadow: 8px 8px 0 var(--shadow-color);
  padding: 46px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
  align-items: start;
}

.section-card {
  min-height: 154px;
  padding: 18px;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
  display: flex;
  flex-direction: column;
}

.section-card:hover {
  transform: translate(-2px, -2px);
}

.section-card.is-selected {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 5px 5px 0 var(--accent-magenta);
}

.section-card span {
  font-family: var(--mono);
  font-size: 13px;
}

.section-card strong {
  display: block;
  margin-top: 18px;
  font-size: 28px;
  line-height: 1;
}

.section-card-main {
  display: flex;
  flex-direction: column;
}

.details-toggle-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 12px;
  border: 1px dashed var(--primary);
  border-radius: 4px;
  background: transparent;
  color: var(--primary);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 160ms ease;
  width: fit-content;
  text-align: center;
}

.details-toggle-btn:hover {
  background: var(--surface-soft);
}

.section-card.is-selected .details-toggle-btn {
  border-color: var(--on-primary);
  color: var(--on-primary);
}

.section-card.is-selected .details-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.card-details-panel {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(0, 0, 0, 0.15);
  font-size: 14px;
  line-height: 1.5;
}

.section-card.is-selected .card-details-panel {
  border-top-color: rgba(255, 255, 255, 0.25);
}

.details-direction {
  margin: 0 0 12px 0;
  font-weight: 700;
  color: var(--ink);
  opacity: 0.85;
}

.section-card.is-selected .details-direction {
  color: var(--on-primary);
  opacity: 0.95;
}

.details-questions {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
}

.details-questions li {
  margin-bottom: 6px;
  color: var(--ink);
  opacity: 0.75;
}

.details-questions li:last-child {
  margin-bottom: 0;
}

.section-card.is-selected .details-questions li {
  color: var(--on-primary);
  opacity: 0.85;
}

.picker-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
}

.picker-action-row > span {
  font-family: var(--mono);
  font-weight: 800;
}

.stream-column {
  min-width: 0;
}

.stream-list,
.canonical-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.stream-item {
  overflow: hidden;
}

.stream-item header,
.queue-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.stream-item header {
  border-bottom: 1px solid var(--primary);
  background: var(--block-cream);
}

.stream-item:nth-child(2n) header {
  background: var(--block-mint);
}

.section-index {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--primary);
  border-radius: 50%;
  background: var(--canvas);
  font-weight: 900;
}

.status-chip {
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.status-chip.generating {
  background: var(--block-lilac);
}

.status-chip.ready {
  background: var(--block-lime);
}

.stream-item .report-document {
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 26px;
  max-height: 460px;
  overflow: auto;
}

.queue-item {
  min-height: 66px;
}

.queue-item.is-ready {
  background: var(--block-lime);
}

.queue-item.is-generating {
  background: var(--block-lilac);
}

.queue-item.is-waiting {
  background: var(--surface-soft);
}

.canonical-column {
  background: var(--block-pink);
}

.canonical-column .primary-button {
  width: 100%;
  margin-top: 20px;
}

.final-report-view {
  display: grid;
  gap: 24px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.final-report-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--block-mint);
  box-shadow: 8px 8px 0 var(--shadow-color);
  padding: 28px;
}

.final-report-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.final-document {
  max-width: 920px;
  margin: 0 auto;
}

.fade-in-up {
  animation: fade-in-up 420ms ease both;
}

@keyframes card-breathe {
  to {
    filter: drop-shadow(0 20px 32px rgba(201, 169, 92, 0.18));
  }
}

@keyframes portal-fade {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }
  18%,
  82% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.98);
  }
}

@keyframes portal-progress {
  from {
    width: 18%;
  }
  to {
    width: 92%;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media print {
  body.is-printing-report {
    background: #fff;
  }

  body.is-printing-report * {
    visibility: hidden !important;
  }

  body.is-printing-report #finalReportView,
  body.is-printing-report #finalReportView * {
    visibility: visible !important;
  }

  body.is-printing-report #finalReportView {
    position: absolute;
    top: 0;
    left: 0;
    display: block !important;
    width: 100%;
  }

  body.is-printing-report .final-report-actions {
    display: none !important;
  }

  body.is-printing-report .final-report-head,
  body.is-printing-report .final-document {
    border: 0;
    box-shadow: none;
  }

  body.is-printing-report .final-document {
    max-width: none;
    padding: 0;
  }

  body.is-printing-report .final-document h2,
  body.is-printing-report .final-document h3,
  body.is-printing-report .final-document h4 {
    break-after: avoid;
  }

  body.is-printing-report .final-document p,
  body.is-printing-report .final-document li,
  body.is-printing-report .final-document table {
    break-inside: avoid;
  }
}

@media (max-width: 1180px) {
  body {
    min-width: 0;
  }

  .site-header,
  .intro-section,
  .stories-section,
  .discover-section,
  .how-section,
  .institute-section,
  .faq-section,
  .final-section,
  .site-footer {
    padding-right: 32px;
    padding-left: 32px;
  }

  .site-header {
    gap: 16px;
  }

  .design-switcher {
    order: 3;
  }

  h1 {
    width: calc(100% - 48px);
    font-size: 64px;
  }

  .card-strip {
    width: calc(100% - 48px);
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 12px 16px;
  }

  .hero-form,
  .story-list,
  .how-grid,
  .trust-grid,
  .faq-row,
  .faq-answer {
    width: 100%;
  }

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

  .hero-field,
  .unknown-time {
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .primary-button {
    min-height: 62px;
  }

  .intro-section h2,
  .stories-section h2,
  .discover-section h2,
  .how-section h2,
  .institute-section h2,
  .faq-section h2,
  .final-section h2 {
    font-size: 46px;
  }

  .intro-section > p:last-child,
  .discover-copy,
  .privacy-copy {
    width: 100%;
  }

  .phone-gallery {
    padding-left: 0;
  }

  .how-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    gap: 18px;
  }

  .core-report,
  .generation-workspace {
    grid-template-columns: 1fr;
  }

  .report-sidebar,
  .canonical-column {
    position: static;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 0 18px;
  }

  .hero-section {
    padding: 68px 0 56px;
  }

  .authority-pill {
    max-width: calc(100% - 28px);
    margin-bottom: 28px;
    font-size: 13px;
  }

  h1 {
    width: calc(100% - 28px);
    font-size: 44px;
    line-height: 1.06;
  }

  .hero-subtitle {
    width: calc(100% - 28px);
    margin-top: 14px;
    font-size: 13px;
  }

  .card-strip {
    width: 100%;
    margin: 34px auto 28px;
    padding: 0 14px 14px;
  }

  .chapter-card {
    width: 94px;
    height: 144px;
    padding: 8px 8px 10px;
    box-shadow: 5px 5px 0 var(--shadow-color);
  }

  .chapter-art {
    height: 70px;
  }

  .chapter-card strong {
    margin-top: 10px;
    font-size: 12px;
  }

  .input-lead {
    width: calc(100% - 28px);
    font-size: 15px;
  }

  .trust-badge {
    width: calc(100% - 28px);
  }

  .phone-gallery {
    width: 100%;
    overflow-x: auto;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand-copy {
    display: none;
  }

  .locale-button {
    display: none;
  }

  .design-switcher button {
    min-width: 58px;
    padding: 0 9px;
    font-size: 12px;
  }

  .experience-shell {
    width: calc(100% - 28px);
    padding: 52px 0 80px;
  }

  .limited-pass,
  .section-picker,
  .report-document,
  .final-report-head {
    padding: 24px;
  }

  .limited-pass {
    min-height: auto;
    padding-top: 292px;
  }

  .pass-deck {
    top: 30px;
    width: calc(100% - 28px);
    height: 228px;
  }

  .pass-card {
    width: 152px;
    height: 206px;
    padding: 20px;
  }

  .pass-card strong {
    font-size: 21px;
  }

  .pass-card small {
    font-size: 11px;
  }

  .pass-card.is-left {
    left: -18px;
  }

  .pass-card.is-right {
    right: -18px;
  }

  .limited-pass h2 {
    font-size: 32px;
  }

  .pass-price {
    margin: 28px 0 14px;
  }

  .limited-pass .pass-button {
    width: 100%;
    min-width: 0;
  }

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

  .picker-action-row,
  .final-report-head {
    align-items: stretch;
    flex-direction: column;
  }

  .stream-item header,
  .queue-item {
    grid-template-columns: auto 1fr;
  }

  .status-chip {
    grid-column: 2;
    justify-self: start;
  }
}
