/* Mesta landing page. Visual language follows wonderful.ai: black hero, light display type, pill buttons, monochrome with one accent (breakpoints 600 / 900 / 1200 / 1600). */

:root {
  --black: #000;
  --white: #fff;
  --ink-900: #1d1d1d;
  --ink-800: #313131;
  --grey-600: #626262;
  --grey-500: #818181;
  --grey-400: #b1b1b1;
  --grey-200: #dedede;
  --grey-100: #f0f0f0;
  --hair: rgba(0, 0, 0, .12);
  --accent: #2d5bff;
  --accent-dark: #5b7cff;
  --accent-soft: #dce4ff;

  --sans: "Inter", Arial, sans-serif;
  --serif: var(--sans); /* body copy; kept as a separate token so leads can diverge later */
  --display: "Geist", "Inter", Arial, sans-serif;
  --track: -.045em;
  --tile: #f4f4f5;
  --ink: #171719;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");

  --gutter: 16px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 9px 80px rgba(24, 24, 24, .07), 0 2.01px 17.869px rgba(24, 24, 24, .05), 0 .599px 5.32px rgba(24, 24, 24, .03);

  /* type scale, mobile first */
  --fs-h1: 40px; --ls-h1: -1.2px;
  --fs-h2: 32px; --ls-h2: -.64px;
  --fs-h3: 28px; --ls-h3: -.56px;
  --fs-h4: 24px; --ls-h4: -.24px;
  --fs-h5: 20px; --ls-h5: -.2px;
  --fs-mf: 32px;
  --fs-counter: 80px;
  --fs-token: 30px;
  --fs-quote: 20px;
  --fs-stat: 30px;
  --fs-label: 20px;
  --fs-bodyL: 18px;
  --fs-bodyM: 16px;
}
@media (min-width: 600px) {
  :root {
    --gutter: 36px;
    --fs-h1: 56px; --ls-h1: -1.68px;
    --fs-h2: 44px; --ls-h2: -1.32px;
    --fs-h3: 36px; --ls-h3: -.72px;
    --fs-h4: 28px; --ls-h4: -.56px;
    --fs-h5: 24px; --ls-h5: -.24px;
    --fs-mf: 44px;
    --fs-counter: 120px;
    --fs-label: 22px;
    --fs-bodyL: 20px;
    --fs-bodyM: 18px;
  }
}
@media (min-width: 900px) {
  :root {
    --gutter: 44px;
    --fs-h2: 56px; --ls-h2: -1.68px;
    --fs-h3: 48px; --ls-h3: -1.44px;
    --fs-h4: 36px; --ls-h4: -.72px;
    --fs-h5: 28px; --ls-h5: -.56px;
    --fs-mf: 56px;
    --fs-token: 60px;
    --fs-quote: 30px;
    --fs-label: 26px;
    --fs-bodyL: 22px;
  }
}
@media (min-width: 1200px) {
  :root {
    --fs-h1: 48px; --ls-h1: -1.44px;
    --fs-mf: 48px;
    --fs-counter: 150px;
    --fs-quote: 40px;
    --fs-stat: 40px;
  }
}
@media (min-width: 1600px) {
  :root { --fs-h1: 56px; --ls-h1: -1.68px; --fs-mf: 56px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { --nav-top: 0px; --nav-h: 60px; --bar-h: 36px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scrollbar-gutter: stable; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.5 var(--sans); letter-spacing: -.01em; }
main { overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.dark :focus-visible, .site-header :focus-visible, .hero :focus-visible, .cta :focus-visible { outline-color: var(--accent-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 2000; padding: 10px 16px; border-radius: 8px; background: #fff; color: #000; font: 500 14px var(--sans); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.container { width: 100%; max-width: 1600px; margin: 0 auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.muted { color: var(--grey-500); }

.h2, .h3, .h4, .h5 { font-family: var(--display); font-weight: 300; line-height: 1.08; letter-spacing: var(--track); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.h4 { font-size: var(--fs-h4); }
.h5 { font-size: var(--fs-h5); letter-spacing: -.03em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--grey-600); font: 400 14px/1.32 var(--sans); letter-spacing: 0; }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent); }
.lead-serif { font: 400 var(--fs-bodyM)/1.45 var(--serif); color: var(--grey-600); }
.dark .lead-serif { color: var(--grey-400); }

/* line reveal + block reveal */
.lr { display: block; overflow: hidden; padding: .1em; margin: -.1em; }
.lr > span { display: block; }
.js .lr > span { transform: translateY(100%); opacity: 0; transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); }
.js .is-in .lr > span { transform: none; opacity: 1; }
.js .is-in .lr:nth-child(2) > span { transition-delay: .1s; }
.js .is-in .lr:nth-child(3) > span { transition-delay: .2s; }
.js .rv { opacity: 0; transform: translateY(40px); transition: transform .8s var(--ease-expo), opacity .8s ease-in; }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; border: 1px solid transparent; border-radius: 999px; font-family: var(--sans); font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; }
.btn-sm { height: 36px; padding: 8px 16px; font-size: 14px; font-weight: 400; line-height: 1.32; }
.btn-md { height: 44px; padding: 10px 22px; font-size: 16px; font-weight: 400; line-height: 1.32; }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: var(--grey-200); }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { background: var(--ink-800); }
.btn-glass, .btn-outline { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-glass:hover, .btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 8px 12px; border: 0; border-radius: 50%; background: var(--grey-100); color: #000; cursor: pointer; transition: background-color .2s; }
.icon-btn:hover { background: var(--grey-200); }
.icon-btn svg { width: 7px; height: 12px; }
.icon-btn.prev svg { transform: rotate(180deg); }
.arrows { display: flex; gap: 8px; margin-top: 24px; }
.ic-chev { width: 8.4px; height: 14px; flex: none; }
.ic-ext { display: inline-block; width: 16px; height: 16px; vertical-align: -2px; margin-left: 4px; flex: none; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 2px 10px; border: 1px solid var(--grey-200); border-radius: 999px; background: #fff; color: var(--grey-600); font: 400 12px/18px var(--sans); }

/* ---------- header / nav ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 999; background: #000; transition: transform .4s var(--ease-out); }
.site-header.is-hidden:not(.menu-open) { transform: translateY(calc(-1 * var(--bar-h))); }
.announce { display: flex; align-items: center; justify-content: center; gap: 12px; height: var(--bar-h); padding: 0 var(--gutter); background: #fff; color: #000; font: 500 13px/1 var(--sans); text-decoration: none; white-space: nowrap; overflow: hidden; }
.announce > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.announce-more { display: inline-flex; align-items: center; gap: 4px; color: var(--grey-600); font-weight: 400; transition: color .2s; }
.announce-more svg { width: 14px; height: 14px; transition: transform .2s; }
.announce:hover .announce-more { color: #000; }
.announce:hover .announce-more svg { transform: translateX(3px); }
.announce-short { display: none; }
@media (max-width: 599.98px) { .announce-long { display: none; } .announce-short { display: inline; } }
.nav { position: relative; max-width: 1600px; height: var(--nav-h); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 0 var(--gutter); background: #000; }
.nav .btn-light { background: #fff; color: #000; }
.nav .btn-light:hover { background: var(--grey-200); }
.nav-logo { display: inline-flex; align-items: center; justify-self: start; height: 36px; border-radius: 6px; }
.logo-full { display: none; height: 28px; width: auto; }
.logo-icon { height: 28px; width: auto; }
.nav-links { display: none; }
.nav-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 8px; }
.burger { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; border-radius: 8px; }
.burger svg { width: 20px; height: 20px; }
.burger .ic-close, .menu-open .burger .ic-menu { display: none; }
.menu-open .burger .ic-close { display: block; }
@media (min-width: 900px) {
  html { --nav-h: 64px; }
  .nav-links { justify-self: start; margin-left: 48px; }
  .logo-full { display: block; }
  .logo-icon { display: none; }
  .nav-links { display: flex; align-items: center; }
  .nav-links > li { padding: 0 4px; }
  .burger { display: none; }
}
.nav-link { display: inline-flex; align-items: center; height: 36px; padding: 8px 12px; border: 0; border-radius: 8px; background: none; color: #fff; font: 400 15px/1.32 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.nav-link:hover, .nav-dd.is-open > .nav-link { background: rgba(255, 255, 255, .12); }
.nav-dd { position: relative; }
.dd { position: absolute; top: calc(100% + 14px); left: 0; width: 340px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: var(--shadow), 0 12px 40px rgba(0, 0, 0, .18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dd.is-open .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: grid; grid-template-columns: 1fr 16px; column-gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; color: #000; text-decoration: none; }
.dd a:hover { background: var(--grey-100); }
.dd-name { font: 500 14px/1.32 var(--sans); }
.dd-desc { grid-row: 2; font: 500 12px/1.32 var(--sans); color: var(--grey-600); }
.dd .ic-ext { grid-row: 1 / 3; grid-column: 2; margin: 0; color: var(--grey-600); }

.mmenu { position: fixed; top: calc(var(--bar-h) + var(--nav-h)); left: 0; right: 0; height: 0; overflow: hidden; background: #000; color: #fff; visibility: hidden; transition: height .5s var(--ease-out), visibility 0s linear .5s; }
.menu-open .mmenu { height: calc(100vh - var(--bar-h) - var(--nav-h)); height: calc(100dvh - var(--bar-h) - var(--nav-h)); overflow-y: auto; visibility: visible; transition: height .5s var(--ease-out), visibility 0s; }
.mmenu-list { padding-top: 16px; }
.mmenu-row { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 12px 16px; border: 0; background: none; color: #fff; text-align: left; text-decoration: none; font: 300 28px/1.1 var(--display); letter-spacing: var(--track); cursor: pointer; }
.mmenu-row .ic-chev { transition: transform .3s; }
.mmenu-row[aria-expanded="true"] .ic-chev { transform: rotate(90deg); }
.mmenu-sub { display: none; padding: 4px 16px 12px; }
.mmenu-row[aria-expanded="true"] + .mmenu-sub { display: block; }
.mmenu-sub a { display: block; padding: 10px 0; color: #fff; text-decoration: none; font: 500 16px/1.32 var(--sans); }
.mmenu-sub a span { display: block; color: var(--grey-400); font-size: 13px; }
@media (min-width: 600px) { .mmenu-row { padding: 12px 36px; } .mmenu-sub { padding-inline: 36px; } }
@media (min-width: 900px) { .mmenu { display: none; } }

/* ---------- 01 hero ---------- */
.hero { position: relative; display: grid; place-items: center; min-height: 88vh; min-height: 88svh; padding: calc(var(--bar-h) + var(--nav-h) + 64px) var(--gutter) 96px; overflow: hidden; background: #000; color: #fafafa; text-align: center; }
.hero-card { position: absolute; inset: 0; pointer-events: none; opacity: .7; filter: blur(28px) saturate(.6); transform: scale(1.1); -webkit-mask-image: radial-gradient(70% 60% at 50% 100%, #000 10%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 100%, #000 10%, transparent 75%); }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .08; mix-blend-mode: overlay; pointer-events: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-h1 { font: 300 clamp(44px, 7.4vw, 104px)/1.04 var(--display); letter-spacing: -.05em; }
.hero-lead { max-width: 30ch; margin-top: 32px; color: #fafafa; font: 400 clamp(17px, 1.6vw, 20px)/1.3 var(--sans); letter-spacing: -.02em; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.js .hero-inner > :not(h1) { animation: fadeUp .8s var(--ease-out) .45s both; }

/* ---------- 01b product tiles ---------- */
.tiles { padding: 96px 0 48px; }
.tiles-title { text-align: center; font: 300 clamp(22px, 2.2vw, 28px)/1.2 var(--display); letter-spacing: -.035em; }
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin-top: 48px; }
.tile-grid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 120px; border-radius: 4px; background: var(--tile); color: var(--grey-500); font: 400 15px/1.2 var(--sans); text-decoration: none; transition: background-color .3s, color .3s; }
.tile-grid svg { width: 28px; height: 28px; }
@media (max-width: 899.98px) { .tile-grid li:last-child:nth-child(odd) { grid-column: span 2; } }
.tile-grid a:hover { background: var(--grey-200); color: #000; }
@media (min-width: 900px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } .tile-grid a { height: 140px; } .tiles { padding: 128px 0 64px; } }
@media (min-width: 1200px) { .tile-grid { grid-template-columns: repeat(9, 1fr); } .tile-grid a { white-space: nowrap; font-size: clamp(13px, 1.1vw, 15px); } }

.trusted { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 96px; }
.trusted-label { color: var(--grey-500); font: 400 14px/1.32 var(--sans); }
.trusted-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.trusted-list a { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 240px; padding: 24px 24px 18px; border-radius: 4px; background: var(--tile); color: var(--grey-500); font: 400 12px/1.32 var(--sans); text-decoration: none; transition: background-color .3s, color .3s; }
.trusted-list img { width: 150px; height: 44px; object-fit: cover; filter: brightness(0); opacity: .45; transition: opacity .3s; } /* source logo is white on a padded square: crop + silhouette */
.trusted-list a:hover { background: var(--grey-200); color: #000; }
.trusted-list a:hover img { opacity: .9; }

.trusted-word { display: grid; place-items: center; height: 44px; color: var(--grey-500); font: 500 26px/1 var(--display); letter-spacing: -.04em; transition: color .3s; }
.trusted-list a:hover .trusted-word { color: #000; }

/* ---------- 01b2 news ---------- */
.news { padding: 32px 0 0; }
.news-grid { display: grid; gap: 8px; margin-top: 40px; }
.news-grid a { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 200px; padding: 24px; border-radius: 12px; background: var(--tile); color: var(--ink); text-decoration: none; transition: background-color .3s, color .3s; }
.news-grid a:hover { background: #000; color: #fff; }
.news-meta { padding-right: 32px; color: var(--grey-500); font: 400 13px/1.32 var(--sans); }
.news-title { max-width: 18ch; font: 300 clamp(22px, 2vw, 28px)/1.15 var(--display); letter-spacing: -.04em; }
.news-ic { position: absolute; top: 22px; right: 22px; width: 20px; height: 20px; transition: transform .3s; }
.news-grid a:hover .news-ic { transform: translate(2px, -2px); }
@media (min-width: 600px) { .news-grid { grid-template-columns: repeat(3, 1fr); } .news-grid a { padding: 20px; } .news-title { font-size: 20px; } .news-meta { padding-right: 24px; font-size: 12px; white-space: nowrap; } .news-ic { top: 18px; right: 18px; } }
@media (min-width: 900px) { .news-grid a { min-height: 260px; padding: 24px; } .news-title { font-size: clamp(22px, 2vw, 28px); } .news-meta { font-size: 13px; } .news-ic { top: 22px; right: 22px; } }

/* ---------- 01c statement (words light up on scroll) ---------- */
.statement { padding: 96px 0; }
.stmt { max-width: 22ch; margin: 0 auto; text-align: center; font: 300 clamp(32px, 4.6vw, 64px)/1.12 var(--display); letter-spacing: -.045em; }
.stmt .w { color: #d4d4d8; transition: color .35s; }
.stmt .w.on { color: var(--ink); }
@media (min-width: 900px) { .statement { padding: 160px 0 200px; } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(5px); } }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- 02 latest: blurred product cards ---------- */
.latest { padding: 96px 0; }
.latest-title { margin-bottom: 48px; }
.pcards { display: grid; gap: 12px; }
.pcard a { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; aspect-ratio: 1; padding: 24px; overflow: hidden; border-radius: 12px; background: #111; color: #fff; text-align: center; text-decoration: none; }
/* the product screenshot, blurred into a colour field */
.pcard-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: blur(32px) saturate(1.35) brightness(.6); transform: scale(1.25); transition: transform 1.2s var(--ease-out); }
.pcard a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(100% 80% at 20% 10%, var(--t1, #888), transparent 75%), radial-gradient(90% 80% at 90% 100%, var(--t2, #222), transparent 75%); opacity: .72; pointer-events: none; }
.pcard a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain), linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .45)); background-blend-mode: overlay, normal; opacity: .9; pointer-events: none; }
.pcard a:hover .pcard-bg { transform: scale(1.4); }
.pcard-name { position: absolute; top: 50%; left: 16px; right: 16px; transform: translateY(-50%); font: 300 clamp(28px, 3vw, 40px)/1.05 var(--display); letter-spacing: var(--track); }
.pcard-name b { font-weight: 500; }
.pcard-foot { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pcard-desc { max-width: 26ch; font: 400 15px/1.4 var(--sans); color: rgba(255, 255, 255, .92); }
.pcard a:hover .btn-light { background: var(--grey-200); }
@media (min-width: 600px) {
  .pcards { grid-template-columns: 1fr 1fr; }
  .pcard:first-child { grid-column: 1 / -1; }
  .pcard:first-child a { aspect-ratio: 2 / 1; }
  .pcard a { aspect-ratio: 4 / 5; }
}
@media (min-width: 900px) { .latest { padding: 160px 0; } .latest-title { margin-bottom: 64px; } }
@media (min-width: 1200px) {
  .pcards { grid-template-columns: repeat(3, 1fr); }
  .pcard:first-child { grid-column: auto; } /* 9 cards fill a 3×3 grid */
  .pcard:first-child a { aspect-ratio: 4 / 5; }
}

/* ---------- 03 products ---------- */
.products { padding: 100px 0; }
.sec-head { text-align: center; }
.products-head { padding-bottom: 40px; }
.products-head .h2 { margin: 24px auto 0; }
.products-head .lead-serif { max-width: 546px; margin: 16px auto 0; }
@media (min-width: 600px) { .products { padding: 80px 0; } .products-head { padding-bottom: 96px; } }
@media (min-width: 900px) { .products { padding: 120px 0; } .products-head .h2 { margin-top: 32px; } }
@media (min-width: 1200px) { .products { padding: 160px 0; } .products-head { padding-bottom: 120px; } }

.prod-tabs { display: none; }
.prod-panel { display: flex; flex-direction: column; gap: 24px; }
.prod { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 16px; background: var(--tile); }
.prod-card { position: relative; display: flex; flex-direction: column; padding: 12px; border-radius: 12px; background: #fff; }
.prod-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #000; color: #fff; }
.prod-icon svg { width: 20px; height: 20px; }
.prod-spacer { display: none; }
.prod-title { margin-top: 16px; font-size: 28px; }
.prod-title-btn { padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-align: left; cursor: default; }
.prod-arrow { display: none; }
.prod-desc p { margin-top: 16px; color: var(--ink-800); font: 400 var(--fs-bodyM)/1.32 var(--serif); max-width: 520px; }
.prod-desc .chip { margin-top: 8px; }
.prod-foot { margin-top: 24px; }
.prod-foot .btn { width: 100%; }
.prod-stats { display: flex; flex-direction: column; gap: 12px; }
.stat { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 12px; background: #fff; }
.stat-label { color: var(--grey-600); font: 400 13px/1.32 var(--sans); }
.stat-val { margin-top: 8px; font: 300 var(--fs-stat)/1.05 var(--display); letter-spacing: var(--track); }
.stat-note { margin-top: auto; padding-top: 16px; color: var(--grey-600); font: 400 15px/1.4 var(--serif); }
.stat-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.stat-txt { display: flex; flex-direction: column; }
.stat-img { width: 100%; height: 100%; min-height: 110px; object-fit: cover; object-position: left top; border-radius: 8px; border: 1px solid var(--grey-100); }

@media (min-width: 600px) {
  .prod-card { padding: 24px; }
  .prod-icon { width: 44px; height: 44px; }
  .prod-icon svg { width: 24px; height: 24px; }
  .prod-title { margin-top: 24px; font-size: var(--fs-h4); }
  .stat { padding: 18px; }

  /* tabs (JS) */
  .js .prod-tabs { display: flex; width: max-content; max-width: 100%; margin: -24px auto 16px; padding: 4px; border-radius: 999px; background: var(--tile); overflow-x: auto; }
  .js .prod-tabs button { height: 34px; padding: 6px 14px; border: 0; border-radius: 999px; background: none; color: var(--grey-600); font: 400 14px/1.32 var(--sans); cursor: pointer; white-space: nowrap; transition: color .2s, background-color .2s; }
  .js .prod-tabs button[aria-selected="true"] { background: #fff; color: #000; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
  .js .prod-panel { display: block; padding: 8px; border-radius: 20px; background: var(--tile); }
  .js .prod { display: none; padding: 0; border-radius: 0; }
  .js .prod.is-active { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; animation: fadeIn .4s; }
  .js .prod-card { grid-column: 1 / -1; min-height: 364px; }
  .js .prod-foot { margin-top: auto; padding-top: 24px; }
  .js .prod-stats { display: contents; }
  .js .stat { min-height: 330px; }
  .js .stat-top { display: flex; flex-direction: column; }
  .js .stat-img { order: 2; height: auto; min-height: 0; aspect-ratio: 16 / 10; margin-top: auto; }
  .js .stat-top .stat-note { display: none; }
}
@media (min-width: 1200px) and (min-height: 1070px) {
  .js .prod-tabs { display: none; }
  .js .prod-pin { --ph: 972px; height: calc(var(--ph) + 4050px); } /* 9 products × 450px scroll per product */
  .js .prod-panel { position: sticky; top: 82px; height: var(--ph); display: flex; flex-direction: column; gap: 12px; padding: 12px; overflow: hidden; }
  .js .prod { display: contents; }
  .js .prod-card { width: calc((100% - 12px) * 5 / 12); height: 68px; min-height: 0; flex: none; padding: 20px 24px 24px; overflow: hidden; cursor: pointer; transition: height .45s var(--ease-out); }
  .js .prod.is-active .prod-card { height: calc(var(--ph) - 24px - 8 * 68px - 72px); cursor: auto; }
  .js .prod-icon { position: absolute; top: 24px; left: 24px; width: 58px; height: 58px; border-radius: 50%; opacity: 0; transition: opacity .3s; }
  .js .prod-icon svg { width: 28px; height: 28px; }
  .js .prod-spacer { display: block; flex: 1 1 auto; min-height: 0; transition: min-height .45s var(--ease-out); }
  .js .prod.is-active .prod-spacer { min-height: 66px; }
  .js .prod-title { margin: 0; }
  .js .prod-desc, .js .prod-foot { opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .js .prod-foot { margin-top: 24px; padding-top: 0; }
  .js .prod-foot .btn { width: auto; }
  .js .prod.is-active :is(.prod-icon, .prod-desc, .prod-foot) { opacity: 1; visibility: visible; transition: opacity .4s .2s, visibility 0s; }
  .js .prod-title-btn { cursor: pointer; }
  .js .prod.is-active .prod-title-btn { cursor: auto; }
  .js .prod-arrow { display: block; position: absolute; top: 21px; right: 24px; width: 34px; height: 34px; opacity: 0; transform: translateX(-34px); transition: opacity .15s, transform .15s; }
  .js .prod:not(.is-active) .prod-card:hover .prod-arrow { opacity: 1; transform: none; }
  .js .prod-stats { position: absolute; top: 12px; right: 12px; bottom: 12px; width: calc((100% - 36px) * 7 / 12); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 294fr 418fr; gap: 12px; opacity: 0; visibility: hidden; transform: scale(.98); transition: opacity .4s, transform .4s var(--ease-out), visibility .4s; }
  .js .prod.is-active .prod-stats { opacity: 1; visibility: visible; transform: none; }
  .js .stat { min-height: 0; }
  .js .stat-top { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 63%; }
  .js .stat-img { order: 0; height: 100%; aspect-ratio: auto; margin: 0; }
  .js .stat-top .stat-note { display: block; }
  .js .stat:not(.stat-top) { background-image: linear-gradient(#fff 0 30%, rgba(255,255,255,0) 44%, rgba(255,255,255,0) 64%, #fff 76%), radial-gradient(var(--grey-200) 1.6px, transparent 2px); background-size: 100% 100%, 18px 18px; background-clip: content-box; }
}

/* ---------- 04 counters ---------- */
.counters { padding: 48px 0; }
.counters-title { max-width: 640px; margin-bottom: 24px; }
.counter { display: flex; align-items: flex-end; padding: 32px 0 20px; border-bottom: 1px solid var(--hair); }
.counter:first-child { padding-top: 0; }
.num { display: inline-flex; font: 300 var(--fs-counter)/.85 var(--display); letter-spacing: -.06em; }
.num .dg { display: block; height: .85em; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 .075em, #000 calc(100% - .075em), transparent); mask-image: linear-gradient(transparent, #000 .075em, #000 calc(100% - .075em), transparent); }
.num .strip { display: flex; flex-direction: column; transform: translateY(calc(-.85em * var(--d, 0))); transition: transform .9s cubic-bezier(.34, 1.35, .64, 1); }
.num .strip span { display: block; height: .85em; line-height: .85; text-align: center; }
.clabel { margin-left: 20px; padding-bottom: .14em; color: var(--grey-600); font: 400 clamp(15px, 1.4vw, 18px)/1.3 var(--sans); white-space: pre-line; }
@media (min-width: 600px) { .counters { padding: 64px 0; } }
@media (min-width: 900px) { .counters { padding: 80px 0; } .counters-title { margin-bottom: 48px; } }
@media (min-width: 1200px) {
  .counters { padding: 120px 0; }
  .counters-grid { display: flex; justify-content: space-between; }
  .counters-title { flex: 0 0 50%; margin: 48px 0 0; padding-right: 24px; max-width: 676px; }
  .counter-list { flex: 0 0 50%; }
  .counter { padding: 96px 0 48px; }
}

/* ---------- 05 quotes ---------- */
.quotes { padding: 64px 0; overflow: hidden; --card: 82vw; --qh: 400px; --qp: 16px; --av: 100px; }
@media (min-width: 600px) { .quotes { padding: 80px 0; --card: 78.5vw; --qh: 426px; --qp: 23px; --av: 142px; } }
@media (min-width: 900px) { .quotes { padding: 120px 0; --qh: 573px; --qp: 40px; --av: 200px; } }
@media (min-width: 1200px) { .quotes { padding: 160px 0 120px; } }
@media (min-width: 1600px) { .quotes { --card: 1256px; } }
.q-viewport { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.q-track { display: flex; gap: 16px; transform: translateX(calc(var(--i, 0) * -1 * (var(--card) + 16px))); transition: transform 1s var(--ease-expo); }
.q-card { position: relative; flex: 0 0 var(--card); height: var(--qh); padding: var(--qp); border-radius: 12px; overflow: hidden; background: var(--tile); color: #000; transform: scale(.75); transform-origin: left bottom; transition: transform 1s var(--ease-expo), background-color .6s, color .6s; cursor: pointer; }
.q-card.is-before { transform-origin: right bottom; }
.q-card.is-active { transform: none; background: #000; color: #fff; cursor: auto; }
.q-track.no-trans, .q-track.no-trans * { transition: none !important; }
.q-avatar { position: absolute; top: var(--qp); left: var(--qp); width: var(--av); height: var(--av); border-radius: 12px; object-fit: cover; object-position: left top; background: var(--grey-600); opacity: 0; transform: translateX(-240px); transition: transform 1s var(--ease-expo), opacity .6s; }
.is-active .q-avatar { opacity: 1; transform: none; }
.q-who { position: absolute; top: calc(var(--qp) + var(--av) + 12px); left: var(--qp); right: var(--qp); }
.q-name { font-size: var(--fs-h5); }
.q-role { margin-top: 10px; color: var(--grey-500); font: 400 15px/1.32 var(--sans); }
.q-domain { position: absolute; top: var(--qp); right: var(--qp); display: none; color: var(--grey-500); font: 400 13px/1.32 var(--sans); }
.q-text { position: absolute; left: var(--qp); right: var(--qp); bottom: var(--qp); max-width: 97%; color: var(--ink-800); font: 300 var(--fs-quote)/1.1 var(--display); letter-spacing: var(--track); transition: color .6s; }
.is-active .q-text { color: #fff; }
@media (min-width: 600px) {
  .q-card { border-radius: 16px; }
  .q-card.is-active { background: #000 var(--grain); background-blend-mode: soft-light; }
  .q-avatar { border-radius: 17px; }
  .q-who { top: var(--qp); left: calc(var(--qp) + var(--av) + 16px); transition: transform 1s var(--ease-expo); }
  .q-card:not(.is-active) .q-who { transform: translateX(calc(-1 * (var(--av) + 16px))); }
  .q-domain { display: block; }
}
@media (min-width: 900px) { .q-avatar { border-radius: 12px; } }
html:not(.js) .q-viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
html:not(.js) .q-card { transform: none; scroll-snap-align: start; }
html:not(.js) .q-avatar { opacity: 1; transform: none; }
html:not(.js) .quotes .arrows { display: none; }

/* ---------- 06 manifesto ---------- */
.manifesto { padding: 64px 0; }
.manifesto-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mf-eyebrow { color: var(--grey-600); }
.mf-h { margin-top: 24px; font: 300 var(--fs-mf)/1.08 var(--display); letter-spacing: var(--track); }
.mf-words { display: grid; overflow: hidden; padding: 10px 0; margin: -10px 0; }
.mf-word { grid-area: 1 / 1; color: var(--c); transform: translateY(calc(100% + 10px)); }
.mf-word.is-in { transform: none; transition: transform .42s var(--ease-out) .41s; }
.mf-word.is-out { transform: translateY(calc(-100% - 10px)); transition: transform .42s cubic-bezier(.55, 0, 1, .45); }
.mf-art { width: min(440px, 100%); margin: 48px auto; }
.mf-paras { display: grid; max-width: 570px; }
.mf-p { grid-area: 1 / 1; color: var(--grey-600); font: 400 var(--fs-bodyM)/1.45 var(--serif); opacity: 0; transform: translateY(16px); }
.mf-p.is-in { opacity: 1; transform: none; transition: opacity .42s ease-out .41s, transform .42s var(--ease-out) .41s; }
.mf-p.is-out { opacity: 0; transform: translateY(-16px); transition: opacity .42s ease-in, transform .42s ease-in; }
.mf-pager { display: flex; gap: 18px; margin-top: 32px; }
.mf-pager button { position: relative; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(29, 29, 29, .15); border-radius: 50%; background: none; overflow: hidden; color: rgba(29, 29, 29, .55); font: 400 13px/1 var(--sans); cursor: pointer; }
.mf-pager button::before { content: ""; position: absolute; inset: 0; background: rgba(29, 29, 29, .1); transform: translateX(-101%); transition: transform .4s ease-out; }
.mf-pager button.is-active::before { transform: none; transition-delay: .2s; }
.mf-pager button.was-active::before { transform: translateX(101%); }
.mf-pager span { position: relative; }
html:not(.js) .mf-word:not(.is-in), html:not(.js) .mf-p:not(.is-in) { display: none; }
@media (min-width: 600px) { .manifesto { padding: 80px 0; } }
@media (min-width: 1200px) {
  .manifesto { position: relative; height: 100vh; min-height: 760px; padding: 0; }
  .manifesto-inner { position: relative; height: 100%; padding-bottom: 64px; display: block; text-align: left; }
  .mf-head { position: absolute; top: calc(50% - 32px); left: var(--gutter); right: var(--gutter); transform: translateY(-50%); }
  .mf-eyebrow { position: absolute; bottom: calc(100% + 24px); left: 0; }
  .mf-h { margin: 0; display: flex; justify-content: space-between; align-items: flex-end; }
  .mf-h .lr { flex: none; }
  .mf-words { justify-items: end; text-align: right; }
  .mf-art { position: absolute; top: calc(50% - 32px); left: 50%; width: clamp(240px, calc(100vw - 1000px), 460px); margin: 0; transform: translate(-50%, -50%); }
  .mf-paras { position: absolute; left: var(--gutter); bottom: 60px; }
  .mf-pager { position: absolute; right: var(--gutter); bottom: 60px; gap: 6px; margin: 0; }
}

/* ---------- 07 trust ---------- */
.dark { background: #000; color: #fff; }
.dark .eyebrow { color: var(--grey-400); }
.dark .muted { color: var(--grey-500); }
.trust { position: relative; overflow: hidden; }
.trust-bg { position: absolute; top: 24%; right: -30%; width: 140vw; max-width: none; opacity: .32; pointer-events: none; }
.trust::after { content: ""; position: absolute; inset: 0; background: var(--grain), linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, 0) 75%), linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 30%); background-blend-mode: overlay, normal, normal; pointer-events: none; }
.trust-inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; min-height: 100vh; max-width: 1600px; margin: 0 auto; padding: 80px var(--gutter); }
.trust .eyebrow { color: #fff; }
.trust-h { margin-top: 12px; }
.trust-row { display: flex; gap: 12px; align-items: flex-end; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.trust-row::-webkit-scrollbar { display: none; }
.t-card { position: relative; flex: 0 0 min(358px, calc(100vw - 32px)); min-height: 265px; padding: 86px 30px 30px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: rgba(29, 29, 29, .4); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); color: #fff; scroll-snap-align: start; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: flex-basis .8s var(--ease-out), background-color .4s ease-out, color .4s; }
.t-card.is-active { background: #fff; color: #000; cursor: auto; }
.t-ring { position: absolute; top: 30px; left: 30px; width: 32px; height: 32px; transform: rotate(-90deg); }
.t-ring circle { fill: none; stroke-width: 1; }
.t-ring-bg { stroke: rgba(255, 255, 255, .5); }
.t-ring-fg { stroke: transparent; stroke-dasharray: 94.25; stroke-dashoffset: 94.25; }
.is-active .t-ring-bg { stroke: rgba(0, 0, 0, .15); }
.is-active .t-ring-fg { stroke: #000; animation: tring 6s linear forwards; }
@keyframes tring { to { stroke-dashoffset: 0; } }
.is-paused .t-ring-fg { animation-play-state: paused !important; }
.t-num { position: absolute; top: 30px; left: 30px; width: 32px; height: 32px; display: grid; place-items: center; font: 400 12px/1 var(--sans); }
.t-title { margin-top: auto; font: 300 24px/1.15 var(--display); letter-spacing: -.035em; }
.t-body { display: none; }
.t-body p { margin-top: 8px; color: var(--grey-600); font: 400 15px/1.45 var(--serif); }
.t-body .t-tags { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--grey-200); color: var(--grey-500); font: 400 13px/1.32 var(--sans); }
.t-card.is-active .t-body { display: block; }
.t-card.is-active .t-title, .t-card.is-active .t-body { animation: tIn .4s ease-out both; }
.t-card:not(.is-active) .t-title { animation: fadeIn .25s ease-out both; }
@keyframes tIn { from { opacity: 0; transform: translate3d(0, 56px, 0); } }
.trust .arrows { margin-top: 16px; }
@media (min-width: 600px) {
  .t-card { flex-basis: 244px; min-height: 264px; }
  .t-card.is-active { flex-basis: 488px; }
  .trust-bg { width: min(1000px, 80vw); right: -6%; top: 50%; transform: translateY(-58%); opacity: .9; }
}
@media (min-width: 900px) {
  .trust-inner { padding: 160px var(--gutter); gap: 160px; }
  .trust-row { overflow: visible; margin-right: 0; padding-right: 0; }
}

/* ---------- 08 ontology (after wonderful.ai/ai-os) ---------- */
.ontology { padding-bottom: 96px; overflow: hidden; }
/* header: streaky field, square dot grid with accent squares, floating chips */
.ont-hero { position: relative; display: grid; place-items: center; min-height: 640px; padding: 96px 0; background: var(--grain), linear-gradient(168deg, transparent 20%, rgba(190, 196, 210, .32) 34%, transparent 46%), linear-gradient(176deg, transparent 40%, rgba(150, 160, 180, .22) 52%, transparent 62%), linear-gradient(#2a2c31, #000 85%); background-blend-mode: overlay, normal, normal, normal; }
.ont-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, .4) 0 2.5px, transparent 3px) 0 0 / 68px 68px, radial-gradient(var(--accent) 0 2.5px, transparent 3px) 34px 34px / 136px 136px; -webkit-mask-image: radial-gradient(75% 70% at 50% 50%, #000 40%, transparent); mask-image: radial-gradient(75% 70% at 50% 50%, #000 40%, transparent); opacity: .7; pointer-events: none; }
.ont-head { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.ont-head .lead-serif { max-width: 46ch; }
.ont-chip { position: absolute; left: var(--x); top: var(--y); z-index: 1; display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px 0 0; background: #fff; color: #000; font: 400 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; animation: chipFloat 6s ease-in-out infinite alternate; }
.ont-chip i { display: grid; place-items: center; width: 32px; height: 32px; background: #000; border: 1px solid #fff; }
.ont-chip i::after { content: ""; width: 8px; height: 8px; background: #fff; }
.ont-chip.is-r { padding: 0 0 0 12px; animation-delay: -3s; }
@keyframes chipFloat { to { transform: translateY(-10px); } }
/* platform stack card */
.stack-title { margin: 96px 0 40px; }
.stack-card { display: grid; gap: 32px; padding: 32px 20px; border-radius: 12px; overflow: hidden; background: var(--grain), linear-gradient(170deg, transparent 25%, rgba(255, 255, 255, .35) 40%, transparent 52%), linear-gradient(178deg, transparent 50%, rgba(220, 230, 255, .28) 64%, transparent 76%), linear-gradient(160deg, #8ea2cf, #3c4f80 55%, #1a2440); background-blend-mode: overlay, normal, normal, normal; }
.stack-frame { position: relative; padding: 28px 14px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; background: rgba(12, 16, 30, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.stack-pill { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 8px 18px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: #3d5590; color: #fff; font: 400 14px/1.2 var(--sans); white-space: nowrap; cursor: pointer; transition: background-color .3s, box-shadow .3s; }
.stack-rows { display: grid; gap: 8px; }
.stack-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stack-row { height: 52px; padding: 0 8px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 8px; background: rgba(255, 255, 255, .02); color: rgba(255, 255, 255, .6); font: 400 14px/1.2 var(--sans); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s; }
.stack-row:hover, .stack-pill:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
.stack-row.is-on { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); color: #fff; box-shadow: 0 0 24px rgba(160, 185, 255, .35), inset 0 -1px 0 rgba(255, 255, 255, .5); }
.stack-pill.is-on { background: #5a77c2; box-shadow: 0 0 28px rgba(160, 185, 255, .55); }
.stack-panels { display: grid; color: #fff; }
.stack-panel { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease-out); visibility: hidden; }
.stack-panel.is-on { opacity: 1; transform: none; visibility: visible; }
.stack-h { font: 300 clamp(26px, 2.6vw, 34px)/1.1 var(--display); letter-spacing: var(--track); }
.stack-panel p { max-width: 42ch; margin-top: 14px; color: rgba(255, 255, 255, .92); font: 400 17px/1.45 var(--sans); }
html:not(.js) .stack-panel { position: static; opacity: 1; visibility: visible; transform: none; grid-area: auto; margin-bottom: 20px; }
@media (min-width: 600px) { .stack-card { padding: 48px 40px; } .stack-frame { padding: 32px 20px 20px; } }
@media (min-width: 900px) {
  .ontology { padding-bottom: 160px; }
  .ont-hero { min-height: 760px; }
  .stack-title { margin: 160px 0 56px; }
  .stack-card { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 56px; padding: 72px 56px 56px; }
}
@media (prefers-reduced-motion: reduce) { .ont-chip { animation: none; } }

/* ---------- 09 ecosystem ---------- */
.ecosystem { position: relative; overflow: hidden; }
.eco-hero { position: relative; height: 100vh; min-height: 640px; }
.eco-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.6px); background-size: 56px 56px; background-position: center; -webkit-mask-image: radial-gradient(60% 50% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 50% at 50% 50%, #000, transparent); pointer-events: none; }
.eco-hero::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
.eco-arc { position: absolute; pointer-events: none; }
.eco-arc-h { display: none; }
.eco-arc-v { top: 50%; right: 35px; height: min(740px, 61%); width: auto; aspect-ratio: 506 / 1004; transform: translateY(-50%); }
.eco-orb { position: absolute; top: 50%; right: 21px; z-index: 1; width: 28px; height: 28px; border-radius: 9px; background: var(--accent); box-shadow: 0 0 2px var(--accent-dark), 0 0 24px rgba(45, 91, 255, .9); transform: translateY(-50%); }
.eco-orb::after { content: ""; position: absolute; inset: 6px; border-radius: 3px; background: #000; box-shadow: 0 0 13.7px rgba(91, 124, 255, .9); }
.eco-glow { position: absolute; left: 50%; top: 70%; width: 1400px; height: 1000px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(45, 91, 255, .32), rgba(45, 91, 255, 0)); pointer-events: none; }
.eco-content { position: absolute; top: 50%; left: var(--gutter); z-index: 1; width: min(300px, calc(100% - 2 * var(--gutter))); transform: translateY(-50%); }
.eco-content .h3 { margin-top: 24px; }
.eco-content .lead-serif { margin-top: 24px; color: var(--grey-400); }
.eco-content .btn { margin-top: 48px; }
@media (min-width: 600px) { .eco-content { width: min(420px, 62%); } }
@media (min-width: 900px) {
  .eco-arc-v { display: none; }
  .eco-arc-h { display: block; top: 117px; left: 50%; width: min(1004px, calc(100% - 88px)); height: auto; aspect-ratio: 1004 / 506; transform: translateX(-50%); }
  .eco-orb { top: 103px; right: auto; left: 50%; transform: translateX(-50%); }
  .eco-content { top: 282px; left: 50%; width: min(640px, calc(100% - 88px)); transform: translateX(-50%); text-align: center; }
  .eco-content .lead-serif { max-width: 560px; }
  .eco-content .lead-serif { margin-inline: auto; }
}
.eco-modules { position: relative; z-index: 1; padding-bottom: 64px; }
.eco-grid { display: grid; gap: 12px; }
.eco-group { padding: 30px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(29, 29, 29, .4); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.eco-group img { width: 48px; height: 48px; }
.eco-gh { margin-top: 20px; font: 300 24px/1.15 var(--display); letter-spacing: -.035em; }
.eco-group ul { margin-top: 16px; }
.eco-group li { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.eco-group strong { display: block; font: 500 15px/1.32 var(--sans); }
.eco-group strong a { text-decoration: none; }
.eco-group strong a:hover { text-decoration: underline; }
.eco-group li span { display: block; margin-top: 2px; color: var(--grey-500); font: 400 15px/1.4 var(--serif); }
@media (min-width: 600px) { .eco-grid { grid-template-columns: 1fr 1fr; } .eco-modules { padding-bottom: 80px; } }
@media (min-width: 900px) { .eco-modules { padding-bottom: 120px; } }
@media (min-width: 1200px) { .eco-grid { grid-template-columns: repeat(3, 1fr); } .eco-modules { padding-bottom: 160px; } }

/* ---------- 10 perspective ---------- */
.perspective { padding: 48px 0; }
.persp-head { text-align: center; }
.persp-head .h4 { max-width: 636px; margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.chip-filter { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--grey-600); font: 400 14px/21px var(--sans); cursor: pointer; transition: background-color .2s, color .2s; }
.chip-filter svg { width: 20px; height: 20px; }
.chip-filter.is-active { background: #fff; color: #000; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.chips { flex-wrap: nowrap; width: max-content; max-width: 100%; margin-inline: auto; padding: 4px; border-radius: 999px; background: var(--tile); }
@media (max-width: 599.98px) { .chip-filter { gap: 6px; padding: 8px 12px; font-size: 13px; } .chip-filter svg { width: 16px; height: 16px; } }
.persp-grid { display: grid; gap: 48px 24px; margin-top: 64px; }
.pc[hidden] { display: none; }
.pc a { display: flex; flex-direction: column; color: #000; text-decoration: none; }
.pc-img { display: block; aspect-ratio: 16 / 9.6; overflow: hidden; border-radius: 12px; background: var(--tile); }
.pc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease-out); }
.pc a:hover .pc-img img { transform: scale(1.03); }
.pc-meta { margin-top: 16px; color: var(--grey-500); font: 400 13px/1.32 var(--sans); }
.pc-title { margin-top: 8px; max-width: 95%; font: 300 22px/1.2 var(--display); letter-spacing: -.035em; }
.pc a:hover .pc-title { text-decoration: underline; }
.pc-sum { margin-top: 8px; color: var(--grey-600); font: 400 15px/1.45 var(--serif); }
.perspective .center { margin-top: 48px; }
@media (min-width: 600px) { .perspective { padding: 64px 0; } .chip-filter { font-size: 16px; line-height: 24px; } .persp-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .perspective { padding: 80px 0; } }
@media (min-width: 1200px) { .perspective { padding: 96px 0; } .persp-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 11 CTA ---------- */
.cta-wrap { padding-inline: 0; }
.cta-card { position: relative; overflow: hidden; padding: 120px var(--gutter); color: #fff; background: var(--grain), linear-gradient(170deg, rgba(255, 255, 255, 0) 30%, rgba(200, 205, 215, .32) 46%, rgba(255, 255, 255, 0) 58%), linear-gradient(185deg, rgba(255, 255, 255, 0) 52%, rgba(160, 170, 190, .26) 64%, rgba(255, 255, 255, 0) 76%), radial-gradient(90% 70% at 50% 120%, rgba(45, 91, 255, .45), rgba(45, 91, 255, 0) 70%), #0a0a0b; background-blend-mode: overlay, normal, normal, normal, normal; }
.cta-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .28) 1.2px, transparent 1.6px); background-size: 56px 56px; background-position: center; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 72%); }
.cta-content { position: relative; max-width: 900px; margin: 0 auto; }
.cta-h { font-family: var(--display); font-weight: 300; }
.cta-muted { display: block; color: rgba(240, 240, 240, .55); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.cta-links { display: flex; flex-wrap: wrap; gap: 0 8px; margin-top: 40px; opacity: .8; }
.cta-links a { display: inline-block; padding: 12px 6px; font: 400 14px/1.32 var(--sans); text-decoration: none; }
.cta-links a:hover { text-decoration: underline; }
@media (min-width: 600px) {
  .cta-wrap { padding-inline: var(--gutter); }
  .cta-card { border-radius: 16px; }
  .cta-content { text-align: center; }
  .cta-actions, .cta-links { justify-content: center; }
}
@media (min-width: 1200px) { .cta-card { padding: 190px 24px; } }

/* ---------- 12 footer ---------- */
.site-footer { margin-top: 96px; padding-top: 80px; }
.f-top { display: grid; gap: 56px; }
.f-brand img { width: 110px; height: auto; }
.f-brand p { max-width: 24ch; margin: 16px 0 24px; color: var(--grey-400); font: 400 15px/1.45 var(--sans); }
.f-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 16px; }
.f-h { color: var(--grey-500); font: 400 13px/24px var(--sans); }
.f-col ul { margin-top: 8px; }
.f-col a { display: inline-flex; align-items: center; min-height: 40px; color: #fafafa; font: 400 15px/1.3 var(--sans); text-decoration: none; transition: color .2s; }
.f-col a:hover { color: var(--grey-400); }
.f-col .ic-ext { margin-left: 4px; color: var(--grey-600); }
.f-bar { display: flex; flex-direction: column; gap: 12px; margin-top: 80px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); color: var(--grey-500); font: 400 13px/1.5 var(--sans); }
.f-top-link { align-self: flex-start; padding: 10px 0; color: var(--grey-500); text-decoration: none; }
.f-top-link:hover { color: #fff; }
@media (min-width: 900px) {
  .f-top { grid-template-columns: 1fr 2fr; }
  .f-cols { grid-template-columns: repeat(4, 1fr); }
  .f-bar { flex-direction: row; justify-content: space-between; }
}

/* ---------- blog ---------- */
.blog { display: flex; flex-direction: column; min-height: 100vh; padding-top: var(--nav-h); }
.blog main { flex: 1 0 auto; width: 100%; }
.blog-wrap { max-width: 760px; margin: 0 auto; padding: 72px var(--gutter) 0; }
.blog-title { margin-top: 16px; font: 300 clamp(40px, 7vw, 76px)/1.02 var(--display); letter-spacing: var(--track); }
.blog-list { margin-top: 56px; border-top: 1px solid var(--hair); }
.blog-list li { border-bottom: 1px solid var(--hair); }
.blog-list li > a { display: grid; gap: 8px; padding: 28px 0 16px; text-decoration: none; }
.blog-list li > a:hover .bl-title { color: var(--accent); }
.bl-meta, .post-meta { color: var(--grey-500); font: 400 14px/1.4 var(--sans); }
.bl-title { font: 300 clamp(26px, 3.4vw, 36px)/1.1 var(--display); letter-spacing: -.03em; transition: color .2s; }
.bl-desc { color: var(--grey-600); font-size: 16px; }
.bl-lang { display: flex; gap: 8px; padding-bottom: 28px; }
.bl-lang .chip { text-decoration: none; }
.bl-lang .chip:hover { border-color: var(--grey-400); color: var(--ink); }
.post-title { margin-top: 16px; font: 300 clamp(38px, 6.4vw, 68px)/1.04 var(--display); letter-spacing: var(--track); }
.post-lead { margin-top: 24px; color: var(--grey-600); font: 400 clamp(18px, 2vw, 21px)/1.5 var(--sans); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 28px; }
.post-meta a { color: var(--ink); }
.post-hero { max-width: 1120px; margin: 56px auto 0; padding-inline: var(--gutter); }
.post-hero img { width: 100%; border-radius: 12px; }
.post-body { font-size: 18px; line-height: 1.7; }
.post-body > * + * { margin-top: 22px; }
.post-body h2 { margin-top: 64px; font: 300 clamp(28px, 3.4vw, 38px)/1.12 var(--display); letter-spacing: -.035em; }
.post-body h3 { margin-top: 36px; font: 500 19px/1.4 var(--sans); }
.post-body ul, .post-body ol { padding-left: 22px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: 8px; }
.post-body a { color: var(--accent); }
.post-body code { padding: 1px 6px; border-radius: 4px; background: var(--grey-100); font: 400 .88em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.post-body pre { overflow-x: auto; padding: 20px 22px; border-radius: 12px; background: #0b0d14; color: #e8e8f0; font: 400 15px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.post-body pre code { padding: 0; background: none; font: inherit; }
.post-body blockquote { padding-left: 20px; border-left: 2px solid var(--accent); color: var(--grey-600); font-style: italic; }
.post-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 36px; }
.post-stats div { padding: 20px; border-radius: 12px; background: var(--tile); }
.post-stats b { display: block; font: 300 clamp(30px, 4vw, 40px)/1 var(--display); letter-spacing: -.03em; }
.post-stats span { display: block; margin-top: 10px; color: var(--grey-600); font-size: 14px; line-height: 1.4; }
.post-table { overflow-x: auto; }
.post-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.post-table th, .post-table td { padding: 12px 10px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.post-table th { color: var(--grey-500); font-weight: 400; }
.post-table td:last-child, .post-table th:last-child { text-align: right; white-space: nowrap; }
.post-note { color: var(--grey-500); font-size: 14px; line-height: 1.5; }
.blog .site-footer { padding-top: 0; }
.blog .f-bar { margin-top: 0; }
.post-cta { margin-top: 72px; padding: 36px 28px; border-radius: 16px; background: #000; color: #fff; }
.post-cta p { color: var(--grey-400); font-size: 16px; }
.post-cta .btn { margin-top: 20px; }
@media (min-width: 900px) { .post-stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .lr > span, .js .rv { opacity: 1; transform: none; }
  .t-ring-fg { animation: none !important; }
}
