:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #0b1627;
  --panel: #101b2d;
  --panel-2: #172335;
  --ink: #edf7ff;
  --muted: #a9bac9;
  --soft: #71869a;
  --line: rgba(156, 205, 238, 0.16);
  --line-strong: rgba(156, 205, 238, 0.26);
  --blue: #7fd3ff;
  --blue-strong: #42b9f4;
  --green: #55e7b1;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  --radius: 16px;
  --shell: 1160px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eef4fb;
  --bg-soft: #e7eff8;
  --panel: #ffffff;
  --panel-2: #f7fbff;
  --ink: #0b1524;
  --muted: #42556b;
  --soft: #60768d;
  --line: rgba(35, 73, 110, 0.14);
  --line-strong: rgba(35, 73, 110, 0.24);
  --blue: #0369a1;
  --blue-strong: #0284c7;
  --green: #028568;
  --shadow: 0 28px 80px rgba(33, 54, 84, 0.16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 12%, rgba(85, 231, 177, 0.1), transparent 28rem),
    radial-gradient(circle at 78% 0%, rgba(127, 211, 255, 0.13), transparent 34rem),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

[data-i18n] { display: none; }
html[data-lang="en"] [data-i18n="en"],
html[data-lang="fr"] [data-i18n="fr"],
html[data-lang="de"] [data-i18n="de"],
html[data-lang="ru"] [data-i18n="ru"] { display: revert; }

.site-shell {
  width: min(var(--shell), calc(100% - 32px));
  margin-inline: auto;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.site-nav {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 14px;
  padding-block: 12px;
}

.site-menu-trigger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  cursor: pointer;
}

.site-menu-panel {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}

.site-menu-panel[hidden] {
  display: none;
}

.site-menu-links {
  display: grid;
  gap: 4px;
  padding: 12px 16px 16px;
}

.site-menu-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-inline: 14px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 750;
}

.site-menu-links a:hover {
  background: color-mix(in srgb, var(--blue) 12%, transparent);
}

.site-signin {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 0.84rem;
  white-space: nowrap;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  border-radius: 12px;
}

.site-brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.site-brand-name {
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.site-brand-tag {
  color: var(--soft);
  font-size: 0.72rem;
  white-space: nowrap;
}

.site-nav-strip {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 74%, transparent);
}

.site-nav-link {
  min-height: 38px;
  min-width: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  padding-inline: 16px;
}

.site-nav-link:hover,
.site-nav-link.is-active {
  color: var(--ink);
  background: color-mix(in srgb, var(--blue) 16%, transparent);
}

.site-controls {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-menu {
  position: relative;
}

.language-trigger,
.theme-trigger {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  font: 800 0.82rem/1 Inter, sans-serif;
  cursor: pointer;
}

.theme-icon {
  line-height: 0;
}

.theme-icon svg {
  display: block;
}

.theme-icon-light { display: none; }
html[data-theme="light"] .theme-icon-dark { display: none; }
html[data-theme="light"] .theme-icon-light { display: inline-flex; }

.language-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 164px;
  display: none;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.language-menu.is-open .language-popover {
  display: grid;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  font: 800 0.85rem/1 Inter, sans-serif;
  padding: 0 10px;
  cursor: pointer;
}

.lang-option small {
  color: var(--soft);
  font: 600 0.72rem/1 Inter, sans-serif;
}

.lang-option:hover,
.lang-option.is-active {
  background: color-mix(in srgb, var(--blue) 14%, transparent);
}

.site-main {
  padding: clamp(44px, 7vw, 76px) 0 72px;
}

.hero {
  min-height: min(720px, calc(100vh - 76px));
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--green);
  border: 1px solid color-mix(in srgb, var(--green) 30%, transparent);
  background: color-mix(in srgb, var(--green) 10%, transparent);
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-title,
.page-title {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(2.25rem, 8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.hero-lead,
.page-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.24rem);
  margin: 0 0 28px;
}

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

.site-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  padding-inline: 20px;
}

.site-button.primary {
  color: #04111e;
  background: linear-gradient(135deg, #95ddff, #4cc0f7);
}

.site-button.ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--panel) 80%, transparent);
}

.hero-panel,
.content-panel,
.feature-card,
.waitlist-panel,
.mvp-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow: var(--shadow);
}

