/* ═══════════════════════════════════════════════════════════
   CoModel — Premium Light Theme v2
   Inspired by 21st.dev · Eldora UI · React Bits
   ═══════════════════════════════════════════════════════════ */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-elevated: #f8fafc;
  --surface: rgba(0,0,0,0.02);
  --surface-hover: rgba(0,0,0,0.04);
  --glass: rgba(255,255,255,0.7);
  --glass-border: rgba(0,0,0,0.08);
  --text: #0f172a;
  --text-secondary: rgba(15,23,42,0.7);
  --text-muted: rgba(15,23,42,0.5);
  --accent: #0d9488;
  --accent-light: #14b8a6;
  --accent-glow: rgba(13,148,136,0.2);
  --teal: #14b8a6;
  --teal-glow: rgba(20,184,166,0.15);
  --amber: #f59e0b;
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.15);
  --content: 1180px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --shadow: 0 20px 60px rgba(0,0,0,0.08);
  --shadow-soft: 0 8px 30px rgba(0,0,0,0.06);
  --gradient-primary: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #2dd4bf 100%);
  --gradient-accent: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  --gradient-text: linear-gradient(135deg, #0f766e 0%, #14b8a6 40%, #0d9488 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", "Noto Sans", sans-serif;
  font-size: 16px; line-height: 1.65; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-block-start: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; color: var(--text); }
h1 { max-width: 820px; margin-block-end: 24px; font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -0.03em; }
h2 { margin-block-end: 18px; font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; }
p { color: var(--text-secondary); }

.shell { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.narrow { max-width: 780px; }

/* Skip link */
.skip-link {
  position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 100;
  padding: 8px 16px; background: var(--accent); color: #fff; transform: translateY(-150%);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ═══ Topbar ═══ */
.topbar {
  position: sticky; inset-block-start: 0; z-index: 20;
  border-block-end: 1px solid var(--border);
  background: rgba(255,255,255,0.85); backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.topbar-inner {
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 800; text-decoration: none; font-size: 18px;
  letter-spacing: -0.02em;
}
.brand img { width: 32px; height: 32px; border-radius: var(--radius-sm); }
.primary-nav { display: flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 14px; }
.primary-nav > a {
  text-decoration: none; padding: 9px 14px; border: 1px solid transparent;
  border-radius: var(--radius-sm); transition: all 200ms ease;
}
.primary-nav > a:hover { border-color: var(--border); background: var(--surface); color: var(--text); }

/* Locale menu */
.locale-menu { position: relative; margin-inline-start: 8px; }
.locale-menu summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  color: var(--text); font-weight: 600; font-size: 14px;
  padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); transition: all 200ms ease;
}
.locale-menu summary:hover { border-color: var(--border-strong); background: var(--surface-hover); }
.locale-menu summary::-webkit-details-marker { display: none; }
.locale-menu summary::after { content: ""; width: 0; height: 0; border-inline-start: 4px solid transparent; border-inline-end: 4px solid transparent; border-block-start: 5px solid var(--text-secondary); transition: transform 200ms ease; }
.locale-menu[open] summary::after { transform: rotate(180deg); }
.locale-menu-list {
  position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; z-index: 30;
  width: min(240px, calc(100vw - 32px)); display: grid; grid-template-columns: 1fr; gap: 2px;
  padding: 8px; border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); box-shadow: var(--shadow);
}
.locale-menu-list a {
  padding: 10px 12px; color: var(--text-secondary); font-size: 13px;
  text-decoration: none; border-radius: var(--radius-sm); transition: all 150ms ease;
}
.locale-menu-list a:hover { background: var(--surface-hover); color: var(--text); }

/* ═══ Hero ═══ */
.hero-product { padding-block: 80px 60px; background: var(--bg); position: relative; overflow: hidden; }

