@font-face {
  font-family: "DouyinSans";
  src: url("../fonts/DouyinSansBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #f4f2ec;
  --bg-strong: #ece8df;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #fffdfa;
  --surface-muted: rgba(248, 245, 238, 0.92);
  --surface-dark: #111827;
  --panel: rgba(255, 255, 255, 0.74);
  --panel-border: rgba(25, 33, 52, 0.09);
  --text: #111827;
  --text-soft: #495261;
  --text-mute: #738094;
  --brand: #2f5cff;
  --brand-strong: #2042c7;
  --brand-soft: rgba(47, 92, 255, 0.1);
  --mint-soft: rgba(30, 191, 143, 0.12);
  --gold-soft: rgba(208, 166, 83, 0.12);
  --accent: #0d1424;
  --accent-soft: #1b2437;
  --dark: #0b1322;
  --dark-soft: #162033;
  --dark-border: rgba(255, 255, 255, 0.1);
  --success: #0f9f6e;
  --warning: #d18a18;
  --shadow-sm: 0 18px 50px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 32px 90px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 46px 140px rgba(9, 17, 33, 0.16);
  --shadow-hover: 0 28px 90px rgba(15, 23, 42, 0.13);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-xl: 54px;
  --max-width: 1260px;
  --container-gutter: clamp(16px, 3vw, 28px);
  --section-space: clamp(80px, 9vw, 122px);
  --section-space-tight: clamp(54px, 7vw, 84px);
  --nav-height: 82px;
  --font-display: "DouyinSans", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "DouyinSans", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "DouyinSans", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle 540px at 8% -6%, rgba(47, 92, 255, 0.11), transparent 72%),
    radial-gradient(circle 420px at 88% 8%, rgba(30, 191, 143, 0.09), transparent 74%),
    radial-gradient(circle 320px at 78% 88%, rgba(208, 166, 83, 0.08), transparent 76%),
    linear-gradient(180deg, #f7f5f0 0%, #f2eee6 44%, #f5f2eb 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.026) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.38;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -48px;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 1000;
}

.skip-link:focus {
  top: 16px;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max-width), calc(100% - (var(--container-gutter) * 2)));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 238, 0.95);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
}

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