.hero-panel {
  min-height: 330px;
  padding: 24px;
  display: grid;
  align-content: space-between;
}

.signal-row {
  display: flex;
  gap: 8px;
}

.signal-row span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
}

.hero-metric {
  display: grid;
  gap: 6px;
}

.hero-metric strong {
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-metric span {
  color: var(--muted);
}

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

.hero-flow span,
.mvp-card {
  padding: 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel-2) 78%, transparent);
}

.feature-grid,
.mvp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.feature-card {
  padding: 22px;
}

.feature-card h2,
.prose h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.12rem;
}

.feature-card p,
.prose p,
.prose li,
.mvp-card span {
  color: var(--muted);
}

.waitlist-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(22px, 5vw, 56px);
  margin-top: 28px;
  padding: clamp(22px, 4vw, 42px);
}

.waitlist-panel-copy h2 {
  margin: 0 0 12px;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.04;
}

.waitlist-panel-copy p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
}

.waitlist-form {
  display: grid;
  gap: 14px;
}

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

.form-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  background: color-mix(in srgb, var(--panel-2) 82%, transparent);
  font: 600 0.96rem/1.4 Inter, sans-serif;
  padding: 0 14px;
  outline: none;
}

.form-field textarea {
  min-height: 110px;
  padding-block: 12px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: color-mix(in srgb, var(--blue) 68%, var(--line-strong));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent);
}

.form-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue-strong);
}

.waitlist-form .site-button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.waitlist-form .site-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status[data-state="success"] { color: var(--green); }
.form-status[data-state="error"] { color: #ff9f9f; }
.form-status[data-state="info"] { color: var(--blue-strong); }

.content-shell {
  width: min(900px, calc(100% - 32px));
  margin-inline: auto;
}

.content-panel {
  padding: clamp(24px, 4vw, 44px);
}

.prose section + section {
  margin-top: 26px;
}

.press-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 8px;
}

.press-metric {
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel-2) 76%, transparent);
}

.press-metric strong {
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.05rem;
}

.press-metric span {
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 750;
}

.press-link-grid,
.press-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  margin-top: 12px;
}

.press-link-card,
.press-team-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel-2) 70%, transparent);
}

.press-link-card {
  min-height: 108px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.press-link-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.press-link-card strong,
.press-team-card h2 {
  margin: 0;
  color: var(--ink);
  font: 850 1rem/1.2 Manrope, Inter, sans-serif;
}

.press-link-card span,
.press-team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.press-team-name {
  color: var(--blue-strong);
  font: 850 1.1rem/1 Manrope, Inter, sans-serif;
}

.press-team-name a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

@media (max-width: 720px) {
  .press-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mvp-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

.mvp-card {
  display: grid;
  gap: 6px;
  min-height: 112px;
  border: 1px solid var(--line);
  transition: transform 160ms ease, border-color 160ms ease;
}

.mvp-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--soft);
  padding: 28px 0 36px;
}

.site-footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer-links a:hover {
  color: var(--ink);
}

@media (max-width: 820px) {
  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .site-nav-strip {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    order: 3;
  }

  .site-nav-link {
    min-width: 0;
    padding-inline: 8px;
  }

  .site-brand-tag {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

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

  .waitlist-panel,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .waitlist-form .site-button {
    width: 100%;
  }

  .hero-panel {
    min-height: 240px;
  }
}

/* Product demo shell */
.product-body {
  background: var(--bg);
}

.product-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.product-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
}

.product-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.product-brand span {
  display: grid;
  gap: 2px;
}

.product-brand strong {
  color: var(--ink);
  font: 800 1rem/1 Manrope, Inter, sans-serif;
}

.product-brand small {
  color: var(--soft);
  font-size: 0.72rem;
}

.product-nav {
  display: grid;
  gap: 8px;
}

.product-nav-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 750;
}

.product-nav-link:hover,
.product-nav-link.is-active,
.product-nav-link[aria-current="page"] {
  color: var(--ink);
  background: color-mix(in srgb, var(--blue) 15%, transparent);
}

