/* Torvi components + sections. Load after tokens.css and mockups.css. Every value comes from tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text-2); font: 400 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--text); font-family: var(--font-display); font-weight: 500; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--card); padding: 8px 14px; border-radius: 8px; color: var(--text); }

.wrap { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--md { width: min(1040px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--sm { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sec { padding-block: calc(var(--section) / 2); position: relative; }
.ic { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--sm { width: 16px; height: 16px; }

/* ── Buttons: 8px radius, Geist 500 16px, colour fade only ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--r-sm); font: 500 16px/1 var(--font); white-space: nowrap; border: 1px solid transparent; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn--accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); font-weight: 500; }
.btn--accent:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn--light { background: var(--card); color: var(--text); border-color: var(--card); }
.btn--light:hover { background: var(--surface-2); border-color: var(--surface-2); }
.btn--line { background: transparent; color: var(--text); border-color: var(--text); }
.btn--line:hover { background: var(--surface-2); }
.btn--dark { background: var(--deep); color: var(--on-dark); }
.btn--dark:hover { background: var(--deep-2); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.link-accent { color: var(--accent-ink); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; transition: color .3s var(--ease); }
.link-accent:hover { color: var(--accent); }
.link-accent svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .3s var(--ease); }
.link-accent:hover svg { transform: translateX(3px); }

/* ── Section chip: mono label on cream with a 2px red rule on the left ── */
.chip { display: inline-flex; align-items: center; height: 42px; padding: 0 24px; background: var(--surface-2); border-left: 2px solid var(--mark); color: var(--text); font: 400 15px/1 var(--mono); }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .85); color: var(--text); font: 400 15px/1 var(--mono); box-shadow: var(--shadow-1); }
.pill .mk-dot { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18); }

/* ── Section head ── */
.head { display: grid; gap: 22px; justify-items: center; text-align: center; margin-bottom: var(--head-gap); }
.head p { max-width: 400px; font-size: 16px; }
.head--left { justify-items: start; text-align: left; }
.head--left h2 { max-width: 600px; }
.ink { color: var(--text); }

/* ── Header (header-a: transparent over the hero photo · links centred · login + orange CTA) ── */
.site-head { position: absolute; inset: 0 0 auto; z-index: 20; }
.site-head__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 101px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 600 27px/1 var(--font-display); letter-spacing: -.8px; color: var(--text); }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 6px; font-size: 16px; }
.nav a { padding: 9px 14px; border-radius: var(--r-sm); color: var(--text); transition: color .3s var(--ease); }
.site-head__end { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.site-head__end > a:not(.btn) { color: var(--text); font-size: 16px; }
.site-head--on-photo .logo, .site-head--on-photo .nav a, .site-head--on-photo .site-head__end > a:not(.btn) { color: #fff; }
.site-head--on-photo { --glide: rgba(255, 255, 255, .16); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--card); align-items: center; justify-content: center; }
.menu-btn span { width: 18px; display: grid; gap: 5px; }
.menu-btn i { display: block; height: 2px; border-radius: 2px; background: var(--text); }
.mnav { position: absolute; left: 16px; right: 16px; top: 76px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: 12px; display: grid; gap: 2px; }
.mnav[hidden] { display: none; }
.mnav a { padding: 12px 14px; border-radius: var(--r-sm); color: var(--text); font-size: 16px; }
.mnav .btn { margin-top: 8px; color: var(--on-accent); }

/* ── Hero A (home): sky photo, centred white headline, app window rising out of the mountain ── */
.hero { position: relative; isolation: isolate; padding-top: 147px; text-align: center; overflow: hidden; }
.hero__photo { position: absolute; inset: 0 0 auto; height: 960px; z-index: -1; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 82%; }
.hero__photo::before { content: ""; position: absolute; inset: 0 0 auto; height: 40%; background: linear-gradient(to bottom, color-mix(in srgb, var(--deep) 30%, transparent), color-mix(in srgb, var(--deep) 10%, transparent) 45%, color-mix(in srgb, var(--deep) 0%, transparent)); z-index: 1; }
.hero__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 310px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 92%); }
.hero__copy { display: grid; gap: 22px; justify-items: center; position: relative; z-index: 0; }
.hero__copy::before { content: ""; position: absolute; inset: -70px -120px -40px; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--deep) 48%, transparent), color-mix(in srgb, var(--deep) 33%, transparent) 60%, color-mix(in srgb, var(--deep) 0%, transparent)); pointer-events: none; }
.hero h1 { color: #fff; max-width: 640px; }
.hero__lead { color: #fff; max-width: 572px; font-size: 18px; text-shadow: 0 1px 12px color-mix(in srgb, var(--deep) 25%, transparent); }
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__ctas .btn--light { min-width: 166px; }
.hero__stage { position: relative; width: min(1064px, 100%); margin: 116px auto 0; height: 410px; overflow: hidden; }
.hero__stage .mk-app { position: absolute; left: 0; top: 48px; width: 1000px; text-align: left; }
.hero__stage .mk-code { position: absolute; right: 0; top: 0; width: 462px; text-align: left; z-index: 2; }
@media (min-width: 901px) { .hero__stage .mk-flow:nth-child(3n) > * { visibility: hidden; } }   /* the code card sits over the third column */
.hero__fade { position: absolute; z-index: 1; inset: auto -40px -1px; height: 220px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 78%); pointer-events: none; }

/* ── Logo strip ── */
.logos { display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 60px; }
.logos p { color: var(--text); font-size: 18px; line-height: 1.5; }
.logos ul { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.logos li { color: var(--text-2); opacity: .9; }
.logos svg { height: 34px; width: auto; }

/* ── Step cards (3 up, isometric line art) ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px 32px 34px; display: grid; gap: 30px; }
.step__art { height: 230px; display: grid; place-items: center; }
.step__art svg { width: auto; max-height: 180px; }
.step h3 { font: 500 18px/1.4 var(--font); color: var(--text); margin-bottom: 8px; letter-spacing: 0; }
.step p { font-size: 16px; }
.il-iso .iso-f, .il-iso .iso-w { fill: var(--il-face, var(--surface)); stroke: var(--il-line, #55453A); stroke-width: 1.25; stroke-linejoin: round; }
.il-iso .iso-w { stroke-width: 1.1; }

/* ── Feature split cards (cream text panel | photo with a floating product card) ── */
.feats { display: grid; gap: 80px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; min-height: 654px; }
.feat__copy { padding: 32px; display: flex; flex-direction: column; }
.feat__ic { width: 54px; height: 54px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); display: grid; place-items: center; color: var(--accent); margin-bottom: 28px; }
.feat__ic svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { max-width: 420px; margin-bottom: 18px; }
.feat__copy > p { max-width: 380px; }
.ticks { margin-top: auto; display: grid; gap: 12px; padding-top: 40px; }
.ticks li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 16px; font-weight: 500; }
.ticks svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; flex: none; }
.feat__media { position: relative; overflow: hidden; }
.feat__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat__media .mk-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(462px, 78%); }
.feat__media .mk-stack { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(386px, 74%); display: grid; gap: 24px; }
.feat__media .mk-stack .mk-card { position: static; transform: none; width: 100%; }
.feat--flip .feat__copy { order: 2; }

/* ── Breakdown cards (3 steps, each with a fading product piece) ── */
.bd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.bd__card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 24px 24px 0; overflow: hidden; display: flex; flex-direction: column; min-height: 490px; }
.bd__badge { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 20px; background: var(--surface-2); border-radius: var(--r-pill); font: 400 15px/1 var(--mono); color: var(--text); align-self: flex-start; }
.bd__badge .mk-dot { width: 7px; height: 7px; }
.bd__card h3 { font: 500 20px/1.35 var(--font); letter-spacing: -.2px; margin: 26px 0 12px; }
.bd__card p { max-width: 300px; }
.bd__piece { margin-top: 50px; position: relative; margin-right: -24px; }
.bd__piece::after { content: ""; position: absolute; inset: 40% -2px -2px; background: linear-gradient(to bottom, rgba(252, 248, 244, 0), var(--surface) 88%); }
.bd__piece .mk-card { box-shadow: none; border-radius: var(--r) 0 0 0; border-right: 0; }
.bd__card:not(:last-child) .bd__piece { margin-right: 0; }
.bd__card:not(:last-child) .bd__piece .mk-card { border-radius: var(--r) var(--r) 0 0; border-right: 1px solid var(--line); }

/* ── Photo band with node graph + 4 captions ── */
.band { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.band__photo { position: relative; height: 504px; overflow: hidden; }
.band__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.band__photo::before { content: ""; position: absolute; left: 0; right: 0; top: 46px; border-top: 1.5px dashed rgba(255, 255, 255, .55); z-index: 1; }
.band__graph { position: absolute; inset: 0; z-index: 2; }
.band__caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 8px; background: var(--bg); }
.band__caps p { background: var(--surface); padding: 40px 32px 36px; color: var(--text); font-size: 18px; line-height: 1.5; font-weight: 500; font-family: var(--font); }

/* ── Integrations hub ── */
.hub { width: min(1040px, 100%); margin-inline: auto; }

/* ── Comparison table (the brand's column outlined in orange) ── */
.compare { width: min(952px, 100%); margin-inline: auto; display: grid; grid-template-columns: 1fr 316px 1fr; align-items: stretch; }
.compare__col { display: grid; grid-template-rows: 70px repeat(5, 62px); }
.compare__col > div { display: flex; align-items: center; gap: 10px; padding: 0 23px; font-size: 16px; color: var(--text); border-top: 1px solid var(--line); }
.compare__col > div:first-child { border-top: 0; font-weight: 500; }
.compare__col--feat { border: 1px solid var(--line); border-right: 0; border-top: 0; border-radius: 0 0 0 var(--r); }
.compare__col--feat > div:first-child { color: var(--text-2); font-weight: 400; background: var(--bg); margin-left: -1px; }
.compare__col--us { border: 2px solid var(--accent); border-radius: var(--r); background: var(--surface); margin-top: -1px; grid-template-rows: 70px repeat(5, 62px); }
.compare__col--us > div:first-child { justify-content: center; font: 600 24px/1 var(--font-display); letter-spacing: -.6px; }
.compare__col--us > div:first-child svg { width: 22px; height: 22px; }
.compare__col--them { border: 1px solid var(--line); border-left: 0; border-top: 0; border-radius: 0 0 var(--r) 0; }
.compare__col--them > div:first-child { justify-content: center; background: var(--bg); margin-right: -1px; }
.compare svg.y { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; }
.compare svg.n { width: 16px; height: 16px; stroke: var(--text-2); fill: none; stroke-width: 1.6; }
.compare svg.m { width: 18px; height: 18px; stroke: var(--text); fill: none; stroke-width: 1.6; }
.compare .no { color: var(--text-2); }

/* ── Testimonials carousel (2 cards in view, the third peeking) ── */
.quotes { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); }
.quotes::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 782px; scroll-snap-align: start; display: grid; grid-template-columns: 1fr 318px; gap: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 31px; min-height: 490px; }
.quote__body { display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 36px; color: var(--text); }
.quote cite { font-style: normal; color: var(--text); font-weight: 500; font-size: 17px; }
.quote cite small { display: block; color: var(--text-2); font-weight: 400; font-size: 15px; margin-top: 4px; }
.quote__logo { margin-top: auto; color: var(--text); }
.quote__logo svg { height: 36px; width: auto; }
.quote__photo { border-radius: var(--r); overflow: hidden; position: relative; }
.quote__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quotes__nav { display: flex; gap: 10px; justify-content: center; margin-top: 32px; }
.quotes__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text); transition: background-color .3s var(--ease); }
.quotes__nav button:hover { background: var(--surface-2); }

/* ── Pricing ── */
.bill { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 52px; color: var(--text); font-weight: 500; }
.switch { width: 48px; height: 26px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line-2); position: relative; transition: background-color .3s var(--ease); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--deep); transition: transform .3s var(--ease-out); }
.switch[aria-checked="true"]::after { transform: translateX(22px); }
.save { font: 500 12px/1 var(--font); color: var(--accent-ink); background: var(--accent-soft); padding: 7px 10px; border-radius: var(--r-pill); letter-spacing: .02em; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; width: min(1232px, 100%); margin-inline: auto; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; }
.plan--pro { background: var(--accent); border-color: var(--accent); }
.plan__top { background: var(--card); border-radius: var(--r); padding: 22px 20px 20px; }
.plan__top h3 { font: 500 18px/1.4 var(--font); margin-bottom: 6px; }
.plan__top p { max-width: 380px; margin-bottom: 26px; }
.price { color: var(--text); font: 500 44px/1 var(--font-display); letter-spacing: -1.2px; }
.price small { font: 400 17px/1 var(--font); letter-spacing: 0; color: var(--text-2); }
.plan h4 { font: 500 16px/1 var(--font); color: var(--text); margin: 30px 4px 20px; }
.plan--pro h4, .plan--pro .incl li { color: var(--on-accent); }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 0 4px 40px; }
.incl li { display: flex; gap: 8px; align-items: center; color: var(--text); font-size: 15.5px; }
.incl svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2; flex: none; }
.plan--pro .incl svg { stroke: var(--on-accent); }
.plan .btn { margin-top: auto; }
.custom { width: min(1240px, 100%); margin: 40px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 52px 32px 32px; }
.custom h3 { font: 500 18px/1.4 var(--font); margin-bottom: 12px; }
.custom p { max-width: 480px; }
.custom .btn { border-color: var(--accent); }

