:root {
  --ink: #10233f;
  --ink-soft: #3d4d66;
  --blue: #1347c4;
  --blue-deep: #0c2c78;
  --red: #e10600;
  --yellow: #ffd000;
  --cream: #f3efe4;
  --paper: #fffcf7;
  --line: rgba(16, 35, 63, 0.16);
  --shadow: 0 18px 40px rgba(16, 35, 63, 0.08);
  --header: 76px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Unbounded", "Arial Narrow", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 208, 0, 0.18), transparent 28%),
    linear-gradient(180deg, #efe8d8 0%, var(--cream) 220px);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
}
img { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 0.7rem; }
h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}
.mark { display: flex; gap: 3px; }
.mark i { display: block; width: 7px; height: 22px; }
.mark i:nth-child(1) { background: var(--red); }
.mark i:nth-child(2) { background: var(--blue); }
.mark i:nth-child(3) { background: var(--yellow); }
.nav-toggle {
  margin-left: auto;
  border: 2px solid var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  display: none;
}
.site-nav { margin-left: auto; display: flex; gap: 1.25rem; align-items: center; }
.site-nav a { text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.site-nav a[aria-current="page"] { color: var(--red); }
.nav-cta {
  background: var(--ink);
  color: white !important;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
}

.hero { padding: 2.2rem 0 1rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
  align-items: stretch;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 0.9rem;
}
.kicker::before { content: ""; width: 2.2rem; height: 8px; background: var(--yellow); }
.lede { font-size: 1.2rem; max-width: 42rem; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid var(--ink);
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: var(--ink);
}
.btn.red { background: var(--red); color: white; border-color: var(--red); }
.btn.ghost { background: transparent; }
.start-list {
  background: var(--blue-deep);
  color: white;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.start-list ol { list-style: none; margin: 0; padding: 0; }
.start-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  font-weight: 700;
}
.start-list a span { color: var(--yellow); font-family: var(--display); }
.banner {
  margin: 1rem 0 0;
  background: white;
  border-left: 8px solid var(--red);
  padding: 0.9rem 1rem;
  font-weight: 700;
}

section { padding: 2.4rem 0; }
.section-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1rem; }
.section-head p { margin: 0; max-width: 36rem; color: var(--ink-soft); }

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
}
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 1rem;
  text-decoration: none;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.card small { font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.card strong { font-family: var(--display); font-size: 1.45rem; letter-spacing: -0.03em; display: block; margin: 0.4rem 0; }
.card span { color: var(--ink-soft); }
.card.wide { grid-column: span 3; }
.card.blue { background: var(--blue); color: white; }
.card.blue span { color: rgba(255,255,255,0.86); }
.card.red { background: var(--red); color: white; }
.card.red span { color: rgba(255,255,255,0.88); }
.card.yellow { background: var(--yellow); }

.plain-grid, .split, .faq-grid { display: grid; gap: 0.8rem; }
.plain-grid { grid-template-columns: repeat(3, 1fr); }
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1rem 1.05rem;
}
.panel h3 { margin-bottom: 0.35rem; }
.split { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li {
  counter-increment: step;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.9rem 0.9rem 0.9rem 4rem;
  position: relative;
  margin-bottom: 0.6rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0.8rem;
  top: 0.85rem;
  font-family: var(--display);
  color: var(--red);
}

.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.8rem; }
.note {
  background: #fff4cc;
  border: 1px solid #e6c200;
  padding: 0.8rem 1rem;
}
.crumbs { font-size: 0.92rem; margin: 1rem 0; }
.crumbs a { font-weight: 700; }
.page-hero { padding-top: 1.4rem; }
.related { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.related a {
  text-decoration: none;
  border: 2px solid var(--ink);
  padding: 0.35rem 0.6rem;
  font-weight: 800;
  background: white;
}

details {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.8rem 1rem;
}
summary { cursor: pointer; font-weight: 800; }
details p { margin: 0.6rem 0 0; }

.site-footer {
  background: var(--ink);
  color: white;
  padding: 2rem 0 1.2rem;
  margin-top: 1rem;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.4rem; }
.site-footer a { color: white; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0.25rem 0; }
.legal { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin-top: 1.4rem; }

@media (max-width: 860px) {
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    background: var(--yellow);
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    margin-left: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 1rem 1rem;
    border-bottom: 2px solid var(--ink);
  }
  .site-nav.is-open { display: flex; }
  .hero-grid, .split, .plain-grid, .footer-grid, .bento { grid-template-columns: 1fr; }
  .hero-grid > *, .card, .section-head { min-width: 0; }
  .section-head { flex-direction: column; align-items: stretch; }
  .section-head p { max-width: none; }
  .card.wide { grid-column: auto; }
  .actions .btn { flex: 1 1 100%; }
  h1 { font-size: 2.05rem; overflow-wrap: break-word; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
