:root {
  --bg: #f4f7fb;
  --bg-soft: #eaf0f6;
  --surface: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.82);
  --text: #1f2933;
  --muted: #687586;
  --line: rgba(31, 41, 51, 0.12);
  --line-strong: rgba(31, 41, 51, 0.2);
  --graphite: #25303b;
  --graphite-deep: #111923;
  --blue: #2563eb;
  --blue-deep: #1e3a8a;
  --blue-soft: rgba(37, 99, 235, 0.1);
  --teal: #14b8a6;
  --teal-soft: rgba(20, 184, 166, 0.13);
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 24px 56px rgba(17, 25, 35, 0.12);
  --shadow-soft: 0 12px 28px rgba(17, 25, 35, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, #f9fbfd 50%, var(--bg-soft) 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body.subpage {
  min-height: 100vh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  background: rgba(244, 247, 251, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--graphite), var(--blue-deep));
  box-shadow: 0 12px 26px rgba(30, 58, 138, 0.24);
}

.brand-mark::before {
  content: "";
  width: 21px;
  height: 14px;
  border: 3px solid #ffffff;
  border-top: 0;
  border-radius: 0 0 7px 7px;
}

.brand-mark span {
  position: absolute;
  top: 12px;
  width: 17px;
  height: 13px;
  border: 3px solid #ffffff;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  color: var(--graphite-deep);
  font-size: 18px;
  letter-spacing: 0;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.site-nav a,
.footer-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.footer-link:hover {
  color: var(--graphite-deep);
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.button i {
  width: 16px;
  height: 16px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.button-primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.28);
}

.button-secondary,
.button-ghost {
  color: var(--graphite-deep);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.72);
}

.button-block {
  width: 100%;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 720px;
  padding: 78px 0 72px;
  overflow: hidden;
  color: #ffffff;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 19, 28, 0.91) 0%, rgba(13, 19, 28, 0.78) 42%, rgba(13, 19, 28, 0.2) 100%),
    linear-gradient(180deg, rgba(13, 19, 28, 0.25) 0%, rgba(37, 99, 235, 0.2) 100%);
}

.hero-content {
  display: grid;
  align-content: center;
  max-width: 1180px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 9px;
  margin: 0 0 18px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #dff7ff;
  background: rgba(20, 184, 166, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
}

.eyebrow-soft {
  color: #0f766e;
  background: var(--teal-soft);
}

.hero h1,
.section h2,
.final-section h2,
.thanks-card h1 {
  margin: 0;
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: 64px;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.65;
}

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

.hero-points {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-top: 44px;
}

.hero-points-title {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-points ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
}

.section {
  padding: 82px 0;
}

.section-problem,
.section-after,
.section-process {
  background: var(--bg);
}

.section-quiz,
.section-solutions {
  background: #ffffff;
}

.problem-grid,
.after-grid,
.quiz-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: start;
  gap: 34px;
}

.section-copy-block h2,
.section-head h2,
.quiz-intro h2,
.final-section h2 {
  font-size: 46px;
}

.section-copy-block p,
.quiz-intro p,
.final-section p,
.thanks-card p,
.solution-card p,
.check-panel,
.form-note,
.quiz-side-note {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.section-copy-block p {
  max-width: 690px;
}

.surface {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.risk-board {
  display: grid;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(20, 184, 166, 0.12)),
    #ffffff;
  box-shadow: var(--shadow);
}

.risk-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
}

.risk-line span {
  color: var(--muted);
  font-weight: 700;
}

.risk-line strong {
  color: var(--graphite-deep);
  font-size: 20px;
}

.risk-line-alert {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.28);
}

.quiz-intro {
  position: sticky;
  top: 100px;
}

.quiz-side-note {
  position: relative;
  margin-top: 26px;
  padding: 20px 20px 20px 48px;
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: 22px;
  background: var(--teal-soft);
}

.note-dot {
  position: absolute;
  top: 26px;
  left: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 7px rgba(20, 184, 166, 0.13);
}

.quiz-panel {
  padding: 28px;
}

.quiz-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.back-button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--graphite);
  background: #ffffff;
  cursor: pointer;
}

.progress {
  height: 8px;
  margin: 16px 0 28px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(31, 41, 51, 0.08);
}

.progress span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transition: width 0.25s ease;
}

.quiz-question h3,
.quiz-finish h3,
.form-head h3,
.check-panel h3,
.solution-card h3,
.process-step h3 {
  margin: 0;
  color: var(--graphite-deep);
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: 0;
}

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

.option-button {
  width: 100%;
  min-height: 66px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--graphite-deep);
  background: #f8fafc;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.option-button:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.32);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.quiz-finish {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--blue-soft), var(--teal-soft));
}

.quiz-finish p {
  margin: 0;
  color: var(--muted);
}

