:root {
  --blue: #0b2d72;
  --blue-dark: #061a42;
  --orange: #f97316;
  --orange-soft: #fdeee5;
  --surface: #f7f7f7;
  --text: #111827;
  --muted: #4b5563;
  --border: #e5e7eb;
  --shadow: 0 12px 20px rgba(0, 0, 0, 0.03);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--surface);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: "Inter", Arial, sans-serif;
}

body.loading * {
  transition: none !important;
}

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

button,
input {
  font: inherit;
}

.page {
  min-height: 100vh;
  overflow: hidden;
}

.is-hidden {
  display: none !important;
}

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

.hero {
  position: relative;
  height: 760px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: var(--blue-dark);
  isolation: isolate;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero::before {
  display: none;
}

.hero::after {
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(5, 20, 56, 0.42) 0%,
      rgba(8, 34, 84, 0.76) 52%,
      rgba(6, 26, 66, 0.98) 100%
    );
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--blue-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  animation: heroCrossfade 32s ease-in-out infinite both;
}

.hero-slide-1 {
  animation-delay: -2.56s;
}

.hero-slide-2 {
  animation-delay: 5.44s;
}

.hero-slide-3 {
  animation-delay: 13.44s;
}

.hero-slide-4 {
  animation-delay: 21.44s;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  animation: heroPulse 8s ease-in-out infinite;
  transform-origin: center;
}

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 80px;
}

.logo {
  width: 100px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.hero-center {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 80px 96px;
  text-align: center;
}

.hero-copy {
  width: min(100%, 820px);
  display: grid;
  justify-items: center;
  gap: 40px;
}

.hero-title {
  margin: 0;
  font-family: "Instrument Sans", "Inter", sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-title span {
  display: block;
  margin-top: 24px;
  color: var(--orange);
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.15;
}

.hero-subtitle {
  width: min(100%, 526px);
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 12px rgba(249, 115, 22, 0.2);
  transition: transform 220ms var(--ease), filter 220ms var(--ease), box-shadow 220ms var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 22px rgba(249, 115, 22, 0.24);
}

.button:focus-visible,
.pill-button:focus-visible,
.seg-option:focus-visible,
.toggle-option:focus-visible,
.input:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.35);
  outline-offset: 3px;
}

.button-large {
  width: 320px;
  font-size: 20px;
}

.button-full {
  width: 100%;
  font-size: 16px;
}

