:root {
  --navy: #12345d;
  --navy-2: #071f3b;
  --blue: #2f6fb6;
  --sky: #e8f4ff;
  --teal: #10a99f;
  --green: #4f9d42;
  --orange: #f5a623;
  --paper: #fffdf8;
  --mist: #f4f8fb;
  --ink: #142033;
  --muted: #627184;
  --line: #d8e2ec;
  --shadow: 0 24px 64px rgba(15, 43, 78, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 251, 255, 0.94);
  border-bottom: 1px solid rgba(216, 226, 236, 0.8);
  backdrop-filter: blur(18px);
}

.top-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 38px;
  padding: 7px clamp(18px, 3vw, 48px);
  color: #5f7084;
  border-bottom: 1px solid rgba(216, 226, 236, 0.7);
  font-size: 13px;
  font-weight: 700;
}

.top-contact,
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-contact a:hover,
.top-contact a:focus-visible,
.social-links a:hover,
.social-links a:focus-visible {
  color: var(--teal);
}

.social-links a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--teal);
}

.main-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  min-height: 76px;
  padding: 14px clamp(18px, 3vw, 48px);
}

.brand img {
  width: 154px;
  height: auto;
}

.site-nav {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.05vw, 22px);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal);
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.nav-search,
.nav-login {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 800;
}

.nav-search {
  padding: 8px 12px;
  color: var(--navy);
}

.nav-search::before {
  content: "";
  width: 15px;
  height: 15px;
  margin-right: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 7px 7px 0 -5px currentColor;
}

.nav-login {
  padding: 8px 16px;
  color: #fff;
  background: var(--navy);
}

.nav-search:hover,
.nav-search:focus-visible {
  color: var(--teal);
}

.nav-login:hover,
.nav-login:focus-visible {
  background: var(--navy-2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}

.button.primary {
  color: #fff;
  background: var(--navy);
}

.button.primary:hover {
  background: var(--navy-2);
}

.button.secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.button.text {
  color: var(--navy);
  background: transparent;
}

.button.full {
  width: 100%;
}

.button.small {
  min-height: 40px;
  padding-inline: 16px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.section-band,
.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 64px);
}

.hero {
  display: block;
  min-height: auto;
  padding: 0;
  background: #f3f2ef;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2,
.calculator-copy h2,
.audience-band h2 {
  margin: 0;
  color: var(--navy-2);
  font-weight: 800;
  line-height: 1.14;
}

.lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-visual {
  display: flex;
  width: 100%;
  justify-content: center;
}

.hero-slider {
  position: relative;
  width: 100%;
  padding: 0;
  border-radius: 0;
  background: #dff2fb;
  box-shadow: none;
  overflow: hidden;
}

.hero-slider::before {
  content: none;
}

.slider-viewport {
  position: relative;
  z-index: 1;
  height: clamp(420px, 38.021vw, calc(100vh - 76px));
  border-radius: 0;
  overflow: hidden;
  background: #dff2fb;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(28px) scale(0.985);
  transition: opacity 520ms ease, transform 520ms ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-caption {
  display: none;
}

.slide-caption span,
.slide-caption strong {
  display: block;
}

.slide-caption span {
  color: #aee4dc;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.slide-caption strong {
  margin-top: 2px;
  font-size: 20px;
  line-height: 1.35;
}

.slider-controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  pointer-events: none;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  pointer-events: auto;
  box-shadow: 0 10px 30px rgba(15, 43, 78, 0.14);
}

.slider-arrow[data-slide-prev] {
  left: clamp(16px, 3vw, 56px);
}

.slider-arrow[data-slide-next] {
  right: clamp(16px, 3vw, 56px);
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  color: #fff;
  background: var(--navy);
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 3vw, 34px);
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  pointer-events: auto;
}

.slider-dots button {
  width: 34px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
}

.slider-dots button.is-active {
  background: #6846ff;
}

.slide-status {
  position: absolute;
  left: 50%;
  bottom: clamp(38px, 5vw, 60px);
  transform: translateX(-50%);
  z-index: 2;
  display: none;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.slide-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.slide-progress span {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
  transition: transform 520ms ease;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--navy);
  background: #fff;
  font-weight: 800;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.section-heading h2,
.calculator-copy h2,
.audience-band h2 {
  font-size: 42px;
}

.section-heading p:not(.eyebrow),
.calculator-copy p,
.audience-band p {
  color: var(--muted);
  font-size: 18px;
}

.products {
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.product-panel,
.step-list article,
.audience-grid article,
.faq details,
.calculator-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.product-panel {
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-panel.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
}

.product-kicker,
.product-term {
  font-weight: 800;
}

.product-term {
  color: var(--orange);
}

.product-panel h3 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.24;
}

.product-panel p {
  margin: 0;
  color: var(--muted);
}

.product-panel.is-active p {
  color: #d6e8f8;
}

.product-panel a {
  width: fit-content;
  margin-top: 24px;
  color: inherit;
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.calculator-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(16, 169, 159, 0.18), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(245, 166, 35, 0.2), transparent 24%),
    linear-gradient(135deg, #f7fbff 0%, #eef6fb 52%, #f5fbf5 100%);
}

.calculator-section::before {
  content: "";
  position: absolute;
  inset: auto -8% -34% 48%;
  height: 360px;
  border-radius: 50%;
  background: rgba(18, 52, 93, 0.07);
}

.calculator-section > * {
  position: relative;
  z-index: 1;
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.88fr);
  gap: clamp(18px, 2.3vw, 34px);
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(18px, 2.5vw, 30px);
  border: 1px solid rgba(216, 226, 236, 0.78);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 28px 80px rgba(15, 43, 78, 0.12);
  backdrop-filter: blur(16px);
}