.nav > * {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(47, 92, 255, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-links a,
.nav-cta-note {
  font-size: 0.94rem;
  color: var(--text-soft);
}

.nav-links a {
  position: relative;
  padding: 10px 0;
  transition: color 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--brand), #71a8ff);
  transition: transform 180ms ease;
}

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

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.lang-option {
  min-width: 44px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-option:hover {
  transform: translateY(-1px);
  color: var(--text);
}

.lang-option.is-active {
  background: var(--accent);
  color: #fff;
}

.nav-cta-note {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.54);
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 20px 40px rgba(13, 20, 36, 0.2);
}

.btn-primary:hover {
  background: var(--accent-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(17, 24, 39, 0.2);
}

.btn-secondary:hover {
  background: rgba(17, 24, 39, 0.04);
  box-shadow: none;
}

.btn-disabled,
.btn-disabled:hover {
  background: rgba(255, 255, 255, 0.64);
  color: rgba(23, 25, 31, 0.48);
  border-color: rgba(23, 25, 31, 0.14);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.btn-dark {
  background: #fff;
  color: var(--dark);
}

.btn-dark:hover {
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-link {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: var(--text);
  font-weight: 700;
}

.btn-link:hover {
  transform: none;
  color: var(--brand);
}

.pill-row,
.micro-list,
.meta-list,
.inline-tags,
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill,
.micro-item,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
}

.pill {
  background: rgba(255, 255, 255, 0.68);
  color: var(--text-soft);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.micro-item,
.tag {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.section {
  padding: var(--section-space) 0;
}

.section-tight {
  padding: var(--section-space-tight) 0;
}

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle 420px at 16% 12%, rgba(63, 108, 255, 0.28), transparent 72%),
    radial-gradient(circle 300px at 86% 82%, rgba(31, 191, 143, 0.16), transparent 74%),
    linear-gradient(180deg, #10182a 0%, #09111f 100%);
  color: #fff;
}

.section-dark::before,
.section-dark::after,
.section-product::before,
.section-product::after,
.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.section-dark::before {
  width: clamp(180px, 16vw, 300px);
  height: clamp(180px, 16vw, 300px);
  top: -80px;
  right: clamp(2%, 8vw, 11%);
  border: 1px solid rgba(150, 190, 255, 0.28);
  background:
    radial-gradient(circle at 35% 32%, rgba(230, 244, 255, 0.44), rgba(230, 244, 255, 0.08) 46%, transparent 74%),
    radial-gradient(circle at 70% 72%, rgba(63, 114, 255, 0.18), rgba(63, 114, 255, 0.03) 62%, transparent 84%);
  animation: tech-bubble-float 13s ease-in-out infinite;
}

.section-dark::after {
  width: clamp(120px, 10vw, 180px);
  height: clamp(120px, 10vw, 180px);
  bottom: -48px;
  left: clamp(2%, 6vw, 10%);
  border: 1px solid rgba(95, 216, 186, 0.22);
  background:
    radial-gradient(circle at 40% 30%, rgba(224, 255, 248, 0.42), rgba(224, 255, 248, 0.06) 50%, transparent 76%),
    radial-gradient(circle at 68% 70%, rgba(15, 159, 110, 0.18), rgba(15, 159, 110, 0.03) 60%, transparent 84%);
  animation: tech-bubble-float 11s ease-in-out infinite reverse;
}

.section-dark .eyebrow,
.section-dark .section-copy p,
.section-dark .kicker,
.section-dark .caption,
.section-dark .cta-note-list {
  color: rgba(255, 255, 255, 0.7);
}

.section-product {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle 400px at 12% 6%, rgba(47, 92, 255, 0.09), transparent 74%),
    radial-gradient(circle 300px at 90% 92%, rgba(31, 191, 143, 0.08), transparent 76%);
}

.section-product::before {
  width: clamp(140px, 12vw, 220px);
  height: clamp(140px, 12vw, 220px);
  top: -56px;
  right: clamp(3%, 8vw, 12%);
  border: 1px solid rgba(140, 176, 255, 0.18);
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.16) 48%, transparent 76%),
    radial-gradient(circle at 68% 70%, rgba(86, 133, 255, 0.12), rgba(86, 133, 255, 0.04) 58%, transparent 84%);
}

.section-product::after {
  width: clamp(96px, 8vw, 150px);
  height: clamp(96px, 8vw, 150px);
  bottom: -36px;
  left: clamp(2%, 6vw, 10%);
  border: 1px solid rgba(125, 204, 182, 0.18);
  background:
    radial-gradient(circle at 44% 30%, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.16) 50%, transparent 76%),
    radial-gradient(circle at 66% 70%, rgba(15, 159, 110, 0.1), rgba(15, 159, 110, 0.04) 60%, transparent 84%);
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head .eyebrow {
  margin-bottom: 0;
}

.section-head.centered {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 50px;
}

.section-head.centered p {
  margin-inline: auto;
}

.section-head h1,
.section-head h2,
.section-head h3,
.hero-copy h1,
.feature-story h2,
.page-hero-copy h1,
.compare-shell h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero-copy h1,
.page-hero-copy h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  max-width: 14ch;
  line-height: 1.1;
}

.page-hero-copy h1 {
  font-size: clamp(2.15rem, 4.9vw, 4rem);
  max-width: 13ch;
}

.section-head h2,
.feature-story h2,
.compare-shell h2 {
  font-size: clamp(2.05rem, 4.7vw, 4.25rem);
}

.section-head p,
.hero-copy p,
.feature-story p,
.copy-block p,
.docs-article p,
.pricing-card p,
.scenario-card p,
.metric-card p,
.signal-card p,
.thesis-card p,
.compare-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.8;
  letter-spacing: 0.005em;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 88px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 24px 16px 10px;
  background:
    radial-gradient(circle 460px at 10% 18%, rgba(47, 92, 255, 0.08), transparent 72%),
    radial-gradient(circle 320px at 90% 14%, rgba(31, 191, 143, 0.05), transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(245, 240, 232, 0.5));
  border: 1px solid rgba(25, 33, 52, 0.06);
  border-radius: 44px;
  box-shadow: var(--shadow-md);
  z-index: -1;
}

