:root {
  color-scheme: light;
  --blue: #2468e8;
  --blue-dark: #174fc1;
  --mint: #1db9a7;
  --ink: #07173d;
  --muted: #5c667b;
  --line: #dfe6f1;
  --soft: #f4f8ff;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--blue-dark); }
img { max-width: 100%; height: auto; }

.site-header {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 750;
  text-decoration: none;
}
.brand img { border-radius: 12px; }
nav { display: flex; gap: 24px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-weight: 650; }
nav a:hover { color: var(--blue); }

main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 80px;
  padding: 72px 0;
}
.hero h1 {
  margin: 10px 0 24px;
  max-width: 760px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.hero h1 span { color: var(--blue); }
.eyebrow {
  margin: 0;
  color: var(--mint);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 14px;
}
.lead { max-width: 670px; color: var(--muted); font-size: 20px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.badges span {
  padding: 8px 13px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 14px;
}
.button {
  display: inline-block;
  padding: 14px 21px;
  border-radius: 12px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  font-weight: 750;
}
.button:hover { background: var(--blue-dark); }
.hero-image {
  max-width: 350px;
  justify-self: center;
  padding: 12px;
  border-radius: 34px;
  background: #10182d;
  box-shadow: 0 30px 70px rgba(7, 23, 61, .2);
}
.hero-image img { display: block; border-radius: 24px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 0 80px;
}
.features article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
}
.features h2 { margin: 0 0 8px; font-size: 22px; }
.features p { margin: 0; color: var(--muted); }
.notice, .english {
  margin: 0 0 32px;
  padding: 36px;
  border-radius: 22px;
}
.notice { background: #fff8e8; border: 1px solid #f1d98d; }
.english { background: var(--ink); color: white; }
.notice h2, .english h2 { margin-top: 0; }
.english p:not(.eyebrow) { color: #d8e2f5; }
.text-link { color: #7ce2d5; font-weight: 750; }

.legal {
  width: min(820px, calc(100% - 40px));
  padding: 70px 0;
}
.legal article { scroll-margin-top: 24px; }
.legal h1 {
  margin: 10px 0 26px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.legal h2 { margin: 40px 0 10px; font-size: 24px; }
.legal p, .legal li { color: #38445a; }
.legal hr { margin: 70px 0; border: 0; border-top: 1px solid var(--line); }
.legal code { padding: 2px 6px; border-radius: 5px; background: var(--soft); }

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 70px auto 0;
  padding: 32px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
footer p { margin: 0; }

@media (max-width: 800px) {
  .site-header { padding: 16px 0; align-items: flex-start; }
  nav { justify-content: flex-end; gap: 12px; font-size: 14px; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding: 60px 0; }
  .hero-image { max-width: 310px; }
  .features { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .site-header, main, footer { width: min(100% - 28px, 1120px); }
  .site-header { display: block; }
  nav { margin-top: 14px; justify-content: flex-start; }
  .hero h1 { font-size: 46px; }
  .notice, .english { padding: 24px; }
  .legal { width: min(100% - 28px, 820px); }
}
