:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --paper: #ffffff;
  --paper-soft: #f0f4fa;
  --ink: #090f1d;
  --text: #111827;
  --muted: #667085;
  --line: #dfe7f3;
  --blue: #1c38ff;
  --cyan: #00aaf0;
  --mint: #d6fff4;
  --pink: #f900da;
  --violet: #8c4dff;
  --shadow-soft: 0 24px 70px rgba(9, 15, 29, 0.08);
  --shadow-card: 0 16px 38px rgba(9, 15, 29, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 30%, #ffffff 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

pre,
code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.container {
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 231, 243, 0.85);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
}

.brand-logo {
  width: 44px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 170, 240, 0.18));
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--cyan), var(--blue) 48%, var(--pink));
  box-shadow: 0 10px 24px rgba(28, 56, 255, 0.22);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.brand-mark::before {
  width: 22px;
  height: 22px;
  left: -4px;
  top: -3px;
  background: var(--mint);
}

.brand-mark::after {
  width: 20px;
  height: 20px;
  right: -4px;
  bottom: -4px;
  background: var(--pink);
}

.brand-mark span {
  width: 14px;
  height: 14px;
  left: 12px;
  top: 11px;
  background: #fff;
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #283247;
  font-weight: 500;
}

.nav-links a:not(.button) {
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.nav-links a:not(.button):hover,
.nav-links a:not(.button):focus-visible {
  color: var(--ink);
  background: var(--paper-soft);
  box-shadow: inset 0 0 0 1px rgba(223, 231, 243, 0.8);
  transform: translateY(-1px);
}

.button {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(9, 15, 29, 0.18);
}

.button-dark,
.button-primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(9, 15, 29, 0.16);
}

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

.hero {
  min-height: calc(100svh - 65px);
  padding: 28px 0;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(214, 255, 244, 0.42), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(28, 56, 255, 0.08), rgba(249, 0, 218, 0.05));
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 38px;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.announcement-pill {
  width: fit-content;
  min-height: 38px;
  padding: 6px 8px 6px 6px;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #253047;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(9, 15, 29, 0.06);
}