.hero::after,
.page-hero::after {
  display: none;
}

.hero-grid,
.page-hero-grid,
.story-grid,
.cta-grid,
.docs-layout,
.two-column-grid {
  display: grid;
  gap: 36px;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  padding-top: 44px;
  gap: clamp(44px, 5vw, 88px);
}

.hero-copy {
  display: grid;
  gap: 22px;
  max-width: 640px;
}

.hero-audience,
.hero-hook {
  margin: 0;
}

.hero-audience {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
}

.hero-hook {
  color: var(--text-soft);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.72;
  max-width: 480px;
}

.hero-lead {
  margin: 0;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.72;
}

.hero-pain-list {
  margin: -6px 0 0;
  display: none;
}

.hero-actions,
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  gap: 12px;
  color: var(--text-mute);
  font-size: 0.9rem;
}

.hero-meta span,
.page-hero .hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.signal-card,
.thesis-card,
.compare-card {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
}

.signal-card strong,
.thesis-card h3,
.compare-label,
.compare-card strong {
  display: block;
  margin: 8px 0 8px;
  font-size: 1.05rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.hero-stage {
  position: relative;
  display: grid;
  gap: 0;
  align-self: start;
  max-width: 920px;
  margin-left: auto;
  padding-bottom: 150px;
  justify-items: end;
}

.stage-window,
.product-window {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.floating-card,
.cta-panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.panel-card,
.pricing-card,
.scenario-card,
.stats-band,
.docs-nav,
.docs-article,
.trust-band,
.value-card,
.story-card,
.security-card,
.faq-item,
.signal-card,
.thesis-card,
.compare-shell,
.compare-card,
.workflow-step {
  background: var(--surface-strong);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stage-window,
.product-window {
  width: min(100%, 840px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(25, 33, 52, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.window-dots {
  display: flex;
  gap: 8px;
}

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

.window-url {
  font-size: 0.82rem;
  color: var(--text-mute);
  font-family: var(--font-mono);
}

.window-body {
  display: grid;
  grid-template-columns: minmax(220px, 240px) minmax(0, 1fr);
  min-height: clamp(380px, 40vw, 468px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 238, 0.96));
}

.workspace-sidebar {
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.62);
  border-right: 1px solid rgba(25, 33, 52, 0.08);
}

.sidebar-stack,
.signal-stack,
.stats-grid,
.pricing-grid,
.scenarios-grid,
.feature-nav,
.docs-nav-group,
.footer-links,
.signal-row,
.thesis-grid {
  display: grid;
  gap: 14px;
}

.sidebar-card,
.signal-card,
.mini-stat,
.list-card,
.kanban-board,
.note-card,
.workflow-step,
.module-card,
.pricing-card,
.scenario-card,
.security-card,
.faq-item,
.thesis-card,
.compare-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.sidebar-card {
  padding: 16px;
}

.sidebar-title,
.panel-title,
.card-title,
.metric-value,
.scenario-card h3,
.pricing-card h3,
.security-card h3,
.faq-item h3,
.docs-article h2,
.docs-article h3,
.feature-story h3,
.story-card h3,
.thesis-card h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.sidebar-title {
  font-size: 1rem;
}

.sidebar-caption,
.caption,
.muted,
.card-meta,
.list-label,
.price-caption,
.docs-nav-group span {
  color: var(--text-mute);
  font-size: 0.88rem;
}

.mini-stat {
  padding: 12px 14px;
}

.mini-stat strong {
  font-size: 1.25rem;
  font-family: var(--font-display);
}

.workspace-main {
  padding: 20px 22px 22px;
  display: grid;
  gap: 18px;
}

.workspace-header,
.workspace-toolbar,
.task-row,
.compare-row,
.price-line,
.pricing-head,
.footer-meta,
.docs-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.workspace-toolbar {
  flex-wrap: wrap;
}

.toolbar-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toolbar-tabs span,
.badge,
.docs-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.05);
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.toolbar-tabs .is-active,
.badge-brand,
.docs-chip {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.conversation {
  display: grid;
  gap: 12px;
}

.bubble-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: min(92%, 820px);
}

.bubble-row.user {
  margin-left: auto;
  flex-direction: row-reverse;
}

.avatar-dot {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, #305eff, #7ab8ff);
  flex-shrink: 0;
}

.bubble {
  padding: 15px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: var(--text);
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.04);
}

.bubble.user {
  background: var(--accent);
  color: #fff;
}

.input-strip {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.input-placeholder {
  color: var(--text-mute);
}

.send-chip {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #3658de);
}

.floating-card {
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  bottom: clamp(56px, 7vw, 92px);
  width: min(100%, 490px);
  padding: 20px 22px;
  z-index: 4;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.14);
  will-change: transform;
}

.floating-card h3,
.panel-card h3,
.module-card h3,
.pricing-card h3,
.scenario-card h3,
.security-card h3,
.story-card h3,
.faq-item h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.floating-card p,
.panel-card p,
.module-card p,
.pricing-card p,
.scenario-card p,
.security-card p,
.story-card p,
.faq-item p,
.thesis-card p,
.signal-card p,
.compare-card li {
  color: var(--text-soft);
}

.floating-card.is-typing {
  animation-play-state: paused;
}

.floating-card.is-typing h3,
.floating-card.is-typing p {
  white-space: pre-wrap;
}

.floating-card.is-typing h3::after,
.floating-card.is-typing p::after {
  content: "|";
  display: inline-block;
  margin-left: 2px;
  color: currentColor;
  animation: typewriter-caret 0.95s steps(1) infinite;
}

.check-list li,
.docs-step-list li,
.price-list li,
.compare-list li {
  line-height: 1.72;
  letter-spacing: 0.01em;
}

.signal-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-band {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.section-dark .trust-band {
  background: linear-gradient(180deg, rgba(9, 17, 31, 0.9), rgba(13, 24, 42, 0.82));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 60px rgba(2, 6, 23, 0.28);
}

.section-dark .trust-item strong {
  color: #ffffff;
}

.section-dark .trust-item p {
  color: rgba(255, 255, 255, 0.8);
}

.trust-icon,
.icon-badge,
.security-icon,
.mini-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(47, 92, 255, 0.16), rgba(96, 181, 255, 0.14));
  color: var(--brand-strong);
}

.section-dark .trust-icon {
  background: linear-gradient(135deg, rgba(143, 176, 255, 0.24), rgba(89, 141, 255, 0.18));
  color: #dbe7ff;
}

.trust-item strong,
.metric-value,
.price-value,
.big-number {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}

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

.story-grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: start;
}

