/* NSTACK website v2. Loads after v1's ../../assets/site.css and keeps its tokens, type, nav, buttons, and figure
   grammar. v2 tells one story on Home: one idea and one visual per section, fewer words, and visuals that alternate
   between animated flows (figures.js) and isometric drawings (ambient.js). */

:root { --section-y: clamp(96px, 10.5vw, 160px); }

.v2-split .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

/* Hero: the promise across the page, then the lead beside the three layers */
.v2-hero { padding-top: clamp(48px, 6.4vw, 96px); padding-bottom: clamp(56px, 6vw, 96px); }
.v2-hero .eyebrow { margin-bottom: 28px; }
.v2-hero .display { max-width: none; }
.v2-hero .sub { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 36px; align-items: start; margin-top: clamp(32px, 3.4vw, 48px); }
.v2-hero .copy { grid-column: 1 / span 6; display: grid; gap: 26px; justify-items: start; padding-top: clamp(8px, 2vw, 40px); }
.v2-hero .lead { max-width: 31em; }
.v2-hero .btns { margin-top: 2px; }
.v2-hero .proof { display: flex; align-items: baseline; gap: 14px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--studio-line); font-size: 14px; line-height: 22px; color: var(--studio-ink-muted); max-width: 31em; }
.v2-hero .proof .cap { white-space: nowrap; }
.v2-hero .art { grid-column: 7 / span 6; height: clamp(360px, 31vw, 450px); margin-top: -28px; }
.v2-hero .eyebrow, .v2-hero .display .line, .v2-hero .copy > *, .v2-hero .art { animation: rise 900ms var(--ease-expo) both; }
.v2-hero .eyebrow { animation-delay: 40ms; }
.v2-hero .display .line:nth-child(1) { animation-delay: 90ms; }
.v2-hero .display .line:nth-child(2) { animation-delay: 160ms; }
.v2-hero .display .line:nth-child(3) { animation-delay: 230ms; }
.v2-hero .copy > :nth-child(1) { animation-delay: 320ms; }
.v2-hero .copy > :nth-child(2) { animation-delay: 390ms; }
.v2-hero .copy > :nth-child(3) { animation-delay: 460ms; }
.v2-hero .art { animation-delay: 420ms; animation-duration: 1200ms; }

/* The signature drawing reads stronger than ambient art, and its layers can light one at a time */
.amb.amb-sig .a-s { stroke: color-mix(in srgb, var(--studio-ink) 34%, var(--amb-bg)); }
.amb.amb-sig .a-s.lt { stroke: color-mix(in srgb, var(--studio-ink) 21%, var(--amb-bg)); }
.amb.amb-sig .a-s.dt { stroke: color-mix(in srgb, var(--studio-tone-data) 78%, var(--amb-bg)); }
.amb.amb-sig .a-f.f3 { fill: color-mix(in srgb, var(--studio-ink) 4%, var(--amb-bg)); }
.amb.amb-sig .a-f.f2 { fill: color-mix(in srgb, var(--studio-ink) 3%, var(--amb-bg)); }
.amb.amb-sig .a-f.f1 { fill: color-mix(in srgb, var(--studio-ink) 1.5%, var(--amb-bg)); }
.amb.amb-sig .a-f.dt { fill: color-mix(in srgb, var(--studio-tone-data) 9%, var(--amb-bg)); }
.amb.amb-sig .a-d.ax { stroke: color-mix(in srgb, var(--studio-tone-data) 55%, var(--amb-bg)); }
.amb.amb-sig .a-l { font-size: 9.5px; fill: color-mix(in srgb, var(--studio-ink) 58%, var(--amb-bg)); }
.amb.amb-sig .a-l.sm { font-size: 8px; fill: color-mix(in srgb, var(--studio-ink) 46%, var(--amb-bg)); }
.amb.amb-sig .a-l.dt { fill: var(--studio-tone-data); }
.amb.amb-mid .a-s { stroke: color-mix(in srgb, var(--studio-ink) 27%, var(--amb-bg)); }
.amb.amb-mid .a-s.lt { stroke: color-mix(in srgb, var(--studio-ink) 17%, var(--amb-bg)); }
.amb.amb-mid .a-d.lt { stroke: color-mix(in srgb, var(--studio-ink) 22%, var(--amb-bg)); }
.amb.amb-mid .a-l { fill: color-mix(in srgb, var(--studio-ink) 52%, var(--amb-bg)); }
.amb.amb-mid .a-l.dt { fill: color-mix(in srgb, var(--studio-tone-data) 85%, var(--amb-bg)); }
.amb .lyr { transition: opacity 600ms var(--ease-out); }
.amb[data-layer="0"] .lyr:not([data-l="0"]),
.amb[data-layer="1"] .lyr:not([data-l="1"]),
.amb[data-layer="2"] .lyr:not([data-l="2"]) { opacity: .26; }

