:root {
  --landing-navy: #061e35;
  --landing-navy-deep: #03172a;
  --landing-teal: #18c9bc;
  --landing-teal-dark: #078b80;
  --landing-ice: #eef8f7;
  --landing-paper: #ffffff;
  --landing-line: #d7e1e6;
  --landing-ink: #0e2440;
}

body { background: #f7fbfb; }

.public-test-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 24px;
  color: #5b3b00;
  border-bottom: 1px solid #e8c76a;
  background: #fff3c9;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.public-test-banner strong {
  padding: 4px 7px;
  color: #fff;
  border-radius: 5px;
  background: #996600;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  min-height: 80px;
  margin: 0;
  color: white;
  background: var(--landing-navy);
}

.site-header::after { display: none; }

.header-inner {
  display: grid;
  width: min(1400px, calc(100% - 64px));
  min-height: 80px;
  margin: auto;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 52px;
}

.site-header .brand {
  color: white;
  font-size: 28px;
  letter-spacing: -.045em;
}

.brand-word > span { color: var(--landing-teal); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
}

.primary-nav a {
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--landing-teal); }

.site-header .header-actions { gap: 16px; }

.site-header .language-button,
.site-header .text-button {
  min-height: 44px;
  padding: 0;
  color: white;
  border: 0;
  background: transparent;
}