.story-card,
.panel-card,
.module-card,
.security-card,
.faq-item,
.docs-article,
.docs-nav,
.pricing-card,
.scenario-card,
.value-card,
.signal-card,
.thesis-card,
.compare-card {
  padding: clamp(20px, 2.4vw, 30px);
}

.story-card,
.panel-card,
.module-card,
.security-card,
.faq-item,
.pricing-card,
.scenario-card,
.value-card,
.workflow-step,
.signal-card,
.thesis-card,
.compare-card,
.feature-story,
.metric-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.story-card:hover,
.panel-card:hover,
.module-card:hover,
.security-card:hover,
.faq-item:hover,
.pricing-card:hover,
.scenario-card:hover,
.value-card:hover,
.workflow-step:hover,
.signal-card:hover,
.thesis-card:hover,
.compare-card:hover,
.feature-story:hover,
.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(47, 92, 255, 0.22);
}

.interaction-item {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 420ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 280ms ease, border-color 240ms ease, background-color 240ms ease;
  will-change: transform;
}

.interaction-visible .interaction-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.interaction-stage-two .interaction-item {
  transition-delay: calc(var(--item-index, 0) * 24ms + var(--stage-order, 0) * 48ms);
}

.interaction-stage-three .interaction-item {
  transition-delay: calc(var(--item-index, 0) * 20ms + var(--stage-order, 0) * 42ms);
}

.interaction-stage-two:hover .interaction-item,
.interaction-stage-two:focus-within .interaction-item {
  transform: translate3d(0, -3px, 0);
}