.pill-button {
  height: 48px;
  padding: 0 32px;
  border-radius: 12px;
  font-size: 16px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.badge {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.section {
  padding: 120px 0;
}

.simulation {
  background: var(--surface);
}

.simulation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 80px;
  align-items: start;
}

.eyebrow-title,
.section-title {
  margin: 0;
  color: var(--blue);
  font-family: "Instrument Sans", "Inter", sans-serif;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
}

.section-copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.feature-list {
  display: grid;
  gap: 20px;
  margin-top: 44px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
}

.feature-item img {
  width: 32px;
  height: 32px;
}

.form-card {
  display: grid;
  gap: 24px;
  padding: 40px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.field.is-hidden {
  display: none;
}

.field label,
.inline-label {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.field-error {
  display: none;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  color: #ef4444;
  font-size: 12px;
  line-height: 1.35;
}

.field-error::before {
  content: "△";
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1.35;
}

.field-error.is-visible {
  display: flex;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 52px;
  padding: 4px;
  border-radius: 8px;
  background: #f3f4f6;
}

.seg-option,
.toggle-option {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.seg-option.is-active {
  color: var(--blue);
  background: #fff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
}

.input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 16px;
}

.input.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.toggle-row {
  display: grid;
  gap: 12px;
}

.toggle {
  width: 100%;
  height: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.toggle-option {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
}

.toggle-option.is-active {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 10px 18px rgba(249, 115, 22, 0.22);
}

.message {
  display: none;
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.message.is-visible {
  display: block;
}

.message.is-error {
  color: #b91c1c;
}

.message.is-success {
  color: #166534;
}

.form-card > .message.is-visible {
  margin: -4px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #dc2626;
}

.result-section {
  padding-top: 64px;
  background: var(--surface);
}

.result-shell,
.lead-shell {
  width: min(100% - 40px, 520px);
  display: grid;
  gap: 24px;
}

.result-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
}

.result-main {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 40px 32px;
  text-align: center;
}

.result-main > p,
.result-potential {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 600;
}

.result-main > strong {
  font-size: 32px;
  line-height: 1;
}

.installment-box {
  width: min(100%, 360px);
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
}

.installment-box span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.installment-box small,
.installment-box p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.45;
}

.installment-box strong {
  color: var(--orange);
  font-size: 40px;
  line-height: 1.1;
}

.installment-box strong small {
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
}

.installment-box p {
  margin: 0;
}

.result-potential {
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.14);
  text-align: center;
}

.result-potential strong {
  color: rgba(255, 255, 255, 0.86);
}

.income-card,
.lead-card,
.lead-success {
  display: grid;
  gap: 20px;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.income-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.income-title span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 2px solid #10b981;
  border-radius: 50%;
  color: #10b981;
  font-size: 12px;
  font-weight: 800;
}

.income-card > strong {
  color: #10b981;
  font-size: 30px;
  line-height: 1;
}

.income-card p,
.income-card small,
.lead-card p,
.lead-note,
.lead-success p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.lead-capture {
  padding-top: 20px;
  background: var(--surface);
}

.lead-card {
  border: 1px solid rgba(249, 115, 22, 0.28);
  text-align: left;
}

.lead-seals {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.lead-seals img {
  width: 88px;
  height: 28px;
  object-fit: contain;
}

.lead-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  text-align: center;
}

.lead-card > p {
  text-align: center;
}

.lead-note {
  text-align: center;
  font-size: 12px;
}

.lead-note a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-note.muted {
  color: #94a3b8;
}

.lead-success {
  justify-items: center;
  text-align: center;
}

.lead-success > strong {
  color: var(--blue);
  font-size: 28px;
}

.testimonials {
  background: #fff;
}

.center-title {
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.testimonial-card {
  display: grid;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: "Instrument Sans", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.person {
  min-width: 0;
  flex: 1;
}

.person strong,
.person span {
  display: block;
}

.person strong {
  font-size: 16px;
}

.person span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.quote {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
}

.benefits {
  background: var(--surface);
}

.section-rule {
  width: 80px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: var(--orange);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 64px;
}

.benefit {
  display: grid;
  gap: 24px;
  padding: 24px;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: var(--orange-soft);
}

.benefit-icon img {
  width: 32px;
  height: 32px;
}

.benefit h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.benefit p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.benefit-action {
  margin-top: 56px;
  text-align: center;
}

.footer {
  padding: 100px 80px 60px;
  background: var(--blue-dark);
  color: #fff;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.footer-brand {
  width: 400px;
  display: grid;
  gap: 32px;
}

.company {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.company span,
.footer-link,
.contact-item,
.disclaimer {
  color: rgba(255, 255, 255, 0.7);
}

.seals {
  display: flex;
  gap: 16px;
}

.seals img {
  width: 115px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-columns {
  display: flex;
  gap: 80px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 24px;
  min-width: 200px;
}

.footer-col h3 {
  margin: 0;
  font-size: 16px;
}

.contact-list,
.company-links {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.contact-item img {
  width: 18px;
  height: 18px;
}

.company-links {
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-bottom {
  display: grid;
  gap: 32px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-legal {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.disclaimer {
  width: min(100%, 800px);
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.3);
}

.legal-links {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

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

.hero [data-reveal] {
  animation: introUp 800ms var(--ease) forwards;
}

.hero [data-reveal="2"] {
  animation-delay: 120ms;
}

.hero [data-reveal="3"] {
  animation-delay: 240ms;
}

@keyframes introUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCrossfade {
  0% {
    opacity: 0;
  }
  8%,
  25% {
    opacity: 1;
  }
  33%,
  100% {
    opacity: 0;
  }
}

@keyframes heroPulse {
  0%,
  100% {
    transform: scale(1.02) translateY(0);
  }
  50% {
    transform: scale(1.045) translateY(-4px);
  }
}

@media (max-width: 1023px) {
  .shell {
    width: min(100% - 128px, 640px);
  }

  .hero {
    height: 680px;
  }

  .hero-slide img {
    object-position: center;
  }

  .nav {
    padding: 24px 64px;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .pill-button {
    height: 40px;
    padding: 0 20px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    font-size: 14px;
  }

  .hero-center {
    padding: 64px;
  }

  .hero-copy {
    gap: 32px;
  }

  .hero-title {
    font-size: 48px;
    line-height: 1.1;
  }

  .hero-title span {
    margin-top: 8px;
    font-size: 28px;
  }

  .hero-subtitle {
    width: min(100%, 502px);
    font-size: 18px;
  }

  .section {
    padding: 80px 0;
  }

  .simulation-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    justify-items: center;
    text-align: center;
  }

  .feature-list {
    display: none;
  }

  .form-card {
    width: min(100%, 560px);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
  }

  .testimonial-card {
    padding: 24px;
    border-radius: 16px;
  }

  .benefit-grid {
    gap: 32px;
  }

  .benefit {
    padding: 0;
  }

  .footer {
    padding: 80px 64px 40px;
  }

  .footer-top {
    gap: 40px;
  }

  .footer-brand {
    width: 320px;
  }

  .footer-columns {
    flex-direction: column;
    align-items: flex-end;
    gap: 32px;
    text-align: right;
  }

  .footer-col.company-menu {
    display: none;
  }
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 40px);
  }

  .hero {
    height: 640px;
  }

  .hero-slide img {
    object-position: center top;
  }

  .nav {
    padding: 24px;
  }

  .nav-links {
    display: none;
  }

  .hero-center {
    place-items: end start;
    padding: 24px 24px 64px;
    text-align: left;
  }

  .hero-copy {
    justify-items: start;
    gap: 24px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-title span {
    font-size: 22px;
  }

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

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

  .trust-badges {
    justify-content: flex-start;
    gap: 8px;
  }

  .badge {
    padding: 6px 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
  }

  .section {
    padding: 64px 0;
  }

  .simulation {
    padding-top: 40px;
  }

  .simulation-grid {
    gap: 32px;
    justify-items: stretch;
    text-align: left;
  }

  .eyebrow-title,
  .section-title {
    font-size: 28px;
  }

  .section-copy {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.5;
  }

  .form-card {
    gap: 24px;
    padding: 24px;
    border-radius: 16px;
  }

  .seg-option {
    font-size: 11px;
  }

  .toggle {
    height: 44px;
    gap: 10px;
  }

  .toggle-option {
    font-size: 12px;
  }

  .center-title {
    text-align: left;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .testimonial-card {
    gap: 16px;
    padding: 20px;
  }

  .quote {
    font-size: 14px;
    line-height: 1.5;
  }

  .benefits {
    padding: 80px 0;
  }

  .section-rule {
    width: 60px;
    margin-right: auto;
    margin-left: 0;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 48px;
  }

  .benefit {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }

  .benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 20px;
  }

  .benefit-icon img {
    width: 20px;
    height: 20px;
  }

  .benefit h3 {
    font-size: 16px;
  }

  .benefit p {
    margin-top: 4px;
    font-size: 14px;
  }

  .benefit-action .button {
    width: 100%;
  }

  .footer {
    padding: 64px 24px 40px;
  }

  .footer-top,
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand,
  .footer-col {
    width: 100%;
  }

  .footer-columns {
    align-items: flex-start;
    text-align: left;
  }

  .seals {
    flex-wrap: wrap;
  }

  .footer-bottom {
    margin-top: 48px;
    gap: 24px;
  }

  .legal-links {
    gap: 16px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-slide,
  .hero-slide img {
    animation: none !important;
  }

  .hero-slide {
    opacity: 0;
  }

  .hero-slide-1 {
    opacity: 1;
  }

  .hero-slide img {
    transform: none;
  }
}
