*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #fff;
  --bg-alt: #f8f9fa;
  --text: #1f1f1f;
  --text-secondary: #444746;
  --text-muted: #5f6368;
  --border: #dadce0;
  --blue: #0b57d0;
  --blue-hover: #0842a0;
  --radius: 28px;
  --radius-sm: 16px;
  --font: "Roboto", "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

img,
video,
iframe {
  max-width: 100%;
}

.container--narrow {
  max-width: 720px;
}

/* ─── Header (gemini.google style) ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  width: min(100% - 2rem, 1280px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand-gemini {
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.brand-omni {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.header-nav {
  display: none;
  gap: 2rem;
}

.header-nav a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.btn-header {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background: #1a1a1a;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-header:hover {
  background: #333;
  text-decoration: none;
}

@media (min-width: 900px) {
  .header-nav {
    display: flex;
  }
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  background: #1a1a1a;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #333;
  text-decoration: none;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--blue);
}

.text-link:hover {
  text-decoration: underline;
}

/* ─── Hero ─── */
.hero {
  padding: 4rem 0 2rem;
  text-align: center;
}

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

.eyebrow {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-inline: auto;
}

/* ─── Demo section ─── */
.demo-section {
  padding-top: 3rem;
}

.demo-primary {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.demo-links {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .demo-links {
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
  }
}

.demo-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.demo-link:hover {
  border-color: #bdc1c6;
  background: #fff;
  text-decoration: none;
}

.demo-link__title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.demo-link__desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.demo-links-foot {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Omni 本地生成视频 */
.omni-samples {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.omni-samples__heading {
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.5rem;
}

.omni-samples__lead {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.omni-samples__lead code {
  font-size: 0.8125rem;
  background: var(--bg-alt);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.omni-samples__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .omni-samples__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .omni-samples__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.omni-sample {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.omni-sample__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.omni-sample__stage video,
.omni-sample__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.omni-sample__stage video {
  display: block;
  object-fit: contain;
}

.omni-sample__stage video[hidden] {
  display: none !important;
}

.omni-sample__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  background: var(--bg-alt);
}

.omni-sample__placeholder[hidden] {
  display: none !important;
}

.omni-sample__placeholder code {
  font-size: 0.75rem;
  word-break: break-all;
}

.omni-sample__body {
  padding: 0.875rem 1rem 1rem;
}

.omni-sample__label {
  font-size: 0.875rem;
  font-weight: 500;
}

.omni-sample__desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.omni-sample__prompt {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
  line-height: 1.45;
}

.video-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.section--alt .video-card,
.demo-section .video-card {
  background: #fff;
}

.video-card .media-frame,
.video-card .yt-poster {
  border-radius: 0;
}

/* YouTube facade — 封面与播放器共用同一区域，避免叠层 */
.yt-player {
  width: 100%;
}

.yt-player__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: inherit;
  overflow: hidden;
}

.yt-player--hero .yt-player__stage {
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.12), 0 4px 24px rgba(60, 64, 67, 0.08);
}

.yt-poster,
.yt-player__stage .media-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.yt-poster {
  display: block;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
  overflow: hidden;
}

.yt-player__stage .media-frame {
  aspect-ratio: auto;
}

.yt-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.yt-poster:hover img {
  transform: scale(1.03);
  opacity: 0.92;
}

.yt-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath fill='%23f00' d='M66.52 7.74a8.2 8.2 0 0 0-5.78-5.82C55.79 1 34 1 34 1S12.21 1 7.26 1.92a8.2 8.2 0 0 0-5.78 5.82C.06 12.7 0 24 0 24s.06 11.3 1.48 16.26a8.2 8.2 0 0 0 5.78 5.82C12.21 47 34 47 34 47s21.79 0 26.74-.96a8.2 8.2 0 0 0 5.78-5.82C67.94 35.3 68 24 68 24s-.06-11.3-1.48-16.26z'/%3E%3Cpath fill='%23fff' d='M45 24 27 14v20'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.yt-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.2s;
}

.yt-poster:hover::after {
  background: rgba(0, 0, 0, 0.35);
}

.yt-player--hero .yt-play {
  width: 80px;
  height: 56px;
}

.yt-player .media-caption {
  padding: 0.5rem 0 0;
  text-align: center;
}


.video-card-body {
  padding: 1rem 1.25rem 1.25rem;
}

.video-card__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.video-card-body h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0.35rem 0 0.25rem;
}

.video-card-body p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.video-card__link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
}