.interaction-stage-two:hover .interaction-item[data-stage-order="0"],
.interaction-stage-two:focus-within .interaction-item[data-stage-order="0"] {
  transform: translate3d(0, -11px, 0);
}

.interaction-stage-two:hover .interaction-item[data-stage-order="1"],
.interaction-stage-two:focus-within .interaction-item[data-stage-order="1"] {
  transform: translate3d(0, -6px, 0);
}

.interaction-stage-three:hover .interaction-item,
.interaction-stage-three:focus-within .interaction-item {
  transform: translate3d(0, -2px, 0);
}

.interaction-stage-three:hover .interaction-item[data-stage-order="0"],
.interaction-stage-three:focus-within .interaction-item[data-stage-order="0"] {
  transform: translate3d(0, -12px, 0);
}

.interaction-stage-three:hover .interaction-item[data-stage-order="1"],
.interaction-stage-three:focus-within .interaction-item[data-stage-order="1"] {
  transform: translate3d(0, -7px, 0);
}

.interaction-stage-three:hover .interaction-item[data-stage-order="2"],
.interaction-stage-three:focus-within .interaction-item[data-stage-order="2"] {
  transform: translate3d(0, -4px, 0);
}

.interaction-item:hover {
  border-color: rgba(47, 92, 255, 0.3);
  box-shadow: var(--shadow-hover);
}

.interaction-group {
  position: relative;
  --pointer-x: 50%;
  --pointer-y: 50%;
}

.interaction-group::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-md) + 2px);
  pointer-events: none;
  opacity: 0;
  filter: blur(1px);
  background:
    radial-gradient(circle 150px at var(--pointer-x) var(--pointer-y), rgba(150, 182, 255, 0.3), rgba(150, 182, 255, 0.14) 38%, rgba(150, 182, 255, 0.04) 62%, transparent 78%),
    radial-gradient(circle 250px at var(--pointer-x) var(--pointer-y), rgba(178, 205, 255, 0.2), rgba(178, 205, 255, 0.08) 50%, transparent 82%);
  transition: opacity 240ms ease, filter 240ms ease;
}

.interaction-group.has-pointer-bubble::after {
  opacity: 0.92;
  filter: blur(0);
}

.editorial-section {
  padding-top: clamp(66px, 7vw, 94px);
}

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

.model-providers {
  display: grid;
  gap: 26px;
  padding: clamp(28px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: var(--shadow-sm);
}

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

.model-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(17, 24, 39, 0.14);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
}

.model-chip-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  flex-shrink: 0;
}

.model-chip.is-featured {
  border-color: rgba(47, 92, 255, 0.42);
  box-shadow: 0 10px 28px rgba(47, 92, 255, 0.14);
  color: #1f3180;
}

.model-chip-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--accent);
  color: #fff;
}

.model-note {
  margin: 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.story-card-grid,
.modules-grid,
.scenarios-grid,
.security-grid,
.faq-grid {
  display: grid;
  gap: 20px;
}

.story-card-grid,
.scenarios-grid,
.security-grid,
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.list,
.check-list,
.compare-list,
.docs-step-list,
.price-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.compare-list li,
.docs-step-list li,
.price-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before,
.compare-list li::before,
.docs-step-list li::before,
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #73aefb);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.72);
}

.feature-bands {
  display: grid;
  gap: 24px;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 26px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(25, 33, 52, 0.08);
}

.feature-story::before,
.feature-story::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.42;
  transition: transform 320ms ease, opacity 220ms ease;
}

.feature-story::before {
  width: clamp(96px, 10vw, 146px);
  height: clamp(96px, 10vw, 146px);
  top: -34px;
  right: -22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.14) 48%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(circle at 62% 36%, rgba(47, 92, 255, 0.12), rgba(47, 92, 255, 0.03) 54%, rgba(47, 92, 255, 0) 78%);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.feature-story::after {
  width: clamp(64px, 6vw, 92px);
  height: clamp(64px, 6vw, 92px);
  left: clamp(18px, 4vw, 38px);
  bottom: clamp(14px, 2.5vw, 30px);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0) 76%),
    radial-gradient(circle at 36% 34%, rgba(15, 159, 110, 0.12), rgba(15, 159, 110, 0.03) 54%, rgba(15, 159, 110, 0) 78%);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.feature-story:nth-child(even) {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.feature-story .copy-block {
  display: grid;
  gap: 14px;
  align-content: center;
}

.feature-story .copy-lead {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.copy-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.copy-points li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.66;
}

.copy-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(47, 92, 255, 0.14);
}