/* Section heads in v2: a quiet index, one title, one short lead */
.v2-head { display: grid; gap: 22px; justify-items: start; max-width: 46rem; margin-bottom: clamp(48px, 6vw, 80px); }
.v2-head .lead { max-width: 36em; }

/* 01 · The gap: a two-tone statement, the systems standing apart */
.v2-gap .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 36px; align-items: center; }
.v2-gap .eyebrow { grid-column: 1 / -1; grid-row: 1; }
.v2-gap .statement { grid-column: 1 / span 7; grid-row: 2; font-weight: 600; font-size: clamp(32px, 3.7vw, 54px); line-height: 1.07; letter-spacing: -0.036em; text-wrap: balance; }
.v2-gap .statement .soft { color: var(--studio-ink-muted); }
.v2-gap .body { grid-column: 1 / span 6; grid-row: 3; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--studio-ink-soft); max-width: 34em; }
.v2-gap .art { grid-column: 8 / span 5; grid-row: 2 / span 2; height: 300px; }

/* 02 · Three layers: a sticky stack lights the layer you are reading */
.v2-layers .story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.v2-layers .rail { grid-column: 1 / span 5; }
.v2-layers .rail-inner { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 18px; }
.v2-layers .rail .amb { height: min(58vh, 470px); }
.v2-layers .rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-width: 22rem; }
.v2-layers .rail li a { display: grid; grid-template-columns: 28px 1fr; align-items: baseline; padding: 9px 12px; border-radius: 6px; text-decoration: none; color: var(--studio-ink-muted); font-size: 15px; font-weight: 500; transition: background var(--duration), color var(--duration); }
.v2-layers .rail li a .n { font: 500 11px/1 var(--font-studio-mono); letter-spacing: .06em; color: var(--studio-ink-muted); }
.v2-layers .rail li a:hover { color: var(--studio-ink); background: var(--studio-wash); }
.v2-layers .rail li a[aria-current="step"] { color: var(--studio-ink); background: var(--studio-wash); }
.v2-layers .rail li a[aria-current="step"] .n { color: var(--studio-tone-data); }
.v2-layers .layers { grid-column: 7 / span 6; display: grid; gap: clamp(112px, 16vh, 176px); padding-block: 4vh 0; }
.layer { display: grid; gap: 18px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.layer .idx { font: 500 11.5px/16px var(--font-studio-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--studio-ink-muted); }
.layer .idx b { font-weight: 500; color: var(--studio-ink); }
.layer .h3 { font-size: clamp(24px, 2.25vw, 31px); line-height: 1.14; letter-spacing: -0.026em; text-wrap: balance; }
.layer p { font-size: clamp(16.5px, 1.25vw, 18px); line-height: 1.62; color: var(--studio-ink-soft); max-width: 34em; }
.layer .stage { margin-top: 14px; }
.layer .isostage { height: 260px; margin-top: 10px; }
.layer.key .idx b { color: var(--studio-tone-data); }
.layer.key .keytag { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 4px 10px; border: 1px solid color-mix(in srgb, var(--studio-tone-data) 35%, transparent); border-radius: 999px; font: 500 11px/16px var(--font-studio-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--studio-tone-data); }
.layer.key .keytag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--studio-tone-data); }

/* 03 · Industries: three tiles, one drawing each */
.v2-ind .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.v2-ind .tile { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 22px 24px 24px; border: 1px solid var(--studio-line); border-radius: 10px; background: var(--studio-surface); color: inherit; text-decoration: none; transition: border-color 220ms var(--ease-out), transform 220ms var(--ease-out); }
.v2-ind .tile:hover { border-color: var(--studio-line-strong); transform: translateY(-2px); }
.v2-ind .tile .amb { --amb-bg: var(--studio-surface); height: 150px; margin: -4px -8px 4px; }
.v2-ind .tile h3 { font-size: 19px; line-height: 26px; font-weight: 600; letter-spacing: -0.014em; }
.v2-ind .tile p { font-size: 15px; line-height: 1.58; color: var(--studio-ink-soft); }
.v2-ind .tile .go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--studio-ink); }
.v2-ind .tile .go .ico { color: var(--studio-ink-muted); transition: transform 220ms var(--ease-out); }
.v2-ind .tile:hover .go .ico { transform: translateX(3px); color: currentColor; }
.v2-ind .tile .live { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 6px; font: 500 10.5px/16px var(--font-studio-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--studio-ink-muted); }
.v2-ind .tile .live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--studio-tone-data); }