/* ── FAQ ── */
.faq { display: grid; gap: 11px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: border-color .3s var(--ease); }
.faq details:hover { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 20px; color: var(--text); font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 12px; height: 12px; fill: var(--text); transition: transform .35s var(--ease); flex: none; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 20px 22px; max-width: 34em; }
.faq__more { text-align: center; margin-top: 36px; }

/* ── CTA A (grid paper, orange sun rising behind the footer) + Footer A ── */
.end { margin-top: calc(var(--section) / 2); position: relative; overflow: hidden; background: linear-gradient(to bottom, #fff, #FDF8F0); }
.end::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 33px 33px; -webkit-mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .35)); mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .35)); }
.end::after { content: ""; position: absolute; left: 50%; bottom: -330px; width: 560px; height: 560px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, #FFE3CC 0 18%, rgba(var(--accent-rgb), .85) 38%, rgba(var(--accent-rgb), .35) 56%, rgba(var(--accent-rgb), 0) 70%); filter: blur(10px); }
.cta { position: relative; z-index: 1; text-align: center; padding: 96px 0 150px; display: grid; justify-items: center; gap: 22px; }
.cta h2 { max-width: 560px; }
.cta p { max-width: 520px; font-size: 18px; color: var(--text); }
.cta .hero__ctas { margin-top: 8px; }
.foot { position: relative; z-index: 1; padding-bottom: 40px; }
.foot__top { display: flex; justify-content: space-between; gap: 60px; }
.foot__brand { max-width: 400px; display: grid; gap: 22px; align-content: start; }
.foot__brand .logo { font-size: 36px; }
.foot__brand .logo svg { width: 36px; height: 36px; }
.foot__brand p { color: var(--text); }
.foot__cols { display: grid; grid-template-columns: repeat(3, 184px); }
.foot__cols h4 { font: 500 16px/1 var(--font); margin: 12px 0 26px; }
.foot__cols ul { display: grid; gap: 12px; }
.foot__cols a { color: var(--text-2); transition: color .3s var(--ease); }
.foot__cols a:hover { color: var(--text); }
.foot__bot { display: flex; justify-content: space-between; align-items: center; margin-top: 64px; padding-top: 28px; color: var(--text-2); font-size: 15px; }
.socials { display: flex; align-items: center; gap: 22px; color: var(--text); }
.socials a { display: grid; place-items: center; transition: opacity .3s var(--ease); }
.socials a:hover { opacity: .7; }
.socials svg { width: 22px; height: 22px; fill: currentColor; }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .hero__stage { width: 1064px; max-width: none; margin-left: 50%; transform: translateX(-50%) scale(.86); transform-origin: top center; margin-bottom: -60px; }
  .quote { flex-basis: 700px; grid-template-columns: 1fr 260px; }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; --section: 80px; --head-gap: 44px; }
  .nav, .site-head__end > a:not(.btn), .site-head__end .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .site-head__in { grid-template-columns: 1fr auto; height: 76px; }
  .site-head__end { display: contents; }
  .hero { padding-top: 120px; }
  .hero__copy::before { inset: -110px -170px -70px; background: radial-gradient(closest-side, color-mix(in srgb, var(--deep) 54%, transparent), color-mix(in srgb, var(--deep) 46%, transparent) 52%, color-mix(in srgb, var(--deep) 0%, transparent)); }
  .hero__photo { height: 820px; }
  .hero__stage { transform: none; height: auto; margin: 64px 0 0; }
  .hero__stage .mk-app { position: relative; top: 0; width: 100%; }
  .hero__stage .mk-code { position: relative; width: 92%; margin: 14px 0 0 auto; }
  .hero__stage .mk-app { border-radius: var(--r-lg); }
  .mk-flows { grid-template-columns: 1fr 1fr; }
  .mk-flows .mk-flow:nth-child(n+5) { display: none; }
  .logos { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .logos ul { flex-wrap: wrap; justify-content: center; gap: 28px 36px; }
  .logos svg { height: 26px; }
  .mk-hub__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .mk-hub__wires { display: none; }
  .mk-hub__core { margin-bottom: 28px; }
  .mk-tile { width: auto; }
  .steps, .bd, .plans { grid-template-columns: 1fr; }
  .feat, .feat--flip { grid-template-columns: 1fr; min-height: 0; }
  .feat--flip .feat__copy { order: 0; }
  .feat__media { min-height: 520px; }
  .ticks { padding-top: 28px; }
  .bd__card { min-height: 0; }
  .band__photo { height: 440px; }
  .band__graph { inset: auto; left: 50%; top: 50%; width: 1280px; height: 504px; transform: translate(-50%, -50%) scale(.62); }
  .band__caps { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: 1fr 1fr; }
  .compare__col--feat { display: none; }
  .compare__col > div { padding: 0 14px; font-size: 14px; }
  .quote { flex-basis: min(86vw, 520px); grid-template-columns: 1fr; min-height: 0; }
  .quote__photo { height: 300px; order: -1; }
  .incl { grid-template-columns: 1fr; }
  .custom { flex-direction: column; align-items: flex-start; padding: 28px; }
  .foot__top { flex-direction: column; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .foot__bot { flex-direction: column; gap: 18px; align-items: flex-start; }
}
@media (max-width: 560px) {
  .hero__photo { height: 760px; }
  .mk-flows { grid-template-columns: 1fr; }
  .mk-flows .mk-flow:nth-child(n+3) { display: none; }
  .hero__stage .mk-code { width: 100%; }
  .hero__stage .mk-code ol { font-size: 11px; }
  .band__caps { grid-template-columns: 1fr; }
  .band__photo { height: 340px; }
  .band__graph { transform: translate(-50%, -50%) scale(.4); }
  .band__caps p { padding: 26px 24px; font-size: 17px; }
  .compare__col > div:first-child { font-size: 18px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .feat__media { min-height: 460px; }
  .feat__media .mk-card, .feat__media .mk-stack { width: 88%; }
}

/* ───────── 404 ───────── */
/* Torvi · 404 page (body.nf, prefix nf-). Tokens only. */

/* full-bleed sky photo, header-a over it, one white card centred on the sky */
.nf-hero { position: relative; isolation: isolate; min-height: 860px; display: grid; align-items: center; padding: 140px 0 120px; overflow: hidden; }
.nf-hero__photo { position: absolute; inset: 0; z-index: -1; }
.nf-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.nf-hero__photo::before { content: ""; position: absolute; inset: 0 0 auto; height: 40%; background: linear-gradient(to bottom, color-mix(in srgb, var(--deep) 40%, transparent), color-mix(in srgb, var(--deep) 14%, transparent) 45%, color-mix(in srgb, var(--deep) 0%, transparent)); }
.nf-hero__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 200px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--bg) 92%); }
.nf-card { width: min(560px, 100%); margin-inline: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-3); padding: 48px 48px 44px; text-align: center; display: grid; justify-items: center; gap: 18px; }
.nf-code { font: 500 128px/.9 var(--font-display); letter-spacing: -6px; color: var(--text); margin-bottom: 6px; }
.nf-card h1 { max-width: 420px; }
.nf-line { max-width: 400px; color: var(--text-2); }
.nf-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* footer on grid paper, no CTA above it */
.nf .nf-end { margin-top: 0; padding-top: 72px; }
.nf .nf-end::before { -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000 140px, rgba(0, 0, 0, .35)); mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000 140px, rgba(0, 0, 0, .35)); }

@media (max-width: 900px) {
  .nf-hero { min-height: 720px; padding: 120px 0 96px; }
}
@media (max-width: 560px) {
  .nf-card { padding: 36px 24px 32px; }
  .nf-code { font-size: 96px; letter-spacing: -4px; }
  .nf-ctas .btn { flex: 1 1 100%; }
}

/* ───────── Home 2 ───────── */
/* Home 2 (source Landing v2): pale sky hero with a prompt composer, statement, alternating photo splits,
   how-it-works cards, deep-brown story block, outline benefit cards, cream facts band. Prefix h2-, scoped to body.home-2. */

/* ── Hero B: bright sky + granite cliff, dark headline, prompt composer floating where the cliff starts ── */
.h2-hero { position: relative; isolation: isolate; padding: 172px 0 128px; text-align: center; overflow-x: clip; }
.h2-hero__photo { position: absolute; inset: 0 0 -110px; z-index: -1; }
.h2-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.h2-hero__photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255, 255, 255, .74), rgba(255, 255, 255, .5) 30%, rgba(255, 255, 255, .14) 52%, rgba(255, 255, 255, 0) 64%); }
.h2-hero__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 380px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 68%); }
.h2-hero__copy { display: grid; gap: 24px; justify-items: center; position: relative; }
.h2-hero__copy::before { content: ""; position: absolute; inset: -70px -160px -40px; z-index: -1; background: radial-gradient(closest-side, rgba(255, 255, 255, .72), rgba(255, 255, 255, .4) 60%, rgba(255, 255, 255, 0)); pointer-events: none; }
.h2-hero .pill { background: var(--card); margin-bottom: 4px; }
.h2-hero h1 { max-width: 680px; }
.h2-hero__lead { max-width: 610px; color: var(--text); font-size: 18px; }
.h2-compose { position: relative; width: min(794px, 100%); min-height: 170px; margin: 66px auto 0; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.h2-compose .mk-compose__in { min-height: 0; }
.h2-compose .mk-compose__foot svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.h2-compose .btn { height: 38px; padding: 0 14px; font-size: 14px; color: var(--on-accent); }

/* ── Logo row: seven wordmarks across the full container ── */
.h2-logos { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.h2-logos li { color: var(--text); }
.h2-logos svg { height: 36px; width: auto; }

/* ── Statement: one centred headline, second half in warm grey ── */
.h2-say { text-align: center; }
.h2-say__text { max-width: 900px; margin-inline: auto; color: var(--text); font: 500 36px/1.42 var(--font-display); letter-spacing: -.8px; text-wrap: balance; }
.h2-say .h2-say__dim { color: var(--muted); }

/* ── Features: alternating splits on white (copy | rounded photo with one product card) ── */
.h2-feats { display: grid; gap: 100px; }
.h2-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.h2-feat__copy { max-width: 580px; }
.h2-feat .feat__ic { background: var(--card); margin-bottom: 30px; }
.h2-feat h3 { margin-bottom: 22px; }
.h2-feat__copy > p { max-width: 440px; }
.h2-feat .ticks { margin-top: 0; padding-top: 40px; }
.h2-feat__media { position: relative; aspect-ratio: 605 / 618; border-radius: var(--r-xl); overflow: hidden; }
.h2-feat__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h2-feat__media .mk-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(430px, 82%); }
.h2-feat--flip .h2-feat__media { order: -1; }

/* run log */
.h2-log { list-style: none; margin: 0; padding: 6px 18px 4px; }
.h2-log li { display: grid; grid-template-columns: 48px 12px 1fr; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text); }
.h2-log li:first-child { border-top: 0; }
.h2-log time { font: 400 12px/1 var(--mono); color: var(--text-2); }
.h2-log .mk-dot { width: 7px; height: 7px; }
.h2-mk-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--surface); border-top: 1px solid var(--line); font: 400 12px/1 var(--mono); color: var(--text-2); }

/* router */
.h2-route__in { margin: 16px 18px 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.h2-route__in small { display: block; font: 400 12px/1 var(--mono); color: var(--text-2); margin-bottom: 7px; }
.h2-route__in b { font-size: 14px; font-weight: 500; }
.h2-route { list-style: none; margin: 0; padding: 8px 18px 16px; display: grid; gap: 12px; }
.h2-route li { display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; align-items: center; font-size: 13.5px; color: var(--text); }
.h2-route li span:last-of-type { font: 400 12px/1 var(--mono); color: var(--text-2); }
.h2-route li .mk-bar { grid-column: 1 / -1; }
.h2-route li.on span:first-child { font-weight: 600; }
.h2-route li.on span:last-of-type { color: var(--accent-ink); }
.h2-route li:not(.on) .mk-bar > i { background: var(--surface-3); }

/* approvals */
.h2-ask { padding: 14px 18px; border-top: 1px solid var(--line); }
.h2-ask b { display: block; font-size: 14px; font-weight: 500; color: var(--text); }
.h2-ask small { display: block; font-size: 12.5px; color: var(--text-2); margin: 2px 0 10px; }
.h2-ask__btns { display: flex; gap: 8px; }
.h2-ask__btns span { font-size: 12.5px; font-weight: 500; padding: 7px 12px; border-radius: var(--r-xs); border: 1px solid var(--line-2); color: var(--text); }
.h2-ask__btns span.go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ── How it works: 3 cream cards, piece first in 1 and 3, text first in 2 ── */
.h2-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.h2-how__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); min-height: 408px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 44px; overflow: hidden; }
.h2-how__card h3 { font: 500 20px/1.35 var(--font-display); letter-spacing: -.2px; margin-bottom: 12px; }
.h2-how__card p { max-width: 290px; }
.h2-how__card .mk-card { box-shadow: var(--shadow-1); }
.h2-how__card--text { padding: 30px 0 0 30px; justify-content: flex-start; }
.h2-how__card--text .h2-how__text { padding-right: 30px; }
.h2-how__card--text .mk-card { margin-top: auto; border-right: 0; border-bottom: 0; border-radius: var(--r) 0 0 0; }

