
:root {
  color-scheme: light;
  --navy: #010b2d;
  --navy-soft: #112771;
  --cyan: #08e6ed;
  --cyan-bright: #04fbfe;
  --gold: #fdc915;
  --ink: #101b35;
  --muted: #59657c;
  --line: #dbe2eb;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --danger: #a52f3e;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.nav-shell {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { width: min(300px, 44vw); flex: 0 1 300px; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 26px; }
.site-nav a, .site-footer a {
  text-decoration: none;
  color: #33415b;
  font-size: 0.92rem;
  font-weight: 700;
}
.site-nav a:hover, .site-footer a:hover { color: var(--navy-soft); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 96px;
  background: var(--navy);
  color: #f7f9ff;
  border-bottom: 7px solid var(--cyan);
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: 56px;
  width: 430px;
  height: 430px;
  border: 2px solid rgba(4, 251, 254, 0.25);
  border-radius: 50%;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 76px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--navy-soft);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow-on-dark { color: var(--cyan); }
.hero h1 {
  margin: 0;
  max-width: 700px;
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.hero h1 span { color: var(--cyan-bright); }
.hero-lede {
  max-width: 660px;
  margin: 28px 0 0;
  color: #c7d2ec;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 820;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: var(--navy); }
.button-primary:hover { background: #ffdc4a; }
.button-outline { border-color: var(--navy); background: transparent; color: var(--navy); }
.button-outline:hover { background: var(--navy); color: #ffffff; }
.button-secondary { border-color: var(--line); background: #ffffff; color: var(--navy); }
.button-secondary:hover { border-color: var(--navy-soft); }
.button-full { width: 100%; }
.text-link { text-decoration-thickness: 1px; text-underline-offset: 5px; font-weight: 750; }
.text-link-on-dark { color: #ffffff; }
.hero-note {
  margin: 24px 0 0;
  color: #91a1c5;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.api-card {
  overflow: hidden;
  border: 1px solid #273963;
  border-radius: 16px;
  background: #071333;
  box-shadow: 20px 22px 0 rgba(8, 230, 237, 0.12);
}
.api-card-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid #26385f;
  color: #8797bd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}
.window-dots { display: inline-flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #3d4f79; }
.window-dots i:first-child { background: var(--gold); }
.api-card pre {
  margin: 0;
  padding: 26px;
  overflow: auto;
  color: #e7edff;
  font: 0.78rem/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.code-cyan { color: var(--cyan); }
.code-gold { color: var(--gold); }

.section { padding: 96px 0; }
.section-heading { max-width: 740px; margin-bottom: 42px; }
.section-heading h2, .cta-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.section-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}
.split-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.catalog-copy {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}
.model-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.model-grid li {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  background: #ffffff;
}
.model-grid li:first-child { border-left: 1px solid var(--line); }
.model-grid span { color: #8792a8; font: 0.75rem ui-monospace, monospace; }
.model-grid strong { color: var(--navy); font-size: clamp(1.45rem, 3vw, 2.2rem); }
.model-grid li:nth-child(odd) strong::after {
  content: "";
  display: block;
  width: 30px;
  height: 4px;
  margin-top: 12px;
  background: var(--cyan);
}
.model-grid li:nth-child(even) strong::after {
  content: "";
  display: block;
  width: 30px;
  height: 4px;
  margin-top: 12px;
  background: var(--gold);
}

.quickstart-section { background: var(--surface-soft); }
.steps-grid {
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 1.3fr;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step-card {
  min-width: 0;
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}
.step-number, .setup-step-heading span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cyan);
  font: 0.72rem ui-monospace, monospace;
  font-weight: 800;
}
.step-card h3 { margin: 66px 0 10px; color: var(--navy); font-size: 1.45rem; }
.step-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.inline-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--navy-soft);
  font-weight: 800;
  text-underline-offset: 4px;
}
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.compact-code, .setup-step pre {
  margin: 22px 0 0;
  border-radius: 9px;
  padding: 16px;
  background: var(--navy);
  color: #f3f7ff;
  font: 0.78rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.cta-section { padding: 0 0 96px; background: var(--surface-soft); }
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  border-top: 6px solid var(--cyan);
  background: #ffffff;
}
.cta-panel h2 { max-width: 720px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.site-footer { padding: 30px 0; background: var(--navy); color: #dce5fb; }
.footer-shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-shell p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: #c4cee7; }

.register-main {
  min-height: calc(100vh - 84px);
  padding: 76px 0 96px;
  background: var(--surface-soft);
}
.register-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(500px, 1.22fr);
  align-items: start;
  gap: 76px;
}
.register-intro { position: sticky; top: 42px; padding-top: 24px; }
.register-intro h1 {
  margin: 0;
  max-width: 580px;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.register-lede { margin: 26px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.promise-list { display: grid; gap: 15px; margin: 32px 0 0; padding: 0; list-style: none; }
.promise-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #33415b;
  font-weight: 700;
}
.promise-list span { color: var(--navy-soft); font: 0.72rem ui-monospace, monospace; }
.back-link {
  display: inline-block;
  margin-top: 38px;
  color: var(--navy-soft);
  font-weight: 800;
  text-underline-offset: 5px;
}
.registration-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 42px;
  background: #ffffff;
  box-shadow: 14px 16px 0 rgba(17, 39, 113, 0.08);
}
.card-kicker {
  margin: 0 0 8px;
  color: var(--navy-soft);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.registration-card h2 { margin: 0; color: var(--navy); font-size: 1.8rem; letter-spacing: -0.03em; }
.registration-card h3 { margin: 5px 0 0; color: var(--navy); font-size: 1.35rem; }
.muted { margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
label {
  display: block;
  margin: 26px 0 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}
input, textarea {
  width: 100%;
  border: 1px solid #b8c4d4;
  border-radius: 8px;
  padding: 13px 14px;
  background: #fbfcff;
  color: var(--ink);
  line-height: 1.45;
}
textarea { resize: vertical; }
input:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(8, 230, 237, 0.55);
  outline-offset: 3px;
}
#registration-form .button { margin-top: 22px; }
.message { margin: 18px 0 0; border-radius: 8px; color: var(--muted); line-height: 1.55; }
.message:empty { display: none; }
.message.error { padding: 13px 14px; background: #fff1f2; color: var(--danger); font-weight: 700; }
.registration-result { border-top: 1px solid var(--line); padding-top: 30px; }
.success-heading { display: flex; align-items: center; gap: 15px; }
.success-mark {
  display: inline-grid;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  place-items: center;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 900;
}
.credential-grid { display: grid; gap: 0; }
.credential-grid textarea { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.registration-result > .button { margin-top: 18px; }
.one-time-note {
  margin: 14px 0 0;
  border-left: 4px solid var(--gold);
  padding: 3px 0 3px 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.next-steps { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 30px; }
.setup-step { margin-top: 26px; }
.setup-step-heading { display: flex; align-items: center; gap: 12px; }
.setup-step-heading span { width: 28px; height: 28px; }
.setup-step pre { margin-top: 12px; }
.setup-step .button { min-height: 40px; margin-top: 10px; padding: 8px 14px; font-size: 0.84rem; }
.result-home-link { margin-top: 30px; }
.register-footer { border-top: 1px solid #24365e; }

[hidden] { display: none !important; }
button:disabled { cursor: wait; opacity: 0.6; transform: none; }

@media (max-width: 900px) {
  .hero-grid, .register-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 54px; }
  .register-layout { gap: 32px; }
  .register-intro { position: static; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-card-wide { grid-column: 1 / -1; }
  .model-grid { grid-template-columns: repeat(3, 1fr); border-bottom: 0; }
  .model-grid li { border-bottom: 1px solid var(--line); }
  .model-grid li:nth-child(4) { border-left: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav-shell { min-height: 72px; align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .brand { width: 240px; max-width: 80vw; flex: 0 0 auto; }
  .site-nav { width: 100%; justify-content: flex-start; gap: 18px; overflow-x: auto; }
  .site-nav a { white-space: nowrap; }
  .hero { padding: 68px 0 72px; }
  .hero-grid { gap: 42px; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4.4rem); }
  .api-card pre { min-height: 0; padding: 24px 18px; font-size: 0.7rem; }
  .section { padding: 70px 0; }
  .split-heading, .cta-panel, .footer-shell { align-items: flex-start; flex-direction: column; }
  .model-grid { grid-template-columns: 1fr 1fr; }
  .model-grid li:nth-child(odd) { border-left: 1px solid var(--line); }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card-wide { grid-column: auto; }
  .step-card { min-height: 280px; }
  .cta-panel { padding: 34px 26px; }
  .register-main { padding: 48px 0 70px; }
  .registration-card { padding: 28px 22px; box-shadow: 8px 9px 0 rgba(17, 39, 113, 0.08); }
  .register-intro h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