.calculator-copy {
  max-width: 680px;
  padding: clamp(10px, 1vw, 16px);
  align-self: center;
}

.calculator-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.calculator-badge-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(18, 52, 93, 0.12);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(15, 43, 78, 0.06);
}

.calculator-badge-row span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.persona-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(118px, 1fr));
  gap: 6px;
  margin: 20px 0 16px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(15, 43, 78, 0.08);
}

.persona-switch button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.persona-switch button.is-selected {
  color: #fff;
  background: var(--navy);
}

.requirements {
  position: relative;
  max-width: 100%;
  padding: 26px 26px 26px 74px;
  overflow: hidden;
  border: 1px solid rgba(216, 226, 236, 0.75);
  border-left: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(15, 43, 78, 0.08);
}

.requirements::before {
  content: "✓";
  position: absolute;
  left: 22px;
  top: 26px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-weight: 900;
}

.requirements::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--orange), var(--teal));
}

.requirements h3 {
  margin: 0 0 12px;
  color: var(--navy);
}

.requirements ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.calculator-card {
  position: relative;
  top: auto;
  --plan-percent: 91%;
  padding: 26px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(16, 169, 159, 0.45), rgba(245, 166, 35, 0.45)) border-box;
  box-shadow: 0 18px 54px rgba(15, 43, 78, 0.13);
}

.calculator-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
}

.calculator-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.calculator-card-top span,
.approval-pill {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.calculator-card-top strong {
  display: block;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.15;
}

.approval-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  color: var(--green);
  border-radius: 999px;
  background: #eff8f2;
}

.form-field {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--navy);
  font-weight: 800;
}

.form-field label {
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 14px;
}

.input-with-prefix {
  position: relative;
}

.input-with-prefix span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-weight: 900;
}

.calculator-card input:not([type="range"]),
.calculator-card select {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 800;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.input-with-prefix input {
  padding-left: 34px;
}

.range-control {
  width: 100%;
  height: 6px;
  accent-color: var(--teal);
  cursor: pointer;
}

.quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-amounts button {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.quick-amounts button:hover,
.quick-amounts button:focus-visible,
.quick-amounts button.is-selected {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

.calculator-card input:focus,
.calculator-card select:focus,
.button:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(245, 166, 35, 0.45);
  outline-offset: 2px;
}

.result-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  margin: 22px 0 18px;
  padding: 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(239, 248, 242, 0.98), rgba(232, 244, 255, 0.98));
  box-shadow: inset 0 0 0 1px rgba(16, 169, 159, 0.08);
}

.result-box span,
.result-box small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.result-box strong {
  display: block;
  margin: 2px 0;
  color: var(--green);
  font-size: 44px;
  line-height: 1.15;
}

.calculator-card.is-updated .result-box strong {
  animation: pop-number 260ms ease;
}

.result-ring {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 58%, transparent 59%),
    conic-gradient(var(--teal) var(--plan-percent), rgba(216, 226, 236, 0.9) 0);
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.payment-breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.payment-breakdown div {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.payment-breakdown span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.payment-breakdown strong {
  color: var(--navy);
  font-size: 16px;
}

@keyframes pop-number {
  50% {
    transform: scale(1.035);
  }
}

.fine-print {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.steps {
  background: #fff;
}

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

.step-list article {
  min-height: 230px;
  padding: 24px;
}

.step-list span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 800;
}

.step-list h3,
.audience-grid h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
}

.step-list p,
.audience-grid p {
  margin: 0;
  color: var(--muted);
}

.audience-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 42px;
  color: #fff;
  background: var(--navy);
}

.audience-band h2,
.audience-band p {
  color: #fff;
}

.audience-band .eyebrow {
  color: var(--orange);
}

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