/* connections */
.h2-conn { list-style: none; margin: 0; padding: 4px 16px; }
.h2-conn li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); }
.h2-conn li:first-child { border-top: 0; }
.h2-conn li > span:nth-child(2) { flex: 1; }
.h2-conn .add { font-size: 12.5px; font-weight: 500; padding: 5px 10px; border-radius: var(--r-xs); border: 1px solid var(--accent); color: var(--text); }
.h2-mk-head { display: flex; align-items: center; gap: 9px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--text); }
.h2-mk-head small { margin-left: auto; font: 400 12px/1 var(--mono); color: var(--text-2); }
.h2-mk-head svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* plan */
.h2-plan { list-style: none; margin: 0; padding: 12px 16px 26px; display: grid; gap: 12px; counter-reset: st; }
.h2-plan li { counter-increment: st; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text); }
.h2-plan li::before { content: counter(st); width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); font: 500 12px/1 var(--mono); }
.h2-plan li em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--accent-ink); margin-left: auto; }

/* live status */
.h2-live { padding: 16px; }
.h2-live__t { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--text); }
.h2-toggle { margin-left: auto; width: 34px; height: 20px; border-radius: 10px; background: var(--accent); position: relative; flex: none; }
.h2-toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--card); }
.h2-live__next { margin: 6px 0 14px; font-size: 13px; color: var(--text-2); }
.h2-live__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.h2-live__nums small { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 4px; }
.h2-live__nums b { font: 500 18px/1 var(--mono); color: var(--text); }

/* ── Story: deep-brown block, portrait left, quote + stats right ── */
.h2-story { background: var(--deep); border-radius: var(--r-xl); padding: 100px 25px 100px 90px; display: grid; grid-template-columns: 496px 1fr; gap: 44px; align-items: center; color: var(--on-dark-2); }
.h2-story__photo { position: relative; aspect-ratio: 496 / 514; border-radius: var(--r); overflow: hidden; }
.h2-story__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h2-story__logo { color: var(--on-dark); }
.h2-story__logo svg { height: 34px; width: auto; }
.h2-story blockquote { margin: 26px 0 32px; max-width: 540px; color: var(--on-dark); font: 500 30px/1.25 var(--font-display); letter-spacing: -.5px; text-wrap: balance; }
.h2-story cite { display: block; font-style: normal; color: var(--on-dark); font-weight: 500; font-size: 17px; }
.h2-story cite small { display: block; margin-top: 4px; font-weight: 400; font-size: 15px; color: var(--on-dark-2); }
.h2-story__stats { display: flex; gap: 64px; margin-top: 44px; padding-top: 48px; border-top: 1px solid var(--line-dark); }
.h2-story__stat { display: flex; align-items: center; gap: 18px; }
.h2-story__stat b { font: 500 40px/1 var(--font-display); letter-spacing: -1px; color: var(--on-dark); white-space: nowrap; }
.h2-story__stat span { max-width: 160px; font-size: 15px; line-height: 1.6; text-wrap: balance; }
.h2-story .link-accent { margin-top: 40px; color: var(--accent); }
.h2-story .link-accent:hover { color: var(--accent-soft); }

/* ── Benefits: 6 white outline cards, orange line icon top, title + 2 lines bottom ── */
.h2-bens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 24px; }
.h2-ben { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); min-height: 306px; padding: 28px 34px 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.h2-ben > svg { width: 44px; height: 44px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.h2-ben h3 { font: 500 22px/1.3 var(--font-display); letter-spacing: -.3px; margin-bottom: 12px; }
.h2-ben p { max-width: 330px; font-size: 15px; }

/* ── Facts: cream band, headline left, two white stat cards right ── */
.h2-facts { background: var(--surface); border-radius: var(--r-xl); padding: 20px 20px 20px 52px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.h2-facts h2 { font: 500 40px/1.2 var(--font-display); letter-spacing: -1px; max-width: 420px; margin-bottom: 18px; }
.h2-facts__copy p { max-width: 420px; }
.h2-facts__cards { display: flex; gap: 20px; }
.h2-fact { width: 240px; min-height: 226px; background: var(--card); border-radius: var(--r-lg); padding: 30px 32px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.h2-fact b { font: 500 48px/1 var(--font-display); letter-spacing: -1.4px; color: var(--text); }
.h2-fact p { font-size: 15px; line-height: 1.6; color: var(--text); }
.h2-stars { display: flex; gap: 4px; margin-bottom: 8px; }
.h2-stars svg { width: 18px; height: 18px; fill: var(--accent); }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .h2-feat { gap: 48px; }
  .h2-story { grid-template-columns: 380px 1fr; padding: 64px 48px; }
  .h2-story__stats { gap: 36px; }
  .h2-fact { width: 210px; }
}
@media (max-width: 1024px) {
  .h2-facts { grid-template-columns: 1fr; padding: 40px 20px 20px 36px; }
  .h2-facts__cards { margin-left: -16px; }
  .h2-fact { flex: 1; width: auto; }
}
@media (max-width: 900px) {
  .h2-hero { padding: 128px 0 120px; }
  .h2-hero__copy::before { inset: -80px -60px -40px; }
  .h2-compose { margin-top: 44px; }
  .h2-logos { flex-wrap: wrap; justify-content: center; gap: 24px 36px; }
  .h2-logos svg { height: 28px; }
  .h2-say__text { font-size: 28px; letter-spacing: -.5px; }
  .h2-feats { gap: 72px; }
  .h2-feat { grid-template-columns: 1fr; gap: 36px; }
  .h2-feat--flip .h2-feat__media { order: 0; }
  .h2-feat__media { aspect-ratio: auto; min-height: 480px; }
  .h2-feat .ticks { padding-top: 28px; }
  .h2-how { grid-template-columns: 1fr; gap: 24px; }
  .h2-how__card { min-height: 0; }
  .h2-story { grid-template-columns: 1fr; padding: 24px 24px 36px; gap: 32px; }
  .h2-story__photo { aspect-ratio: 1 / 1; }
  .h2-story blockquote { font-size: 24px; }
  .h2-story__stats { flex-direction: column; gap: 22px; margin-top: 32px; padding-top: 32px; }
  .h2-bens { grid-template-columns: 1fr 1fr; }
  .h2-ben { min-height: 260px; }
  .h2-facts h2 { font-size: 32px; }
}
@media (max-width: 560px) {
  .h2-compose .mk-compose__foot { flex-wrap: wrap; gap: 12px; }
  .h2-say__text { font-size: 24px; }
  .h2-feat__media { min-height: 440px; }
  .h2-feat__media .mk-card { width: 88%; }
  .h2-bens { grid-template-columns: 1fr; }
  .h2-ben { min-height: 0; }
  .h2-facts { padding: 32px 16px 16px; }
  .h2-facts__cards { flex-direction: column; margin-left: 0; }
  .h2-fact { min-height: 0; }
}

/* ───────── Illustrations ───────── */
/* Illustration kit catalogue (pages/illustrations.html) · prefix ilc- · reference sheet, never shipped to a buyer's site */
.ilc-intro { padding-top: 168px; }
.ilc-intro .head { margin-bottom: 0; }
.ilc-intro .head p { max-width: 560px; font-size: 18px; }

/* rules: the projection diagram + the spec */
.ilc-rules { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; }
.ilc-diagram { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px; display: grid; place-items: center; }
.ilc-axes { position: relative; width: min(420px, 100%); }
.ilc-axes svg { width: 100%; height: auto; max-height: none; }
.ilc-axes .ilc-ax { fill: none; stroke: var(--il-line, #55453A); stroke-width: 1.1; stroke-dasharray: 4 4; }
.ilc-axes .ilc-tip { fill: var(--il-line, #55453A); stroke: none; }
.ilc-lab { position: absolute; transform: translate(-50%, -50%); font: 500 15px/1 var(--mono); color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-xs); padding: 5px 8px; }
.ilc-spec { margin: 0; display: grid; align-content: start; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.ilc-spec div { display: grid; grid-template-columns: 132px 1fr; gap: 20px; padding: 18px 24px; border-top: 1px solid var(--line); }
.ilc-spec div:first-child { border-top: 0; }
.ilc-spec dt { font: 400 14px/1.6 var(--mono); color: var(--text); }
.ilc-spec dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.ilc-spec code, .ilc-mini code, .ilc-card code, .ilc-chain code, .ilc-never code { font: 400 13px/1.5 var(--mono); color: var(--text); background: var(--surface-2); border-radius: var(--r-xs); padding: 2px 6px; }
.ilc-formula { display: block; margin-top: 6px; font: 400 14px/1.7 var(--mono); color: var(--text); }

/* four small rule cards */
.ilc-minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 24px; }
.ilc-mini { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 18px; align-content: start; }
.ilc-mini__art { height: 150px; display: grid; place-items: center; }
.ilc-mini__art svg { width: auto; max-height: 120px; }
.ilc-mini h3 { font: 500 17px/1.4 var(--font); color: var(--text); margin-bottom: 4px; letter-spacing: 0; }
.ilc-mini p { font-size: 15px; line-height: 1.6; }
.ilc-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; border: 1px solid var(--line-2); }
.ilc-swatch--line { background: var(--il-line, #55453A); }
.ilc-swatch--face { background: var(--il-face, var(--surface)); }

/* the catalogue grid: every piece in a cream card */
.ilc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ilc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ilc-group { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 0 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.ilc-group h3 { font: 500 20px/1.35 var(--font); letter-spacing: -.2px; }
.ilc-group p { font: 400 14px/1.4 var(--mono); color: var(--text-2); }
.ilc-grid + .ilc-group { margin-top: 56px; }
.ilc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px 24px 26px; display: grid; gap: 22px; align-content: start; }
.ilc-card__art { height: 200px; display: grid; place-items: center; }
.ilc-card__art svg { width: auto; max-height: 160px; max-width: 100%; }
.ilc-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 500 18px/1.4 var(--font); color: var(--text); letter-spacing: 0; margin-bottom: 6px; }
.ilc-card p { font-size: 15px; line-height: 1.6; }
.ilc-card__new { font: 500 12px/1 var(--mono); color: var(--accent-ink); background: var(--accent-soft); border-radius: var(--r-pill); padding: 6px 9px; }
.ilc-card__file { margin-top: 12px; display: block; }

/* method: topic → verb → object → solids, then three worked examples */
.ilc-chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 40px; }
.ilc-chain > div { background: var(--surface); border-radius: var(--r-lg); padding: 26px 24px 28px; display: grid; gap: 8px; align-content: start; }
.ilc-chain b { font: 400 14px/1 var(--mono); color: var(--accent-ink); }
.ilc-chain h3 { font: 500 18px/1.4 var(--font); color: var(--text); letter-spacing: 0; }
.ilc-chain p { font-size: 15px; line-height: 1.6; }
.ilc-ex { display: grid; gap: 24px; }
.ilc-ex article { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px 40px 24px 24px; }
.ilc-ex__art { height: 230px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; place-items: center; --il-face: var(--bg); }
.ilc-ex__art svg { width: auto; max-height: 160px; }
.ilc-ex h3 { font: 500 24px/1.2 var(--font-display); letter-spacing: -.4px; margin-bottom: 18px; }
.ilc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ilc-steps div { border-top: 1px solid var(--line-2); padding-top: 12px; }
.ilc-steps small { display: block; font: 400 13px/1.4 var(--mono); color: var(--text-2); margin-bottom: 6px; }
.ilc-steps span { color: var(--text); font-size: 15px; line-height: 1.5; }

/* placing it + never */
.ilc-place { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; align-items: stretch; }
.ilc-code { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px 30px; overflow-x: auto; font: 400 14px/1.85 var(--mono); color: var(--text); white-space: pre; }
.ilc-code .c { color: var(--text-2); }
.ilc-never { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px 30px; }
.ilc-never h3 { font: 500 18px/1.4 var(--font); letter-spacing: 0; margin-bottom: 16px; }
.ilc-never ul { display: grid; gap: 11px; }
.ilc-never li { display: flex; gap: 10px; align-items: baseline; color: var(--text); font-size: 15px; line-height: 1.55; }
.ilc-never li svg { width: 14px; height: 14px; stroke: var(--text-2); fill: none; stroke-width: 1.8; flex: none; transform: translateY(2px); }

@media (max-width: 1200px) {
  .ilc-grid, .ilc-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .ilc-minis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ilc-intro { padding-top: 120px; }
  .ilc-rules, .ilc-place { grid-template-columns: 1fr; }
  .ilc-grid, .ilc-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .ilc-group { flex-direction: column; gap: 4px; }
  .ilc-chain { grid-template-columns: 1fr 1fr; }
  .ilc-ex article { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .ilc-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ilc-grid, .ilc-grid--3, .ilc-minis, .ilc-chain { grid-template-columns: 1fr; }
  .ilc-diagram { padding: 28px 20px; }
  .ilc-spec div { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; }
  .ilc-code { padding: 20px; font-size: 13px; }
}

/* ───────── Mockups Page ───────── */
/* Mock-up kit catalogue (pages/mockups.html) · prefix mkc- · reference sheet, never shipped to a buyer's site.
   New kit atoms proposed for mockups.css are scoped under .mkc here until they are merged:
   .mk-frame (+ __bar, img.mk-shot) · .mk-table (.mk-tr, .mk-th) · .mk-bars + .mk-axis · .mk-list (.mk-li, .mk-avatar) · .mk-chat (.mk-msg, .mk-ans, .mk-src) · .mk-toast */

/* ── proposed atoms ── */
.mkc .mk-frame { width: var(--mk-w, 100%); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); overflow: hidden; text-align: left; }
.mkc .mk-frame__bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); font: 400 12px/1 var(--mono); color: var(--text-2); }
.mkc .mk-frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); flex: none; }
.mkc .mk-frame__bar span { margin-left: 8px; }
.mkc .mk-shot { display: block; width: 100%; height: var(--mk-h, auto); object-fit: cover; object-position: var(--mk-pos, 50% 0); }

