:root {
  color-scheme: light dark;
  --ink: #102535;
  --muted: #5d6d78;
  --paper: #ffffff;
  --wash: #eef5f8;
  --wash-strong: #e1edf3;
  --line: #cfdee6;
  --brand: #0877b5;
  --brand-strong: #075d8e;
  --brand-soft: #dceef8;
  --navy: #0d354f;
  --focus: #ffb000;
  --shadow: 0 24px 60px rgba(9, 43, 63, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

a { color: var(--brand); text-underline-offset: 0.18em; }
a:hover { color: var(--brand-strong); }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }

.site-header,
.site-footer {
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-color: var(--line);
  border-style: solid;
  border-width: 0 0 1px;
}

.site-header { position: relative; z-index: 5; }
.site-footer { border-width: 1px 0 0; }

.bar,
main {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.bar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(8, 87, 133, 0.2);
}

nav { display: flex; flex: 0 0 auto; align-items: center; gap: 22px; flex-wrap: nowrap; }
nav a { font-weight: 650; text-decoration: none; }
nav a[aria-current="page"] { color: var(--ink); }
nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--brand);
}

main { padding: 56px 0 84px; }

.home-main { padding-top: 38px; }

.hero,
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--brand) 24%, transparent), transparent 32%),
    linear-gradient(145deg, var(--paper) 18%, color-mix(in srgb, var(--brand-soft) 54%, var(--paper)) 100%);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -160px;
  bottom: -220px;
  border: 54px solid color-mix(in srgb, var(--brand) 10%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; }

.hero h1,
.card h1 {
  margin: 0 0 20px;
  font-size: clamp(3.15rem, 6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.card {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  box-shadow: 0 18px 46px rgba(9, 43, 63, 0.08);
}

.card h1 { font-size: clamp(2.35rem, 5vw, 3.5rem); line-height: 1.04; }

h2 {
  margin-top: 2.1em;
  font-size: 1.48rem;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

h3 { margin-top: 1.7em; }

.lead { max-width: 700px; color: var(--muted); font-size: 1.18rem; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.meta { color: var(--muted); font-size: 0.92rem; }

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid var(--brand);
  border-radius: 13px;
  background: var(--brand);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(8, 96, 149, 0.18);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--brand-strong);
  color: #fff;
  box-shadow: 0 14px 26px rgba(8, 96, 149, 0.24);
}

.button.secondary {
  border-color: var(--line);
  background: color-mix(in srgb, var(--paper) 76%, transparent);
  color: var(--brand);
  box-shadow: none;
}

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

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 74%, transparent);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 720;
}

.trust-list li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 900;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 570px;
}

.phone-frame {
  position: absolute;
  overflow: hidden;
  border: 9px solid #10212b;
  border-radius: 42px;
  background: #fff;
  box-shadow: 0 30px 66px rgba(7, 35, 52, 0.28);
}

.phone-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

.phone-primary {
  width: 286px;
  aspect-ratio: 1170 / 2532;
  left: 8px;
  top: 0;
  transform: rotate(-2.2deg);
}

.phone-secondary {
  width: 190px;
  aspect-ratio: 1170 / 2532;
  right: -4px;
  bottom: 10px;
  border-width: 7px;
  border-radius: 31px;
  transform: rotate(5deg);
}

.visual-note {
  position: absolute;
  z-index: 4;
  right: 2px;
  top: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px 10px 10px;
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
  border-radius: 16px;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 780;
  box-shadow: 0 14px 34px rgba(7, 35, 52, 0.16);
}

.visual-note img { width: 34px; height: 34px; border-radius: 9px; }

.benefits { padding: 84px 0 4px; }

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

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-heading p { margin: 0; color: var(--muted); font-size: 1.08rem; }

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

.feature {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 14px 36px rgba(9, 43, 63, 0.07);
}

.feature .step {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.feature strong { display: block; margin-bottom: 9px; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--muted); }

.privacy-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 40px;
  align-items: center;
  margin-top: 34px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
  border-radius: 22px;
  background: linear-gradient(125deg, color-mix(in srgb, var(--brand-soft) 64%, var(--paper)), var(--paper));
}

.privacy-strip h2 { margin: 0 0 8px; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.privacy-strip p { margin: 0; color: var(--muted); }
.privacy-strip .actions { margin: 0; justify-content: flex-end; }

ul, ol { padding-left: 1.35em; }
li + li { margin-top: 0.45em; }

.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--brand);
  background: color-mix(in srgb, var(--brand) 9%, var(--paper));
}

.site-footer .bar { min-height: 104px; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    gap: 24px;
  }
  .phone-primary { width: 250px; }
  .phone-secondary { width: 160px; }
  .visual-note { right: -4px; }
}

@media (max-width: 720px) {
  body { font-size: 17px; }

  .bar,
  main { width: min(100% - 28px, 1120px); }

  .site-header .bar { min-height: 66px; gap: 12px; }
  .site-footer .bar {
    min-height: 112px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }

  .brand { font-size: 1rem; }
  .brand-icon { width: 30px; height: 30px; border-radius: 8px; }
  nav { gap: 14px; font-size: 0.94rem; }

  main { padding: 32px 0 64px; }
  .home-main { padding-top: 20px; }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 30px 24px 0;
    border-radius: 24px;
  }

  .hero h1 { font-size: clamp(2.65rem, 13vw, 3.65rem); }
  .hero .lead { font-size: 1.05rem; }
  .actions { flex-direction: column; }
  .button { width: 100%; }

  .hero-visual { min-height: 470px; }
  .phone-primary { width: 224px; left: 4px; }
  .phone-secondary { width: 142px; right: 0; bottom: -18px; }
  .visual-note { top: 54px; right: 0; }

  .benefits { padding-top: 58px; }
  .grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature .step { margin-bottom: 20px; }

  .privacy-strip { grid-template-columns: 1fr; gap: 24px; }
  .privacy-strip .actions { justify-content: stretch; }

  .card { border-radius: 22px; padding: 28px 24px; }
  .card h1 { font-size: 2.55rem; }
}

@media (max-width: 400px) {
  .site-header .bar { gap: 8px; }
  .brand { gap: 8px; font-size: 0.94rem; }
  nav { gap: 12px; font-size: 0.9rem; }
  .hero { padding-inline: 20px; }
  .hero-visual { min-height: 440px; }
  .phone-primary { width: 205px; }
  .phone-secondary { width: 130px; }
  .visual-note { transform: scale(0.92); transform-origin: right top; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f7fa;
    --muted: #b7c5cd;
    --paper: #121a20;
    --wash: #080d10;
    --wash-strong: #101a20;
    --line: #30424d;
    --brand: #55baf3;
    --brand-strong: #8bd1f8;
    --brand-soft: #193c51;
    --navy: #e2f2fb;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  }

  .button { background: #0879c5; border-color: #0879c5; color: #fff; }
  .button:hover { background: #0b6cac; border-color: #0b6cac; color: #fff; }
  .phone-frame { border-color: #061017; }
}

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