.site-header .language-button { display: flex; align-items: center; gap: 8px; }
.site-header .text-button { color: #94a4b7; }
.header-divider { width: 1px; height: 24px; background: rgba(255, 255, 255, .3); }

.landing-screen {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 660px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  color: white;
  background:
    radial-gradient(circle at 46% 80%, rgba(0, 143, 132, .16), transparent 35%),
    linear-gradient(130deg, var(--landing-navy) 0%, var(--landing-navy-deep) 100%);
}

.landing-inner {
  display: grid;
  width: min(1400px, calc(100% - 64px));
  height: 100%;
  margin: auto;
  grid-template-columns: minmax(0, 1.2fr) minmax(460px, .86fr);
  align-items: start;
  gap: clamp(48px, 6vw, 92px);
}

.hero-copy {
  position: relative;
  max-width: none;
  min-width: 0;
  height: 100%;
  padding: 68px 0 44px;
  overflow: hidden;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: white;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(54px, 5.1vw, 76px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}

.hero-copy h1 .hero-accent { color: var(--landing-teal); }

.hero-rule {
  display: block;
  width: 68px;
  height: 3px;
  margin: 30px 0 24px;
  border-radius: 99px;
  background: var(--landing-teal);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .89);
  font-size: 20px;
  line-height: 1.52;
}

.trust-row {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 700px);
  margin: 36px 0 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-row > div {
  display: grid;
  align-items: start;
  gap: 12px;
}

.trust-row p { margin: 0; }
.trust-row strong,
.trust-row small { display: block; }
.trust-row strong { color: white; font-size: 14px; line-height: 1.25; }
.trust-row small { margin-top: 4px; color: #88a9b6; font-size: 11px; line-height: 1.35; }

.trust-icon,
.security-icon {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: white;
  border: 1px solid rgba(24, 201, 188, .2);
  border-radius: 50%;
  background: rgba(14, 141, 132, .2);
}

.document-icon::before {
  display: grid;
  width: 27px;
  height: 31px;
  content: "RM";
  place-items: end center;
  padding-bottom: 4px;
  border: 2px solid currentColor;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 800;
}

.document-icon::after {
  position: absolute;
  top: 20px;
  width: 13px;
  height: 2px;
  content: "";
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.shield-icon::before {
  display: grid;
  width: 28px;
  height: 31px;
  content: "✓";
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 14px 14px 18px 18px;
  font-size: 14px;
  font-weight: 900;
}

.people-icon::before {
  width: 12px;
  height: 12px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 18px 2px 0 -2px var(--landing-navy), 18px 2px 0 0 currentColor;
  transform: translateX(-8px);
}

.people-icon::after {
  position: absolute;
  bottom: 13px;
  width: 32px;
  height: 13px;
  content: "";
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.hero-cta-link {
  position: absolute;
  z-index: 2;
  top: 548px;
  bottom: auto;
  left: 8px;
  color: var(--landing-teal);
  font-size: 16px;
  font-weight: 850;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-cta-link::after {
  display: block;
  width: 126px;
  height: 4px;
  margin-top: 9px;
  content: "";
  border-radius: 50%;
  background: var(--landing-teal-dark);
  transform: rotate(-4deg);
}

.hero-grid-art {
  position: absolute;
  right: -26px;
  bottom: -70px;
  width: 310px;
  height: 510px;
  opacity: .42;
  background-image:
    linear-gradient(rgba(24, 201, 188, .24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 201, 188, .24) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, transparent, black 24%, black 88%, transparent);
}

.hero-grid-art::after {
  position: absolute;
  right: 50px;
  bottom: 150px;
  width: 50px;
  height: 50px;
  content: "";
  background: rgba(24, 201, 188, .64);
  box-shadow: -50px -50px 0 rgba(24, 201, 188, .42), -100px -150px 0 rgba(24, 201, 188, .3), 0 -200px 0 rgba(24, 201, 188, .22);
}

.calculator-card {
  position: relative;
  top: 18px;
  z-index: 8;
  width: 100%;
  min-width: 0;
  padding: 32px 34px 28px;
  border: 1px solid rgba(8, 36, 64, .12);
  border-radius: 14px;
  background: var(--landing-paper);
  box-shadow: 0 18px 45px rgba(3, 23, 42, .18);
}

.calculator-card::before { display: none; }

.calculator-card .card-heading { margin-bottom: 20px; }
.calculator-card .card-heading h2 {
  margin: 0;
  color: var(--landing-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(29px, 2.5vw, 36px);
  font-weight: 800;
  letter-spacing: -.045em;
}

.calculator-card .amount-display {
  display: grid;
  align-items: start;
  justify-content: stretch;
  gap: 4px;
}

.calculator-card .amount-display span,
.calculator-card .field > span {
  color: var(--landing-ink);
  font-size: 13px;
  font-weight: 750;
}

.calculator-card .amount-display strong {
  color: var(--landing-teal-dark);
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.calculator-card .amount-range {
  width: 100%;
  height: 22px;
  margin: 12px 0 1px;
  accent-color: var(--landing-teal-dark);
  cursor: grab;
}

.calculator-card .amount-range:active { cursor: grabbing; }
.calculator-card .range-labels { color: #48566a; font-size: 11px; }

.calculator-card .field { gap: 7px; margin-top: 18px; }
.calculator-card .term-field { padding-top: 16px; border-top: 1px solid var(--landing-line); }

.calculator-card .term-control {
  display: grid;
  min-height: 72px;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.calculator-card .term-icon {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  margin: 0;
  place-items: center;
  color: var(--landing-teal-dark);
  border: 0;
  border-radius: 50%;
  background: var(--landing-ice);
}

.calculator-card .term-icon::before {
  width: 13px;
  height: 12px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 2px;
  box-shadow: none;
}

.calculator-card .term-icon::after {
  position: absolute;
  top: 10px;
  width: 8px;
  height: 8px;
  content: "";
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.term-copy { display: grid; gap: 2px; padding: 0 12px; }
.calculator-card .term-value { padding: 0; color: var(--landing-ink); font-size: 19px; }
.term-copy small { color: #4c5d70; font-size: 11px; }

.calculator-card .quote-box {
  display: grid;
  margin: 0;
  padding: 15px 0 12px;
  border: 0;
  border-top: 1px solid var(--landing-line);
  border-bottom: 1px solid var(--landing-line);
  border-radius: 0;
  background: transparent;
  grid-template-columns: 1fr;
  gap: 9px;
}

.calculator-card .quote-box div,
.calculator-card .quote-box .quote-total {
  display: grid;
  padding: 0;
  border: 0;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
}

.calculator-card .quote-box span { color: #28384f; font-size: 12px; }
.calculator-card .quote-box strong { color: var(--landing-ink); font-size: 13px; }
.calculator-card .quote-box .quote-total { margin-top: 2px; padding-top: 10px; border-top: 1px solid var(--landing-line); }
.calculator-card .quote-box .quote-total span { font-weight: 800; }
.calculator-card .quote-box .quote-total strong { color: var(--landing-teal-dark); font-size: 18px; }

.calculator-card .fine-print { margin: 8px 0 0; color: #4e5c6e; font-size: 10px; }

.calculator-card .field input {
  min-height: 45px;
  color: var(--landing-ink);
  border-color: #c7d2db;
  border-radius: 7px;
}

.calculator-card .field input:focus { border-color: var(--landing-teal-dark); box-shadow: 0 0 0 3px rgba(7, 139, 128, .14); }
.calculator-card .phone-label { margin-top: 15px; }
.calculator-card .phone-field { border-color: #c7d2db; border-radius: 7px; }
.calculator-card .phone-field:focus-within { border-color: var(--landing-teal-dark); box-shadow: 0 0 0 3px rgba(7, 139, 128, .14); }
.calculator-card .phone-field b { min-height: 45px; color: var(--landing-ink); border-color: var(--landing-line); }
.calculator-card .field > small { color: #536276; font-size: 10px; }

.calculator-card .check-field { margin-top: 11px; color: #26384f; font-size: 11px; }
.calculator-card .check-field input { width: 16px; height: 16px; accent-color: var(--landing-teal-dark); }
.calculator-card a { color: #05766e; }

.calculator-card .primary-button {
  min-height: 50px;
  border-color: var(--landing-teal-dark);
  border-radius: 7px;
  background: linear-gradient(100deg, #078b80 0%, #029e91 100%);
}

.calculator-card .primary-button:hover:not(:disabled) { background: #05766e; box-shadow: 0 10px 22px rgba(5, 118, 110, .22); }
.calculator-card .secure-cta::before {
  width: 14px;
  height: 14px;
  margin-right: 8px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='10' height='7' rx='1.5'/%3E%3Cpath d='M5 7V5a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.calculator-card .data-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 9px; color: #56657a; font-size: 10px; }

.mini-lock,
.lock-icon::before {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.mini-lock::before,
.lock-icon::after {
  position: absolute;
  top: -6px;
  left: 1px;
  width: 5px;
  height: 6px;
  content: "";
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.calculator-card .form-message { min-height: 16px; margin-top: 7px; font-size: 11px; }

.journey-section {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f1f8f8;
}

.journey-inner {
  width: min(1400px, calc(100% - 64px));
  min-height: 235px;
  margin: auto;
  padding: 42px min(520px, 38vw) 38px 0;
}

.journey-inner h2 {
  margin: 0 0 25px;
  color: var(--landing-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.journey-section .journey-inner ol {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
}

.journey-section .journey-inner li {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 0 15px;
  border: 0;
  border-right: 1px solid #c9d8dc;
  border-radius: 0;
  background: transparent;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 10px;
}

.journey-section .journey-inner li:first-child { padding-left: 0; }
.journey-section .journey-inner li:last-child { padding-right: 0; border-right: 0; }
.journey-section .journey-inner li > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #05766e;
  border-radius: 10px;
  background: #dfefed;
  font-size: 18px;
  font-weight: 850;
}

.journey-section .journey-inner strong { color: var(--landing-ink); font-size: 12px; }
.journey-section .journey-inner small { margin-top: 3px; color: #5a6878; font-size: 10px; }

.security-strip {
  display: grid;
  width: min(1400px, calc(100% - 64px));
  margin: auto;
  padding: 28px 0 34px;
  border-top: 1px solid #d4e1e4;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 8vw, 110px);
}

.security-strip > div { display: flex; align-items: center; gap: 16px; }
.security-strip .security-icon { flex: 0 0 auto; width: 52px; height: 52px; color: #087e75; border-color: #d3e8e5; background: #e5f3f1; }
.security-strip p { margin: 0; }
.security-strip strong,
.security-strip small { display: block; }
.security-strip strong { color: var(--landing-ink); font-size: 13px; }
.security-strip small { margin-top: 4px; color: #5d6b7c; font-size: 11px; }

.site-footer { background: white; }

@media (max-width: 1120px) {
  .header-inner,
  .landing-inner,
  .journey-inner,
  .security-strip { width: min(100% - 40px, 1040px); }
  .header-inner { gap: 28px; }
  .primary-nav { gap: 20px; }
  .landing-inner { grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); gap: 38px; }
  .hero-copy h1 { font-size: 56px; }
  .trust-row { gap: 14px; }
  .trust-row small { display: none; }
  .journey-inner { padding-right: 460px; }
  .journey-section .journey-inner ol { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .journey-section .journey-inner li:nth-child(2) { border-right: 0; }
}

@media (max-width: 860px) {
  .header-inner { width: calc(100% - 32px); grid-template-columns: auto 1fr; }
  .primary-nav { display: none; }
  .header-actions { justify-self: end; }
  .site-header .text-button,
  .header-divider { display: none; }
  .landing-screen { height: auto; overflow: hidden; }
  .landing-inner { width: calc(100% - 32px); height: auto; padding-bottom: 50px; grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { height: auto; padding: 54px 0 36px; overflow: visible; }
  .hero-copy h1 { max-width: 680px; font-size: clamp(46px, 9vw, 66px); }
  .hero-lead { max-width: 620px; }
  .hero-grid-art { right: -80px; bottom: -20px; height: 360px; }
  .hero-cta-link { display: none; }
  .calculator-card { top: 0; width: min(100%, 620px); margin: auto; }
  .journey-inner { width: calc(100% - 32px); min-height: 0; padding: 36px 0; }
  .journey-section .journey-inner ol { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .security-strip { width: calc(100% - 32px); }
}

@media (max-width: 580px) {
  .public-test-banner { align-items: flex-start; padding: 9px 12px; text-align: left; }
  .site-header { min-height: 68px; }
  .header-inner { min-height: 68px; }
  .site-header .brand { font-size: 24px; }
  .site-header .language-button { font-size: 13px; }
  .landing-inner { gap: 18px; padding-bottom: 32px; }
  .hero-copy { padding: 36px 0 24px; }
  .hero-copy h1 { font-size: 43px; line-height: 1.02; }
  .hero-rule { margin: 23px 0 19px; }
  .hero-lead { font-size: 17px; }
  .trust-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 26px; }
  .trust-row > div { display: grid; grid-template-columns: 1fr; align-items: start; gap: 7px; text-align: center; }
  .trust-icon { width: 46px; height: 46px; }
  .trust-row .trust-icon { margin: auto; }
  .trust-row strong { font-size: 10px; }
  .trust-row small { display: none; }
  .hero-grid-art { display: none; }
  .hero-cta-link { display: none; }
  .calculator-card { padding: 25px 19px 22px; border-radius: 11px; }
  .calculator-card .card-heading h2 { font-size: 27px; }
  .calculator-card .amount-display strong { font-size: 29px; }
  .calculator-card .term-control { grid-template-columns: 43px minmax(0, 1fr); }
  .term-copy { padding: 0 8px; }
  .calculator-card .quote-box div,
  .calculator-card .quote-box .quote-total { gap: 10px; }
  .calculator-card .phone-field { grid-template-columns: 64px minmax(0, 1fr); }
  .calculator-card .phone-field b { justify-content: center; padding: 0 8px; }
  .calculator-card .check-field { font-size: 12px; }
  .journey-section .journey-inner ol { grid-template-columns: 1fr; gap: 14px; }
  .journey-section .journey-inner li,
  .journey-section .journey-inner li:nth-child(2) { padding: 0; border-right: 0; }
  .security-strip { padding: 24px 0 30px; grid-template-columns: 1fr; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta-link::after { transform: none; }
}