/* Split sections: copy on one side, one visual on the other */
.v2-split .wrap { row-gap: 44px; align-items: center; }
.v2-split .copy { grid-column: 1 / span 5; display: grid; gap: 22px; justify-items: start; }
.v2-split .copy .lead { max-width: 30em; }
.v2-split .visual { grid-column: 7 / span 6; }
.v2-split .visual.iso { height: 300px; }
.v2-split.rev .copy { grid-column: 8 / span 5; grid-row: 1; }
.v2-split.rev .visual { grid-column: 1 / span 6; grid-row: 1; }

/* The works-with carousel (Home hero foot, reusable as .marquee anywhere): data sources and agent tools, in place of a
   customer logo wall. It pauses on hover and focus, and stands still as a wrapped list under reduced motion. */
.v2-hero .logos { margin-top: clamp(48px, 5vw, 72px); padding-top: 26px; border-top: 1px solid var(--studio-line); display: grid; gap: 18px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee .track { list-style: none; margin: 0; padding: 0 22px 0 0; display: flex; flex: none; align-items: center; gap: 44px; animation: v2-marquee 52s linear infinite; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
.marquee li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--studio-ink-muted); white-space: nowrap; }
.marquee .clogo { width: 20px; height: 20px; color: var(--studio-ink-soft); }
.marquee li.agentic { color: var(--studio-ink-soft); }
.marquee li.agentic .clogo { color: var(--studio-ink); }
@keyframes v2-marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
  .marquee .track { animation: none; flex: 1 1 100%; flex-wrap: wrap; gap: 14px 32px; padding-right: 0; }
  .marquee .track[aria-hidden="true"] { display: none; }
}
:root[data-motion="reduce"] .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
:root[data-motion="reduce"] .marquee .track { animation: none; flex: 1 1 100%; flex-wrap: wrap; gap: 14px 32px; padding-right: 0; }
:root[data-motion="reduce"] .marquee .track[aria-hidden="true"] { display: none; }
.clogo[data-logo="mcp"] { --logo: url(img/agents/modelcontextprotocol.svg); }
.clogo[data-logo="claude"] { --logo: url(img/agents/claude.svg); }
.clogo[data-logo="gemini"] { --logo: url(img/agents/googlegemini.svg); }
.clogo[data-logo="openai"] { --logo: url(img/agents/openai.svg); }

/* Facets: three short labels under a layer's paragraph */
.facets { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facets li { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 11px; border: 1px solid var(--studio-line); border-radius: 999px; background: var(--studio-surface); font: 500 11px/1 var(--font-studio-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--studio-ink-soft); }
.facets li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--studio-tone-data); }
.layer .shot { margin-top: 6px; }
.layer .v2-strip { display: grid; gap: 10px; padding: 12px 14px; }
.layer .v2-strip img { max-width: 100%; border-radius: 4px; }
.layer .v2-strip .cap { font-size: 10.5px; }

/* The experience demo: tabs by industry, one live flow each */
.layer .demo { margin-top: 10px; gap: 14px; }
.layer .demo .car-tabs { justify-self: start; }
.layer .demo [data-slide] .fig { margin: 0; }

