@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/montserrat-400.ttf") format("truetype");
}

/* TIAS mobile-first landing polish */
.landing-hero-copy h1 {
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.landing-lede {
  max-width: 540px;
}

.landing-steps-card {
  gap: 0;
  padding: clamp(22px, 2.8vw, 32px);
}

.landing-steps-card article {
  min-height: 66px;
  padding: 13px 0;
}

.landing-steps-card p {
  margin-top: 18px;
  font-size: 14px;
}

.recognition-checklist {
  display: grid;
  gap: 0;
  max-width: 900px;
  margin-top: 34px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(24, 61, 50, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(246, 240, 230, 0.64));
  box-shadow: 0 14px 36px rgba(24, 61, 50, 0.04);
}

.recognition-checklist p {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid rgba(24, 61, 50, 0.1);
  color: #202a24;
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 710;
  line-height: 1.4;
}

.recognition-checklist p:first-child {
  border-top: 0;
  padding-top: 0;
}

.recognition-checklist p:last-child {
  padding-bottom: 0;
}

.recognition-checklist span {
  width: 10px;
  height: 10px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 0 0 0 6px rgba(24, 61, 50, 0.08);
}

.emotional-hook-section {
  padding-top: 64px;
  padding-bottom: 70px;
}

.research-foundation-section {
  padding-top: 44px;
  padding-bottom: 48px;
}

.research-foundation-section h2 {
  max-width: 700px;
  font-size: clamp(25px, 2.8vw, 34px);
}

.research-foundation-grid {
  gap: 8px;
  margin-top: 22px;
}

.research-foundation-grid article {
  min-height: 96px;
  padding: 14px;
  border-color: rgba(24, 61, 50, 0.09);
  background: rgba(255, 253, 248, 0.42);
}

.research-foundation-grid strong {
  font-size: 13px;
}

.research-foundation-grid p {
  margin-top: 8px;
  font-size: 12px;
}

.research-footer {
  margin-top: 18px;
  font-size: 13px;
}

.conversion-card {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(24, 61, 50, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(244, 239, 230, 0.68));
  box-shadow: var(--shadow-editorial);
}

.conversion-card-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.conversion-card-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 780;
  line-height: 1.1;
}

.conversion-card-header p:last-child {
  max-width: 560px;
  margin: 12px 0 0;
  color: #59615a;
  font-size: 16px;
  line-height: 1.6;
}

.conversion-card .registration-grid {
  grid-template-columns: minmax(260px, 0.48fr) minmax(320px, 0.52fr);
  gap: clamp(18px, 4vw, 40px);
  align-items: stretch;
}

.conversion-card .pricing-card,
.conversion-card .beta-account-panel {
  height: 100%;
  box-shadow: none;
}

.conversion-card .pricing-card {
  border-color: rgba(24, 61, 50, 0.12);
  background: rgba(255, 253, 248, 0.62);
}

.conversion-card .beta-account-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.conversion-card .account-form {
  margin-top: 0;
}

.conversion-trust-note {
  margin: 22px 0 0;
  color: var(--sage);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .landing-hero-copy h1 {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .landing-lede {
    font-size: 16px;
    line-height: 1.55;
  }

  .landing-actions {
    margin-top: 20px;
  }

  .landing-trust-row {
    margin-top: 20px;
  }

  .landing-steps-card {
    padding: 16px;
  }

  .landing-steps-card article {
    min-height: 58px;
    padding: 11px 0;
  }

  .emotional-hook-section {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .recognition-checklist {
    margin-top: 24px;
    padding: 18px;
    border-radius: 16px;
  }

  .recognition-checklist p {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 0;
    font-size: 17px;
  }

  .recognition-checklist span {
    width: 8px;
    height: 8px;
    margin-top: 8px;
    box-shadow: 0 0 0 5px rgba(24, 61, 50, 0.08);
  }

  .research-foundation-section {
    padding-top: 36px;
    padding-bottom: 38px;
  }

  .research-foundation-section h2 {
    font-size: 26px;
  }

  .research-foundation-grid article {
    padding: 13px;
  }

  .conversion-card {
    padding: 20px;
    border-radius: 18px;
  }

  .conversion-card-header {
    margin-bottom: 20px;
  }

  .conversion-card-header h2 {
    font-size: 30px;
  }

  .conversion-card .registration-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .conversion-card .pricing-card {
    padding: 20px;
  }

  .account-form input,
  .account-form .primary,
  .primary,
  .secondary {
    min-height: 48px;
  }
}

.pricing-card .price-anchor,
.payment-panel .price-anchor {
  display: grid;
}

.pricing-card .price-anchor-original s,
.payment-panel .price-anchor-original s {
  color: #7a8078;
  text-decoration-line: line-through;
  text-decoration-thickness: 2px;
}

.pricing-card .price-anchor-promo strong,
.payment-panel .price-anchor-promo strong {
  color: #183d32;
  line-height: 1;
  font-weight: 900;
}

/* TIAS landing IA rewrite: recognition before research */
.landing-steps-card {
  display: grid;
  gap: 0;
  padding: clamp(24px, 3vw, 34px);
}

.landing-steps-card article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 78px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(24, 61, 50, 0.13);
}

.landing-steps-card article:first-child {
  padding-top: 0;
}

.landing-steps-card article span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.landing-steps-card article strong {
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 720;
  line-height: 1.28;
}

.landing-steps-card p {
  margin: 22px 0 0;
  color: #566158;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.emotional-hook-section {
  padding-top: 76px;
  padding-bottom: 80px;
}

.emotional-hook-section h2 {
  max-width: 900px;
  font-size: clamp(36px, 4.8vw, 54px);
  line-height: 1.08;
}

.emotional-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
  border: 0;
  background: transparent;
}

.emotional-card-grid article {
  min-height: 170px;
  padding: 26px 22px;
  border: 1px solid rgba(24, 61, 50, 0.15);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(244, 239, 230, 0.78));
  color: #202a24;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 730;
  line-height: 1.42;
  box-shadow: 0 16px 36px rgba(24, 61, 50, 0.045);
}

.landing-closing-line {
  max-width: 820px;
  margin-top: 40px;
  color: #24362f;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.28;
}

.discover-section {
  padding-top: 70px;
}

.why-tias-section {
  order: initial;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
  border-top: 1px solid rgba(24, 61, 50, 0.1);
}

.why-tias-copy p {
  max-width: 620px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.62;
}

.research-foundation-section {
  padding-top: 58px;
  padding-bottom: 62px;
  border-top: 1px solid rgba(24, 61, 50, 0.1);
  border-bottom: 1px solid rgba(24, 61, 50, 0.1);
}

.research-foundation-section h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.14;
}

.research-foundation-grid {
  gap: 10px;
  margin-top: 28px;
}

.research-foundation-grid article {
  min-height: 112px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.56);
  box-shadow: none;
}

.research-foundation-grid strong {
  font-size: 14px;
  font-weight: 740;
}

.research-foundation-grid p {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.52;
}

.research-footer {
  max-width: 680px;
  margin-top: 22px;
  font-size: 13.5px;
  font-weight: 550;
}

.registration-section {
  padding-top: 74px;
}