.product-side-cta {
  margin-top: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #04111e;
  background: linear-gradient(135deg, #95ddff, #4cc0f7);
  font-weight: 850;
}

.product-main {
  min-width: 0;
  padding: clamp(18px, 3vw, 34px);
}

.product-topbar,
.product-hero,
.product-panel,
.product-editor {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.product-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: clamp(16px, 2.5vw, 24px);
  margin-bottom: 16px;
}

.product-eyebrow,
.product-card-kicker {
  display: inline-flex;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.product-topbar h1 {
  margin: 6px 0 0;
  font: 850 clamp(1.8rem, 4vw, 3.5rem)/1 Manrope, Inter, sans-serif;
  letter-spacing: 0;
}

.product-top-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-top-actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0 13px;
  font-weight: 750;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 16px;
  padding: clamp(18px, 2.5vw, 28px);
  margin-bottom: 16px;
}

.product-hero p,
.product-panel p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.product-button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font: 850 0.9rem/1 Inter, sans-serif;
  cursor: pointer;
}

.product-button.primary {
  color: #04111e;
  background: linear-gradient(135deg, #95ddff, #4cc0f7);
}

.product-button.ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--panel-2) 82%, transparent);
}

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

.product-metric {
  min-height: 90px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel-2) 82%, transparent);
}

.product-metric strong {
  font: 850 1.55rem/1 Manrope, Inter, sans-serif;
}

.product-metric span {
  color: var(--soft);
  font-size: 0.82rem;
}

.product-grid,
.product-code-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-code-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.product-panel,
.product-editor {
  padding: clamp(18px, 2.4vw, 24px);
}

.product-panel.span-2 {
  grid-column: span 2;
}

.product-panel h2,
.product-card-link h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font: 850 1.15rem/1.15 Manrope, Inter, sans-serif;
}

.product-card-link {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 180px;
}

.product-progress {
  height: 10px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-2) 86%, transparent);
}

.product-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue-strong));
}

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

.product-list li {
  padding: 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel-2) 70%, transparent);
}

.product-list li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.product-list li span {
  display: block;
  color: var(--soft);
  font-size: 0.88rem;
}

.product-callout,
.chat-row {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  color: var(--ink);
  background: color-mix(in srgb, var(--blue) 10%, transparent);
}

.product-callout code {
  font-family: "JetBrains Mono", monospace;
  color: var(--green);
}

.product-task-list {
  margin-top: 16px;
}

.product-editor {
  display: grid;
  align-content: start;
  min-width: 0;
  overflow: hidden;
  background: #050d1c;
}

.editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.editor-tab {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 10px;
  background: rgba(127, 211, 255, 0.12);
  color: var(--blue);
  padding: 0 12px;
  font-family: "JetBrains Mono", monospace;
}

.editor-status {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.product-editor pre {
  margin: 18px 0 0;
  overflow-x: auto;
  color: #d8e9ff;
  font: 700 0.94rem/1.8 "JetBrains Mono", monospace;
}

.product-console {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  color: var(--ink);
  background: color-mix(in srgb, var(--green) 12%, transparent);
}

.product-console span {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.chat-row {
  max-width: 86%;
}

.chat-row code {
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
}

.chat-row.learner {
  margin-left: auto;
  background: color-mix(in srgb, var(--green) 12%, transparent);
}

.analytics-bars {
  height: 180px;
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 22px;
}

.analytics-bars span {
  flex: 1;
  min-width: 32px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, var(--blue), var(--green));
}

.analytics-legend {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 480px) {
  .analytics-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 6px;
    font-size: 0.72rem;
  }
}

.obfuscated-email.is-decoded {
  color: var(--blue-strong);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.product-dock-onboarding {
  grid-template-columns: 1fr;
}

.product-dock-onboarding .product-nav-link span:not(.material-symbols-outlined) {
  display: inline;
}

.selectable.selected {
  border-color: color-mix(in srgb, var(--blue) 55%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 12%, transparent);
}

.selectable.selected .product-card-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
}

.product-dock {
  display: none;
}

