:root {
  --navy: #071833;
  --navy-2: #0c2748;
  --ink: #142033;
  --muted: #5c6c80;
  --line: #d7e2ee;
  --paper: #f3f7fb;
  --white: #ffffff;
  --ice: #d9eeff;
  --ice-2: #7ec4f6;
  --amber: #f5a623;
  --danger: #b42318;
  --ok: #067647;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(7, 24, 51, 0.12);
  --max: 1160px;
  --font: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--navy);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 24, 51, 0.94);
  color: white;
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 14px;
}
.brand img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; }
.nav { display: flex; gap: 18px; margin-left: auto; }
.nav a { text-decoration: none; color: #d5e6f6; font-size: 15px; font-weight: 600; }
.nav a[aria-current="page"], .nav a:hover { color: white; }
.header-actions { display: flex; gap: 10px; }
.menu-btn {
  display: none;
  margin-left: auto;
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 8px 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--ice); color: var(--navy); }
.btn-primary:hover { background: white; }
.btn-ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.28); }
.btn-ghost:hover { border-color: white; }
.btn-ink { background: var(--navy); color: white; }
.btn-ink:hover { background: var(--navy-2); }
.btn-line { background: white; color: var(--navy); border-color: var(--line); }
.btn:disabled { opacity: 0.6; cursor: progress; }

.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(126, 196, 246, 0.35), transparent 60%),
    linear-gradient(160deg, #071833 0%, #0b2a52 55%, #071833 100%);
  color: white;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 80px;
}
.kicker {
  color: var(--ice-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 16px; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 12px; }
h3 { font-size: 22px; margin: 0 0 8px; }
.lede { font-size: 18px; color: #d5e4f2; max-width: 62ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero { padding: 56px 0 28px; background: var(--navy); color: white; }
.page-hero p { color: #d5e4f2; max-width: 68ch; }

.section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.muted { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card, .panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card { min-height: 210px; display: flex; flex-direction: column; }
.card p { color: var(--muted); flex: 1; }
.card a { font-weight: 800; color: var(--navy-2); text-underline-offset: 3px; }
.index { color: var(--ice-2); font-weight: 800; letter-spacing: 0.08em; font-size: 13px; }

.bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.tile {
  display: block;
  text-decoration: none;
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  min-height: 180px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.tile:nth-child(2), .tile:nth-child(5) { background: #12345f; }
.tile:nth-child(3), .tile:nth-child(4) { background: #0e2c50; }
.tile span { color: var(--ice-2); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; }
.tile strong { display: block; font-size: 26px; margin-top: 28px; letter-spacing: -0.03em; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { border-top: 3px solid var(--navy); padding-top: 16px; }
.step strong { display: block; margin-bottom: 6px; }

.trust { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start; }
.link-list { display: grid; gap: 10px; }
.link-list a {
  display: flex;
  justify-content: space-between;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  font-weight: 700;
}

.phone {
  width: min(300px, 100%);
  margin-left: auto;
  background: #041226;
  border: 10px solid #12345c;
  border-radius: 36px;
  min-height: 560px;
  padding: 18px 16px;
  box-shadow: var(--shadow);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: 40px;
  background: radial-gradient(circle, rgba(184, 224, 255, 0.45), transparent 70%);
  pointer-events: none;
}
.phone-top { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: 0.12em; font-size: 12px; }
.phone-top img { width: 28px; height: 28px; border-radius: 7px; }
.chips { display: flex; gap: 8px; margin: 18px 0; }
.chip { border-radius: 999px; padding: 6px 10px; font-size: 12px; background: rgba(255,255,255,0.08); }
.chip.on { background: var(--ice); color: var(--navy); font-weight: 800; }
.preview-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border-radius: 16px;
  padding: 14px;
  margin-top: 8px;
}
.preview-card small { display: block; color: #9fc4e8; }
.preview-card strong { display: block; margin-top: 6px; }
.caption { color: #9fc4e8; font-size: 12px; margin-top: 16px; }

.site-footer { background: var(--navy); color: #d5e4f2; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.site-footer a { color: white; text-decoration: none; }
.site-footer h2 { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ice-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.legal-line { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 32px; padding-top: 16px; font-size: 14px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin-top: 36px; }
.notice {
  background: #fff7e8;
  border: 1px solid #f5d7a1;
  color: #6b4a09;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 18px 0 8px;
}
.toc { display: grid; gap: 6px; margin: 18px 0 8px; }
.toc a { color: var(--navy-2); }

.form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: white;
  color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.check input { width: auto; margin-top: 4px; }
.field-error { color: var(--danger); font-size: 13px; font-weight: 600; }
.status { border-radius: 12px; padding: 12px 14px; }
.status.error { background: #fdecec; color: #7a1b14; }
.status.ok { background: #e8f7ef; color: #085d36; }
.hp { position: absolute; left: -9999px; }

.faq details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 800; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.list { padding-left: 18px; }
.list li { margin: 8px 0; }

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

@media (max-width: 980px) {
  .hero-grid, .cards, .steps, .trust, .split, .footer-grid, .bento { grid-template-columns: 1fr; }
  .nav, .header-actions { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header.open .nav, .site-header.open .header-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 16px;
  }
  .header-inner { flex-wrap: wrap; }
  .nav { width: 100%; margin: 0; }
  .phone { margin: 8px auto 0; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .hero-grid { padding: 40px 0 48px; }
  .section { padding: 48px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .actions, .menu-btn { display: none !important; }
  body { background: white; }
}