.mkc .mk-table { display: grid; font-size: 13px; color: var(--text); }
.mkc .mk-tr { display: grid; grid-template-columns: var(--mk-cols, 1.7fr .8fr 1fr .7fr); gap: 12px; align-items: center; padding: 11px 16px; border-top: 1px solid var(--line); }
.mkc .mk-tr > :nth-child(n+2) { font-family: var(--mono); font-size: 12.5px; }
.mkc .mk-tr > .mk-status { font-family: var(--font); font-size: 12px; }
.mkc .mk-th { background: var(--surface-2); border-top: 0; padding-block: 9px; color: var(--text-2); font: 400 12px/1 var(--mono); }
.mkc .mk-th > :nth-child(n) { font: inherit; }
.mkc .mk-tr.is-on { background: var(--surface); box-shadow: inset 2px 0 0 var(--accent); }

.mkc .mk-bars { display: flex; align-items: flex-end; gap: 8px; height: var(--mk-bh, 112px); }
.mkc .mk-bars i { flex: 1; height: var(--v); background: var(--surface-3); border-radius: 4px 4px 0 0; }
.mkc .mk-bars i.on { background: var(--accent); }
.mkc .mk-axis { display: flex; gap: 8px; margin-top: 8px; font: 400 12px/1 var(--mono); color: var(--text-2); }
.mkc .mk-axis span { flex: 1; text-align: center; }

.mkc .mk-list { display: grid; }
.mkc .mk-li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.35; color: var(--text); }
.mkc .mk-li:first-child { border-top: 0; padding-top: 0; }
.mkc .mk-li small { display: block; font-size: 12px; color: var(--text-2); }
.mkc .mk-li > .mk-mono { margin-left: auto; font-size: 13px; }
.mkc .mk-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-2); }

.mkc .mk-chat { display: grid; gap: 14px; }
.mkc .mk-msg { justify-self: end; max-width: 82%; background: var(--surface-2); border-radius: 12px 12px 4px 12px; padding: 9px 13px; font-size: 13.5px; line-height: 1.45; color: var(--text); }
.mkc .mk-ans { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.mkc .mk-ans__ic { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; }
.mkc .mk-ans__ic svg { width: 16px; height: 16px; }
.mkc .mk-src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mkc .mk-src span { font: 400 12px/1 var(--mono); color: var(--text-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 7px; }
.mkc .mk-src b { color: var(--accent-ink); font-weight: 500; margin-right: 4px; }

.mkc .mk-toast { display: inline-flex; align-items: center; gap: 11px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-3); padding: 12px 18px 12px 14px; font-size: 13.5px; line-height: 1.35; color: var(--text); white-space: nowrap; text-align: left; }
.mkc .mk-toast small { display: block; font: 400 12px/1.4 var(--mono); color: var(--text-2); }
.mkc .mk-toast__ic { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; flex: none; }
.mkc .mk-toast__ic svg { width: 14px; height: 14px; stroke: var(--success-ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ── page ── */
.mkc-intro { padding-top: 168px; }
.mkc-intro .head { margin-bottom: 0; }
.mkc-intro .head p { max-width: 580px; font-size: 18px; }
.mkc-rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mkc-rules > div { background: var(--surface); border-radius: var(--r-lg); padding: 30px 28px 32px; display: grid; gap: 10px; align-content: start; }
.mkc-rules b { font: 400 14px/1 var(--mono); color: var(--accent-ink); }
.mkc-rules h3 { font: 500 18px/1.4 var(--font); letter-spacing: 0; }
.mkc-rules p { font-size: 15px; line-height: 1.6; }

/* atom tiles on cream */
.mkc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mkc-tile { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px 28px 24px; display: flex; flex-direction: column; min-width: 0; }
.mkc-tile--wide { grid-column: span 2; }
.mkc-tile--full { grid-column: 1 / -1; }
.mkc-tile__stage { flex: 1; display: grid; place-items: center; padding-bottom: 28px; position: relative; }
.mkc-tile__stage > .mk { width: 100%; max-width: 400px; }
.mkc-tile--wide .mkc-tile__stage > .mk { max-width: 620px; }
.mkc-tile--full .mkc-tile__stage > .mk { max-width: none; }
.mkc-cap { border-top: 1px solid var(--line-2); padding-top: 16px; display: grid; gap: 8px; }
.mkc-cap h3 { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font: 500 17px/1.4 var(--font); letter-spacing: 0; }
.mkc-cap h3 small { font: 400 13px/1 var(--mono); color: var(--text-2); white-space: nowrap; }
.mkc-cap code, .mkc-pat code { font: 400 13px/1.7 var(--mono); color: var(--text); }
.mkc-cap code { display: block; color: var(--text-2); }
.mkc-gap { margin-top: 14px; }
.mkc-gap-sm { margin-top: 8px; }
.mkc-toast-at { position: absolute; right: -10px; bottom: 2px; z-index: 2; }
.mkc-mb { margin-bottom: 40px; }

/* patterns on landscape photos */
.mkc-pats { display: grid; gap: 40px; }
.mkc-pat { display: grid; grid-template-columns: 1fr 1.5fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; min-height: 560px; }
.mkc-pat--flip .mkc-pat__copy { order: 2; }
.mkc-pat__copy { padding: 32px; display: flex; flex-direction: column; }
.mkc-pat__copy h3 { margin-bottom: 16px; }
.mkc-pat__copy > p { max-width: 400px; }
.mkc-pat__meta { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; }
.mkc-pat__meta div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--text); }
.mkc-pat__meta code { font: 400 13px/1.7 var(--mono); color: var(--text-2); }
.mkc-pat__media { position: relative; overflow: hidden; min-height: 480px; }
.mkc-pat__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mkc-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(440px, 80%); z-index: 1; }
.mkc-stack { display: grid; gap: 22px; width: min(380px, 76%); }
.mkc-center .mk-toast { position: absolute; right: -34px; bottom: -58px; }

/* wide stages: the node band and the hero stage */
.mkc-wide { border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); }
.mkc-wide__photo { position: relative; height: 504px; overflow: hidden; }
.mkc-wide__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mkc-wide__photo--band > img { object-position: 50% 40%; }
.mkc-wide__photo--band::before { content: ""; position: absolute; left: 0; right: 0; top: 46px; border-top: 1.5px dashed rgba(255, 255, 255, .55); z-index: 1; }
.mkc-wide__photo--stage { height: 540px; }
.mkc-wide__photo--stage > img { object-position: 50% 78%; }
.mkc-graph { position: absolute; inset: 0; z-index: 2; }
.mkc-stage { position: absolute; left: 50%; bottom: 0; width: 1000px; height: 340px; transform: translateX(-50%); }
.mkc-stage .mk-app { position: absolute; left: 0; top: 50px; width: 680px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.mkc-stage { overflow: hidden; }
.mkc-stage .mk-code { position: absolute; right: 0; top: 0; width: 340px; z-index: 2; }
.mkc-wide__caps { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; padding-top: 8px; background: var(--bg); }
.mkc-wide__caps > div { background: var(--surface); padding: 28px 30px 30px; display: grid; gap: 8px; align-content: start; }
.mkc-wide__caps h3 { font: 500 20px/1.35 var(--font); letter-spacing: -.2px; }
.mkc-wide__caps p { font-size: 15px; line-height: 1.6; }
.mkc-wide__caps code { font: 400 13px/1.7 var(--mono); color: var(--text-2); }
.mkc-wide + .mkc-wide { margin-top: 40px; }

@media (max-width: 1200px) {
  .mkc-stage { transform: translateX(-50%) scale(.86); transform-origin: bottom center; }
}
@media (max-width: 900px) {
  .mkc-intro { padding-top: 120px; }
  .mkc-rules { grid-template-columns: 1fr 1fr; }
  .mkc-grid { grid-template-columns: 1fr 1fr; }
  .mkc-tile--wide { grid-column: 1 / -1; }
  .mkc-pat, .mkc-pat--flip { grid-template-columns: 1fr; min-height: 0; }
  .mkc-pat--flip .mkc-pat__copy { order: 0; }
  .mkc-pat__media { min-height: 500px; }
  .mkc-wide__photo { height: auto; min-height: 520px; padding: 80px 24px 40px; }
  .mkc-graph { position: relative; inset: auto; display: grid; gap: 14px; justify-items: center; }
  .mkc-graph .mk-wires { display: none; }
  .mkc-graph .mk-node { position: relative; left: auto !important; top: auto !important; width: min(260px, 100%) !important; }
  .mkc-wide__photo--stage { padding: 40px 24px 0; min-height: 0; }
  .mkc-stage { position: relative; left: auto; transform: none; width: 100%; height: auto; display: grid; gap: 0; }
  .mkc-stage .mk-code { position: relative; width: 92%; justify-self: end; }
  .mkc-stage .mk-app { position: relative; width: 100%; height: auto; margin-top: -60px; }
  .mkc-wide__caps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mkc-rules, .mkc-grid { grid-template-columns: 1fr; }
  .mkc-tile { padding: 22px 18px 20px; }
  .mkc-tile__stage > .mk { max-width: 100%; }
  .mkc-pat__copy { padding: 24px; }
  .mkc-pat__media { min-height: 460px; }
  .mkc-center, .mkc-stack { width: 88%; }
  .mkc-center .mk-toast { right: -8px; bottom: -62px; }
  .mkc-toast-at { right: 0; }
  .mkc-pat__meta div { grid-template-columns: 1fr; gap: 2px; }
  .mkc .mk-tr { --mk-cols: 1.5fr .7fr 1fr; }
  .mkc .mk-tr > :nth-child(4) { display: none; }
  .mkc-stage .mk-code ol { font-size: 11px; }
}

/* ───────── Pricing ───────── */
/* Torvi · pricing page (body.pricing, prefix pr-). Tokens only. */

/* Soft top: the CTA's grid paper, fading out, so the photo-free header-b has a backdrop */
.pricing .pr-top { padding-top: 205px; isolation: isolate; }
.pricing .pr-top::before { content: ""; position: absolute; inset: 0 0 auto; height: 760px; z-index: -1; background-color: var(--surface); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 33px 33px; -webkit-mask-image: linear-gradient(to bottom, #000 30%, rgba(0, 0, 0, 0)); mask-image: linear-gradient(to bottom, #000 30%, rgba(0, 0, 0, 0)); }
.pricing .pr-head h1 { max-width: 700px; }
.pricing .pr-head p { max-width: 460px; }

/* plan headings (h2/h3 here for a clean outline; same look as the gold page's plan h3/h4) */
.pricing .pr-plan-name { font: 500 18px/1.4 var(--font); letter-spacing: 0; margin-bottom: 6px; }
.pricing .custom .pr-plan-name { margin-bottom: 12px; }
.pricing .pr-incl-h { font: 500 16px/1 var(--font); color: var(--text); margin: 30px 4px 20px; }
.pricing .plan--pro .pr-incl-h { color: var(--on-accent); }

/* Full comparison table: the Team column outlined in orange on cream, like the home compare */
.pr-table { width: min(1080px, 100%); margin-inline: auto; border-collapse: separate; border-spacing: 0; table-layout: fixed; color: var(--text); font-size: 16px; }
.pr-table th, .pr-table td { padding: 0 24px; height: 60px; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); font-weight: 400; }
.pr-table thead th { height: 104px; border-top: 0; font: 500 18px/1.3 var(--font); vertical-align: middle; }
.pr-table thead th:first-child { width: 34%; }
.pr-table tbody th { color: var(--text); }
.pr-table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
.pr-tp { display: block; margin-top: 6px; font: 400 14px/1 var(--mono); color: var(--text-2); }
.pr-tp small { font-size: 12px; }
.pr-us__name { display: inline-flex; align-items: center; gap: 8px; font: 600 22px/1 var(--font-display); letter-spacing: -.5px; }
.pr-us__name svg { width: 20px; height: 20px; }
.pr-table .pr-us { background: var(--surface); border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.pr-table thead .pr-us { border-top: 2px solid var(--accent); border-radius: var(--r) var(--r) 0 0; }
.pr-table tbody tr:last-child .pr-us { border-bottom: 2px solid var(--accent); border-radius: 0 0 var(--r) var(--r); }
.pr-grp th { font: 400 14px/1 var(--mono); color: var(--text-2); height: 56px; vertical-align: bottom; padding-bottom: 14px; }
.pr-grp > * { border-top-color: var(--line-2); }
.pr-table svg.y, .pr-table svg.n { display: inline-block; vertical-align: -4px; fill: none; }
.pr-table svg.y { width: 18px; height: 18px; stroke: var(--accent); stroke-width: 2; }
.pr-table svg.n { width: 16px; height: 16px; stroke: var(--text-2); stroke-width: 1.6; }

/* Usage split card: the gold feature card, one on its own */
.pricing .pr-usage { min-height: 600px; }
.pricing .pr-meter { margin-top: 16px; height: 6px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .pricing .pr-top { padding-top: 150px; }
  .pr-table th, .pr-table td { padding: 0 12px; font-size: 14px; }
  .pr-table thead th { font-size: 16px; }
  .pr-us__name { font-size: 18px; }
}
@media (max-width: 700px) {
  .pr-table, .pr-table thead, .pr-table tbody { display: block; width: 100%; }
  .pr-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pr-table thead th:first-child { display: none; }
  .pr-table thead th { height: auto; padding: 16px 8px; text-align: center; font-size: 15px; }
  .pr-us__name { font-size: 16px; gap: 6px; }
  .pr-us__name svg { width: 16px; height: 16px; }
  .pr-table tbody th { grid-column: 1 / -1; height: auto; padding: 14px 4px 4px; font-weight: 500; }
  .pr-table td { height: auto; min-height: 40px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px 6px 12px; border-top: 0; font-size: 14px; line-height: 1.35; }
  .pr-table tbody tr:last-child > * { border-bottom: 0; }
  .pr-table .pr-us { border-left: 0; border-right: 0; border-radius: var(--r-sm); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--accent); }
  .pr-table thead .pr-us, .pr-table tbody tr:last-child .pr-us { border-top: 0; border-bottom: 0; border-radius: var(--r-sm); }
  .pr-table tbody tr:last-child .pr-us { border-bottom: 0; }
  .pr-grp td { display: none; }
  .pr-grp th { padding: 24px 4px 4px; border-top: 1px solid var(--line-2); color: var(--text-2); font-weight: 400; }
  .pricing .pr-usage { min-height: 0; }
}
.pricing .pr-usage .feat__media > img { object-position: 30% 50%; }

/* ───────── Style Guide ───────── */
/* Torvi style guide (pages/style-guide.html) — prefix sg-. Tokens only. */

/* ── 1 · Overview poster: sky photo, white title, a bento board rising out of the ridge ── */
.sg-hero { position: relative; isolation: isolate; padding: 132px 0 44px; overflow: hidden; }
.sg-hero__photo { position: absolute; inset: 0; z-index: -1; }
.sg-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.sg-hero__photo::before { content: ""; position: absolute; inset: 0 0 auto; height: 52%; background: linear-gradient(to bottom, color-mix(in srgb, var(--deep) 34%, transparent), color-mix(in srgb, var(--deep) 12%, transparent) 60%, color-mix(in srgb, var(--deep) 0%, transparent)); z-index: 1; }
.sg-hero__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--bg) 90%); }
.sg-hero__top { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: end; }
.sg-hero__title { display: grid; gap: 22px; justify-items: start; }
.sg-hero h1 { color: var(--on-dark); max-width: 660px; }
.sg-hero__side { position: relative; display: grid; gap: 18px; color: var(--on-dark); padding-bottom: 6px; }
.sg-hero__side::before { content: ""; position: absolute; inset: -60px -70px -50px; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--deep) 50%, transparent), color-mix(in srgb, var(--deep) 30%, transparent) 60%, color-mix(in srgb, var(--deep) 0%, transparent)); pointer-events: none; }
.sg-hero__side p { font-size: 17px; line-height: 1.6; text-shadow: 0 1px 12px color-mix(in srgb, var(--deep) 30%, transparent); }
.sg-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-hero__meta span { font: 400 13px/1 var(--mono); padding: 8px 12px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--deep) 42%, transparent); color: var(--on-dark); }