.feature-story:hover::before {
  transform: translate(-2px, 2px) scale(1.05);
  opacity: 0.72;
}

.feature-story:hover::after {
  transform: translate(1px, -2px) scale(1.06);
  opacity: 0.68;
}

.product-window {
  min-height: 100%;
}

.product-window .window-body {
  grid-template-columns: 1fr;
  min-height: 380px;
}

.mock-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
}

.panel-card strong,
.workflow-step strong,
.price-plan,
.docs-step-head strong {
  display: block;
  margin-bottom: 6px;
}

.workflow-grid,
.value-grid,
.metrics-grid {
  display: grid;
  gap: 20px;
}

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

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

.workflow-step {
  padding: 24px;
}

.kicker {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.05);
}

.module-card {
  display: grid;
  gap: 14px;
}

.module-top,
.metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.module-no,
.metric-no {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
}

.scenario-card,
.pricing-card,
.value-card,
.security-card {
  height: 100%;
}

.quote {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid rgba(47, 92, 255, 0.22);
  color: var(--text);
  font-weight: 700;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-grid .pricing-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-grid .btn {
  margin-top: auto;
  align-self: flex-start;
}

.pricing-card.featured {
  background: linear-gradient(180deg, #0f1731 0%, #09111f 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured p,
.pricing-card.featured .price-caption,
.pricing-card.featured .muted,
.pricing-card.featured .price-list li {
  color: rgba(255, 255, 255, 0.74);
}

.pricing-card.featured .btn-secondary {
  background: #fff;
  color: var(--dark);
}

.price-value {
  font-family: var(--font-display);
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.price-value small {
  font-size: 1rem;
  color: var(--text-mute);
  font-family: var(--font-body);
}

.pricing-card.featured .price-value small {
  color: rgba(255, 255, 255, 0.56);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 18px 0 42px;
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  padding-top: 28px;
  gap: 28px;
}

.page-hero-copy {
  display: grid;
  gap: 22px;
  max-width: 740px;
}

.stats-band {
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.66));
}

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

.metric-card {
  padding: 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.metric-value {
  font-size: 1.8rem;
}

.docs-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
}

.docs-nav {
  position: sticky;
  top: calc(var(--nav-height) + 18px);
  display: grid;
  gap: 18px;
}

.docs-nav a {
  color: var(--text-soft);
  font-weight: 600;
  transition: color 160ms ease;
}

.docs-nav a:hover,
.docs-nav a.is-active {
  color: var(--text);
}

.docs-nav a.is-active {
  font-weight: 700;
}

.docs-content {
  display: grid;
  gap: 24px;
}

.docs-article {
  display: grid;
  gap: 20px;
}

.docs-article[id],
section[id] {
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

.docs-callout {
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(17, 24, 39, 0.04);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.docs-callout strong {
  display: block;
  margin-bottom: 8px;
}

.compare-shell {
  padding: clamp(28px, 3vw, 40px);
  display: grid;
  gap: 30px;
}

.comparison-actions {
  justify-content: center;
}

.scenario-actions {
  margin-top: 30px;
}

.compare-label {
  color: var(--text);
}

.compare-card.is-highlighted {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(15, 23, 42, 0.94));
  border-color: rgba(93, 136, 255, 0.2);
}

.compare-card.is-highlighted,
.compare-card.is-highlighted .compare-label,
.compare-card.is-highlighted li {
  color: #fff;
}

.compare-card.is-highlighted li::before {
  box-shadow: inset 0 0 0 4px rgba(17, 24, 39, 0.92);
}

.cta-panel {
  padding: 38px;
}

.cta-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
}

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

.cta-note-list a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  padding: 24px 0 44px;
}

.footer-card {
  padding: 24px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: var(--shadow-sm);
}

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

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

.footer-brand p,
.footer-links a,
.footer-meta {
  color: var(--text-soft);
}

.footer-links h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1rem;
}

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

