:root {
  --navy: #0f2f4a;
  --navy-dark: #092238;
  --slate: #334155;
  --muted: #64748b;
  --line: #dbe3ec;
  --soft: #f4f7fa;
  --white: #ffffff;
  --accent: #f59e0b;
  --accent-dark: #c66f00;
  --success: #1f9d70;
  --shadow: 0 20px 50px rgba(15, 47, 74, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--slate);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

main,
section,
div,
article,
nav,
footer {
  min-width: 0;
}

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

.section {
  padding: 88px 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 227, 236, 0.9);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  flex: 0 1 240px;
  max-width: 28%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-dark);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--slate);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--accent-dark);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy-dark);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.menu-toggle:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.24);
  outline-offset: 2px;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy-dark);
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle-icon {
  position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-icon::before {
  top: -6px;
}

.menu-toggle-icon::after {
  top: 6px;
}

.nav.is-open .menu-toggle-icon {
  transform: rotate(45deg);
}

.nav.is-open .menu-toggle-icon::before {
  opacity: 0;
}

.nav.is-open .menu-toggle-icon::after {
  top: 0;
  transform: rotate(-90deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  color: var(--navy-dark);
  background: var(--accent);
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #ffb223;
  box-shadow: 0 16px 30px rgba(245, 158, 11, 0.28);
}

.button-secondary {
  border-color: var(--line);
  color: var(--navy);
  background: var(--white);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--soft);
  box-shadow: none;
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.hero {
  padding: 86px 0 96px;
  background:
    linear-gradient(180deg, #f8fbfe 0%, #ffffff 80%);
}

.hero-grid,
.calculator-grid,
.demo-grid,
.value-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-dark);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: 5.25rem;
}

h2 {
  font-size: 3.1rem;
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
}

.hero-text {
  max-width: 650px;
  margin-top: 22px;
  color: #44556b;
  font-size: 1.2rem;
}

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

.trust-note,
.seo-note {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.98rem;
}

.seo-note {
  margin-top: 10px;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 34px -10px -24px 36px;
  border-radius: 18px;
  background: #d9e8f4;
  transform: rotate(2deg);
}

.lead-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-card-header,
.lead-row,
.lead-status,
.action-box {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.lead-card-header {
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 18px;
  color: var(--navy-dark);
  font-weight: 900;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(31, 157, 112, 0.14);
}

.lead-row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.lead-row span,
.lead-status span,
.action-box span {
  color: var(--muted);
}

.lead-row strong,
.lead-status strong,
.action-box strong {
  color: var(--navy-dark);
  text-align: right;
  overflow-wrap: anywhere;
}

.lead-status em {
  grid-column: 1 / -1;
  color: var(--success);
  font-style: normal;
  font-weight: 900;
}

.lead-status,
.action-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius);
}

.lead-status {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  background: #edf8f3;
}

.action-box {
  display: grid;
  gap: 4px;
  background: #fff7e6;
}

.action-box strong {
  text-align: left;
}

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

.section-heading p:not(.eyebrow),
.calculator-grid > div > p:not(.eyebrow),
.demo-grid p,
.value-grid p,
.final-cta p {
  margin-top: 16px;
  color: #44556b;
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 20px;
}

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

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

.card,
.calculator-card,
.audience-feature,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(15, 47, 74, 0.08);
}

.card {
  padding: 24px;
}

.card p {
  margin-top: 12px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--navy-dark);
  background: #fff2d2;
  font-size: 0.8rem;
  font-weight: 900;
}

.compact {
  padding-top: 28px;
}

.calculator-card {
  padding: 28px;
}

.field + .field {
  margin-top: 18px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-dark);
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c7d2de;
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--navy-dark);
  background: var(--white);
  font: inherit;
  font-weight: 800;
}

input:focus {
  outline: 3px solid rgba(245, 158, 11, 0.24);
  border-color: var(--accent);
}

.input-affix {
  display: flex;
  align-items: center;
  border: 1px solid #c7d2de;
  border-radius: var(--radius);
  background: var(--white);
}

.input-affix:focus-within {
  outline: 3px solid rgba(245, 158, 11, 0.24);
  border-color: var(--accent);
}

.input-affix span {
  padding: 0 14px;
  color: var(--muted);
  font-weight: 900;
}

.input-affix input {
  border: 0;
  outline: 0;
}

.results {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.results div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #c9d6e2;
}

.results strong {
  color: var(--white);
  font-size: 1.35rem;
  text-align: right;
  white-space: nowrap;
}

