:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #526173;
  --soft: #f8fafc;
  --panel: #ffffff;
  --line: #d8e1ea;
  --line-soft: #edf2f7;
  --slate: #0f172a;
  --cyan: #0891b2;
  --cyan-deep: #155e75;
  --cyan-soft: #ecfeff;
  --emerald: #059669;
  --emerald-soft: #ecfdf5;
  --amber: #b45309;
  --amber-soft: #fffbeb;
  --red: #b91c1c;
  --red-soft: #fef2f2;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 9px 13px;
  text-decoration: none;
  font-weight: 760;
  line-height: 1.2;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.button-primary {
  background: #22d3ee;
  color: #082f49;
}

.button-secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9)),
    linear-gradient(90deg, rgba(8, 145, 178, 0.24), rgba(5, 150, 105, 0.16));
}

.hero-inner {
  min-height: 54vh;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 72px 0;
}

.eyebrow {
  width: fit-content;
  border: 1px solid rgba(165, 243, 252, 0.35);
  border-radius: 999px;
  background: rgba(8, 145, 178, 0.15);
  padding: 7px 12px;
  color: #cffafe;
  font-size: 0.84rem;
  font-weight: 780;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: #dbeafe;
  font-size: 1.16rem;
}

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

.section {
  padding: 58px 0;
}

.section.alt {
  background: #ffffff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-kicker {
  margin-bottom: 9px;
  color: var(--cyan-deep);
  font-size: 0.82rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.step,
.notice {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--cyan-soft);
  color: var(--cyan-deep);
  font-weight: 900;
}

.card p,
.step p,
.notice p,
li {
  color: var(--muted);
}

.card p:last-child,
.step p:last-child,
.notice p:last-child {
  margin-bottom: 0;
}

.checklist {
  padding-left: 20px;
  margin: 0;
}

.checklist li + li {
  margin-top: 8px;
}

.notice {
  border-color: #fcd34d;
  background: var(--amber-soft);
}

.notice strong {
  color: #78350f;
}

.boundary {
  border-color: #fecaca;
  background: var(--red-soft);
}

.boundary strong {
  color: var(--red);
}

.sample-message {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  padding: 18px;
  color: #334155;
  white-space: pre-wrap;
  overflow-x: auto;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 56px 0;
  }
}
