:root {
  color-scheme: dark;
  /* Design System V1 font baseline — product UI + h1 heading + mono */
  --font-ui: -apple-system, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, sans-serif;
  /* Hero/display: prefer PingFang (refined) for CJK, fall back to Heiti; Inter/Helvetica for Latin.
     SimHei is avoided as the primary face — it reads too heavy and stiff at large display sizes. */
  --font-h1: "Inter", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei Light", "Microsoft YaHei", 微软雅黑, "Heiti SC", sans-serif;
  --font-mono: "SF Mono", "Menlo", "Consolas", "Courier New", Courier, monospace;
  --t-40: 40px;
  --t-56: 56px;
  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --w-bold: 700;
  --lh-display: 1.20;
  --lh-heading: 1.35;
  --lh-body: 1.55;
  /* Factory-aligned typography scale — use these instead of one-off px/rem sizes.
     Clamp display sizes preserve industrial impact across viewports. */
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 16px;
  --text-xl: 18px;
  --text-2xl: 20px;
  --text-3xl: 22px;
  --text-4xl: clamp(28px, 3.6vw, 44px);
  --text-5xl: clamp(40px, 6.4vw, 76px);
  --leading-tight: 1.05;
  --leading-snug: 1.18;
  --leading-normal: 1.30;
  --leading-relaxed: 1.55;
  --leading-loose: 1.65;
  --tracking-tight: -0.045em;
  --tracking-normal: -0.01em;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.08em;
  --tracking-mono: 0.08em;
  /* Factory-aligned dark canvas — entire page is a #020202 dark surface,
     sections are transparent and inherit the dark body. */
  --color-background: #020202;
  --color-background-primary: #020202;
  --color-background-secondary: #0a0a0a;
  --color-surface: #060505;
  --color-surface-secondary: #0a0a0a;
  --color-surface-inverse: #060505;
  /* Factory-aligned warm grayscale + single accent system */
  --color-text: #eeeeee;
  --color-text-primary: #eeeeee;
  --color-text-secondary: #b8b3b0;
  --color-text-tertiary: #8a8380;
  --color-text-quaternary: #5c5855;
  --color-text-warm: rgb(164, 157, 154);
  --color-text-warm-deep: rgb(120, 115, 112);
  --color-text-muted: var(--color-text-secondary);
  --color-text-soft: var(--color-text-tertiary);
  --color-text-inverse: #eeeeee;
  --color-border: #3d3a39;
  --color-border-tertiary: rgba(255,255,255,.08);
  --color-border-strong: #5c5855;
  --color-surface-card: #101010;
  --color-accent: #3DF59A;
  --color-accent-strong: #ffffff;
  --color-accent-soft: rgba(61,245,154,.08);
  --color-accent-warm: #ef6f2e;
  --color-accent-warm-soft: rgba(239,111,46,.08);
  --color-accent-warm-glow: rgba(239,111,46,.35);
  --color-success: #3DF59A;
  --color-info: var(--color-text-secondary);
  --color-warning: #fbbf24;
  /* Factory-aligned shadow system — four elevation levels + glow accents.
     Use these instead of one-off rgba(0,0,0,...) box-shadow literals. */
  --shadow-sm: 0 8px 24px rgba(0,0,0,.45);
  --shadow-md: 0 18px 60px rgba(0,0,0,.45);
  --shadow-lg: 0 28px 90px rgba(0,0,0,.5);
  --shadow-xl: 0 34px 120px rgba(0,0,0,.55);
  --shadow-floating: 0 16px 44px rgba(0,0,0,.5);
  --shadow-hover: 0 24px 74px rgba(0,0,0,.55);
  --shadow-xxl: 0 24px 80px rgba(0,0,0,.5);
  --shadow-console: 0 36px 130px rgba(0,0,0,.6);
  --shadow-glow-warm: 0 0 28px rgba(239,111,46,.10);
  --shadow-glow-cool: 0 0 20px rgba(61,245,154,.3);
  --shadow-glow-hover: 0 12px 32px rgba(255,255,255,.18);
  /* Inverse surface tokens for industrial consoles / hero panels */
  --color-text-inverse-muted: rgba(255,255,255,.68);
  --color-border-inverse: rgba(255,255,255,.12);
  --color-border-inverse-strong: rgba(255,255,255,.18);
  --color-surface-panel: #0c0b0a;
  --radius-small: 8px;
  --radius-card: 8px;
  --radius-container: 8px;
  /* Motion system: factory.ai-aligned easing curves. Use these variables everywhere;
     avoid introducing new cubic-bezier literals in component CSS. */
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-dramatic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --stagger-1: 0.05s;
  --stagger-2: 0.12s;
  --stagger-3: 0.22s;
  --stagger-4: 0.35s;
  /* Factory-aligned spacing scale — 8px base, half-step 4px, large steps 16px.
     Prefer these tokens over raw px/rem in margins, padding, and gaps. */
  --space-0-5: 4px;
  --space-1: 8px;
  --space-1-5: 12px;
  --space-2: 16px;
  --space-2-5: 20px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 80px;
  --space-8: 96px;
  --space-9: 128px;
  /* Hero tokens now align with the dark body — kept as aliases so existing
     hero-scoped rules keep working without a sweeping rewrite. */
  --hero-bg: #020202;
  --hero-bg-elev: #101010;
  --hero-text: #eeeeee;
  --hero-text-muted: #b8b3b0;
  --hero-text-soft: #8a8380;
  --hero-border: #3d3a39;
  --hero-border-strong: #5c5855;
  --hero-grid-line: rgba(255,255,255,.06);
  --hero-accent: #3DF59A;
  --hero-max-w: 1920px;
  --hero-h1-weight-en: 400;
  --hero-h1-weight-zh: 400;
  --hero-h1-tracking-en: -0.045em;
  --hero-h1-tracking-zh: -0.02em;
  font-family: var(--font-ui);
  line-height: var(--lh-body);
  background: var(--color-background);
  color: var(--color-text);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; min-height: 100vh; background: var(--color-background); color: var(--color-text); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.locale-zh { --color-accent: #eeeeee; --color-accent-strong: #ffffff; --color-accent-soft: rgba(255,255,255,.06); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.skip-link { position: absolute; left: var(--space-2); top: var(--space-2); z-index: 30; transform: translateY(-180%); padding: 10px 14px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-surface); }
.skip-link:focus { transform: translateY(0); }
main { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 var(--space-6); }
.site-nav { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-2); min-height: 72px; margin: 0 calc(50% - 50vw); padding: 0 max(24px, calc((100vw - 1080px) / 2)); border-bottom: 1px solid var(--color-border); background: rgba(10,10,10,.82); backdrop-filter: blur(16px); transition: background .3s var(--ease-smooth), color .3s var(--ease-smooth), border-color .3s var(--ease-smooth); }
/* Factory-aligned: when a page has a dark hero, the nav starts transparent over the hero
   and turns into the solid white-translucent bar once the user scrolls past the hero.
   CSS :has() detects dark hero presence; JS toggles .is-scrolled on the nav. */
body:has(.industrial-home-hero, .product-factory-hero, .pricing-factory-hero, .checkout-factory-hero, .route-factory-hero, [data-agentnet-auth-factory], .ws-factory-panel, .scenario-factory-hero, .enterprise-factory-hero) .site-nav:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  color: var(--hero-text);
}
body:has(.industrial-home-hero, .product-factory-hero, .pricing-factory-hero, .checkout-factory-hero, .route-factory-hero, [data-agentnet-auth-factory], .ws-factory-panel, .scenario-factory-hero, .enterprise-factory-hero) .site-nav:not(.is-scrolled) .brand,
body:has(.industrial-home-hero, .product-factory-hero, .pricing-factory-hero, .checkout-factory-hero, .route-factory-hero, [data-agentnet-auth-factory], .ws-factory-panel, .scenario-factory-hero, .enterprise-factory-hero) .site-nav:not(.is-scrolled) .nav-links a,
body:has(.industrial-home-hero, .product-factory-hero, .pricing-factory-hero, .checkout-factory-hero, .route-factory-hero, [data-agentnet-auth-factory], .ws-factory-panel, .scenario-factory-hero, .enterprise-factory-hero) .site-nav:not(.is-scrolled) .nav-actions a,
body:has(.industrial-home-hero, .product-factory-hero, .pricing-factory-hero, .checkout-factory-hero, .route-factory-hero, [data-agentnet-auth-factory], .ws-factory-panel, .scenario-factory-hero, .enterprise-factory-hero) .site-nav:not(.is-scrolled) .nav-summary {
  color: var(--hero-text);
}
body:has(.industrial-home-hero, .product-factory-hero, .pricing-factory-hero, .checkout-factory-hero, .route-factory-hero, [data-agentnet-auth-factory], .ws-factory-panel, .scenario-factory-hero, .enterprise-factory-hero) .site-nav:not(.is-scrolled) .nav-actions .start {
  background: var(--hero-text);
  border-color: var(--hero-text);
  color: var(--hero-bg);
}
body:has(.industrial-home-hero, .product-factory-hero, .pricing-factory-hero, .checkout-factory-hero, .route-factory-hero, [data-agentnet-auth-factory], .ws-factory-panel, .scenario-factory-hero, .enterprise-factory-hero) .site-nav:not(.is-scrolled) .nav-actions a:not(.start) {
  border-color: var(--hero-border-strong);
}
/* When the user has scrolled past the dark hero, the nav returns to its solid
   white-translucent bar with dark text. This explicit rule ensures the solid
   state wins over the transparent default above. */
.site-nav.is-scrolled {
  background: rgba(10,10,10,.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--color-border);
  color: var(--color-text);
}
.site-nav.is-scrolled .brand,
.site-nav.is-scrolled .nav-links a,
.site-nav.is-scrolled .nav-actions a,
.site-nav.is-scrolled .nav-summary {
  color: var(--color-text);
}
.site-nav.is-scrolled .nav-actions .start {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-background);
}
.site-nav.is-scrolled .nav-actions a:not(.start) {
  border-color: var(--color-border);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--color-text); }