.hero-cockpit {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: 100px 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13,148,136,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 80% 20%, rgba(20,184,166,0.06) 0%, transparent 50%),
              var(--bg);
}
/* Grid pattern overlay */
.hero-cockpit::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}
/* Floating glow orb */
.hero-cockpit::after {
  content: ""; position: absolute; inset: 10% 5% auto auto;
  width: 300px; height: 300px; z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,0.1) 0%, transparent 70%);
  animation: float-orb 8s ease-in-out infinite;
  filter: blur(40px);
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-20px, 15px) scale(1.05); }
  66% { transform: translate(10px, -10px) scale(0.95); }
}

.hero-cockpit .hero-grid { position: relative; z-index: 1; }
.hero-cockpit .hero-copy { max-width: 720px; }
.hero-cockpit .eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin-block-end: 24px; padding: 8px 16px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(10px);
  font-size: 13px; color: var(--text-secondary); letter-spacing: 0.02em;
}
.hero-cockpit .eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 12px var(--teal-glow), 0 0 4px var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 12px var(--teal-glow), 0 0 4px var(--teal); }
  50% { box-shadow: 0 0 20px var(--teal-glow), 0 0 8px var(--teal); }
}
.hero-cockpit h1 {
  max-width: 720px; font-size: clamp(40px, 5.5vw, 68px);
  background: var(--gradient-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-cockpit .subtitle { max-width: 640px; color: var(--text-secondary); font-size: 20px; }
.hero-cockpit .button.primary {
  background: var(--gradient-primary); border: none;
  box-shadow: 0 4px 20px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.hero-cockpit .button.primary:hover {
  box-shadow: 0 8px 30px rgba(13,148,136,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Hero rail */
.hero-rail {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: 48px; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--glass); backdrop-filter: blur(12px);
}
.hero-rail-item {
  min-height: 130px; display: flex; flex-direction: column; justify-content: space-between;
  gap: 12px; padding: 20px; position: relative;
  border-inline-end: 1px solid var(--border); transition: background 200ms ease;
}
.hero-rail-item:last-child { border-inline-end: 0; }
.hero-rail-item:hover { background: var(--surface-hover); }
.hero-rail-item > span {
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-rail-item strong { font-size: 15px; line-height: 1.3; color: var(--text); }
.hero-rail-item small { color: var(--text-muted); font-size: 12px; line-height: 1.35; }

/* Hero grid & stage */
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.7fr);
  align-items: center; gap: 80px;
}
.eyebrow {
  margin-block-end: 16px; color: var(--accent-light);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.subtitle { max-width: 700px; margin-block-end: 0; font-size: 20px; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-block-start: 36px; }

/* Product stage */
.product-stage {
  width: min(100%, 318px); justify-self: end; aspect-ratio: 390 / 680;
  overflow: hidden; border: 1px solid var(--border-strong); border-radius: 32px;
  background: var(--bg-elevated);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
}
.hero-stage {
  position: relative; isolation: isolate; overflow: visible;
  padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--glass); backdrop-filter: blur(16px);
}
.hero-stage::before {
  content: ""; position: absolute; inset: 12% -12% -8% 16%; z-index: -1;
  border: 1px solid rgba(13,148,136,0.15); border-radius: 32px; transform: rotate(3deg);
}
.hero-stage::after {
  content: ""; position: absolute; inset: -40%; z-index: -2;
  background: radial-gradient(circle at center, rgba(13,148,136,0.06) 0%, transparent 60%);
  filter: blur(60px);
}
.hero-stage-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px; margin-block-start: 16px;
}
.hero-stage-meta span {
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--glass); color: var(--text-muted); font-size: 11px;
  line-height: 1.25; text-align: center;
}

/* Screen carousel */
.screen-carousel { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--bg-elevated); border-radius: 28px; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.025); animation: carousel-fade 15s ease-in-out infinite both; }
.carousel-slide-1 { animation-delay: 0s; }
.carousel-slide-2 { animation-delay: -10s; }
.carousel-slide-3 { animation-delay: -5s; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@keyframes carousel-fade { 0%, 27% { opacity: 1; transform: scale(1); } 34%, 93% { opacity: 0; transform: scale(1.012); } 100% { opacity: 1; transform: scale(1); } }
.carousel-status {
  position: absolute; inset-block-end: 12px; inset-inline-start: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 999px;
  background: rgba(6,6,11,0.75); backdrop-filter: blur(10px);
  color: var(--text); font-size: 11px; line-height: 1;
}
.carousel-status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 8px var(--teal-glow);
}

