@import url('figures.css');
/* White-first brand palette: black structure, mint actions, and purple reasoning. */
:root {
    --bg-primary: #fff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #ebebef;
    --text-primary: #242426;
    --text-secondary: #55555e;
    --text-muted: #686873;
    --accent: #6d3dc5;
    --accent-hover: #51299b;
    --border: #d7d7df;
    --ink: #0e0e10;
    --mint: #34e3b8;
    --teal: #006b55;
    --mint-wash: #eafbf5;
    --purple: #6d3dc5;
    --purple-bright: #b399ff;
    --purple-wash: #f5f0ff;
    --tone: var(--teal);
    --tone-bright: var(--mint);
    --tone-wash: var(--mint-wash);
}
[data-tone="evidence"] { --tone: var(--teal); --tone-bright: var(--mint); --tone-wash: var(--mint-wash); }
[data-tone="reasoning"], [data-tone="execution"] { --tone: var(--purple); --tone-bright: var(--purple-bright); --tone-wash: var(--purple-wash); }
[data-tone="foundation"] { --tone: var(--ink); --tone-bright: #fff; --tone-wash: #f3f3f5; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body.editorial { margin: 0; background: #fff; color: var(--text-primary); font-family: Inter, sans-serif; line-height: 1.65; padding-top: 0; }
:where(body.editorial) p, :where(body.editorial) h1, :where(body.editorial) h2, :where(body.editorial) h3, :where(body.editorial) figure { margin: 0; }
body.editorial a { color: inherit; }
body.editorial button, body.editorial input, body.editorial select, body.editorial textarea { font: inherit; }
body.editorial :focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.home-wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 2000; padding: 12px 18px; background: #fff; }
.skip-link:focus { top: 12px; }
body.editorial #navbar { position: sticky; top: 0; z-index: 1000; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 23px max(48px, calc((100vw - 1240px) / 2)); background: #fff; border-bottom: 1px solid #e8e8ee; }
body.editorial #navbar.scrolled { background: #fff; }
body.editorial .logo { display: flex; align-items: center; text-decoration: none; }
body.editorial .nav-links { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; margin: 0; }
body.editorial .nav-links > li > a { font: 500 13px/1.5 Inter, sans-serif; text-decoration: none; padding-block: 12px; }
body.editorial .nav-dropdown:focus-within .dropdown-menu { visibility: visible; opacity: 1; }
body.editorial .dropdown-menu { margin-top: 0; }
body.editorial .nav-cta { display: flex; gap: 18px; align-items: center; }
body.editorial .theme-toggle { display: none; }
body.editorial .btn { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 11px 20px; text-decoration: none; border: 1px solid transparent; font: 600 13px/1.5 Inter, sans-serif; cursor: pointer; }
body.editorial .btn-primary, body.editorial .btn-accent { background: var(--mint); color: var(--ink); }
body.editorial .btn-primary:hover, body.editorial .btn-accent:hover { background: #7ff0d2; }
body.editorial .btn-ghost { background: transparent; border: 0; }
body.editorial .mobile-panel { background: #fff; }
body.editorial .mobile-panel-cta > div { display: none !important; }
.eyebrow { font: 500 11px/1.6 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.home-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 36px; padding-block: 88px 76px; }
.hero-copy h1 { font-size: clamp(46px, 4.4vw, 66px); line-height: 1.08; font-weight: 600; letter-spacing: -.055em; margin-top: 22px !important; }
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.hero-description { max-width: 49ch; margin-top: 26px !important; font-size: 17px; color: var(--text-secondary); }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 32px; }
body.editorial .home-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 12px 20px; background: var(--mint); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; }
body.editorial .home-button:hover { background: #7ff0d2; }
body.editorial .home-text-link { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; font: 600 13px/1.6 Inter, sans-serif; padding-block: 10px; }
body.editorial .home-text-link:hover { color: var(--accent); }
.hero-illustration img { width: 100%; height: auto; display: block; }
.hero-illustration figcaption { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--border); padding-top: 13px; font: 11px/1.5 'JetBrains Mono', monospace; color: var(--text-muted); }
.product-transformation { padding-bottom: 0; }
.product-ribbon { background: var(--bg-secondary); border-block: 1px solid #e8e8ee; padding-block: 24px 28px; }
.product-ribbon ul { display: flex; flex-wrap: wrap; gap: 12px 30px; list-style: none; padding: 0; margin: 12px 0 0; font-size: 13px; font-weight: 600; }
.home-section { padding-block: 94px; }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end; margin-bottom: 42px; }
body.editorial h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.14; font-weight: 600; letter-spacing: -.045em; }
.section-heading h2 { margin-top: 16px !important; }
.section-heading > p { color: var(--text-secondary); font-size: 16px; max-width: 49ch; }
.product-browser { display: grid; grid-template-columns: 300px 1fr; border: 1px solid var(--border); }
.product-tabs { display: flex; flex-direction: column; background: var(--bg-secondary); border-right: 1px solid var(--border); }
.product-tabs button { text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--border); padding: 20px 26px; color: var(--text-primary); cursor: pointer; position: relative; }
.product-tabs button:last-child { border-bottom: 0; }
.product-tabs button[aria-selected="true"] { background: #fff; }
.product-tabs button[aria-selected="true"]::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.product-tabs button[data-tone][aria-selected="true"]::before { background: var(--tone); }
.product-tabs button[data-tone][aria-selected="true"] { background: var(--tone-wash); }
.product-panel[data-tone] .eyebrow, .product-panel[data-tone] dt { color: var(--tone); }
.product-tabs button span { display: block; font-size: 15px; font-weight: 600; }
.product-tabs button small { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.product-panels { min-width: 0; background: #fff; }
.product-panel { padding: 46px 54px; }
.product-panel[hidden] { display: none; }
.product-panel h3 { font-size: clamp(30px, 3vw, 42px); line-height: 1.16; letter-spacing: -.035em; font-weight: 600; margin-top: 22px !important; }
.product-panel > p:not(.eyebrow) { font-size: 16px; color: var(--text-secondary); max-width: 60ch; margin-top: 22px !important; }
.product-panel dl { margin: 30px 0 18px; }
.product-panel dl > div { display: grid; grid-template-columns: 122px 1fr; gap: 20px; padding-block: 18px; border-top: 1px solid var(--border); }
.product-panel dt { font: 500 11px/1.7 'JetBrains Mono', monospace; color: var(--accent); text-transform: uppercase; }
.product-panel dd { font-size: 14px; margin: 0; color: var(--text-secondary); }
/* Without JavaScript, every product remains readable. */
body.editorial:not(.products-enhanced) .product-panel[hidden] { display: block; border-top: 1px solid var(--border); }
.stack-section { padding-block: 90px; background: var(--bg-secondary); }
.stack-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; align-items: center; }
.stack-layout h2, .data-layout h2 { margin-top: 18px !important; }
.section-description { font-size: 16px; color: var(--text-secondary); margin-top: 24px !important; max-width: 49ch; }
.section-note { font-size: 14px; color: var(--text-secondary); margin-block: 22px !important; max-width: 48ch; }
.stack-layers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.stack-layers li { display: flex; align-items: flex-start; gap: 24px; padding: 24px; border: 1px solid var(--border); background: #fff; }
.stack-layers li:last-child { border-color: var(--accent); }
.stack-layers li:nth-child(2) { border-left: 3px solid var(--purple); }
.stack-layers li:nth-child(3) { border-left: 3px solid var(--teal); }
.stack-layers li:nth-child(2) .layer-number { color: var(--purple); }
.stack-layers li:nth-child(3) .layer-number { color: var(--teal); }
.layer-number { font: 12px/1.7 'JetBrains Mono', monospace; color: var(--accent); padding-top: 1px; }
.stack-layers h3 { font-size: 16px; font-weight: 600; }
.stack-layers p { margin-top: 6px !important; color: var(--text-secondary); font-size: 14px; }
.data-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; align-items: center; }
.data-layout .home-text-link { margin-top: 20px; }
.data-panel { border: 1px solid var(--border); padding: 36px; background: #fff; }
.data-panel[data-tone] { border-top: 3px solid var(--teal); background: var(--mint-wash); }
.data-panel[data-tone] .eyebrow { color: var(--teal); }
.discovery-headline { font-size: clamp(25px, 2.7vw, 36px); line-height: 1.25; letter-spacing: -.04em; margin-block: 24px !important; font-weight: 600; }
.data-panel .discovery-cloud { border-top: 1px solid var(--border); margin-top: 24px !important; padding-top: 20px; color: var(--text-primary) !important; font-weight: 500; }
.inventory { display: flex; flex-direction: column; margin-block: 22px; }
.inventory strong { font-size: 60px; letter-spacing: -.055em; line-height: 1.1; font-weight: 600; }
.inventory span { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.inventory-details { margin: 0 0 20px; }
.inventory-details > div { display: flex; justify-content: space-between; gap: 24px; padding-block: 12px; border-top: 1px solid var(--border); font-size: 13px; }
.inventory-details dd { margin: 0; font-weight: 600; }
.data-panel > p:not(.eyebrow) { font-size: 14px; color: var(--text-secondary); }
.data-panel p.source-terms { font-size: 12px; margin-top: 18px !important; }
.work-section { padding-block: 80px; background: #f5f5f7; }
.work-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.work-options article { padding-top: 24px; border-top: 1px solid #b9b9c4; }
.work-options h3 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; margin-top: 14px !important; }
.work-options p { font-size: 15px; color: var(--text-secondary); margin-top: 14px !important; }
.work-options .home-text-link { margin-top: 14px; }
.audience-line { display: flex; gap: 60px; align-items: center; justify-content: space-between; padding-block: 30px; font-size: 14px; color: var(--text-secondary); }
.audience-line p { max-width: 75ch; }
.audience-line a { flex-shrink: 0; }
body.editorial .contact-section { max-width: none; padding: 84px 48px; background: var(--ink); --text-primary: #fff; --text-secondary: #e3e3eb; --text-muted: #b8b8c6; --border: #626273; --bg-primary: #fff; --bg-secondary: var(--ink); }
body.editorial .contact-section .section-label { color: var(--mint); }
body.editorial .contact-section .section-title { color: #fff; font: 600 clamp(30px, 3.5vw, 44px)/1.14 Inter, sans-serif; letter-spacing: -.04em; margin: 14px 0 20px; }
body.editorial .contact-section .section-subtitle { color: #e3e3eb; font: 16px/1.65 Inter, sans-serif; }
body.editorial .contact-section .contact-tab { font: 500 13px/1.5 Inter, sans-serif; }
body.editorial .contact-section .contact-tab.active { background: var(--mint); color: var(--ink); border-color: var(--mint); }
body.editorial .contact-section :focus-visible { outline-color: var(--mint); }
body.editorial .contact-section input, body.editorial .contact-section select, body.editorial .contact-section textarea { font: 15px/1.5 Inter, sans-serif; color: #242426; border-color: #d7d7df; }
body.editorial .contact-section input::placeholder, body.editorial .contact-section textarea::placeholder { color: #686873; }
body.editorial .contact-section select option { color: #242426; }
body.editorial footer { width: min(1240px, calc(100% - 96px)); margin-inline: auto; max-width: none; padding: 58px 0 26px; border-top: 0; }
body.editorial footer .footer-tagline, body.editorial footer .footer-col a { font-family: Inter, sans-serif; color: #55555e; }
body.editorial footer .footer-col h4 { font: 500 11px/1.5 'JetBrains Mono', monospace; }
body.editorial footer .footer-bottom { font: 12px/1.6 Inter, sans-serif; }
@media (max-width: 1100px) {
    .home-wrap, body.editorial footer { width: calc(100% - 64px); }
    body.editorial #navbar { padding-inline: 32px; }
    body.editorial .nav-links { gap: 20px; }
    .stack-layout, .data-layout { gap: 48px; }
    .product-browser { grid-template-columns: 260px 1fr; }
    .product-panel { padding: 36px; }
}
@media (max-width: 1024px) {
    body.editorial #navbar .nav-links { display: none; }
    body.editorial #navbar { min-height: 80px; }
}
@media (max-width: 760px) {
    .transformation-stages { grid-template-columns: 1fr; gap: 32px; }
    .transformation-stages li:not(:last-child)::after { content: '↓'; top: auto; right: 50%; bottom: -31px; }
    .transformation-map, .product-map { padding: 22px; }
    .home-hero { grid-template-columns: 1fr; gap: 30px; padding-block: 52px 38px; }
    .hero-copy h1 { font-size: clamp(40px, 7.5vw, 56px); }
    .hero-description { font-size: 16px; }
    .hero-illustration { max-width: 580px; }
    .section-heading, .stack-layout, .data-layout { grid-template-columns: 1fr; gap: 28px; }
    .home-section, .stack-section { padding-block: 58px; }
    .product-browser { grid-template-columns: 1fr; }
    .product-tabs { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--border); }
    .product-tabs button { padding: 16px; border-bottom: 1px solid var(--border); }
    .product-tabs button:nth-child(odd) { border-right: 1px solid var(--border); }
    .product-tabs button:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .product-panel { padding: 28px; }
    .product-panel h3 { font-size: 32px; }
    .product-panel dl > div { grid-template-columns: 1fr; gap: 6px; }
    .work-options { grid-template-columns: 1fr; gap: 28px; }
    .work-section { padding-block: 58px; }
    .audience-line { flex-direction: column; align-items: start; gap: 10px; }
    body.editorial .contact-section { padding: 58px 24px; }
    body.editorial .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .home-wrap, body.editorial footer { width: calc(100% - 40px); }
    body.editorial #navbar { padding: 20px; }
    body.editorial #navbar .logo img { height: 24px !important; max-width: 200px; }
    .eyebrow { font-size: 10px; }
    .hero-copy h1 { font-size: 42px; }
    .home-actions { gap: 12px 20px; }
    .hero-illustration figcaption { font-size: 10px; }
    .product-ribbon ul { gap: 10px 22px; font-size: 12px; }
    .product-panel { padding: 24px; }
    .product-tabs button span { font-size: 13px; }
    .product-tabs button small { font-size: 11px; }
    .product-panel h3 { font-size: 29px; }
    .product-panel > p:not(.eyebrow) { font-size: 15px; }
    .stack-layers li { padding: 20px; gap: 16px; }
    .data-panel { padding: 24px; }
    .inventory strong { font-size: 54px; }
    .inventory-details > div { font-size: 12px; gap: 12px; }
    body.editorial .contact-tabs { flex-wrap: wrap; }
    body.editorial .contact-tab { padding: 14px 18px; }
    body.editorial footer .footer-nav { gap: 24px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
