:root {
  color-scheme: dark;
  --bg: #040608;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.28);
  --text: #f8fbff;
  --muted: rgba(232, 240, 249, 0.68);
  --subtle: rgba(232, 240, 249, 0.45);
  --cyan: #80e6ff;
  --amber: #ffbc68;
  --green: #87e6b1;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 18%, rgba(128, 230, 255, 0.11), transparent 28rem),
    radial-gradient(circle at 16% 54%, rgba(255, 188, 104, 0.09), transparent 22rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

.signal-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.46;
}

/* ═══════ Header ═══════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(100% - 40px, 1180px);
  margin: 18px auto 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(4, 6, 8, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 700;
  font-size: 17px;
}

.brand-logo-mark {
  display: block;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(128, 230, 255, 0.18));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--subtle);
  font-size: 14px;
}

.nav-links a {
  transition: color 160ms ease;
}

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

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 650;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.login-link:hover {
  border-color: rgba(128, 230, 255, 0.55);
  background: rgba(128, 230, 255, 0.14);
  transform: translateY(-1px);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  padding: 3px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 680;
  white-space: nowrap;
}

.language-switch span,
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  border-radius: 999px;
  padding: 0 8px;
}

.language-switch span {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.language-switch a {
  transition:
    color 160ms ease,
    background 160ms ease;
}

.language-switch a:hover {
  background: rgba(128, 230, 255, 0.12);
  color: var(--text);
}

/* ═══════ Hero ═══════ */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(0.92) contrast(1.08);
  transform: scale(1.02);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(4, 6, 8, 0.22), rgba(4, 6, 8, 0.48) 46%, #040608 100%),
    radial-gradient(circle at 50% 42%, transparent 0 16rem, rgba(4, 6, 8, 0.45) 36rem);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0 44%, rgba(0, 0, 0, 0.72) 100%);
}

.hero-inner {
  align-self: end;
  width: min(100% - 32px, 920px);
  margin: 0 auto;
  padding: 0 0 clamp(32px, 5vw, 56px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(46px, 7vw, 76px);
  line-height: 0.96;
  font-weight: 760;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 0 48px rgba(128, 230, 255, 0.18);
}

.hero-copy {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.72;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 720;
}

.primary-action {
  gap: 10px;
  border: 1px solid rgba(128, 230, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(128, 230, 255, 0.9), rgba(135, 230, 177, 0.86)),
    #80e6ff;
  color: #041014;
  box-shadow:
    0 18px 70px rgba(128, 230, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 90px rgba(128, 230, 255, 0.31),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.86);
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.secondary-action:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.prompt-console {
  width: min(100%, 760px);
  margin: 34px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(4, 6, 8, 0.62);
  padding: 16px;
  text-align: left;
  box-shadow:
    0 24px 88px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.prompt-console label {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.prompt-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 10px;
}

.prompt-row input {
  min-width: 0;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
  outline: none;
}

.prompt-row input:focus {
  border-color: rgba(128, 230, 255, 0.48);
  box-shadow: 0 0 0 3px rgba(128, 230, 255, 0.08);
}

.prompt-row button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--text);
  color: #040608;
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  font-weight: 800;
}

/* ═══════ Shared Sections ═══════ */
section:not(.hero) {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 124px) 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.section-heading h2,
.workflow h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 740;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow),
.pricing-desc,
.pricing p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

/* ═══════ Provider Grid (Models) ═══════ */
.models {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.provider-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.028)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: border-color 200ms ease;
}

.provider-card.is-open {
  border-color: var(--line-strong);
}

.provider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  user-select: none;
  transition: background 160ms ease;
}

.provider-name-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.provider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.provider-dot.accent-openai {
  background: #00c878;
}

.provider-dot.accent-claude {
  background: #d4855c;
}

.provider-dot.accent-deepseek {
  background: #50b4ff;
}

.provider-dot.accent-qwen {
  background: #825aff;
}

.provider-dot.accent-kimi {
  background: #ff82c8;
}

.provider-dot.accent-default {
  background: var(--cyan);
}

.provider-name {
  font-size: 17px;
  font-weight: 650;
}

.provider-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.provider-count {
  font-size: 13px;
  color: var(--subtle);
  font-weight: 500;
}

.model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 20px 18px;
}

.model-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  font-family: 'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  transition: all 160ms ease;
  white-space: nowrap;
}

.model-tag:hover {
  border-color: rgba(128, 230, 255, 0.3);
  color: var(--text);
  background: rgba(128, 230, 255, 0.06);
}