.finish-badge {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: #0f766e;
  background: rgba(20, 184, 166, 0.16);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.lead-form.is-hidden {
  display: none;
}

.form-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.summary-card {
  min-height: 92px;
  padding: 15px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.summary-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.summary-card span {
  color: var(--graphite-deep);
  font-weight: 800;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--graphite);
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--graphite-deep);
  background: #f8fafc;
  outline: 0;
}

.field input {
  min-height: 56px;
  padding: 0 16px;
}

.field textarea {
  min-height: 118px;
  padding: 15px 16px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-note {
  margin: -2px 0 0;
  font-size: 13px;
}

.check-panel {
  padding: 28px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 7px rgba(20, 184, 166, 0.12);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.solution-card {
  display: grid;
  gap: 16px;
  min-height: 282px;
  padding: 24px;
}

.solution-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.solution-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card:nth-child(2) .solution-icon {
  color: #0f766e;
  background: var(--teal-soft);
}

.solution-card:nth-child(3) .solution-icon {
  color: #92400e;
  background: var(--amber-soft);
}

.solution-card:nth-child(4) .solution-icon {
  color: var(--graphite-deep);
  background: rgba(31, 41, 51, 0.08);
}

.solution-card p {
  margin: 0;
}

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

.process-step {
  position: relative;
  min-height: 200px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.process-step::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -24px;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.process-step:last-child::after {
  display: none;
}

.process-step span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: var(--graphite);
  font-weight: 900;
}

.process-step h3 {
  font-size: 21px;
}

.final-section {
  padding: 86px 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(17, 25, 35, 0.94), rgba(30, 58, 138, 0.86)),
    var(--graphite-deep);
}

.final-inner {
  display: grid;
  justify-items: start;
  max-width: 920px;
}

.final-section .eyebrow {
  color: #dff7ff;
  background: rgba(20, 184, 166, 0.2);
}

.final-section h2 {
  font-size: 50px;
}

.final-section p {
  max-width: 730px;
  color: rgba(255, 255, 255, 0.78);
}

.final-section .button {
  margin-top: 12px;
}

.disclaimer {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  padding: 28px 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.brand-footer .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.footer-text {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.footer-text p {
  margin: 0;
}

.footer-text p + p {
  margin-top: 4px;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

.subpage-main {
  display: grid;
  min-height: calc(100vh - 86px);
  place-items: center;
  padding: 76px 20px;
}

.thanks-card {
  width: min(760px, 100%);
  padding: 38px;
  text-align: center;
}

.thanks-status {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 24px;
  color: #ffffff;
  background: var(--teal);
  font-weight: 900;
}

.thanks-card h1 {
  font-size: 46px;
}

.thanks-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 1120px) {
  .hero h1 {
    font-size: 56px;
  }

  .hero-points ul,
  .solution-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 64px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(13, 19, 28, 0.94), rgba(13, 19, 28, 0.68)),
      linear-gradient(180deg, rgba(13, 19, 28, 0.2), rgba(37, 99, 235, 0.18));
  }

  .hero h1,
  .final-section h2 {
    font-size: 44px;
  }

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

  .problem-grid,
  .after-grid,
  .quiz-grid {
    grid-template-columns: 1fr;
  }

  .quiz-intro {
    position: static;
  }

  .section-copy-block h2,
  .section-head h2,
  .quiz-intro h2,
  .thanks-card h1 {
    font-size: 38px;
  }

  .solution-card,
  .process-step {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 10px 0;
  }

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

  .brand-copy span {
    display: none;
  }

  .header-inner {
    gap: 10px;
  }

  .header-inner .button {
    min-height: 44px;
    padding: 10px 13px;
    font-size: 13px;
  }

  .button i {
    width: 13px;
    height: 13px;
  }

  .hero {
    padding: 58px 0 54px;
  }

  .hero-image {
    object-position: 68% center;
  }

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

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

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

  .hero-points ul,
  .solution-grid,
  .process-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .section-copy-block h2,
  .section-head h2,
  .quiz-intro h2,
  .final-section h2,
  .thanks-card h1 {
    font-size: 32px;
  }

  .section-copy-block p,
  .quiz-intro p,
  .final-section p,
  .thanks-card p,
  .solution-card p,
  .check-panel,
  .form-note,
  .quiz-side-note {
    font-size: 16px;
  }

  .risk-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .quiz-panel,
  .check-panel,
  .solution-card,
  .process-step,
  .thanks-card {
    padding: 22px;
    border-radius: 22px;
  }

  .quiz-question h3,
  .quiz-finish h3,
  .form-head h3,
  .check-panel h3,
  .solution-card h3,
  .process-step h3 {
    font-size: 23px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-text {
    text-align: left;
  }
}