.announcement-pill span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.announcement-pill strong {
  padding-right: 4px;
  font-size: 0.9rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  max-width: 760px;
  font-size: clamp(3rem, 5.15vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 650px;
  margin: 18px 0 0;
  color: #344054;
  font-size: 1.05rem;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-art {
  min-height: 420px;
  position: relative;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(223, 231, 243, 0.92);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.panel-main {
  width: min(100%, 700px);
  padding: 14px;
}

.panel-toolbar {
  min-height: 44px;
  padding: 0 4px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.toolbar-dots,
.toolbar-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.toolbar-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c5d0e2;
}

.toolbar-tabs span {
  padding: 8px 11px;
  border-radius: 999px;
  color: #344054;
  background: var(--paper-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.model-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 14px;
}

.model-card {
  min-height: 112px;
  padding: 16px;
  display: grid;
  align-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 22px rgba(9, 15, 29, 0.05);
}

.model-card.active {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(214, 255, 244, 0.3), rgba(255, 255, 255, 0) 30%),
    linear-gradient(135deg, #090f1d, #17213a);
}

.model-badge {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(28, 56, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.model-card.active .model-badge {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.model-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.06rem;
}

.model-card small {
  color: var(--muted);
  font-weight: 600;
}

.model-card.active small {
  color: #cbd5e1;
}

.panel-code {
  position: absolute;
  right: 0;
  bottom: 42px;
  width: min(420px, 80%);
  overflow: hidden;
  border-radius: 24px;
  background: #090f1d;
}

.code-head {
  min-height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #d7e2f5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}

.code-head em {
  color: #84dbff;
  font-style: normal;
}

.panel-code pre,
.code-block {
  position: relative;
  margin: 0;
  color: #edf4ff;
  background: #090f1d;
  white-space: pre-wrap;
  line-height: 1.7;
}

.panel-code pre {
  padding: 15px;
  font-size: 0.8rem;
}

.stats-ribbon {
  position: absolute;
  left: 34px;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(520px, 84%);
  gap: 12px;
}

.stats-ribbon div {
  padding: 14px 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.stats-ribbon strong {
  display: block;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}

.stats-ribbon span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.started-section,
.trust-section,
.models-section,
.promise-section,
.integration-section,
.bottom-section,
.page-hero {
  padding: 56px 0;
}

.page-hero {
  padding-top: 48px;
  padding-bottom: 24px;
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  line-height: 0.98;
}

.page-hero p {
  max-width: 760px;
}

.trust-section {
  padding-top: 24px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trust-grid article {
  min-height: 210px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 14px 32px rgba(9, 15, 29, 0.05);
}

.trust-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trust-grid strong {
  display: block;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.18;
}

.trust-grid p {
  margin-bottom: 0;
}

.section-heading {
  max-width: 1080px;
  margin-bottom: 26px;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.band {
  padding: 46px 0;
}

.band-soft {
  background:
    linear-gradient(135deg, rgba(28, 56, 255, 0.045), rgba(0, 170, 240, 0.04)),
    rgba(255, 255, 255, 0.54);
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  min-height: 260px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.workflow-card,
.pricing-card,
.story-card,
.faq-item {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.workflow-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
}

.workflow-card h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 0.98;
}

.workflow-step,
.pricing-tier {
  width: fit-content;
  display: inline-flex;
  padding: 7px 11px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(28, 56, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.pricing-card-featured {
  background:
    linear-gradient(135deg, rgba(214, 255, 244, 0.44), rgba(255, 255, 255, 0) 42%),
    #fff;
  border-color: rgba(28, 56, 255, 0.18);
}

.pricing-grid,
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.story-card + .story-card {
  margin-top: 16px;
}

.story-list {
  display: grid;
  gap: 16px;
}

.story-list .story-card {
  margin-top: 0;
}

.pricing-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-card {
  min-height: 220px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-card);
}

.legal-card h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.legal-card p {
  margin-bottom: 0;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  position: relative;
  background: linear-gradient(135deg, rgba(28, 56, 255, 0.12), rgba(0, 170, 240, 0.12));
}

.step-icon::before,
.step-icon::after {
  content: "";
  position: absolute;
}

.icon-account::before {
  width: 18px;
  height: 18px;
  left: 19px;
  top: 12px;
  border-radius: 999px;
  background: var(--blue);
}

.icon-account::after {
  width: 28px;
  height: 14px;
  left: 14px;
  top: 32px;
  border-radius: 14px 14px 6px 6px;
  background: var(--cyan);
}

.icon-credit::before {
  width: 30px;
  height: 22px;
  left: 13px;
  top: 17px;
  border-radius: 8px;
  background: var(--blue);
}

.icon-credit::after {
  width: 16px;
  height: 4px;
  left: 20px;
  top: 27px;
  border-radius: 999px;
  background: #fff;
}

.icon-key::before {
  width: 18px;
  height: 18px;
  left: 12px;
  top: 18px;
  border: 5px solid var(--blue);
  border-radius: 999px;
}

.icon-key::after {
  width: 24px;
  height: 6px;
  right: 10px;
  top: 26px;
  border-radius: 999px;
  background: var(--cyan);
}

.step-number {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(28, 56, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.integration-card,
.bottom-cta,
.promise-grid {
  display: grid;
  gap: 28px;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.model-tabs {
  width: 100%;
  margin: 0 0 22px;
  padding: 6px 0 10px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-color: #c5d0e2 transparent;
}

.model-tabs button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  color: #111827;
  background: #eef1f6;
  border: 1px solid rgba(223, 231, 243, 0.75);
  border-radius: 999px;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.model-tabs button:hover,
.model-tabs button:focus-visible,
.model-tabs button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #5967f2);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(28, 56, 255, 0.2);
  transform: translateY(-1px);
}

.provider-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.provider-model-card {
  min-height: 260px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(223, 231, 243, 0.72);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(9, 15, 29, 0.045);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.provider-model-card:hover {
  transform: translateY(-4px);
  border-color: rgba(28, 56, 255, 0.34);
  background: #fff;
  box-shadow: 0 20px 48px rgba(9, 15, 29, 0.12);
}

.provider-model-card.is-hidden {
  display: none;
}

.provider-top {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
  gap: 12px;
}

.provider-identity {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #667085;
  font-weight: 800;
}

.provider-image {
  width: 34px;
  height: 34px;
  padding: 4px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.model-type {
  padding: 7px 10px;
  color: #1c38ff;
  background: rgba(28, 56, 255, 0.08);
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.provider-model-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.32rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.model-summary {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.model-thumb {
  width: 74px;
  height: 74px;
  padding: 10px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.provider-model-card p {
  margin: 0;
  color: #485469;
  font-size: 0.94rem;
  line-height: 1.45;
}

.model-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.model-meta span {
  color: #98a2b3;
  font-weight: 700;
}

.model-meta strong {
  padding: 6px 10px;
  color: #344054;
  background: #eaf1ff;
  border-radius: 8px;
  font-size: 0.82rem;
}

.library-card {
  min-height: 230px;
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 12px;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.library-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -44px auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(28, 56, 255, 0.2), rgba(249, 0, 218, 0.14));
  filter: blur(4px);
}

.library-card:nth-child(2)::after {
  background: linear-gradient(135deg, rgba(0, 170, 240, 0.22), rgba(214, 255, 244, 0.5));
}

.library-card:nth-child(3)::after {
  background: linear-gradient(135deg, rgba(118, 185, 0, 0.2), rgba(28, 56, 255, 0.12));
}

.library-tag {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(28, 56, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.library-card h3,
.library-card p,
.library-card strong {
  position: relative;
  z-index: 1;
}

.library-card strong {
  margin-top: auto;
  color: var(--ink);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.promise-section {
  background: #090f1d;
  color: #fff;
}

.promise-section h2 {
  color: #fff;
}

.promise-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.promise-list {
  display: grid;
  gap: 12px;
}

.promise-list article {
  padding: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
}

.promise-list span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #090f1d;
  background: #d6fff4;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.promise-list h3 {
  color: #fff;
}

.promise-list p {
  margin: 8px 0 0;
  color: #cbd5e1;
}

.integration-card {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.code-block {
  padding: 24px;
  border-radius: 22px;
  overflow-x: auto;
  font-size: 0.9rem;
}

.copy-button {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 30px;
  padding: 0 10px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.copy-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.bottom-cta {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(28, 56, 255, 0.08), rgba(249, 0, 218, 0.05)),
    #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-card);
}

.bottom-cta .cta-row {
  margin-top: 0;
  justify-content: flex-end;
}

.access-hero {
  min-height: calc(100svh - 121px);
  display: flex;
  align-items: center;
}

.access-card {
  max-width: 720px;
  padding: 42px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.access-card .cta-row {
  justify-content: center;
}

.access-points {
  display: grid;
  gap: 10px;
  max-width: 560px;
  margin: 22px auto 0;
  text-align: left;
}

.access-points span {
  padding: 12px 14px;
  color: #344054;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 700;
}

.access-logo {
  width: 96px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}

.auth-shell {
  min-height: calc(100svh - 121px);
  padding: 54px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 24% 72%, rgba(214, 255, 244, 0.78), transparent 34%),
    radial-gradient(circle at 68% 16%, rgba(28, 56, 255, 0.1), transparent 30%);
}

.auth-panel {
  width: min(520px, calc(100vw - 32px));
  padding: 42px;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.auth-panel h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  text-align: left;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #283247;
  font-weight: 800;
}

.auth-form input {
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
}

.auth-form button {
  width: 100%;
  margin-top: 8px;
}

.auth-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.auth-message[data-state="error"] {
  color: #dc2626;
}

.auth-message[data-state="success"] {
  color: #047857;
}

.auth-switch {
  margin-bottom: 0;
  color: var(--muted);
}

.auth-switch a {
  color: var(--blue);
  font-weight: 800;
}

.status-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.75fr));
  gap: 18px;
}

.status-card {
  min-height: 160px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.status-card-main {
  position: relative;
}

.status-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.status-card strong {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-size: 1.6rem;
}

.status-dot {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #f59e0b;
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.14);
}

.status-dot.is-up {
  background: #10b981;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.14);
}

.status-dot.is-down {
  background: #ef4444;
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.14);
}

.site-footer {
  padding: 22px 0 34px;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-links {
  display: inline-flex;
  gap: 14px;
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero-inner,
  .steps-grid,
  .library-grid,
  .legal-grid,
  .provider-model-grid,
  .promise-grid,
  .trust-grid,
  .integration-card,
  .bottom-cta,
  .pricing-grid,
  .stack-grid,
  .story-grid,
  .faq-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 500px;
  }

  .bottom-cta .cta-row {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100vw - 24px, 1180px);
  }

  .nav {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 12px;
  }

  .hero {
    padding-top: 42px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero-art {
    min-height: 660px;
  }

  .model-card-grid,
  .stats-ribbon {
    grid-template-columns: 1fr;
  }

  .panel-code,
  .stats-ribbon {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .button {
    width: 100%;
  }

  .cta-row a {
    flex: 1 1 100%;
  }

  .provider-model-card {
    grid-template-columns: auto minmax(0, 1fr);
  }
}