@media (max-width: 1100px) {
  .product-shell {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .product-sidebar {
    padding: 16px 12px;
    align-items: center;
  }

  .product-brand span,
  .product-nav-link span,
  .product-side-cta {
    display: none;
  }

  .product-nav-link {
    justify-content: center;
    width: 52px;
  }

  .product-grid,
  .product-code-layout,
  .product-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-panel.span-2 {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .product-shell {
    display: block;
    padding-bottom: 78px;
  }

  .product-sidebar {
    display: none;
  }

  .product-main {
    padding: 14px;
  }

  .product-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-topbar h1 {
    font-size: 2rem;
  }

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

  .product-dock {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 6px;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: color-mix(in srgb, var(--panel) 92%, transparent);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
  }

  .product-dock .product-nav-link {
    width: auto;
    min-height: 48px;
    justify-content: center;
    padding: 0;
  }

  .product-dock .product-nav-link span:not(.material-symbols-outlined) {
    display: none;
  }
}

/* Book companion labs */
.labs-main .content-shell {
  width: min(1040px, calc(100% - 32px));
}

.labs-hero {
  min-height: min(620px, calc(100vh - 76px));
}

.book-access-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
  margin: 0 0 24px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow: var(--shadow);
}

.book-access-panel h2,
.lab-section h2 {
  margin: 0 0 10px;
  font-family: Manrope, Inter, sans-serif;
  color: var(--ink);
}

.book-access-panel p,
.lab-section p,
.lab-section li {
  color: var(--muted);
}

.book-access-form {
  display: grid;
  gap: 14px;
}

.book-access-form .site-button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.labs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 14px;
  margin-top: 24px;
}

.lab-card {
  min-height: 172px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  transition: transform 160ms ease, border-color 160ms ease;
}

.lab-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.lab-card-number {
  width: 42px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #04111e;
  background: linear-gradient(135deg, #95ddff, #4cc0f7);
  font-weight: 850;
}

.lab-card strong {
  color: var(--ink);
  font-family: Manrope, Inter, sans-serif;
}

.lab-card span:last-child {
  color: var(--muted);
  font-size: 0.94rem;
}

.lab-page-shell {
  width: min(980px, calc(100% - 32px));
}

.lab-panel {
  display: grid;
  gap: 22px;
}

.lab-panel .book-access-panel {
  margin: 6px 0 0;
  box-shadow: none;
}

.lab-locked-content {
  display: none;
  gap: 16px;
}

html[data-book-access="reader"] .lab-locked-content,
html[data-book-access="demo"] .lab-locked-content,
.book-access-panel[data-access-state="reader"] ~ .lab-locked-content,
.book-access-panel[data-access-state="demo"] ~ .lab-locked-content {
  display: grid;
}

.lab-section {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel-2) 74%, transparent);
}

.lab-section ol {
  margin: 0;
  padding-left: 20px;
}

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

.lab-next-step .hero-actions {
  margin-top: 14px;
}

.lab-submission-form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.lab-submission-form .site-button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.lab-chapter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.lab-mini-link {
  width: 42px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: color-mix(in srgb, var(--panel-2) 74%, transparent);
  font-weight: 800;
}

.lab-mini-link:hover,
.lab-mini-link.is-active {
  color: var(--ink);
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--blue) 15%, transparent);
}

@media (max-width: 820px) {
  .site-nav-strip {
    width: 100%;
    justify-self: stretch;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-nav-strip {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-nav-link {
    min-width: 0;
    padding-inline: 8px;
  }

  .book-access-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .book-access-form .site-button {
    width: 100%;
  }

  .lab-submission-form .site-button {
    width: 100%;
  }
}

/* Book learner dashboard */
.learn-shell {
  width: min(1160px, calc(100% - 32px));
}

.learn-gateway {
  max-width: 920px;
  margin-inline: auto;
}

.learn-login {
  margin-top: 24px;
}

.learn-app {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.learn-gateway[hidden],
.learn-app[hidden] {
  display: none;
}

.learn-summary,
.learn-board {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow: var(--shadow);
}

.learn-summary {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.learn-summary h2,
.learn-board h2,
.learn-chapter h3 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  color: var(--ink);
}

.learn-summary p,
.learn-chapter p {
  margin: 0;
  color: var(--muted);
}

.learn-progress {
  display: grid;
  gap: 8px;
}

.learn-progress strong {
  font-size: 2.15rem;
  line-height: 1;
}

.learn-progress span {
  color: var(--soft);
  font-size: 0.9rem;
}

.learn-progress-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-2) 82%, transparent);
}