.registration-grid {
  grid-template-columns: minmax(280px, 0.55fr) minmax(320px, 0.55fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: stretch;
}

.registration-copy,
.registration-section .beta-account-panel {
  min-width: 0;
}

.pricing-card {
  display: grid;
  align-content: start;
  width: 100%;
  height: 100%;
  margin-top: 0;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 16px;
}

.pricing-card span {
  color: var(--sage);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card strong {
  margin-top: 14px;
  font-size: clamp(46px, 5.4vw, 64px);
}

.pricing-card ul {
  margin-top: 28px;
  gap: 12px;
}

.registration-section .beta-account-panel {
  align-self: stretch;
  padding: clamp(24px, 3vw, 34px);
}

@media (max-width: 760px) {
  .landing-steps-card {
    padding: 18px;
  }

  .landing-steps-card article {
    min-height: 64px;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
  }

  .landing-steps-card article span {
    width: 36px;
    height: 36px;
  }

  .landing-steps-card article strong {
    font-size: 17px;
  }

  .emotional-hook-section {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .emotional-hook-section h2 {
    font-size: 32px;
    line-height: 1.13;
  }

  .emotional-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }

  .emotional-card-grid article {
    min-height: auto;
    padding: 20px;
    font-size: 17px;
  }

  .landing-closing-line {
    margin-top: 28px;
    font-size: 23px;
  }

  .why-tias-section {
    padding-top: 50px;
    padding-bottom: 52px;
  }

  .research-foundation-section {
    padding-top: 48px;
    padding-bottom: 50px;
  }

  .research-foundation-section h2 {
    font-size: 29px;
  }

  .research-foundation-grid {
    grid-template-columns: 1fr;
  }

  .research-foundation-grid article {
    min-height: auto;
    padding: 15px;
  }

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

/* TIAS product UI system v2: premium editorial, calm, unified */
:root {
  --ink: #1d211e;
  --muted: #6d7068;
  --paper: #f8f4ec;
  --panel: #fffdf8;
  --line: #dfd6c8;
  --line-strong: #cbbda9;
  --sage: #183d32;
  --sage-soft: #edf2ec;
  --clay: #8a6250;
  --indigo: #183d32;
  --gold: #a98a56;
  --terracotta: #8a6250;
  --accent: #183d32;
  --answer-bg: #fffdf8;
  --answer-hover: #f6f0e6;
  --answer-selected: #edf2ec;
  --shadow-soft: 0 14px 34px rgba(30, 39, 34, 0.055);
  --shadow-editorial: 0 18px 42px rgba(30, 39, 34, 0.065);
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 253, 248, 0.9), rgba(248, 244, 236, 0) 330px),
    var(--paper);
  color: var(--ink);
}

.hero,
.dashboard-shell,
.assessment-shell,
.report-shell,
.loading-screen,
.landing-section {
  width: min(1120px, calc(100% - 40px));
}

.topbar {
  min-height: 52px;
  border-bottom: 1px solid rgba(24, 61, 50, 0.12);
}

.topbar strong {
  color: var(--sage);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.topbar span {
  color: #656961;
  font-size: 13px;
  font-weight: 600;
}

h1 {
  font-weight: 800;
  line-height: 1.06;
}

.eyebrow,
.category,
.landing-badge {
  color: var(--sage);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.13em;
}

.primary,
.secondary {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: none;
}

.primary {
  background: var(--sage);
  color: #fffdf8;
}

.primary:hover {
  background: #102e26;
}

.secondary {
  border: 1px solid rgba(24, 61, 50, 0.18);
  background: rgba(255, 253, 248, 0.78);
  color: var(--sage);
}

.secondary:hover {
  border-color: rgba(24, 61, 50, 0.34);
  background: #fffdf8;
}

.beta-account-panel,
.question-card,
.panel,
.score-grid > div {
  border: 1px solid rgba(24, 61, 50, 0.13);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow-soft);
}

.panel {
  margin-top: 16px;
  padding: clamp(20px, 3vw, 28px);
}

.panel h2 {
  color: var(--ink);
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 750;
  line-height: 1.2;
}

.panel-copy,
.panel p,
.simple-intro p,
.readable-section p,
.report-subtitle {
  color: #4f554d;
  font-size: 16px;
  line-height: 1.65;
}

.account-form input,
.context-select select,
.text-feedback-field textarea,
.select-field select {
  min-height: 50px;
  border-radius: 11px;
  border-color: rgba(24, 61, 50, 0.16);
  background: #fffdf8;
}

.account-form input:focus,
.context-select select:focus,
.text-feedback-field textarea:focus,
.select-field select:focus {
  border-color: var(--sage);
  outline: none;
  box-shadow: 0 0 0 3px rgba(24, 61, 50, 0.1);
}

.context-options span,
.rating-options span,
.choice-options span {
  border-radius: 11px;
  border-color: rgba(24, 61, 50, 0.16);
  background: rgba(255, 253, 248, 0.82);
  font-weight: 650;
}

.context-options input:checked + span,
.rating-options input:checked + span,
.choice-options input:checked + span {
  border-color: var(--sage);
  background: var(--sage-soft);
  color: var(--sage);
  box-shadow: inset 0 0 0 1px rgba(24, 61, 50, 0.16);
}

.editorial-landing {
  width: min(1120px, calc(100% - 40px));
  min-height: auto;
}

.landing-hero-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(310px, 0.62fr);
  gap: clamp(34px, 5vw, 64px);
  min-height: min(690px, calc(100vh - 52px));
  padding: clamp(36px, 5vw, 62px) 0 54px;
}

.landing-hero-copy h1 {
  max-width: 670px;
  font-size: clamp(56px, 6.2vw, 72px);
  font-weight: 820;
  line-height: 1.04;
  letter-spacing: 0;
}

.landing-lede {
  max-width: 560px;
  margin-top: 24px;
  color: #3f453f;
  font-size: clamp(18px, 1.75vw, 21px);
  font-weight: 500;
  line-height: 1.58;
}

.landing-actions {
  margin-top: 30px;
}

.landing-actions .primary,
.landing-actions .secondary {
  min-width: 172px;
}

.landing-trust-row {
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(24, 61, 50, 0.16);
}

.landing-trust-row article {
  padding: 16px 18px 0 0;
  border-top: 0;
}

.landing-trust-row strong {
  font-size: 13px;
  font-weight: 760;
}

.landing-trust-row span {
  color: #656961;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.landing-hero-statement {
  align-self: center;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(24, 61, 50, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(238, 232, 221, 0.58));
  box-shadow: var(--shadow-editorial);
}

.landing-hero-statement p {
  color: #1f2b25;
  font-size: clamp(24px, 2.65vw, 34px);
  font-weight: 730;
  line-height: 1.22;
}

.landing-hero-statement p + p {
  margin-top: 22px;
  color: #59635a;
  font-size: clamp(17px, 1.65vw, 21px);
  font-weight: 500;
  line-height: 1.6;
}

.landing-hero-statement span {
  margin-top: 26px;
  color: var(--sage);
  font-size: 11px;
  font-weight: 760;
}

.landing-section {
  padding: 66px 0;
}

.landing-section h2,
.emotional-hook-section h2,
.discover-section h2,
.research-foundation-section h2,
.why-tias-section h2,
.registration-copy h2 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 760;
  line-height: 1.12;
}

.emotional-hook-section {
  padding-top: 68px;
}

.emotional-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
  border: 0;
  background: transparent;
}

.emotional-card-grid article {
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(24, 61, 50, 0.13);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.76);
  color: #26312b;
  font-size: 16px;
  font-weight: 680;
  line-height: 1.45;
}

.landing-closing-line {
  color: #2f3d35;
  font-size: clamp(22px, 2.7vw, 32px);
  font-weight: 690;
  line-height: 1.3;
}

.discovery-grid {
  gap: 14px;
}

.discovery-grid article,
.research-foundation-grid article,
.why-tias-note,
.pricing-card {
  border-radius: 14px;
  border-color: rgba(24, 61, 50, 0.13);
  background: rgba(255, 253, 248, 0.76);
  box-shadow: none;
}

.discovery-grid article {
  min-height: 218px;
  padding: 22px;
}

.discovery-grid span {
  color: #9a8b79;
  font-weight: 760;
}

.discovery-grid strong,
.research-foundation-grid strong {
  color: var(--sage);
  font-weight: 760;
}

.research-foundation-section,
.registration-section {
  border-color: rgba(24, 61, 50, 0.12);
}

.research-footer {
  border-left: 2px solid var(--sage);
  color: #4f554d;
  font-weight: 550;
  line-height: 1.65;
}

.why-tias-section {
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.why-tias-copy p {
  color: #4a514b;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.65;
}

.why-tias-note {
  background: rgba(237, 242, 236, 0.9);
}

.registration-section .beta-account-panel {
  border-color: rgba(24, 61, 50, 0.14);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow-editorial);
}

.pricing-card {
  padding: 24px;
}

.pricing-card strong {
  color: var(--sage);
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 800;
}

.disclaimer,
.safety-note {
  border-left-width: 3px;
  border-radius: 0 12px 12px 0;
  color: #4f554d;
  font-size: 13.5px;
  line-height: 1.6;
}

.assessment-shell {
  width: min(760px, calc(100% - 40px));
  max-width: 760px;
  padding: 30px 0 58px;
}