.calculator-cta {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.calculator-cta p {
  color: var(--navy-dark);
  font-weight: 900;
}

.disclaimer {
  padding-top: 18px;
  font-size: 0.92rem;
}

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

.steps li {
  min-height: 172px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-dark);
  font-weight: 800;
}

.steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.9rem;
}

.video-placeholder {
  min-height: 330px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(15, 47, 74, 0.92), rgba(9, 34, 56, 0.96)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 16px);
  color: var(--white);
  box-shadow: var(--shadow);
}

.play-button {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
}

.play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 21px solid var(--navy-dark);
}

.video-placeholder p {
  color: var(--white);
  font-weight: 900;
}

.demo-grid .button {
  margin-top: 28px;
}

.audience-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}

.audience-feature {
  padding: 28px;
  background: var(--navy);
}

.audience-feature h3,
.audience-feature p {
  color: var(--white);
}

.audience-feature p {
  margin-top: 14px;
}

.audience-feature,
.audience-list a,
.value-points a {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.audience-feature:hover,
.audience-list a:hover,
.value-points a:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 16px 32px rgba(15, 47, 74, 0.12);
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.audience-list a,
.value-points a {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-dark);
  font-weight: 850;
}

.value-points {
  display: grid;
  gap: 14px;
}

.value-points a {
  min-height: 72px;
  border-left: 5px solid var(--accent);
}

.final-cta {
  background: var(--navy-dark);
}

.final-cta-inner {
  max-width: 800px;
  text-align: center;
}

.final-cta h2,
.final-cta p,
.final-cta span {
  color: var(--white);
}

.final-cta .button {
  margin-top: 28px;
}

.final-cta span {
  display: block;
  margin-top: 14px;
  color: #c9d6e2;
}

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

.faq-list details {
  padding: 0 22px;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 0;
  color: var(--navy-dark);
  font-weight: 900;
}

.faq-list p {
  padding: 0 0 20px;
  color: #44556b;
}

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

.footer-grid {
  align-items: start;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-brand .brand-logo {
  width: 240px;
}

.footer-grid p {
  margin-top: 8px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--slate);
  font-weight: 800;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 4.25rem;
  }

  h2 {
    font-size: 2.65rem;
  }

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

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

@media (max-width: 920px) {
  html {
    scroll-padding-top: 132px;
  }

  .nav {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .hero-grid,
  .calculator-grid,
  .demo-grid,
  .value-grid,
  .footer-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .card-grid.four,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps li {
    min-height: 140px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-text,
  .section-heading p:not(.eyebrow),
  .calculator-grid > div > p:not(.eyebrow),
  .demo-grid p,
  .value-grid p,
  .final-cta p {
    font-size: 1rem;
  }

  .card-grid.three,
  .card-grid.four,
  .steps,
  .audience-list {
    grid-template-columns: 1fr;
  }

  .steps li {
    min-height: 0;
  }

  .video-placeholder {
    min-height: 250px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 150px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 64px 0;
  }

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

  .nav {
    align-items: center;
    gap: 12px;
  }

  .site-header .brand {
    flex-basis: 50%;
    max-width: 50%;
  }

  .site-header .brand-logo {
    width: 300px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    order: 3;
    display: none;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 30px rgba(15, 47, 74, 0.1);
    font-size: 0.9rem;
  }

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

  .nav-links a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: var(--radius);
  }

  .nav-links a:hover {
    background: var(--soft);
  }

  .nav .button {
    order: 4;
    width: 100%;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1.05;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .calculator-cta {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .card-grid.three,
  .card-grid.four,
  .steps,
  .audience-list {
    grid-template-columns: 1fr;
  }

  .lead-row,
  .lead-status,
  .results div {
    display: grid;
    gap: 4px;
  }

  .lead-row strong,
  .lead-status strong,
  .results strong {
    text-align: left;
  }

  .results strong {
    white-space: normal;
  }

  .hero-visual::before {
    inset: 24px 6px -16px 24px;
  }

  .calculator-card,
  .lead-card {
    padding: 20px;
  }

  .play-button {
    width: 62px;
    height: 62px;
  }

  .footer-links {
    display: grid;
    gap: 12px;
  }
}

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

  .section {
    padding: 54px 0;
  }

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

  .footer-brand .brand-logo {
    width: 210px;
  }

  h1 {
    font-size: 2.18rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.08rem;
  }

  .button {
    min-height: 46px;
    padding: 0 16px;
  }

  .lead-card,
  .calculator-card,
  .card,
  .audience-feature {
    padding: 18px;
  }

  .input-affix span {
    padding: 0 10px;
  }

  .results div {
    padding: 16px;
  }

  .results strong {
    font-size: 1.2rem;
  }

  .faq-list details {
    padding: 0 16px;
  }
}