.learn-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--green), var(--blue));
  transition: width 180ms ease;
}

.learn-next-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel-2) 78%, transparent);
}

.learn-next-card span {
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.learn-next-card strong {
  color: var(--ink);
  font-family: Manrope, Inter, sans-serif;
}

.learn-next-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.learn-summary-actions {
  display: grid;
  gap: 10px;
}

.learn-summary-actions .site-button {
  width: 100%;
}

.learn-board {
  padding: clamp(18px, 3vw, 28px);
}

.learn-board-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 14px;
}

.learn-chapter {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel-2) 72%, transparent);
}

.learn-chapter.is-complete {
  border-color: color-mix(in srgb, var(--green) 42%, var(--line));
  background: color-mix(in srgb, var(--green) 8%, var(--panel-2));
}

.learn-chapter.is-next:not(.is-complete) {
  border-color: color-mix(in srgb, var(--blue) 52%, var(--line));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 18%, transparent);
}

.learn-chapter-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
}

.learn-chapter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.site-button.compact {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  cursor: pointer;
}

.site-button.compact.is-complete {
  color: #04111e;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

@media (max-width: 860px) {
  .learn-app {
    grid-template-columns: minmax(0, 1fr);
  }

  .learn-summary {
    position: static;
  }

  .learn-board-head {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-nav-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-nav-link {
    font-size: 0.82rem;
  }

  .learn-chapter-actions .site-button {
    width: 100%;
  }
}

/* —— Landing / press-kit home —— */

.landing-main .hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}

.landing-hero-copy {
  max-width: 640px;
}

.landing-product-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  margin-bottom: clamp(28px, 5vw, 48px);
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--panel) 84%, transparent);
}

.landing-product-proof-copy h2 {
  margin: 0 0 12px;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.landing-product-proof-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.landing-product-proof-shot {
  margin: 0;
}

.landing-product-proof-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.landing-hero-visual {
  margin: 0;
  max-width: min(100%, 500px);
  justify-self: end;
}

.landing-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.landing-code-visual {
  margin: 0;
  width: 100%;
}

.landing-code-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.landing-flow-visual {
  margin: 0;
  width: 100%;
}

.landing-flow-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.landing-flow-section .landing-section-head {
  margin-bottom: 20px;
}

.landing-mockup {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--panel) 90%, transparent);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.landing-mockup-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.landing-mockup-top span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blue) 70%, var(--green));
}

.landing-mockup-top strong {
  margin-left: auto;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
}

.landing-mockup-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 320px;
}

.landing-mockup-side {
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-2) 70%, transparent);
}

.landing-mockup-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 0.88rem;
}

.landing-mockup-side ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.landing-mockup-side li {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.landing-mockup-side li.is-active {
  color: var(--ink);
  background: color-mix(in srgb, var(--blue) 16%, transparent);
}

.landing-mockup-main {
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.landing-mockup-kicker {
  margin: 0;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.landing-mockup-main h3 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.2rem;
}

.landing-mockup-code {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #08111d;
  overflow: hidden;
}

.landing-mockup-code pre {
  margin: 0;
  padding: 14px;
  color: #d9ecff;
  font: 600 0.74rem/1.5 "JetBrains Mono", ui-monospace, monospace;
  overflow-x: auto;
}

.landing-mockup-chat {
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--green) 28%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--green) 8%, var(--panel-2));
}

.landing-mockup-chat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
}

.landing-mockup-chat p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.landing-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.landing-metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 86%, transparent);
  display: grid;
  gap: 8px;
}

.landing-metric strong {
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.65rem;
  line-height: 1.1;
}

.landing-metric span:last-child {
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.landing-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--green);
  background: color-mix(in srgb, var(--green) 12%, var(--panel-2));
}

.landing-icon svg {
  width: 22px;
  height: 22px;
}

.landing-section {
  margin-top: clamp(48px, 8vw, 88px);
}

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

.landing-section-head h2 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.08;
}

.landing-section-lead {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 640px;
}

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

.landing-feature {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 84%, transparent);
}

.landing-feature h3 {
  margin: 12px 0 8px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.08rem;
}

