:root {
  color: #18263a;
  background: #f4f7fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --ink: #18263a;
  --muted: #59697d;
  --blue: #2558ce;
  --blue-dark: #173f9d;
  --blue-soft: #eaf0ff;
  --line: #dbe3ef;
  --card: rgba(255, 255, 255, 0.92);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 20% 0%, #e5edff 0, transparent 36rem), #f4f7fb; }
a { color: var(--blue-dark); }
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible, summary:focus-visible, textarea:focus-visible { outline: 3px solid #d88600; outline-offset: 4px; }

.shell { width: min(1040px, calc(100% - 40px)); margin: 0 auto; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 760; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--blue); color: #fff; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 650; }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr); gap: 28px; padding: 58px 0 30px; align-items: center; }
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1 { margin: 14px 0 18px; max-width: 800px; font-size: clamp(38px, 7vw, 68px); line-height: 1.02; letter-spacing: -.05em; }
.lead { margin: 0 0 24px; color: #465970; font-size: clamp(17px, 2.4vw, 20px); line-height: 1.65; }
.hero-card, .panel, .feature, .legal-card { border: 1px solid var(--line); background: var(--card); box-shadow: 0 18px 55px rgba(32, 58, 99, .08); }
.hero-card { border-radius: 22px; padding: 24px; }
.hero-card h2 { margin-top: 0; }
.meta-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #e6ebf2; font-size: 14px; }
.meta-row:last-child { border-bottom: 0; }
.meta-row span { color: var(--muted); }
.meta-row strong, .meta-row code { text-align: right; overflow-wrap: anywhere; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button, button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 19px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font: inherit; font-weight: 720; text-decoration: none; cursor: pointer; }
.button:hover, button:hover { background: var(--blue-dark); color: #fff; }
.button.secondary { background: var(--blue-soft); color: var(--blue-dark); }
.button.secondary:hover { background: #dbe6ff; color: #173f9d; }
button:disabled { opacity: .55; cursor: wait; }
.status { min-height: 23px; margin: 10px 0 0; color: #25603c; font-size: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.badge { padding: 7px 10px; border: 1px solid #cfdaeb; border-radius: 999px; background: rgba(255,255,255,.7); color: #40536b; font-size: 13px; font-weight: 670; }

.section { padding: 34px 0; }
.section-head { max-width: 720px; margin-bottom: 22px; }
.section h2, .legal-card h1 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.035em; }
.section-head p, p, li { color: var(--muted); line-height: 1.7; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { border-radius: 16px; padding: 22px; box-shadow: none; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; font-size: 15px; }

.panel { border-radius: 22px; padding: 30px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 24px 48px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); font-weight: 800; }
.steps strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 17px; }
.steps p { margin: 0; }
.prompt { margin: 10px 0 5px; padding: 14px 16px; border: 1px solid #d7e0ed; border-radius: 10px; background: #f6f8fc; color: #273b54; font-weight: 680; }
.note { color: #68788b; font-size: 14px; }
details { margin-top: 24px; padding-top: 16px; border-top: 1px solid #e2e8f1; }
summary { cursor: pointer; color: var(--ink); font-weight: 750; }
textarea { width: 100%; min-height: 230px; margin-top: 12px; padding: 14px; border: 1px solid #cbd6e6; border-radius: 10px; background: #f8faff; color: #253750; font: 13px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; resize: vertical; }
.checksum { display: block; max-width: 100%; margin-top: 8px; overflow-wrap: anywhere; color: #53657a; font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }

.legal-wrap { padding: 48px 0 70px; }
.legal-card { max-width: 820px; margin: 0 auto; padding: clamp(24px, 5vw, 48px); border-radius: 22px; }
.legal-card h2 { margin-top: 34px; font-size: 22px; }
.legal-card h3 { margin-top: 24px; }
.legal-card ul { padding-left: 22px; }
.legal-card .effective { margin-bottom: 28px; color: #68788b; font-size: 14px; }

.footer { display: flex; justify-content: space-between; gap: 24px; padding: 34px 0 44px; border-top: 1px solid #dce4ef; color: #68788b; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer a { color: #52657c; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1040px); }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 34px; }
  .grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
  .actions > * { width: 100%; }
}
