:root {
  --ink: #172033;
  --muted: #5d687a;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: #dce3ee;
  --blue: #2563eb;
  --blue-dark: #183b86;
  --green: #16a34a;
  --yellow: #f5b942;
  --red: #ef4444;
  --navy: #0d1b2f;
  --radius: 8px;
  --shadow: 0 20px 60px rgba(18, 32, 55, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--blue-dark);
  background: #eaf0ff;
}

.nav-group {
  position: relative;
}

.dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  width: 240px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: 180ms ease;
}

.nav-group:hover .dropdown,
.nav-group:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  padding: clamp(36px, 5vw, 72px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 85% 12%, rgba(245, 185, 66, 0.22), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eaf2ff 48%, #ffffff 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow.product-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.app-brand-icon {
  flex: 0 0 clamp(34px, 4vw, 46px);
  width: clamp(34px, 4vw, 46px);
  height: clamp(34px, 4vw, 46px);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(18, 32, 55, 0.16);
}

.app-name-lockup {
  max-width: 640px;
  margin-bottom: 12px;
}

.store-transition-note {
  max-width: 620px;
  margin: -4px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.store-transition-note.on-dark {
  margin: -6px 0 18px;
  color: #bfdbfe;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
a,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.lead {
  max-width: 660px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 14px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 184px;
  min-height: 60px;
  padding: 10px 16px;
  border-radius: var(--radius);
  color: #fff;
  background: #111827;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.2);
}

.store-button small {
  display: block;
  font-size: 0.76rem;
  line-height: 1.1;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

.store-button strong {
  display: block;
  font-size: 1.18rem;
  line-height: 1.1;
}

.store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}

.store-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.store-button.google {
  background: var(--blue-dark);
}

.trust-cues {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-cues li {
  padding: 6px 10px;
  border: 1px solid #cbd8f3;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
}

.download-note {
  max-width: 620px;
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.download-note.on-dark {
  color: #bfdbfe;
}

.price-note,
.inline-trust {
  color: var(--muted);
  font-size: 0.95rem;
}

.inline-trust {
  display: inline-block;
  margin: 4px 0 22px;
  padding: 10px 12px;
  border-left: 3px solid rgba(255, 255, 255, 0.72);
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 520px;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 10% 6% 8%;
  background: linear-gradient(135deg, #dbeafe, #fef3c7);
  border-radius: 36px;
  transform: rotate(-3deg);
}

.phone {
  position: relative;
  filter: drop-shadow(0 26px 32px rgba(15, 23, 42, 0.2));
}

.phone-main {
  z-index: 2;
  width: min(45vw, 320px);
}

.phone-side {
  z-index: 1;
  width: min(31vw, 230px);
  margin-left: -68px;
  transform: translateY(32px) rotate(3deg);
}

.section {
  max-width: 100%;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 74px);
  background: var(--white);
}

.copy-block {
  color: var(--muted);
  font-size: 1.05rem;
}

.copy-block h3 {
  color: var(--ink);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: var(--navy);
  color: var(--white);
}

.feature-band p {
  color: #d7e3f4;
}

.feature-visual img {
  max-height: 620px;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
}

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

.benefit-card,
.testimonial,
.legal-list a,
.calculator-grid a {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(18, 32, 55, 0.06);
}

.benefit-card span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 900;
}

.benefit-card p {
  color: var(--muted);
}

.app-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(13, 27, 47, 0.98)),
    var(--blue-dark);
}

.app-promo-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 760px;
}

.app-promo-heading .eyebrow {
  margin-bottom: 10px;
  color: #bfdbfe;
}

.app-promo-heading .app-brand-icon {
  margin-top: 2px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.app-promo p {
  max-width: 680px;
  color: #dbeafe;
}

.app-promo > img {
  max-height: 560px;
  margin: 0 auto;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.22));
}

.qr-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: var(--white);
}

.qr-section p {
  max-width: 620px;
  color: var(--muted);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.qr-grid figure {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: center;
}

.qr-grid img {
  width: 140px;
  margin: 0 auto 12px;
}

.qr-grid figcaption {
  color: var(--muted);
  font-weight: 900;
}

.qr-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

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

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

.testimonial img {
  width: 120px;
  margin-bottom: 18px;
}

.testimonial p {
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  background: var(--white);
}

.contact-links {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.contact-links a,
.text-link {
  color: var(--blue);
  font-weight: 800;
}

.social-follow {
  margin-top: 28px;
}

.social-follow h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.2rem;
}

.social-follow p {
  color: var(--muted);
}

.social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue-dark);
  background: var(--paper);
  font-weight: 900;
  text-decoration: none;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--blue);
  background: #eef5ff;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links .icon-cutout {
  fill: var(--paper);
  stroke: var(--paper);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  min-height: 50px;
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--blue);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 5vw, 72px);
  color: #cbd5e1;
  background: var(--navy);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: #e2e8f0;
  text-decoration: none;
}

.page-main {
  min-height: calc(100vh - 76px);
}

.page-hero {
  padding: clamp(44px, 5vw, 72px) clamp(20px, 5vw, 72px) clamp(22px, 3vw, 36px);
  background: linear-gradient(135deg, #edf4ff, #ffffff);
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
}

.page-hero + .section {
  padding-top: clamp(26px, 3.5vw, 44px);
}

.text-page {
  max-width: 920px;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-hero {
  padding-bottom: clamp(22px, 3vw, 36px);
}

.about-content {
  padding-top: clamp(26px, 3.5vw, 44px);
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0;
}

.about-feature-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(18, 32, 55, 0.06);
}

.about-feature-grid h2 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.25rem;
}

.about-feature-grid p {
  margin: 0;
  color: var(--muted);
}

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

.legal-list a,
.calculator-grid a {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.legal-list span {
  font-weight: 900;
}

.legal-list small {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .dropdown {
    position: static;
    display: grid;
    width: auto;
    margin-top: 6px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .hero,
  .intro-grid,
  .feature-band,
  .app-promo,
  .qr-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-media {
    min-height: 360px;
  }

  .phone-main {
    width: min(58vw, 280px);
  }

  .phone-side {
    width: min(40vw, 190px);
  }

  .benefits,
  .testimonial-grid,
  .about-feature-grid,
  .legal-list,
  .calculator-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand span {
    display: none;
  }

  .hero {
    padding-bottom: 34px;
  }

  h1 {
    margin-bottom: 16px;
    font-size: 2.3rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 2.1rem;
  }

  .page-hero {
    padding-top: 32px;
    padding-bottom: 20px;
  }

  .page-hero + .section {
    padding-top: 24px;
  }

  .lead {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .cta-row,
  .store-button {
    width: 100%;
  }

  .store-button {
    min-height: 56px;
  }

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

  .social-links a {
    padding: 9px 10px;
  }

  .trust-cues {
    gap: 6px;
  }

  .trust-cues li {
    padding: 5px 8px;
    font-size: 0.8rem;
  }

  .hero-media {
    min-height: 265px;
    padding-inline: 4px;
  }

  .phone-main {
    width: min(48vw, 168px);
  }

  .phone-side {
    width: min(36vw, 126px);
    margin-left: -28px;
    transform: translateY(18px) rotate(2deg);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