/* ═══ Hero proof strip ═══ */
.hero-proof {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0; margin-block-start: 48px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--glass); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}
.hero-proof span {
  min-height: 70px; display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; border-inline-end: 1px solid var(--border);
  color: var(--text-secondary); font-size: 13px;
}
.hero-proof span::before {
  content: ""; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%;
  background: var(--accent-light); box-shadow: 0 0 8px var(--accent-glow);
}
.hero-proof span:last-child { border-inline-end: 0; }

.trust-strip { border-block: 1px solid var(--border); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid span { padding: 18px 24px; border-inline-end: 1px solid var(--border); color: var(--text-secondary); font-size: 14px; text-align: center; }
.trust-grid span:last-child { border-inline-end: 0; }

/* ═══ Sections ═══ */
.section { padding-block: 100px; position: relative; }
.section:nth-of-type(even) { background: var(--bg-elevated); }
.section-grid, .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr); gap: 72px; align-items: center; }
.section-grid p, .split p, .data-boundary p { max-width: 690px; }
.section-index {
  margin-block-end: 14px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-heading { max-width: 760px; margin-block-end: 40px; }
.section-heading h2 { margin-block-end: 0; }

/* ═══ Buttons ═══ */
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  padding: 12px 24px; border: 1px solid var(--border-strong); border-radius: var(--radius);
  font-weight: 600; font-size: 15px; line-height: 1.25; text-decoration: none;
  transition: all 200ms ease; cursor: pointer;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.button.primary {
  border: none; background: var(--gradient-primary); color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.button.primary:hover { box-shadow: 0 8px 28px rgba(13,148,136,0.3); }
.button.secondary {
  background: var(--surface); border-color: var(--border); color: var(--text);
}
.button.secondary:hover { border-color: var(--accent); color: var(--accent-light); background: rgba(13,148,136,0.06); }
.text-link {
  color: var(--accent-light); font-weight: 600;
  text-decoration: none; text-underline-offset: 4px;
  transition: color 200ms ease;
}
.text-link:hover { color: var(--text); }

/* ═══ Workflow cards (Bento Grid) ═══ */
.workflow { background: var(--bg) !important; }
.workflow-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.workflow-card {
  min-height: 200px; display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--glass); backdrop-filter: blur(8px);
  transition: all 300ms ease; position: relative; overflow: hidden;
}
.workflow-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(13,148,136,0.06) 0%, transparent 60%);
  opacity: 0; transition: opacity 300ms ease;
}
.workflow-card:hover {
  transform: translateY(-6px); border-color: rgba(13,148,136,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08), 0 0 0 1px rgba(13,148,136,0.1);
}
.workflow-card:hover::before { opacity: 1; }
.workflow-card span {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border-radius: 50%; background: var(--gradient-accent);
  color: #fff; font-size: 13px; font-weight: 800;
  box-shadow: 0 4px 12px var(--accent-glow);
}
.workflow-card strong { font-size: 18px; color: var(--text); position: relative; z-index: 1; }