.sg-board { margin-top: 40px; display: grid; grid-template-columns: 1.05fr 1.25fr .9fr; grid-template-rows: 276px 276px; gap: 20px; }
.sg-tile { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-3); padding: 22px 24px; overflow: hidden; display: flex; flex-direction: column; }
.sg-tile--cream { background: var(--surface); }
.sg-tile__n { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 400 13px/1.5 var(--mono); color: var(--text-2); }
.sg-tile__n b { font-weight: 400; color: var(--text); }

.sg-brand .logo { font-size: 36px; letter-spacing: -1.1px; gap: 11px; margin-top: 14px; }
.sg-brand .logo svg { width: 36px; height: 36px; }
.sg-strip { display: flex; height: 56px; margin-top: 16px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); }
.sg-strip i { flex: 1; }
.sg-strip i.w { flex: 1.7; }
.sg-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px 12px; margin-top: 14px; font: 400 12px/1.2 var(--mono); color: var(--text); }
.sg-legend span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.sg-legend i { width: 10px; height: 10px; border-radius: 3px; border: 1px solid var(--line-2); flex: none; }
.sg-status { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.sg-status span { display: inline-flex; gap: 6px; align-items: center; }

.sg-typo__in { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin: 0 0 8px; flex: 1; }
.sg-aa { font: 500 140px/1 var(--font-display); letter-spacing: -6.5px; color: var(--text); margin: 0 0 0 -6px; }
.sg-fams { display: grid; gap: 8px; }
.sg-fams div { display: grid; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sg-fams div:last-child { border-bottom: 0; padding-bottom: 0; }
.sg-fams b { color: var(--text); font-weight: 500; font-size: 22px; line-height: 1.1; letter-spacing: -.4px; }
.sg-fams small { font: 400 12px/1.3 var(--mono); color: var(--text-2); }
.sg-f-dis { font-family: var(--font-display); }
.sg-f-body { font-family: var(--font); }
.sg-f-mono { font-family: var(--mono); letter-spacing: -.6px; }
.sg-ladder { display: flex; justify-content: space-between; padding-top: 10px; line-height: 1.3; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-2); }
.sg-ladder span { display: grid; gap: 3px; }
.sg-ladder b { font: 500 18px/1 var(--font-display); color: var(--text); letter-spacing: -.4px; }

.sg-photo { grid-column: 3; grid-row: 1 / span 2; padding: 0; border: 0; }
.sg-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.sg-photo .sg-tile__n { position: absolute; left: 20px; right: 20px; top: 20px; z-index: 1; }
.sg-photo .sg-tile__n b, .sg-photo .sg-tile__n span { color: var(--on-dark); background: color-mix(in srgb, var(--deep) 62%, transparent); padding: 4px 10px; border-radius: var(--r-pill); }
.sg-photo__stack { position: absolute; left: 50%; top: 53%; transform: translate(-50%, -50%); width: 84%; display: grid; gap: 18px; }

.sg-art { align-items: stretch; }
.sg-art .il { flex: 1; display: grid; place-items: center; min-height: 0; }
.sg-art .il svg { max-height: 168px; width: auto; }
.sg-art__cap { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.sg-art__cap b { color: var(--text); font-weight: 500; font-size: 16px; }
.sg-art__cap small { font: 400 12px/1.55 var(--mono); color: var(--text-2); text-align: right; }

.sg-ui__rows { display: grid; gap: 14px; margin-top: auto; }
.sg-ui__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sg-ui .chip { height: 40px; }
.sg-ui .pill { height: 40px; background: var(--surface-2); box-shadow: none; }

/* ── shared catalogue furniture ── */
.sg-sec { padding-block: calc(var(--section) / 2); }
.sg-sec > .wrap > .head { margin-bottom: 52px; }
.sg-cap { font: 400 14px/1.55 var(--mono); color: var(--text-2); }
.sg-ui .mk-count, .sg-item .mk-count, .sg-atoms .mk-kbd b { font-size: 12px; }
.sg-trow .t-display { text-wrap: balance; }
.sg-cap b { font-weight: 400; color: var(--accent-ink); }
.sg-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 14px; margin: 56px 0 24px; border-bottom: 1px solid var(--line-2); }
.sg-sub:first-child { margin-top: 0; }
.sg-sub h3 { font: 500 20px/1.35 var(--font-display); letter-spacing: -.2px; }
.sg-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; }
.sg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.sg-item { display: grid; gap: 10px; justify-items: start; }
.sg-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.sg-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; align-items: start; }
.sg-note { margin-top: 16px; font-size: 14px; color: var(--text-2); }

/* ── 2 · Colour ── */
.sg-group { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 32px 0; border-top: 1px solid var(--line-2); }
.sg-group:first-of-type { border-top: 0; padding-top: 0; }
.sg-group__k { display: grid; gap: 10px; align-content: start; }
.sg-group__k h3 { font: 500 20px/1.35 var(--font-display); letter-spacing: -.2px; }
.sg-group__k p { font-size: 14px; line-height: 1.6; }
.sg-slot { justify-self: start; font: 500 12px/1 var(--font); color: var(--accent-ink); background: var(--accent-soft); padding: 7px 10px; border-radius: var(--r-pill); }
.sg-slot--n { color: var(--text); background: var(--surface-2); }
.sg-sws { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 18px; }
.sg-sw { display: grid; gap: 3px; }
.sg-sw i { height: 88px; border-radius: var(--r); border: 1px solid var(--line); margin-bottom: 10px; }
.sg-sw b { color: var(--text); font-weight: 500; font-size: 15px; }
.sg-sw span { font: 400 13px/1.5 var(--mono); color: var(--text-2); }

/* ── 3 · Type ── */
.sg-fonts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 48px; }
.sg-font { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; display: grid; gap: 10px; align-content: start; }
.sg-font__aa { margin-bottom: 8px; }
.sg-font__aa { font-size: 88px; line-height: 1; color: var(--text); font-weight: 500; letter-spacing: -3px; }
.sg-font b { color: var(--text); font-weight: 500; font-size: 18px; }
.sg-font p { font-size: 15px; }
.sg-font__abc { font-size: 15px; color: var(--text); letter-spacing: .02em; word-break: break-all; }
.sg-trow { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--line); }
.sg-trow__meta { display: grid; gap: 4px; }
.sg-trow__meta b { font: 400 15px/1.3 var(--mono); color: var(--accent-ink); }
.sg-trow > div:last-child { color: var(--text); max-width: 860px; }
.sg-trow .t-body, .sg-trow .t-small, .sg-trow .t-lead { color: var(--text-2); }

/* ── 4 · Shape, space, shadow, motion ── */
.sg-radii { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.sg-radius { display: grid; gap: 4px; }
.sg-radius i { height: 104px; background: var(--surface-2); border: 1.5px solid var(--line-2); margin-bottom: 10px; }
.sg-radius b { color: var(--text); font-weight: 500; font-size: 15px; }
.sg-space { display: grid; gap: 14px; }
.sg-space__row { display: grid; grid-template-columns: 250px 1fr 120px; align-items: center; gap: 20px; }
.sg-space__row i { height: 14px; border-radius: 4px; background: rgba(var(--accent-rgb), .22); border-left: 2px solid var(--accent); }
.sg-space__row span:last-child { text-align: right; font: 400 13px/1.5 var(--mono); color: var(--text-2); }
.sg-shadows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sg-shadow { background: var(--card); border-radius: var(--r); padding: 26px 22px; min-height: 130px; display: grid; align-content: space-between; gap: 18px; }
.sg-shadow b { color: var(--text); font-weight: 500; }
.sg-motion { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.sg-track { position: relative; height: 44px; border-radius: var(--r-pill); background: var(--surface-2); margin: 18px 0 14px; }
.sg-track i { position: absolute; top: 8px; left: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); animation: sg-glide 2.8s var(--ease-out) infinite alternate; }
@keyframes sg-glide { 0%, 18% { transform: translateX(0); } 82%, 100% { transform: translateX(calc(min(520px, 62vw) - 44px)); } }
.sg-verbs { display: grid; gap: 10px; margin-top: 4px; }
.sg-verbs li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; font-size: 14px; color: var(--text-2); }
.sg-verbs code { font: 400 13px/1.5 var(--mono); color: var(--accent-ink); }

/* ── 5 · Components ── */
.sg-headdemo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 0 28px; }
.sg-headdemo .site-head__in { height: 88px; }
.sg-headdemo .nav { gap: 6px; }
.sg-headdemo .nav span { padding: 9px 14px; border-radius: var(--r-sm); color: var(--text); }
.sg-headdemo .nav span.on { background: var(--glide); }
.sg-headdemo .site-head__end span { color: var(--text); }
.sg-solo .step { height: 100%; }
.sg-solo .bd__card { min-height: 0; height: 100%; }
.sg-solo .bd__piece { margin-top: 36px; }
.sg-band .band__photo { height: 504px; }
.sg-quote .quote { min-height: 460px; }
.sg-endnote { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 30px; }
.sg-endnote p { max-width: 640px; }