.audience-grid article {
  min-height: 210px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.audience-grid h3 {
  color: #fff;
}

.audience-grid p {
  color: #d6e8f8;
}

.partners {
  background: #fff;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: partner-scroll 28s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-card {
  width: 180px;
  height: 74px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.logo-card img {
  width: 100%;
  max-height: 48px;
  object-fit: contain;
}

@keyframes partner-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 6px));
  }
}

.faq {
  background: var(--mist);
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
}

.faq details {
  margin-bottom: 10px;
  padding: 0 20px;
}

.faq summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
}

.faq summary::after {
  content: "+";
  font-size: 24px;
}

.faq details[open] summary::after {
  content: "-";
}

.faq details p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--muted);
}

.site-footer {
  padding: 54px clamp(18px, 5vw, 64px) 24px;
  color: #d6e8f8;
  background:
    radial-gradient(circle at 16% 18%, rgba(16, 169, 159, 0.18), transparent 28%),
    linear-gradient(135deg, var(--navy-2), #102f55);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(360px, 1.55fr) minmax(220px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: 1240px;
  margin: 0 auto;
}

.footer-company img {
  width: 132px;
  height: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-company p,
.footer-info p {
  max-width: 540px;
  margin: 0;
  color: #c4d7eb;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--navy);
  background: #fff;
}

.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-sitemap div,
.footer-info {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-sitemap h3,
.footer-info h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 17px;
}

.footer-sitemap a,
.footer-info a {
  width: fit-content;
  color: #c4d7eb;
  font-weight: 700;
}

.footer-sitemap a:hover,
.footer-sitemap a:focus-visible,
.footer-info a:hover,
.footer-info a:focus-visible {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin: 42px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9fb7cf;
  font-size: 13px;
  font-weight: 700;
}

.cookie-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  max-width: 620px;
  padding: 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.cookie-bar.is-hidden {
  display: none;
}

.cookie-bar p {
  margin: 0;
  color: var(--muted);
}

.cookie-bar div {
  display: flex;
  gap: 8px;
}

.dream-section {
  position: relative;
  min-height: 235vh;
  padding: 0 clamp(18px, 3vw, 48px);
  overflow: visible;
  --dream-image-opacity: 1;
  --dream-image-scale: 1;
  --dream-image-blur: 0px;
  --dream-side-opacity: 1;
  --dream-left-shift: 0%;
  --dream-right-shift: 0%;
  --dream-outcome-opacity: 0;
  --dream-outcome-y: 36px;
  --dream-outcome-scale: 0.96;
  background:
    radial-gradient(circle at 50% 42%, rgba(47, 111, 182, 0.16), transparent 34%),
    linear-gradient(180deg, #fffdf8 0%, #f3f9ff 58%, #fffdf8 100%);
}

.dream-stage {
  position: sticky;
  top: 118px;
  display: grid;
  min-height: calc(100vh - 118px);
  place-items: center;
  width: min(1180px, 100%);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 8px;
  transform: translateZ(0);
}

.dream-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(18, 52, 93, 0.16);
  opacity: var(--dream-image-opacity);
  filter: blur(var(--dream-image-blur)) saturate(calc(1 - (1 - var(--dream-image-opacity)) * 0.12));
  transform: scale(var(--dream-image-scale));
  transition: filter 0.2s linear, opacity 0.2s linear, transform 0.2s linear;
}

.dream-float {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 18px 46px rgba(18, 52, 93, 0.12);
  opacity: var(--dream-side-opacity);
  pointer-events: none;
  transition: opacity 0.2s linear, transform 0.2s linear;
}

.float-left {
  left: 4%;
  top: 12%;
  width: 30%;
  height: 70%;
  transform: translateX(var(--dream-left-shift));
}

.float-right {
  right: 4%;
  top: 8%;
  width: 30%;
  height: 76%;
  transform: translateX(var(--dream-right-shift));
}

.dream-outcome {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(26px, 5vw, 70px);
  opacity: var(--dream-outcome-opacity);
  pointer-events: none;
  transform: translateY(var(--dream-outcome-y)) scale(var(--dream-outcome-scale));
  transition: opacity 0.25s linear, transform 0.25s linear;
}

.dream-phone-image {
  width: min(390px, 100%);
  justify-self: end;
  filter: drop-shadow(0 34px 80px rgba(18, 52, 93, 0.28));
}

.dream-message {
  display: grid;
  justify-items: start;
  max-width: 520px;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(216, 226, 236, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 70px rgba(18, 52, 93, 0.14);
  backdrop-filter: blur(18px);
}

.dream-message span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dream-message strong {
  color: var(--navy);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 900;
  line-height: 1.12;
}

.dream-message p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
}

.dream-message a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--navy);
  padding: 10px 20px;
  color: #fff;
  font-weight: 900;
}