.split-media .media-caption {
  text-align: left;
  margin-top: 0.5rem;
}

.prompt-list--card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  margin: 0;
}

.split-visual--prompts {
  align-self: center;
}

/* ─── Blog link cards (external demo — no embedded media) ─── */
.blog-link-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-link-card:hover {
  border-color: #bdc1c6;
  box-shadow: 0 1px 6px rgba(60, 64, 67, 0.1);
  text-decoration: none;
}

.blog-link-card__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.blog-link-card__title {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.blog-link-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.blog-link-card__cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue);
}

.blog-link-card:hover .blog-link-card__cta {
  text-decoration: underline;
}

.blog-link-card--compact {
  height: 100%;
}

.split-media {
  width: 100%;
}

/* ─── Media frames ─── */

.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.media-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 非 yt-player 内的独立 media-frame（若仍有使用） */
.demo-primary > .media-frame--hero {
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.12), 0 4px 24px rgba(60, 64, 67, 0.08);
}

.media-caption {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.media-caption a {
  color: var(--blue);
}

/* ─── Sections ─── */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section-headline {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-headline strong {
  font-weight: 500;
}

.section-headline--center {
  text-align: center;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-lead--center {
  text-align: center;
  margin-inline: auto;
}

/* ─── Tabs (gemini video-generation carousel style) ─── */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.tab {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.tab:hover {
  background: var(--bg-alt);
}

.tab.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.tab-panels {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2rem;
  min-height: 120px;
}

.section--alt .tab-panels {
  background: #fff;
}

.tab-panel p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 48rem;
}

/* ─── Split sections ─── */
.split {
  padding: 5rem 0;
}

.split-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .split--reverse .split-copy {
    order: 2;
  }

  .split--reverse .split-media,
  .split--reverse .split-visual {
    order: 1;
  }
}

.split-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.split-title strong {
  font-weight: 500;
}

.split-copy p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.split-note {
  margin-top: 1rem !important;
  font-size: 0.875rem !important;
  color: var(--text-muted) !important;
}

.prompt-list {
  margin-top: 1.25rem;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.prompt-list li {
  margin-bottom: 0.5rem;
}

.prompt-list li::marker {
  color: var(--text-muted);
}

/* Edit demo (chat-like, not emoji cards) */
.edit-demo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.edit-line {
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  max-width: 90%;
}

.edit-line--user {
  align-self: flex-end;
  background: var(--bg-alt);
  color: var(--text);
}

.edit-line--ai {
  align-self: flex-start;
  background: #e8f0fe;
  color: var(--text-secondary);
}

/* Avatar visual */
.split-visual--avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-stack {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  pointer-events: none;
}

.avatar-ring--1 {
  inset: 0;
  background: radial-gradient(circle at 30% 25%, #fff, var(--bg-alt) 70%);
  border-color: transparent;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.05), 0 12px 32px rgba(60, 64, 67, 0.08);
}

.avatar-ring--2 {
  inset: 14%;
  border-color: rgba(11, 87, 208, 0.18);
  border-style: dashed;
  animation: avatar-spin 24s linear infinite;
}

.avatar-ring--3 {
  inset: 26%;
  border-color: rgba(11, 87, 208, 0.28);
}

@keyframes avatar-spin {
  to {
    transform: rotate(360deg);
  }
}

.avatar-disc {
  position: relative;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #0b57d0 0%, #4285f4 55%, #8ab4f8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(11, 87, 208, 0.28);
}

.avatar-initial {
  font-size: 2.5rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
}

.avatar-badge {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue);
  box-shadow: 0 4px 12px rgba(60, 64, 67, 0.1);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .avatar-stack {
    width: min(260px, 80%);
    margin: 0 auto;
  }

  .avatar-initial {
    font-size: 2rem;
  }
}

/* ─── Model card ─── */
.model-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.model-card-header h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.model-card-header p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 600px) {
  .check-list {
    grid-template-columns: 1fr 1fr;
  }
}

.check-list li {
  font-size: 0.9375rem;
  color: var(--text);
  padding-left: 1.75rem;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.125rem;
  height: 1.125rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230b57d0'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tag-new {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue);
  background: #e8f0fe;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.model-footnote {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.availability h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.availability ul {
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.availability li {
  margin-bottom: 0.5rem;
}

/* ─── FAQ ─── */
.faq-list {
  margin-top: 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item summary {
  font-size: 1.0625rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-right: 2rem;
}

/* ─── CTA banner ─── */
.cta-banner {
  padding: 5rem 0;
  background: var(--bg-alt);
  text-align: center;
}

.cta-banner-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cta-banner-inner p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ─── Footer ─── */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 40rem;
}

.footer-disclaimer a {
  color: var(--blue);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .footer-disclaimer {
    flex: 1 1 100%;
  }
}

/* ───────────────────────────────────────────────
   Responsive — three-tier adaptation
   Mobile:  ≤ 640px
   Tablet:  641px – 1023px
   Desktop: ≥ 1024px
   ─────────────────────────────────────────────── */

/* ── Mobile ── */
@media (max-width: 640px) {
  :root {
    --header-h: 60px;
    --radius: 20px;
  }

  .container {
    width: min(100% - 2rem, var(--max));
  }

  /* Header */
  .header-inner {
    width: min(100% - 1.5rem, 1280px);
    gap: 0.75rem;
  }

  .brand-gemini,
  .brand-omni {
    font-size: 1.125rem;
  }

  .btn-header {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
  }

  /* Hero & sections */
  .hero {
    padding: 2.5rem 0 1.5rem;
  }

  .hero-headline {
    line-height: 1.1;
  }

  .section,
  .split,
  .cta-banner {
    padding: 3rem 0;
  }

  .demo-section {
    padding-top: 2rem;
  }

  .section-lead {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  /* Tabs — horizontal scroll on small screens */
  .tabs {
    gap: 0.375rem;
    margin: 0 -1rem 1.25rem;
    padding: 0 1rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex-shrink: 0;
    padding: 0.45rem 0.875rem;
    font-size: 0.8125rem;
  }

  .tab-panels {
    padding: 1.25rem;
    min-height: auto;
  }

  .tab-panel p {
    font-size: 0.9375rem;
  }

  /* Splits */
  .split-grid {
    gap: 2rem;
  }

  .split-copy p {
    font-size: 0.9375rem;
  }

  .prompt-list--card {
    padding: 1rem 1rem 1rem 2rem;
  }

  /* Demos */
  .demo-primary {
    margin-bottom: 1.5rem;
  }

  .demo-links {
    gap: 0.5rem;
  }

  .demo-link {
    padding: 0.75rem 0.875rem;
  }

  .omni-samples {
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .omni-samples__heading {
    font-size: 1.125rem;
  }

  /* Specs */
  .model-card {
    padding: 1.5rem;
    border-radius: var(--radius-sm);
  }

  .model-card-header h3 {
    font-size: 1.25rem;
  }

  .check-list {
    gap: 0.625rem;
  }

  .check-list li {
    font-size: 0.875rem;
  }

  /* FAQ */
  .faq-item {
    padding: 1rem 0;
  }

  .faq-item summary {
    font-size: 0.9375rem;
    gap: 0.5rem;
  }

  .faq-item p {
    padding-right: 0;
    font-size: 0.875rem;
  }

  /* Footer */
  .site-footer {
    padding: 2rem 0;
  }

  .footer-nav {
    gap: 1rem;
  }
}

/* ── Extra-small phones ── */
@media (max-width: 380px) {
  .header-nav {
    display: none;
  }

  .brand-omni {
    display: none;
  }

  .btn-header {
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
  }

  .demo-links {
    grid-template-columns: 1fr;
  }
}

/* ── Tablet ── */
@media (min-width: 641px) and (max-width: 1023px) {
  .container {
    width: min(100% - 2.5rem, var(--max));
  }

  .section,
  .split,
  .cta-banner {
    padding: 4rem 0;
  }

  .model-card {
    padding: 2rem;
  }

  .header-nav {
    gap: 1.25rem;
  }

  .header-nav a {
    font-size: 0.8125rem;
  }
}

/* ── Tablet portrait (≤ 768) — hide secondary nav for room ── */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
}

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