.assessment-header {
  gap: 24px;
  margin-bottom: 24px;
  padding: 0 2px 16px;
  border-bottom: 1px solid rgba(24, 61, 50, 0.13);
}

.assessment-header strong {
  color: var(--sage);
  font-size: 12px;
  font-weight: 760;
}

.assessment-header span {
  color: #545b53;
  font-size: 13.5px;
  font-weight: 500;
}

.progress-wrap {
  min-width: min(270px, 36vw);
}

.progress {
  width: min(270px, 36vw);
  height: 4px;
  background: #e6ddcf;
}

.progress span {
  background: var(--sage);
}

.progress-wrap small {
  font-size: 11.5px;
  font-weight: 600;
}

.question-card {
  padding: clamp(28px, 4.2vw, 46px);
  border-color: rgba(24, 61, 50, 0.14);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow-editorial);
}

.question-card h2 {
  max-width: 670px;
  color: var(--ink);
  font-size: clamp(27px, 3.65vw, 37px);
  font-weight: 720;
  line-height: 1.22;
}

.adaptive-transition,
.adaptive-reflection {
  border-left: 2px solid rgba(24, 61, 50, 0.5);
  color: #2e4136;
  font-weight: 560;
}

.adaptive-reflection span {
  color: var(--sage);
  font-weight: 760;
}

.adaptive-reflection p,
.topic-handoff,
.phase-copy,
.investigation-copy {
  color: #59615a;
  font-weight: 500;
}

.answers {
  gap: 11px;
  margin-top: 30px;
}

.answers button {
  min-height: 62px;
  padding: 17px 18px;
  border-color: rgba(24, 61, 50, 0.14);
  border-radius: 12px;
  background: var(--answer-bg);
  color: #26302b;
  font-size: 15.5px;
  font-weight: 650;
}

.answers button:hover,
.answers button:focus-visible {
  border-color: rgba(24, 61, 50, 0.48);
  background: var(--answer-hover);
  box-shadow: 0 0 0 3px rgba(24, 61, 50, 0.08);
}

.answers button.selected {
  border-color: var(--sage);
  background: var(--answer-selected);
  color: var(--sage);
  box-shadow: inset 0 0 0 1px rgba(24, 61, 50, 0.18);
}

.dashboard-shell {
  padding: 24px 0 64px;
}

.dashboard-header {
  max-width: 740px;
  margin: 42px 0 22px;
}

.dashboard-header h1 {
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 780;
  line-height: 1.08;
}

.dashboard-header p {
  color: #4f554d;
  font-size: 16px;
  line-height: 1.65;
}

.latest-report-panel,
.empty-history-panel,
.payment-panel,
.account-credit-panel,
.narrative-context-panel {
  background: rgba(255, 253, 248, 0.88);
}

.latest-report-panel h2,
.empty-history-panel h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 760;
}

.history-item {
  border-color: rgba(24, 61, 50, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.72);
}

.payment-price {
  color: var(--sage);
  font-size: clamp(34px, 4.6vw, 50px);
  font-weight: 800;
}

.payment-status,
.qpay-placeholder,
.qpay-qr {
  border-radius: 12px;
  border-color: rgba(24, 61, 50, 0.14);
}

.qpay-link {
  border-radius: 999px;
}

.report-shell {
  width: min(840px, calc(100% - 40px));
  padding: 30px 0 72px;
}

.report-header {
  margin: 38px 0 18px;
}

.report-header h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 780;
  line-height: 1.09;
}

.report-subtitle {
  max-width: 680px;
  font-size: 16px;
}

.report-opening-insight {
  margin: 24px 0 18px;
  padding: clamp(24px, 4vw, 34px);
  border-color: rgba(24, 61, 50, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(237, 242, 236, 0.72));
  box-shadow: var(--shadow-editorial);
}

.report-opening-insight p {
  max-width: 740px;
  color: #1f2b25;
  font-size: clamp(22px, 3.4vw, 31px);
  font-weight: 720;
  line-height: 1.34;
}

.early-recognition-preview {
  margin-top: 0;
  border-color: rgba(24, 61, 50, 0.12);
  background: rgba(255, 253, 248, 0.78);
}

.early-recognition-preview h2 {
  color: rgba(31, 43, 37, 0.72);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.early-recognition-preview p:first-of-type {
  max-width: 760px;
  color: #1f2b25;
  font-size: clamp(18px, 2.4vw, 23px);
  font-weight: 660;
  line-height: 1.48;
}

.early-recognition-preview p:last-child {
  max-width: 720px;
  color: var(--muted);
}

.report-note {
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.64);
}

.simple-pattern-card,
.help-cost div,
.mini-section,
.evidence-list article,
.patterns article,
.where-appears article,
.awareness-prompts article,
.feedback-summary div {
  border-radius: 12px;
  border-color: rgba(24, 61, 50, 0.12);
  background: rgba(255, 253, 248, 0.72);
}

.pattern-card-header h3,
.highlight h3,
.where-appears h3 {
  color: var(--sage);
  font-weight: 740;
}

.cycle-list li,
.practical-steps li,
.plain-bullets li,
.awareness-prompts p {
  color: #3d453f;
  line-height: 1.62;
}

.highlight,
.action-panel,
.final-reflection {
  border-color: rgba(24, 61, 50, 0.15);
  background: rgba(237, 242, 236, 0.76);
}

.final-reflection p {
  color: #26302b;
  font-size: 17px;
}

.final-reflection p:last-child {
  color: var(--sage);
  font-weight: 750;
}

.evidence-panel summary {
  border-radius: 12px;
  border-color: rgba(24, 61, 50, 0.14);
  background: #f4efe6;
  color: var(--sage);
}

.report-end-actions {
  margin-top: 22px;
}

@media (max-width: 760px) {
  .hero,
  .dashboard-shell,
  .assessment-shell,
  .report-shell,
  .loading-screen,
  .landing-section,
  .editorial-landing {
    width: min(100% - 28px, 1120px);
  }

  .topbar {
    min-height: 46px;
  }

  .topbar span {
    max-width: 190px;
    text-align: right;
  }

  .landing-hero-grid {
    min-height: auto;
    gap: 24px;
    padding: 24px 0 34px;
  }

  .landing-hero-copy h1 {
    font-size: clamp(42px, 11vw, 48px);
    line-height: 1.06;
  }

  .landing-lede {
    margin-top: 18px;
    font-size: 16.5px;
    line-height: 1.58;
  }

  .landing-actions {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .landing-actions .primary,
  .landing-actions .secondary {
    width: 100%;
  }

  .landing-trust-row {
    margin-top: 22px;
  }

  .landing-trust-row article {
    padding: 13px 0;
  }

  .landing-hero-statement {
    padding: 20px;
    border-radius: 14px;
  }

  .landing-hero-statement p {
    font-size: 22px;
    line-height: 1.26;
  }

  .landing-hero-statement p + p {
    margin-top: 14px;
    font-size: 15.5px;
  }

  .landing-section {
    padding: 46px 0;
  }

  .landing-section h2,
  .emotional-hook-section h2,
  .discover-section h2,
  .research-foundation-section h2,
  .why-tias-section h2,
  .registration-copy h2 {
    font-size: 31px;
    line-height: 1.14;
  }

  .emotional-card-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .emotional-card-grid article {
    min-height: auto;
    padding: 17px;
    font-size: 15.5px;
  }

  .discovery-grid,
  .research-foundation-grid {
    gap: 12px;
  }

  .discovery-grid article,
  .research-foundation-grid article {
    min-height: auto;
  }

  .why-tias-section,
  .registration-grid {
    gap: 22px;
  }

  .assessment-shell {
    padding: 18px 0 36px;
  }

  .assessment-header {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  .progress,
  .progress-wrap {
    width: 100%;
    min-width: 0;
  }

  .progress-wrap small {
    text-align: left;
  }

  .question-card {
    padding: 23px 18px;
    border-radius: 14px;
  }

  .question-card h2 {
    font-size: 25px;
    line-height: 1.26;
  }

  .adaptive-transition,
  .adaptive-reflection {
    margin-bottom: 18px;
    padding-left: 13px;
  }

  .answers {
    gap: 10px;
    margin-top: 24px;
  }

  .answers button {
    min-height: 58px;
    padding: 15px;
    font-size: 15px;
  }

  .dashboard-header,
  .report-header {
    margin-top: 28px;
  }

  .dashboard-header h1,
  .report-header h1 {
    font-size: 36px;
    line-height: 1.1;
  }

  .report-opening-insight {
    padding: 20px 18px;
    border-radius: 14px;
  }

  .report-opening-insight p {
    font-size: 22px;
    line-height: 1.34;
  }

  .panel {
    padding: 19px;
  }

  .history-actions,
  .history-actions button,
  .report-end-actions button {
    width: 100%;
  }
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/montserrat-500.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/montserrat-600.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/montserrat-700.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/montserrat-800.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../assets/fonts/montserrat-900.ttf") format("truetype");
}

:root {
  --ink: #121821;
  --muted: #68717d;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #e3dfd6;
  --line-strong: #c9c1b3;
  --sage: #536a5c;
  --sage-soft: #eef4ef;
  --clay: #98614f;
  --indigo: #1f2c42;
  --gold: #b99046;
  --answer-bg: #fffdfa;
  --answer-hover: #f6f3ec;
  --answer-selected: #eef4ef;
  --shadow-soft: 0 18px 52px rgba(31, 44, 66, 0.07);
  --shadow-editorial: 0 16px 42px rgba(31, 44, 66, 0.045);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 244, 239, 0.86) 260px),
    var(--paper);
  color: var(--ink);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
}