/* ── 6 · Mock-up kit ── */
.sg-kit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; align-items: start; }
.sg-kit__cell { display: grid; gap: 12px; }
.sg-kit__stage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; display: grid; gap: 18px; }
.sg-kit__wide { grid-column: span 2; }
.sg-atoms { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.sg-nodes { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.sg-nodes .mk-node { position: relative; }
.sg-hubrow { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sg-hubrow .mk-hub__core { width: 104px; height: 104px; border-radius: 20px; }
.sg-hubrow .mk-hub__core svg { width: 44px; height: 44px; }
.sg-hubrow .mk-tile { width: 128px; }
.sg-kit .mk-flows { grid-template-columns: repeat(3, 1fr); }
.sg-kit .mk-app { border-radius: var(--r-lg); box-shadow: var(--shadow-2); }

/* ── 7 · Isometric line art ── */
.sg-iso { display: grid; gap: 40px; }
.sg-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.sg-rules li { display: grid; gap: 6px; align-content: start; padding: 20px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.sg-rules b { color: var(--text); font-weight: 500; }
.sg-pieces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sg-piece { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px; display: grid; gap: 14px; }
.sg-piece .il { height: 230px; display: grid; place-items: center; }
.sg-piece .il svg { max-height: 170px; width: auto; }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .sg-board { grid-template-columns: 1fr 1.2fr; grid-template-rows: auto; }
  .sg-photo { grid-column: 1 / -1; grid-row: auto; height: 560px; }
  .sg-kit { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .sg-hero { padding-top: 118px; }
  .sg-hero__top { grid-template-columns: 1fr; gap: 24px; }
  .sg-board { grid-template-columns: 1fr; }
  .sg-tile { min-height: 0; }
  .sg-art .il { min-height: 200px; }
  .sg-group, .sg-trow, .sg-iso { grid-template-columns: 1fr; gap: 18px; }
  .sg-rules { grid-template-columns: 1fr; }
  .sg-fonts, .sg-grid2, .sg-grid3, .sg-shadows, .sg-motion, .sg-kit, .sg-pieces { grid-template-columns: 1fr; }
  .sg-kit__wide { grid-column: auto; }
  .sg-radii { grid-template-columns: repeat(3, 1fr); }
  .sg-space__row { grid-template-columns: 1fr 90px; }
  .sg-space__row i { grid-column: 1 / -1; grid-row: 2; }
  .sg-sub { flex-direction: column; gap: 6px; }
  .sg-headdemo { padding: 0 18px; }
  .sg-headdemo .site-head__in { grid-template-columns: 1fr auto; }
  .sg-endnote { flex-direction: column; align-items: flex-start; }
  .sg-kit .mk-flows { grid-template-columns: 1fr 1fr; }
  .sg-kit .mk-flows .mk-flow:nth-child(n+3) { display: none; }
}
@media (max-width: 560px) {
  .sg-typo__in { grid-template-columns: 1fr; gap: 10px; }
  .sg-sws { grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
  .sg-sw i { height: 60px; }
  .sg-sw span { font-size: 12px; word-break: break-all; }
  .sg-aa { font-size: 120px; }
  .sg-legend { grid-template-columns: 1fr 1fr; }
  .sg-ladder { flex-wrap: wrap; gap: 12px 18px; justify-content: flex-start; }
  .sg-photo { height: 600px; }
  .sg-photo__stack { width: 90%; }
  .sg-panel, .sg-kit__stage { padding: 20px; }
  .sg-verbs li { grid-template-columns: 1fr; gap: 2px; }
  .sg-kit .mk-flows { grid-template-columns: 1fr; }
  .sg-kit .mk-flows .mk-flow:nth-child(n+2) { display: none; }
}

/* ───────── Variants ───────── */
/* Torvi · variants page (prefix v-). Tokens only; every override is scoped under body.v-page. */

/* ── page shell ── */
.v-page .v-pagehead { position: relative; background: var(--card); border-bottom: 1px solid var(--line); }
.v-intro { padding-top: 72px; }
.v-intro .wrap { display: grid; gap: 22px; justify-items: start; }
.v-intro h1 { max-width: 760px; }
.v-intro .t-lead { max-width: 680px; }
.v-jump { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 40px; margin-top: 18px; width: 100%; padding-top: 28px; border-top: 1px solid var(--line); }
.v-jump li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.v-jump span { width: 112px; font: 500 14px/1.4 var(--font); color: var(--text); }
.v-jump a { font: 400 13px/1 var(--mono); color: var(--text-2); background: var(--surface-2); border-radius: var(--r-xs); padding: 7px 9px; transition: color .3s var(--ease), background-color .3s var(--ease); }
.v-jump a:hover { color: var(--text); background: var(--surface-3); }

.v-item { padding-block: calc(var(--section) / 2); position: relative; }
.v-item[id] { scroll-margin-top: 24px; }
.v-label { display: grid; gap: 6px; margin-bottom: 28px; }
.v-label__name { display: flex; align-items: center; gap: 12px; font: 500 15px/1.35 var(--font); color: var(--text); }
.v-label__name b { flex: none; white-space: nowrap; font: 500 13px/1 var(--mono); color: var(--on-accent); background: var(--accent); border-radius: var(--r-xs); padding: 6px 8px; }
.v-label__cls { font: 400 12px/1.6 var(--mono); color: var(--text-2); word-break: break-word; }
.v-cap { font-size: 14px; line-height: 1.6; color: var(--text-2); max-width: 820px; }

/* ── header strips ── */
.v-strip { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); min-height: 200px; isolation: isolate; }
.v-strip--tall { min-height: 230px; }
.v-strip--paper { background: var(--surface); }
.v-strip--split { min-height: 0; }
.v-strip__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; z-index: -2; }
.v-strip__img--mid { object-position: 50% 18%; }
.v-strip--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, color-mix(in srgb, var(--deep) 50%, transparent), color-mix(in srgb, var(--deep) 16%, transparent) 60%, color-mix(in srgb, var(--deep) 0%, transparent)); }
.v-hdr { padding-inline: 32px; }
.v-hdr .site-head__in { height: 96px; }
.v-burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--card); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.v-burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); }
.v-hdr--bar { background: var(--card); border-bottom: 1px solid var(--line); }
.v-strip__hint { padding: 36px 32px; }
.v-strip__hint .pill { background: var(--card); }
.v-hdr--pill { position: absolute; left: 24px; right: 24px; top: 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; padding: 0 12px 0 26px; background: var(--card); border-radius: var(--r-pill); box-shadow: var(--shadow-2); }
.v-hdr__end { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.v-hdr__end > a:not(.btn) { color: var(--text); font-size: 16px; }
.v-hdr--pill .btn { border-radius: var(--r-pill); }
.v-hdr--pill .logo { font-size: 24px; }
.v-util { display: flex; justify-content: space-between; align-items: center; gap: 24px; height: 44px; padding: 0 32px; background: var(--deep); color: var(--on-dark-2); font-size: 14px; }
.v-util p { display: flex; align-items: center; gap: 10px; }
.v-util b { font: 500 12px/1 var(--mono); color: var(--on-accent); background: var(--accent); border-radius: var(--r-xs); padding: 5px 7px; }
.v-util a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); transition: text-decoration-color .3s var(--ease); }
.v-util a:hover { text-decoration-color: var(--on-dark); }
.v-util__end { gap: 22px !important; }
.v-util .mk-status { color: var(--on-dark-2); font-size: 14px; }
.v-hdr--split { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 100px; background: var(--card); border-bottom: 1px solid var(--line); }
.v-hdr--split .logo { font-size: 30px; }
.v-hdr--split .logo svg { width: 30px; height: 30px; }
.v-hdr__side { display: flex; align-items: center; gap: 18px; }
.v-hdr__side .nav { margin-left: -14px; }
.v-hdr__side--end { justify-content: flex-end; }
.v-hdr__side--end .nav { margin-left: 0; }

