:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --muted-light: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #dbeafe;
  --cyan: #14b8a6;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --shadow: 0 24px 70px rgba(15, 23, 42, .10);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(37,99,235,.10), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(20,184,166,.09), transparent 26%),
    var(--bg);
  color: var(--text);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, .85);
}

.nav {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.brand img {
  height: 58px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 750;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.nav-cta {
  padding: 12px 17px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 14px 30px rgba(37,99,235,.22);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.button {
  padding: 15px 22px;
}

.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 18px 36px rgba(37,99,235,.24);
}

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

.hero {
  position: relative;
  padding: 88px 0 44px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0)),
    radial-gradient(circle at 50% 15%, rgba(37,99,235,.10), transparent 30%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}

.eyebrow,
.label {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid #bfdbfe;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
}

h1 {
  margin: 18px 0;
  font-size: 68px;
  line-height: 1.01;
  letter-spacing: -0.06em;
  max-width: 760px;
}

.hero-copy p {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted-light);
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
}

.hero-points span::before {
  content: "•";
  color: var(--cyan);
  margin-right: 8px;
}

.product-card {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}

.product-header strong {
  color: var(--green);
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 8px 11px;
}

.score-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.score-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.score-card h3 {
  margin: 0;
  font-size: 42px;
  letter-spacing: -0.04em;
}

.score-ring {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--blue-dark);
  background:
    radial-gradient(circle at center, white 52%, transparent 53%),
    conic-gradient(var(--blue) 58%, #e2e8f0 0);
  border: 1px solid var(--line);
}

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

.risk {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
}

.risk strong {
  display: block;
  margin-bottom: 6px;
}

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

.risk span {
  min-width: 76px;
  text-align: center;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.risk.high span {
  background: #fee2e2;
  color: var(--red);
}

.risk.medium span {
  background: #fef3c7;
  color: var(--amber);
}

.risk.low span {
  background: #dcfce7;
  color: var(--green);
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.mini-metrics div {
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.mini-metrics strong {
  display: block;
  font-size: 28px;
}

.mini-metrics small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.trust-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.trust-strip div {
  padding: 16px 18px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(15,23,42,.04);
}

.section {
  padding: 96px 0;
}

.section.soft {
  background: rgba(241,245,249,.72);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  margin: 16px 0 12px;
  font-size: 48px;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.section-header p,
.trust-grid p,
.final-box p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr;
  gap: 18px;
}

.feature-card {
  padding: 26px;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(15,23,42,.045);
}

.feature-card.large {
  grid-row: span 2;
  min-height: 330px;
}

.feature-card span {
  display: inline-block;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 18px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.16;
}

.feature-card p,
.steps p,
.trust-cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.steps article {
  padding: 26px;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(15,23,42,.045);
}

.step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  font-weight: 850;
  margin-bottom: 18px;
}

.steps h3,
.trust-cards h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.assessment-section {
  padding: 100px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(37,99,235,.10), transparent 30%),
    #eef2ff;
  border-top: 1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
}

.assessment-card {
  padding: 34px;
  border-radius: 34px;
  background: white;
  border: 1px solid #dbeafe;
  box-shadow: var(--shadow);
}

.assessment-intro {
  max-width: 840px;
  margin-bottom: 28px;
}

.assessment-intro p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.typeform-wrap {
  overflow: hidden;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
  min-height: 680px;
}

.typeform-wrap [data-tf-live] {
  min-height: 680px;
  width: 100%;
}

.fallback {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.fallback a {
  color: var(--blue-dark);
  font-weight: 800;
}

.trust-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.trust-cards {
  display: grid;
  gap: 16px;
}

.trust-cards article {
  padding: 24px;
  border-radius: 22px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(15,23,42,.045);
}

.final-cta {
  padding: 36px 0 100px;
}

.final-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 10% 10%, rgba(37,99,235,.16), transparent 28%),
    linear-gradient(135deg, white, #f8fafc);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 26px 0;
  background: white;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner a {
  color: var(--blue-dark);
  font-weight: 800;
}

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

  .hero-grid,
  .trust-grid,
  .final-box {
    grid-template-columns: 1fr;
  }

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

  .feature-card.large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: auto;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

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

  .nav-links {
    display: none;
  }

  .brand img {
    height: 46px;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy p,
  .section-header p,
  .trust-grid p,
  .final-box p,
  .assessment-intro p {
    font-size: 16px;
  }

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

  .trust-strip,
  .steps,
  .feature-grid,
  .mini-metrics {
    grid-template-columns: 1fr;
  }

  .assessment-card {
    padding: 20px;
    border-radius: 24px;
  }

  .typeform-wrap {
    min-height: 720px;
    border-radius: 18px;
  }

  .typeform-wrap [data-tf-live] {
    min-height: 720px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