/* ═══════ Pricing ═══════ */
.pricing {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.pricing-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.028)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  transition: transform 200ms ease, border-color 200ms ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: rgba(128, 230, 255, 0.35);
  background:
    linear-gradient(145deg, rgba(128, 230, 255, 0.1), rgba(128, 230, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    0 0 40px rgba(128, 230, 255, 0.08),
    inset 0 1px 0 rgba(128, 230, 255, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #040608;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  margin-top: 4px;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.pricing-card-price .amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
}

.pricing-card-price .period {
  font-size: 16px;
  color: var(--subtle);
}

.pricing-card-credits {
  font-size: 14px;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 24px;
}

.pricing-card .primary-action,
.pricing-card .secondary-action {
  width: 100%;
  min-height: 44px;
  font-size: 14px;
}

.pricing-card .secondary-action {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-weight: 650;
  transition: border-color 160ms ease, background 160ms ease;
}

.pricing-card .secondary-action:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.pricing-features {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.pricing-feature-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(128, 230, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--cyan);
  margin-top: 2px;
}

/* ——— Top-up Packs ——— */
.topup-section {
  margin-top: 48px;
  text-align: center;
}

.topup-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--muted);
}

.topup-grid {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topup-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 32px;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 200ms ease, transform 200ms ease;
}

.topup-card:hover {
  border-color: rgba(128, 230, 255, 0.25);
  transform: translateY(-2px);
}

.topup-credits {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.topup-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--cyan);
  margin-top: 6px;
}

/* ═══════ Platform ═══════ */
.platform {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.feature-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.028)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feature-kicker {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(128, 230, 255, 0.34);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.feature-grid h3 {
  margin: 58px 0 12px;
  font-size: 25px;
}

.feature-grid p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ═══════ Ecosystem ═══════ */
.ecosystem {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ecosystem-inner {
  display: grid;
  gap: 42px;
}

.ecosystem-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.028)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 200ms ease;
}

.ecosystem-card:hover {
  border-color: var(--line-strong);
}

.ecosystem-visual {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1.286;
  background: rgba(255, 255, 255, 0.04);
}

.ecosystem-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecosystem-text h3 {
  font-size: 20px;
  font-weight: 650;
  margin-bottom: 6px;
}

.ecosystem-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
  max-width: 620px;
}

.ecosystem-meta {
  display: inline-block;
  font-size: 12px;
  color: var(--subtle);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ═══════ Footer ═══════ */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--subtle);
  font-size: 14px;
  flex-wrap: wrap;
}

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

.footer-icp {
  font-size: 12px;
  color: var(--subtle);
  order: 10;
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* ═══════ Responsive ═══════ */

/* ═══════ Resources ═══════ */
.resources {
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.download-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.085), rgba(255,255,255,0.028)), rgba(255,255,255,0.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 200ms ease, border-color 200ms ease;
}

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

.download-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 32px;
  border: 1px solid rgba(128,230,255,0.25);
  border-radius: 6px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.download-card h3 {
  font-size: 18px;
  font-weight: 650;
  margin: 4px 0 0 0;
}

.download-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.download-card code {
  display: block;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.68);
  font-family: 'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.download-options {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 2px;
}

.download-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, background 160ms ease;
}

.download-option:hover {
  border-color: rgba(128, 230, 255, 0.28);
  background: rgba(128, 230, 255, 0.07);
}

.download-option-copy {
  display: grid;
  min-width: 0;
}

.download-option strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.download-option code {
  min-height: 0;
  font-size: 11px;
  line-height: 1.35;
}

.download-option .download-tag {
  margin-top: 0;
}

.download-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--cyan);
  border: 1px solid rgba(128,230,255,0.25);
  border-radius: 999px;
  padding: 3px 12px;
  width: fit-content;
  margin-top: auto;
}

.download-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  margin-top: 2px;
  padding: 4px 14px;
  border: 1px solid rgba(128,230,255,0.25);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: border-color 160ms ease, background 160ms ease;
}

.download-more:hover {
  border-color: rgba(128, 230, 255, 0.42);
  background: rgba(128, 230, 255, 0.08);
}

/* ═══════ Videos ═══════ */
.videos {
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.video-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.085), rgba(255,255,255,0.028)), rgba(255,255,255,0.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 200ms ease, border-color 200ms ease;
}

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

.video-card video,
.video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  background: #000;
  border: 0;
}

.video-card video {
  object-fit: cover;
}

.video-card h3 {
  font-size: 18px;
  font-weight: 650;
  margin: 0;
}

.video-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

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

@media (max-width: 860px) {
  .download-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    width: min(100% - 24px, 1180px);
    margin-top: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero-inner {
    width: min(100% - 28px, 920px);
  }

  h1 {
    font-size: clamp(42px, 13vw, 72px);
  }

  .provider-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 210px;
  }

  .ecosystem-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 12px;
    padding: 8px;
  }

  .brand {
    font-size: 15px;
  }

  .login-link {
    min-width: 68px;
  }

  .header-actions {
    gap: 6px;
  }

  .language-switch {
    font-size: 12px;
  }

  .language-switch span,
  .language-switch a {
    min-width: 30px;
    padding: 0 7px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-inner {
    padding-bottom: 44px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .prompt-console {
    padding: 12px;
  }

  section:not(.hero),
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .site-footer {
    display: grid;
    justify-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .signal-field {
    display: none;
  }
}