/* Legacy phone mockup styles kept unused for older cached markup safety. */
.dream-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: min(280px, 34vw);
  aspect-ratio: 9 / 18.5;
  padding: 12px;
  border: 8px solid #071f3b;
  border-radius: 34px;
  background: #071f3b;
  box-shadow: 0 30px 90px rgba(7, 31, 59, 0.26);
  opacity: 0;
  transform: translate(-50%, -44%) scale(0.82);
  transition: opacity 0.2s linear, transform 0.2s linear;
}

.phone-speaker {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 74px;
  height: 8px;
  border-radius: 999px;
  background: #102c4e;
  transform: translateX(-50%);
}

.phone-screen {
  display: grid;
  height: 100%;
  align-content: center;
  justify-items: center;
  gap: 12px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 18%, rgba(16, 169, 159, 0.28), transparent 24%),
    linear-gradient(160deg, #f8fbff 0%, #e7f4ff 55%, #ffffff 100%);
  padding: 30px 18px 22px;
  text-align: center;
}

.phone-screen img {
  width: 108px;
  height: auto;
}

.phone-screen span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.phone-screen strong {
  color: var(--navy);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1.18;
}

.phone-screen small {
  max-width: 18ch;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.phone-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--teal);
  padding: 8px 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.dream-section.is-transforming .dream-image {
  opacity: var(--dream-image-opacity);
  filter: blur(var(--dream-image-blur)) saturate(0.88);
  transform: scale(var(--dream-image-scale));
}

.dream-section.is-transforming .float-left {
  opacity: var(--dream-side-opacity);
  transform: translateX(var(--dream-left-shift)) scale(0.92);
}

.dream-section.is-transforming .float-right {
  opacity: var(--dream-side-opacity);
  transform: translateX(var(--dream-right-shift)) scale(0.92);
}

.dream-section.is-transforming .dream-outcome {
  opacity: var(--dream-outcome-opacity);
  pointer-events: auto;
  transform: translateY(var(--dream-outcome-y)) scale(var(--dream-outcome-scale));
}

.dream-section.is-transforming .dream-phone {
  opacity: 0;
}

.dream-section.is-complete {
  --dream-image-opacity: 0.08;
  --dream-side-opacity: 0;
  --dream-outcome-opacity: 1;
  --dream-outcome-y: 0px;
  --dream-outcome-scale: 1;
}

@media (max-width: 1040px) {
  .hero {
    min-height: auto;
  }

  .calculator-shell,
  .audience-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 1080px) {
  .main-nav {
    grid-template-columns: auto auto;
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .nav-actions {
    display: none;
  }

  .site-nav.is-open {
    position: fixed;
    inset: 106px 0 auto;
    display: grid;
    gap: 0;
    justify-self: stretch;
    padding: 10px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading h2,
  .calculator-copy h2,
  .audience-band h2 {
    font-size: 36px;
  }

  .lead {
    font-size: 18px;
  }

  .trust-strip,
  .product-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .logo-card {
    width: 156px;
    height: 68px;
  }

  .product-panel,
  .step-list article {
    min-height: auto;
  }

  .form-grid,
  .result-box,
  .payment-breakdown {
    grid-template-columns: 1fr;
  }

  .result-ring {
    width: 78px;
    height: 78px;
    justify-self: start;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-sitemap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step-list {
    grid-template-columns: 1fr;
  }

  .cookie-bar {
    grid-template-columns: 1fr;
  }

  .cookie-bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .dream-stage {
    top: 112px;
    min-height: calc(100vh - 112px);
  }

  .dream-outcome {
    grid-template-columns: minmax(180px, 0.7fr) 1fr;
    gap: 24px;
    padding: 24px;
  }

  .dream-phone-image {
    width: min(290px, 100%);
  }

  .dream-message strong {
    font-size: 34px;
  }

  .dream-message p {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .top-bar {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    padding-block: 8px;
  }

  .top-contact {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
  }

  .site-nav.is-open {
    inset: 132px 0 auto;
  }

  .footer-sitemap {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }

  .dream-section {
    min-height: 215vh;
  }

  .dream-stage {
    top: 130px;
    min-height: calc(100vh - 130px);
  }

  .dream-outcome {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding: 18px;
  }

  .dream-phone-image {
    width: min(220px, 62vw);
    justify-self: center;
  }

  .dream-message {
    max-width: 100%;
    padding: 20px;
    text-align: center;
    justify-items: center;
  }

  .dream-message strong {
    font-size: 27px;
  }

  .dream-message p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 128px;
  }

  .section-band,
  .section {
    padding-inline: 16px;
  }

  .section-heading h2,
  .calculator-copy h2,
  .audience-band h2 {
    font-size: 31px;
  }

  .cookie-bar div {
    display: grid;
  }

  .result-box strong {
    font-size: 34px;
  }

  .requirements {
    padding: 22px 20px 22px 62px;
  }

  .calculator-card {
    padding: 22px 18px;
  }

  .installment-row {
    display: grid;
  }
}