.brand::before { content: ''; display: block; width: 32px; height: 32px; border-radius: var(--radius-small); background: url('/assets/agentnet-logo.png') center / cover no-repeat; border: 1px solid var(--color-border); }
.nav-links, .nav-actions, .actions, .social-links, .disclosure-links, .scenario-products { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-1); }
.nav-links { justify-content: center; }
.nav-actions { justify-content: flex-end; }
.nav-links a, .nav-actions a, .nav-summary, .button, button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--color-border); border-radius: var(--radius-small); background: transparent; color: var(--color-text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: transform .2s var(--ease-smooth), border-color .2s var(--ease-smooth), background .2s var(--ease-smooth), color .2s var(--ease-smooth), box-shadow .2s var(--ease-smooth); }
.nav-links a, .nav-summary { border-color: transparent; color: var(--color-text-muted); }
.nav-account-chip { background: rgba(61,245,154,0.12) !important; border-color: rgba(61,245,154,0.4) !important; color: #3DF59A !important; font-weight: 600; }
.nav-account-chip::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #3DF59A; }
.nav-links a:hover, .nav-actions a:hover, .nav-summary:hover, .button.secondary:hover { background: var(--color-background-secondary); border-color: var(--color-border-strong); color: var(--color-text); }
.nav-actions .start, .button, button { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-background); font-weight: 500; }
.button.primary, .nav-actions .start, .cta-button, .industrial-primary-cta {
  /* Primary CTA glow disabled — avoid competing with content (P2 density). */
  box-shadow: none;
}
.button.secondary, button.secondary { background: transparent; color: var(--color-text); border-color: var(--color-border-strong); }
.button:hover, button:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
h1, h2, h3, h4 { margin: 0; color: var(--color-text); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-family: var(--font-h1); font-size: var(--text-5xl); line-height: var(--leading-snug); letter-spacing: 0; font-weight: 400; max-width: 920px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h2 { font-size: var(--text-4xl); line-height: var(--lh-heading); font-weight: 400; }
h3 { font-size: var(--text-xl); line-height: var(--leading-normal); }
/* Div-based card/step/console titles — share h3 sizing but use div semantics */
.card-title, .step-title, .console-label, .plan-name { font-size: var(--text-xl); line-height: var(--leading-normal); font-weight: 600; color: var(--color-text); }
.solution-card .card-title { font-size: var(--text-2xl); line-height: 1.25; }
.scenario-card .card-title { font-size: var(--text-md); font-weight: 600; }
.home-definition-pillar h2, .home-definition-pillar h3 { font-size: clamp(21px, 2.2vw, 30px); }
.factory-definition-card h3 { font-size: clamp(20px, 2.2vw, 30px); }
.home-ops-stage .console-label { color: var(--color-text-inverse); font-family: var(--font-mono); font-size: var(--text-sm); line-height: 1.1; letter-spacing: var(--tracking-mono); font-weight: 400; }
.plan-card .plan-name { font-size: var(--text-2xl); font-weight: 600; height: 36px; display: flex; align-items: center; }
/* Factory alignment: H1 uses normal weight + large size + negative tracking to carry presence,
   not bold. English 500 / Chinese 600, tracking -0.045em / -0.02em. */
:lang(en) h1 { letter-spacing: var(--hero-h1-tracking-en); line-height: 1.05; font-weight: var(--hero-h1-weight-en); }
:lang(zh-CN) h1, .locale-zh h1 { letter-spacing: var(--hero-h1-tracking-zh); font-weight: var(--hero-h1-weight-zh); }
.hero h1 { font-feature-settings: 'palt' 1, 'kern' 1; }
/* Three-line poetic stagger (no comma): setup / pivot / payoff. */
.hero-h1-staggered { display: grid; gap: 0.06em; justify-items: center; line-height: 1.08; }
.hero-h1-staggered .hero-line { display: block; }
.hero-h1-staggered .hero-line-1 { font-size: 0.9em; font-weight: 700; letter-spacing: 0.04em; }
.hero-h1-staggered .hero-line-2 { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; font-size: 0.46em; font-weight: 500; color: #3DF59A; letter-spacing: 0.42em; padding: 0.18em 0; }
.hero-h1-staggered .hero-line-2::before, .hero-h1-staggered .hero-line-2::after { content: ''; display: block; width: 2.4em; height: 1px; background: currentColor; opacity: .55; }
.hero-h1-staggered .hero-line-3 { font-size: 1em; font-weight: 700; letter-spacing: 0.02em; }
.locale-zh .hero-h1-staggered .hero-line-1 { font-weight: 600; letter-spacing: 0.08em; }
.locale-zh .hero-h1-staggered .hero-line-2 { font-weight: 400; font-size: 0.38em; letter-spacing: 0.5em; padding-left: 0.5em; }
.locale-zh .hero-h1-staggered .hero-line-3 { font-weight: 600; letter-spacing: 0.04em; }
@media (max-width: 640px) {
  .hero-h1-staggered .hero-line-2 { letter-spacing: 0.28em; gap: 0.4em; }
  .hero-h1-staggered .hero-line-2::before, .hero-h1-staggered .hero-line-2::after { width: 1.4em; }
  .locale-zh .hero-h1-staggered .hero-line-2 { letter-spacing: 0.36em; padding-left: 0.36em; }
}
p { margin: 0; color: var(--color-text-muted); line-height: var(--leading-loose); }
/* Div-based body text (semantic demotion from <p> to reduce paragraph count) */
.section-lead, .brand-lead, .solutions-lead, .customers-lead, .developer-lead,
.pillar-body, .stage-body, .scenario-body, .step-body, .solution-body,
.feature-card-body, .faq-answer, .role-body, .brand-explainer-closing {
  margin: 0; color: var(--color-text-muted); line-height: 1.65;
}
.agent-roles-title, .human-roles-title, .developer-title {
  margin: 0; color: var(--color-text); font-weight: 600; font-size: clamp(16px, 1.6vw, 20px); letter-spacing: -0.01em;
}
.scenario-headline { margin: 0; color: var(--color-text); line-height: 1.4; }
.scenario-headline strong { color: var(--color-text); }
.lead, .hero-lead { color: var(--color-text-muted); font-size: clamp(17px, 1.5vw, 21px); max-width: 700px; }
.hero { display: grid; justify-items: center; text-align: center; gap: var(--space-4); padding: min(12vh, var(--space-9)) 0 var(--space-5); margin-bottom: var(--space-9); position: relative; isolation: isolate; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero > div:first-child, .hero-copy, .section-head, .card, .lead-card, .agent-panel, .final-cta, .product-copy, .offer-card, .scenario-story, .disclosure-card { display: grid; gap: var(--space-2); }
.hero-copy { justify-items: center; max-width: 960px; }
.hero .actions { justify-content: center; margin-top: var(--space-3); }
.cta-note { display: block; margin-top: var(--space-0-5); color: var(--color-text-muted); font-size: var(--text-xs); font-weight: 500; }
.hero-proof { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--space-1-5); margin-top: var(--space-2); color: var(--color-text-muted); font-size: var(--text-base); }
.avatar-stack { display: inline-flex; align-items: center; }
.avatar-stack i { width: 32px; height: 32px; margin-left: -8px; border: 2px solid var(--color-background); border-radius: 999px; background: linear-gradient(135deg, #0a0a0a, #737373); }
.avatar-stack i:first-child { margin-left: 0; }
.hero-visual, .mockup, .product-shot, .card, .lead-card, .product-shot-card, .scenario-story, .plan-card, .disclosure-card, .final-cta, .offer-card, .table-card { border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-card); box-shadow: var(--shadow-md); }
.card, .plan-card, .product-card, .scenario-card, .disclosure-card {
  background-image: radial-gradient(circle at 50% 0%, rgba(61,245,154,0.05) 0%, transparent 70%);
  border: 1px solid var(--color-border);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 18px 60px rgba(0,0,0,.45);
  transition: border-color .3s var(--ease-smooth), box-shadow .3s var(--ease-smooth), background-color .3s var(--ease-smooth), transform .3s var(--ease-smooth);
}
.hero-visual, .mockup, .card, .lead-card, .product-shot-card, .scenario-story, .plan-card, .disclosure-card, .final-cta, .table-card { padding: var(--space-3); }
.hero-visual { position: relative; width: min(1040px, 100%); overflow: hidden; background: var(--color-surface); box-shadow: var(--shadow-lg); animation: hero-visual-in .64s ease both; }
.hero-floating-status { position: absolute; right: var(--space-3); top: var(--space-3); z-index: 2; display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 8px; background: rgba(255,255,255,.04); box-shadow: var(--shadow-floating); text-align: left; }
.hero-floating-status strong { color: var(--color-text); font-size: var(--text-sm); }
.hero-floating-status span { color: var(--color-text-muted); font-size: var(--text-xs); }
.agent-panel { position: relative; z-index: 1; padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-background-secondary); text-align: left; }
.panel-bar, .mockup-top, .article-meta, .footer-meta { display: flex; justify-content: space-between; gap: var(--space-2); color: var(--color-text-muted); font-size: var(--text-sm); }
.section { padding: var(--space-8) 0; }
.band { margin: var(--space-8) 0; padding: var(--space-8) 0; border: 1px solid var(--color-border-tertiary); border-radius: var(--radius-container); background: var(--color-background-secondary); }
/* Band sections: full width of main by default (main already ≈1080 centered).
   Nested 880px max-width was the main cause of left-stacked content under full-width media. */
.band {
  padding-left: var(--space-3);
  padding-right: var(--space-3);
  box-sizing: border-box;
}
.band > * {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
/* Document/legal bands only: keep a readable centered column */
.band.band-document > *,
.band.band-document > .section-head,
.band.band-document > .legal-sections {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.band-lite { margin: var(--space-8) calc(50% - 50vw); padding: var(--space-8) max(var(--space-3), calc((100vw - 1080px) / 2)); background: var(--color-background-secondary); }
/* Section heads span the content shell; do not leave a 760px left stub next to full-width grids */
.section-head { max-width: none; width: 100%; margin-bottom: var(--space-3); box-sizing: border-box; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section-head.centered > * { margin-left: auto; margin-right: auto; }
.grid, .products-grid, .pricing-grid, .plans, .process, .article-grid, .product-shot-grid, .card-grid-list, .feature-strip, .scenario-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-2); }
.relationship-strip { display: grid; grid-template-columns: .7fr 1fr; gap: var(--space-3); align-items: center; margin: var(--space-4) 0; padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-container); background: var(--color-surface); }
.relationship-chat { display: grid; gap: var(--space-1); }
.bubble { padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-background-secondary); }
.bubble.right { justify-self: end; background: var(--color-surface); }
.badge, .eyebrow, .status { display: inline-flex; width: fit-content; align-items: center; padding: 5px 9px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-accent-soft); color: var(--color-text-muted); font-size: var(--text-xs); font-weight: 700; letter-spacing: -0.24px; text-transform: uppercase; }
.section-head .eyebrow { letter-spacing: -0.24px; }
.badge-info, .badge-enterprise, .badge-neutral { background: var(--color-accent-soft); color: var(--color-info); }
.badge-success { background: var(--color-surface-inverse); color: var(--color-text-inverse); border-color: var(--color-surface-inverse); }
.card, .product-shot-card, .scenario-card, .plan-card, .disclosure-card { position: relative; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-card); transition: transform .2s var(--ease-smooth), border-color .2s var(--ease-smooth), box-shadow .2s var(--ease-smooth), background .2s var(--ease-smooth); overflow: hidden; }
.card, .plan-card, .product-card, .scenario-card {
  animation: cardBreath 6s ease-in-out infinite !important;
}
.card:hover, .product-shot-card:hover, .scenario-card:hover, .plan-card:hover, .disclosure-card:hover { transform: translateY(-1px); border-color: var(--color-border-strong); background: #020202; box-shadow: var(--shadow-hover); }
.plan-card { position: relative; align-content: start; padding: var(--space-4); }
.plan-card.recommended-plan { border: 1px solid var(--color-border-strong); background: var(--color-surface); box-shadow: var(--shadow-hover); }
.plan-card.recommended-plan .badge { background: var(--color-surface-inverse); color: var(--color-text-inverse); border-color: var(--color-surface-inverse); }
.plan-card .badge { position: absolute; top: var(--space-3); right: var(--space-3); z-index: 2; }
.price { color: var(--color-text); font-size: var(--text-4xl); font-weight: 800; }
.pricing-section.band-lite { padding-left: max(var(--space-3), calc((100vw - 1280px) / 2)); padding-right: max(var(--space-3), calc((100vw - 1280px) / 2)); }
.pricing-section .plans { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (min-width: 1200px) {
  .pricing-section:not(.pricing-section-compact) .plans { grid-template-columns: repeat(4, 1fr); align-items: start; }
  .pricing-section:not(.pricing-section-compact) .plans .plan-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 6;
    align-content: normal;
  }
  .pricing-section:not(.pricing-section-compact) .plans .plan-card .actions { margin-top: 0; }
  .pricing-section:not(.pricing-section-compact) .plans .plan-card .list { min-height: auto; }
}
.plan-card .price { height: 56px; margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.ui-icon { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; color: var(--color-accent); }
.ui-icon svg { width: 100%; height: 100%; }
.trust-note { max-width: 900px; margin-top: var(--space-3); color: var(--color-text-muted); font-size: var(--text-md); line-height: 1.7; }
.list { margin: 0; padding-left: 20px; color: var(--color-text-soft); line-height: 1.9; }
.plan-card .list { list-style: none; padding-left: 0; border-top: 1px solid var(--color-border); padding-top: var(--space-2); display: grid; gap: 2px; min-height: 270px; }
.plan-card .list li { position: relative; padding-left: 24px; min-height: 40px; display: flex; align-items: center; }
.plan-card .list li::before { content: '✓'; position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-accent); font-weight: 800; }
form { display: grid; gap: var(--space-2); }
label { display: grid; gap: var(--space-0-5); color: var(--color-text); font-size: var(--text-base); font-weight: 500; }
input, textarea, select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-small); background: var(--color-surface); color: var(--color-text); font: inherit; }
textarea { resize: vertical; }
.product-shot { margin: 0; padding: var(--space-2); }
.product-shot img { width: 100%; height: auto; border: 1px solid var(--color-border); border-radius: var(--radius-small); background: var(--color-background-secondary); }
.product-shot figcaption, .muted, .fineprint { color: var(--color-text-muted); font-size: var(--text-sm); }
.product-section, .offer-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(300px, 1fr); gap: var(--space-3); align-items: center; margin-bottom: var(--space-3); padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); }
.product-section > * { min-width: 0; }
.product-section-detail { grid-template-columns: minmax(0, 1fr); align-items: start; overflow: hidden; }
.product-section-detail .product-copy { max-width: 760px; }
.product-section-detail .mockup { width: 100%; max-width: 100%; justify-self: stretch; align-self: start; }
.product-section-detail .actions { flex-wrap: wrap; }
.product-download-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.product-download-actions .button { flex: 0 1 auto; }
.product-section h2 { color: var(--color-text); font-size: var(--text-3xl); font-weight: 700; }
.product-section-headline { color: #3DF59A; font-size: var(--text-md); font-weight: 600; line-height: 1.5; margin: 0; }
.mockup { background: var(--color-background-secondary); }
.mockup-grid { display: grid; gap: var(--space-1); }
.mockup-row { display: flex; justify-content: space-between; gap: var(--space-2); padding: 10px 0; border-bottom: 1px solid var(--color-border); }
@media (min-width: 1180px) {
  .product-section-detail { grid-template-columns: minmax(0, .95fr) minmax(260px, .72fr); }
}
.article-card { position: relative; display: grid; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); }
.article-cover { aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--color-background-secondary); color: var(--color-text-muted); }
.article-body { display: grid; gap: var(--space-1); padding: var(--space-2); }
.site-footer, .footer { margin-top: var(--space-5); padding: var(--space-5) 0 var(--space-4); border-top: 1px solid var(--color-border); background: var(--color-background); }
.footer-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; align-items: start; }
.footer-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; }
.footer-column { display: grid; align-content: start; gap: 12px; min-width: 0; }
.footer-column-head { display: flex; align-items: center; min-height: 24px; }
.footer-column-head strong { color: var(--color-text); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-column-links { display: grid; gap: 8px; }
.footer-column-links a { color: var(--color-text-muted); font-size: 14px; line-height: 1.4; text-decoration: none; transition: color .15s var(--ease-smooth); }
.footer-column-links a:hover { color: var(--color-text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--color-border); flex-wrap: wrap; }
.footer-logo { font-size: 18px; font-weight: 700; color: var(--color-text); text-decoration: none; }
.footer-bottom-meta { display: flex; align-items: center; gap: 12px; color: var(--color-text-muted); font-size: 13px; flex-wrap: wrap; justify-content: flex-end; }
.footer-bottom-meta .social-links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.footer-bottom-meta .social-links a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--color-border); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--color-text-muted); transition: border-color .2s var(--ease-smooth), color .2s var(--ease-smooth), background .2s var(--ease-smooth); }
.footer-bottom-meta .social-links a:hover { border-color: var(--color-border-strong); color: var(--color-text); background: var(--color-background-secondary); }
/* Product Hunt featured badge — same visual height as X pill (32px) */
.footer-bottom-meta .social-links a.ph-badge-link {
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  min-height: 32px;
  height: 32px;
  overflow: hidden;
  background: #fff;
  line-height: 0;
}
.footer-bottom-meta .social-links a.ph-badge-link:hover {
  border-color: var(--color-border-strong);
  background: #fff;
}
.ph-badge-img {
  display: block;
  height: 30px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
}
/* Product Hunt product card — homepage section + AgentOS X product page (not footer) */
.ph-feature-band { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.ph-feature-wrap { display: flex; justify-content: center; margin: 0 auto; max-width: 520px; padding: 0 16px; }
.ph-product-card-slot { margin-top: 20px; max-width: 500px; }
.ph-product-card {
  width: 100%;
  max-width: 500px;
  padding: 16px 18px 18px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.ph-product-card-inner { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ph-product-card-icon { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ph-product-card-copy { flex: 1 1 0%; min-width: 0; }
.ph-product-card-title { margin: 0; font-size: 18px; font-weight: 600; color: #1a1a1a; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-product-card-tagline { margin: 4px 0 0; font-size: 14px; color: #666; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ph-product-card-cta {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 8px 16px;
  background: #ff6154; color: #fff !important; text-decoration: none; border-radius: 8px;
  font-size: 14px; font-weight: 600; border: none;
}
.ph-product-card-cta:hover { filter: brightness(1.05); color: #fff !important; }
.footer-copyright { color: var(--color-text-muted); white-space: nowrap; }
@media (max-width: 900px) {
  .footer-grid, .footer-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
}
@media (max-width: 560px) {
  .footer-inner { width: min(100% - 32px, 1120px); }
  .footer-grid, .footer-grid-4 { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .footer-bottom { align-items: flex-start; }
}
.about-company-hub .about-company-table { margin-top: var(--space-2); }
.about-company-hub .about-company-table th { width: 28%; color: var(--color-text-muted); font-weight: 600; }
.about-company-links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-2); margin-top: var(--space-2); }
.about-company-link-card { display: grid; gap: 4px; padding: var(--space-2); text-decoration: none; color: inherit; }
.about-company-link-card span { color: var(--color-text-muted); font-size: 12px; font-family: var(--font-mono, ui-monospace, monospace); }
/* Cookie bar: fixed bottom, but reserve page padding while open so CTAs stay clickable. */
.cookie-consent {
  position: fixed; z-index: 80;
  left: 50%; bottom: 16px; transform: translateX(-50%);
  width: min(720px, calc(100vw - 24px));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--color-border); border-radius: 14px;
  background: rgba(12, 12, 12, 0.96); color: var(--color-text);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent p { margin: 0; flex: 1 1 200px; font-size: 12.5px; line-height: 1.45; color: var(--color-text-muted); }
.cookie-consent a { color: var(--color-text); font-weight: 600; }
.cookie-consent-accept { min-height: 36px; padding: 0 14px; }
html.cookie-banner-open, body.cookie-banner-open { scroll-padding-bottom: 120px; }
body.cookie-banner-open { padding-bottom: 108px; }
body.cookie-banner-open .industrial-home-hero,
body.cookie-banner-open .product-factory-hero,
body.cookie-banner-open .pricing-factory-hero {
  padding-bottom: calc(clamp(48px, 8vh, 96px) + 24px);
}
@media (max-width: 640px) {
  .cookie-consent { bottom: 10px; width: calc(100vw - 16px); padding: 10px 12px; gap: 10px; }
  .cookie-consent p { font-size: 12px; flex: 1 1 100%; }
  .cookie-consent-actions { width: 100%; justify-content: stretch; }
  .cookie-consent-actions .button { flex: 1 1 auto; }
  body.cookie-banner-open { padding-bottom: 132px; }
}
.status-pill { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.status-pill.status-ok { background: rgba(61,245,154,.14); color: #3DF59A; border: 1px solid rgba(61,245,154,.35); }
.status-pill.status-check { background: rgba(255,200,80,.12); color: #e6b84d; border: 1px solid rgba(255,200,80,.35); }
.status-pill.status-bad { background: rgba(255,90,90,.12); color: #ff7a7a; border: 1px solid rgba(255,90,90,.35); }
.status-url { margin-top: 4px; font-size: 12px; opacity: .75; }
.status-detail { display: inline-block; margin-left: 6px; opacity: .7; font-size: 12px; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cookie-consent-essential { min-height: 36px; }
.social-proof-lead { max-width: 720px; margin: 0 auto; color: var(--color-text-muted); }
.social-proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-3); }
.social-proof-card h3 { margin: 0 0 8px; font-size: 16px; }
.social-proof-quote { max-width: 720px; margin: var(--space-4) auto 0; padding: var(--space-3); border-left: 3px solid #3DF59A; background: rgba(61,245,154,.06); }
.social-proof-quote p { margin: 0 0 8px; font-size: 17px; line-height: 1.5; }
.social-proof-quote footer { color: var(--color-text-muted); font-size: 13px; }
.product-demo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-3); }
.product-demo-card { margin: 0; transition: transform .28s var(--ease-out-expo); }
.product-demo-card:hover { transform: translateY(-3px); }
.product-demo-frame { position: relative; border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; background: var(--color-background-secondary); min-height: 156px; padding: 14px 12px 12px; display: grid; gap: 12px; align-content: space-between; transition: border-color .28s var(--ease-smooth), box-shadow .28s var(--ease-smooth); }
.product-demo-frame.product-live-plane { background: linear-gradient(165deg, #0c0b0a 0%, #121110 100%); color: var(--color-text-inverse, #fff); isolation: isolate; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.product-demo-card:hover .product-demo-frame { border-color: rgba(61,245,154,.35); box-shadow: 0 12px 40px rgba(0,0,0,.35), inset 0 0 0 1px rgba(61,245,154,.08); }
.product-demo-frame img { display: block; width: 100%; height: auto; }
.product-preview-badge { position: absolute; top: 10px; right: 10px; left: auto; z-index: 2; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(0,0,0,.72); color: #3DF59A; border: 1px solid rgba(61,245,154,.4); }
.product-demo-card figcaption { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--color-text-secondary); letter-spacing: .01em; }
.product-demo-note { margin-top: var(--space-3); }
.product-demo-note a { font-weight: 600; color: var(--color-text); text-underline-offset: 3px; }
.scenario-bar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.scenario-bar-card { position: relative; overflow: hidden; transition: transform .28s var(--ease-out-expo), border-color .28s var(--ease-smooth), box-shadow .28s var(--ease-smooth); }
.scenario-bar-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #3DF59A, rgba(61,245,154,.15)); opacity: .85; }
.scenario-bar-card:hover { transform: translateY(-2px); border-color: var(--color-border-strong); box-shadow: var(--shadow-md); }
.scenario-bar-card h3 { margin: 8px 0; font-size: 16px; }
.scenario-bar-card .ws-chip { font-family: var(--font-mono); letter-spacing: .06em; }
.social-proof { position: relative; }
.social-proof-card { transition: transform .28s var(--ease-out-expo), border-color .28s var(--ease-smooth), box-shadow .28s var(--ease-smooth); }
.social-proof-card:hover { transform: translateY(-2px); border-color: rgba(61,245,154,.28); box-shadow: var(--shadow-md); }
.social-proof-quote { border-radius: 0 12px 12px 0; box-shadow: inset 0 0 0 1px rgba(61,245,154,.06); }
.trust-center-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 auto var(--space-3); width: min(1120px, calc(100% - 48px)); padding: 12px 16px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-background-secondary); }
.trust-center-nav strong { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.trust-center-nav a { font-size: 13px; color: var(--color-text-muted); text-decoration: none; }
.trust-center-nav a:hover { color: var(--color-text); }
.code-block { overflow: auto; padding: var(--space-2); border-radius: 12px; border: 1px solid var(--color-border); background: #0a0a0a; color: #e8e8e8; font-family: var(--font-mono, ui-monospace, monospace); font-size: 13px; line-height: 1.5; }
.code-block:focus { outline: 2px solid #3DF59A; outline-offset: 2px; }

/* ---- Industrial developer docs ---- */
.docs-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: var(--space-4) 0 var(--space-6); align-items: start; }
.docs-toc { position: sticky; top: 88px; display: grid; gap: 6px; padding: 16px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-background-secondary); max-height: calc(100vh - 120px); overflow: auto; }
.docs-toc strong { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 4px; }
.docs-toc a { font-size: 13px; color: var(--color-text-muted); text-decoration: none; line-height: 1.35; padding: 4px 0; }
.docs-toc a:hover, .docs-toc a:focus-visible { color: var(--color-text); }
.docs-main { min-width: 0; display: grid; gap: var(--space-4); }
.docs-section { scroll-margin-top: 96px; }
.docs-section > h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin: 0 0 10px; letter-spacing: -0.02em; }
.docs-section > .docs-lead { color: var(--color-text-muted); max-width: 68ch; margin: 0 0 20px; line-height: 1.55; }
.docs-callout { border: 1px solid rgba(61,245,154,.28); background: rgba(61,245,154,.06); border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.5; }
.docs-callout strong { color: var(--color-text); }
.docs-boundary { width: 100%; border-collapse: collapse; font-size: 14px; }
.docs-boundary th, .docs-boundary td { padding: 12px 14px; border: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.docs-boundary th { background: var(--color-background-secondary); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.docs-boundary td:first-child { font-weight: 600; white-space: nowrap; }
.docs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.docs-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--color-border); font-size: 12px; font-weight: 600; color: var(--color-text-muted); font-family: var(--font-mono, ui-monospace, monospace); }
.docs-chip.is-ok { border-color: rgba(61,245,154,.4); color: #1a7a4c; }
.docs-guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.docs-guide-card { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-background); text-decoration: none; color: inherit; transition: border-color .15s var(--ease-smooth), transform .15s var(--ease-smooth); }
.docs-guide-card:hover { border-color: rgba(61,245,154,.35); transform: translateY(-1px); }
.docs-guide-card .docs-method { font-family: var(--font-mono, ui-monospace, monospace); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #1a7a4c; }
.docs-guide-card h3 { margin: 0; font-size: 15px; }
.docs-guide-card p { margin: 0; font-size: 13px; color: var(--color-text-muted); line-height: 1.45; }
.api-endpoint { border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-background); overflow: hidden; scroll-margin-top: 96px; }
.api-endpoint + .api-endpoint { margin-top: 16px; }
.api-endpoint-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; border-bottom: 1px solid var(--color-border); background: var(--color-background-secondary); }
.api-method { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; font-family: var(--font-mono, ui-monospace, monospace); background: #0a0a0a; color: #3DF59A; }
.api-method.is-post { background: #102018; color: #7dffc0; }
.api-path { font-family: var(--font-mono, ui-monospace, monospace); font-size: 14px; font-weight: 600; word-break: break-all; }
.api-auth { margin-left: auto; font-size: 12px; color: var(--color-text-muted); }
.api-endpoint-body { display: grid; gap: 0; }
.api-endpoint-meta { padding: 14px 16px; border-bottom: 1px solid var(--color-border); }
.api-endpoint-meta h3 { margin: 0 0 6px; font-size: 16px; }
.api-endpoint-meta p { margin: 0; color: var(--color-text-muted); font-size: 14px; line-height: 1.5; }
.api-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 0; }
.api-pane { min-width: 0; border-top: 1px solid var(--color-border); }
.api-pane + .api-pane { border-left: 1px solid var(--color-border); }
.api-pane-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); background: rgba(0,0,0,.03); border-bottom: 1px solid var(--color-border); }
.api-pane .code-block { border: 0; border-radius: 0; margin: 0; max-height: 320px; }
.docs-copy { appearance: none; border: 1px solid var(--color-border); background: var(--color-background); color: var(--color-text); border-radius: 8px; min-height: 28px; padding: 0 10px; font-size: 12px; font-weight: 600; cursor: pointer; }
.docs-copy:hover { border-color: var(--color-border-strong, #888); }
.docs-copy.is-copied { border-color: rgba(61,245,154,.5); color: #1a7a4c; }
.access-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .03em; border: 1px solid var(--color-border); white-space: nowrap; }
.access-public { background: rgba(61,245,154,.12); border-color: rgba(61,245,154,.4); color: #1a7a4c; }
.access-paid { background: rgba(255,180,60,.12); border-color: rgba(255,180,60,.4); color: #8a5a00; }
.access-confidential { background: rgba(220,60,60,.08); border-color: rgba(220,60,60,.35); color: #9a2020; }
.api-params { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.api-params th, .api-params td { padding: 8px 10px; border: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.api-params th { background: var(--color-background-secondary); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.api-params code { font-size: 12px; }
.api-errors { margin: 0; padding: 12px 16px 16px 32px; color: var(--color-text-muted); font-size: 13px; line-height: 1.5; }
.api-errors code { font-size: 12px; color: var(--color-text); }
/* Platform docs (Anthropic/OpenAI-style): white page, left nav + article.
 * Critical: global h1–h4 use dark-theme --color-text (light). On white docs that
 * washes out h4 and any heading not re-scoped — force near-black on .docs-platform. */
.docs-platform { background: #ffffff; color: #18181b; min-height: 100vh; }
.docs-platform h1,
.docs-platform h2,
.docs-platform h3,
.docs-platform h4 {
  color: #09090b !important;
  font-weight: 650;
}
.docs-platform p,
.docs-platform li {
  color: #3f3f46;
}
.docs-platform strong {
  color: #18181b;
}
.docs-platform a { color: #0f766e; }
.docs-platform a:hover { color: #0d9488; }
.dp-topbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #e4e4e7; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); }
.dp-topbar-inner { max-width: 1280px; margin: 0 auto; min-height: 52px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dp-logo { font-weight: 650; font-size: 15px; color: #18181b !important; text-decoration: none; letter-spacing: -.01em; }
.dp-logo span { margin-left: 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #71717a; }
.dp-top-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.dp-top-links a { color: #52525b !important; text-decoration: none; }
.dp-top-links a:hover { color: #18181b !important; }
.dp-shell { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.dp-sidebar { position: sticky; top: 68px; padding: 28px 0 48px; max-height: calc(100vh - 68px); overflow: auto; font-size: 13px; line-height: 1.4; border-right: 1px solid #e4e4e7; padding-right: 16px; }
.dp-side-label { margin: 18px 0 8px; font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: #a1a1aa; }
.dp-side-label:first-child { margin-top: 0; }
.dp-sidebar a { display: flex; align-items: baseline; gap: 6px; padding: 5px 0; color: #52525b !important; text-decoration: none; border-radius: 4px; }
.dp-sidebar a:hover { color: #18181b !important; }
.dp-side-method { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 700; color: #0f766e; min-width: 2.6em; }
.dp-content { min-width: 0; padding: 32px 0 80px; }
.dp-article { max-width: 760px; }
.dp-article-head { margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid #e4e4e7; }
.dp-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: #0f766e; }
.dp-article h1 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 36px); font-weight: 650; letter-spacing: -.02em; color: #09090b; line-height: 1.15; }
.dp-lede { margin: 0; font-size: 16px; line-height: 1.65; color: #52525b; max-width: 62ch; }
.dp-lede code, .dp-section code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: #f4f4f5; padding: .1em .35em; border-radius: 4px; color: #27272a; }
.dp-section { margin: 0 0 48px; scroll-margin-top: 80px; }
.dp-section h2 { margin: 0 0 12px; font-size: 22px; font-weight: 650; color: #09090b !important; letter-spacing: -.01em; }
.dp-section h3 { margin: 24px 0 10px; font-size: 17px; font-weight: 650; color: #18181b !important; }
.dp-section h4 { margin: 18px 0 8px; font-size: 15px; font-weight: 650; color: #18181b !important; letter-spacing: -.01em; line-height: 1.35; }
.dp-section p, .dp-section li { font-size: 15px; line-height: 1.65; color: #3f3f46; }
.dp-section p { margin: 0 0 12px; }
.dp-section ul { margin: 0 0 12px; padding-left: 1.2em; }
.dp-steps { margin: 0; padding-left: 1.25em; }
.dp-steps > li { margin: 0 0 20px; }
.dp-steps strong { color: #27272a; }
.dp-note { margin: 10px 0 0; padding: 10px 12px; border-left: 3px solid #0f766e; background: #f0fdfa; color: #3f3f46; font-size: 14px; line-height: 1.55; border-radius: 0 6px 6px 0; }
.mcp-live { margin-top: 16px; }
.mcp-live-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.mcp-live-toolbar input[type="search"] { flex: 1 1 200px; min-height: 36px; border: 1px solid #d4d4d8; border-radius: 8px; padding: 0 12px; font-size: 14px; }
.mcp-live-status { font-size: 13px; color: #71717a; }
.mcp-live-table-wrap { overflow-x: auto; margin-bottom: 20px; }
.mcp-register-form { display: grid; gap: 12px; max-width: 520px; margin-top: 14px; }
.mcp-register-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #3f3f46; }
.mcp-register-form input { min-height: 36px; border: 1px solid #d4d4d8; border-radius: 8px; padding: 0 12px; font-size: 14px; font-weight: 400; }
.mcp-register-form button { justify-self: start; cursor: pointer; }
.mcp-register-form .mcp-check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.mcp-register-form .mcp-check input { width: auto; min-height: auto; }
.dp-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.dp-table th, .dp-table td { text-align: left; padding: 10px 12px; border: 1px solid #e4e4e7; vertical-align: top; }
.dp-table th { background: #fafafa; color: #3f3f46; font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.dp-table td { color: #52525b; }
.dp-link-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid #d4d4d8; background: #fff; color: #18181b !important; text-decoration: none; font-size: 13px; font-weight: 600; }
.dp-link-btn:hover { background: #fafafa; border-color: #a1a1aa; color: #09090b !important; }
.docs-platform .api-endpoint { margin: 20px 0; border: 1px solid #e4e4e7; border-radius: 10px; overflow: hidden; background: #fff; }
.docs-platform .api-endpoint-head { background: #fafafa; }
.docs-platform .api-endpoint-meta h3 { color: #18181b; }
.docs-platform .api-endpoint-meta p, .docs-platform .api-auth { color: #52525b; }
.docs-platform .api-path { color: #18181b; }
.docs-platform .code-block { background: #fafafa; border-color: #e4e4e7; color: #18181b; }
.docs-platform .api-pane-label { background: #f4f4f5; color: #52525b; border-color: #e4e4e7; }
.docs-platform .api-pane { border-color: #e4e4e7; }
.docs-platform .docs-copy { background: #fff; color: #18181b; border-color: #d4d4d8; }
.docs-platform .api-params th { background: #fafafa; }
.docs-platform .api-params th, .docs-platform .api-params td { border-color: #e4e4e7; color: #3f3f46; }
.docs-platform .api-errors { color: #52525b; }
.dp-footer { border-top: 1px solid #e4e4e7; background: #fff; }
.dp-footer-inner { max-width: 1280px; margin: 0 auto; padding: 20px 24px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: #71717a; }
.dp-footer a { color: #52525b !important; }
@media (max-width: 900px) {
  .dp-shell { grid-template-columns: 1fr; gap: 0; }
  .dp-sidebar { position: static; max-height: none; border-right: 0; border-bottom: 1px solid #e4e4e7; padding: 16px 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 12px; }
  .dp-side-label { grid-column: 1 / -1; }
}

.docs-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--color-border); scroll-margin-top: 96px; }
.docs-step:last-child { border-bottom: 0; }
.docs-step-num { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: #0a0a0a; color: #3DF59A; font-family: var(--font-mono, ui-monospace, monospace); }
.docs-step h3 { margin: 0 0 6px; font-size: 17px; }
.docs-step p { margin: 0 0 12px; color: var(--color-text-muted); font-size: 14px; line-height: 1.5; max-width: 70ch; }
.docs-kv { display: grid; gap: 8px; margin: 12px 0; }
.docs-kv div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px; font-size: 13px; }
.docs-kv dt, .docs-kv .k { color: var(--color-text-muted); font-weight: 600; }
.docs-kv dd, .docs-kv .v { margin: 0; font-family: var(--font-mono, ui-monospace, monospace); word-break: break-all; }
@media (max-width: 960px) {
  .docs-layout { grid-template-columns: 1fr; gap: 20px; width: min(100% - 32px, 1200px); }
  .docs-toc { position: static; max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .api-split { grid-template-columns: 1fr; }
  .api-pane + .api-pane { border-left: 0; }
  .docs-kv div { grid-template-columns: 1fr; }
  .docs-boundary td:first-child { white-space: normal; }
}
a:focus-visible, button:focus-visible, .button:focus-visible, summary:focus-visible, .code-block:focus-visible {
  outline: 2px solid #3DF59A;
  outline-offset: 2px;
}
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 14px; background: #0a0a0a; color: #fff; }
@media (max-width: 900px) {
  .social-proof-grid, .product-demo-grid, .scenario-bar-grid { grid-template-columns: 1fr; }
}
.footer-filing { font-size: 12px; }
.footer-filing a { color: var(--color-text-muted); text-decoration: none; }
.footer-filing a:hover { color: var(--color-text); text-decoration: underline; }
.police-filing-icon { width: 15px; height: 15px; display: inline-block; vertical-align: text-bottom; margin-right: 4px; }
.footer-meta { display: none; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.logo-ticker { overflow: hidden; text-align: center; }
.ticker-title { max-width: 820px; margin: 0 auto var(--space-2); color: var(--color-text); font-size: var(--text-4xl); font-weight: 800; line-height: 1.08; }
.ticker-mask { display: grid; gap: var(--space-1); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.ticker-track { display: flex; width: max-content; gap: var(--space-1); animation: ticker-left 125s linear infinite; }
.ticker-track.reverse { animation-name: ticker-right; }
.logo-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { min-width: max-content; padding: 10px 20px; color: var(--color-text-muted); font-size: 15px; font-weight: 700; }
.faq-list { border-top: 1px solid var(--color-border-tertiary); }
.faq-item { border-bottom: 1px solid var(--color-border-tertiary); padding: 0; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: 20px 0; color: var(--color-text); font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--color-accent); font-size: var(--text-3xl); }
.faq-item[open] summary { color: var(--color-text); }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { padding: 0 0 20px; }
.trust-section { position: relative; overflow: hidden; }
.trust-pointer { text-align: center; color: var(--color-text-muted); }
.trust-pointer a { color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; }
.cta-pointer-card { display: grid; justify-items: center; gap: var(--space-2); padding: var(--space-3); }
.final-cta { place-items: center; text-align: center; padding: 96px var(--space-4); background: #fafafa; color: #020202; border-color: rgba(0,0,0,.08); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 18px 60px rgba(0,0,0,.12); background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); }
.final-cta h2, .final-cta p { color: #020202; }
.final-cta .eyebrow { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.12); color: #020202; }
.final-cta .button { background: #020202; border-color: #020202; color: #fafafa; }
.final-cta .button.secondary { background: transparent; border-color: rgba(0,0,0,.24); color: #020202; }
.final-cta .button.secondary:hover { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.42); color: #020202; }
.final-cta .button.secondary:focus-visible { outline: 2px solid #020202; outline-offset: 2px; }
.scenario-card { overflow: hidden; padding-bottom: 0; }
.scenario-emoji { font-size: 32px; line-height: 1; }
.scenario-shot { margin: var(--space-2) calc(var(--space-3) * -1) 0; padding: var(--space-2); border-top: 1px solid var(--color-border); background: var(--color-background-secondary); }
.scenario-shot img { width: 100%; border: 1px solid var(--color-border); border-radius: var(--radius-small); background: var(--color-surface); }
.how-steps { counter-reset: step; }
.step-card { position: relative; }
.step-card::before { counter-increment: step; content: counter(step); display: grid; width: 34px; height: 34px; place-items: center; border-radius: 999px; background: var(--color-surface-inverse); color: var(--color-text-inverse); font-weight: 800; }
.step-card.done::before { content: '✓'; }
.comparison-table td:first-child { font-weight: 800; color: var(--color-text); }
.comparison-table .agentnet-win { color: var(--color-text); font-weight: 800; }
.pricing-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-surface); }
.pricing-tabs span { padding: var(--space-1) 14px; border-radius: 999px; color: var(--color-text-muted); font-size: var(--text-base); font-weight: 700; }
.annual-note { color: var(--color-text-muted); font-size: var(--text-sm); }
.faq-help { margin-top: var(--space-2); text-align: center; color: var(--color-text-muted); }
@keyframes ticker-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ticker-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes hero-visual-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
@keyframes live-pulse { 0%,100% { opacity: 1; } 50% { opacity: .32; } }
@keyframes cardBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.005); }
}
@keyframes buttonGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(61,245,154,0.3); }
  50% { box-shadow: 0 0 30px rgba(61,245,154,0.5); }
}
.live-pulse { display: inline-block; color: #3DF59A; animation: live-pulse 1.6s ease-in-out infinite; }
.home-ops-spark path { stroke-linecap: round; }
.home-ops-spark svg { overflow: visible; }
@media (max-width: 768px) {
  main { width: min(100% - 24px, 1200px); }
  .site-nav, .relationship-strip, .product-section, .offer-card, .footer-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-actions { justify-content: flex-start; }
  .band { padding: var(--space-3); }
  .hero-floating-status { position: static; margin-bottom: var(--space-2); }
}

/* ---- v2 redesign: brand explainer, stats banner, solutions, developer, stories, pricing tabs ---- */
.brand-explainer { display: grid; gap: var(--space-3); padding: var(--space-5) 0; }
.brand-explainer-head { display: grid; gap: var(--space-2); max-width: 760px; }
.brand-explainer-head h2 { font-size: clamp(28px, 3.4vw, 44px); }
.brand-explainer-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.brand-explainer-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); }
.brand-explainer-list li > div { display: grid; gap: 4px; }
.brand-explainer-list .brand-badge { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--radius-small); background: var(--color-surface-inverse); color: var(--color-text-inverse); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.brand-explainer-list strong { color: var(--color-text); font-size: 15px; }
.brand-explainer-list span:not(.brand-badge) { color: var(--color-text-muted); font-size: 14px; line-height: 1.6; }
.brand-explainer-closing { color: var(--color-text); font-weight: 700; font-size: 18px; max-width: 760px; }
.human-roles { display: grid; gap: var(--space-2); margin-top: var(--space-3); padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-inverse); color: var(--color-text-inverse); }
.human-roles-title { margin: 0; color: var(--color-text-inverse); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.human-roles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-2); }
.human-role-card { display: grid; gap: 6px; padding: var(--space-2); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-small); background: rgba(255,255,255,.06); }
.human-role-card strong { color: var(--color-text-inverse); font-size: 16px; font-weight: 700; }
.human-role-card p { color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.55; margin: 0; }
.agent-roles { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.agent-roles-title { margin: 0; color: var(--color-text-muted); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.agent-roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.agent-role-card { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); }
.agent-role-badge { width: 40px; height: 40px; border-radius: var(--radius-small); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; background: var(--color-surface-secondary); border: 1px solid var(--color-border); }
.agent-role-card strong { color: var(--color-text); font-size: 16px; font-weight: 700; }
.agent-role-card p { color: var(--color-text-muted); font-size: 13.5px; line-height: 1.55; margin: 4px 0 0; }
.hero-equation { margin: 0 auto; font-weight: 700; font-size: clamp(15px, 1.5vw, 19px); color: var(--color-text); text-align: center; letter-spacing: .01em; }
.cta-disabled { opacity: .5; cursor: default; pointer-events: none; }

.stats-banner { display: grid; gap: var(--space-2); padding: var(--space-4) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.stats-banner-eyebrow { margin: 0; color: var(--color-text-muted); font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-3); }
.stats-cell { display: grid; gap: 6px; }
.stats-cell strong { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: var(--color-text); }
.stats-cell span { color: var(--color-text-muted); font-size: 14px; }

/* Count-up numbers: start invisible/sunk and rise into view when counting begins.
   Scoped to .count-up class so SVG dashboard tspans are not forced into block layout. */
.count-up {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-dramatic), transform 0.6s var(--ease-dramatic);
  font-variant-numeric: tabular-nums;
}
.count-up.is-counting,
.count-up[data-counting="true"] {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .count-up { opacity: 1; transform: none; transition: none; }
}

/* Enterprise stats — factory.ai-style oversized figures */
.enterprise-stats { padding: var(--space-6) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.enterprise-stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.enterprise-stats-cell { display: grid; gap: var(--space-1); min-width: 0; }
.enterprise-stats-cell strong { font-size: clamp(40px, 6vw, 80px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: var(--color-text); white-space: nowrap; }
.enterprise-stats-cell span { color: var(--color-text-muted); font-size: 15px; line-height: 1.45; }
@media (max-width: 768px) { .enterprise-stats-grid { grid-template-columns: 1fr; } }

.solutions { display: grid; gap: var(--space-3); }
.solution-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 320px); gap: var(--space-2); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-2); scrollbar-width: thin; }
.solution-rail[data-layout="grid"] { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); grid-auto-columns: initial; overflow: visible; }
.solution-card { position: relative; scroll-snap-align: start; display: grid; gap: 10px; padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-card); transition: transform .2s var(--ease-smooth), box-shadow .2s var(--ease-smooth), background .2s var(--ease-smooth); }
.solution-card:hover { transform: translateY(-1px); border-color: var(--color-border-strong); background: #020202; box-shadow: var(--shadow-md); }
.solution-tag { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--color-text-muted); }
.solution-card h3 { font-size: 20px; line-height: 1.25; }
.solution-card p { font-size: 14px; }
.solution-cta { margin-top: auto; color: var(--color-text); font-weight: 600; font-size: 14px; }
.solution-cta:hover { text-decoration: underline; }
.solution-nav { display: flex; gap: 8px; justify-content: flex-end; }
.solution-nav button { width: 40px; height: 40px; padding: 0; font-size: 22px; line-height: 1; }

.developer-block { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: var(--space-4); padding: var(--space-5) 0; }
.developer-copy { display: grid; gap: var(--space-2); align-content: start; }
.developer-code { display: grid; gap: var(--space-2); }
.code-card { border: 1px solid var(--color-border); border-radius: var(--radius-card); background: #0a0a0a; color: #f5f5f5; overflow: hidden; }
.code-card-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #171717; border-bottom: 1px solid #262626; font-size: 12px; color: #a3a3a3; }
.code-card-bar .status { color: #3DF59A; font-weight: 600; }
.code-card pre { margin: 0; padding: 16px; overflow-x: auto; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.55; }
.code-card .dot-row { display: inline-flex; gap: 4px; }
.code-card .dot-row i { width: 8px; height: 8px; border-radius: 50%; background: #404040; display: block; }
.code-lang-tabs { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid #262626; border-radius: 999px; background: #0a0a0a; }
.code-lang-tab { display: inline-flex; cursor: pointer; }
.code-lang-tab input { position: absolute; opacity: 0; pointer-events: none; }
.code-lang-tab span { padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #a3a3a3; transition: background .15s var(--ease-smooth), color .15s var(--ease-smooth), box-shadow .15s var(--ease-smooth), transform .15s var(--ease-smooth); }
.code-lang-tab input:checked + span { background: rgba(239,111,46,0.12); color: #ef6f2e; box-shadow: inset 0 0 0 1px rgba(239,111,46,0.45); }
.code-lang-tab:hover span { color: #f5f5f5; transform: translateY(-1px); }
.code-card-tabbed { position: relative; min-height: 260px; }
.code-card-tabbed .code-pane { position: absolute; inset: 62px 16px 16px 16px; opacity: 0; transform: translateY(8px); transition: opacity 220ms var(--ease-smooth), transform 220ms var(--ease-smooth); pointer-events: none; }
.code-card-tabbed:has(input[name="code-lang"][value="cli"]:checked) .code-pane[data-lang="cli"],
.code-card-tabbed:has(input[name="code-lang"][value="auth"]:checked) .code-pane[data-lang="auth"] { opacity: 1; transform: translateY(0); position: relative; inset: auto; pointer-events: auto; }
/* fallback: if no tab matches a pane (e.g. only one tab), show the first pane */
.code-card-tabbed:not(:has(input[name="code-lang"]:checked)) .code-pane:first-of-type { opacity: 1; transform: translateY(0); position: relative; inset: auto; pointer-events: auto; }
.typing-cursor { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: text-bottom; background: #ef6f2e; animation: typingCursor 1s step-end infinite; }
@keyframes typingCursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.receipt-status { color: #ef6f2e !important; animation: receiptPulse 2.4s ease-in-out infinite; }
@keyframes receiptPulse { 0%, 100% { opacity: 0.85; text-shadow: 0 0 0 rgba(239,111,46,0); } 50% { opacity: 1; text-shadow: 0 0 10px rgba(239,111,46,0.55); } }
.receipt-card { transition: border-color .2s var(--ease-smooth), box-shadow .2s var(--ease-smooth), transform .2s var(--ease-smooth); }
.receipt-card:hover { transform: translateY(-2px); border-color: rgba(239,111,46,0.45); box-shadow: var(--shadow-md), 0 0 24px rgba(239,111,46,.15), 0 0 0 1px rgba(239,111,46,.2) inset; }
.receipt-key { color: #ef6f2e; transition: background .15s ease, box-shadow .15s ease; }
.receipt-key-primary { color: #f5f5f5; background: rgba(239,111,46,.12); border-radius: 2px; padding: 0 2px; }
.receipt-card:hover .receipt-key { background: rgba(239,111,46,.12); border-radius: 2px; box-shadow: 0 0 8px rgba(239,111,46,.25); }
@media (prefers-reduced-motion: reduce) { .typing-cursor, .receipt-status { animation: none; } }

.customer-stories { display: grid; gap: var(--space-3); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-3); }
.feature-card { position: relative; display: grid; gap: 0; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-card); overflow: hidden; transition: transform .32s var(--ease-out-expo), box-shadow .32s var(--ease-out-expo), background .32s var(--ease-out-expo), border-color .32s var(--ease-out-expo); }
.feature-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(61,245,154,0.06) 0%, transparent 60%); opacity: 0; transition: opacity .32s var(--ease-out-expo); pointer-events: none; z-index: 0; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(61,245,154,0.35); background: #020202; box-shadow: var(--shadow-hover), 0 0 0 1px rgba(61,245,154,0.12) inset; }
.feature-card:hover::before { opacity: 1; }
.feature-card .feature-body { position: relative; display: grid; align-content: start; gap: var(--space-2); padding: var(--space-3); min-height: 160px; z-index: 1; }
.feature-body-default, .feature-body-reveal { transition: opacity 0.32s var(--ease-out-expo), transform 0.32s var(--ease-out-expo); }
.feature-body-reveal { position: absolute; inset: 0; padding: var(--space-3); opacity: 0; transform: translateY(10px); }
.feature-card:hover .feature-body-default { opacity: 0; transform: translateY(-10px); }
.feature-card:hover .feature-body-reveal { opacity: 1; transform: translateY(0); }
.feature-media { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; gap: 8px; background: linear-gradient(135deg, #0a0a0a, #141414); border-bottom: 1px solid var(--color-border); color: var(--color-text-muted); }
.feature-media-play { display: inline-flex; width: 48px; height: 48px; color: var(--color-text); transition: transform .2s var(--ease-smooth), color .2s var(--ease-smooth); }
.feature-card:hover .feature-media-play { transform: scale(1.08); color: var(--color-accent); }
.feature-media-play svg { width: 100%; height: 100%; }
.feature-media-label { font-size: 12px; letter-spacing: .04em; }
.feature-body { display: grid; gap: 8px; padding: var(--space-3); }
.feature-tag { display: inline-block; padding: 2px 10px; border: 1px solid var(--color-border); border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--color-text-muted); width: max-content; }
.feature-body h3 { font-size: 19px; }
.feature-body p { font-size: 14px; line-height: 1.6; }
.feature-cta { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--color-text-muted); cursor: pointer; transition: color .2s var(--ease-smooth); }
.feature-cta:hover { color: var(--color-text); }
[data-poster="identity"] .feature-media { background: linear-gradient(135deg, #0a0a0a 0%, #141414 60%, #1a1a1a 100%); }
[data-poster="conversation"] .feature-media { background: linear-gradient(135deg, #0a0a0a 0%, #181818 100%); }
[data-poster="execution"] .feature-media { background: linear-gradient(135deg, #141414 0%, #1c1c1c 100%); }
.feature-ops-media { display: grid; place-items: stretch; align-content: stretch; gap: var(--space-2); padding: var(--space-2); background: var(--color-surface-inverse) !important; color: var(--color-text-inverse); overflow: hidden; isolation: isolate; }
.feature-ops-media::before, .product-live-plane::before, .scenario-ops-plane::before, .product-detail-hero::before { content: ''; position: absolute; inset: -1px; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 34px 34px; opacity: .7; z-index: -1; }
.feature-ops-top, .product-live-top, .scenario-ops-top { display: flex; justify-content: space-between; gap: var(--space-1); color: rgba(255,255,255,.62); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.feature-ops-bars, .product-live-metrics, .scenario-ops-metrics { align-self: end; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid rgba(255,255,255,.11); border-radius: var(--radius-small); background: rgba(255,255,255,.12); overflow: hidden; }
.feature-ops-bars div, .product-live-metrics div, .scenario-ops-metrics div { position: relative; display: grid; gap: 5px; min-height: 64px; padding: 10px; background: rgba(255,255,255,.055); overflow: hidden; }
.feature-ops-bars div::before, .product-live-metrics div::before, .scenario-ops-metrics div::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: var(--bar-height, 45%); background: rgba(61,245,154,0.10); transform: scaleY(0); transform-origin: bottom; transition: transform 0.8s var(--ease-out-expo); z-index: 0; }
.feature-ops-bars div > *, .product-live-metrics div > *, .scenario-ops-metrics div > * { position: relative; z-index: 1; }
.feature-ops-bars div.bar-grow.is-visible::before, .product-live-metrics div.bar-grow.is-visible::before, .scenario-ops-metrics div.bar-grow.is-visible::before { transform: scaleY(1); }
.feature-ops-bars small, .product-live-metrics small, .scenario-ops-metrics small { color: rgba(255,255,255,.52); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.feature-ops-bars strong, .product-live-metrics strong, .scenario-ops-metrics strong { color: var(--color-text-inverse); font-family: var(--font-mono); font-size: clamp(16px, 2.2vw, 24px); line-height: 1; }
.feature-ops-pulse { position: absolute; right: 24px; top: 50%; width: 72px; height: 72px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transform: translateY(-50%); color: var(--color-accent); box-shadow: inset 0 0 0 1px rgba(61,245,154,.12), 0 0 0 0 rgba(61,245,154,.35); animation: sonarPulse 2.4s ease-out infinite; }
@keyframes sonarPulse { 0% { box-shadow: inset 0 0 0 1px rgba(61,245,154,.12), 0 0 0 0 rgba(61,245,154,.35); } 70% { box-shadow: inset 0 0 0 1px rgba(61,245,154,.12), 0 0 0 18px rgba(61,245,154,0); } 100% { box-shadow: inset 0 0 0 1px rgba(61,245,154,.12), 0 0 0 0 rgba(61,245,154,0); } }
.feature-ops-pulse::before { content: ''; position: absolute; left: 50%; top: 50%; width: 48%; height: 1px; transform-origin: left center; background: currentColor; animation: industrialRadarSweep 3.6s linear infinite; }
.feature-ops-pulse::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%); background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: industrialPulse 1.8s ease-in-out infinite; }
.feature-ops-pulse::after { animation: sonarDot 1.8s ease-in-out infinite; }
@keyframes sonarDot { 0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(61,245,154,.5); } 50% { transform: translate(-50%, -50%) scale(1.2); box-shadow: 0 0 0 10px rgba(61,245,154,0); } }
.product-live-card { overflow: hidden; }
.product-live-plane { position: relative; display: grid; gap: var(--space-2); min-height: 190px; margin: calc(var(--space-3) * -1) calc(var(--space-3) * -1) var(--space-3); padding: var(--space-2); background: var(--color-surface-inverse); color: var(--color-text-inverse); overflow: hidden; isolation: isolate; }
.product-live-line { height: 3px; width: 72%; background: currentColor; transform-origin: left center; transform: scaleX(.16); opacity: .72; animation: industrialLineSweep 2.8s var(--ease-out-expo) forwards; animation-delay: var(--line-delay); }
.scenario-ops-plane { position: relative; display: grid; gap: var(--space-2); min-height: 150px; color: var(--color-text-inverse); background: var(--color-surface-inverse); overflow: hidden; isolation: isolate; }

.product-matrix { display: grid; gap: var(--space-3); }
.product-matrix-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-2); }
.product-matrix-card { position: relative; display: grid; gap: 10px; padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-card); transition: transform .2s var(--ease-smooth), box-shadow .2s var(--ease-smooth), background .2s var(--ease-smooth); }
.product-matrix-card:hover { transform: translateY(-1px); border-color: var(--color-border-strong); background: #020202; box-shadow: var(--shadow-md); }
.product-matrix-head { display: flex; flex-direction: column; gap: 4px; }
.product-matrix-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--color-text-muted); }
.product-matrix-headline { color: var(--color-text); font-weight: 700; font-size: 15px; }
.product-matrix-body { color: var(--color-text-muted); font-size: 14px; line-height: 1.6; }
.product-matrix-cta { margin-top: auto; color: var(--color-text); font-weight: 600; font-size: 14px; }
.product-matrix-cta:hover { text-decoration: underline; }

/* Real pricing tabs via radio + billing-cycle toggle */
.pricing-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-background-secondary); }
.pricing-tab { display: inline-flex; cursor: pointer; }
.pricing-tab input { position: absolute; opacity: 0; pointer-events: none; }
.pricing-tab span { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--color-text-muted); transition: background .2s var(--ease-smooth), color .2s var(--ease-smooth); }
.pricing-tab:hover span { color: var(--color-text); }
.pricing-tab input:checked + span { background: var(--color-surface-inverse); color: var(--color-text-inverse); }
.price-annual { display: none; }
.pricing-section:has(input[name="billing-cycle"][value="annual"]:checked) .price-monthly { display: none; }
.pricing-section:has(input[name="billing-cycle"][value="annual"]:checked) .price-annual { display: inline; }
.pricing-sales-note { text-align: center; margin-top: var(--space-3); font-size: 15px; color: var(--color-text-muted); }
.pricing-sales-note a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }

/* Google OAuth button styling */
.google-method { display: grid; gap: 10px; margin-bottom: var(--space-2); }
.google-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0; background: var(--color-surface) !important; color: var(--color-text) !important; border: 1px solid var(--color-border) !important; font-weight: 600; }
.google-btn:hover { background: var(--color-background-secondary) !important; border-color: var(--color-border-strong) !important; }

/* Legal pages */
.legal-notice { display: grid; gap: 6px; padding: var(--space-2) var(--space-3); border: 1px solid rgba(251,191,36,.32); border-radius: var(--radius-small); background: rgba(251,191,36,.06); margin-bottom: var(--space-3); }
.legal-notice strong { color: var(--color-warning); font-size: 14px; font-weight: 700; }
.legal-notice p { color: var(--color-text-muted); font-size: 13px; line-height: 1.55; }
/* Legal / document pages: readable column, centered in main. */
.legal-hero { display: grid; gap: var(--space-2); max-width: 880px; margin: 0 auto; padding: var(--space-5) 0 var(--space-4); width: 100%; box-sizing: border-box; }
.legal-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--color-text-soft); font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.legal-breadcrumb a { color: var(--color-text-muted); transition: color .2s var(--ease-smooth); }
.legal-breadcrumb a:hover { color: var(--color-text); }
.legal-breadcrumb span[aria-hidden="true"] { opacity: .5; }
.legal-hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; max-width: none; width: 100%; }
.legal-updated { color: var(--color-text-soft); font-size: 13px; font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.legal-hero-lead { color: var(--color-text-muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; max-width: 72ch; }
.legal-sections { display: grid; gap: var(--space-2); max-width: 880px; margin: 0 auto; width: 100%; }
.legal-sections .card { display: grid; gap: 8px; padding: var(--space-3); }
.legal-sections .card h3 { color: var(--color-text); font-size: 15px; font-weight: 600; }
.legal-sections .card p { color: var(--color-text-muted); font-size: 14px; line-height: 1.65; }

/* ── Product / scenario detail pages ───────────────────────────────────────
   Single alignment rule: every block spans full main width (main ≈ 1080px).
   Do not re-apply nested 760/880 max-width that left-stacks content. */
.product-detail-hero-section.legal-hero,
.legal-hero.product-detail-hero-section {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: var(--space-4) 0 var(--space-3);
  box-sizing: border-box;
}
.product-detail-hero-section .legal-hero-lead { max-width: 72ch; }
.product-detail-hero-section h1 { max-width: none; width: 100%; }

/* SVG operating map: full main width */
aside.product-detail-hero {
  display: block;
  width: 100%;
  max-width: none;
  margin: var(--space-3) 0 var(--space-4);
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  color: inherit;
}
.product-detail-hero-svg-wrap {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.product-detail-hero-svg,
.scenario-detail-hero-svg {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-container);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Legacy fact-panel (if any non-SVG hero remains) */
.product-detail-hero-top { display: flex; justify-content: space-between; gap: var(--space-1); padding-bottom: var(--space-1); border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-detail-hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid rgba(255,255,255,.11); border-radius: var(--radius-small); background: rgba(255,255,255,.12); overflow: hidden; }
.product-detail-hero-facts div { display: grid; gap: 5px; min-height: 64px; padding: 10px; background: rgba(255,255,255,.055); }
.product-detail-hero-facts small { color: rgba(255,255,255,.52); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.product-detail-hero-facts strong { color: var(--color-text-inverse); font-family: var(--font-mono); font-size: clamp(16px, 2.2vw, 24px); line-height: 1; }

/* Deep sections + shared full-bleed content shell */
.product-detail-deep,
.detail-content-shell {
  width: 100%;
  max-width: none;
  margin: var(--space-4) 0;
  padding: var(--space-4) var(--space-3);
  border: 1px solid var(--color-border-tertiary);
  border-radius: var(--radius-container);
  background: var(--color-background-secondary);
  box-sizing: border-box;
}
.product-detail-deep > *,
.detail-content-shell > *,
.band.detail-content-shell > * {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}
.product-detail-deep > .section-head,
.detail-content-shell > .section-head,
.band.detail-content-shell > .section-head {
  max-width: none !important;
  width: 100% !important;
  margin: 0 0 var(--space-3) 0 !important;
  text-align: left;
}
.product-detail-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  align-items: stretch;
  width: 100%;
}
.product-detail-deep-card {
  display: grid;
  gap: 10px;
  padding: var(--space-3) !important;
  min-width: 0;
  height: 100%;
  align-content: start;
}
.product-detail-deep-card h3 { margin: 0; font-size: var(--text-lg); font-weight: 600; }
.product-detail-deep-card p { margin: 0; color: var(--color-text-muted); line-height: 1.55; }
.product-detail-steps {
  list-style: none;
  margin: 0;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  align-items: stretch;
  width: 100%;
}
.product-detail-steps > li {
  padding: var(--space-3) !important;
  margin: 0;
}
.product-detail-get-list {
  margin: 0;
  padding: 0 0 0 1.25em !important;
  display: grid;
  gap: 12px;
  max-width: none !important;
  width: 100% !important;
  color: var(--color-text);
  line-height: 1.55;
}
/* Product summary strip under SVG */
.product-section.product-section-detail {
  width: 100%;
  max-width: none;
  margin: 0 0 var(--space-3);
  box-sizing: border-box;
}
.product-section-detail .product-copy { max-width: none; width: 100%; }
/* Scenario before/after + related grids on detail pages */
.scenario-bar.detail-content-shell .scenario-bar-grid,
.detail-content-shell .scenario-bar-grid,
.detail-content-shell .grid.scenario-grid,
.detail-content-shell .scenario-grid {
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.detail-content-shell .grid.scenario-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
/* About / company pages: align columns to main, not nested 760 */
.about-mission,
.about-positioning {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  box-sizing: border-box;
}
.about-philosophy-grid,
.about-team-grid,
.about-contact-grid,
.about-company-links-grid,
.about-office-grid {
  width: 100%;
  max-width: none;
}
.about-milestone-list {
  max-width: none;
  width: 100%;
}
/* Security practices etc. when in band: use full main if shell class present */
.band.detail-content-shell {
  padding-left: var(--space-3);
  padding-right: var(--space-3);
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .product-detail-card-grid,
  .product-detail-steps,
  .scenario-bar.detail-content-shell .scenario-bar-grid,
  .detail-content-shell .scenario-bar-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog list stays on dark industrial chrome.
   Blog DETAIL is paper reading: white surface + black text (kent 2026-07-11).
   Nav/footer remain dark; only the article shell is 白底黑字. */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-2); align-items: stretch; }
.blog-card { display: flex; flex-direction: column; gap: 8px; padding: var(--space-3); background: var(--color-surface-card); border: 1px solid var(--color-border); color: var(--color-text); }
.blog-card-meta { display: flex; gap: 12px; align-items: center; color: var(--color-text-soft); font-size: 12px; }
.blog-card-meta time { color: var(--color-text-soft); }
.blog-card h3 { font-size: 19px; font-weight: 600; color: var(--color-text); }
.blog-card h3 a { color: var(--color-text); text-decoration: none; }
.blog-card h3 a:hover { color: var(--color-accent); }
.blog-card p { color: var(--color-text-muted); }
.blog-card .ws-link { margin-top: auto; padding-top: 8px; color: var(--color-accent); }
.blog-index { background: transparent; color: var(--color-text); }
.blog-post,
.blog-post-article {
  max-width: none;
  margin: 0;
  padding: var(--space-5) 0 var(--space-6);
  background: transparent;
  color: var(--color-text);
}
.blog-post-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 4.5vw, 48px) clamp(22px, 4vw, 44px) clamp(32px, 5vw, 52px);
  border: 1px solid #e4e4e7;
  border-radius: 18px;
  background: #ffffff !important;
  color: #18181b !important;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.blog-post-shell .blog-post-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; margin-bottom: var(--space-2); color: #71717a !important; }
.blog-post-shell .blog-post-meta time { color: #71717a !important; }
.blog-post-shell .ws-chip {
  background: #f4f4f5 !important;
  border-color: #e4e4e7 !important;
  color: #3f3f46 !important;
}
.blog-post-shell .blog-post-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 var(--space-2);
  color: #09090b !important;
  letter-spacing: -0.02em;
}
.blog-post-shell .blog-post-excerpt {
  font-size: 17px;
  line-height: 1.65;
  color: #52525b !important;
  margin: 0 0 var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid #e4e4e7;
}
.blog-post-shell .blog-post-body { display: grid; gap: 1.1rem; color: #18181b !important; }
.blog-post-shell .blog-post-body p {
  color: #27272a !important;
  font-size: 16.5px;
  line-height: 1.8;
  margin: 0;
}
.blog-post-shell .blog-post-body .blog-h2 {
  margin: 1.55rem 0 0.1rem;
  padding-top: 0.55rem;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  color: #09090b !important;
  letter-spacing: -0.01em;
  border-top: 1px solid #f4f4f5;
}
.blog-post-shell .blog-post-body .blog-h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.blog-post-shell .blog-list {
  margin: 0;
  padding: 0 0 0 1.25rem;
  color: #27272a !important;
  display: grid;
  gap: 0.5rem;
}
.blog-post-shell .blog-list li {
  color: #27272a !important;
  font-size: 16.5px;
  line-height: 1.7;
}
.blog-post-shell .blog-post-back {
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid #e4e4e7;
}
.blog-post-shell .blog-post-back .ws-link {
  color: #0f766e !important;
  font-weight: 600;
}
.blog-post-shell a { color: #0f766e; }
.blog-post-shell a:hover { color: #0d9488; }

/* Changelog */
.changelog-list-wrapper { display: grid; gap: var(--space-2); max-width: 880px; }
.changelog-card { display: grid; gap: 12px; padding: var(--space-3); }
.changelog-head { display: flex; gap: 12px; align-items: center; }
.changelog-head time { color: var(--color-text-soft); font-size: 13px; }
.changelog-card h3 { font-size: 18px; font-weight: 600; }
.changelog-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.changelog-list li { position: relative; padding-left: 18px; color: var(--color-text-muted); line-height: 1.55; }
.changelog-list li::before { content: '·'; position: absolute; left: 4px; color: #3DF59A; font-weight: 700; }

/* About page */
.about-mission { display: grid; gap: 12px; padding: var(--space-4) 0; max-width: 880px; margin-inline: auto; }
/* About hero facts: 3 company facts (founded / products / team) —
   matches the page subject, not generic ops metrics. */
.about-hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); width: min(560px, 100%); justify-self: center; padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); }
.about-hero-fact { display: grid; gap: 4px; padding: var(--space-2); text-align: center; }
.about-hero-fact small { color: var(--color-text-soft); font-size: 11px; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.about-hero-fact strong { color: var(--color-text); font-size: clamp(22px, 2.4vw, 30px); font-weight: 400; letter-spacing: -0.01em; }
.about-hero-fact span { color: var(--color-text-muted); font-size: 12px; line-height: 1.4; }
@media (max-width: 640px) { .about-hero-facts { grid-template-columns: 1fr; } }
/* Width alignment: positioning paragraph shares the same 880px measure as mission,
   so the two top text blocks on /about line up vertically with each other and with
   the legal-sections / band content on terms/privacy/refund/cookie-policy pages. */
.about-positioning { max-width: 880px; margin-inline: auto; }
.about-positioning .about-mission-text { max-width: 880px; }
.about-mission-text { color: var(--color-text); font-size: clamp(20px, 2vw, 26px); line-height: 1.5; font-weight: 500; }
.about-philosophy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-2); align-items: stretch; }
.about-philosophy-card { display: grid; gap: 8px; }
.about-philosophy-card h3 { color: var(--color-text); font-size: 18px; font-weight: 600; }
.about-milestone-list { display: grid; gap: var(--space-2); max-width: 760px; }
.about-milestone-row { display: grid; grid-template-columns: 110px 1fr; gap: var(--space-2); padding: var(--space-2); border-left: 2px solid #3DF59A; background: rgba(61,245,154,0.06); border-radius: 0 var(--radius-small) var(--radius-small) 0; }
.about-milestone-when { color: #3DF59A; font-weight: 700; font-size: 13px; letter-spacing: 0.02em; }
.about-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-2); align-items: stretch; }
.about-team-card { display: grid; gap: 8px; text-align: left; }
.about-team-avatar { width: 48px; height: 48px; border-radius: 999px; background: linear-gradient(135deg, #3DF59A, #3DF59A); color: #020202; display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.about-team-card strong { font-size: 15px; font-weight: 600; }
.about-team-role { color: var(--color-text-muted); font-size: 12px; font-weight: 500; }
.about-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-2); align-items: stretch; margin-bottom: var(--space-3); }
.about-contact-card { display: grid; gap: 6px; }
.about-contact-email { color: #3DF59A; font-size: 16px; font-weight: 600; word-break: break-all; }
.about-contact-email:hover { color: #3DF59A; }
.about-office-section, .about-social-section { display: grid; gap: 12px; margin-top: var(--space-3); }
.about-office-heading { color: var(--color-text); font-size: 16px; font-weight: 600; }
.about-office-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-2); }
.about-office-card { display: grid; gap: 6px; }
.about-office-addr { color: var(--color-text); font-weight: 500; }
.about-social-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.about-social-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 1px solid var(--color-border); border-radius: 999px; color: var(--color-text); font-weight: 600; font-size: 14px; }
.about-social-link:hover { border-color: #3DF59A; color: #3DF59A; }
.about-social-link small { color: var(--color-text-soft); font-size: 11px; font-weight: 400; }
@media (max-width: 768px) {
  .about-milestone-row { grid-template-columns: 1fr; gap: 4px; }
  .about-team-grid, .about-contact-grid, .about-office-grid, .about-philosophy-grid { grid-template-columns: 1fr; }
}

/* Enterprise sales — 4 equal-height info cards + a separate form block */
.enterprise-readiness-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-2); align-items: stretch; }
.enterprise-readiness-grid .card { display: flex; flex-direction: column; gap: var(--space-1); }
.enterprise-sales-form-section { display: grid; justify-items: center; }
.enterprise-sales-form-section .card { width: min(720px, 100%); }

/* Site-wide button sizing: min-height 44 + horizontal padding 18 + font-size 14 + font-weight 600 */
.button, button { min-height: 44px; padding: 0 18px; font-size: 14px; font-weight: 600; }

/* Multi-card grids use stretch for equal height; cards with .actions use flex to push buttons to the bottom */
.plans, .grid, .process, .article-grid, .product-stack, .stories-grid, .product-matrix-grid, .solution-rail[data-layout="grid"] { align-items: stretch; }
.plan-card, .card.product-card, .product-matrix-card, .story-card, .feature-card, .ws-card { display: flex; flex-direction: column; }
.plan-card > .actions, .product-matrix-card > .product-matrix-cta, .ws-card > .ws-actions, .feature-body > .feature-cta { margin-top: auto; }
.plan-card .actions { padding-top: var(--space-2); }
.plan-card .fineprint { margin-top: var(--space-1); color: var(--color-text-soft); font-size: 12px; }
.actions .button, .actions .ws-btn { flex: 1 1 auto; max-width: 100%; }
.plan-card .actions .button { width: 100%; }
/* Info cards with only h3+p (e.g. enterprise readiness): keep top-aligned, auto equal height */
.enterprise-readiness-grid .card h3 { font-size: 17px; font-weight: 600; }

/* Plan card fit rows */
.plan-fit { display: grid; gap: 6px; margin-top: var(--space-2); padding: 12px; border-top: 1px solid var(--color-border); }
.plan-fit-good, .plan-fit-bad { margin: 0; font-size: 13px; line-height: 1.5; padding-left: 20px; position: relative; }
.plan-fit-good::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--color-text); font-weight: 700; }
.plan-fit-bad { color: var(--color-text-muted); }
.plan-fit-bad::before { content: '×'; position: absolute; left: 0; top: 0; color: var(--color-text-muted); font-weight: 700; }

/* Mega menu */
.has-mega { position: relative; display: inline-flex; align-items: center; }
.has-mega .mega-caret { margin-left: 4px; font-size: 10px; color: var(--color-text-muted); }
.mega-panel { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px); min-width: 640px; max-width: 90vw; padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); box-shadow: var(--shadow-xxl); opacity: 0; pointer-events: none; transition: opacity .2s var(--ease-smooth), transform .2s var(--ease-smooth); z-index: 30; }
.has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.mega-eyebrow { margin: 0 0 var(--space-2); color: var(--color-text-muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: 12px; }
.mega-item { display: grid; gap: 4px; padding: 12px; border: 1px solid transparent; border-radius: var(--radius-small); transition: border-color .2s var(--ease-smooth), background .2s var(--ease-smooth); }
.mega-item:hover { border-color: var(--color-border); background: var(--color-background-secondary); }
.mega-item strong { color: var(--color-text); font-size: 14px; }
.mega-item span { color: var(--color-text-muted); font-size: 12px; }

/* Factory-inspired industrial homepage: dense product truth, motion-first console, no ornamental card nesting */
.industrial-home-hero { position: relative; width: min(1480px, calc(100vw - 48px)); margin-left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: minmax(0, 5fr) minmax(480px, 5fr); align-items: center; gap: clamp(32px, 5vw, 72px); min-height: calc(100vh - 112px); padding: clamp(64px, 9vh, 112px) 0 clamp(48px, 8vh, 96px); background: var(--hero-bg); color: var(--hero-text); overflow: hidden; isolation: isolate; }
/* Full-bleed dark hero background — extends edge-to-edge behind the nav, content stays centered. */
.industrial-home-hero::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -4; background: var(--hero-bg); }
/* Dot-grid texture: low-contrast blueprint feel, factory.ai-aligned */
.industrial-home-hero .hero-texture-dots { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -3; background-image: radial-gradient(circle, rgba(255,255,255,0.6) 0px, rgba(255,255,255,0.6) 0.7px, transparent 0.95px); background-size: 24px 24px; opacity: .05; pointer-events: none; }
/* Line-grid texture: faint technical grid overlay */
.industrial-home-hero .hero-texture-lines { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -3; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.18) 0px, rgba(255,255,255,0.18) 1px, transparent 1px, transparent 24px), repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0px, rgba(255,255,255,0.18) 1px, transparent 1px, transparent 24px); background-size: 24px 24px; opacity: .05; pointer-events: none; }
/* Radial vignette: draws attention to center content */
.industrial-home-hero .hero-vignette { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -2; background: radial-gradient(circle at 50% 45%, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,0.55) 100%); pointer-events: none; }
/* Pre-rendered ambient video loop: loads only when motion is not reduced.
   Poster fallback keeps the frame readable before/without video assets. */
.industrial-home-hero .hero-video-loop { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -3; width: 100vw; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease-smooth); pointer-events: none; }
.industrial-home-hero .hero-video-loop.is-loaded { opacity: .35; }
@media (prefers-reduced-motion: reduce) { .industrial-home-hero .hero-video-loop { display: none; } }
.industrial-home-hero::after { content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; background-image: linear-gradient(var(--hero-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px); background-size: 44px 44px; opacity: .6; pointer-events: none; }
.industrial-hero-copy { display: grid; min-width: 0; justify-items: start; gap: var(--space-2); text-align: left; }
.industrial-hero-copy .hero-h1-staggered { justify-items: start; max-width: 780px; }
.industrial-hero-copy .hero-line { opacity: 0; transform: translateY(18px); animation: industrialTextRise .64s var(--ease-out-expo) both; }
.industrial-hero-copy .hero-line-2 { display: block; padding: 0; color: var(--hero-text); font-size: 1em; font-weight: inherit; letter-spacing: 0; animation-delay: .08s; }
.industrial-hero-copy .hero-line-2::before, .industrial-hero-copy .hero-line-2::after { display: none; }
.industrial-hero-copy .hero-h1-staggered { font-size: clamp(40px, 5.2vw, 72px); line-height: 1; letter-spacing: -0.03em; font-weight: 500; }
.industrial-hero-copy .hero-lead { max-width: 680px; }
.industrial-hero-copy .home-mechanism { font-family: var(--font-mono); font-size: clamp(14px, 1.25vw, 16px); line-height: 1.55; color: var(--hero-text-muted); letter-spacing: 0; }
.industrial-hero-copy .hero-lead { color: var(--hero-text-muted); }
.industrial-hero-copy .eyebrow { background: transparent; border-color: var(--hero-border-strong); color: var(--hero-text-muted); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; }
.industrial-hero-copy .hero-equation { max-width: 620px; margin: 0; text-align: left; line-height: 1.45; opacity: 0; animation: industrialTextRise .64s var(--ease-out-expo) .26s both; }
.industrial-actions { justify-content: flex-start; margin-top: var(--space-2); }
.industrial-actions .button { flex: 0 1 auto; min-width: 170px; }
.industrial-actions .industrial-primary-cta { min-width: 260px; }
.industrial-primary-cta { position: relative; display: grid; align-content: center; gap: 3px; overflow: hidden; isolation: isolate; }
.industrial-primary-cta span { line-height: 1; }
.industrial-primary-cta::after { content: ''; position: absolute; inset: 0; transform: translateX(-120%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); transition: transform .52s var(--ease-out-expo); z-index: -1; }
.industrial-primary-cta:hover::after { transform: translateX(120%); }
.industrial-primary-cta .cta-note { margin: 0; color: rgba(255,255,255,.72); line-height: 1; }
.industrial-console { position: relative; display: grid; min-width: 0; gap: var(--space-2); min-height: 640px; padding: clamp(20px, 3vw, 32px); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-container); background: var(--color-surface-inverse); color: var(--color-text-inverse); box-shadow: var(--shadow-console); overflow: hidden; transform-origin: center bottom; animation: agentnetConsoleFrameIn .9s var(--ease-out-expo) .12s both; }
.industrial-console::before { content: ''; position: absolute; inset: -1px; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 44px 44px; opacity: .58; }
.industrial-console > * { position: relative; z-index: 1; }
.console-topline { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding-bottom: var(--space-2); border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.66); font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.console-stage { position: relative; min-height: 230px; display: grid; grid-template-columns: .7fr 1fr; align-items: center; gap: var(--space-3); padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: rgba(255,255,255,.04); }
.console-radar { position: relative; width: min(180px, 100%); aspect-ratio: 1; border: 1px solid var(--color-border); border-radius: 50%; background: radial-gradient(circle, transparent 0 28%, var(--color-border-tertiary) 29% 30%, transparent 31% 56%, var(--color-border-tertiary) 57% 58%, transparent 59%); overflow: hidden; }
.console-radar::before { content: ''; position: absolute; left: 50%; top: 50%; width: 50%; height: 1px; transform-origin: left center; background: currentColor; animation: industrialRadarSweep 3.6s linear infinite; }
.console-radar span { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; transform: translate(-50%, -50%); border-radius: 50%; background: currentColor; box-shadow: 0 0 0 8px rgba(0,0,0,.4); animation: industrialPulse 1.8s ease-in-out infinite; }
.console-metric { display: grid; gap: 4px; }
.console-metric strong { color: var(--color-text); font-size: clamp(48px, 7vw, 84px); line-height: 1; font-weight: 800; font-family: var(--font-mono); }
.console-metric span { color: var(--color-text-muted); font-weight: 700; }
.console-sparkline { grid-column: 1 / -1; width: 100%; height: 82px; color: var(--color-text); }
.console-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.console-grid article { display: grid; gap: 8px; min-height: 146px; padding: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: rgba(255,255,255,.04); box-shadow: var(--shadow-floating); opacity: 0; transform: translateY(12px); animation: industrialTextRise .64s var(--ease-out-expo) both; transition: transform .2s var(--ease-smooth), box-shadow .2s var(--ease-smooth), border-color .2s var(--ease-smooth); }
.console-grid article:nth-child(1) { animation-delay: .18s; }
.console-grid article:nth-child(2) { animation-delay: .26s; }
.console-grid article:nth-child(3) { animation-delay: .36s; }
.console-grid article:nth-child(4) { animation-delay: .62s; }
.console-grid article:hover { transform: translateY(-1px) scale(1.01); border-color: var(--color-border-strong); background: rgba(255,255,255,.08); box-shadow: var(--shadow-hover); }
.console-grid strong { color: var(--color-text); font-size: 15px; }
.console-grid p { font-size: 13.5px; line-height: 1.55; }
.console-grid b { color: var(--color-text); font-family: var(--font-mono); font-size: 22px; }
.console-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-border); }
.console-flow span, .console-flow strong { display: block; padding: 10px 12px; background: var(--color-surface); }
.console-flow span { color: var(--color-text-muted); font-family: var(--font-mono); font-size: 12px; }
.console-flow strong { color: var(--color-text); font-size: 13px; font-weight: 700; }
.home-ops-stage-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-card); background: rgba(255,255,255,.10); overflow: hidden; }
.home-ops-stage { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; min-height: 188px; padding: 14px; background: rgba(255,255,255,.055); opacity: 0; transform: translateY(12px); animation: industrialTextRise .52s var(--ease-out-expo) forwards; animation-delay: calc(.18s + var(--stage-delay)); transition: transform .2s var(--ease-smooth), background .2s var(--ease-smooth); }
.home-ops-stage:hover { transform: translateY(-1px); background: rgba(255,255,255,.10); }
.home-ops-stage span { color: rgba(255,255,255,.54); font-family: var(--font-mono); font-size: 11px; }
.home-ops-stage strong { color: var(--color-text-inverse); font-family: var(--font-mono); font-size: 13px; line-height: 1.2; letter-spacing: .02em; }
.home-ops-stage p { color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.45; }
.home-ops-stage b { align-self: end; color: var(--color-text-inverse); font-family: var(--font-mono); font-size: clamp(28px, 3vw, 44px); line-height: 1; }
.home-ops-spark-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.home-ops-spark { display: grid; grid-template-columns: minmax(0, .85fr) minmax(86px, .7fr); align-items: end; gap: var(--space-1); min-height: 132px; padding: var(--space-2); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-card); background: rgba(255,255,255,.06); }
.home-ops-spark span { color: rgba(255,255,255,.56); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; }
.home-ops-spark strong { display: block; margin-top: 8px; color: var(--color-text-inverse); font-family: var(--font-mono); font-size: clamp(26px, 3vw, 38px); line-height: 1; }
.home-ops-spark p { margin-top: 6px; color: rgba(255,255,255,.58); font-family: var(--font-mono); font-size: 11px; line-height: 1.35; }
.home-ops-spark svg { width: 100%; color: #3DF59A; }
.home-ops-console .console-flow { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.12); }
.home-ops-console .console-flow span, .home-ops-console .console-flow strong { background: rgba(255,255,255,.06); }
.home-ops-console .console-flow span { color: rgba(255,255,255,.52); }
.home-ops-console .console-flow strong { color: var(--color-text-inverse); }
.industrial-definition { display: grid; gap: var(--space-3); }
.industrial-card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.industrial-card { position: relative; display: grid; gap: var(--space-1); min-height: 260px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); transition: transform .2s var(--ease-smooth), box-shadow .2s var(--ease-smooth), border-color .2s var(--ease-smooth); }
.industrial-card > span { width: 42px; height: 42px; border: 1px solid var(--color-border); border-radius: 50%; background: repeating-linear-gradient(135deg, var(--color-surface), var(--color-surface) 6px, var(--color-background-secondary) 6px, var(--color-background-secondary) 12px); }
.industrial-card:hover { transform: translateY(-2px); border-color: var(--color-border-strong); background: #020202; box-shadow: var(--shadow-hover); }
.industrial-home-v2 { width: min(var(--hero-max-w), calc(100vw - 48px)); grid-template-columns: minmax(0, 4fr) minmax(820px, 8fr); }
.industrial-home-v2 .industrial-hero-copy { align-content: center; }
.industrial-display { max-width: 820px; color: var(--hero-text); font-family: var(--font-h1); font-size: clamp(40px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 400; opacity: 1; overflow: visible; }
/* Word reveal delays: data-reveal-step pure-CSS + optional --word-delay from dynamic-styles.
   Full animation declaration lives with .char-reveal rules below (safety fill included). */
.locale-zh .industrial-display { font-size: clamp(36px, 5.6vw, 64px); letter-spacing: -0.02em; font-weight: 400; }
.hero-mono-lead { max-width: 720px; color: var(--hero-text-muted); font-family: var(--font-mono); font-size: clamp(13px, 1.1vw, 16px); line-height: 1.6; overflow-wrap: anywhere; }
@media (max-width: 768px) {
  .industrial-home-hero { overflow: visible; width: calc(100vw - 32px); padding-left: 0; padding-right: 0; }
  .industrial-home-v2 { width: 100%; grid-template-columns: 1fr; }
  .industrial-display {
    font-size: clamp(32px, 8.4vw, 40px);
    line-height: 1.08;
    max-width: 100%;
    letter-spacing: -0.03em;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
  }
  .industrial-display .char-reveal-word { max-width: 100%; }
  .industrial-home-v2 .industrial-hero-copy {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
    padding-inline: 0;
  }
  .hero-mono-lead {
    font-size: 12px;
    line-height: 1.55;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .industrial-home-v2 .industrial-hero-copy .hero-lead {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: break-word;
  }
  .industrial-home-hero .industrial-actions { width: 100%; }
  .industrial-home-hero .industrial-actions .button { width: 100%; }
}
.mobile-ops-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; width: 100%; border: 1px solid var(--hero-border); border-radius: var(--radius-card); background: var(--hero-border); overflow: hidden; }
.mobile-ops-strip article { display: grid; gap: 3px; min-width: 0; padding: 9px 8px; background: rgba(255,255,255,.035); }
.mobile-ops-strip article:nth-child(2) { --mobile-strip-delay: 70ms; }
.mobile-ops-strip article:nth-child(3) { --mobile-strip-delay: 140ms; }
.mobile-ops-strip article:nth-child(4) { --mobile-strip-delay: 210ms; }
.mobile-ops-strip span { color: var(--hero-text-soft); font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-ops-strip strong { color: var(--hero-text); font-family: var(--font-mono); font-size: clamp(18px, 5.8vw, 24px); line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.mobile-ops-strip small { color: var(--hero-text-muted); font-family: var(--font-mono); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 769px) { .mobile-ops-strip { display: none; } }
.industrial-home-v2 .industrial-hero-copy .hero-lead { max-width: 700px; font-size: clamp(16px, 1.35vw, 20px); }
.industrial-proof { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border: 1px solid var(--hero-border-strong); border-radius: 999px; background: rgba(255,255,255,.06); color: var(--hero-text); font-weight: 600; }
/* CTA on dark hero: primary = inverted (white bg / black text), secondary = ghost (transparent / white border). */
.industrial-home-hero .industrial-actions .button,
.industrial-home-hero .industrial-actions .industrial-primary-cta { background: var(--hero-text); border-color: var(--hero-text); color: var(--hero-bg); }
.industrial-home-hero .industrial-actions .button.secondary,
.industrial-home-hero .industrial-actions .button:not(.industrial-primary-cta):not(.start) { background: transparent; border-color: var(--hero-border-strong); color: var(--hero-text); }
.industrial-home-hero .industrial-actions .button:hover,
.industrial-home-hero .industrial-actions .industrial-primary-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-hover); }
.industrial-home-hero .industrial-primary-cta .cta-note { color: rgba(0,0,0,.6); }
.home-ops-console { position: relative; display: grid; min-width: 0; gap: var(--space-2); min-height: 0; padding: clamp(20px, 2.4vw, 34px); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-container); background: var(--color-surface-inverse); color: var(--color-text-inverse); box-shadow: var(--shadow-console); overflow: hidden; isolation: isolate; transform-origin: center bottom; animation: agentnetConsoleFrameIn .9s var(--ease-out-expo) .16s both; }
.home-ops-console::before { content: ''; position: absolute; inset: -1px; background-image: linear-gradient(rgba(255,255,255,.065) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.065) 1px, transparent 1px); background-size: 42px 42px; opacity: .72; z-index: -2; }
.home-ops-console > * { position: relative; z-index: 1; }
/* Phase 4 SVG console — single SVG carrying all text, grid, KPI, radar (Factory.ai-aligned) */
.home-ops-console-svg { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
/* Subtle live data shimmer: values breathe just enough to read as a running system, without breaking Factory-precision readability. */
.home-ops-console-svg .sf-signups-value,
.home-ops-console-svg .sf-throughput-value,
.home-ops-console-svg .sf-backlog-value,
.home-ops-console-svg .sf-scatter-hero,
.home-ops-console-svg .sf-metric-value { animation: sfValueLive 2.8s ease-in-out infinite; }
.home-ops-console-svg .sf-signups-value { animation-delay: 0s; }
.home-ops-console-svg .sf-throughput-value { animation-delay: .7s; }
.home-ops-console-svg .sf-backlog-value { animation-delay: 1.4s; }
.home-ops-console-svg .sf-scatter-hero { animation-delay: .35s; }
.home-ops-console-svg .sf-radar-sweep { filter: drop-shadow(0 0 6px rgba(239,111,46,.45)); }
.home-ops-console-svg .sf-dashboard-live { animation: sfDashboardLive 1.6s ease-in-out infinite; }
@keyframes sfValueLive { 0%, 100% { opacity: 1; filter: brightness(1); } 50% { opacity: .92; filter: brightness(1.14); } }
@keyframes sfDashboardLive { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.35); } }
/* Pricing + About + Developers + Security hero SVGs (Factory.ai-aligned ops consoles) */
.pricing-hero-svg, .about-hero-svg, .developers-hero-svg, .security-hero-svg { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
/* Pricing control plane variant: let the SVG own the surface (drop inner padding + grid overlay) */
.pricing-control-plane-svg { padding: 0; background: #0c0b0a; }
.pricing-control-plane-svg::before { content: none; }
.pricing-control-plane-svg .pricing-hero-svg { border-radius: var(--radius-container); overflow: hidden; }
/* Developers control plane variant: SVG owns the surface (drop inner padding + grid overlay) */
.route-control-plane-svg { padding: 0; background: #0c0b0a; }
.route-control-plane-svg::before { content: none; }
.route-control-plane-svg .developers-hero-svg { border-radius: var(--radius-container); overflow: hidden; }
/* About hero visual: wide framed console for the human × agent diagram */
.about-hero-visual { width: min(1040px, 100%); justify-self: center; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: #0c0b0a; box-shadow: var(--shadow-lg); overflow: hidden; animation: hero-visual-in .64s ease both; }
.about-hero-visual .about-hero-svg { display: block; }
/* Security hero visual: wide framed console for the security operations map */
.security-hero-visual { width: min(1040px, 100%); justify-self: center; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: #0c0b0a; box-shadow: var(--shadow-lg); overflow: hidden; animation: hero-visual-in .64s ease both; }
.security-hero-visual .security-hero-svg { display: block; }
/* Developers hero visual: wide framed console for the developer integration plane */
.developers-hero-visual { width: min(1280px, 100%); margin: 0 auto; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: #0c0b0a; box-shadow: var(--shadow-lg); overflow: hidden; animation: hero-visual-in .64s ease both; }
.developers-hero-visual .developers-hero-svg { display: block; }
/* Independent hero visual asides for aggregate pages — full-width framed SVG row below the copy + dashboard grid */
.products-hero-visual, .scenarios-hero-visual, .enterprise-hero-visual { width: min(1280px, 100%); margin: 24px auto 0; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: #0c0b0a; box-shadow: var(--shadow-lg); overflow: hidden; animation: hero-visual-in .64s ease both; }
.products-hero-visual .products-hero-svg, .scenarios-hero-visual .scenarios-hero-svg, .enterprise-hero-visual .enterprise-hero-svg { display: block; }
.product-factory-hero:has(.products-hero-visual) { grid-template-rows: auto auto; }
.route-factory-hero:has(.scenarios-hero-visual), .route-factory-hero:has(.enterprise-hero-visual) { grid-template-rows: auto auto; }
.products-hero-visual, .scenarios-hero-visual, .enterprise-hero-visual { grid-column: 1 / -1; }
.home-ops-radar { position: absolute; right: 16px; bottom: 16px; width: 80px; height: 96px; opacity: 0.92; }
.sf-radar-sweep { }
/* SDLC ring: hover lifts the industrial diagram into an interactive system map */
.sdlc-ring-svg { cursor: crosshair; overflow: visible; }
.sdlc-ring-svg .sdlc-core { transition: filter 300ms var(--ease-smooth); }
.sdlc-ring-svg:hover .sdlc-core { filter: drop-shadow(0 0 18px rgba(239,111,46,.55)); }
.sdlc-ring-svg .sdlc-orbit-text { transition: fill 200ms var(--ease-smooth), font-weight 200ms var(--ease-smooth); }
.sdlc-ring-svg:hover .sdlc-orbit-text { fill: rgba(239,111,46,.9); font-weight: 600; }
.sdlc-ring-svg .sdlc-core-text { transition: fill 200ms var(--ease-smooth); }
.sdlc-ring-svg:hover .sdlc-core-text { fill: #ef6f2e; }
.sf-dashboard-live { animation: live-pulse 1.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.home-ops-topline { color: rgba(255,255,255,.68); border-bottom: 1px solid rgba(255,255,255,.13); }
.home-ops-stage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; }
.home-ops-stage { min-height: 218px; padding: 16px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.052); }
.home-ops-stage h3 { color: var(--color-text-inverse); font-family: var(--font-mono); font-size: 13px; line-height: 1.1; letter-spacing: .07em; }
.home-ops-stage p { min-height: 58px; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.45; }
.home-ops-stage-num { color: rgba(255,255,255,.48); font-family: var(--font-mono); font-size: 11px; }
.home-ops-stage-metrics { align-self: end; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 6px -8px -8px; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-small); overflow: hidden; background: rgba(255,255,255,.09); }
.home-ops-stage-metrics div { display: grid; gap: 5px; min-height: 62px; padding: 10px; background: rgba(255,255,255,.045); }
.home-ops-stage-metrics small { color: rgba(255,255,255,.5); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.home-ops-stage-metrics strong { color: var(--color-text-inverse); font-family: var(--font-mono); font-size: clamp(22px, 2.2vw, 34px); line-height: 1; }
.home-ops-spark-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-ops-spark { grid-template-columns: 1fr; align-content: space-between; min-height: 168px; }
.home-ops-spark-head { display: grid; gap: 8px; }
.home-ops-spark small { color: rgba(255,255,255,.5); font-family: var(--font-mono); font-size: 11px; line-height: 1.35; }
.home-ops-spark svg { height: 48px; }
.home-ops-spark-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 6px; }
.home-ops-spark-foot .spark-delta { display: inline-block; margin-top: 0; color: #bfb7b3; font-family: var(--font-mono); font-size: 22px; font-weight: 600; line-height: 1; letter-spacing: 0; }
.home-ops-spark-foot .spark-delta.is-positive { color: #3DF59A; }
.home-ops-spark-foot .spark-delta.is-neutral { color: #bfb7b3; }
.home-ops-spark-foot small { color: rgba(255,255,255,.5); font-family: var(--font-mono); font-size: 10px; line-height: 1.3; text-align: right; max-width: 60%; }
/* Page-hero motion: compact animated ops panel for text-heavy pages
   (legal/about/contact/blog/changelog/security). Reuses home-ops visual language
   (grid pattern drift + scan line + rolling numbers + flowing sparklines + LIVE pulse)
   so legal/terms/about pages are no longer static text walls. */
.page-hero-motion { width: min(560px, 100%); justify-self: center; }
.page-hero-panel { position: relative; isolation: isolate; min-height: 0; padding: clamp(18px, 2.2vw, 28px); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-container); background: var(--color-surface-inverse); color: var(--color-text-inverse); box-shadow: var(--shadow-lg); overflow: hidden; animation: agentnetConsoleFrameIn .9s var(--ease-out-expo) .16s both; }
.page-hero-panel::before { content: ''; position: absolute; inset: -1px; background-image: linear-gradient(rgba(255,255,255,.065) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.065) 1px, transparent 1px); background-size: 42px 42px; opacity: .72; z-index: -2; pointer-events: none; }
.page-hero-panel > * { position: relative; z-index: 1; }
.page-hero-panel .panel-bar { color: rgba(255,255,255,.68); border-bottom: 1px solid rgba(255,255,255,.13); padding-bottom: var(--space-2); }
.page-hero-panel .status { background: rgba(255,255,255,.06); color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.13); animation: live-pulse 1.6s ease-in-out infinite; }
.page-hero-panel h3 { color: var(--color-text-inverse); font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; letter-spacing: -0.01em; }
.page-hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.page-hero-metrics > div { display: grid; gap: 6px; padding: var(--space-1) 0; }
.page-hero-metrics small { color: rgba(255,255,255,.56); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; }
.page-hero-metrics strong { color: var(--color-text-inverse); font-family: var(--font-mono); font-size: clamp(20px, 2.4vw, 28px); line-height: 1; }
.page-hero-sparks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.page-hero-spark { min-height: 118px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.home-definition-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.home-definition-pillar { --pillar-viz-play: paused; display: grid; gap: var(--space-2); min-height: 420px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); transition: transform .25s var(--ease-smooth), border-color .25s var(--ease-smooth), box-shadow .25s var(--ease-smooth), background .25s var(--ease-smooth); }
.home-definition-pillar[data-ready="true"] { --pillar-viz-play: running; }
.home-definition-pillar:hover { transform: translateY(-4px); border-color: var(--color-accent-warm); background: #080706; box-shadow: var(--shadow-hover), var(--shadow-glow-warm); }
.home-definition-pillar:hover .pillar-viz { filter: brightness(1.15); }
.home-definition-pillar:hover .home-definition-chips div:first-child { border-color: rgba(239,111,46,.25); }
.home-definition-num { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--color-border); border-radius: 50%; font-family: var(--font-mono); color: var(--color-text-muted); background: repeating-linear-gradient(135deg, var(--color-surface), var(--color-surface) 6px, var(--color-background-secondary) 6px, var(--color-background-secondary) 12px); }
.home-definition-pillar h2, .home-definition-pillar h3 { font-size: clamp(21px, 2.2vw, 30px); }
.pillar-viz { width: 100%; height: auto; max-width: 220px; margin: var(--space-1) 0; opacity: .9; transition: filter .25s var(--ease-smooth); }
.pillar-radar-frame { transform-box: fill-box; transform-origin: center; stroke-dasharray: 280; stroke-dashoffset: 280; animation: pillarRadarFrame 900ms var(--ease-out-expo) forwards; animation-play-state: var(--pillar-viz-play); }
.pillar-bar { transform-box: fill-box; transform-origin: left center; animation: pillarBarGrow 700ms var(--ease-out-expo) forwards; animation-delay: var(--bar-delay, 0s); animation-play-state: var(--pillar-viz-play); }
.pillar-loop-edge { animation: pillarLoopEdge 800ms var(--ease-out-expo) forwards; animation-delay: var(--loop-edge-delay, 0ms); animation-play-state: var(--pillar-viz-play); }
.home-definition-chips { align-self: end; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; background: var(--color-border); }
.home-definition-chips div { min-height: 72px; padding: 10px; background: var(--color-background-secondary); transition: background .25s var(--ease-smooth); }
.home-definition-pillar:hover .home-definition-chips div { background: #0f0e0d; }
.home-definition-chips small { display: block; color: #bfb7b3; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.home-definition-chips strong { display: block; margin-top: 6px; color: #bfb7b3; font-size: 12px; line-height: 1.2; }

/* Factory-style product page: the product catalog is introduced as a live operating map */
.product-factory-hero { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr); align-items: start; gap: clamp(32px, 5.5vw, 76px); width: min(var(--hero-max-w), calc(100vw - 48px)); margin-left: 50%; transform: translateX(-50%); min-height: calc(100vh - 112px); padding: clamp(48px, 6vh, 76px) 0 clamp(40px, 7vh, 88px); scroll-margin-top: 92px; background: var(--hero-bg); color: var(--hero-text); overflow: hidden; isolation: isolate; }
.product-factory-hero::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -2; background: var(--hero-bg); }
.product-factory-hero::after { content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; background-image: linear-gradient(var(--hero-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px); background-size: 44px 44px; opacity: .6; pointer-events: none; }
.product-factory-copy { display: grid; justify-items: start; gap: var(--space-2); min-width: 0; text-align: left; }
.product-factory-copy .eyebrow { background: transparent; border-color: var(--hero-border-strong); color: var(--hero-text-muted); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; }
.product-factory-copy h1 { max-width: 780px; color: var(--hero-text); opacity: 0; transform: translateY(18px); animation: industrialTextRise .64s var(--ease-out-expo) both; }
.product-factory-copy .lead { max-width: 660px; color: var(--hero-text-muted); opacity: 0; transform: translateY(12px); animation: industrialTextRise .64s var(--ease-out-expo) .14s both; }
.product-factory-copy .industrial-actions { justify-content: flex-start; }
.product-factory-hero .industrial-actions .button,
.product-factory-hero .industrial-actions .industrial-primary-cta { background: var(--hero-text); border-color: var(--hero-text); color: var(--hero-bg); }
.product-factory-hero .industrial-actions .button.secondary,
.product-factory-hero .industrial-actions .button:not(.industrial-primary-cta):not(.start) { background: transparent; border-color: var(--hero-border-strong); color: var(--hero-text); }
.product-factory-hero .industrial-actions .button:hover,
.product-factory-hero .industrial-actions .industrial-primary-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-hover); }
.product-factory-hero .industrial-primary-cta .cta-note { color: rgba(0,0,0,.6); }
.product-factory-proof { display: flex; flex-wrap: wrap; align-items: stretch; gap: 1px; width: min(100%, 760px); margin-top: var(--space-2); border: 1px solid var(--hero-border-strong); border-radius: var(--radius-card); background: var(--hero-border-strong); overflow: hidden; opacity: 0; animation: industrialTextRise .64s var(--ease-out-expo) .26s both; }
.product-factory-proof a { flex: 1 1 126px; display: grid; align-content: start; gap: 5px; min-height: 88px; padding: 12px; background: var(--hero-bg-elev); transition: transform .2s var(--ease-smooth), background .2s var(--ease-smooth); }
.product-factory-proof a:hover { transform: translateY(-1px); background: rgba(255,255,255,.06); }
.product-factory-proof span { color: var(--hero-text-soft); font-family: var(--font-mono); font-size: 12px; }
.product-factory-proof strong { color: var(--hero-text); font-size: 13px; font-weight: 800; line-height: 1.15; }
.product-factory-proof small { color: var(--hero-text-muted); font-size: 11px; line-height: 1.25; }
.product-factory-dashboard { position: relative; display: grid; gap: var(--space-2); min-width: 0; min-height: 640px; padding: clamp(18px, 2.5vw, 26px); border: 1px solid var(--hero-border-strong); border-radius: var(--radius-container); background: var(--hero-bg-elev); box-shadow: var(--shadow-xl); overflow: hidden; isolation: isolate; animation: agentnetConsoleFrameIn .9s var(--ease-out-expo) .1s both; }
.product-factory-dashboard::before { content: ''; position: absolute; inset: -1px; background-image: linear-gradient(var(--hero-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px); background-size: 38px 38px; opacity: .58; z-index: -1; }
.factory-dashboard-topline { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding-bottom: var(--space-2); border-bottom: 1px solid var(--hero-border); color: var(--hero-text-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.factory-dashboard-main { display: grid; grid-template-columns: minmax(118px, .5fr) minmax(0, 1fr); align-items: center; gap: var(--space-2); padding: clamp(18px, 2.5vw, 28px); border: 1px solid var(--hero-border); border-radius: var(--radius-card); background: rgba(255,255,255,.04); }
.factory-orbit { position: relative; width: min(160px, 100%); aspect-ratio: 1; border: 1px solid var(--hero-border-strong); border-radius: 50%; background: radial-gradient(circle, transparent 0 30%, var(--hero-border) 31% 32%, transparent 33% 60%, var(--hero-border) 61% 62%, transparent 63%); }
.factory-orbit::before, .factory-orbit::after { content: ''; position: absolute; inset: 18%; border: 1px solid var(--hero-border-strong); border-radius: 50%; transform: rotate(22deg) scaleY(.58); }
.factory-orbit::after { transform: rotate(-34deg) scaleY(.5); }
.factory-orbit span { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translate(-50%, -50%); background: currentColor; box-shadow: 0 0 0 10px rgba(255,255,255,.08); animation: industrialPulse 1.8s ease-in-out infinite; }
.factory-orbit i { position: absolute; left: 50%; top: 50%; width: 42%; height: 1px; transform-origin: left center; background: currentColor; animation: industrialRadarSweep 4.6s linear infinite; }
.factory-command { display: grid; gap: 6px; }
.factory-command span { color: var(--hero-text-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.factory-command strong { color: var(--hero-text); font-family: var(--font-mono); font-size: clamp(48px, 7vw, 82px); line-height: 1; font-weight: 800; }
.factory-command p { color: var(--hero-text-muted); }
.factory-dashboard-main .console-sparkline { grid-column: 1 / -1; }
.factory-system-list { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(96px, .34fr) minmax(0, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--hero-border); border-radius: var(--radius-card); background: var(--hero-border); }
.factory-system-list span, .factory-system-list strong { min-width: 0; padding: 10px 12px; background: var(--hero-bg-elev); line-height: 1.35; }
.factory-system-list span { color: var(--hero-text-muted); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.factory-system-list strong { color: var(--hero-text); font-size: 13px; overflow-wrap: anywhere; }
.product-stage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); align-items: stretch; }
.product-stage-card { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; min-height: 208px; padding: clamp(14px, 1.6vw, 20px); border: 1px solid var(--hero-border); border-radius: var(--radius-card); background: rgba(255,255,255,.04); box-shadow: var(--shadow-floating); transition: transform .2s var(--ease-smooth), box-shadow .2s var(--ease-smooth), border-color .2s var(--ease-smooth); }
.product-stage-card:nth-child(4), .product-stage-card:nth-child(5) { min-height: 182px; }
.product-stage-card:hover { transform: translateY(-2px) scale(1.01); border-color: var(--hero-border-strong); background: rgba(255,255,255,.07); box-shadow: var(--shadow-hover); }
.product-stage-card > span { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--hero-border); border-radius: 999px; color: var(--hero-text-muted); font-family: var(--font-mono); font-size: 12px; }
.product-stage-card h2 { color: var(--hero-text); font-size: 16px; line-height: 1.15; font-family: var(--font-mono); letter-spacing: 0; }
.product-stage-card p { color: var(--hero-text-muted); font-size: 13px; line-height: 1.55; }
.stage-metrics { display: grid; grid-template-columns: 1fr; gap: 5px; padding-top: 10px; border-top: 1px solid var(--hero-border); align-self: end; }
.stage-metric { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; }
.stage-metric small { color: var(--hero-text-soft); font-family: var(--font-mono); font-size: 9px; line-height: 1.2; white-space: nowrap; }
.stage-metric strong { color: var(--hero-text); font-family: var(--font-mono); font-size: 11px; line-height: 1.2; white-space: nowrap; text-align: right; }
.product-factory-definition { display: grid; gap: var(--space-3); }
.factory-definition-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--space-2); }
.factory-definition-card { position: relative; display: grid; gap: var(--space-1); min-height: 300px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); transition: transform .2s var(--ease-smooth), box-shadow .2s var(--ease-smooth), border-color .2s var(--ease-smooth); }
.factory-definition-card:first-child { min-height: 360px; }
.factory-definition-card:hover { transform: translateY(-2px); border-color: var(--color-border-strong); background: #020202; box-shadow: var(--shadow-sm); }
.factory-definition-card span { color: var(--color-text-muted); font-family: var(--font-mono); font-size: 14px; }
.factory-definition-card h3 { font-size: clamp(20px, 2.2vw, 30px); }
.factory-definition-card p { align-self: end; }

/* Factory-style conversion funnel: pricing and checkout keep the same account -> delivery rhythm */
.pricing-factory-hero, .checkout-factory-hero { position: relative; display: grid; grid-template-columns: minmax(0, .86fr) minmax(500px, 1.14fr); align-items: start; gap: clamp(32px, 5.5vw, 76px); width: min(var(--hero-max-w), calc(100vw - 48px)); margin-left: 50%; transform: translateX(-50%); min-height: calc(100vh - 112px); padding: clamp(48px, 6vh, 76px) 0 clamp(40px, 7vh, 88px); background: var(--hero-bg); color: var(--hero-text); overflow: hidden; isolation: isolate; }
.pricing-factory-hero::before, .checkout-factory-hero::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -2; background: var(--hero-bg); }
.pricing-factory-hero::after, .checkout-factory-hero::after { content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; background-image: linear-gradient(var(--hero-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px); background-size: 44px 44px; opacity: .6; pointer-events: none; }
.pricing-factory-copy, .checkout-factory-copy { display: grid; justify-items: start; gap: var(--space-2); min-width: 0; text-align: left; }
.pricing-factory-copy .eyebrow, .checkout-factory-copy .eyebrow { background: transparent; border-color: var(--hero-border-strong); color: var(--hero-text-muted); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; }
.pricing-factory-copy h1, .checkout-factory-copy h1 { max-width: 760px; color: var(--hero-text); opacity: 0; transform: translateY(18px); animation: industrialTextRise .64s var(--ease-out-expo) both; }
.pricing-factory-copy .lead, .checkout-factory-copy .lead { max-width: 660px; color: var(--hero-text-muted); opacity: 0; transform: translateY(12px); animation: industrialTextRise .64s var(--ease-out-expo) .14s both; }
.pricing-factory-copy .industrial-actions, .checkout-factory-copy .industrial-actions { justify-content: flex-start; }
.pricing-factory-hero .industrial-actions .button, .pricing-factory-hero .industrial-actions .industrial-primary-cta,
.checkout-factory-hero .industrial-actions .button, .checkout-factory-hero .industrial-actions .industrial-primary-cta { background: var(--hero-text); border-color: var(--hero-text); color: var(--hero-bg); }
.pricing-factory-hero .industrial-actions .button.secondary, .pricing-factory-hero .industrial-actions .button:not(.industrial-primary-cta):not(.start),
.checkout-factory-hero .industrial-actions .button.secondary, .checkout-factory-hero .industrial-actions .button:not(.industrial-primary-cta):not(.start) { background: transparent; border-color: var(--hero-border-strong); color: var(--hero-text); }
.pricing-factory-hero .industrial-actions .button:hover, .pricing-factory-hero .industrial-actions .industrial-primary-cta:hover,
.checkout-factory-hero .industrial-actions .button:hover, .checkout-factory-hero .industrial-actions .industrial-primary-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-hover); }
.pricing-factory-hero .industrial-primary-cta .cta-note, .checkout-factory-hero .industrial-primary-cta .cta-note { color: rgba(0,0,0,.6); }
.pricing-flow-strip { display: flex; flex-wrap: wrap; align-items: stretch; gap: 1px; width: min(100%, 700px); margin-top: var(--space-2); border: 1px solid var(--hero-border-strong); border-radius: var(--radius-card); background: var(--hero-border-strong); overflow: hidden; opacity: 0; animation: industrialTextRise .64s var(--ease-out-expo) .26s both; }
.pricing-flow-strip span, .pricing-flow-strip strong { display: grid; align-items: center; min-height: 46px; padding: 9px 12px; background: var(--hero-bg-elev); }
.pricing-flow-strip span { color: var(--hero-text-soft); font-family: var(--font-mono); font-size: 12px; }
.pricing-flow-strip strong { color: var(--hero-text); font-size: 13px; font-weight: 700; }
.pricing-control-plane, .checkout-control-plane { position: relative; display: grid; gap: var(--space-2); min-width: 0; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--hero-border-strong); border-radius: var(--radius-container); background: var(--hero-bg-elev); box-shadow: var(--shadow-xl); overflow: hidden; isolation: isolate; animation: agentnetConsoleFrameIn .9s var(--ease-out-expo) .1s both; }
.pricing-control-plane::before, .checkout-control-plane::before { content: ''; position: absolute; inset: -1px; background-image: linear-gradient(var(--hero-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px); background-size: 38px 38px; opacity: .58; z-index: -1; }
.pricing-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.pricing-kpi-grid article { display: grid; gap: 4px; min-height: 96px; padding: var(--space-2); border: 1px solid var(--hero-border); border-radius: var(--radius-card); background: rgba(255,255,255,.04); }
.pricing-kpi-grid span { color: var(--hero-text-muted); font-family: var(--font-mono); font-size: 11px; }
.pricing-kpi-grid strong { color: var(--hero-text); font-size: 18px; line-height: 1.2; }
.pricing-stage-map, .checkout-stage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.pricing-stage-map article, .checkout-stage-grid article { display: grid; gap: 8px; min-height: 176px; padding: var(--space-2); border: 1px solid var(--hero-border); border-radius: var(--radius-card); background: rgba(255,255,255,.04); box-shadow: var(--shadow-floating); transition: transform .2s var(--ease-smooth), box-shadow .2s var(--ease-smooth), border-color .2s var(--ease-smooth); }
.pricing-stage-map article:hover, .checkout-stage-grid article:hover { transform: translateY(-2px); border-color: var(--hero-border-strong); background: rgba(255,255,255,.07); box-shadow: var(--shadow-hover); }
.pricing-stage-map article > span, .checkout-stage-grid article > span { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--hero-border); border-radius: 999px; color: var(--hero-text-muted); font-family: var(--font-mono); font-size: 12px; }
.pricing-stage-map h2, .checkout-stage-grid h2 { color: var(--hero-text); font-size: 17px; line-height: 1.15; font-family: var(--font-mono); letter-spacing: 0; }
.pricing-stage-map p, .checkout-stage-grid p { color: var(--hero-text-muted); }
.checkout-stage-grid strong { color: var(--hero-text); font-family: var(--font-mono); font-size: 15px; word-break: break-word; }
.route-factory-hero { position: relative; display: grid; grid-template-columns: minmax(0, .86fr) minmax(500px, 1.14fr); align-items: start; gap: clamp(32px, 5.5vw, 76px); width: min(var(--hero-max-w), calc(100vw - 48px)); margin-left: 50%; transform: translateX(-50%); min-height: calc(100vh - 112px); padding: clamp(48px, 6vh, 76px) 0 clamp(40px, 7vh, 88px); background: var(--hero-bg); color: var(--hero-text); overflow: hidden; isolation: isolate; }
.route-factory-hero::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -2; background: var(--hero-bg); }
.route-factory-hero::after { content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; background-image: linear-gradient(var(--hero-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px); background-size: 44px 44px; opacity: .6; pointer-events: none; }
.route-factory-copy { display: grid; justify-items: start; gap: var(--space-2); min-width: 0; text-align: left; }
.route-factory-copy .eyebrow { background: transparent; border-color: var(--hero-border-strong); color: var(--hero-text-muted); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; }
.route-factory-copy h1 { max-width: 760px; color: var(--hero-text); opacity: 0; transform: translateY(18px); animation: industrialTextRise .64s var(--ease-out-expo) both; }
.route-factory-copy .lead { max-width: 660px; color: var(--hero-text-muted); opacity: 0; transform: translateY(12px); animation: industrialTextRise .64s var(--ease-out-expo) .14s both; }
.route-factory-copy .industrial-actions { justify-content: flex-start; }
.route-factory-hero .industrial-actions .button, .route-factory-hero .industrial-actions .industrial-primary-cta { background: var(--hero-text); border-color: var(--hero-text); color: var(--hero-bg); }
.route-factory-hero .industrial-actions .button.secondary, .route-factory-hero .industrial-actions .button:not(.industrial-primary-cta):not(.start) { background: transparent; border-color: var(--hero-border-strong); color: var(--hero-text); }
.route-factory-hero .industrial-actions .button:hover, .route-factory-hero .industrial-actions .industrial-primary-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-hover); }
.route-factory-hero .industrial-primary-cta .cta-note { color: rgba(0,0,0,.6); }
.route-control-plane { position: relative; display: grid; gap: var(--space-2); min-width: 0; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--hero-border-strong); border-radius: var(--radius-container); background: var(--hero-bg-elev); box-shadow: var(--shadow-xl); overflow: hidden; isolation: isolate; animation: agentnetConsoleFrameIn .9s var(--ease-out-expo) .1s both; }
.route-control-plane::before { content: ''; position: absolute; inset: -1px; background-image: linear-gradient(var(--hero-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px); background-size: 38px 38px; opacity: .58; z-index: -1; }
.route-stage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.route-stage-card { position: relative; display: grid; gap: 8px; min-height: 178px; padding: var(--space-2); border: 1px solid var(--hero-border); border-radius: var(--radius-card); background: rgba(255,255,255,.04); transition: transform .2s var(--ease-smooth), box-shadow .2s var(--ease-smooth), border-color .2s var(--ease-smooth); }
.route-stage-card:hover { transform: translateY(-2px); border-color: var(--hero-border-strong); background: rgba(255,255,255,.07); box-shadow: var(--shadow-lg); }
.route-stage-card > span { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--hero-border); border-radius: 999px; color: var(--hero-text-muted); font-family: var(--font-mono); font-size: 12px; }
.route-stage-card h2 { color: var(--hero-text); font-family: var(--font-mono); font-size: 18px; line-height: 1.18; }
.route-stage-card p { color: var(--hero-text-muted); }
.route-stage-card strong { color: var(--hero-text); font-family: var(--font-mono); font-size: 14px; }
.route-proof-strip { display: flex; flex-wrap: wrap; gap: 1px; border: 1px solid var(--hero-border-strong); border-radius: var(--radius-card); background: var(--hero-border-strong); overflow: hidden; }
.route-proof-strip span { flex: 1 1 112px; min-height: 38px; display: grid; place-items: center; padding: 8px 12px; background: var(--hero-bg-elev); color: var(--hero-text); font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
/* Route hero motion strip: LIVE pulse + rolling metrics + flowing sparklines.
   Keeps /scenarios and /enterprise-sales hero visibly running, not a static grid. */
.route-live-status { display: inline-flex; align-items: center; gap: 6px; color: var(--hero-text); font-family: var(--font-mono); font-size: 12px; }
.route-live-status .live-pulse { color: #3DF59A; font-weight: 700; }
.route-motion-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--hero-border); border-radius: var(--radius-card); background: var(--hero-border); overflow: hidden; }
.route-motion-metrics > div { display: grid; gap: 4px; padding: 10px 12px; background: var(--hero-bg-elev); }
.route-motion-metrics small { color: var(--hero-text-muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; }
.route-motion-metrics strong { color: var(--hero-text); font-family: var(--font-mono); font-size: clamp(18px, 2vw, 24px); line-height: 1; }
.route-motion-sparks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-1); }
.route-spark-card { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid var(--hero-border); border-radius: var(--radius-card); background: rgba(255,255,255,.04); }
.route-spark-head { display: flex; justify-content: space-between; align-items: baseline; }
.route-spark-head span { color: var(--hero-text-muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; }
.route-spark-head strong { color: var(--hero-text); font-family: var(--font-mono); font-size: 16px; line-height: 1; }
.route-spark-card svg { width: 100%; height: 36px; color: #3DF59A; overflow: visible; }
.route-spark-card small { color: var(--hero-text-muted); font-family: var(--font-mono); font-size: 10px; }
/* Anchor targets: keep sticky nav (72px) from covering card tops when jumping
   from footer /scenarios#sales etc. scroll-padding-top on <html> covers smooth
   scroll; scroll-margin-top on the card covers direct URL hash jumps. */
.scenario-card, .band-lite[id] > span[aria-hidden], [id="sales"], [id="support"], [id="approval"], [id="system"], [id="ecomm"] { scroll-margin-top: 92px; }
@keyframes industrialTextRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes agentnetConsoleFrameIn { from { opacity: 0; transform: scale(1.32) translateY(22vh); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes industrialRadarSweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes industrialPulse { 0%, 100% { box-shadow: 0 0 0 8px rgba(0,0,0,.4); } 50% { box-shadow: 0 0 0 18px rgba(10,10,10,.03); } }
@keyframes industrialLineSweep { 0% { transform: translateX(0) scaleX(.16); opacity: .4; } 45% { transform: translateX(22%) scaleX(1); opacity: .9; } 100% { transform: translateX(110%) scaleX(.2); opacity: 0; } }

/* Factory-aligned ambient slidePattern: a slow-sliding dot grid on every page.
   Gives life to static pages (pricing, about, product detail) without distraction.
   Applied globally via body::before. Opacity kept very low — ambient, not feature. */
@keyframes agentnetSlidePattern { from { background-position: 0 0; } to { background-position: 64px 64px; } }
/* Ambient grid: static only — continuous motion removed (density / honesty). */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(circle, rgba(255,255,255,0.018) 1px, transparent 1px); background-size: 32px 32px; }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

/* Footer: 3-col default (CN) / 4-col international (.footer-grid-4). Bottom: logo left, social+copyright right. */
.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.site-footer .footer-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 24px 36px; }
.footer-bottom { flex-wrap: wrap; }
.footer-bottom-meta { flex-wrap: wrap; justify-content: flex-end; }
.footer-bottom-meta > * { flex-shrink: 0; }

/* Section enter animation — Factory-style: larger displacement, staggered children.
   Supports both legacy .is-visible class and the new data-ready="true" trigger. */
.section, [data-reveal="industrial"] { opacity: 1; transition: opacity .64s var(--ease-out-expo), transform .64s var(--ease-out-expo); }
.section.is-pre, [data-reveal="industrial"].is-pre { opacity: 0; transform: translateY(28px); }
.section.in-view, .section.is-visible, [data-reveal="industrial"].is-visible,
.section[data-ready="true"], [data-reveal="industrial"][data-ready="true"] { opacity: 1; transform: none; }
.section.is-visible > *:nth-child(1):not(.slide-pattern-layer):not(.slide-pattern-overlay), [data-reveal="industrial"].is-visible > *:nth-child(1):not(.slide-pattern-layer):not(.slide-pattern-overlay),
.section[data-ready="true"] > *:nth-child(1):not(.slide-pattern-layer):not(.slide-pattern-overlay), [data-reveal="industrial"][data-ready="true"] > *:nth-child(1):not(.slide-pattern-layer):not(.slide-pattern-overlay) { animation: industrialTextRise .52s var(--ease-out-expo) .04s both; }
.section.is-visible > *:nth-child(2):not(.slide-pattern-layer):not(.slide-pattern-overlay), [data-reveal="industrial"].is-visible > *:nth-child(2):not(.slide-pattern-layer):not(.slide-pattern-overlay),
.section[data-ready="true"] > *:nth-child(2):not(.slide-pattern-layer):not(.slide-pattern-overlay), [data-reveal="industrial"][data-ready="true"] > *:nth-child(2):not(.slide-pattern-layer):not(.slide-pattern-overlay) { animation: industrialTextRise .52s var(--ease-out-expo) .12s both; }
.section.is-visible > *:nth-child(3):not(.slide-pattern-layer):not(.slide-pattern-overlay), [data-reveal="industrial"].is-visible > *:nth-child(3):not(.slide-pattern-layer):not(.slide-pattern-overlay),
.section[data-ready="true"] > *:nth-child(3):not(.slide-pattern-layer):not(.slide-pattern-overlay), [data-reveal="industrial"][data-ready="true"] > *:nth-child(3):not(.slide-pattern-layer):not(.slide-pattern-overlay) { animation: industrialTextRise .52s var(--ease-out-expo) .20s both; }
.section.is-visible > *:nth-child(4):not(.slide-pattern-layer):not(.slide-pattern-overlay), [data-reveal="industrial"].is-visible > *:nth-child(4):not(.slide-pattern-layer):not(.slide-pattern-overlay),
.section[data-ready="true"] > *:nth-child(4):not(.slide-pattern-layer):not(.slide-pattern-overlay), [data-reveal="industrial"][data-ready="true"] > *:nth-child(4):not(.slide-pattern-layer):not(.slide-pattern-overlay) { animation: industrialTextRise .52s var(--ease-out-expo) .28s both; }

/* data-ready reveal framework: declarative animation triggers via data-animate attribute.
   Use on new components; legacy .is-visible sections continue to work.
   Modifiers: fade-up, text-rise, console-frame, immediate, stagger-1..4. */
[data-animate~="fade-up"] { opacity: 0; transform: translateY(28px); transition: opacity .64s var(--ease-out-expo), transform .64s var(--ease-out-expo); }
[data-animate~="fade-up"][data-ready="true"] { opacity: 1; transform: none; }

[data-animate~="text-rise"] { opacity: 0; transform: translateY(18px); }
[data-animate~="text-rise"][data-ready="true"] { animation: industrialTextRise .64s var(--ease-out-expo) both; }
[data-animate~="text-rise"][data-ready="true"][data-animate~="stagger-1"] { animation-delay: var(--stagger-1); }
[data-animate~="text-rise"][data-ready="true"][data-animate~="stagger-2"] { animation-delay: var(--stagger-2); }
[data-animate~="text-rise"][data-ready="true"][data-animate~="stagger-3"] { animation-delay: var(--stagger-3); }
[data-animate~="text-rise"][data-ready="true"][data-animate~="stagger-4"] { animation-delay: var(--stagger-4); }
.mobile-ops-strip article[data-animate~="text-rise"][data-ready="true"] { animation-delay: var(--mobile-strip-delay, 0ms); }

[data-animate~="console-frame"] { opacity: 0; transform: scale(.96) translateY(24px); transform-origin: center bottom; }
[data-animate~="console-frame"][data-ready="true"] { animation: agentnetConsoleFrameIn .9s var(--ease-out-expo) both; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}
/* Card hover glow — Factory-style border luminance */
.card:hover, .product-shot-card:hover, .scenario-card:hover, .plan-card:hover, .disclosure-card:hover, .industrial-card:hover, .home-definition-pillar:hover, .product-matrix-card:hover, .factory-definition-card:hover { box-shadow: var(--shadow-hover), 0 0 0 1px rgba(255,255,255,.18) inset; }
.mission-control-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(24px, 4vw, 56px); margin: var(--space-6) 0; }
.mission-control-copy { display: grid; gap: var(--space-2); }
.mission-control-copy h2 { margin: 0; max-width: 680px; color: var(--color-text); font-size: clamp(30px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 500; }
.mission-control-copy p:not(.eyebrow) { max-width: 620px; margin: 0; color: var(--color-text-muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; }
.mission-terminal-shell { position: relative; display: grid; gap: 0; min-width: 0; border: 1px solid var(--hero-border-strong); border-radius: var(--radius-container); background: #070606; overflow: hidden; box-shadow: var(--shadow-console); }
.mission-terminal-topline { display: flex; justify-content: space-between; gap: var(--space-2); padding: 12px 14px; border-bottom: 1px solid var(--hero-border); color: var(--hero-text-muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.mission-terminal-topline span:last-child { color: var(--color-accent-warm); }
.mission-terminal-shell canvas { width: 100%; aspect-ratio: 920 / 420; background: radial-gradient(circle at 78% 18%, rgba(239,111,46,.12), transparent 34%), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px), #070606; background-size: auto, 24px 24px, 24px 24px, auto; }
.mission-terminal-fallback { display: none; }
.mission-terminal-fallback div { display: grid; grid-template-columns: 80px 1fr auto; gap: 12px; padding: 9px 14px; border-top: 1px solid var(--hero-border); color: var(--hero-text-muted); font-family: var(--font-mono); font-size: 11px; }
.mission-terminal-fallback strong { color: var(--hero-text); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .industrial-console::before, .home-ops-console::before, .home-ops-console::after, .feature-ops-media::before, .feature-ops-pulse::before, .feature-ops-pulse::after, .product-live-plane::before, .product-live-line, .scenario-ops-plane::before, .console-radar::before, .console-radar span, .product-factory-dashboard::before, .factory-orbit i, .factory-orbit span, .pricing-control-plane::before, .checkout-control-plane::before, .route-control-plane::before { animation: none !important; }
  .home-ops-console-svg .sf-radar-sweep,
  .home-ops-console-svg .sf-dashboard-live { animation: none !important; }
}

/* ───── Responsive: three-tier graceful degradation at 1024 / 768 / 480 ───── */

/* iPad / mid size: nav font one step smaller; footer stays one row of equal columns */
@media (max-width: 1024px) {
  main { width: min(100% - 32px, 1200px); }
  .nav-links a, .nav-summary { font-size: 13px; padding: 0 10px; }
  .nav-actions a, .button, button { font-size: 13px; }
  h1 { font-size: clamp(36px, 5.6vw, 60px); }
  h2 { font-size: clamp(24px, 3vw, 36px); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer .footer-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px 24px; }
  .footer-bottom-meta { justify-content: flex-end; }
  .developer-block { grid-template-columns: 1fr; gap: var(--space-2); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-matrix-grid, .stories-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .relationship-strip { grid-template-columns: 1fr; }
  .product-shot-grid { grid-template-columns: repeat(2, 1fr); }
  .industrial-home-hero { grid-template-columns: 1fr; min-height: auto; }
  .industrial-console { min-height: 560px; }
  .home-ops-stage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-ops-spark-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-factory-hero { grid-template-columns: 1fr; min-height: auto; }
  .mission-control-section { grid-template-columns: 1fr; }
  .product-stage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-stage-card:last-child { grid-column: 1 / -1; }
  .factory-definition-grid { grid-template-columns: 1fr; }
  .factory-definition-card, .factory-definition-card:first-child { min-height: 240px; }
  .pricing-factory-hero, .checkout-factory-hero, .route-factory-hero { grid-template-columns: 1fr; min-height: auto; }
  .pricing-stage-map, .checkout-stage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tablet portrait / large phone: single-column content, mega menu collapsed, stats single column */
@media (max-width: 768px) {
  main { width: min(100% - 24px, 1200px); padding: 0 0 var(--space-4); }
  .site-nav { min-height: 60px; grid-template-columns: auto 1fr auto; padding: 0 16px; gap: 12px; }
  .nav-links { display: none; }
  .nav-actions a:not(.start) { display: none; }
  .nav-actions .nav-account-chip { display: inline-flex; }
  .hero { padding: min(8vh, 64px) 0 var(--space-3); gap: var(--space-3); }
  .hero h1 { font-size: clamp(32px, 9vw, 48px); letter-spacing: 0.01em; }
  .hero-h1-staggered { gap: 0.04em; line-height: 1.12; }
  .hero-h1-staggered .hero-line-2::before, .hero-h1-staggered .hero-line-2::after { width: 1.2em; }
  .hero-lead, .lead { font-size: 16px; }
  .hero .actions, .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .button, .hero .actions a.button { width: 100%; }
  .industrial-home-hero { width: 100%; margin-left: 0; transform: none; padding: 48px 0; gap: var(--space-2); }
  .industrial-home-hero, .industrial-hero-copy { max-width: calc(100vw - 32px); overflow-x: hidden; }
  .industrial-hero-copy { justify-items: stretch; }
  .industrial-hero-copy, .industrial-hero-copy .hero-h1-staggered, .industrial-hero-copy .hero-lead, .industrial-hero-copy .hero-equation, .industrial-actions, .industrial-console, .home-ops-console { width: 100%; max-width: calc(100vw - 32px); }
  .industrial-hero-copy .hero-h1-staggered { width: 100%; max-width: 100%; justify-items: start; overflow-wrap: anywhere; }
  .industrial-hero-copy .hero-line { width: 100%; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .industrial-hero-copy .hero-lead, .industrial-hero-copy .hero-equation { max-width: 100%; overflow-wrap: anywhere; }
  .industrial-actions .button { width: 100%; }
  .mobile-ops-strip { display: grid; }
  .industrial-console, .home-ops-console { width: 100%; max-width: calc(100vw - 32px); min-height: 0; padding: var(--space-2); }
  .industrial-console *, .home-ops-console *, .console-stage *, .console-grid * { min-width: 0; }
  .console-topline { display: grid; grid-template-columns: 1fr; flex-wrap: wrap; align-items: flex-start; }
  .console-topline span { max-width: 100%; overflow-wrap: anywhere; }
  .home-ops-stage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-ops-spark-grid { grid-template-columns: 1fr; }
  .home-ops-stage { min-height: 148px; }
  .home-ops-spark { grid-template-columns: 1fr; min-height: 118px; }
  .console-stage, .console-grid, .industrial-card-row { grid-template-columns: 1fr; }
  .console-flow { grid-template-columns: 1fr 1fr; }
  .product-factory-hero { padding: 48px 0; gap: var(--space-3); max-width: calc(100vw - 32px); overflow-x: hidden; }
  .product-factory-copy { justify-items: stretch; }
  .product-factory-copy, .product-factory-copy h1, .product-factory-copy .lead, .product-factory-dashboard { width: min(100%, 340px); max-width: 340px; }
  .product-factory-copy h1, .product-factory-copy .lead { overflow-wrap: anywhere; }
  .product-factory-proof { width: 100%; }
  .product-factory-proof a { min-height: 86px; padding: 10px; }
  .product-factory-dashboard { max-width: calc(100vw - 32px); min-height: 0; padding: var(--space-2); }
  .product-factory-dashboard *, .factory-dashboard-main *, .product-stage-grid * { min-width: 0; }
  .factory-dashboard-topline { display: grid; grid-template-columns: 1fr; align-items: start; }
  .factory-dashboard-main, .product-stage-grid, .factory-system-list { grid-template-columns: 1fr; }
  .product-stage-card:last-child { grid-column: auto; }
  .product-stage-card { min-height: 210px; }
  .stage-metrics { grid-template-columns: 1fr; }
  .pricing-factory-hero, .checkout-factory-hero, .route-factory-hero { padding: 48px 0; gap: var(--space-3); max-width: calc(100vw - 32px); overflow-x: hidden; }
  .mission-control-section { gap: var(--space-3); }
  .mission-terminal-topline { display: grid; grid-template-columns: 1fr; }
  .pricing-factory-copy, .checkout-factory-copy, .route-factory-copy { justify-items: stretch; }
  .pricing-factory-copy, .pricing-factory-copy h1, .pricing-factory-copy .lead, .pricing-control-plane, .checkout-factory-copy, .checkout-factory-copy h1, .checkout-factory-copy .lead, .checkout-control-plane, .route-factory-copy, .route-factory-copy h1, .route-factory-copy .lead, .route-control-plane { width: min(100%, 340px); max-width: 340px; }
  .pricing-control-plane, .checkout-control-plane, .route-control-plane { max-width: calc(100vw - 32px); padding: var(--space-2); }
  .pricing-kpi-grid, .pricing-stage-map, .checkout-stage-grid, .route-stage-grid { grid-template-columns: 1fr; }
  .pricing-control-plane *, .checkout-control-plane *, .route-control-plane * { min-width: 0; }
  .pricing-tabs { flex-wrap: wrap; gap: 6px; }
  .mega-panel { position: static; transform: none; min-width: 0; max-width: 100%; box-shadow: none; opacity: 1; pointer-events: auto; padding: 0; border: 0; background: transparent; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-eyebrow { display: none; }
  .has-mega { display: block; width: 100%; }
  /* Mobile footer: 2×2 then single column on very small; bottom row stacks */
  .footer-grid, .site-footer .footer-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: var(--space-2); padding: 0 16px; }
  .footer-column { gap: var(--space-1); padding: 0; }
  .footer-column-head { padding: 0; }
  .footer-column-links { display: grid; gap: var(--space-1); }
  .footer-column-links a { padding: 6px 4px; min-height: 36px; display: flex; align-items: center; font-size: 14px; color: var(--color-text-muted); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--space-2); margin-top: var(--space-3); padding: var(--space-2) 16px 0; }
  .footer-bottom-meta { justify-content: flex-start; width: 100%; }
  .footer-meta { display: none; }
  .footer-col { font-size: 13px; }
  .stats-grid, .brand-explainer-list, .product-matrix-grid, .stories-grid, .feature-grid, .product-shot-grid, .enterprise-readiness-grid, .plans, .agent-roles-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 24px; }
  .product-stack { gap: var(--space-3); }
  .product-section { grid-template-columns: 1fr; gap: var(--space-2); }
  .product-section .mockup { order: -1; }
  .relationship-strip { padding: var(--space-3); }
  .relationship-chat { grid-template-columns: 1fr; }
  .comparison-table, .table-card table { font-size: 12px; }
  .table-card { overflow-x: auto; }
  .solution-rail { grid-auto-columns: minmax(78%, 88%); }
  .code-card pre { font-size: 11.5px; padding: 12px; }
  .code-lang-tab span { padding: 4px 8px; font-size: 11px; }
  .faq-item summary { font-size: 14px; padding: 14px 16px; }
  .final-cta { padding: var(--space-3); text-align: center; }
}

/* Phone: tighten further — single column, full-width buttons, smaller font sizes */
@media (max-width: 480px) {
  main { width: 100%; padding: 0 16px var(--space-3); }
  .site-nav { padding: 0 12px; min-height: 56px; }
  .brand { font-size: 14px; }
  .brand::before { width: 26px; height: 26px; }
  .nav-actions .start { padding: 0 10px; min-height: 36px; font-size: 12px; }
  .hero { padding: 32px 0 var(--space-2); }
  .hero h1 { font-size: 38px; }
  .hero-h1-staggered .hero-line-1 { font-size: 0.85em; }
  .hero-h1-staggered .hero-line-2 { font-size: 0.34em; letter-spacing: 0.24em; gap: 0.3em; }
  .hero-h1-staggered .hero-line-2::before, .hero-h1-staggered .hero-line-2::after { width: 0.8em; }
  h2 { font-size: 22px; }
  h3 { font-size: 17px; }
  .section { padding: 0; margin: var(--space-3) 0; }
  .card, .plan-card, .product-matrix-card, .story-card, .feature-card, .workspace-card { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .button, button { padding: 0 14px; min-height: 42px; font-size: 13px; }
  .hero-visual { border-radius: var(--radius-small); }
  .hero-floating-status { position: static; margin-bottom: var(--space-2); }
  .industrial-hero-copy .hero-h1-staggered { font-size: clamp(30px, 10vw, 40px); line-height: 1.12; }
  .industrial-hero-copy .hero-h1-staggered { display: block; width: 100%; }
  .industrial-hero-copy, .industrial-hero-copy .hero-h1-staggered, .industrial-hero-copy .hero-lead, .industrial-hero-copy .hero-equation, .industrial-actions, .industrial-console, .home-ops-console { width: min(100%, 340px); max-width: 340px; }
  .industrial-display { font-size: clamp(44px, 14vw, 54px); letter-spacing: -0.045em; }
  .hero-mono-lead { font-size: 13px; line-height: 1.45; }
  .mobile-ops-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 340px); max-width: 340px; }
  .industrial-hero-copy .hero-lead, .industrial-hero-copy .hero-equation { display: block; }
  .industrial-console, .home-ops-console { border-radius: var(--radius-small); justify-self: start; }
  .home-ops-stage-grid { grid-template-columns: 1fr; }
  .home-ops-stage { min-height: 124px; }
  .console-topline { display: grid; grid-template-columns: 1fr; }
  .console-flow { grid-template-columns: 1fr; }
  .console-stage { padding: var(--space-2); }
  .console-radar { width: min(180px, 78vw); }
  .console-metric strong { font-size: 44px; }
  .product-detail-hero-facts { grid-template-columns: 1fr; }
  .mission-control-copy h2 { font-size: 30px; }
  .mission-terminal-fallback { display: grid; }
  .mission-terminal-shell canvas { aspect-ratio: 1 / .92; }
  .products-hero-svg, .scenarios-hero-svg, .enterprise-hero-svg { width: 100%; height: auto; display: block; }
  .products-hero-svg-wrap, .scenarios-hero-svg-wrap, .enterprise-hero-svg-wrap { margin-top: 24px; }
}

/* ---- New animation keyframes + classes (spec.md: slidePattern, delayedFadeIn, pageTransitionIn, charReveal, scroll-fade-up, accordion, megamenu, marquee-scroll, SDLC ring) ---- */

/* 1. slidePattern — card hover diagonal pattern slide */
@keyframes slidePattern {
  0% { background-position: 0 0; }
  100% { background-position: 28.28px -28.28px; }
}
.slide-pattern-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(45deg, transparent 0px, transparent 2px, currentColor 2px, currentColor 4px);
  background-size: 7.07px 7.07px;
  animation: slidePattern 2s linear infinite;
  animation-play-state: paused;
  will-change: transform;
  opacity: 0;
}
/* Pattern hover only on intentional .group cards; lower opacity for less noise */
.group:hover .slide-pattern-layer { animation-play-state: running; opacity: 0.06; }

/* 2. delayedFadeIn — overlay delayed fade-in */
@keyframes delayedFadeIn {
  0%, 80% { opacity: 0; }
  100% { opacity: 1; }
}
.slide-pattern-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: rgba(61,245,154,0.04);
  will-change: transform;
  animation: delayedFadeIn 100ms ease-out forwards paused;
}
.group:hover .slide-pattern-overlay { animation-play-state: running; }

/* 3. pageTransitionIn — route transition enter */
@keyframes pageTransitionIn {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}
.page-transition-in { animation: pageTransitionIn 0.32s var(--ease-out-expo) backwards; }
.status-quiet { opacity: 0.75; font-weight: 500; letter-spacing: 0.06em; }
.page-hero-static .page-hero-facts strong { font-variant-numeric: normal; }

@media (prefers-reduced-motion: reduce) { .page-transition-in { animation: none; } }

/* 4. charReveal — Hero per-character enter (Factory.ai-aligned)
   Word-level stagger + per-character delay, 720ms dramatic easing. */
@keyframes charReveal {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}
.char-reveal {
  display: inline-block;
  opacity: 0;
  animation: charReveal 0.64s var(--ease-dramatic) forwards;
  animation-delay: calc(var(--word-delay, 0ms) + var(--char-delay, 0ms));
}
.char-reveal-word {
  display: inline-block;
  white-space: nowrap;
}
/* Hard safety: never leave hero words invisible if animation is interrupted. */
@keyframes charRevealSafety {
  to { opacity: 1; transform: none; }
}
.industrial-display .char-reveal {
  animation-name: charReveal, charRevealSafety;
  animation-duration: 0.64s, 0.01s;
  animation-timing-function: var(--ease-dramatic), linear;
  animation-fill-mode: forwards, forwards;
  animation-delay: calc(var(--word-delay, 0ms) + var(--char-delay, 0ms)), 1.4s;
}
/* nth-of-type on word wrappers — works without JS variable injection */
.industrial-display .char-reveal-word:nth-of-type(1) .char-reveal { animation-delay: 0ms, 1.4s; }
.industrial-display .char-reveal-word:nth-of-type(2) .char-reveal { animation-delay: 90ms, 1.4s; }
.industrial-display .char-reveal-word:nth-of-type(3) .char-reveal { animation-delay: 180ms, 1.4s; }
.industrial-display .char-reveal-word:nth-of-type(4) .char-reveal { animation-delay: 270ms, 1.4s; }
.industrial-display .char-reveal-word:nth-of-type(5) .char-reveal { animation-delay: 360ms, 1.4s; }
.industrial-display .char-reveal-word:nth-of-type(6) .char-reveal { animation-delay: 450ms, 1.4s; }
.industrial-display .char-reveal-word:nth-of-type(7) .char-reveal { animation-delay: 540ms, 1.4s; }
.industrial-display .char-reveal-word:nth-of-type(8) .char-reveal { animation-delay: 630ms, 1.4s; }
@media (prefers-reduced-motion: reduce) { .char-reveal, .industrial-display .char-reveal { opacity: 1; animation: none; } }

/* 5. scroll-fade-up — scroll-triggered fade-up */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.36s var(--ease-out-expo), transform 0.36s var(--ease-out-expo);
}
.scroll-fade-up.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .scroll-fade-up { opacity: 1; transform: none; transition: none; } }

/* Cinematic scroll reveal: scale + translateY for console / chart screenshots */
/* Softer cinematic enter — avoid scale/offset that can cover left hero copy. */
.cinematic-reveal {
  opacity: 0;
  transform: translateY(28px) scale(1.02);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  will-change: transform, opacity;
}
.cinematic-reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) { .cinematic-reveal { opacity: 1; transform: none; transition: none; } }

/* Bar grow animation for histogram / bar charts.
   The wrapper itself must keep its layout box so IntersectionObserver can
   detect it; the actual fill animation is rendered by the ::before pseudo
   element inside .feature-ops-bars / .product-live-metrics / .scenario-ops-metrics. */
@media (prefers-reduced-motion: reduce) {
  .feature-ops-bars div::before,
  .product-live-metrics div::before,
  .scenario-ops-metrics div::before { transform: scaleY(1) !important; transition: none !important; }
}

/* 6. accordion — FAQ collapse animation */
@keyframes accordion-down { 0% { height: 0; } 100% { height: var(--accordion-content-height, auto); } }
@keyframes accordion-up { 0% { height: var(--accordion-content-height, auto); } 100% { height: 0; } }
.faq-content[data-state="open"] { animation: accordion-down 0.3s var(--ease-smooth) forwards; overflow: hidden; }
.faq-content[data-state="closed"] { animation: accordion-up 0.3s var(--ease-smooth) forwards; overflow: hidden; }
.faq-trigger { cursor: pointer; transition: color 0.2s var(--ease-smooth); }
.faq-trigger:hover { color: #3DF59A; }

/* 7. megamenu keyframes + frosted glass surface */
@keyframes megamenuSlideDown { 0% { opacity: 0; transform: translateY(-100%); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes navContentFadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
.megamenu-surface {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
}
.megamenu-viewport[data-state="open"] { animation: megamenuSlideDown 0.3s var(--ease-out-expo); transform-origin: top; }
.megamenu-viewport[data-state="open"] > * { animation: navContentFadeIn 0.2s var(--ease-out-expo) backwards; }
.megamenu-viewport[data-state="open"] > *:nth-child(1) { animation-delay: 0.05s; }
.megamenu-viewport[data-state="open"] > *:nth-child(2) { animation-delay: 0.08s; }
.megamenu-viewport[data-state="open"] > *:nth-child(3) { animation-delay: 0.11s; }
.megamenu-viewport[data-state="open"] > *:nth-child(4) { animation-delay: 0.14s; }
.megamenu-viewport[data-state="open"] > *:nth-child(5) { animation-delay: 0.17s; }
.megamenu-viewport[data-state="open"] > *:nth-child(n+6) { animation-delay: 0.2s; }

/* 9. SDLC ring SVG styles */
.sdlc-ring-svg { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; }
.sdlc-ring-path { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 1; }
.sdlc-orbit { fill: rgba(239,111,46,0.1); stroke: rgba(239,111,46,0.42); stroke-width: 1; }
.sdlc-orbit text { font-family: "SF Mono", ui-monospace, monospace; font-size: 9px; fill: rgba(238,238,238,0.72); text-anchor: middle; dominant-baseline: middle; letter-spacing: 0.08em; }
.sdlc-core { fill: rgba(239,111,46,0.15); stroke: #ef6f2e; stroke-width: 1.5; }
.sdlc-core-text { font-family: "SF Mono", ui-monospace, monospace; font-size: 11px; fill: #ef6f2e; text-anchor: middle; dominant-baseline: middle; letter-spacing: 0.1em; font-weight: 600; }

/* SDLC Ring & Radar CSS Animations */
.sdlc-outer-ring {
  transform-origin: 160px 160px;
  animation: sdlcRotateClockwise 24s linear infinite;
}
.sdlc-orbit-item {
  transform-origin: 160px 160px;
  animation: sdlcRotateCounterClockwise 24s linear infinite;
}
.sdlc-orbit-glow-circle {
  animation: sdlcOrbitGlow 2.4s ease-in-out infinite;
  animation-delay: var(--orbit-delay, 0s);
}
.sdlc-core-pulse-dot {
  transform-origin: 160px 160px;
  animation: sdlcCorePulse 2s ease-in-out infinite;
}
.home-ops-radar-sweep {
  transform-origin: 40px 48px;
  animation: industrialRadarSweep 3.5s linear infinite;
}

@keyframes sdlcRotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes sdlcRotateCounterClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
@keyframes sdlcOrbitGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@keyframes sdlcCorePulse {
  0%, 100% { transform: scale(0.75); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* Pause CSS animations when element is out of viewport */
[data-play="false"] *,
[data-play="false"] {
  animation-play-state: paused !important;
}

/* ── CSP-safe utility classes (replaces inline style= attributes) ── */
.stagger-0 { transition-delay: 0.06s; }
.stagger-1 { transition-delay: 0.072s; }
.stagger-2 { transition-delay: 0.0864s; }
.stagger-3 { transition-delay: 0.1037s; }
.stagger-4 { transition-delay: 0.1244s; }
.stagger-5 { transition-delay: 0.1493s; }
.stagger-6 { transition-delay: 0.1792s; }
.stagger-7 { transition-delay: 0.215s; }
.stagger-8 { transition-delay: 0.258s; }
.stagger-9 { transition-delay: 0.3096s; }
.stagger-10 { transition-delay: 0.3715s; }
.stagger-11 { transition-delay: 0.4458s; }
.stage-delay-0 { --stage-delay: 0ms; }
.stage-delay-1 { --stage-delay: 60ms; }
.stage-delay-2 { --stage-delay: 120ms; }
.stage-delay-3 { --stage-delay: 180ms; }
.stage-delay-4 { --stage-delay: 240ms; }
.stage-delay-5 { --stage-delay: 300ms; }
.stage-delay-6 { --stage-delay: 360ms; }
.stage-delay-7 { --stage-delay: 420ms; }
.stage-delay-8 { --stage-delay: 480ms; }
.stage-delay-9 { --stage-delay: 540ms; }
.stage-delay-10 { --stage-delay: 600ms; }
.char-delay-0 { --char-delay: 0ms; }
.char-delay-1 { --char-delay: 40ms; }
.char-delay-2 { --char-delay: 80ms; }
.char-delay-3 { --char-delay: 120ms; }
.char-delay-4 { --char-delay: 160ms; }
.char-delay-5 { --char-delay: 200ms; }
.char-delay-6 { --char-delay: 240ms; }
.char-delay-7 { --char-delay: 280ms; }
.char-delay-8 { --char-delay: 320ms; }
.char-delay-9 { --char-delay: 360ms; }
.char-delay-10 { --char-delay: 400ms; }
.char-delay-11 { --char-delay: 440ms; }
.char-delay-12 { --char-delay: 480ms; }
.char-delay-13 { --char-delay: 520ms; }
.char-delay-14 { --char-delay: 560ms; }
.char-delay-15 { --char-delay: 600ms; }
.char-delay-16 { --char-delay: 640ms; }
.char-delay-17 { --char-delay: 680ms; }
.char-delay-18 { --char-delay: 720ms; }
.char-delay-19 { --char-delay: 760ms; }
.char-delay-20 { --char-delay: 800ms; }
.char-delay-21 { --char-delay: 840ms; }
.char-delay-22 { --char-delay: 880ms; }
.char-delay-23 { --char-delay: 920ms; }
.char-delay-24 { --char-delay: 960ms; }
.char-delay-25 { --char-delay: 1000ms; }
.char-delay-26 { --char-delay: 1040ms; }
.char-delay-27 { --char-delay: 1080ms; }
.char-delay-28 { --char-delay: 1120ms; }
.char-delay-29 { --char-delay: 1160ms; }
.char-delay-30 { --char-delay: 1200ms; }
.char-delay-31 { --char-delay: 1240ms; }
.char-delay-32 { --char-delay: 1280ms; }
.char-delay-33 { --char-delay: 1320ms; }
.char-delay-34 { --char-delay: 1360ms; }
.char-delay-35 { --char-delay: 1400ms; }
.char-delay-36 { --char-delay: 1440ms; }
.char-delay-37 { --char-delay: 1480ms; }
.char-delay-38 { --char-delay: 1520ms; }
.char-delay-39 { --char-delay: 1560ms; }
.char-delay-40 { --char-delay: 1600ms; }
.char-delay-41 { --char-delay: 1640ms; }
.char-delay-42 { --char-delay: 1680ms; }
.char-delay-43 { --char-delay: 1720ms; }
.char-delay-44 { --char-delay: 1760ms; }
.char-delay-45 { --char-delay: 1800ms; }
.char-delay-46 { --char-delay: 1840ms; }
.char-delay-47 { --char-delay: 1880ms; }
.char-delay-48 { --char-delay: 1920ms; }
.char-delay-49 { --char-delay: 1960ms; }
.char-delay-50 { --char-delay: 2000ms; }
.char-delay-51 { --char-delay: 2040ms; }
.char-delay-52 { --char-delay: 2080ms; }
.char-delay-53 { --char-delay: 2120ms; }
.char-delay-54 { --char-delay: 2160ms; }
.char-delay-55 { --char-delay: 2200ms; }
.char-delay-56 { --char-delay: 2240ms; }
.char-delay-57 { --char-delay: 2280ms; }
.char-delay-58 { --char-delay: 2320ms; }
.char-delay-59 { --char-delay: 2360ms; }
.char-delay-60 { --char-delay: 2400ms; }
.char-delay-61 { --char-delay: 2440ms; }
.char-delay-62 { --char-delay: 2480ms; }
.char-delay-63 { --char-delay: 2520ms; }
.char-delay-64 { --char-delay: 2560ms; }
.char-delay-65 { --char-delay: 2600ms; }
.char-delay-66 { --char-delay: 2640ms; }
.char-delay-67 { --char-delay: 2680ms; }
.char-delay-68 { --char-delay: 2720ms; }
.char-delay-69 { --char-delay: 2760ms; }
.char-delay-70 { --char-delay: 2800ms; }
.char-delay-71 { --char-delay: 2840ms; }
.char-delay-72 { --char-delay: 2880ms; }
.char-delay-73 { --char-delay: 2920ms; }
.char-delay-74 { --char-delay: 2960ms; }
.char-delay-75 { --char-delay: 3000ms; }
.char-delay-76 { --char-delay: 3040ms; }
.char-delay-77 { --char-delay: 3080ms; }
.char-delay-78 { --char-delay: 3120ms; }
.char-delay-79 { --char-delay: 3160ms; }
.char-delay-80 { --char-delay: 3200ms; }
.sf-delay-0 { --sf-delay: 0ms; }
.sf-delay-1 { --sf-delay: 80ms; }
.sf-delay-2 { --sf-delay: 160ms; }
.sf-delay-3 { --sf-delay: 240ms; }
.sf-delay-4 { --sf-delay: 320ms; }
.sf-delay-5 { --sf-delay: 400ms; }
.sf-delay-6 { --sf-delay: 480ms; }
.sf-delay-7 { --sf-delay: 560ms; }
.sf-delay-8 { --sf-delay: 640ms; }
.sf-delay-9 { --sf-delay: 720ms; }
.sf-delay-10 { --sf-delay: 800ms; }
.sf-delay-11 { --sf-delay: 880ms; }
.sf-delay-12 { --sf-delay: 960ms; }
.sf-delay-13 { --sf-delay: 1040ms; }
.sf-delay-14 { --sf-delay: 1120ms; }
.sf-delay-15 { --sf-delay: 1200ms; }
.sf-delay-16 { --sf-delay: 1280ms; }
.sf-delay-17 { --sf-delay: 1360ms; }
.sf-delay-18 { --sf-delay: 1440ms; }
.sf-delay-19 { --sf-delay: 1520ms; }
.sf-delay-20 { --sf-delay: 1600ms; }
.sf-delay-21 { --sf-delay: 1680ms; }
.sf-delay-22 { --sf-delay: 1760ms; }
.sf-delay-23 { --sf-delay: 1840ms; }
.sf-delay-24 { --sf-delay: 1920ms; }
.sf-delay-25 { --sf-delay: 2000ms; }
.sf-delay-26 { --sf-delay: 2080ms; }
.sf-delay-27 { --sf-delay: 2160ms; }
.sf-delay-28 { --sf-delay: 2240ms; }
.sf-delay-29 { --sf-delay: 2320ms; }
.sf-delay-30 { --sf-delay: 2400ms; }
.bar-height-0 { --bar-height: 40%; }
.bar-height-1 { --bar-height: 58%; }
.bar-height-2 { --bar-height: 76%; }
.bar-height-3 { --bar-height: 94%; }
.bar-height-4 { --bar-height: 112%; }
.bar-height-5 { --bar-height: 130%; }
.w-full { width: 100%; }
.mt-18 { margin-top: 18px; }
.mt-12 { margin-top: 12px; }
.mt-13 { margin-top: 13px; }
.mt-16 { margin-top: 16px; }
.mb-22 { margin-bottom: 22px; }
.mb-18 { margin-bottom: 18px; }
.color-success { color: var(--color-success); }
.color-error { color: #b00020; }
.color-danger { color: #c0392b; }
.bg-danger { background: #c0392b; border-color: #c0392b; color: #fff; }
.admin-form-card { display: grid; gap: 12px; max-width: 780px; }
.admin-form-card input, .admin-form-card textarea { width: 100%; }

/* 10. Factory-aligned hero SVG animations (moved from inline <style> blocks for CSP compliance) */
@keyframes sfDashboardSegmentIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sfDashboardPulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes sfAboutFlowDraw { from { stroke-dashoffset: 245; } to { stroke-dashoffset: 0; } }
@keyframes sfScatterDotIn { from { opacity: 0; transform: scale(0); } to { opacity: var(--sf-dot-opacity, 1); transform: scale(1); } }
@keyframes sfStageDotIn { from { opacity: 0; transform: scale(0); } to { opacity: var(--sf-stage-dot-opacity, 1); transform: scale(1); } }
@keyframes sfRadarRing { from { r: 8; opacity: .65; } to { r: 34; opacity: 0; } }
@keyframes sfMetricPulse { 0%, 100% { opacity: 1; filter: brightness(1); } 50% { opacity: .92; filter: brightness(1.18); } }
@keyframes pillarRadarFrame { from { opacity: 0; stroke-dashoffset: 280; } to { opacity: 1; stroke-dashoffset: 0; } }
@keyframes pillarBarGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pillarLoopEdge { to { stroke-dashoffset: 0; } }
@keyframes sfDashboardFrameIn { 0% { opacity: 0; transform: scale(0.18); } 55% { opacity: 1; } 100% { opacity: 1; transform: scale(1); } }
@keyframes sfRadarSweep { to { transform: rotate(360deg); } }

.sf-text { font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif; }
.sf-mono { font-family: "SF Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

.sf-dashboard-segment {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: sfDashboardSegmentIn 520ms var(--ease-dramatic) forwards;
  animation-delay: var(--sf-delay, 0ms);
  cursor: pointer;
  transition: filter 220ms ease;
}
.sf-dashboard-segment:hover { filter: brightness(1.4); }
.sf-dashboard-segment:hover .sf-segment-bg { fill: rgba(239,111,46,0.06); stroke: rgba(239,111,46,0.45); }
.sf-dashboard-segment:hover .sf-segment-num { fill: #ef6f2e; }
.sf-dashboard-live { animation: sfDashboardPulse 1200ms ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.sf-radar-sweep {
  transform-box: fill-box;
  transform-origin: center;
  animation: sfRadarSweep 3500ms linear infinite;
}
.sf-about-flow line { stroke-dasharray: 245; stroke-dashoffset: 245; animation: sfAboutFlowDraw 900ms var(--ease-out-expo) forwards; animation-delay: 400ms; }

/* Home ops console specific */
.home-ops-console-svg { transform-origin: center center; animation: sfDashboardFrameIn 900ms var(--ease-dramatic) 120ms both; }
.sf-scatter-dot {
  opacity: 0;
  --sf-dot-opacity: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: sfScatterDotIn .42s var(--ease-out-expo) forwards;
  animation-delay: var(--sf-dot-delay, 0ms);
  transition: r 180ms ease, opacity 180ms ease;
  cursor: crosshair;
}
.sf-scatter-tick {
  opacity: 0;
  animation: sfScatterDotIn .32s var(--ease-smooth) forwards;
  animation-delay: var(--sf-tick-delay, 0ms);
}
.sf-stage-dot {
  opacity: 0;
  --sf-stage-dot-opacity: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: sfStageDotIn .36s var(--ease-out-expo) forwards;
  animation-delay: var(--sf-stage-dot-delay, 0ms);
}
.sf-radar-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: sfRadarRing 2.4s var(--ease-smooth) infinite;
}
.sf-metric-value, .sf-signups-value, .sf-throughput-value tspan:first-child, .sf-backlog-value, .sf-scatter-hero tspan:first-child {
  animation: sfMetricPulse 2.8s var(--ease-smooth) infinite;
  animation-delay: var(--sf-delay, 0ms);
}

/* Hover interactions for SVG dashboards */
.sf-nav-item { cursor: pointer; transition: opacity 180ms ease; }
.sf-nav-item:hover { opacity: 1; }
.sf-nav-item:hover .sf-nav-bar { fill: #ef6f2e; }
.sf-nav-item:hover .sf-nav-text { fill: #fcfafa; }
.sf-scatter-dot:hover { r: 3.5; opacity: 1; }
.sf-quad-block { cursor: pointer; transition: filter 220ms ease; }
.sf-quad-block:hover { filter: brightness(1.25); }
.sf-quad-block:hover .sf-quad-bg { stroke: rgba(239,111,46,0.4); }
.sf-tooltip { opacity: 0; pointer-events: none; transition: opacity 160ms ease; }
.sf-dashboard-segment:hover .sf-tooltip { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .sf-dashboard-segment, .sf-scatter-dot, .sf-scatter-tick, .sf-stage-dot, .sf-radar-ring { opacity: 1; transform: none; animation: none; }
  .sf-dashboard-live, .sf-radar-sweep, .home-ops-console-svg, .sf-metric-value, .sf-signups-value, .sf-throughput-value tspan:first-child, .sf-backlog-value, .sf-scatter-hero tspan:first-child { animation: none; }
  .sf-radar-sweep { display: none; }
  .sf-dashboard-live { opacity: 1 !important; transform: scale(1) !important; }
  .sf-about-flow line { stroke-dasharray: 4 4; stroke-dashoffset: 0; animation: none; }
  .pillar-radar-frame, .pillar-bar, .pillar-loop-edge { animation: none; stroke-dashoffset: 0; }
  .pillar-radar-frame { opacity: 1; }
  .pillar-bar { transform: scaleX(1); }
}
.hp-hidden { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
.google-btn-disabled { opacity: .45; pointer-events: none; cursor: not-allowed; }
.google-icon { margin-right: 8px; vertical-align: -3px; }
.ws-danger { border: 1px solid #c0392b; }
.notice-warning { margin-bottom: 16px; padding: 12px 16px; border: 1px solid #b8860b; border-radius: 8px; background: #fff8e6; color: #7a5c00; }
.renewal-notice { margin: 8px 0; padding: 10px 14px; border: 1px solid #b8860b; border-radius: 8px; background: #fff8e6; color: #7a5c00; }
.ws-danger h2 { color: #c0392b; }
.line-delay-0 { --line-delay: 0ms; }
.line-delay-1 { --line-delay: 120ms; }
.line-delay-2 { --line-delay: 240ms; }
.line-delay-3 { --line-delay: 360ms; }
.line-delay-4 { --line-delay: 480ms; }
.line-delay-5 { --line-delay: 600ms; }

/* 11. Auth page styles (moved from inline <style> for CSP compliance)
   *
   * SCOPE GUARD: every selector in this block must be prefixed with .auth-page
   * (or a descendant of .auth-page) because site.css is loaded on ALL pages.
   * Generic element selectors such as "button, .button { color:#020202; }" will
   * override the homepage/pricing button colors and make light text on light
   * backgrounds invisible. If you add a new rule here, ask: would this change
   * the public marketing pages? If yes, add .auth-page in front of it.
   */
  .auth-page {
    color-scheme: dark;
    --color-background: #020202;
    --color-background-secondary: #0a0a0a;
    --color-surface: #060505;
    --color-surface-secondary: #0a0a0a;
    --color-text: #eeeeee;
    --color-text-muted: rgba(238,238,238,.62);
    --color-text-inverse: #020202;
    --color-border: rgba(255,255,255,.12);
    --color-border-strong: rgba(255,255,255,.24);
    --color-accent: #eeeeee;
    --color-accent-strong: #ffffff;
    --color-accent-soft: rgba(255,255,255,.06);
    --color-brand-cyan: #3DF59A;
    --radius-small: 8px;
    --radius-card: 12px;
    --radius-container: 20px;
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;
    font-family: -apple-system, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, "Source Han Sans CN", sans-serif;
    font-feature-settings: 'palt' 1, 'kern' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--color-text);
    background: var(--color-background);
  }
  .auth-page *, .auth-page *::before, .auth-page *::after { box-sizing: border-box; }
  .auth-page a { color: inherit; text-decoration: none; }
  .auth-page { width: min(1200px, calc(100% - 48px)); min-height: 100vh; margin: 0 auto; display: grid; grid-template-rows: auto 1fr auto; gap: var(--space-3); padding: var(--space-2) 0 var(--space-3); }
  .auth-topbar { position: sticky; top: var(--space-2); z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); min-height: 64px; padding: 0 var(--space-2); border: .5px solid var(--color-border); border-radius: var(--radius-container); background: var(--color-surface); }
  .auth-page .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
  .auth-page .brand::before { content: ''; display: block; width: 32px; height: 32px; border-radius: var(--radius-small); background: url('/assets/agentnet-logo.png') center / cover no-repeat; border: .5px solid var(--color-border); }
  .auth-links, .auth-actions, .auth-switch { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-1); color: var(--color-text-muted); font-size: 14px; }
  .auth-links a, .auth-switch a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 10px; border: .5px solid var(--color-border); border-radius: var(--radius-small); }
  .auth-links a:hover, .auth-switch a:hover { background: var(--color-background-secondary); color: var(--color-text); }
  .auth-shell-v2 { display: grid; grid-template-columns: minmax(0, .94fr) minmax(360px, .58fr); gap: var(--space-4); align-items: start; padding: var(--space-4) 0 var(--space-5); }
  .auth-story, .auth-card-v2, .message-card, .account-method, .auth-flow, .auth-proof { display: grid; gap: var(--space-2); }
  .auth-story { max-width: 680px; }
  .auth-card-v2, .account-method, .auth-flow, .auth-proof, .auth-page .product-shot { padding: var(--space-3); border: .5px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); }
  .auth-card-v2 header { display: grid; gap: var(--space-1); }
  .auth-page .eyebrow, .auth-page .status, .auth-proof span, .account-method span { display: inline-flex; width: fit-content; align-items: center; padding: 5px 9px; border: .5px solid var(--color-border); border-radius: 999px; background: var(--color-surface-secondary); color: var(--color-text-muted); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
  .auth-page h1, .auth-page h2, .auth-page h3, .auth-page p { margin: 0; }
  .auth-page h1, .auth-page h2, .auth-page h3 { color: var(--color-text); font-weight: 500; text-wrap: balance; }
  .auth-page h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.05; }
  .auth-page h2 { font-size: clamp(25px, 3vw, 36px); line-height: 1.1; }
  .auth-page h3 { font-size: 18px; line-height: 1.25; }
  .auth-page p { color: var(--color-text-muted); font-size: 15px; line-height: 1.6; }
  .auth-page .lead { color: var(--color-text); font-size: clamp(17px, 1.5vw, 20px); max-width: 620px; }
  .auth-proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
  .auth-control-map { display: grid; gap: var(--space-2); padding: var(--space-3); border: .5px solid rgba(255,255,255,.24); border-radius: var(--radius-card); background: #060505; box-shadow: 0 22px 80px rgba(0,0,0,.45); color: #eeeeee; }
  .auth-control-topline { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding-bottom: var(--space-2); border-bottom: .5px solid rgba(255,255,255,.12); color: rgba(238,238,238,.62); font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
  .auth-loop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
  .auth-loop-card { position: relative; display: grid; gap: 6px; min-height: 150px; padding: var(--space-2); border: .5px solid rgba(255,255,255,.12); border-radius: var(--radius-small); background: rgba(255,255,255,.04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .auth-loop-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.24); box-shadow: 0 18px 54px rgba(0,0,0,.4); }
  .auth-loop-card span { display: inline-grid; place-items: center; width: 28px; height: 28px; border: .5px solid rgba(255,255,255,.12); border-radius: 999px; color: rgba(238,238,238,.62); font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 12px; }
  .auth-loop-card strong { color: #eeeeee; font-size: 15px; }
  .auth-loop-card p { color: rgba(238,238,238,.62); }
  .auth-flow-row { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2); align-items: start; }
  .auth-flow-row > span { display: grid; place-items: center; width: 28px; height: 28px; border: .5px solid var(--color-accent); border-radius: 999px; color: var(--color-accent); }
  .auth-flow-row strong { display: block; margin-bottom: 3px; color: var(--color-text); font-weight: 500; }
  .auth-page form { display: grid; gap: var(--space-2); }
  .auth-page label { color: var(--color-text); font-size: 14px; font-weight: 500; }
  .auth-page input { width: 100%; min-height: 44px; border: .5px solid var(--color-border); border-radius: var(--radius-small); padding: 0 12px; background: var(--color-surface); color: var(--color-text); font: inherit; }
  .auth-page input:focus { outline: 2px solid var(--color-accent); outline-offset: 2px; border-color: transparent; }
  .auth-page button, .auth-page .button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: .5px solid var(--color-accent); border-radius: var(--radius-small); padding: 0 16px; background: var(--color-accent); color: var(--color-text-inverse); font: inherit; font-weight: 500; cursor: pointer; }
  .auth-page .button.secondary, .auth-page button.secondary { background: transparent; color: var(--color-text); border-color: var(--color-border-strong); }
  .auth-note { color: var(--color-text-muted); font-size: 14px; }
  .auth-page .product-shot { margin: 0; padding: var(--space-2); }
  .auth-page .product-shot img { width: 100%; height: auto; border: .5px solid var(--color-border); border-radius: var(--radius-small); background: var(--color-surface-secondary); }
  .auth-page .product-shot figcaption { margin-top: var(--space-1); color: var(--color-text-muted); font-size: 13px; }
  .auth-page code { color: var(--color-accent); word-break: break-all; }
  .auth-footer { display: flex; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; padding-top: var(--space-2); border-top: .5px solid var(--color-border); color: var(--color-text-muted); font-size: 13px; }
  .auth-footer a { color: var(--color-text-muted); }
  .police-filing-icon { width: 15px; height: 15px; flex: 0 0 auto; }
  @media (max-width: 880px) { .auth-page { width: min(100% - 24px, 1200px); } .auth-topbar { align-items: flex-start; flex-direction: column; padding: var(--space-2); } .auth-shell-v2, .auth-proof-grid, .auth-loop-grid { grid-template-columns: 1fr; } }



/* 12. Workspace styles (moved from inline <style> for CSP compliance)
   *
   * SCOPE GUARD: every selector in this block must be prefixed with .ws-app
   * (or a descendant of .ws-app) because site.css is loaded on ALL pages.
   * Generic element selectors such as "a { ... }" or "h1 { ... }" will leak
   * into the marketing site and override public page typography.
   */
  .ws-app {
    color-scheme: dark;
    --ws-bg: #020202;
    --ws-surface: #060505;
    --ws-surface-2: #0a0a0a;
    --ws-text: #eeeeee;
    --ws-text-muted: rgba(238,238,238,.62);
    --ws-text-soft: rgba(238,238,238,.46);
    --ws-border: rgba(255,255,255,.12);
    --ws-border-strong: rgba(255,255,255,.24);
    --ws-accent: #22c55e;
    --ws-accent-soft: rgba(34,197,94,.12);
    --ws-brand-cyan: #3DF59A;
    --ws-danger: #DC2626;
    --ws-r-sm: 8px;
    --ws-r-md: 12px;
    --ws-r-lg: 16px;
    --ws-s-1: 8px;
    --ws-s-2: 16px;
    --ws-s-3: 24px;
    --ws-s-4: 32px;
    --ws-s-5: 48px;
    font-family: -apple-system, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, "Source Han Sans CN", sans-serif;
    font-feature-settings: 'palt' 1, 'kern' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--ws-text);
    background: var(--ws-bg);
  }
  .ws-app *, .ws-app *::before, .ws-app *::after { box-sizing: border-box; }
  .ws-app a { color: inherit; text-decoration: none; }
  .ws-app h1, .ws-app h2, .ws-app h3 { margin: 0; color: var(--ws-text); font-weight: 600; letter-spacing: -0.005em; }
  .ws-app h1 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.2; }
  .ws-app h2 { font-size: 18px; line-height: 1.3; }
  .ws-app h3 { font-size: 15px; line-height: 1.35; }
  .ws-app p { margin: 0; color: var(--ws-text-muted); line-height: 1.55; font-size: 14px; }
  .ws-app small { color: var(--ws-text-soft); font-size: 12px; }
  .ws-app { min-width: 0; min-height: 100vh; display: grid; grid-template-columns: 240px minmax(0, 1fr); background: var(--ws-bg); }
  .ws-sidebar { position: sticky; top: 0; min-width: 0; height: 100vh; display: grid; grid-template-rows: auto 1fr auto; gap: var(--ws-s-3); padding: var(--ws-s-3) var(--ws-s-2); border-right: 1px solid var(--ws-border); background: var(--ws-surface); }
  .ws-brand { display: inline-flex; align-items: center; gap: 10px; padding: 0 8px; font-weight: 600; color: var(--ws-text); font-size: 15px; }
  .ws-brand::before { content: ''; display: block; width: 28px; height: 28px; border-radius: var(--ws-r-sm); background: url('/assets/agentnet-logo.png') center / cover no-repeat; border: 1px solid var(--ws-border); }
  .ws-nav { position: static; z-index: auto; display: grid; grid-template-columns: 1fr; gap: 4px; align-content: start; min-height: 0; margin: 0; padding: 0; border: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ws-nav a { display: flex; align-items: center; min-height: 38px; padding: 0 12px; border-radius: var(--ws-r-sm); color: var(--ws-text-muted); font-size: 14px; font-weight: 500; transition: background .12s ease, color .12s ease; }
  .ws-nav a:hover { background: var(--ws-surface-2); color: var(--ws-text); }
  .ws-nav a.active { background: var(--ws-accent-soft); color: var(--ws-accent); font-weight: 600; }
  .ws-account-chip { display: grid; gap: 8px; padding: var(--ws-s-2); border: 1px solid var(--ws-border); border-radius: var(--ws-r-md); background: var(--ws-surface-2); }
  .ws-account-chip-email { font-weight: 600; color: var(--ws-text); font-size: 13px; word-break: break-all; }
  .ws-account-chip-id { color: var(--ws-text-soft); font-size: 11px; font-family: "SF Mono", Menlo, Consolas, monospace; word-break: break-all; }
  .ws-main { min-width: 0; display: grid; gap: var(--ws-s-3); align-content: start; padding: var(--ws-s-4) var(--ws-s-4) var(--ws-s-5); max-width: 1140px; width: 100%; }
  .ws-hero { display: grid; gap: 6px; padding-bottom: var(--ws-s-2); border-bottom: 1px solid var(--ws-border); }
  .ws-hero h1 { font-size: clamp(26px, 3vw, 36px); }
  .ws-hero p { color: var(--ws-text-muted); font-size: 15px; }
  .ws-card, .ws-panel, .ws-stat, .ws-cross-card { background: var(--ws-surface); border: 1px solid var(--ws-border); border-radius: var(--ws-r-md); padding: var(--ws-s-3); display: grid; gap: var(--ws-s-2); align-content: start; }
  .ws-panel-head { display: flex; justify-content: space-between; align-items: center; gap: var(--ws-s-2); }
  .ws-grid { display: grid; gap: var(--ws-s-2); }
  .ws-grid-2col { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .ws-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ws-s-2); }
  .ws-stat span, .ws-chip { display: inline-flex; width: fit-content; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--ws-surface-2); color: var(--ws-text-muted); font-size: 11px; font-weight: 600; letter-spacing: 0.02em; }
  .ws-chip-accent { background: var(--ws-accent-soft); color: var(--ws-accent); }
  .ws-stat strong { font-size: 22px; font-weight: 600; color: var(--ws-text); letter-spacing: -0.01em; }
  .ws-stat p { font-size: 12px; }
  .ws-plan-card .ws-plan-head { display: grid; gap: 8px; }
  .ws-plan-price { color: var(--ws-text); font-size: 22px; font-weight: 600; }
  .ws-plan-price small { color: var(--ws-text-muted); font-size: 13px; font-weight: 500; margin-left: 4px; }
  .ws-feature-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
  .ws-feature-list li { position: relative; padding-left: 18px; color: var(--ws-text-muted); font-size: 13px; line-height: 1.5; }
  .ws-feature-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--ws-accent); font-weight: 700; }
  .ws-upgrade-card { background: linear-gradient(180deg, var(--ws-surface) 0%, var(--ws-accent-soft) 100%); }
  .ws-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; border-radius: var(--ws-r-sm); font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: background .15s ease, border-color .15s ease, color .15s ease; }
  .ws-btn-primary { background: var(--ws-accent); color: #fff; border-color: var(--ws-accent); }
  .ws-btn-primary:hover { background: #15803D; border-color: #15803D; }
  .ws-btn-secondary { background: transparent; color: var(--ws-text); border-color: var(--ws-border-strong); }
  .ws-btn-secondary:hover { background: var(--ws-surface-2); }
  .ws-btn-disabled { background: var(--ws-surface-2); color: var(--ws-text-soft); border-color: var(--ws-border); cursor: not-allowed; }
  .ws-actions { display: flex; flex-wrap: wrap; gap: var(--ws-s-1); align-items: center; }
  .ws-link { color: var(--ws-brand-cyan); font-weight: 600; font-size: 13px; }
  .ws-link:hover { color: var(--ws-accent); }
  .ws-link-btn { color: var(--ws-brand-cyan); background: transparent; border: 0; padding: 0; font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; }
  .ws-link-btn:hover { color: var(--ws-accent); }
  .ws-inline-form { display: inline-block; margin: 0; }
  .ws-factory-panel { position: relative; min-width: 0; max-width: 100%; display: grid; grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr); gap: var(--ws-s-3); padding: var(--ws-s-3); border: 1px solid rgba(255,255,255,.24); border-radius: var(--ws-r-lg); background: #060505; box-shadow: 0 24px 80px rgba(0,0,0,.45); color: #eeeeee; overflow: hidden; isolation: isolate; }
  .ws-factory-panel::before { content: ''; position: absolute; inset: -1px; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 36px 36px; z-index: -1; }
  .ws-factory-copy { display: grid; gap: var(--ws-s-2); align-content: center; min-width: 0; }
  .ws-factory-copy h2 { color: #eeeeee; font-size: clamp(24px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.01em; }
  .ws-factory-copy p { color: rgba(238,238,238,.62); max-width: 52ch; font-size: 15px; }
  .ws-factory-map { display: grid; gap: var(--ws-s-2); min-width: 0; max-width: 100%; padding: var(--ws-s-2); border: 1px solid rgba(255,255,255,.12); border-radius: var(--ws-r-md); background: rgba(255,255,255,.04); }
  .ws-factory-topline { display: flex; align-items: center; justify-content: space-between; gap: var(--ws-s-2); padding-bottom: var(--ws-s-2); border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(238,238,238,.62); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .ws-factory-stage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ws-s-1); }
  .ws-factory-stage { display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; min-height: 164px; padding: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--ws-r-sm); background: rgba(255,255,255,.04); transition: transform .18s var(--ease-dramatic), border-color .18s ease, box-shadow .18s ease; }
  .ws-factory-stage:nth-child(4), .ws-factory-stage:nth-child(5) { min-height: 138px; }
  .ws-factory-stage:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.24); box-shadow: 0 18px 48px rgba(0,0,0,.4); }
  .ws-factory-stage > span { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: rgba(238,238,238,.62); font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 11px; }
  .ws-factory-stage strong { color: #eeeeee; font-size: 14px; line-height: 1.2; }
  .ws-factory-stage p { color: rgba(238,238,238,.62); font-size: 13px; line-height: 1.4; word-break: break-word; }
  .ws-factory-stage small { align-self: end; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(238,238,238,.46); line-height: 1.35; word-break: break-word; }
  .ws-factory-proof { display: flex; flex-wrap: wrap; gap: 1px; border: 1px solid rgba(255,255,255,.24); border-radius: var(--ws-r-sm); background: rgba(255,255,255,.24); overflow: hidden; }
  .ws-factory-proof span { flex: 1 1 104px; display: grid; place-items: center; min-height: 34px; padding: 8px 10px; background: #060505; color: #eeeeee; font-size: 12px; font-weight: 700; }
  .ws-cross-product { display: grid; gap: var(--ws-s-2); padding: var(--ws-s-3); border: 1px solid var(--ws-border); border-radius: var(--ws-r-md); background: var(--ws-surface); }
  .ws-cross-head h2 { font-size: 18px; }
  .ws-cross-head p { margin-top: 4px; }
  .ws-cross-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--ws-s-2); }
  .ws-cross-card { padding: var(--ws-s-2); background: var(--ws-surface-2); border: 1px solid var(--ws-border); }
  .ws-cross-card h3 { font-size: 15px; font-weight: 600; }
  .ws-cross-card p { font-size: 13px; }
  .im-download { position: relative; width: fit-content; }
  .im-download summary { list-style: none; cursor: pointer; }
  .im-download summary::-webkit-details-marker { display: none; }
  .im-download-trigger { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid var(--ws-accent); border-radius: var(--ws-r-sm); background: var(--ws-accent); color: #fff; font-size: 13px; font-weight: 600; }
  .im-download[open] .im-download-trigger { background: #15803D; border-color: #15803D; }
  .im-download-arrow { transition: transform .15s ease; }
  .im-download[open] .im-download-arrow { transform: rotate(180deg); }
  .im-download-panel { position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; padding: 8px; border: 1px solid var(--ws-border); border-radius: var(--ws-r-md); background: var(--ws-surface); box-shadow: 0 12px 32px rgba(0,0,0,.5); z-index: 10; display: grid; gap: 2px; }
  .im-download-caption { margin: 8px 12px 4px; color: var(--ws-text-soft); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
  .im-dl-item { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--ws-r-sm); transition: background .12s ease; }
  .im-dl-item:hover { background: var(--ws-surface-2); }
  .im-dl-item strong { color: var(--ws-text); font-size: 14px; font-weight: 600; }
  .im-dl-item span { color: var(--ws-text-muted); font-size: 12px; }
  .ws-sub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--ws-s-2); }
  .ws-sub-grid > div { display: grid; gap: 4px; padding: 12px; border-radius: var(--ws-r-sm); background: var(--ws-surface-2); }
  .ws-label { font-size: 11px; font-weight: 600; color: var(--ws-text-soft); text-transform: uppercase; letter-spacing: 0.04em; }
  .ws-sub-grid strong, .ws-field strong { font-size: 14px; font-weight: 600; color: var(--ws-text); word-break: break-word; }
  .ws-mono { font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 12px; }
  .ws-table-wrap { overflow-x: auto; border-radius: var(--ws-r-sm); border: 1px solid var(--ws-border); }
  .ws-table { width: 100%; border-collapse: collapse; font-size: 13px; }
  .ws-table thead th { padding: 10px 12px; text-align: left; background: var(--ws-surface-2); color: var(--ws-text-soft); font-weight: 600; font-size: 12px; border-bottom: 1px solid var(--ws-border); }
  .ws-table tbody td { padding: 12px; border-top: 1px solid var(--ws-border); vertical-align: top; color: var(--ws-text); }
  .ws-table tbody tr:first-child td { border-top: 0; }
  .ws-table strong { display: block; font-weight: 600; }
  .ws-table small { display: block; color: var(--ws-text-soft); margin-top: 2px; }
  .ws-row-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
  .ws-empty-row td { text-align: center; color: var(--ws-text-soft); padding: var(--ws-s-3); font-style: italic; }
  .ws-pill { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
  .ws-pill.paid { background: var(--ws-accent-soft); color: var(--ws-accent); }
  .ws-pill.pending { background: #FEF3C7; color: #92400E; }
  .ws-field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--ws-s-2); }
  .ws-field { display: grid; gap: 4px; padding: 12px; border-radius: var(--ws-r-sm); background: var(--ws-surface-2); }
  .ws-field small { display: block; margin-top: 4px; }
  .ws-muted { color: var(--ws-text-soft); font-size: 12px; }
  .ws-password-form { display: grid; gap: 8px; align-items: end; grid-template-columns: 1fr auto; padding-top: var(--ws-s-1); border-top: 1px solid var(--ws-border); margin-top: var(--ws-s-1); }
  .ws-password-form input { width: 100%; min-height: 38px; padding: 0 12px; border: 1px solid var(--ws-border-strong); border-radius: var(--ws-r-sm); font: inherit; background: var(--ws-surface); }
  .ws-password-form input:focus { outline: 2px solid var(--ws-accent); outline-offset: 1px; border-color: transparent; }
  .ws-password-form label { grid-column: 1 / -1; }
  .ws-danger { border-color: rgba(220, 38, 38, .25); }
  .ws-danger .ws-panel-head h2 { color: var(--ws-danger); }
  .ws-slogan { margin-top: var(--ws-s-3); padding: var(--ws-s-3); text-align: center; color: var(--ws-brand-cyan); font-weight: 500; letter-spacing: 0.04em; font-size: 14px; border-top: 1px solid var(--ws-border); }
  @media (max-width: 960px) {
    .ws-app { grid-template-columns: 1fr; }
    .ws-sidebar { position: static; height: auto; grid-template-rows: auto auto auto; border-right: 0; border-bottom: 1px solid var(--ws-border); }
    .ws-main { width: 100%; max-width: 100%; padding: var(--ws-s-3); overflow-x: hidden; }
    .ws-grid-2col, .ws-stats, .ws-cross-grid, .ws-sub-grid, .ws-field-grid, .ws-factory-panel, .ws-factory-stage-grid { grid-template-columns: 1fr; }
    .ws-factory-panel { padding: var(--ws-s-2); }
    .ws-factory-copy h2, .ws-factory-copy p, .ws-hero p { overflow-wrap: anywhere; }
    .ws-factory-topline { display: grid; grid-template-columns: 1fr; align-items: start; }
    .ws-factory-stage:nth-child(4), .ws-factory-stage:nth-child(5) { min-height: 164px; }
  }
  @media (max-width: 600px) {
    .ws-sidebar { padding: var(--ws-s-2); }
    .ws-main { width: 100vw; padding: var(--ws-s-2); }
    .ws-hero, .ws-factory-panel, .ws-grid, .ws-stats, .ws-cross-product, .ws-account-chip { width: calc(100vw - (var(--ws-s-2) * 2)); max-width: calc(100vw - (var(--ws-s-2) * 2)); }
    .ws-factory-copy, .ws-factory-map, .ws-factory-stage, .ws-factory-proof { width: 100%; max-width: 100%; }
    .ws-account-chip, .ws-account-chip form, .ws-account-chip .ws-btn, .ws-actions .ws-btn, .im-download, .im-download-trigger { width: 100%; }
    .ws-factory-panel { border-radius: var(--ws-r-md); }
    .ws-password-form { grid-template-columns: 1fr; }
    .ws-table-wrap { font-size: 12px; }
  }

';}