:root {
  color-scheme: light;
  --bg: #eef3f7;
  --card: #ffffff;
  --ink: #162a38;
  --muted: #526979;
  --line: #cfdae2;
  --brand: #184f63;
  --brand-dark: #103b4a;
  --mint: #8de0cf;
  --blue: #146dcc;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(141, 224, 207, 0.34), transparent 34rem),
    linear-gradient(180deg, #f7fafc 0%, var(--bg) 100%);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}

a { color: #075daa; }
a:hover { color: #03447e; }

.shell {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--brand);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  align-items: center;
  padding: 66px 0 76px;
}

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

h1, h2, h3 { line-height: 1.18; }
h1 { max-width: 760px; margin: 0; font-size: clamp(38px, 6vw, 66px); letter-spacing: -0.04em; }
h2 { margin: 0 0 16px; font-size: 29px; }
h3 { margin: 0 0 8px; font-size: 18px; }

.lead {
  max-width: 700px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.button:hover { color: #fff; background: var(--brand-dark); }
.button.secondary { color: var(--brand); background: transparent; }
.button.secondary:hover { color: var(--brand-dark); background: rgba(255, 255, 255, 0.7); }

.hero-card,
.card,
.policy {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(28, 55, 72, 0.08);
}

.hero-card { padding: 22px; }
.result-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #e5edf2; }
.result-line:last-child { border: 0; }
.result-line strong { color: var(--brand); }

.section { padding: 28px 0 68px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 22px; }
.card p { margin: 0; color: var(--muted); }

.notice {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: #edf6ff;
}

.policy { margin-bottom: 50px; padding: clamp(22px, 5vw, 52px); }
.policy h1 { font-size: clamp(32px, 5vw, 50px); }
.policy h2 { margin-top: 36px; font-size: 24px; }
.policy h3 { margin-top: 24px; }
.policy li + li { margin-top: 7px; }
.meta { color: var(--muted); font-size: 14px; }

.demo-sheet {
  margin-bottom: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(28, 55, 72, 0.1);
}

.demo-sheet header { padding: 18px 22px; color: #fff; background: var(--brand); }
.demo-sheet header h1 { font-size: 24px; letter-spacing: 0; }
.demo-body { padding: 22px; }
.demo-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 0; }
.demo-grid > div { padding: 10px 12px; border-bottom: 1px solid #e4ebef; }
.demo-grid .head { color: var(--muted); background: #f3f7f9; font-size: 12px; font-weight: 800; text-transform: uppercase; }

.site-footer {
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 34px; }
  .grid { grid-template-columns: 1fr; }
  .site-header { align-items: flex-start; }
  .site-nav { justify-content: flex-end; }
}
