:root {
  --brand-primary: #075be8;
  --brand-primary-dark: #0044cc;
  --brand-secondary: #16b8be;
  --brand-navy: #071d55;
  --text-primary: #071d55;
  --text-muted: #61708e;
  --surface: #ffffff;
  --surface-soft: #f3f8ff;
  --surface-tint: #eaf3ff;
  --surface-teal: #e2faf8;
  --border: #d5e4fa;
  --focus: #ffb703;
  --success: #0e9f6e;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --shadow-sm: 0 10px 24px rgba(7, 29, 85, 0.08);
  --shadow-md: 0 24px 60px rgba(7, 29, 85, 0.14);
  --container: 1160px;
  --header-height: 76px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 15% 0%, rgba(22, 184, 190, 0.16), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 36%, #f7fbff 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--brand-primary);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--brand-navy);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(213, 228, 250, 0.74);
  backdrop-filter: blur(20px);
}

.nav-shell {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
  color: var(--brand-navy);
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(7, 91, 232, 0.2);
}

.brand span {
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1;
}

.brand strong {
  color: var(--brand-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 760;
  color: var(--text-muted);
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius-pill);
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  background: var(--surface-tint);
  color: var(--brand-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--brand-navy);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
  content: "";
}

.menu-lines::before {
  transform: translateY(-6px);
}

.menu-lines::after {
  transform: translateY(4px);
}

.menu-button[aria-expanded="true"] .menu-lines {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-lines::before {
  transform: translateY(0) rotate(90deg);
}

.menu-button[aria-expanded="true"] .menu-lines::after {
  opacity: 0;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 820;
  line-height: 1.1;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #fff;
  box-shadow: 0 16px 34px rgba(7, 91, 232, 0.24);
}

.button-primary:hover {
  color: #fff;
  box-shadow: 0 18px 40px rgba(7, 91, 232, 0.3);
}

.button-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--brand-navy);
}

.button-secondary:hover {
  background: var(--surface-tint);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-primary-dark);
  font-size: 0.9rem;
  font-weight: 820;
  box-shadow: var(--shadow-sm);
}

.badge::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-secondary);
  content: "";
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-primary-dark);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 7vw, 5.55rem);
  line-height: 0.96;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
  line-height: 1.24;
}

.lead {
  max-width: 58ch;
  margin-bottom: 26px;
  color: var(--text-muted);
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.phone-stage {
  position: relative;
  display: grid;
  min-height: 590px;
  place-items: center;
  isolation: isolate;
}

.phone-stage::before {
  position: absolute;
  inset: 6% 0 10% 9%;
  z-index: -1;
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgba(22, 184, 190, 0.28), rgba(7, 91, 232, 0.18)),
    var(--surface-tint);
  box-shadow: var(--shadow-md);
  content: "";
  transform: rotate(-5deg);
}

.phone {
  position: absolute;
  width: min(270px, 46vw);
  border: 10px solid var(--brand-navy);
  border-radius: 34px;
  background: var(--brand-navy);
  box-shadow: 0 30px 70px rgba(7, 29, 85, 0.22);
  overflow: hidden;
}

.phone img {
  width: 100%;
  aspect-ratio: 941 / 1672;
  object-fit: cover;
  border-radius: 24px;
}

.phone-main {
  right: 10%;
  top: 2%;
}

.phone-side {
  left: 6%;
  bottom: 2%;
  width: min(220px, 38vw);
  transform: rotate(-7deg);
}

.floating-card {
  position: absolute;
  right: 2%;
  bottom: 12%;
  width: min(250px, 48vw);
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

.floating-card strong {
  display: block;
  margin-bottom: 4px;
}

.floating-card p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section {
  padding: 76px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(234, 243, 255, 0.65), rgba(255, 255, 255, 0.88));
}