/* ── hero A: giant stack on grid paper ── */
.v-ha { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(to bottom, var(--bg), var(--surface)); padding-bottom: 72px; border-block: 1px solid var(--line); }
.v-ha::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 33px 33px; -webkit-mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .3)); mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .3)); }
.v-ha::after { content: ""; position: absolute; z-index: -1; right: -180px; bottom: -360px; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft) 0 16%, rgba(var(--accent-rgb), .8) 36%, rgba(var(--accent-rgb), .3) 55%, rgba(var(--accent-rgb), 0) 70%); filter: blur(12px); }
.v-ha__strip { background: var(--deep); color: var(--on-dark-2); font-size: 14px; }
.v-ha__strip p { display: flex; justify-content: center; align-items: center; gap: 10px; height: 44px; padding: 0 16px; }
.v-ha__strip b { font: 500 12px/1 var(--mono); color: var(--on-accent); background: var(--accent); border-radius: var(--r-xs); padding: 5px 7px; }
.v-ha__strip a { display: inline-flex; align-items: center; gap: 4px; color: var(--on-dark); font-weight: 500; }
.v-ha__strip a svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.v-ha__strip a:hover svg { transform: translateX(2px); }
.v-ha__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 92px; }
.v-ha__grid { display: grid; grid-template-columns: 1fr 340px; gap: 64px; padding-top: 36px; }
.v-ha__main { position: relative; }
.v-ha__meta { font: 400 14px/1 var(--mono); color: var(--text-2); margin-bottom: 26px; }
.v-ha__title { font: 500 clamp(60px, 10vw, 148px)/1 var(--font-display); letter-spacing: -.04em; color: var(--text); max-width: 820px; }
.v-ha__prop { position: absolute; pointer-events: none; }
.v-ha__prop svg { width: 100%; height: auto; }
.v-ha__prop--1 { width: 150px; left: 560px; top: 30px; }
.v-ha__prop--2 { width: 108px; left: 690px; top: 330px; }
.v-ha__foot { display: grid; grid-template-columns: minmax(0, 420px) auto; gap: 14px 40px; align-items: end; margin-top: 44px; }
.v-ha__lead { color: var(--text); font-size: 17px; grid-row: span 2; }
.v-ha__note { font-size: 13px; color: var(--text-2); }
.v-capture { display: flex; gap: 8px; padding: 6px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow-1); width: min(440px, 100%); }
.v-capture input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 16px/1 var(--font); color: var(--text); padding: 0 12px; }
.v-capture input::placeholder { color: var(--muted); }
.v-capture input:focus { outline: none; }
.v-capture:focus-within { border-color: var(--accent); }
.v-ha__side { display: grid; gap: 14px; align-content: start; padding-top: 6px; }
.v-ha__dots { display: flex; align-items: center; gap: 12px; font: 400 12px/1 var(--mono); color: var(--text-2); }
.v-ha__dots i { flex: 1; height: 1px; background: var(--line-2); position: relative; }
.v-ha__dots i::before { content: ""; position: absolute; left: 34%; top: -8px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--text); background: var(--bg); }
.v-ha__art { height: 236px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.v-ha__art svg { width: auto; max-height: 170px; }
.v-ha__card { display: grid; gap: 10px; padding: 22px 22px 24px; background: var(--accent); border-radius: var(--r-lg); color: var(--on-accent); }
.v-ha__card b { font: 500 48px/1 var(--font-display); letter-spacing: -1.4px; }
.v-ha__card span { font-size: 15px; line-height: 1.5; font-weight: 500; }
.v-ha__cap { font-size: 14px; color: var(--text-2); padding-top: 12px; border-top: 1px solid var(--line-2); }

/* ── hero B: full-bleed scene with workflow texture ── */
.v-hb { position: relative; isolation: isolate; overflow: hidden; min-height: 840px; display: flex; flex-direction: column; }
.v-hb__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; z-index: -3; }
.v-hb__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, color-mix(in srgb, var(--deep) 74%, transparent) 0%, color-mix(in srgb, var(--deep) 50%, transparent) 34%, color-mix(in srgb, var(--deep) 8%, transparent) 62%, color-mix(in srgb, var(--deep) 0%, transparent) 75%), linear-gradient(to bottom, color-mix(in srgb, var(--deep) 30%, transparent), color-mix(in srgb, var(--deep) 0%, transparent) 22%, color-mix(in srgb, var(--deep) 0%, transparent) 72%, color-mix(in srgb, var(--deep) 55%, transparent)); }
.v-hb__texture { position: absolute; z-index: -1; right: max(80px, calc((100% - 1280px) / 2)); top: 150px; width: 420px; padding: 22px 26px 26px; border: 1px solid rgba(255, 255, 255, .42); border-radius: var(--r); font: 400 15px/1.95 var(--mono); color: rgba(255, 255, 255, .62); transform: rotate(-2deg); }
.v-hb__tt { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed rgba(255, 255, 255, .42); }
.v-hb__fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; font-size: 12px; }
.v-hb__fields span { border: 1px solid rgba(255, 255, 255, .38); border-radius: 4px; padding: 2px 6px 18px; }
.v-hb__head { position: relative; }
.v-hb__head .v-hdr { padding-inline: 0; }
.v-hb__copy { margin-block: auto; padding-block: 40px; display: grid; gap: 22px; justify-items: start; }
.v-hb__title { color: var(--on-dark); font: 500 44px/1.12 var(--font-display); letter-spacing: -1.4px; max-width: 520px; }
.v-hb__copy p { color: var(--on-dark); max-width: 470px; font-size: 17px; }
.v-hb__logos { display: flex; align-items: center; gap: 48px; padding-block: 0 44px; color: var(--on-dark); }
.v-hb__logos p { font-size: 15px; max-width: 190px; line-height: 1.45; flex: none; }
.v-hb__logos ul { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.v-hb__logos svg { height: 26px; width: auto; }

/* ── hero C: product on a sand stage, capsule header, linework ── */
.v-hc { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 72px; border-block: 1px solid var(--line); }
.v-hc__lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.v-hc__line { position: absolute; top: 150px; width: 300px; height: 420px; overflow: visible; }
.v-hc__line--l { left: 0; } .v-hc__line--r { right: 0; }
.v-hc__line path { fill: none; stroke: var(--line-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.v-hc__line rect { fill: var(--accent); }
.v-hc__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100px; }
.v-capsule { display: flex; align-items: center; gap: 4px; height: 52px; padding: 0 8px; background: var(--deep); border-radius: var(--r-pill); --glide: rgba(255, 255, 255, .16); }
.v-capsule .nav a { color: var(--on-dark); }
.v-capsule--end { gap: 14px; padding: 0 6px 0 20px; }
.v-capsule--end > a:not(.btn) { color: var(--on-dark); }
.v-capsule .btn { border-radius: var(--r-pill); }
.v-hc__copy { display: grid; justify-items: center; text-align: center; gap: 22px; padding-top: 52px; }
.v-hc__copy h2 { max-width: 760px; }
.v-hc__copy > p:not(.v-hc__stat) { max-width: 560px; font-size: 18px; }
.v-hc__stat { display: flex; align-items: center; gap: 14px; margin-top: 6px; padding: 10px 18px 10px 12px; background: var(--surface-2); border-radius: var(--r-pill); color: var(--text); font-size: 15px; }
.v-hc__stat b { white-space: nowrap; font: 500 22px/1.2 var(--font-display); letter-spacing: -.4px; background: var(--card); border-radius: var(--r-pill); padding: 7px 12px; }
.v-hc__stage { margin-top: 56px; padding: 56px 40px; border-radius: var(--r-xl); background-color: var(--surface-3); background-image: linear-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .35) 1px, transparent 1px); background-size: 33px 33px; }
.v-hc__pair { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 400px); gap: 20px; justify-content: center; align-items: stretch; }
.v-hc__job { display: flex; flex-direction: column; }
.v-hc__job .mk-pad { flex: 1; display: flex; flex-direction: column; }
.v-hc__meta { display: grid; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.v-hc__jobhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 16px; border-bottom: 1px solid var(--line); }
.v-hc__jobhead b { font: 500 20px/1.2 var(--font-display); letter-spacing: -.3px; }
.v-hc__owner { margin-top: 0; }
.v-hc__owner b { font-weight: 500; }
.v-hc__steps { display: grid; }
.v-hc__step { display: grid; gap: 2px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.v-hc__step small { font: 400 12px/1.3 var(--mono); color: var(--accent-ink); }
.v-hc__step b { font-size: 15px; font-weight: 500; }
.v-hc__go { margin: 12px; padding: 11px; text-align: center; border-radius: var(--r-sm); background: var(--deep); color: var(--on-dark); font-size: 13px; font-weight: 500; }

/* ── hero D: inset portrait with caps across the subject ── */
.v-hd { padding-bottom: 24px; }
.v-hd__head { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.v-hd__chip { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 14px 8px 10px; font-size: 22px; }
.v-hd__chip svg { width: 24px; height: 24px; }
.v-hd__frame { position: relative; isolation: isolate; margin-inline: 24px; height: 920px; border-radius: var(--r-xl); overflow: hidden; }
.v-hd__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: -1; }
.v-hd__news { position: absolute; left: 56px; top: 44px; display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px 0 6px; background: var(--card); border-radius: var(--r-pill); color: var(--text); font-size: 15px; box-shadow: var(--shadow-1); transition: background-color .3s var(--ease); }
.v-hd__news:hover { background: var(--surface-2); }
.v-hd__news b { font: 500 12px/1 var(--mono); background: var(--accent); color: var(--on-accent); border-radius: var(--r-pill); padding: 8px 10px; }
.v-hd__news svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-hd__title { position: absolute; left: 56px; right: 56px; top: 466px; font: 500 clamp(48px, 7vw, 100px)/.96 var(--font-display); letter-spacing: -.035em; text-transform: uppercase; color: var(--text); }
.v-hd__l1, .v-hd__l2 { display: block; }
.v-hd__l2 { padding-left: 28%; }
.v-hd__foot { position: absolute; left: 56px; right: 56px; bottom: 30px; display: flex; align-items: center; gap: 20px 40px; }
.v-hd__foot p { max-width: 470px; padding: 14px 18px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: var(--r); }
.v-hd__foot p { color: var(--text); font-size: 16px; }
.v-hd__foot .hero__ctas { justify-content: flex-start; }
.v-hd__stats { position: absolute; right: 48px; top: 120px; width: 260px; display: grid; gap: 4px; padding: 8px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.v-hd__stats li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 12px; padding: 14px 14px 16px; }
.v-hd__stats li + li { border-top: 1px solid var(--line); }
.v-hd__stats b { font: 500 28px/1 var(--font-display); letter-spacing: -.6px; color: var(--text); }
.v-hd__stats span { font-size: 13px; color: var(--text-2); }
.v-hd__stats .mk-bar { grid-column: 1 / -1; margin-top: 8px; }

/* ── features ── */
.v-rows { display: grid; gap: 10px; }
.v-rows div { display: flex; justify-content: space-between; gap: 12px; }
.v-rows b { font: 400 12px/1.45 var(--mono); }
.v-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.v-bento__c { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; }
.v-bento__copy { padding: 28px 28px 30px; display: grid; gap: 10px; align-content: start; }
.v-bento__copy p { font-size: 15.5px; }
.v-bento__c--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center; gap: 8px; padding-right: 28px; }
.v-bento__c--wide .mk-code { margin-block: 28px; }
.v-bento__c--tall { grid-row: span 2; }
.v-bento__media { position: relative; flex: 1; min-height: 380px; }
.v-bento__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v-bento__media .mk-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(300px, 84%); }
.v-bento__c--art .v-bento__art { height: 200px; display: grid; place-items: center; border-bottom: 1px solid var(--line); background: var(--bg); }
.v-bento__art svg { width: auto; max-height: 150px; }
.v-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.v-icon { display: flex; flex-direction: column; gap: 84px; min-height: 300px; padding: 32px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.v-icon__ic { width: 40px; height: 40px; color: var(--accent); }
.v-icon__ic svg { width: 40px; height: 40px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.v-icon div { margin-top: auto; display: grid; gap: 10px; }
.v-icon p { font-size: 15.5px; }

/* ── proof ── */
.v-wall { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 32px; }
.v-wall li { display: grid; place-items: center; height: 120px; color: var(--text-2); background: var(--surface); }
.v-wall li + li { border-left: 1px solid var(--line); }
.v-wall svg { height: 30px; width: auto; }
.v-story { display: grid; grid-template-columns: 480px 1fr; gap: 56px; align-items: center; padding: 72px 80px; background: var(--deep); border-radius: var(--r-xl); }
.v-story__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1; }
.v-story__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.v-story__body { display: grid; gap: 26px; justify-items: start; }
.v-story__logo { color: var(--on-dark); }
.v-story__logo svg { height: 34px; width: auto; }
.v-story blockquote { margin: 0; color: var(--on-dark); font-size: 28px; line-height: 1.32; max-width: 580px; text-wrap: balance; }
.v-story__who { display: grid; gap: 4px; }
.v-story__who b { color: var(--on-dark); font-weight: 500; font-size: 17px; }
.v-story__who span { color: var(--on-dark-2); font-size: 15px; }
.v-story__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; width: 100%; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.v-story__stats p { display: flex; align-items: center; gap: 16px; }
.v-story__stats b { font: 500 40px/1 var(--font-display); letter-spacing: -1px; color: var(--on-dark); }
.v-story__stats span { color: var(--on-dark-2); font-size: 15px; line-height: 1.5; max-width: 150px; }
.v-story .link-accent { color: var(--accent); }
.v-story .link-accent:hover { color: var(--accent-soft); }
.v-metrics { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
.v-metrics__copy { padding: 26px 32px 26px 26px; display: grid; gap: 16px; align-content: center; }
.v-stat { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 24px; background: var(--card); border-radius: var(--r-lg); min-height: 210px; }
.v-stat__n { font: 500 48px/1 var(--font-display); letter-spacing: -1.4px; color: var(--text); margin-bottom: auto; }
.v-stat > span:last-child { color: var(--text); font-size: 15px; line-height: 1.5; }
.v-stars { display: flex; gap: 3px; }
.v-stars svg { width: 18px; height: 18px; fill: var(--accent); }

/* ── pricing B: table first ── */
.v-ptable-wrap { position: relative; overflow-x: auto; border-radius: var(--r-lg); }
.v-ptable { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; color: var(--text); font-size: 16px; }
.v-ptable th, .v-ptable td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.v-ptable tbody th { font-weight: 400; color: var(--text-2); width: 28%; }
.v-ptable thead th { vertical-align: top; padding-block: 26px 24px; border-bottom: 1px solid var(--line-2); }
.v-ptable thead th > * { display: block; }
.v-ptable thead .btn { display: inline-flex; margin-top: 18px; }
.v-ptable__lead { font: 400 15px/1 var(--mono) !important; color: var(--text-2); }
.v-ptable__plan { font: 500 18px/1.4 var(--font); margin-bottom: 10px; display: flex !important; align-items: center; gap: 10px; }
.v-ptable .price { font-size: 36px; }
.v-ptable .price small { font-size: 15px; }
.v-ptable__talk { font-size: 30px !important; }
.v-ptable .is-team { background: var(--surface); border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.v-ptable thead .is-team { border-top: 2px solid var(--accent); border-radius: var(--r) var(--r) 0 0; }
.v-ptable tbody tr:last-child .is-team { border-bottom: 2px solid var(--accent); border-radius: 0 0 var(--r) var(--r); }
.v-ptable svg { width: 18px; height: 18px; fill: none; stroke-width: 2; stroke-linecap: round; }
.v-ptable svg.y { stroke: var(--accent); }
.v-ptable svg.n { stroke: var(--text-2); }

/* ── band B: graph left, captions right ── */
.v-bandb { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 8px; }
.v-bandb__photo { position: relative; min-height: 560px; border-radius: var(--r-xl) 0 0 var(--r-xl); overflow: hidden; }
.v-bandb__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.v-bandb__photo::before { content: ""; position: absolute; left: 0; right: 0; top: 46px; border-top: 1.5px dashed rgba(255, 255, 255, .55); z-index: 1; }
.v-bandb__canvas { position: absolute; inset: 0; z-index: 2; }
.v-bandb__graph { position: absolute; left: 50%; top: 50%; width: 760px; height: 560px; transform: translate(-50%, -50%) scale(var(--v-s, 1)); }
.v-bandb__graph .mk-wires { width: 760px; height: 560px; filter: drop-shadow(0 0 1.5px color-mix(in srgb, var(--deep) 70%, transparent)); }
.v-bandb__graph .mk-wires path { stroke-width: 1.8; }
.v-bandb__caps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.v-bandb__caps li { display: grid; gap: 14px; align-content: center; padding: 26px 32px; background: var(--surface); border: 1px solid var(--line); }
.v-bandb__caps li:first-child { border-top-right-radius: var(--r-xl); }
.v-bandb__caps li:last-child { border-bottom-right-radius: var(--r-xl); }
.v-bandb__caps small { font: 400 13px/1 var(--mono); color: var(--accent-ink); }
.v-bandb__caps p { color: var(--text); font-size: 18px; line-height: 1.45; font-weight: 500; }

/* ── hub B: tiles around the composer ── */
.v-hubb { display: grid; grid-template-columns: 180px minmax(0, 520px) 180px; justify-content: center; align-items: center; gap: 56px; }
.v-hubb__col { display: grid; gap: 16px; }
.v-hubb__col .mk-tile { width: 100%; position: relative; }
.v-hubb__col .mk-tile::after { content: ""; position: absolute; top: 50%; width: 56px; border-top: 1.5px dashed var(--line-2); }
.v-hubb__col--l .mk-tile::after { left: 100%; }
.v-hubb__col--r .mk-tile::after { right: 100%; }
.v-hubb__core { display: grid; gap: 14px; }
.v-hubb__core .mk-compose { border: 2px solid var(--accent); box-shadow: 0 24px 50px -24px rgba(var(--accent-rgb), .55); }
.v-hubb__tag { display: inline-flex; align-items: center; gap: 8px; font: 400 13px/1 var(--mono); color: var(--accent-ink); margin-bottom: 14px; }
.v-hubb .mk-compose__foot .mk-run { color: var(--on-accent); }
.v-hubb__core .mk-compose__in { font-size: 17px; line-height: 1.55; color: var(--text); min-height: 112px; }
.v-hubb__note { text-align: center; font-size: 14px; color: var(--text-2); }

/* ── compare B: us vs them cards ── */
.v-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: min(1040px, 100%); margin-inline: auto; align-items: stretch; }
.v-vs__card { display: flex; flex-direction: column; gap: 8px; padding: 32px; border-radius: var(--r-lg); }
.v-vs__card--them { background: var(--card); border: 1px solid var(--line-2); }
.v-vs__card--us { background: var(--surface); border: 2px solid var(--accent); }
.v-vs__h { display: flex; align-items: center; gap: 10px; font: 500 24px/1.2 var(--font-display); letter-spacing: -.5px; margin-bottom: 14px; }
.v-vs__h svg { width: 24px; height: 24px; }
.v-vs__card--them .v-vs__h { color: var(--text-2); font-size: 20px; height: 29px; }
.v-vs__row { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.v-vs__row small { font: 400 12px/1.3 var(--mono); color: var(--text-2); }
.v-vs__row span { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 16px; }
.v-vs__card--them .v-vs__row span { color: var(--text-2); }
.v-vs svg.y, .v-vs svg.n { flex: none; width: 18px; height: 18px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-vs svg.y { stroke: var(--accent); }
.v-vs svg.n { stroke: var(--text-2); width: 16px; height: 16px; stroke-width: 1.6; }
.v-vs__foot { margin-top: auto; padding-top: 18px; font-size: 15px; color: var(--text-2); }
.v-vs__card--us .btn { margin-top: auto; align-self: flex-start; }
.v-vs__card--us ul { margin-bottom: 22px; }

/* ── CTA ── */
.v-page .v-end { margin-top: 0; border-block: 1px solid var(--line); }
.v-page .v-end .cta { padding-bottom: 116px; }
.v-ctab { position: relative; isolation: isolate; overflow: hidden; min-height: 600px; display: flex; align-items: center; }
.v-ctab__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; z-index: -1; }
.v-ctab .wrap { padding-block: 64px; }
.v-ctab__card { display: grid; gap: 20px; justify-items: start; max-width: 540px; padding: 40px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-3); }
.v-ctab__card p { font-size: 17px; }
.v-ctab__card .hero__ctas { margin-top: 6px; }
.v-ctac { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.v-ctac__copy { display: grid; gap: 22px; justify-items: start; align-content: center; padding: 64px 56px; }
.v-ctac__copy > p:not(.v-ctac__note) { max-width: 440px; font-size: 17px; }
.v-ctac__note { font-size: 13px; color: var(--text-2); margin-top: -8px; }
.v-ctac__media { position: relative; min-height: 520px; }
.v-ctac__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.v-ctac__media .mk-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(320px, 80%); }
.v-ctad { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 40px 40px 48px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.v-ctad h2 { max-width: 760px; }

/* ── footers ── */
.v-foota { padding-top: 56px; border-top: 1px solid var(--line); background: linear-gradient(to bottom, var(--bg), var(--surface)); }
.v-footb { background: var(--surface); border-block: 1px solid var(--line); padding-top: 72px; overflow: hidden; }
.v-footb__top { display: flex; justify-content: space-between; gap: 60px; }
.v-footb__line { font: 500 24px/1.35 var(--font-display); letter-spacing: -.4px; color: var(--text); max-width: 340px; }
.v-footb__cols { display: grid; grid-template-columns: repeat(4, 150px); }
.v-footb__cols h4 { font: 500 15px/1 var(--font); margin-bottom: 20px; }
.v-footb__cols ul { display: grid; gap: 10px; }
.v-footb__cols a { color: var(--text-2); transition: color .3s var(--ease); }
.v-footb__cols a:hover { color: var(--text); }
.v-footb__mark { display: flex; align-items: center; justify-content: center; gap: .08em; margin: 56px 0 0; font: 600 clamp(80px, 24vw, 360px)/.9 var(--font-display); letter-spacing: -.055em; color: var(--surface-3); white-space: nowrap; }
.v-footb__mark svg { width: .56em; height: .56em; }
.v-footb__bot { display: flex; justify-content: space-between; align-items: center; padding: 22px 0 30px; border-top: 1px solid var(--line-2); color: var(--text-2); font-size: 15px; }
.v-footc { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: var(--on-dark-2); }
.v-footc__img { position: absolute; inset: 0 0 auto; width: 100%; height: 540px; object-fit: cover; object-position: 50% 50%; z-index: -1; -webkit-mask-image: linear-gradient(to bottom, #000 40%, rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(to bottom, #000 40%, rgba(0, 0, 0, 0) 100%); }
.v-footc__shade { position: absolute; inset: 0 0 auto; height: 540px; z-index: -1; background: linear-gradient(to bottom, color-mix(in srgb, var(--deep) 70%, transparent), color-mix(in srgb, var(--deep) 62%, transparent) 45%, color-mix(in srgb, var(--deep) 100%, transparent)); }
.v-footc__hero { position: relative; }
.v-footc__hero::before { content: ""; position: absolute; left: 50%; top: 60px; width: 900px; height: 360px; transform: translateX(-50%); z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--deep) 55%, transparent), color-mix(in srgb, var(--deep) 0%, transparent)); pointer-events: none; }
.v-footc__hero { display: grid; justify-items: center; text-align: center; gap: 28px; padding: 130px 0 170px; }
.v-footc__hero h2 { color: var(--on-dark); max-width: 680px; }
.v-footc__links { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px 0; border-top: 1px solid var(--line-dark); }
.v-footc__links .logo { color: var(--on-dark); }
.v-footc__links nav { display: flex; gap: 28px; flex-wrap: wrap; }
.v-footc__links nav a { color: var(--on-dark-2); transition: color .3s var(--ease); }
.v-footc__links nav a:hover { color: var(--on-dark); }
.v-footc .socials { color: var(--on-dark); }
.v-footc__bot { display: flex; justify-content: space-between; gap: 20px; padding: 0 0 32px; font-size: 14px; }
.v-footd { border-block: 1px solid var(--line); }
.v-footd__in { display: flex; align-items: center; gap: 36px; min-height: 96px; }
.v-footd__in .logo { font-size: 24px; }
.v-footd__nav { display: flex; gap: 24px; }
.v-footd__nav a { color: var(--text-2); font-size: 15px; transition: color .3s var(--ease); }
.v-footd__nav a:hover { color: var(--text); }
.v-footd__news { display: flex; gap: 6px; margin-left: auto; padding: 4px; border: 1px solid var(--line-2); border-radius: var(--r); }
.v-footd__news input { width: 210px; border: 0; background: transparent; font: 400 15px/1 var(--font); color: var(--text); padding: 0 10px; }
.v-footd__news input::placeholder { color: var(--muted); }
.v-footd__news input:focus { outline: none; }
.v-footd__news:focus-within { border-color: var(--accent); }
.v-footd__c { font-size: 14px; color: var(--text-2); white-space: nowrap; }

/* ── responsive ── */
@media (max-width: 1200px) {
  .v-ha__prop--1 { left: 470px; } .v-ha__prop--2 { left: 560px; }
  .v-story { grid-template-columns: 360px 1fr; padding: 56px; }
  .v-metrics { grid-template-columns: 1fr 1fr 1fr; }
  .v-metrics__copy { grid-column: 1 / -1; padding: 16px; }
  .v-footd__in { flex-wrap: wrap; padding-block: 24px; gap: 20px 32px; }
  .v-footd__news { margin-left: 0; }
  .v-bandb__graph { --v-s: .82; }
  .v-hubb { grid-template-columns: 150px minmax(0, 1fr) 150px; gap: 40px; }
  .v-hubb__col .mk-tile::after { width: 40px; }
}
@media (max-width: 900px) {
  .v-jump { grid-template-columns: 1fr; }
  .v-burger { display: inline-flex; }
  .v-hdr { padding-inline: 20px; }
  .v-hdr .site-head__in { height: 76px; }
  .v-hdr--pill { left: 12px; right: 12px; top: 16px; grid-template-columns: 1fr auto; padding: 0 8px 0 20px; height: 60px; }
  .v-hdr--pill .nav, .v-hdr__end > a, .v-hdr--split .nav, .v-hdr--split .btn, .v-ha__bar .nav, .v-hc__head .v-capsule:not(.v-capsule--end) { display: none; }
  .v-hdr--split { grid-template-columns: auto 1fr; padding-inline: 20px; height: 76px; }
  .v-hdr--split .v-hdr__side:first-child { display: none; }
  .v-util { padding: 0 20px; } .v-util__end { display: none !important; } .v-util a { display: none; }
  .v-ha__bar { grid-template-columns: 1fr auto; height: 76px; }
  .v-ha__grid { grid-template-columns: 1fr; gap: 40px; }
  .v-ha__prop--1 { left: auto; right: 0; top: 40px; width: 110px; }
  .v-ha__prop--2 { display: none; }
  .v-ha__foot { grid-template-columns: 1fr; }
  .v-ha__lead { grid-row: auto; }
  .v-ha__side { grid-template-columns: 1fr 1fr; }
  .v-ha__dots, .v-ha__cap { grid-column: 1 / -1; }
  .v-ha__art { height: 200px; }
  .v-hb { min-height: 760px; }
  .v-hb__texture { display: none; }
  .v-hb__shade { background: linear-gradient(to bottom, color-mix(in srgb, var(--deep) 50%, transparent), color-mix(in srgb, var(--deep) 62%, transparent) 50%, color-mix(in srgb, var(--deep) 70%, transparent)); }
  .v-hb__title { font-size: 36px; }
  .v-hb__logos { flex-direction: column; align-items: flex-start; gap: 18px; }
  .v-hb__logos ul { gap: 18px 28px; }
  .v-hb__logos svg { height: 22px; }
  .v-capsule--end > a:not(.btn) { display: none; }
  .v-capsule--end { padding: 0 6px; background: transparent; }
  .v-capsule--end .v-burger { background: var(--surface-2); }
  .v-hc__line { display: none; }
  .v-hc__stage { padding: 28px 16px; }
  .v-hc__pair { grid-template-columns: 1fr; }
  .v-hd__frame { margin-inline: 12px; height: auto; padding-top: 660px; background: var(--surface); }
  .v-hd__img { height: 660px; bottom: auto; object-position: 46% 50%; }
  .v-hd__news { left: 20px; top: 20px; font-size: 14px; }
  .v-hd__title { left: 20px; right: 20px; top: 330px; font-size: clamp(34px, 7vw, 60px); }
  .v-hd__l2 { padding-left: 12%; }
  .v-hd__stats { display: none; }
  .v-hd__foot { position: static; flex-direction: column; align-items: flex-start; padding: 24px 20px 28px; }
  .v-hd__foot p { padding: 0; background: none; }
  .v-bento { grid-template-columns: 1fr; }
  .v-bento__c--wide { grid-column: auto; grid-template-columns: 1fr; padding: 0 20px 20px; }
  .v-bento__c--wide .v-bento__copy { padding-inline: 8px; }
  .v-bento__c--wide .mk-code { margin-block: 0; }
  .v-bento__c--tall { grid-row: auto; }
  .v-icons { grid-template-columns: 1fr; }
  .v-icon { min-height: 0; gap: 40px; padding: 26px; }
  .v-wall { grid-template-columns: repeat(2, 1fr); }
  .v-wall li { height: 96px; border-left: 0 !important; border-top: 1px solid var(--line); }
  .v-wall li:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .v-wall li:nth-child(-n+2) { border-top: 0; }
  .v-wall li:last-child { grid-column: 1 / -1; }
  .v-story { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .v-story blockquote { font-size: 22px; }
  .v-story__stats { grid-template-columns: 1fr; gap: 18px; }
  .v-metrics { grid-template-columns: 1fr; padding: 16px; }
  .v-stat { min-height: 0; }
  .v-stat__n { margin-bottom: 8px; }
  .v-bandb { grid-template-columns: 1fr; }
  .v-bandb__photo { min-height: 420px; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .v-bandb__graph { --v-s: .7; }
  .v-bandb__caps li:first-child { border-top-right-radius: 0; }
  .v-bandb__caps li:last-child { border-radius: 0 0 var(--r-xl) var(--r-xl); }
  .v-hubb { grid-template-columns: 1fr; gap: 16px; }
  .v-hubb__col { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .v-hubb__col .mk-tile::after { display: none; }
  .v-hubb__col--r { order: 3; }
  .v-vs { grid-template-columns: 1fr; }
  .v-ctab { min-height: 640px; align-items: flex-end; }
  .v-ctab__card { padding: 28px; }
  .v-ctac { grid-template-columns: 1fr; }
  .v-ctac__copy { padding: 36px 24px; }
  .v-ctac__media { min-height: 420px; }
  .v-ctad { flex-direction: column; align-items: flex-start; padding: 28px; }
  .v-footb__top { flex-direction: column; gap: 36px; }
  .v-footb__cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .v-footb__bot { flex-direction: column; gap: 16px; align-items: flex-start; }
  .v-footc__hero { padding: 110px 0 80px; }
  .v-footc__links { flex-direction: column; align-items: flex-start; }
  .v-footc__bot { flex-direction: column; gap: 6px; }
  .v-footd__nav { flex-wrap: wrap; gap: 14px 20px; }
  .v-footd__news { width: 100%; }
  .v-footd__news input { flex: 1; width: auto; min-width: 0; }
}
@media (max-width: 560px) {
  .v-label__cls { font-size: 12px; }
  .v-hdr .site-head__in .logo, .v-hdr--pill .logo { font-size: 22px; }
  .v-util p b + * { font-size: 13px; }
  .v-ha__side { grid-template-columns: 1fr; }
  .v-ha__prop--1 { display: none; }
  .v-capture { flex-direction: column; padding: 8px; }
  .v-capture input { height: 44px; }
  .v-hd__title { top: 330px; }
  .v-hd__l2 { padding-left: 0; }
  .v-bandb__photo { min-height: 330px; }
  .v-bandb__graph { --v-s: .46; }
  .v-hubb__col .mk-tile { padding-inline: 4px; }
  .v-hubb__col .mk-tile svg { width: 34px; height: 34px; }
  .v-hubb__col .mk-tile__s { font-size: 11px; }
}
