:root {
  --bg: #f7faf9;
  --surface: #ffffff;
  --surface-soft: #eef5f2;
  --text: #102033;
  --muted: #5d6b7a;
  --line: #dbe6e2;
  --brand: #ff5b2e;
  --brand-dark: #d93f16;
  --warn: #9a6600;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  box-shadow: 0 10px 24px rgba(255, 91, 46, 0.3);
}

nav { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 800; }
nav a[aria-current="page"] { color: var(--brand-dark); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(16, 32, 51, 0.05);
}

.button-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 26px rgba(255, 91, 46, 0.32);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 32px;
  padding: 72px 5vw;
  background: radial-gradient(circle at top right, rgba(255, 91, 46, 0.15), transparent 32rem), linear-gradient(135deg, #ffffff, #eef7f3);
  border-bottom: 1px solid var(--line);
}

.hero h1, .section h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero p, .lead { max-width: 760px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero-card, .panel, .card, .notice {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(16, 32, 51, 0.08);
}

.hero-card { align-self: end; padding: 26px; }
.hero-card ol { margin: 16px 0 0; padding-left: 20px; color: var(--muted); line-height: 2; }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.feature-strip article { min-height: 116px; padding: 24px 5vw; border-right: 1px solid var(--line); }
.feature-strip article:last-child { border-right: 0; }
.feature-strip strong { display: block; margin-bottom: 10px; }
.feature-strip span { color: var(--muted); line-height: 1.5; }

.section { padding: 64px 5vw; }
.narrow { max-width: 980px; }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.section h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.04em; }

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

.grid { display: grid; gap: 18px; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .panel { padding: 24px; }
.card h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -0.02em; }
.card p, .panel p { color: var(--muted); line-height: 1.55; }

.meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
.meta div { padding: 12px; border-radius: 16px; background: var(--surface-soft); }
dt { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
dd { margin: 4px 0 0; font-weight: 900; }

.notice { margin: 18px 0; padding: 16px 18px; line-height: 1.5; }
.notice-warning { border-color: rgba(154, 102, 0, 0.25); background: #fff8e8; color: var(--warn); }
.notice-info { background: #eff8ff; }

.form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

label { display: grid; gap: 8px; font-weight: 900; }
input { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; font: inherit; }
.form-result { min-height: 32px; color: var(--muted); font-weight: 800; }

pre {
  max-height: 420px;
  overflow: auto;
  padding: 16px;
  border-radius: 16px;
  background: #0e1726;
  color: #d9fbe8;
  white-space: pre-wrap;
}

.footer {
  display: grid;
  gap: 8px;
  padding: 34px 5vw;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.footer strong { color: var(--text); }

@media (max-width: 900px) {
  .topbar { position: static; align-items: flex-start; flex-direction: column; padding-block: 18px; }
  nav { flex-wrap: wrap; }
  .hero, .feature-strip, .cards { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}