/* 03 · The product: real screens in a grid */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; gap: var(--gutter); }
.bento .tile { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; background: var(--studio-surface); }
.bento .tile .frame { position: relative; overflow: hidden; border-bottom: 1px solid var(--studio-line); background: var(--studio-canvas); }
.bento .tile .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.bento .tile figcaption { padding: 14px 16px 16px; font-size: 14.5px; line-height: 1.5; color: var(--studio-ink-soft); }
.bento .t-run { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.bento .t-run .frame { min-height: 470px; }
.bento .t-agent { grid-column: 6 / span 7; grid-row: 1; }
.bento .t-agent .frame { height: 250px; }
.bento .t-prod { grid-column: 6 / span 7; grid-row: 2; }
.bento .t-prod .frame { height: 150px; }
.bento .t-prod .frame img { object-fit: contain; object-position: left center; padding: 10px; }

.shots-cap { margin: clamp(40px, 4.5vw, 64px) 0 16px; }

/* 04 · Industries: eight cases, one drawing each */
.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.case { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 8px; padding: 16px 18px 20px; border: 1px solid var(--studio-line); border-radius: 10px; background: var(--studio-surface); color: inherit; text-decoration: none; transition: border-color 220ms var(--ease-out), transform 220ms var(--ease-out); }
.case:hover { border-color: var(--studio-line-strong); transform: translateY(-2px); }
.case .amb { --amb-bg: var(--studio-surface); height: 112px; margin: 0 -6px 4px; }
.case h3 { font-size: 16px; line-height: 22px; font-weight: 600; letter-spacing: -0.01em; }
.case p { font-size: 14px; line-height: 1.5; color: var(--studio-ink-soft); }
.case .live { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; font: 500 10px/14px var(--font-studio-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--studio-ink-muted); }
.case .live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--studio-tone-data); }

/* 06 · Durable: the run that recovers, then six short value adds */
.v2-durable .durable-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.v2-durable .durable-top .copy { grid-column: 1 / span 5; display: grid; gap: 22px; justify-items: start; }
.v2-durable .durable-top .visual { grid-column: 7 / span 6; }
.durables { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px var(--gutter); }
.durables li { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 1px solid var(--studio-line-strong); }
.durables h3 { font-size: 16.5px; line-height: 23px; font-weight: 600; letter-spacing: -0.01em; }
.durables p { font-size: 14.5px; line-height: 1.55; color: var(--studio-ink-soft); }

/* 06 · Trust: six controls */
.v2-head.with-art { max-width: none; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; column-gap: var(--gutter); }
.v2-head.with-art > div:first-child { display: grid; gap: 22px; justify-items: start; }
.v2-head.with-art .amb { justify-self: stretch; width: 100%; height: 210px; }
.controls { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--studio-line); border-left: 1px solid var(--studio-line); }
.controls li { display: grid; gap: 10px; align-content: start; padding: 26px 26px 30px; border-right: 1px solid var(--studio-line); border-bottom: 1px solid var(--studio-line); background: var(--studio-surface); }
.controls h3 { font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.controls p { font-size: 14.5px; line-height: 1.55; color: var(--studio-ink-soft); }

/* For engineers: the developer center, one request */
.v2-dev .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 36px; align-items: center; }
.v2-dev .copy { grid-column: 1 / span 5; display: grid; gap: 20px; justify-items: start; }
.v2-dev .v2-code { grid-column: 7 / span 6; margin: 0; border: 1px solid var(--studio-line); border-radius: 10px; overflow: hidden; background: var(--studio-surface); }
.v2-dev .codebar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--studio-line); background: var(--studio-paper); font: 500 11.5px/1 var(--font-studio-mono); color: var(--studio-ink-soft); overflow: hidden; white-space: nowrap; }
.v2-dev .codebar .m { padding: 3px 6px; border-radius: 4px; background: color-mix(in srgb, var(--studio-tone-data) 14%, transparent); color: var(--studio-ink); font-weight: 600; }
.v2-dev .codetabs { display: flex; gap: 2px; padding: 2px; border: 1px solid var(--studio-line); border-radius: 6px; background: var(--studio-surface); flex: none; }
.v2-dev .codetabs [role="tab"] { height: 24px; padding: 0 10px; border: 0; border-radius: 4px; background: transparent; font: 600 11px/1 var(--font-studio-mono); letter-spacing: .04em; color: var(--studio-ink-muted); cursor: pointer; }
.v2-dev .codetabs [role="tab"][aria-selected="true"] { background: var(--studio-ink); color: var(--studio-on-ink); }
.v2-dev .codetabs [role="tab"]:focus-visible { outline: 2px solid var(--studio-focus); outline-offset: 1px; }
.v2-dev pre:focus-visible { outline: 2px solid var(--studio-focus); outline-offset: -2px; }
.v2-dev .codebar .p { overflow: hidden; text-overflow: ellipsis; }
.v2-dev pre { margin: 0; padding: 18px 18px 20px; overflow-x: auto; font: 400 12.5px/1.75 var(--font-studio-mono); color: var(--studio-ink); }
.v2-dev pre code { display: block; white-space: pre; padding: 0; border-radius: 0; background: none; font: inherit; color: inherit; }
.v2-dev pre .c { color: var(--studio-ink-muted); }