.section-dark {
  background: linear-gradient(135deg, #071d55, #063b9f 55%, #0b8eb0);
  color: #fff;
}

.section-dark .lead,
.section-dark p,
.section-dark .muted {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.muted {
  color: var(--text-muted);
}

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

.feature-card,
.step-card,
.trust-card,
.faq-item,
.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.feature-card {
  min-height: 210px;
  padding: 22px;
}

.icon-chip {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 16px;
  background: var(--surface-tint);
  color: var(--brand-primary);
  font-size: 1.35rem;
}

.feature-card:nth-child(2n) .icon-chip,
.trust-card:nth-child(2n) .icon-chip {
  background: var(--surface-teal);
  color: #087c82;
}

.feature-card p,
.step-card p,
.trust-card p,
.info-card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.product-band {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.screen-shot {
  overflow: hidden;
  border: 8px solid #061a4d;
  border-radius: 30px;
  background: #061a4d;
  box-shadow: var(--shadow-md);
}

.screen-shot img {
  width: 100%;
  aspect-ratio: 941 / 1672;
  object-fit: cover;
  border-radius: 21px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: steps;
}

.step-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  counter-increment: steps;
}

.step-card::before {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 16px;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 900;
  content: counter(steps);
}

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

.trust-card {
  padding: 24px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.48fr);
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow-md);
}

.cta-panel .button-secondary {
  border-color: rgba(255, 255, 255, 0.35);
}

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

.mini-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mini-list li::before {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--brand-secondary);
  content: "";
}

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

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-tint);
  color: var(--brand-primary);
  content: "+";
}

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

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

.page-hero {
  padding: 68px 0 44px;
}

.page-grid,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.42fr);
  gap: 28px;
  align-items: start;
}

.info-card {
  padding: 24px;
}

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

.legal-content {
  width: min(900px, calc(100% - 40px));
  max-width: 900px;
  margin-inline: auto;
  padding-bottom: 70px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal-content a {
  color: var(--brand-primary);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.legal-hero {
  padding: 62px 0 24px;
}

.legal-hero .lead {
  margin-bottom: 0;
}

.legal-card {
  margin-bottom: 44px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.legal-card h1:first-child {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.08;
}

.legal-card h2 {
  padding-top: 6px;
  border-top: 1px solid rgba(213, 228, 250, 0.72);
}

.legal-card h2:first-child,
.legal-card h1 + h2,
.legal-card .updated + .language-nav + section h2:first-child,
.legal-card section h2:first-child {
  border-top: 0;
}

.legal-card h3 {
  margin-top: 24px;
  font-size: 1.12rem;
}

.legal-card p,
.legal-card li {
  color: var(--text-muted);
}

.legal-card .updated {
  color: var(--text-muted);
  font-weight: 760;
}

.language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 30px;
}

.language-nav a,
.legal-card .button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--brand-primary);
  font-weight: 840;
  text-decoration: none;
}

.legal-card .button {
  margin-top: 8px;
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(7, 91, 232, 0.18);
}

.notice,
.note {
  margin: 20px 0;
  padding: 15px 18px;
  border-left: 4px solid var(--brand-secondary);
  border-radius: var(--radius-sm);
  background: var(--surface-teal);
  color: var(--brand-navy);
}

.legal-card hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 52px 0;
}

.site-footer {
  padding: 54px 0 28px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) repeat(3, minmax(160px, 0.45fr));
  gap: 28px;
}

.footer-grid p {
  color: var(--text-muted);
}

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

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--brand-primary);
}

.footer-title {
  margin-bottom: 12px;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: var(--header-height) 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - var(--header-height) - 24px);
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
    overflow-y: auto;
  }

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

  .nav-links a {
    padding: 14px 16px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .hero-grid,
  .product-band,
  .section-heading,
  .cta-panel,
  .page-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .steps,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .phone-stage {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    --header-height: 68px;
  }

  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .brand span {
    font-size: 1.16rem;
  }

  .header-actions .button {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .phone-stage {
    min-height: 470px;
  }

  .phone {
    width: min(230px, 61vw);
    border-width: 8px;
    border-radius: 30px;
  }

  .phone-main {
    right: 3%;
  }

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

  .floating-card {
    right: 0;
    bottom: 7%;
    width: min(224px, 64vw);
    padding: 14px;
  }

  .section {
    padding: 58px 0;
  }

  .legal-content {
    width: min(100% - 28px, 900px);
  }

  .legal-hero {
    padding: 42px 0 18px;
  }

  .feature-grid,
  .steps,
  .trust-grid,
  .screen-row,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: unset;
  }

  .screen-row {
    max-width: 270px;
    margin-inline: auto;
  }

  .screen-row .screen-shot:nth-child(n + 2) {
    display: none;
  }

  .footer-bottom {
    display: grid;
  }
}

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

  .brand span {
    font-size: 1rem;
  }

  .menu-button {
    width: 42px;
    height: 42px;
  }

  .phone-stage {
    min-height: 440px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
