/* === Theme tokens (terminal palette) === */
  #ai_index {
    --ct-bg: #050810;
    --ct-bg-soft: #0b0f1a;
    --ct-bg-elev: #0f1422;
    --ct-border: rgba(255,255,255,0.08);
    --ct-border-hover: rgba(255,255,255,0.16);
    --ct-accent: #2dd4bf;
    --ct-accent-soft: #5eead4;
    --ct-success: #4ade80;
    --ct-text-dim: #9ca3af;
    --ct-text-faint: #6b7280;
  }

  /* === HERO === */
  .hero-section {
    isolation: isolate;
    background-color: var(--ct-bg);
  }
  .hero-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
  }
  .hero-glow {
    position: absolute; border-radius: 50%; pointer-events: none;
    filter: blur(80px); opacity: 0.5;
  }
  .hero-glow-1 {
    width: 500px; height: 500px;
    top: -150px; left: -100px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.6), transparent 70%);
    animation: drift 22s ease-in-out infinite;
  }
  .hero-glow-2 {
    width: 400px; height: 400px;
    bottom: -100px; right: -80px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.45), transparent 70%);
    animation: drift 28s ease-in-out infinite reverse;
  }
  @keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -30px); }
  }

  /* Hero badge + text */
  .hero-badge {
    background: rgba(45, 212, 191, 0.08);
    border: 1px solid rgba(45, 212, 191, 0.25);
    color: var(--ct-accent-soft);
  }
  .hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--ct-accent);
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.8);
    animation: pulse-soft 2s ease-in-out infinite;
  }
  @keyframes pulse-soft {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
  }
  .hero-title { color: #fff; line-height: 1.05; }
  .hero-title-accent {
    background: linear-gradient(135deg, var(--ct-accent) 0%, var(--ct-accent-soft) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ct-accent);
  }
  .hero-subtitle { color: var(--ct-text-dim); }
  .hero-brand { color: #fff; font-weight: 600; }
  .hero-meta { color: var(--ct-text-faint); }
  .hero-btn-ghost {
    border: 1px solid var(--ct-border);
    color: #fff;
  }
  .hero-btn-ghost:hover {
    background: rgba(255,255,255,0.04);
    border-color: var(--ct-border-hover);
    transform: translateY(-1px);
  }

  /* Hero fade-in */
  .hero-fade {
    opacity: 0; transform: translateY(20px);
    animation: hero-enter 0.7s ease-out forwards;
  }
  .hero-fade-1 { animation-delay: 0.05s; }
  .hero-fade-2 { animation-delay: 0.18s; }
  .hero-fade-3 { animation-delay: 0.32s; }
  .hero-fade-4 { animation-delay: 0.46s; }
  .hero-fade-5 { animation-delay: 0.6s; }
  @keyframes hero-enter {
    to { opacity: 1; transform: translateY(0); }
  }

  /* Hero buttons */
  .hero-btn-primary {
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
    transition: all 0.2s ease;
  }
  .hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.45);
  }
  .hero-btn-ghost {
    transition: all 0.2s ease;
  }
  .hero-btn-ghost:hover {
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-1px);
  }

  /* Terminal mock — light theme */
  .terminal-frame {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,0,0,0.02);
  }
  .terminal-titlebar {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
  }
  .terminal-title-text { color: #6b7280; }

  /* Rotating provider name in the title bar */
  .provider-cycle {
    position: relative;
    display: inline-block;
    vertical-align: baseline;
    min-width: 9.5em;
    height: 1em;
    line-height: 1;
    text-align: right;
  }
  .provider-cycle-item {
    position: absolute;
    right: 0;
    top: 0;
    white-space: nowrap;
    opacity: 0;
    animation: provider-cycle 16s infinite;
  }
  /* small variant for the status bar — left-flush so it sits right after the colon */
  .provider-cycle-sm {
    min-width: 8em;
    text-align: left;
  }
  .provider-cycle-sm .provider-cycle-item {
    right: auto;
    left: 0;
  }
  .provider-cycle-item:nth-child(1) { animation-delay: 0s; }
  .provider-cycle-item:nth-child(2) { animation-delay: 2s; }
  .provider-cycle-item:nth-child(3) { animation-delay: 4s; }
  .provider-cycle-item:nth-child(4) { animation-delay: 6s; }
  .provider-cycle-item:nth-child(5) { animation-delay: 8s; }
  .provider-cycle-item:nth-child(6) { animation-delay: 10s; }
  .provider-cycle-item:nth-child(7) { animation-delay: 12s; }
  .provider-cycle-item:nth-child(8) { animation-delay: 14s; }
  @keyframes provider-cycle {
    0%        { opacity: 0; transform: translateY(4px); }
    1.5%, 11% { opacity: 1; transform: translateY(0); }
    12.5%, 100% { opacity: 0; transform: translateY(-4px); }
  }
  @media (prefers-reduced-motion: reduce) {
    .provider-cycle-item { animation: none; }
    .provider-cycle-item:nth-child(1) { opacity: 1; }
  }
  .terminal-body { background: var(--ct-bg); color: #d1d5db; }
  .terminal-body p { margin: 0; }
  .dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
  .dot-red { background: #ef4444; opacity: 0.85; }
  .dot-yellow { background: #f59e0b; opacity: 0.85; }
  .dot-green { background: #10b981; opacity: 0.85; }
  .line { color: #d1d5db; }
  .line-dim { color: var(--ct-text-faint); }
  .t-accent { color: var(--ct-accent); }
  .t-success { color: var(--ct-success); }
  .typing-dots {
    display: inline-block;
    animation: dots 1.4s steps(4, end) infinite;
  }
  @keyframes dots {
    0%, 20% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
  }
  .cursor {
    display: inline-block;
    width: 8px; height: 16px;
    background: var(--ct-accent);
    animation: blink 1s steps(2) infinite;
    vertical-align: middle;
  }
  @keyframes blink {
    50% { opacity: 0; }
  }

  /* === Chat + Preview split === */
  .chat-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    background: #ffffff;
    min-height: 420px;
  }
  .chat-preview-divider { display: none; }
  @media (min-width: 768px) {
    .chat-preview-grid {
      grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1.05fr);
    }
    .chat-preview-divider {
      display: block;
      background: #e5e7eb;
    }
  }

  /* Pane tab bar */
  .pane-tabbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
  }
  .pane-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 4px;
  }
  .pane-tab-active {
    color: #1f2937;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  }
  .pane-tab-dot {
    width: 6px; height: 6px; border-radius: 50%;
    display: inline-block;
  }
  .pane-tab-dot-chat { background: var(--ct-accent); box-shadow: 0 0 6px rgba(45,212,191,0.5); }
  .pane-tab-dot-preview { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.5); }
  .pane-tab-meta { color: #9ca3af; font-weight: 500; }

  /* Chat pane — modern chat UI */
  .chat-pane {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    min-height: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #1f2937;
  }
  .chat-scroll {
    flex: 1;
    padding: 16px 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
  }
  .chat-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: chat-msg-in 0.6s ease-out both;
  }
  .chat-row-user { align-items: flex-end; }
  .chat-row-ai { align-items: flex-start; }
  .chat-row-user:first-of-type { animation-delay: 0.6s; }
  .chat-row-ai:nth-of-type(2) { animation-delay: 1.1s; }
  .chat-row-user:nth-of-type(3) { animation-delay: 1.8s; }
  .chat-row-ai:nth-of-type(4) { animation-delay: 2.3s; }
  @keyframes chat-msg-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* User message — teal pill, right-aligned */
  .chat-msg-user {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #ffffff;
    padding: 9px 14px;
    border-radius: 16px 16px 4px 16px;
    font-weight: 500;
    max-width: 82%;
    line-height: 1.45;
    box-shadow: 0 6px 16px -4px rgba(13, 148, 136, 0.35);
  }

  /* AI message — soft light card, left-aligned */
  .chat-msg-ai {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    padding: 10px 14px;
    border-radius: 4px 16px 16px 16px;
    max-width: 92%;
    line-height: 1.5;
  }

  /* Action card — file/operation chip under AI message */
  .chat-action-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px 7px 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    max-width: 92%;
    font-size: 12px;
  }
  .chat-action-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .chat-action-icon svg { width: 13px; height: 13px; }
  .chat-action-icon-write {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
  }
  .chat-action-icon-media {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
  }
  .chat-action-label {
    color: #1f2937;
    flex: 1;
    min-width: 0;
  }
  .chat-action-path {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 50%;
  }
  .chat-link {
    font-size: 11.5px;
    color: #0d9488;
    margin-left: 2px;
    text-decoration: none;
    transition: opacity 0.15s ease;
  }
  .chat-link:hover { opacity: 0.85; text-decoration: underline; }

  /* Recap strip */
  .chat-recap {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 16px;
    background: rgba(13, 148, 136, 0.06);
    border-top: 1px solid #e5e7eb;
    font-size: 11.5px;
    line-height: 1.5;
  }
  .chat-recap-label {
    font-size: 9px;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: #0d9488;
    text-transform: uppercase;
  }
  .chat-recap-text { color: #4b5563; }

  /* Modern chat input — pill + send button */
  .chat-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px 14px;
    background: #fafafa;
    border-top: 1px solid #e5e7eb;
  }
  .chat-input-pill {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 12px;
    color: #6b7280;
    min-width: 0;
  }
  .chat-input-icon { width: 14px; height: 14px; flex-shrink: 0; color: #9ca3af; }
  .chat-input-placeholder {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .chat-input-send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0d9488;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    flex-shrink: 0;
  }
  .chat-input-send svg { width: 14px; height: 14px; }
  .chat-input-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -4px rgba(13, 148, 136, 0.4);
  }

  /* Preview pane */
  .preview-pane {
    display: flex;
    flex-direction: column;
    background: #fafafa;
    min-height: 0;
  }
  .pane-tabbar-preview { justify-content: space-between; }
  .pane-url {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10.5px;
    text-transform: none;
    letter-spacing: 0;
    color: #4b5563;
    background: #ffffff;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
  }
  .pane-url-lock { color: #16a34a; font-size: 8px; }
  .preview-stage {
    flex: 1;
    padding: 18px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background:
      radial-gradient(ellipse at top, rgba(13,148,136,0.05), transparent 60%),
      #fafafa;
  }

  /* Site mock — luxury skincare aesthetic */
  .site-mock {
    width: 100%;
    background: #faf7f2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    animation: preview-fade-in 0.8s ease-out 1.3s both;
  }
  @keyframes preview-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #e8e3d8;
  }
  .site-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    letter-spacing: 0.32em;
    color: #1f1a14;
    font-weight: 600;
  }
  .site-nav-links { display: flex; gap: 8px; }
  .site-nav-links span {
    width: 22px; height: 4px; border-radius: 2px;
    background: #d6cdb9;
  }
  .site-hero {
    position: relative;
    aspect-ratio: 16 / 8;
    background: linear-gradient(135deg, #1f1a14 0%, #3a2f22 100%);
    overflow: hidden;
  }
  .site-hero-video {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 30% 40%, rgba(212, 175, 110, 0.35), transparent 55%),
      radial-gradient(ellipse at 80% 70%, rgba(196, 138, 76, 0.3), transparent 60%),
      linear-gradient(135deg, #2a2218 0%, #4a3a26 100%);
  }
  .site-hero-video::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
  }
  .site-hero-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(212, 175, 110, 0.95);
    color: #1f1a14;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    animation: play-pulse 2.4s ease-in-out infinite;
  }
  @keyframes play-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.08); }
  }
  .site-hero-content {
    position: absolute;
    left: 16px; bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 60%;
  }
  .site-eyebrow {
    width: 50px; height: 5px; border-radius: 3px;
    background: rgba(212, 175, 110, 0.85);
  }
  .site-title-line {
    height: 9px; border-radius: 3px;
    background: rgba(255, 255, 255, 0.85);
  }
  .site-title-line.w-2\/3 { width: 66%; }
  .site-cta {
    margin-top: 4px;
    width: 70px; height: 16px; border-radius: 3px;
    background: linear-gradient(135deg, #d4af6e 0%, #b8924f 100%);
  }
  .site-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px;
  }
  .site-card {
    aspect-ratio: 3 / 4;
    border-radius: 4px;
    background: linear-gradient(180deg, #ede5d2 0%, #d9cdb0 100%);
    position: relative;
  }
  .site-card::after {
    content: "";
    position: absolute;
    left: 8px; right: 8px; bottom: 8px;
    height: 3px;
    background: #b8924f;
    border-radius: 2px;
    opacity: 0.7;
  }

  /* tmux-style status bar — light */
  .terminal-statusbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.1), rgba(13, 148, 136, 0.04) 60%, #fafafa);
    border-top: 1px solid #e5e7eb;
    font-size: 11px;
    color: #4b5563;
  }
  .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #16a34a;
    font-weight: 600;
    letter-spacing: 0.04em;
  }
  .status-pulse {
    width: 7px; height: 7px; border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 8px rgba(22, 163, 74, 0.55);
    animation: pulse-soft 1.6s ease-in-out infinite;
  }
  .status-sep { color: #9ca3af; opacity: 0.55; }
  .status-kv { display: inline-flex; gap: 2px; }
  .status-k { color: #9ca3af; }
  .status-v { color: #1f2937; }
  .status-time { color: #9ca3af; }

  /* === Early Access section === */
  .early-access-section {
    background: linear-gradient(180deg, #0b0f1a 0%, #050810 100%);
    position: relative;
    overflow: hidden;
  }
  .early-access-section h1,
  .early-access-section h2,
  .early-access-section h3,
  .early-access-section h4 { color: #ffffff !important; }

  /* Hero headings — defend against global h1/h2 dark color rules in index.css */
  .hero-section h1,
  .hero-section h2,
  .hero-section h3 { color: #ffffff !important; }
  .hero-section .hero-title-accent { -webkit-text-fill-color: transparent !important; }
  .early-access-section::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(13, 148, 136, 0.25), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
  }
  .early-access-section > * { position: relative; z-index: 1; }
  .early-access-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    transition: all 0.2s ease;
  }
  .early-access-input::placeholder { color: var(--ct-text-faint); }
  .early-access-input:hover { border-color: rgba(255,255,255,0.2); }
  .early-access-input:focus {
    outline: none;
    background: rgba(255,255,255,0.08);
    border-color: var(--ct-accent);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
  }

  /* Provider logo strip */
  .provider-logo {
    height: 40px;
    width: auto;
    opacity: 0.92;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .provider-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
  }
  /* Per-logo height tuning so each one reads at the same visual weight.
     Most marks sit at ~40px; Gemini is a wider wordmark so we drop it a notch
     to keep horizontal weight even with the icon-style marks. */
  .provider-logo[alt="Claude"]          { height: 42px; }
  .provider-logo[alt="ChatGPT"]         { height: 40px; }
  .provider-logo[alt="Gemini"]          { height: 34px; }
  .provider-logo[alt="GitHub Copilot"]  { height: 40px; }
  .provider-logo[alt="Mistral"]         { height: 38px; }
  .provider-logo[alt="Grok"]            { height: 40px; }

  /* Step cards */
  .step-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }
  .step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
    border-color: var(--brand-accent);
  }
  .step-num {
    position: absolute;
    top: 16px; right: 20px;
    font-family: var(--font-heading);
    font-size: 32px; font-weight: 700;
    color: rgba(13, 148, 136, 0.12);
    line-height: 1;
  }

  /* Use case cards */
  .usecase-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .usecase-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  }

  /* Pricing cards */
  .pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }
  .pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  }
  /* Highlighted Pro tier — teal ring + lifted shadow */
  .pricing-card-pro {
    border: 2px solid var(--brand-primary, #0d9488);
    box-shadow: 0 20px 50px -16px rgba(13, 148, 136, 0.35);
  }
  .pricing-card-pro:hover {
    box-shadow: 0 28px 60px -16px rgba(13, 148, 136, 0.45);
  }
  .pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-primary, #0d9488);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
  }

  /* Comparison table (vs DIY terminals) */
  .comparison-table {
    border-collapse: collapse;
  }
  .comparison-cell {
    padding: 14px 20px;
    border-bottom: 1px solid #f3f4f6;
    text-align: center;
    vertical-align: middle;
  }
  .comparison-table tbody tr:last-child .comparison-cell {
    border-bottom: none;
  }
  .comparison-th,
  .comparison-th-ours,
  .comparison-th-blank {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 20px;
  }
  .comparison-th {
    background: #f9fafb;
    color: #6b7280;
  }
  .comparison-th-ours {
    background: var(--brand-light, #f0fdfa);
    color: var(--brand-primary, #0d9488);
  }
  .comparison-row-label {
    text-align: left;
    font-weight: 600;
    color: #111827;
    background: #fafafa;
    width: 28%;
  }
  .comparison-cell-them {
    color: #6b7280;
  }
  .comparison-cell-ours {
    background: rgba(13, 148, 136, 0.04);
    color: #111827;
    font-weight: 500;
  }
  @media (max-width: 640px) {
    .comparison-cell,
    .comparison-th,
    .comparison-th-ours,
    .comparison-th-blank {
      padding: 10px 12px;
      font-size: 12px;
    }
    .comparison-row-label {
      font-size: 13px;
    }
  }

  /* FAQ */
  .faq-item {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .faq-item:hover {
    border-color: var(--brand-accent);
  }
  .faq-item[open] {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.08);
  }
  .faq-item[open] .faq-chevron {
    transform: rotate(45deg);
    color: var(--brand-primary);
  }
  .faq-chevron {
    font-size: 22px; line-height: 1;
    transition: transform 0.25s ease, color 0.25s ease;
  }
  .faq-item summary::-webkit-details-marker { display: none; }

  /* Scroll reveal */
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .animate-on-scroll.is-visible {
    opacity: 1; transform: translateY(0);
  }
  .animate-children > * {
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }
  .animate-children.is-visible > * {
    opacity: 1; transform: translateY(0);
  }
  .animate-children.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
  .animate-children.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
  .animate-children.is-visible > *:nth-child(3) { transition-delay: 0.15s; }
  .animate-children.is-visible > *:nth-child(4) { transition-delay: 0.2s; }
  .animate-children.is-visible > *:nth-child(5) { transition-delay: 0.25s; }
  .animate-children.is-visible > *:nth-child(6) { transition-delay: 0.3s; }

  @media (prefers-reduced-motion: reduce) {
    .hero-fade, .animate-on-scroll, .animate-children > * {
      opacity: 1 !important;
      transform: none !important;
      animation: none !important;
      transition: none !important;
    }
    .hero-glow, .cursor, .typing-dots { animation: none !important; }
  }