/* Inner pages: one hero shape for every v2 page. Copy on the left, one isometric drawing on the right. */
.v2-pagehero { padding-top: clamp(40px, 5.4vw, 84px); padding-bottom: clamp(48px, 5vw, 84px); }
.v2-pagehero .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 28px; align-items: center; }
.v2-pagehero .copy { grid-column: 1 / span 7; display: grid; gap: 22px; justify-items: start; }
.v2-pagehero h1 { font-weight: 600; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.03; letter-spacing: -0.042em; text-wrap: balance; color: var(--studio-ink); }
.v2-pagehero .lead { max-width: 33em; }
.v2-pagehero .art { grid-column: 8 / span 5; height: clamp(260px, 27vw, 400px); }
.v2-pagehero .copy > *, .v2-pagehero .art { animation: rise 900ms var(--ease-expo) both; }
.v2-pagehero .copy > :nth-child(2) { animation-delay: 80ms; }
.v2-pagehero .copy > :nth-child(3) { animation-delay: 160ms; }
.v2-pagehero .copy > :nth-child(4) { animation-delay: 240ms; }
.v2-pagehero .art { animation-delay: 260ms; animation-duration: 1200ms; }

/* Section rhythm helpers for inner pages */
.sec.tight { padding-block: clamp(64px, 7vw, 104px); }
.v2-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.v2-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.v2-card { display: grid; gap: 10px; align-content: start; padding: 22px 24px 26px; border: 1px solid var(--studio-line); border-radius: 10px; background: var(--studio-surface); color: inherit; text-decoration: none; }
a.v2-card { transition: border-color 220ms var(--ease-out), transform 220ms var(--ease-out); }
a.v2-card:hover { border-color: var(--studio-line-strong); transform: translateY(-2px); }
.v2-card .amb { --amb-bg: var(--studio-surface); height: 140px; margin: -4px -8px 6px; }
.v2-card h3 { font-size: 18px; line-height: 25px; font-weight: 600; letter-spacing: -0.012em; }
.v2-card p { font-size: 15px; line-height: 1.55; color: var(--studio-ink-soft); }
.v2-card .cap { color: var(--studio-ink-muted); }

/* Platform vectors: Studio and agentic apps carry the weight, Scan supports */
.vectors { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: var(--gutter); }
.vector { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px; padding: 24px 26px 26px; border: 1px solid var(--studio-line); border-radius: 12px; background: var(--studio-surface); color: inherit; text-decoration: none; transition: border-color 220ms var(--ease-out), transform 220ms var(--ease-out); }
.vector:hover { border-color: var(--studio-line-strong); transform: translateY(-2px); }
.vector .amb { --amb-bg: var(--studio-surface); height: 200px; margin: -6px -10px 4px; }
.vector.minor .amb { height: 150px; }
.vector .cap { color: var(--studio-ink-muted); }
.vector h3 { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em; }
.vector.minor h3 { font-size: 19px; line-height: 25px; }
.vector p { font-size: 15.5px; line-height: 1.58; color: var(--studio-ink-soft); }
.vector .go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--studio-ink); }
.vector .go .ico { color: var(--studio-ink-muted); transition: transform 220ms var(--ease-out); }
.vector:hover .go .ico { transform: translateX(3px); color: currentColor; }

/* How it works teaser band */
.v2-play .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 36px; align-items: center; }
.v2-play .copy { grid-column: 1 / span 5; display: grid; gap: 22px; justify-items: start; }
.v2-play .art { grid-column: 6 / span 7; height: clamp(300px, 30vw, 420px); }