.footer-meta {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 640ms ease, transform 640ms ease, filter 640ms ease;
  transition-delay: calc(var(--reveal-index, 0) * 48ms);
  filter: blur(3px);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  padding: 24px;
  background: rgba(12, 16, 32, 0.72);
  backdrop-filter: blur(16px);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-panel {
  margin: 0 auto;
  width: min(100%, 460px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fffdf8;
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 18px;
}

.mobile-head,
.mobile-links {
  display: grid;
  gap: 12px;
}

.mobile-head {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.mobile-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.mobile-links a {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.04);
  font-weight: 700;
}

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

.mobile-actions .lang-switcher {
  justify-self: start;
}

@keyframes tech-bubble-drift {
  0% {
    background-position: 0 0, 0 0, 0 0;
    transform: translate3d(0, 0, 0);
  }
  50% {
    background-position: 8px -8px, -10px 10px, 10px -6px;
    transform: translate3d(0, -2px, 0);
  }
  100% {
    background-position: 0 0, 0 0, 0 0;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes tech-bubble-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -12px, 0) scale(1.03);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes floating-card-bob {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes typewriter-caret {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 1199px) {
  .hero-grid,
  .page-hero-grid,
  .story-grid,
  .cta-grid,
  .feature-story,
  .feature-story:nth-child(even),
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .workflow-grid,
  .signal-row,
  .thesis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-grid,
  .metrics-grid,
  .pricing-grid,
  .story-card-grid,
  .security-grid,
  .faq-grid,
  .trust-band,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .hero-stage {
    max-width: 100%;
    margin-left: 0;
    padding-bottom: 0;
    gap: 16px;
    justify-items: stretch;
  }

  .docs-nav {
    position: static;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 18px;
  }

  .window-body {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  .nav-links,
  .nav-actions .btn,
  .nav-cta-note {
    display: none;
  }

  .mobile-toggle {
    display: inline-block;
  }

  .hero::before,
  .hero::after,
  .page-hero::before,
  .page-hero::after {
    inset: 18px 10px 10px;
    border-radius: 30px;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(25, 33, 52, 0.08);
  }

  .mock-panels,
  .signal-row,
  .two-column-grid,
  .value-grid,
  .metrics-grid,
  .pricing-grid,
  .story-card-grid,
  .security-grid,
  .faq-grid,
  .footer-grid,
  .stats-grid,
  .workflow-grid,
  .thesis-grid {
    grid-template-columns: 1fr;
  }

  .model-chip-grid {
    justify-content: flex-start;
  }

  .model-chip {
    min-height: 50px;
    font-size: 0.92rem;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  :root {
    --container-gutter: 12px;
  }

  body::before {
    opacity: 0.2;
  }

  .hero,
  .page-hero {
    padding-top: 12px;
  }

  .hero-grid,
  .page-hero-grid {
    padding-top: 24px;
  }

  .hero {
    padding-bottom: 72px;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
    line-height: 1.08;
  }

  .section-head h2,
  .feature-story h2,
  .compare-shell h2 {
    font-size: clamp(1.78rem, 8vw, 2.3rem);
  }

  .hero-copy p,
  .section-head p,
  .feature-story p,
  .copy-block p,
  .scenario-card p,
  .pricing-card p,
  .story-card p,
  .signal-card p,
  .thesis-card p {
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .section-head,
  .hero-copy {
    gap: 16px;
  }

  .hero-actions,
  .page-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .workspace-main,
  .workspace-sidebar,
  .compare-shell,
  .cta-panel {
    padding: 18px;
  }

  .mobile-menu {
    padding: 12px;
  }

  .model-providers {
    gap: 18px;
    padding: 18px;
  }

  .model-chip {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .page-hero::after,
  .section-dark::before,
  .section-dark::after,
  body::before {
    animation: none;
  }

  .floating-card {
    animation: none;
  }

  .feature-story::before,
  .feature-story::after {
    transition: none;
  }

  .interaction-group::after {
    opacity: 0;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