/* ═══ Comparison section ═══ */
.comparison .split { align-items: stretch; }
.comparison .split > div:first-child { align-self: center; }
.metric-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px; padding: 2px; border-radius: var(--radius-lg);
  background: var(--border); box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.metric-list span {
  min-height: 130px; display: flex; align-items: flex-end;
  padding: 24px; background: var(--bg-elevated);
  font-weight: 700; font-size: 16px; color: var(--text);
  transition: background 200ms ease;
}
.metric-list span:hover { background: rgba(255,255,255,0.04); }
.metric-list span:nth-child(1) { color: var(--accent-light); }
.metric-list span:nth-child(2) { color: var(--teal); }
.metric-list span:nth-child(3) { color: var(--amber); }
.metric-list span:nth-child(4) { color: #f472b6; }

/* ═══ Fact / callout ═══ */
.fact {
  padding: 28px; border: 1px solid var(--border);
  border-inline-start: 4px solid var(--accent); border-radius: var(--radius);
  background: var(--glass); backdrop-filter: blur(8px);
}
.fact p { margin-block-end: 0; }

/* ═══ Data boundary ═══ */
.data-boundary {
  border-block: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(13,148,136,0.03) 0%, var(--bg-elevated) 100%) !important;
}
.data-boundary p { color: var(--text-secondary); }
.data-boundary .section-index { color: var(--accent-light); }
.notice {
  padding: 18px 20px; border-inline-start: 3px solid var(--amber);
  background: rgba(245,158,11,0.06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
}

/* ═══ Responsible use ═══ */
.responsible-use {
  border-inline-start: 3px solid var(--amber); background: var(--surface);
  padding: 28px; border-radius: 0 var(--radius) var(--radius) 0;
}
.responsible-use h2 { margin: 0 0 14px; font-size: 20px; }
.responsible-use p { margin: 0 0 14px; }
.responsible-use p:last-child { margin-block-end: 0; }
.responsible-use a { color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ═══ GitHub section ═══ */
.github-section .button { justify-self: start; min-width: 170px; }

/* ═══ Use cases ═══ */
.use-case-index { border-block: 1px solid var(--border); }
.use-case-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.use-case-cards a {
  min-height: 200px; display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--glass); color: var(--text); text-decoration: none;
  transition: all 300ms ease; position: relative; overflow: hidden;
}
.use-case-cards a::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(13,148,136,0.05) 0%, transparent 60%);
  opacity: 0; transition: opacity 300ms ease;
}
.use-case-cards a:hover {
  transform: translateY(-4px); border-color: rgba(13,148,136,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.use-case-cards a:hover::before { opacity: 1; }
.use-case-cards a:first-child, .use-case-cards a:last-child { grid-column: span 2; min-height: 160px; }
.use-case-cards a:first-child {
  background: linear-gradient(135deg, rgba(13,148,136,0.06) 0%, rgba(20,184,166,0.03) 100%);
  border-color: rgba(13,148,136,0.2);
}
.use-case-cards strong { font-size: 18px; line-height: 1.3; position: relative; z-index: 1; }
.use-case-cards span { color: var(--text-secondary); font-size: 14px; line-height: 1.55; position: relative; z-index: 1; }
.use-case-hero { background: var(--bg-elevated); }
.use-case-evidence figure {
  width: min(100%, 336px); justify-self: end; aspect-ratio: 390 / 844; margin: 0;
  overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-elevated); box-shadow: var(--shadow);
}

/* ═══ FAQ ═══ */
.product-search-faq { border-block: 1px solid var(--border); }

/* ═══ Final CTA ═══ */
.final-cta {
  text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, rgba(13,148,136,0.04) 100%) !important;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(13,148,136,0.06) 0%, transparent 60%);
}
.final-cta > .shell { position: relative; z-index: 1; }
.final-cta h2 { color: var(--text); font-size: clamp(32px, 4vw, 48px); }
.final-cta > .shell > p { max-width: 720px; margin-inline: auto; color: var(--text-secondary); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-block-start: 36px; }
.cta-actions .button { min-width: 200px; }
.final-cta .button.primary { background: var(--gradient-primary); border: none; }
.final-cta .button.primary:hover { box-shadow: 0 8px 30px rgba(13,148,136,0.3); }
.final-cta .button.secondary { border-color: var(--border-strong); background: var(--glass); color: var(--text); }
.final-cta .button.secondary:hover { border-color: var(--accent); }

/* Availability */
.availability-note { color: var(--text-muted); }
.availability-note-compact { max-width: 650px; margin-block: 16px 0; font-size: 12px; line-height: 1.5; }
.availability-panel {
  max-width: 760px; margin: 32px auto 0; padding: 24px;
  border: 1px solid var(--border); border-inline-start: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--glass); text-align: start;
}
.availability-panel p { margin: 0; font-size: 13px; line-height: 1.6; }
.availability-panel .availability-kicker {
  margin-block-end: 10px; color: var(--accent-light);
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ═══ Reveal animations ═══ */
.reveal { opacity: 0; transform: translateY(20px); animation: reveal-in 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.reveal-delay-1 { animation-delay: 100ms; }
.reveal-delay-2 { animation-delay: 200ms; }
.reveal-delay-3 { animation-delay: 300ms; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ═══ Breadcrumb & guide ═══ */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 24px; color: var(--text-muted); font-size: 14px; }
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--text-muted); }

