:root {
  color-scheme: light;
  --ink: #101728;
  --muted: #647087;
  --brand: #4656d9;
  --brand-dark: #3442bc;
  --mint: #1fb28e;
  --surface: #ffffff;
  --background: #f2f5fb;
  --line: #dfe5f0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 4%, rgba(70, 86, 217, .13), transparent 32rem),
    var(--background);
  line-height: 1.65;
}

a { color: var(--brand-dark); }

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 760;
  font-size: 1.08rem;
}

.brand img { border-radius: 10px; box-shadow: 0 8px 24px rgba(44, 55, 137, .18); }

nav { display: flex; gap: 24px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 620; }
nav a:hover, nav a[aria-current="page"] { color: var(--brand); }

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
  padding: 56px 0 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 780;
  letter-spacing: .14em;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
h1 { margin: 0; font-size: clamp(3.1rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.28rem; }

.lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary { color: white; background: var(--brand); box-shadow: 0 12px 30px rgba(70, 86, 217, .25); }
.button.primary:hover { background: var(--brand-dark); }
.button.secondary { color: var(--brand-dark); background: rgba(255, 255, 255, .8); border: 1px solid var(--line); }
.availability { color: var(--muted); font-size: .9rem; margin-top: 22px; }

.phone-wrap {
  justify-self: center;
  width: min(390px, 80vw);
  padding: 11px;
  border-radius: 58px;
  background: #111827;
  box-shadow: 0 42px 90px rgba(25, 32, 78, .28);
  transform: rotate(1.4deg);
}

.phone { display: block; width: 100%; border-radius: 48px; }

.features { padding: 96px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; }
.section-heading h2 { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature-grid article { padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.78); }
.feature-grid h3 { margin: 22px 0 8px; }
.feature-grid p { margin: 0; color: var(--muted); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: white; background: var(--brand); font-size: 1.4rem; font-weight: 800; }

.privacy-callout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
  margin: 48px 0;
  padding: 54px;
  border-radius: 34px;
  color: white;
  background: linear-gradient(135deg, #26358f, #4656d9 52%, #1d9c83);
}

.privacy-callout .eyebrow { color: #dce2ff; }
.privacy-callout h2 { margin: 0; }
.privacy-callout > p { margin: 0; color: rgba(255,255,255,.82); font-size: 1.04rem; }
.english-summary { max-width: 760px; padding: 100px 0 120px; }
.english-summary h2 { margin: 0; }
.english-summary > p:last-child { color: var(--muted); font-size: 1.08rem; }

.document { max-width: 840px; padding: 80px 0 120px; }
.document h1 { font-size: clamp(2.7rem, 7vw, 4.7rem); }
.document h2 { margin: 60px 0 14px; font-size: 1.65rem; }
.document-lead { margin: 24px 0 54px; color: var(--muted); font-size: 1.18rem; }
.effective { color: var(--muted); }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border-radius: 24px; background: white; border: 1px solid var(--line); }
.contact-card h2 { margin: 0; }
.contact-card p { margin: 4px 0 0; color: var(--muted); }
details { padding: 20px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 720; font-size: 1.08rem; }
details p { color: var(--muted); }
.policy section { margin: 50px 0; }
.policy section h2, .policy [lang="en"] h2 { margin-top: 0; }
hr { margin: 84px 0; border: 0; border-top: 1px solid var(--line); }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

footer div { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { color: var(--muted); text-decoration: none; }

@media (max-width: 760px) {
  .site-header { min-height: 76px; }
  nav { gap: 14px; font-size: .9rem; }
  .hero { grid-template-columns: 1fr; padding-top: 52px; }
  .phone-wrap { margin: 28px auto 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .privacy-callout { grid-template-columns: 1fr; gap: 24px; padding: 34px 28px; }
  .contact-card { align-items: flex-start; flex-direction: column; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 460px) {
  .site-header, main, footer { width: min(100% - 28px, 1120px); }
  .brand img { width: 36px; height: 36px; }
  .brand span { display: none; }
  h1 { font-size: 2.8rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, nav a { transition: color .2s ease, background-color .2s ease, transform .2s ease; }
  .button:hover { transform: translateY(-1px); }
}