.landing-feature p {
  margin: 0;
  color: var(--muted);
}

.landing-flow-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--blue) 10%, transparent), transparent 40%),
    color-mix(in srgb, var(--panel) 88%, transparent);
}

.landing-flow-step {
  min-width: 120px;
  flex: 1 1 120px;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--muted);
}

.landing-flow-index {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--blue) 18%, transparent);
  font-size: 0.72rem;
}

.landing-flow-line {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 999px;
  flex: 0 0 28px;
}

.landing-code-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.landing-code-stack {
  display: grid;
  gap: 14px;
}

.landing-code-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #08111d;
  box-shadow: var(--shadow);
}

.landing-code-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #9eb4c8;
  font: 700 0.76rem/1 "JetBrains Mono", ui-monospace, monospace;
}

.landing-code-card pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
}

.landing-code-card code {
  color: #d9ecff;
  font: 600 0.76rem/1.55 "JetBrains Mono", ui-monospace, monospace;
  white-space: pre;
}

.landing-code-card.is-ts {
  transform: translateX(18px);
}

.landing-gateway-section {
  padding-top: 0;
}

.landing-gateway-panel {
  position: relative;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 72%, transparent), color-mix(in srgb, var(--bg) 88%, transparent)),
    url("/assets/landing/ambient.webp") center / cover no-repeat;
}

.landing-gateway-panel .landing-gateway-grid {
  position: relative;
  z-index: 1;
}

.landing-journey-grid,
.landing-gateway-grid,
.landing-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.landing-journey-card,
.landing-gateway-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 86%, transparent);
}

.landing-gateway-panel .landing-gateway-card {
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: blur(8px);
}

.landing-journey-tag,
.landing-gateway-tag {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-journey-card h3,
.landing-gateway-card h3 {
  margin: 0 0 10px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.12rem;
}

.landing-journey-card p,
.landing-gateway-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.landing-gateway-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 12px;
  color: var(--ink);
  background: color-mix(in srgb, var(--panel-2) 80%, transparent);
  border: 1px solid var(--line);
}

.landing-media-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
}

.landing-media-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 520px;
}

.landing-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.landing-team-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 84%, transparent);
}

.landing-avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font: 800 1rem/1 Manrope, Inter, sans-serif;
  color: #04111e;
  background: linear-gradient(135deg, #95ddff, #55e7b1);
}

.landing-avatar-photo {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  background: var(--panel-2);
}

.landing-team-name {
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
}

.landing-team-name a {
  color: inherit;
}

.landing-team-role {
  margin: 4px 0 8px;
  color: var(--blue-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.landing-team-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer-rich {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.site-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  padding-bottom: 28px;
}

.site-footer-brand {
  display: grid;
  gap: 14px;
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-footer-logo strong {
  display: block;
  font-family: Manrope, Inter, sans-serif;
}

.site-footer-logo small {
  display: block;
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.site-footer-contact {
  margin: 0;
  color: var(--muted);
}

.site-footer-social {
  display: flex;
  gap: 10px;
}

.site-social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
}

.site-social-link:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--blue) 12%, transparent);
}

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

.site-footer-columns h3 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soft);
}

.site-footer-columns a {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

.site-footer-columns a:hover {
  color: var(--ink);
}

.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.signin-shell {
  display: grid;
  place-items: center;
  min-height: min(70vh, 720px);
}

.signin-panel {
  width: min(520px, 100%);
}

.form-guard {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.signin-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.signin-step {
  display: grid;
  gap: 14px;
}

.signin-step[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .landing-hero,
  .landing-code-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-hero-visual {
    max-width: min(100%, 560px);
    justify-self: center;
  }

  .landing-product-proof {
    grid-template-columns: minmax(0, 1fr);
  }


  .landing-metrics,
  .landing-journey-grid,
  .landing-gateway-grid,
  .landing-team-grid,
  .landing-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-code-card.is-ts {
    transform: none;
  }

  .site-footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .site-nav-strip {
    display: none;
  }

  .site-menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .landing-mockup-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-mockup-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .landing-metrics,
  .landing-journey-grid,
  .landing-gateway-grid,
  .landing-team-grid,
  .landing-feature-grid,
  .site-footer-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-flow-line {
    display: none;
  }
}