.guide-hero {
  padding-block: 72px 56px; border-block-end: 1px solid var(--border);
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(13,148,136,0.05) 0%, transparent 60%), var(--bg-elevated);
}
.guide-hero h1 { font-size: clamp(32px, 4vw, 52px); }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-block: 16px; }
.guide-grid section {
  min-height: 280px; padding: 36px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--glass);
  transition: all 300ms ease;
}
.guide-grid section:hover { border-color: rgba(13,148,136,0.2); background: var(--surface-hover); }
.guide-grid section > span {
  font-size: 13px; font-weight: 800;
  background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.guide-grid h2 { margin-block-start: 36px; font-size: 24px; }
.guide-notices p { margin-block-end: 20px; }

/* ═══ FAQ Section ═══ */
.faq-item {
  padding: 20px 0; border-block-end: 1px solid var(--border);
}
.faq-item:last-child { border-block-end: none; }
.faq-item h3 {
  font-size: 17px; font-weight: 600; margin-block-end: 8px;
  color: var(--text);
}
.faq-item p {
  font-size: 15px; line-height: 1.7; color: var(--text-secondary);
  margin: 0;
}

/* ═══ Cross Links ═══ */
.cross-links {
  display: grid; gap: 12px;
}
.cross-links a {
  display: block; padding: 14px 18px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--accent); font-weight: 500; font-size: 15px;
  text-decoration: none; transition: all 200ms ease;
  background: var(--surface);
}
.cross-links a:hover {
  border-color: var(--accent); background: var(--surface-hover);
  transform: translateX(4px);
}