/* The new figure's parts, in the product's figure grammar */
.viz-stage text.viz-ask-text { font-family: var(--font-studio-sans); font-size: 11px; font-weight: 500; letter-spacing: -0.003em; fill: var(--studio-ink); }
.viz-axis { stroke: var(--studio-line-strong); stroke-width: 1; }
.viz-bar { fill: color-mix(in srgb, var(--studio-tone-data) 18%, var(--studio-paper)); stroke: color-mix(in srgb, var(--studio-tone-data) 52%, transparent); stroke-width: 1; }
.viz-bar.hi { fill: color-mix(in srgb, var(--studio-tone-data) 52%, var(--studio-paper)); stroke: var(--studio-tone-data); }
.viz-bar.grow { transform-box: fill-box; transform-origin: 50% 100%; animation: v2-grow 760ms var(--ease-expo) both; animation-delay: calc(var(--k) * 80ms + 120ms); }
.viz-row.appear { animation: v2-fade 520ms var(--ease-out) both; animation-delay: calc(var(--k) * 110ms); }
.viz-chip rect { fill: var(--studio-canvas); stroke: var(--studio-line-strong); stroke-width: 1; stroke-dasharray: 3 2.5; transition: fill var(--duration), stroke var(--duration); }
.viz-chip text { font-size: 9.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; fill: var(--studio-ink-muted); }
.viz-chip[data-state="active"] rect { fill: color-mix(in srgb, var(--studio-tone-active) 10%, var(--studio-paper)); stroke: var(--studio-tone-active); stroke-dasharray: none; }
.viz-chip[data-state="active"] text { fill: var(--studio-gold-ink); }
.viz-chip[data-state="done"] rect { fill: var(--studio-ink); stroke: var(--studio-ink); stroke-dasharray: none; }
.viz-chip[data-state="done"] text { fill: var(--studio-on-ink); }
.viz-stage text.viz-row-key.err { fill: var(--studio-tone-error); }
@keyframes v2-grow { from { transform: scaleY(0.04); } to { transform: none; } }
@keyframes v2-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* The footer's Use cases subheading in muted ink that passes contrast */
.foot li.fsub { color: var(--studio-ink-muted); }

/* Footer column labels are h3 in v2 (v1 used h4 after an h2), in the muted ink that passes contrast */
.foot h3.fh { font: 500 11px/16px var(--font-studio-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--studio-ink-muted); margin-bottom: 12px; }

/* Prototype review aid in the nav: the same page in v1 */

@media (prefers-reduced-motion: reduce) {
  .viz-bar.grow, .viz-row.appear { animation: none; }
  .amb .lyr { transition: none; }
}
:root[data-motion="reduce"] .viz-bar.grow, :root[data-motion="reduce"] .viz-row.appear { animation: none; }

@media (max-width: 1080px) {
  .v2-hero .art { height: 400px; }
  .durables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-layers .rail { grid-column: 1 / span 5; }
  .v2-layers .layers { grid-column: 6 / span 7; }
}

@media (max-width: 1180px) {
  .vectors { grid-template-columns: 1fr 1fr; }
  .vectors .vector.minor { grid-column: 1 / -1; }
  .v2-hero .logos ul { justify-content: flex-start; gap: 14px 32px; }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 959px) {
  .v2-pagehero .copy, .v2-pagehero .art { grid-column: 1 / -1; }
  .v2-pagehero .art { height: 240px; }
  .v2-grid3, .v2-grid2, .vectors { grid-template-columns: 1fr; }
  .v2-play .copy, .v2-play .art { grid-column: 1 / -1; }
  .v2-play .art { height: 280px; }
  .bento .t-run, .bento .t-rec, .bento .t-agent, .bento .t-prod { grid-column: 1 / -1; grid-row: auto; }
  .bento .t-prod .frame { height: 120px; }
  .bento .t-run .frame { min-height: 0; height: 360px; }
  .bento .t-rec .frame { height: 220px; }
  .v2-head.with-art { grid-template-columns: 1fr; }
  .v2-head.with-art .amb { display: none; }
  .controls { grid-template-columns: 1fr; }
  .v2-dev .copy, .v2-dev .v2-code { grid-column: 1 / -1; }
  .v2-durable .durable-top .copy, .v2-durable .durable-top .visual { grid-column: 1 / -1; }
  .durables { grid-template-columns: 1fr; }
  .v2-hero .copy, .v2-hero .art { grid-column: 1 / -1; }
  .v2-hero .art { height: 340px; margin-top: 0; }
  .v2-gap .statement, .v2-gap .body, .v2-gap .art { grid-column: 1 / -1; grid-row: auto; }
  .v2-gap .art { height: 200px; }
  .v2-layers .rail { display: none; }
  .v2-layers .layers { grid-column: 1 / -1; gap: 88px; padding-block: 0; }
  .v2-ind .tiles { grid-template-columns: 1fr; }
  .v2-hero .logos ul { gap: 12px 24px; }
  .v2-split .copy, .v2-split .visual, .v2-split.rev .copy, .v2-split.rev .visual { grid-column: 1 / -1; grid-row: auto; }
  .v2-split .visual.iso { height: 220px; }
}
