:root {
  --ink: #17202a;
  --muted: #5f6b7a;
  --line: #d9e1e8;
  --paper: #f3f7f9;
  --white: #ffffff;
  --blue: #1d65c1;
  --teal: #18a7a4;
  --green: #5ba66b;
  --soft-blue: #eaf2ff;
  --soft-green: #edf7f0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(29, 101, 193, .12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 42%, #ffffff 100%);
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a, footer a {
  text-decoration: none;
}

nav a:hover, footer a:hover {
  color: var(--blue);
}

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

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 58px 0 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1, h2 {
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 76px);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 36px);
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  font-size: 18px;
}

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

.button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
}

.hero-panel {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 28px 70px rgba(23, 32, 42, .12);
}

img {
  display: block;
  max-width: 100%;
  border-radius: 8px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metrics div {
  padding: 22px;
  background: var(--white);
}

.metrics strong {
  display: block;
  font-size: 26px;
}

.metrics span {
  color: var(--muted);
  font-size: 14px;
}

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

.intro-grid article, .notice, .feature-list article, details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.number {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--teal);
  font-weight: 800;
}

.split-section, .feature-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: center;
  padding: 46px 0;
}

.feature-layout {
  grid-template-columns: 1.15fr .85fr;
}

.split-section > img, .feature-layout > img {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(23, 32, 42, .08);
}

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

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.notice {
  margin: 20px 0 56px;
  border-left: 4px solid var(--green);
}

.faq {
  display: grid;
  gap: 12px;
  margin: 0 0 70px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin-top: 12px;
}

.legal {
  max-width: 820px;
  padding: 70px 0;
}

.legal h1 {
  font-size: clamp(34px, 5vw, 58px);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header, footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero, .split-section, .feature-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .intro-grid, .metrics, .feature-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 40px;
  }
}