/* ═══ Footer ═══ */
.site-footer {
  padding-block: 56px; border-block-start: 1px solid var(--border);
  background: var(--bg-elevated);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.footer-grid h2 { font-size: 15px; }
.footer-grid p { max-width: 480px; font-size: 13px; }
.language-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.language-links a, .legal-links a { color: var(--text-secondary); font-size: 13px; text-decoration: none; transition: color 200ms ease; }
.language-links a:hover, .legal-links a:hover { color: var(--accent-light); }
.legal-links {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 20px;
  padding-block-start: 20px; border-block-start: 1px solid var(--border);
}

/* ═══ Simple pages ═══ */
.simple { min-height: 100vh; padding-block: 64px; }
.simple h1 { margin-block-start: 90px; font-size: 42px; }
.simple .language-links { margin-block: 30px; }

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES — Consistent Light Theme
   Privacy Policy & Terms of Service
   ═══════════════════════════════════════════════════════════ */

.legal-page .legal-content { max-width: 820px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-content h1 { font-size: 2.5rem; margin-block-end: 0.5em; }
.legal-content h2 { font-size: 1.6rem; margin-block-start: 2.5rem; margin-block-end: 1rem; padding-block-end: 0.5rem; border-block-end: 1px solid var(--border); }
.legal-content h3 { font-size: 1.25rem; margin-block-start: 2rem; margin-block-end: 0.75rem; }
.legal-content p { margin-block: 0.75em; font-size: 1.05rem; line-height: 1.8; }
.legal-content ul { padding-inline-start: 1.5em; margin-block: 0.75em; }
.legal-content li { margin-block: 0.35em; line-height: 1.7; }
.legal-content blockquote { margin: 1.5em 0; padding: 1em 1.5em; border-inline-start: 4px solid var(--accent); background: var(--bg-elevated); border-radius: 0 8px 8px 0; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.95rem; }
.legal-content th, .legal-content td { padding: 12px 16px; border: 1px solid var(--border); text-align: start; }
.legal-content th { background: var(--bg-elevated); font-weight: 600; }
.legal-content hr { border: 0; border-block-end: 1px solid var(--border); margin: 2em 0; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 920px) {
  h1 { font-size: 44px; }
  .hero-grid { gap: 40px; }
  .section-grid, .split { gap: 44px; }
  .guide-grid section { min-height: 250px; padding: 30px; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 32px, var(--content)); }
  .topbar-inner { min-height: 60px; }
  .primary-nav { gap: 8px; }
  .primary-nav > a:nth-of-type(1) { display: none; }
  .hero-product { padding-block: 40px 28px; }
  .hero-cockpit { padding-block: 50px 40px; }
  .hero-cockpit::before { inset: 58% 0 0; border-block-start: 1px solid rgba(13,148,136,0.08); border-inline-start: 0; }
  .hero-cockpit::after { inset: 20px 10px auto auto; width: 150px; height: 150px; }
  .hero-grid, .section-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .hero-cockpit .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  h1 { font-size: 36px; }
  .hero-cockpit h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .subtitle { font-size: 17px; }
  .product-stage { justify-self: center; width: min(100%, 360px); aspect-ratio: 390 / 250; border-radius: 24px; }
  .hero-stage { padding: 16px; }
  .hero-rail { grid-template-columns: 1fr; margin-block-start: 30px; }
  .hero-rail-item { min-height: 84px; border-inline-end: 0; border-block-end: 1px solid var(--border); }
  .hero-rail-item:last-child { border-block-end: 0; }
  .hero-stage::before { inset: 8% -4% -10% 8%; }
  .hero-stage-meta { grid-template-columns: 1fr; }
  .hero-proof { grid-template-columns: repeat(2, 1fr); }
  .hero-proof span:nth-child(2) { border-inline-end: 0; }
  .hero-proof span:nth-child(-n+2) { border-block-end: 1px solid var(--border); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid span:nth-child(2) { border-inline-end: 0; }
  .trust-grid span:nth-child(-n+2) { border-block-end: 1px solid var(--border); }
  .section { padding-block: 64px; }
  .guide-hero h1 { font-size: 36px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-grid section { min-height: 0; }
  .use-case-cards { grid-template-columns: 1fr; }
  .use-case-cards a:first-child, .use-case-cards a:last-child { grid-column: auto; min-height: 170px; }
  .use-case-evidence figure { justify-self: center; }
  .workflow-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 24px; }
  .legal-links { grid-column: auto; }
}

@media (max-width: 390px) {
  .shell { width: min(100% - 24px, var(--content)); }
  h1 { font-size: 30px; }
  .hero-cockpit h1 { font-size: 30px; }
  .primary-nav { font-size: 13px; }
  .actions { align-items: stretch; flex-direction: column; gap: 12px; margin-block-start: 22px; }
  .button { width: 100%; }
  .cta-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .cta-actions .button { width: 100%; }
  .availability-panel { padding: 16px; }
  .trust-grid span { padding: 14px 8px; font-size: 12px; }
  .metric-list { grid-template-columns: 1fr; }
  .guide-grid section { padding: 24px; }
  .use-case-cards a { min-height: 0; gap: 14px; }
  .legal-content { padding: 32px 16px 60px; }
  .legal-content h1 { font-size: 1.8rem; }
}

@media (max-width: 340px) {
  .hero-product { padding-block: 20px 12px; }
  .hero-cockpit .hero-grid { gap: 12px; }
  h1 { font-size: 28px; }
  .hero-cockpit h1 { font-size: 28px; }
  .subtitle { font-size: 16px; line-height: 1.5; }
  .eyebrow { margin-block-end: 8px; font-size: 12px; }
  .actions { margin-block-start: 14px; }
  .button { min-height: 42px; }
  .product-stage { aspect-ratio: 390 / 90; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-slide { display: none; animation: none; }
  .carousel-slide:first-child { display: block; opacity: 1; transform: none; }
  .reveal, .reveal-delay-1, .reveal-delay-2, .reveal-delay-3 { animation: none; opacity: 1; transform: none; }
  .button, .workflow-card, .use-case-cards a, .guide-grid section { transition: none; }
  .hero-cockpit::after { animation: none; }
  .hero-cockpit .eyebrow::before { animation: none; }
}
