/* Shared public-site design. Original logos and product availability stay intact. */
:root {
  --corp-paper: #101217; --corp-ink: #f0f3f5; --corp-soft: #a9b5c0;
  --corp-blue: #36d9d1; --corp-line: #ffffff20; --corp-gold: #f2c05e;
  --bg: #101217; --bg-deep: #0b0e12; --text: #f0f3f5;
  --muted: #a9b5c0; --text-soft: #b8c4cc; --accent: #36d9d1;
  --accent-strong: #36d9d1; --cyan: #36d9d1; --line: #ffffff20;
  --panel: #161c22; --panel-strong: #1a232b;
  --radius: 14px; --radius-sm: 10px;
}
html { scroll-padding-top: 110px; }
body[data-design] {
  margin: 0; color: var(--text); font: 400 16px/1.7 CorpSans, sans-serif;
  background: radial-gradient(ellipse at 90% 0%, #104b5029, transparent 38rem), #101217;
}
body[data-design]::before {
  display: block; position: fixed; inset: 0; content: ''; pointer-events: none; z-index: -1;
  background: repeating-linear-gradient(90deg, transparent 0, transparent calc(100% / 12 - 1px), #ffffff04 calc(100% / 12 - 1px), #ffffff04 calc(100% / 12));
  mask-image: linear-gradient(#000, transparent);
}
body[data-design] * { box-sizing: border-box; }
body[data-design] h1, body[data-design] h2, body[data-design] h3 { font-family: CorpDisplay, sans-serif; text-wrap: balance; }
body[data-design] h1 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.08; letter-spacing: -.045em; }
body[data-design] h2 { font-size: clamp(1.75rem, 3vw, 2.8rem); line-height: 1.2; letter-spacing: -.035em; }
body[data-design] h3 { line-height: 1.3; }
body[data-design] :is(main, article, section, figure, aside, nav, div) { min-width: 0; }
body[data-design] a:focus-visible, body[data-design] button:focus-visible, body[data-design] summary:focus-visible { outline: 2px solid var(--corp-blue); outline-offset: 5px; }
.wrap, .section, .article-main { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.page-shell { overflow: visible; }
.page-shell::before, .page-shell::after { display: none; }
.brand-header {
  position: sticky; top: 12px; z-index: 60; width: min(1380px, calc(100% - 40px));
  margin: 12px auto 0; padding: 14px 24px; border: 1px solid #ffffff24; border-radius: 8px;
  color: var(--text); background: #11171eea; backdrop-filter: blur(18px); box-shadow: 0 8px 32px #0003;
}
.brand-home, .brand-home > .brand-name, .brand-menu a { color: var(--text); }
.brand-home > .brand-name { font-size: 31px; letter-spacing: -.045em; }
.brand-home small { color: #91a7b9; font-size: 7px; }
.brand-home .brand-symbol { width: 54px; height: 54px; flex-basis: 54px; }
.brand-menu { gap: 24px; }
.brand-menu nav a { font-size: 13px; color: #becbd3; transition: color .2s; }
.brand-menu nav a:hover, .brand-menu nav a[aria-current] { color: var(--corp-blue); }
.brand-menu .brand-contact { border: 1px solid #36d9d166; padding: 10px 14px; border-radius: 3px; color: var(--corp-blue); font-size: 12px; }
.brand-menu .brand-contact:hover { background: #36d9d112; }
.brand-languages a[aria-current=page] { color: #072322; background: var(--corp-blue); }
.brand-toggle { color: var(--text); }
.skip-link { background: var(--corp-blue); color: #072322; }
.brand-hero { background: transparent; border: 0; position: relative; overflow: clip; }
.brand-hero::before { background: radial-gradient(ellipse at 78% 45%, #1dd4d412, transparent 55%); }
.brand-hero .corp-hero { grid-template-columns: 1.1fr 1fr; padding-block: 84px 76px; gap: 80px; }
.brand-hero .hero-brand { font-size: clamp(64px, 6.3vw, 96px); gap: 14px; margin-bottom: 22px; }
.brand-hero .hero-brand .brand-symbol { width: 98px; height: 116px; flex-basis: 98px; }
.brand-hero .brand-mission { font-size: clamp(25px, 2.6vw, 36px); color: var(--corp-blue); font-weight: 700; }
.brand-hero .corp-lead, .corp-lead { color: var(--corp-soft); font-size: 17px; line-height: 1.8; }
.overline, .eyebrow, .brand-hero .overline { color: var(--corp-blue); font-size: 10px; font-weight: 700; letter-spacing: .17em; line-height: 1.6; }
.brand-hero .portfolio-map { border-radius: 10px; background: #151c24b3; padding: 26px; border: 1px solid #36d9d12b; box-shadow: 0 24px 70px #0003; }
.portfolio-map::before { background: none; }
.portfolio-map::after { content: ''; position: absolute; width: 110px; height: 2px; left: -110px; top: 0; background: var(--corp-blue); box-shadow: 0 0 18px var(--corp-blue); animation: map-signal 7s ease-in-out infinite; }
.portfolio-label { font-size: 18px; }
.orbit-product { background: #ffffff03; border-color: #ffffff12; border-radius: 6px; transition: transform .25s, border-color .25s, background .25s; }
.orbit-product:hover { transform: translateX(4px); border-color: #36d9d177; background: #36d9d109; }
.map-foot { color: var(--corp-soft); }
.sector-strip { background: #151c23; border-color: var(--corp-line); }
.sector-strip > .wrap { padding-block: 22px; color: #b6c6cc; }
.sector-strip span::before { color: var(--corp-blue); }
.corp-button, .brand-hero .corp-button, .button-primary {
  border: 1px solid var(--corp-blue); background: var(--corp-blue); color: #082425 !important;
  border-radius: 4px; box-shadow: none; font-weight: 700; padding: 15px 21px;
  transition: transform .25s, background .25s, box-shadow .25s;
}
.corp-button:hover, .brand-hero .corp-button:hover, .button-primary:hover { background: #87efe6; transform: translateY(-3px); box-shadow: 0 8px 30px #36d9d11a; }
.corp-button.secondary, .button-secondary { border: 1px solid #ffffff38; color: var(--text) !important; background: transparent; border-radius: 4px; }
.button-secondary:hover, .corp-button.secondary:hover { background: #ffffff08; border-color: var(--corp-blue); }
.text-link { color: var(--corp-blue) !important; }
.corp-section { padding-block: 80px; }
.section-intro { margin-bottom: 38px; }
.section-intro > p:last-child { color: var(--corp-soft); }
.portfolio-grid { gap: 20px; }
.portfolio-card, .portfolio-card.school, .portfolio-card.tails, .portfolio-card.aura, .compact-card {
  background: linear-gradient(130deg, #1a222a, #13191f) !important;
  border: 1px solid var(--corp-line); border-radius: 10px; padding: 30px; overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.portfolio-card::before { content: ''; position: absolute; left: 0; top: 25px; bottom: 25px; width: 2px; background: var(--corp-blue); transform: scaleY(0); transition: transform .3s; }
.portfolio-card:hover { border-color: #36d9d15c; transform: translateY(-5px); box-shadow: 0 20px 36px #0002; }
.portfolio-card:hover::before { transform: scaleY(1); }
.portfolio-card h3, .portfolio-card .card-headline, .portfolio-card .card-link { color: var(--text); }
.portfolio-card .card-link > span[aria-hidden] { color: var(--corp-blue); }
.portfolio-card > p { color: var(--corp-soft); }
.product-stage { color: #b7c5cd; border-color: #ffffff26; background: #ffffff03; }
.product-identity .portfolio-logo { width: 132px; flex-basis: 132px; height: 80px; }
.portfolio-logo { border-color: #ffffff19; border-radius: 5px; }
.portfolio-logo.logo-dark { background: #0c121c; }
.portfolio-logo.logo-light { background: #fffdf9; }
.portfolio-logo img { object-fit: contain; object-position: center; transform: none; }
.approach-section, .lab-section { background: #141b22; border-block: 1px solid var(--corp-line); }
.approach-section .overline { color: var(--corp-blue); }
.principles p, .about-grid > div > p:last-child { color: var(--corp-soft); }
.principles article { border-color: var(--corp-line); }
.corp-contact { border-color: var(--corp-blue); padding-left: 32px; }
.brand-footer { background: #0b0f14; border-top: 1px solid var(--corp-line); padding-top: 55px; }
.brand-footer .footer-wordmark { color: #fff; font-size: 36px; }
.brand-footer .footer-product { color: #b3c1cb; }
.brand-footer .footer-product:hover { color: var(--corp-blue); }
.product-intro { padding-block: 40px 55px; }
.product-hero-grid { gap: 70px; min-height: 440px; }
.product-hero-grid h1 { color: var(--text); font-size: clamp(2.3rem, 4vw, 3.9rem); }
.product-hero-grid h2 { color: var(--corp-blue); font-size: clamp(1.3rem, 2vw, 1.8rem); }
.product-brand-panel { background: radial-gradient(ellipse at 50% 0%, #36d9d111, transparent 75%), #121a23; border-color: #36d9d12b; border-radius: 10px; padding: 35px; }
.product-brand-panel:has(img[src*="school"]), .product-brand-panel:has(img[src*="tails"]), .product-brand-panel:has(img[src*="casemdia"]), .product-brand-panel:has(img[src*="amanor"]), .product-brand-panel:has(img[src*="cortexops"]) { background: #fffdf9; color: #263d49; }
.product-brand-panel .product-logo { width: 100%; height: auto; max-height: 280px; min-height: 0; object-fit: contain; transform: none; }
.product-brand-panel figcaption { color: inherit; opacity: .8; }
.scope-note { background: #192129; border: 1px solid var(--corp-line); border-left: 2px solid var(--corp-blue); }
.practical-examples .article-grid > article { background: #161e26; border-color: var(--corp-line); }
.article-main { padding-top: 24px; }
.breadcrumb { font-size: 11px; color: #8f9fae; gap: 9px; line-height: 1.7; }
.article-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 60px; padding-block: 60px 65px; }
.article-hero h1 { max-width: 22ch; font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1.15; }
.article-hero-visual { padding: 22px; background: #121b25; border: 1px solid var(--corp-line); border-radius: 10px; box-shadow: none; }
.article-hero-visual img { width: 100%; height: auto; min-height: 0; object-fit: contain; object-position: center; border-radius: 3px; }
.article-lead { color: var(--text-soft); font-size: 16px; line-height: 1.85; }
.article-question-panel, .article-card, .article-step, .faq-item, .insight-card { background: #161e26; border: 1px solid var(--corp-line); box-shadow: none; border-radius: 8px; }
.article-step > span { color: var(--corp-blue); }
.article-section { padding-block: 58px; }
.article-section > .section-heading h2, .article-section > h2, .section-heading h2 { max-width: 30ch; font-size: clamp(1.75rem, 3vw, 2.8rem); }
.contact-card, .final-cta-card { background: linear-gradient(110deg, #143437, #18212a); border-color: #36d9d144; box-shadow: none; border-radius: 10px; }
.contact-email { color: var(--corp-blue); }
.hero { gap: 50px; padding-block: 50px; }
.hero h1 { font-size: clamp(2.1rem, 3.7vw, 3.7rem); max-width: 23ch; }
.product-shell h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.2; }
.hero .hero-kicker, .hero-bridge, .hero-text { color: var(--text-soft); }
.hero-kicker, .hero-title-accent { color: var(--corp-blue); }
.product-shell, .current-state-card, .feature-card, .question-card, .flow-card, .comparison-card, .roadmap-card, .audience-card, .insight-card, .use-case-card, .architecture-card, .metric-card, .foundation-card, .command-card, .module-card { background: #161e26; border-color: var(--corp-line); box-shadow: none; border-radius: 10px; }
.product-visual-card img, .proof-card img { height: auto; object-fit: contain; }
.product-context { width: min(1240px, calc(100% - 64px)); margin-block: 25px; padding-block: 12px; border-bottom: 1px solid var(--corp-line); color: #c7d2dc; }
.product-context a { color: var(--corp-blue); }
.aura-wordmark { font: 700 clamp(1.5rem, 2vw, 2rem)/1.3 CorpDisplay, sans-serif; color: var(--text); margin: 25px 0 18px; letter-spacing: -.035em; }
.aura-wordmark span { color: var(--corp-gold); }
.aura-hero { grid-template-columns: 1.1fr 1fr; padding-top: 48px; gap: 70px; }
.aura-hero h1 { font-size: clamp(2.4rem, 4vw, 4.1rem); max-width: 18ch; line-height: 1.12; margin: 0 0 24px; }
.aura-hero .article-lead { max-width: 540px; }
.aura-scope { color: var(--muted); max-width: 480px; font-size: 12px; line-height: 1.8; margin-top: 24px; padding-left: 16px; border-left: 2px solid var(--corp-blue); }
.aura-stage { position: relative; isolation: isolate; margin: 0; min-width: 0; min-height: 390px; display: flex; flex-direction: column; justify-content: center; padding: 42px 20px 28px; border: 1px solid #36d9d130; border-radius: 14px; background: radial-gradient(ellipse at 50% 40%, #17434670, transparent 75%), #0d1720; box-shadow: 0 30px 70px #0004; }
.aura-logo-frame { position: relative; z-index: 1; padding: 16px 8px; }
.aura-logo-frame img { display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 3/1; object-fit: contain; object-position: center; transform: none; }
.aura-orbits { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; opacity: .65; }
.aura-orbits span { position: absolute; left: 15%; top: 8%; width: 70%; aspect-ratio: 1; border: 1px solid #36d9d118; border-radius: 50%; }
.aura-orbits span:nth-child(2) { inset: 2% auto auto 7%; width: 86%; }
.aura-orbits span:nth-child(3) { inset: -9% auto auto -5%; width: 110%; }
.aura-orbits span:first-child { border-top-color: #36d9d1a0; animation: aura-orbit 16s linear infinite; }
.voice-wave { display: flex; justify-content: center; align-items: center; gap: 4px; height: 85px; margin: 10px 10px 20px; }
.voice-wave i { display: block; width: 4px; height: calc(var(--bar) * 1px); border-radius: 2px; background: linear-gradient(var(--corp-blue), #198c9e); transform-origin: center; animation: aura-wave 1.6s ease-in-out infinite alternate; animation-delay: calc(var(--delay) * -160ms); }
.aura-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; }
.aura-chips span { color: #b0dad8; font-size: 10px; padding: 5px 9px; border: 1px solid #36d9d12b; border-radius: 3px; background: #10272c; }
.aura-stage figcaption { text-align: center; padding: 22px 10px 0; }
.aura-stage figcaption strong { display: block; color: #e0eeef; font-size: 14px; }
.aura-stage figcaption > span { display: block; font-size: 10px; color: #94aab9; margin-top: 7px; }
.aura-flow { display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: 0 0 65px; list-style: none; border-block: 1px solid var(--corp-line); }
.aura-flow li { display: flex; gap: 15px; align-items: center; padding: 20px 12px; font-size: 12px; }
.aura-flow li span { color: var(--corp-blue); font-size: 10px; }
.aura-flow li + li { border-left: 1px solid var(--corp-line); }
.motion-control { position: fixed; z-index: 70; bottom: 18px; right: 18px; display: flex; gap: 9px; align-items: center; padding: 9px 12px; color: #c6d9dc; border: 1px solid #36d9d13d; border-radius: 4px; background: #121a22ed; backdrop-filter: blur(12px); font: 400 10px/1.5 CorpSans, sans-serif; cursor: pointer; }
.motion-control[hidden] { display: none; }
.motion-control:hover { border-color: var(--corp-blue); }
/* Content is readable without JavaScript. Only the enhanced path animates reveals. */
body[data-design] .reveal { opacity: 1; transform: none; transition: none; }
.motion-enabled .motion-reveal { transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.motion-enabled .motion-reveal:not(.motion-visible) { opacity: 0; transform: translateY(24px); }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
@keyframes aura-wave { from { transform: scaleY(.35); opacity: .5; } to { transform: scaleY(1); opacity: 1; } }
@keyframes aura-orbit { to { transform: rotate(360deg); } }
@keyframes map-signal { 0%, 15% { transform: translateX(0); opacity: 0; } 25% { opacity: 1; } 75%, 100% { transform: translateX(750px); opacity: 0; } }
@media (max-width: 1150px) {
  .brand-menu { gap: 16px; }
  .brand-menu nav a { padding-block: 14px; }
  .brand-header:has(.is-open) { max-height: calc(100dvh - 24px); overflow-y: auto; }
  .brand-hero .corp-hero { gap: 35px; }
  .brand-hero .hero-brand { font-size: 68px; }
  .brand-hero .hero-brand .brand-symbol { width: 76px; height: 92px; flex-basis: 76px; }
  .aura-hero, .article-hero, .product-hero-grid { gap: 35px; }
}
@media (max-width: 800px) {
  .wrap, .section, .article-main, .product-context { width: calc(100% - 40px); }
  .brand-hero .corp-hero, .aura-hero, .article-hero, .product-hero-grid { grid-template-columns: 1fr; }
  .brand-hero .corp-hero { padding-block: 50px; gap: 40px; }
  .brand-hero .hero-brand { font-size: clamp(52px, 10vw, 78px); }
  .brand-hero .portfolio-map { padding: 22px; }
  .aura-hero { padding-block: 32px 40px; }
  .aura-hero h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
  .aura-stage { max-width: 600px; width: 100%; min-height: 340px; margin-inline: auto; }
  .aura-flow { margin-bottom: 40px; }
  .aura-flow li { flex-direction: column; gap: 5px; padding: 14px 4px; font-size: 10px; }
  .product-hero-grid { margin-top: 28px; min-height: 0; }
  .article-hero { padding-block: 35px; }
  .article-section, .corp-section { padding-block: 48px; }
  .article-hero h1 { max-width: 100%; }
}
@media (max-width: 600px) {
  .brand-header { top: 8px; margin-top: 8px; width: calc(100% - 20px); padding: 12px; gap: 10px; }
  .brand-home > .brand-name { font-size: 26px; }
  .brand-home .brand-symbol { width: 42px; height: 44px; flex-basis: 42px; }
  .brand-home small { font-size: 6px; }
  .brand-menu { padding: 6px; }
  .brand-languages a { min-width: 44px; min-height: 44px; text-align: center; padding: 12px; }
  .brand-menu .brand-contact { padding: 12px 15px; }
  .brand-hero .brand-mission { font-size: 25px; }
  .brand-hero .corp-lead { font-size: 16px; }
  .corp-lead { font-size: 16px; }
  .product-identity .portfolio-logo { width: 95px; flex-basis: 95px; height: 65px; }
  .product-identity h3 { font-size: 21px; }
  .portfolio-card { padding: 22px; }
  .portfolio-card.compact-card { padding: 20px; }
  .product-brand-panel { padding: 24px; }
  .product-actions, .hero-actions { gap: 10px; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .aura-stage { padding: 28px 14px 22px; min-height: 300px; }
  .aura-hero h1 { font-size: clamp(2.15rem, 8vw, 3rem); }
  .aura-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .aura-flow li { font-size: 9px; gap: 6px; }
  .voice-wave { gap: 3px; margin-inline: 0; }
  .voice-wave i { width: 3px; }
  .article-grid-three, .article-question-list { grid-template-columns: 1fr; }
  .corp-contact { padding-left: 20px; }
  .motion-control { bottom: 10px; right: 10px; }
  .breadcrumb > span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body[data-design] *, body[data-design] *::before, body[data-design] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .motion-enabled .motion-reveal:not(.motion-visible) { opacity: 1; transform: none; }
}