button,
input,
select,
textarea {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.hero,
.dashboard-shell,
.assessment-shell,
.report-shell,
.loading-screen {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  padding: 24px 0 40px;
  display: flex;
  flex-direction: column;
}

.landing-page {
  min-height: auto;
}

.research-strip {
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 44, 66, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(31, 44, 66, 0.045);
}

.research-strip-label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.research-strip-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.research-reference {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(31, 44, 66, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  text-align: left;
}

.research-reference span:last-child {
  min-width: 0;
  color: #303843;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}

.reference-code {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #121821;
  color: #fffdfa;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
}

.research-strip p {
  margin: 9px 0 0;
  max-width: 860px;
  color: #4f5a53;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.topbar,
.assessment-header,
.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar span,
.assessment-header span,
.muted,
.category,
.eyebrow {
  color: var(--muted);
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.55fr);
  gap: 48px;
  align-items: center;
  padding: 64px 0 28px;
}

.eyebrow,
.category {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
}

h1,
h2,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(44px, 6.4vw, 78px);
  line-height: 1;
}

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: #394049;
  font-size: 20px;
  line-height: 1.45;
}

.hero-note {
  max-width: 660px;
  margin: 16px 0 0;
  color: #505861;
  font-size: 16px;
  line-height: 1.55;
}

.panel-copy,
.investigation-copy,
.phase-copy,
.report-subtitle {
  color: #4f5660;
}

.panel-copy {
  margin: 16px 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #384048;
  font-size: 13px;
  font-weight: 700;
}

.editorial-landing {
  --landing-bg: #f8f4ec;
  --landing-ink: #171b18;
  --landing-muted: #62675f;
  --landing-forest: #183d32;
  --landing-forest-soft: #e8eee8;
  --landing-beige: #e8ddcc;
  --landing-line: #d9d0c2;
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  color: var(--landing-ink);
}

.editorial-landing .topbar {
  min-height: 46px;
  border-bottom: 1px solid rgba(24, 61, 50, 0.12);
}

.editorial-landing .topbar strong {
  color: var(--landing-forest);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.editorial-landing .topbar span {
  color: #5d625c;
  font-size: 13px;
  font-weight: 700;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: clamp(30px, 5vw, 72px) 0 46px;
}

.landing-hero-copy {
  min-width: 0;
}

.landing-badge {
  margin: 0 0 18px;
  color: var(--landing-forest);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.landing-hero-copy h1 {
  max-width: 740px;
  color: var(--landing-ink);
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: 0.96;
  font-weight: 900;
}

.landing-lede {
  max-width: 590px;
  margin: 26px 0 0;
  color: #343a35;
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 500;
  line-height: 1.42;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.landing-actions .primary {
  min-width: 168px;
  background: var(--landing-forest);
}

.landing-actions .primary:hover {
  background: #102d25;
}

.landing-actions .secondary {
  border-color: rgba(24, 61, 50, 0.24);
  background: rgba(255, 255, 255, 0.58);
  color: var(--landing-forest);
}

.landing-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 720px;
}

.landing-trust-row article {
  min-width: 0;
  padding: 16px 14px;
  border-top: 1px solid rgba(24, 61, 50, 0.22);
}

.landing-trust-row strong,
.landing-trust-row span {
  display: block;
}

.landing-trust-row strong {
  color: var(--landing-forest);
  font-size: 13px;
  font-weight: 850;
}

.landing-trust-row span {
  margin-top: 7px;
  color: var(--landing-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.landing-hero-statement {
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
  border-top: 1px solid rgba(24, 61, 50, 0.28);
  border-bottom: 1px solid rgba(24, 61, 50, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.48), rgba(232, 221, 204, 0.24));
}

.landing-hero-statement p {
  margin: 0;
  color: #1f2b25;
  font-size: clamp(24px, 3.2vw, 39px);
  font-weight: 790;
  line-height: 1.18;
}

.landing-hero-statement p + p {
  margin-top: 28px;
  color: #526056;
  font-size: clamp(18px, 2.1vw, 25px);
  font-weight: 560;
  line-height: 1.42;
}

.landing-hero-statement span {
  display: block;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 61, 50, 0.18);
  color: var(--landing-forest);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.landing-safety {
  margin-top: 4px;
}

.primary,
.secondary {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

.primary {
  background: var(--indigo);
  color: white;
}

.secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.primary:hover {
  background: #172337;
}

.secondary:hover {
  border-color: var(--line-strong);
  background: #fbfaf7;
}

.primary:active,
.secondary:active {
  transform: translateY(1px);
}

.compact-button {
  min-height: 40px;
  padding: 0 14px;
}

.beta-account-panel,
.question-card,
.panel,
.score-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.beta-account-panel {
  align-self: center;
  padding: 24px;
}

.beta-account-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.18;
}

.auth-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.account-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.account-form label {
  display: grid;
  gap: 8px;
}

.account-form label span {
  color: #29313a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfa;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.14s ease,
    box-shadow 0.14s ease,
    background 0.14s ease;
}

.account-form input:focus {
  border-color: var(--sage);
  background: white;
  box-shadow: 0 0 0 3px rgba(83, 106, 92, 0.12);
}

.context-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.context-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.context-form legend,
.context-select span {
  margin-bottom: 8px;
  color: #29313a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.context-options.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.context-options label {
  min-width: 0;
  cursor: pointer;
}

.context-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.context-options span {
  display: grid;
  min-height: 44px;
  min-width: 0;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfa;
  color: #343942;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
}

.context-options input:checked + span {
  border-color: var(--indigo);
  background: var(--indigo);
  color: white;
}

.context-select {
  display: grid;
  gap: 8px;
}

.context-select select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfa;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.payment-panel {
  display: grid;
  gap: 18px;
}

.payment-price {
  color: var(--accent);
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1;
}

.payment-status {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.payment-status.error {
  border-color: rgba(144, 54, 42, 0.28);
  background: #fff7f5;
  color: #7b2f26;
}

.payment-status.paid {
  border-color: rgba(63, 122, 87, 0.3);
  background: #f3faf5;
  color: #315f43;
}

.qpay-box {
  display: grid;
  justify-items: center;
  gap: 16px;
  min-width: 0;
}

.qpay-qr {
  width: min(260px, 100%);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.qpay-placeholder {
  width: 100%;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--muted);
  text-align: center;
}

.qpay-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.qpay-link {
  min-height: 38px;
  padding: 0 12px;
  text-decoration: none;
}

.account-form .primary {
  margin-top: 4px;
}

.text-button {
  margin-top: 14px;
  padding: 0;
  background: transparent;
  color: var(--indigo);
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.text-button:hover {
  color: var(--clay);
}

.panel ul {
  margin: 20px 0;
  padding-left: 20px;
  color: #343942;
}

.panel li {
  margin: 10px 0;
}

.landing-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

.landing-section h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.landing-section h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.emotional-hook-section,
.discover-section,
.research-foundation-section,
.why-tias-section,
.registration-section {
  color: #171b18;
}

.emotional-hook-section {
  padding-top: 78px;
}

.emotional-hook-section h2,
.discover-section h2,
.research-foundation-section h2,
.why-tias-section h2,
.registration-copy h2 {
  color: #171b18;
  font-weight: 880;
  letter-spacing: 0;
}

.emotional-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid #d9d0c2;
  background: #d9d0c2;
}

.emotional-card-grid article {
  min-height: 152px;
  padding: 22px;
  background: rgba(255, 253, 248, 0.86);
  color: #25302a;
  font-size: 17px;
  font-weight: 780;
  line-height: 1.38;
}

.landing-closing-line {
  margin: 34px 0 0;
  color: #3f473f;
  font-size: clamp(21px, 3vw, 34px);
  font-weight: 760;
  line-height: 1.25;
}

.discovery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.discovery-grid article {
  min-height: 236px;
  padding: 24px 22px;
  border: 1px solid #d9d0c2;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 18px 52px rgba(24, 61, 50, 0.055);
}

.discovery-grid span {
  display: block;
  color: #8f8170;
  font-size: 12px;
  font-weight: 850;
}

.discovery-grid strong {
  display: block;
  margin-top: 36px;
  color: #183d32;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
}

.discovery-grid p {
  margin: 14px 0 0;
  color: #51584f;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.58;
}

.research-foundation-section {
  padding-top: 74px;
  padding-bottom: 74px;
  border-top: 1px solid #ded5c8;
  border-bottom: 1px solid #ded5c8;
}

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

.research-foundation-grid article {
  min-height: 140px;
  padding: 20px;
  border: 1px solid rgba(24, 61, 50, 0.16);
  border-radius: 8px;
  background: rgba(232, 221, 204, 0.28);
}

.research-foundation-grid strong {
  display: block;
  color: #183d32;
  font-size: 16px;
  font-weight: 850;
}

.research-foundation-grid p,
.research-footer {
  color: #555b54;
  line-height: 1.58;
}

.research-foundation-grid p {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 560;
}

.research-footer {
  max-width: 720px;
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 3px solid #183d32;
  font-size: 15px;
  font-weight: 650;
}

.why-tias-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(280px, 0.36fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding-top: 82px;
  padding-bottom: 82px;
}

.why-tias-copy p {
  max-width: 670px;
  margin: 26px 0 0;
  color: #3d443e;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 520;
  line-height: 1.55;
}

.why-tias-note {
  padding: 24px;
  border: 1px solid rgba(24, 61, 50, 0.18);
  border-radius: 8px;
  background: #eef1ea;
}

.why-tias-note p {
  margin: 0;
  color: #23362f;
  font-size: 17px;
  font-weight: 680;
  line-height: 1.55;
}

.registration-section {
  padding-top: 82px;
  padding-bottom: 44px;
  border-top: 1px solid #ded5c8;
}

.registration-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.48fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
}

.registration-copy > p {
  max-width: 540px;
  margin: 18px 0 0;
  color: #4a514b;
  font-size: 18px;
  line-height: 1.55;
}

.pricing-card {
  width: min(420px, 100%);
  margin-top: 28px;
  padding: 26px;
  border: 1px solid rgba(24, 61, 50, 0.2);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 18px 52px rgba(24, 61, 50, 0.06);
}

.pricing-card span,
.pricing-card strong {
  display: block;
}

.pricing-card span {
  color: #62675f;
  font-size: 13px;
  font-weight: 760;
}

.pricing-card strong {
  margin-top: 8px;
  color: #183d32;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
  font-weight: 900;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: #303830;
  font-weight: 650;
}

.pricing-card li::before {
  content: "•";
  margin-right: 10px;
  color: #183d32;
  font-weight: 900;
}

.price-anchor {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.price-anchor-original,
.price-anchor-promo {
  display: grid;
  gap: 4px;
}

.price-anchor-original span,
.price-anchor-promo span {
  color: #62675f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-anchor-original s {
  color: #7a8078;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 750;
  text-decoration-thickness: 2px;
}

.price-anchor-promo strong {
  display: block;
  margin-top: 0;
  color: #183d32;
  font-size: clamp(42px, 5.4vw, 64px);
  line-height: 1;
  font-weight: 900;
}

.opening-price-note {
  margin: 18px 0 0;
  color: #3f4841;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 650;
}

.payment-price {
  text-align: right;
}

.payment-price .price-anchor {
  margin-top: 0;
  gap: 7px;
}

.payment-price .price-anchor-original span,
.payment-price .price-anchor-promo span {
  font-size: 10.5px;
}

.payment-price .price-anchor-original s {
  font-size: 16px;
}

.payment-price .price-anchor-promo strong {
  font-size: clamp(28px, 3vw, 40px);
}

.qpay-waiting {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(24, 61, 50, 0.16);
  border-radius: 12px;
  background: #fffaf2;
  color: #28322c;
  text-align: left;
}

.qpay-waiting strong {
  font-size: 15px;
  font-weight: 850;
}

.qpay-waiting span {
  color: #183d32;
  font-size: 18px;
  font-weight: 900;
}

.qpay-waiting small {
  color: #62675f;
  font-size: 12px;
  line-height: 1.45;
}

.registration-section .beta-account-panel {
  align-self: start;
  border-color: rgba(24, 61, 50, 0.18);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 24px 70px rgba(24, 61, 50, 0.1);
}

.registration-section .landing-safety {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #ded5c8;
}

.problem-grid,
.feature-grid,
.sample-grid,
.faq-list,
.steps,
.compare-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.problem-grid article,
.feature-grid article,
.sample-grid article,
.faq-list article,
.steps article,
.compare-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(37, 41, 46, 0.06);
}

.problem-grid article {
  min-height: 104px;
  padding: 18px;
  color: #303740;
  font-size: 18px;
  font-weight: 780;
  line-height: 1.35;
}

.feature-grid,
.sample-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid article,
.sample-grid article,
.faq-list article,
.compare-grid article {
  padding: 20px;
}

.feature-grid strong {
  display: block;
  color: var(--indigo);
  font-size: 17px;
}

.feature-grid p,
.faq-list p,
.final-cta p {
  color: #4f5660;
  line-height: 1.55;
}

.works-section,
.sample-section {
  border-top: 1px solid #ebe6dc;
  border-bottom: 1px solid #ebe6dc;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.steps article {
  display: flex;
  gap: 14px;
  padding: 18px;
}

.steps span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--indigo);
  color: white;
  font-weight: 850;
}

.steps p,
.sample-grid article {
  margin: 0;
  color: #384048;
  line-height: 1.55;
}

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

.compare-grid article:first-child {
  background: #f8f6f0;
}

.compare-grid article:last-child {
  border-color: rgba(96, 117, 104, 0.35);
  background: #f2f6f2;
}

.compare-grid ul {
  margin: 0;
  padding-left: 20px;
  color: #384048;
}

.compare-grid li {
  margin: 8px 0;
}

.faq-list {
  grid-template-columns: repeat(2, 1fr);
}

.faq-list article:last-child {
  grid-column: 1 / -1;
}

.final-cta {
  margin-bottom: 44px;
  padding: 36px;
  border: 1px solid rgba(166, 95, 78, 0.28);
  border-radius: 8px;
  background: #fff9f4;
  text-align: center;
}

.final-cta h2,
.final-cta p {
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  max-width: 620px;
}

.disclaimer {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: #f1eee6;
  color: #44413a;
  font-size: 14px;
}

.safety-note {
  margin: 10px 0 0;
  padding: 12px 16px;
  border-left: 4px solid var(--sage);
  background: #eef3ee;
  color: #3d473f;
  font-size: 14px;
}

.compact {
  margin-top: 18px;
}

.assessment-shell {
  width: min(860px, calc(100% - 36px));
  max-width: 860px;
  padding: 30px 0 56px;
}

.assessment-header {
  gap: 28px;
  margin-bottom: 30px;
  padding: 0 2px 18px;
  border-bottom: 1px solid rgba(201, 193, 179, 0.72);
}

.assessment-header > div:first-child {
  display: grid;
  gap: 8px;
  max-width: 560px;
}

.assessment-header strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.assessment-header span {
  color: #39414b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.progress-wrap {
  display: grid;
  gap: 9px;
  min-width: min(300px, 38vw);
}

.progress-wrap small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

.progress {
  width: min(300px, 38vw);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #ddd6c9;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--indigo);
  transition: width 0.25s ease;
}

.question-card {
  padding: clamp(30px, 5vw, 56px);
  border-color: #ddd6c9;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 248, 0.98)),
    var(--panel);
  box-shadow: var(--shadow-editorial);
}

.question-card h2 {
  margin: 6px 0 0;
  max-width: 740px;
  color: #151c25;
  font-size: clamp(28px, 4.4vw, 43px);
  font-weight: 820;
  line-height: 1.16;
}

.adaptive-transition,
.adaptive-reflection {
  margin: 0 0 24px;
  padding: 2px 0 2px 18px;
  border: 0;
  border-left: 2px solid rgba(83, 106, 92, 0.68);
  border-radius: 0;
  background: transparent;
  color: #2f4036;
  font-weight: 650;
  line-height: 1.55;
}

.adaptive-reflection {
  display: grid;
  gap: 6px;
}

.adaptive-reflection span {
  color: #576b5e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.adaptive-reflection p {
  margin: 0;
  max-width: 650px;
  font-size: 15.5px;
}

.topic-handoff {
  margin: 0 0 18px;
  max-width: 650px;
  color: #56616c;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.phase-copy {
  margin: 18px 0 0;
  max-width: 660px;
  color: #4f5964;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.investigation-copy {
  margin: 10px 0 0;
  max-width: 620px;
  color: #68717d;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.55;
}

.answers {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.answers button {
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid #d8d1c5;
  border-radius: 8px;
  background: var(--answer-bg);
  color: #202833;
  text-align: left;
  font-size: 15.5px;
  font-weight: 720;
  line-height: 1.45;
  transition:
    background 0.14s ease,
    border-color 0.14s ease,
    box-shadow 0.14s ease,
    transform 0.12s ease;
}

.answers button:hover,
.answers button:focus-visible {
  border-color: var(--sage);
  background: #faf8f2;
  outline: none;
  box-shadow: 0 0 0 3px rgba(83, 106, 92, 0.1);
}

.answers button.selected {
  border-color: var(--sage);
  background: var(--answer-selected);
  color: #17261d;
  box-shadow: inset 0 0 0 1px rgba(83, 106, 92, 0.18);
}

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

.answers button:disabled {
  cursor: default;
}

.answers button:disabled:not(.selected) {
  opacity: 0.52;
}

.loading-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.loader {
  width: 54px;
  height: 54px;
  border: 5px solid #ddd6c7;
  border-top-color: var(--clay);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

.loading-screen h1 {
  margin-top: 24px;
  font-size: 42px;
}

.loading-screen p {
  max-width: 520px;
  color: var(--muted);
}

.report-shell {
  padding: 28px 0 56px;
}

.dashboard-shell {
  padding: 24px 0 56px;
}

.dashboard-header {
  max-width: 760px;
  margin: 42px 0 20px;
}

.dashboard-header h1 {
  font-size: clamp(40px, 6vw, 68px);
}

.dashboard-header p {
  color: #4f5660;
  font-size: 17px;
  line-height: 1.55;
}

.latest-report-panel {
  background: linear-gradient(135deg, #fffdf8 0%, #f7faf6 100%);
  border-color: rgba(83, 106, 92, 0.18);
}

.latest-report-panel h2,
.empty-history-panel h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.history-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(31, 44, 66, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.history-item strong,
.history-item span {
  display: block;
}

.history-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-message {
  margin: 14px 0;
}

.report-header {
  align-items: flex-start;
  margin-bottom: 20px;
}

.report-header h1 {
  font-size: clamp(38px, 6vw, 72px);
}

.report-subtitle {
  max-width: 680px;
  margin: 14px 0 0;
  font-size: 17px;
}

.report-opening-insight {
  margin: 22px 0 18px;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid rgba(31, 44, 66, 0.1);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffdf8 0%, #f7faf6 100%);
  box-shadow: 0 18px 46px rgba(31, 44, 66, 0.08);
}

.report-opening-insight p {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 4.4vw, 34px);
  font-weight: 800;
  line-height: 1.24;
}

.report-note {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(31, 44, 66, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.report-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.report-end-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin: 18px 0 10px;
}

.report-end-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.pdf-status {
  flex-basis: 100%;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: right;
}

.pdf-status.error {
  color: #9f3f32;
}

.pdf-status.success {
  color: #3f6f55;
}

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

.score-grid > div {
  padding: 18px;
}

.score-grid strong {
  display: block;
  color: var(--clay);
  font-size: 38px;
}

.score-grid span,
.patterns small {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel {
  margin-top: 14px;
  padding: 22px;
}

.panel h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

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

.patterns {
  display: grid;
  gap: 12px;
}

.simple-intro p,
.readable-section p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #343942;
  font-size: 17px;
  line-height: 1.62;
}

.simple-patterns {
  display: grid;
  gap: 14px;
}

.simple-pattern-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.pattern-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.pattern-card-header h3,
.highlight h3 {
  margin: 0;
  color: #202833;
  font-size: 18px;
  line-height: 1.3;
}

.pattern-card-header span {
  color: var(--clay);
  font-size: 24px;
  font-weight: 850;
  line-height: 1;
}

.simple-pattern-card small,
.highlight small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.simple-pattern-card p {
  margin: 10px 0 0;
  color: #343942;
  line-height: 1.55;
}

.help-cost {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.help-cost div,
.mini-section {
  padding: 14px;
  border: 1px solid #ebe6dc;
  border-radius: 8px;
  background: white;
}

.help-cost strong {
  display: block;
  color: #29313a;
  font-size: 13px;
}

.report-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mini-section h2 {
  font-size: 18px;
}

.plain-bullets {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.plain-bullets li {
  margin: 0;
  color: #343942;
  line-height: 1.5;
}

.evidence-panel details {
  margin-top: 16px;
}

.evidence-panel summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f6f0;
  color: #29313a;
  cursor: pointer;
  font-weight: 800;
}

.evidence-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.evidence-list article {
  padding: 12px;
  border: 1px solid #ebe6dc;
  border-radius: 8px;
  background: #fbfaf7;
}

.evidence-list strong {
  display: block;
  color: var(--indigo);
  font-size: 13px;
}

.evidence-list p {
  margin: 6px 0;
  color: #343942;
  font-size: 14px;
  line-height: 1.45;
}

.evidence-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.patterns article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.patterns article > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.patterns article span {
  color: var(--clay);
  font-weight: 850;
}

.patterns p,
.panel p {
  color: #343942;
}

.claim-list {
  display: grid;
  gap: 16px;
  padding-left: 0;
  list-style: none;
}

.claim-list li {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid #ebe6dc;
}

.claim-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.evidence,
.alternatives {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f8f6f0;
}

.alternatives {
  background: #f1f3ef;
}

.evidence strong,
.alternatives strong {
  color: #29313a;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence span,
.alternatives span {
  color: #4d5660;
  font-size: 13px;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.highlight {
  border-color: rgba(166, 95, 78, 0.45);
  background: #fff9f4;
}

.action-panel {
  border-color: rgba(46, 64, 95, 0.28);
  background: #fffaf4;
}

.action-panel h2 {
  font-size: 24px;
}

.final-reflection {
  border-color: rgba(32, 40, 51, 0.18);
  background: #f8f6f0;
}

.final-reflection h2 {
  font-size: 22px;
}

.final-reflection p {
  color: #202833;
  font-size: 18px;
  line-height: 1.7;
}

.final-reflection p:last-child {
  font-weight: 800;
}

.readable-section blockquote {
  margin: 14px 0;
  padding: 14px 16px;
  border-left: 4px solid rgba(166, 95, 78, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--indigo);
  font-size: 18px;
  line-height: 1.5;
}

.cycle-list,
.practical-steps {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.cycle-list li,
.practical-steps li {
  padding-left: 4px;
  color: #2d3540;
  font-size: 16px;
  line-height: 1.55;
}

.cycle-panel .cycle-list li::marker,
.practical-steps li::marker {
  color: var(--terracotta);
  font-weight: 800;
}

.where-appears {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.where-appears article {
  padding: 14px;
  border: 1px solid rgba(46, 64, 95, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.where-appears h3 {
  margin: 0 0 8px;
  color: var(--indigo);
  font-size: 16px;
}

.where-appears p {
  margin: 0 0 8px;
}

.where-appears p:last-child {
  margin-bottom: 0;
}

.awareness-prompts {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.awareness-prompts article {
  padding: 14px;
  border: 1px solid rgba(46, 64, 95, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.awareness-prompts strong {
  display: block;
  margin-bottom: 5px;
  color: var(--indigo);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.awareness-prompts p {
  margin: 0;
  color: #2d3540;
  font-size: 16px;
  line-height: 1.55;
}

.support-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid rgba(46, 64, 95, 0.38);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: #4c5661;
  font-size: 14px;
  line-height: 1.55;
}

.beta-panel {
  border-color: rgba(46, 64, 95, 0.25);
}

.feedback-form {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.feedback-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.feedback-form legend,
.survey-question span,
.feedback-summary dt {
  color: #29313a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.survey-progress {
  display: grid;
  gap: 8px;
  margin: 18px 0 4px;
}

.survey-progress > div {
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #ddd6c9;
}

.survey-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sage);
}

.survey-progress small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.survey-question legend,
.text-feedback-field > span {
  color: #202833;
  font-size: 18px;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
}

.rating-options,
.choice-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.rating-options label,
.choice-options label {
  cursor: pointer;
}

.rating-options input,
.choice-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-options span,
.choice-options span {
  display: grid;
  min-width: 0;
  min-height: 42px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f6f0;
  color: #343942;
  font-weight: 780;
}

.choice-options span {
  min-width: 72px;
}

.rating-options input:checked + span,
.choice-options input:checked + span {
  border-color: var(--indigo);
  background: var(--indigo);
  color: white;
}

.rating-scale-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.rating-scale-labels span:last-child {
  text-align: right;
}

.text-feedback-field {
  display: grid;
  gap: 12px;
}

.text-feedback-field textarea {
  width: 100%;
  min-height: 132px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfa;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
}

.text-feedback-field textarea:focus {
  border-color: var(--sage);
  outline: none;
  box-shadow: 0 0 0 3px rgba(83, 106, 92, 0.1);
}

.survey-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.survey-actions .primary {
  flex: 1;
}

.survey-thanks h2 {
  font-size: 30px;
}

.select-field {
  display: grid;
  gap: 10px;
}

.select-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.feedback-errors {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 12px;
  border-left: 4px solid var(--clay);
  background: #fff3ef;
  color: #733a2f;
  font-size: 14px;
}

.feedback-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.feedback-summary div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f6f0;
}

.feedback-summary dd {
  margin: 6px 0 0;
  color: #343942;
  font-weight: 760;
}

.sync-panel {
  padding: 18px;
}

.sync-panel h2 {
  margin-bottom: 6px;
  font-size: 20px;
}

.sync-panel p,
.sync-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.sync-panel.saved,
.sync-note.saved {
  border-color: rgba(83, 106, 92, 0.42);
  color: #3f5d49;
}

.sync-panel.error,
.sync-note.error {
  border-color: rgba(160, 99, 78, 0.42);
  color: #733a2f;
}

.sync-note {
  margin-top: 12px;
  font-weight: 700;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 760px) {
  .hero-grid,
  .landing-hero-grid,
  .landing-trust-row,
  .split,
  .history-item,
  .report-two-column,
  .help-cost,
  .score-grid,
  .feedback-summary,
  .emotional-card-grid,
  .discovery-grid,
  .research-foundation-grid,
  .why-tias-section,
  .registration-grid,
  .problem-grid,
  .feature-grid,
  .sample-grid,
  .steps,
  .compare-grid,
  .where-appears,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 18px;
  }

  .editorial-landing {
    width: min(100% - 28px, 1180px);
    min-height: auto;
  }

  .landing-hero-grid {
    min-height: auto;
    gap: 22px;
    padding: 28px 0 36px;
  }

  .landing-hero-copy h1 {
    font-size: clamp(42px, 12.4vw, 56px);
    line-height: 0.98;
  }

  .landing-badge {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .landing-lede {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.42;
  }

  .landing-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

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

  .landing-trust-row {
    gap: 0;
    margin-top: 22px;
    border-top: 1px solid rgba(24, 61, 50, 0.16);
  }

  .landing-trust-row article {
    padding: 12px 0;
  }

  .landing-hero-statement {
    padding: 20px 0;
    border-top-color: rgba(24, 61, 50, 0.2);
    border-bottom-color: rgba(24, 61, 50, 0.2);
    background: transparent;
  }

  .landing-hero-statement p {
    font-size: 22px;
  }

  .landing-hero-statement p + p {
    margin-top: 16px;
    font-size: 16px;
  }

  .landing-hero-statement span {
    margin-top: 18px;
    font-size: 10px;
  }

  .hero-grid {
    gap: 28px;
    align-items: start;
    padding-top: 42px;
  }

  .research-strip {
    padding: 10px;
  }

  .research-strip-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .research-reference {
    min-height: 36px;
    padding: 7px 8px;
    gap: 7px;
  }

  .research-reference span:last-child {
    font-size: 9px;
  }

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

  .reference-code {
    width: 20px;
    height: 20px;
    font-size: 8px;
  }

  h1 {
    font-size: 42px;
  }

  .lede {
    font-size: 18px;
  }

  .assessment-shell {
    width: min(100% - 28px, 860px);
    padding: 18px 0 34px;
  }

  .assessment-header {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .progress,
  .progress-wrap {
    width: 100%;
    min-width: 0;
  }

  .progress-wrap small {
    text-align: left;
  }

  .question-card {
    padding: 24px 18px 22px;
  }

  .question-card h2 {
    font-size: 26px;
    line-height: 1.24;
  }

  .adaptive-transition,
  .adaptive-reflection {
    margin-bottom: 20px;
    padding-left: 14px;
  }

  .answers {
    gap: 10px;
    margin-top: 26px;
  }

  .answers button {
    min-height: 56px;
    padding: 14px 15px;
    font-size: 15px;
  }

  .rating-options,
  .choice-options {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .feedback-summary {
    grid-template-columns: 1fr;
  }

  .survey-actions {
    flex-direction: column-reverse;
  }

  .report-header {
    display: grid;
  }

  .dashboard-header {
    margin-top: 30px;
  }

  .history-actions,
  .history-actions button {
    width: 100%;
  }

  .report-opening-insight {
    margin-top: 18px;
    padding: 20px 18px;
  }

  .report-opening-insight p {
    font-size: 23px;
    line-height: 1.28;
  }

  .report-end-actions {
    justify-content: stretch;
  }

  .report-end-actions button {
    width: 100%;
  }

  .pdf-status {
    text-align: left;
  }

  .landing-section {
    width: min(100% - 28px, 1120px);
    padding: 46px 0;
  }

  .landing-section h2 {
    font-size: 31px;
    line-height: 1.12;
  }

  .emotional-card-grid {
    margin-top: 24px;
  }

  .emotional-card-grid article {
    min-height: 92px;
    padding: 16px;
    font-size: 15px;
  }

  .landing-closing-line {
    margin-top: 26px;
    font-size: 22px;
  }

  .discovery-grid,
  .research-foundation-grid {
    gap: 12px;
    margin-top: 24px;
  }

  .discovery-grid article {
    min-height: auto;
    padding: 18px;
  }

  .discovery-grid strong {
    margin-top: 18px;
  }

  .research-foundation-grid article {
    min-height: auto;
    padding: 17px;
  }

  .why-tias-section {
    gap: 22px;
  }

  .why-tias-copy p {
    margin-top: 18px;
    font-size: 17px;
  }

  .why-tias-note,
  .pricing-card,
  .registration-section .beta-account-panel {
    padding: 20px;
  }

  .registration-copy > p {
    font-size: 16px;
  }

  .pricing-card strong {
    font-size: 48px;
  }

  .faq-list article:last-child {
    grid-column: auto;
  }

}

/* TIAS final cascade: landing information architecture */
.landing-steps-card {
  display: grid;
  gap: 0;
  padding: clamp(24px, 3vw, 34px);
}

.landing-steps-card article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 78px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(24, 61, 50, 0.13);
}

.landing-steps-card article:first-child {
  padding-top: 0;
}

.landing-steps-card article span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.landing-steps-card article strong {
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 720;
  line-height: 1.28;
}

.landing-steps-card p {
  margin: 22px 0 0;
  color: #566158;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.emotional-hook-section {
  padding-top: 76px;
  padding-bottom: 80px;
}

.emotional-hook-section h2 {
  max-width: 900px;
  font-size: clamp(36px, 4.8vw, 54px);
  line-height: 1.08;
}

.emotional-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
  border: 0;
  background: transparent;
}

.emotional-card-grid article {
  min-height: 170px;
  padding: 26px 22px;
  border: 1px solid rgba(24, 61, 50, 0.15);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(244, 239, 230, 0.78));
  color: #202a24;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 730;
  line-height: 1.42;
  box-shadow: 0 16px 36px rgba(24, 61, 50, 0.045);
}

.landing-closing-line {
  max-width: 820px;
  margin-top: 40px;
  color: #24362f;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.28;
}

.discover-section {
  padding-top: 70px;
}

.why-tias-section {
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
  border-top: 1px solid rgba(24, 61, 50, 0.1);
}

.why-tias-copy p {
  max-width: 620px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.62;
}

.research-foundation-section {
  padding-top: 58px;
  padding-bottom: 62px;
  border-top: 1px solid rgba(24, 61, 50, 0.1);
  border-bottom: 1px solid rgba(24, 61, 50, 0.1);
}

.research-foundation-section h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.14;
}

.research-foundation-grid {
  gap: 10px;
  margin-top: 28px;
}

.research-foundation-grid article {
  min-height: 112px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.56);
  box-shadow: none;
}

.research-foundation-grid strong {
  font-size: 14px;
  font-weight: 740;
}

.research-foundation-grid p {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.52;
}

.research-footer {
  max-width: 680px;
  margin-top: 22px;
  font-size: 13.5px;
  font-weight: 550;
}

.registration-section {
  padding-top: 74px;
}

.registration-grid {
  grid-template-columns: minmax(280px, 0.55fr) minmax(320px, 0.55fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: stretch;
}

.registration-copy,
.registration-section .beta-account-panel {
  min-width: 0;
}

.pricing-card {
  display: grid;
  align-content: start;
  width: 100%;
  height: 100%;
  margin-top: 0;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 16px;
}

.pricing-card span {
  color: var(--sage);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card strong {
  margin-top: 14px;
  font-size: clamp(46px, 5.4vw, 64px);
}

.pricing-card ul {
  margin-top: 28px;
  gap: 12px;
}

.registration-section .beta-account-panel {
  align-self: stretch;
  padding: clamp(24px, 3vw, 34px);
}

@media (max-width: 760px) {
  .landing-steps-card {
    padding: 18px;
  }

  .landing-steps-card article {
    min-height: 64px;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
  }

  .landing-steps-card article span {
    width: 36px;
    height: 36px;
  }

  .landing-steps-card article strong {
    font-size: 17px;
  }

  .emotional-hook-section {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .emotional-hook-section h2 {
    font-size: 32px;
    line-height: 1.13;
  }

  .emotional-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }

  .emotional-card-grid article {
    min-height: auto;
    padding: 20px;
    font-size: 17px;
  }

  .landing-closing-line {
    margin-top: 28px;
    font-size: 23px;
  }

  .why-tias-section {
    padding-top: 50px;
    padding-bottom: 52px;
  }

  .research-foundation-section {
    padding-top: 48px;
    padding-bottom: 50px;
  }

  .research-foundation-section h2 {
    font-size: 29px;
  }

  .research-foundation-grid {
    grid-template-columns: 1fr;
  }

  .research-foundation-grid article {
    min-height: auto;
    padding: 15px;
  }

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

/* TIAS final cascade: mobile-first landing polish */
.landing-hero-copy h1 {
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.landing-lede {
  max-width: 540px;
}

.landing-steps-card {
  gap: 0;
  padding: clamp(22px, 2.8vw, 32px);
}

.landing-steps-card article {
  min-height: 66px;
  padding: 13px 0;
}

.landing-steps-card p {
  margin-top: 18px;
  font-size: 14px;
}

.recognition-checklist {
  display: grid;
  gap: 0;
  max-width: 900px;
  margin-top: 34px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(24, 61, 50, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(246, 240, 230, 0.64));
  box-shadow: 0 14px 36px rgba(24, 61, 50, 0.04);
}

.recognition-checklist p {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid rgba(24, 61, 50, 0.1);
  color: #202a24;
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 710;
  line-height: 1.4;
}

.recognition-checklist p:first-child {
  border-top: 0;
  padding-top: 0;
}

.recognition-checklist p:last-child {
  padding-bottom: 0;
}

.recognition-checklist span {
  width: 10px;
  height: 10px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 0 0 0 6px rgba(24, 61, 50, 0.08);
}

.emotional-hook-section {
  padding-top: 64px;
  padding-bottom: 70px;
}

.research-foundation-section {
  padding-top: 44px;
  padding-bottom: 48px;
}

.research-foundation-section h2 {
  max-width: 700px;
  font-size: clamp(25px, 2.8vw, 34px);
}

.research-foundation-grid {
  gap: 8px;
  margin-top: 22px;
}

.research-foundation-grid article {
  min-height: 96px;
  padding: 14px;
  border-color: rgba(24, 61, 50, 0.09);
  background: rgba(255, 253, 248, 0.42);
}

.research-foundation-grid strong {
  font-size: 13px;
}

.research-foundation-grid p {
  margin-top: 8px;
  font-size: 12px;
}

.research-footer {
  margin-top: 18px;
  font-size: 13px;
}

.conversion-card {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(24, 61, 50, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(244, 239, 230, 0.68));
  box-shadow: var(--shadow-editorial);
}

.conversion-card-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.conversion-card-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 780;
  line-height: 1.1;
}

.conversion-card-header p:last-child {
  max-width: 560px;
  margin: 12px 0 0;
  color: #59615a;
  font-size: 16px;
  line-height: 1.6;
}

.conversion-card .registration-grid {
  grid-template-columns: minmax(260px, 0.48fr) minmax(320px, 0.52fr);
  gap: clamp(18px, 4vw, 40px);
  align-items: stretch;
}

.conversion-card .pricing-card,
.conversion-card .beta-account-panel {
  height: 100%;
  box-shadow: none;
}

.conversion-card .pricing-card {
  border-color: rgba(24, 61, 50, 0.12);
  background: rgba(255, 253, 248, 0.62);
}

.conversion-card .beta-account-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.conversion-card .account-form {
  margin-top: 0;
}

.conversion-trust-note {
  margin: 22px 0 0;
  color: var(--sage);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .landing-hero-copy h1 {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .landing-lede {
    font-size: 16px;
    line-height: 1.55;
  }

  .landing-actions {
    margin-top: 20px;
  }

  .landing-trust-row {
    margin-top: 20px;
  }

  .landing-steps-card {
    padding: 16px;
  }

  .landing-steps-card article {
    min-height: 58px;
    padding: 11px 0;
  }

  .emotional-hook-section {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .recognition-checklist {
    margin-top: 24px;
    padding: 18px;
    border-radius: 16px;
  }

  .recognition-checklist p {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 0;
    font-size: 17px;
  }

  .recognition-checklist span {
    width: 8px;
    height: 8px;
    margin-top: 8px;
    box-shadow: 0 0 0 5px rgba(24, 61, 50, 0.08);
  }

  .research-foundation-section {
    padding-top: 36px;
    padding-bottom: 38px;
  }

  .research-foundation-section h2 {
    font-size: 26px;
  }

  .research-foundation-grid article {
    padding: 13px;
  }

  .conversion-card {
    padding: 20px;
    border-radius: 18px;
  }

  .conversion-card-header {
    margin-bottom: 20px;
  }

  .conversion-card-header h2 {
    font-size: 30px;
  }

  .conversion-card .registration-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .conversion-card .pricing-card {
    padding: 20px;
  }

  .account-form input,
  .account-form .primary,
  .primary,
  .secondary {
    min-height: 48px;
  }
}
