:root {
  --ink: #16191b;
  --night: #14181a;
  --night-2: #1b2023;
  --line-dark: #262e31;
  --sand: #f2f0ea;
  --sand-2: #e7e3d9;
  --line: #d6d3ca;
  --muted: #5f666a;
  --muted-dark: #aeb5b9;
  --soft: #d5dadc;
  --pale: #c9cfd2;
  --lime: #30ff93;
  --green: #0ea55e;
  --green-text: #0a7442;
  --white: #ffffff;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 4.5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Outfit, system-ui, sans-serif; background: var(--sand); color: var(--ink); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input::placeholder, textarea::placeholder { color: #9aa0a3; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.bg-sand :focus-visible, .bg-sand-2 :focus-visible, .form-card :focus-visible { outline-color: var(--green); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-text); }
.dark .eyebrow { color: var(--lime); }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.dark .label { color: var(--muted-dark); }
.num { font-family: var(--mono); font-size: 13px; color: var(--green-text); }
.dark .num { color: var(--lime); }

.h { font-weight: 600; margin: 0; text-wrap: balance; color: var(--ink); }
.dark .h { color: var(--white); }
.h-76 { font-size: clamp(44px, 6.2vw, 76px); letter-spacing: -0.045em; line-height: 0.98; }
.h-72 { font-size: clamp(42px, 6vw, 72px); letter-spacing: -0.045em; line-height: 1; }
.h-68 { font-size: clamp(44px, 6vw, 68px); letter-spacing: -0.04em; line-height: 1; }
.h-66 { font-size: clamp(40px, 5.6vw, 66px); letter-spacing: -0.045em; line-height: 1; }
.h-56 { font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -0.035em; line-height: 1.04; }
.h-52 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.035em; line-height: 1.04; }
.h-48 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.035em; line-height: 1.04; }
.h-44 { font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -0.035em; line-height: 1.04; }
.h-36 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.025em; line-height: 1.06; }
.h-34 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -0.025em; line-height: 1.08; }
.h-32 { font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -0.02em; line-height: 1.12; }
.h-24 { font-size: 24px; letter-spacing: -0.015em; line-height: 1.15; }
.h-23 { font-size: 23px; letter-spacing: -0.015em; line-height: 1.15; }
.h-21 { font-size: 21px; letter-spacing: -0.01em; line-height: 1.2; }

.p { margin: 0; font-weight: 300; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.dark .p { color: var(--muted-dark); }
.p-20 { font-size: clamp(18px, 1.6vw, 20px); }
.p-18 { font-size: 18px; }
.p-17 { font-size: 17px; }
.p-16 { font-size: 16px; }
.p-15 { font-size: 15px; }

.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-10 { gap: 10px; } .gap-12 { gap: 12px; } .gap-14 { gap: 14px; } .gap-16 { gap: 16px; }
.gap-20 { gap: 20px; } .gap-22 { gap: 22px; } .gap-26 { gap: 26px; } .gap-28 { gap: 28px; }

/* ---------- Surfaces ---------- */
.bg-sand { background: var(--sand); }
.bg-sand-2 { background: var(--sand-2); }
.dark { background: var(--night); color: var(--white); }
.routes { position: relative; overflow: hidden; }
.routes::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url(assets/routes-green.svg) no-repeat; background-size: var(--rs, 2600px) auto; background-position: var(--rp, -1200px -300px); opacity: var(--ro, 0.1); }
.routes > * { position: relative; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; padding: 16px 26px; line-height: 1.2; white-space: nowrap; transition: opacity 0.15s, background 0.15s; }
.btn .arrow { font-size: 17px; }
.btn--lime { background: var(--lime); color: var(--night); }
.btn--lime:hover { opacity: 0.88; }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { opacity: 0.88; }
.btn--ghost { color: var(--white); font-weight: 500; padding: 15px 25px; border: 1px solid rgba(255, 255, 255, 0.5); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--sm { font-size: 14px; padding: 12px 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.link-arrow { font-size: 16px; font-weight: 600; color: var(--green-text); }
.link-arrow:hover { color: var(--ink); }

.check { flex-shrink: 0; margin-top: 3px; }

/* ---------- Header ---------- */
.site-header { z-index: 30; border-bottom: 1px solid var(--line-dark); background: var(--night); color: var(--white); }
.site-header--sticky { position: sticky; top: 0; }
.site-header--overlay { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom-color: rgba(255, 255, 255, 0.14); }
.header-bar { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); height: 84px; }
.logo img { height: 30px; width: auto; }
.main-nav { display: flex; align-items: stretch; align-self: stretch; gap: clamp(16px, 2.2vw, 32px); font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav-item { display: flex; align-items: center; }
.nav-link { display: flex; align-items: center; gap: 6px; transition: color 0.15s; }
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link[aria-current="page"] { color: var(--lime); }
.caret { font-size: 10px; opacity: 0.7; }
.header-spacer { flex: 1; }
.nav-login { font-size: 15px; font-weight: 500; color: var(--muted-dark); }
.nav-login:hover { color: var(--white); }

.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--night); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35); }
.nav-item:hover > .mega, .nav-item:focus-within > .mega, .nav-item.is-open > .mega { display: block; }
.nav-item.is-closed > .mega { display: none; }
.mega-inner { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 36px 0 40px; white-space: normal; }
.mega-title { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.mega-link { color: var(--lime); font-size: 15px; font-weight: 600; margin-top: 6px; }
.mega-mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.mega-mod { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.mega-mod:hover, .mega-seg:hover { background: var(--night-2); }
.mega-mod .n { font-family: var(--mono); font-size: 12px; color: var(--lime); }
.mega-mod .t { font-size: 16px; font-weight: 600; }
.mega-mod .d, .mega-seg .d { font-size: 13px; font-weight: 300; line-height: 1.4; color: var(--muted-dark); }
.mega-segs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mega-seg { display: flex; gap: 16px; padding: 12px; }
.mega-seg img { width: 96px; height: 72px; object-fit: cover; flex-shrink: 0; }
.mega-seg .t { font-size: 17px; font-weight: 600; }

.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 22px; height: 2px; background: var(--white); position: relative; transition: transform 0.2s, background 0.2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- Common blocks ---------- */
.section { padding: 120px 0; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; }
.split-head > .p { max-width: 440px; }
.spacer-48 { height: 48px; } .spacer-52 { height: 52px; } .spacer-56 { height: 56px; } .spacer-64 { height: 64px; }

.grid { display: grid; }
.grid > *, .tabs > *, .hero-split > *, .inner > * { min-width: 0; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gap-24 { gap: 24px; }


/* Ruled columns (facts strip, difference, vision) */
.ruled > * { padding-left: var(--rule-pad, 24px); padding-right: var(--rule-pad, 24px); border-left: 1px solid var(--line-dark); }
.ruled > :first-child { padding-left: 0; border-left: 0; }

/* Closing CTA */
.cta { --rs: 2400px; --rp: -300px -700px; --ro: 0.28; padding: 140px 0; text-align: center; }
.cta .inner { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.cta .h { font-size: clamp(38px, 5.2vw, 76px); letter-spacing: -0.04em; line-height: 1.04; }
.cta .h span { color: var(--lime); }
.cta .p { font-size: 19px; max-width: 640px; }
.cta .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--night); color: var(--white); border-top: 1px solid var(--line-dark); padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1.2fr 1fr 1fr 1fr; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-col a:hover { color: var(--lime); }
.footer-brand { gap: 20px; }
.footer-brand img { height: 30px; width: auto; align-self: flex-start; }
.footer-email { font-family: var(--mono); font-size: 14px; color: var(--lime); }
.footer-offices { font-size: 14px; color: var(--muted-dark); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--muted-dark); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Home ---------- */
.home-hero { position: relative; min-height: 860px; display: flow-root; }
.home-hero .media { position: absolute; inset: 0; overflow: hidden; }
.home-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 26, 0.55) 0%, rgba(20, 24, 26, 0.62) 55%, rgba(20, 24, 26, 0.96) 100%); }
.home-hero .copy { padding-top: 300px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.home-hero .h { display: flex; flex-direction: column; align-items: center; }
.hero-word { color: var(--lime); transition: opacity 0.35s ease; }
.hero-word.is-fading { opacity: 0; }
.home-hero .p { color: var(--soft); max-width: 580px; }
.home-hero .btn-row { justify-content: center; }
.facts { margin-top: 120px; border-top: 4px solid var(--lime); }
.facts > div { padding-top: 24px; padding-bottom: 28px; border-left-color: rgba(255, 255, 255, 0.14); }
.facts .v { font-size: 19px; font-weight: 600; }

.logos { padding: 72px 0; }
.logos .inner { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: center; }
.logos .label { font-size: 13px; letter-spacing: 0.14em; line-height: 1.6; }
.logo-row { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.logo-row img { height: 34px; width: auto; }

.ba { padding: 40px 0 120px; }
.ba-card { padding: 44px; display: flex; flex-direction: column; gap: 18px; }
.ba-card--before { background: var(--sand-2); }
.ba-card--after { background: var(--white); border-top: 6px solid var(--green); padding-top: 38px; }
.ba-card .tag { display: flex; gap: 12px; }
.ba-card--before .eyebrow, .ba-card--before .h { color: var(--muted); }
.ba-card .h { font-weight: 500; }
.ba-card .p { max-width: 460px; }
.ba-card img { width: 100%; height: auto; max-width: 520px; margin: auto auto 0; padding-top: 12px; }
.ba-card--before img { filter: grayscale(1); }

.platform-tabs { padding: 0 0 130px; }
.tabs { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: stretch; }
.tab-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tab { display: flex; align-items: center; gap: 18px; padding: 20px; border-bottom: 1px solid var(--line); text-align: left; width: 100%; }
.tab .n { font-family: var(--mono); font-size: 13px; color: var(--green-text); }
.tab .t { flex: 1; font-size: 19px; font-weight: 500; }
.tab .a { font-size: 17px; color: var(--green-text); }
.tab:hover { background: var(--sand-2); }
.tab[aria-selected="true"] { background: var(--night); color: var(--white); }
.tab[aria-selected="true"] .n, .tab[aria-selected="true"] .a { color: var(--lime); }
.tab[aria-selected="true"] .t { font-weight: 600; }
.tab-panel { background: var(--white); border: 1px solid var(--line); padding: 44px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; }
.tab-panel[hidden] { display: none; }
.tab-panel img { width: 100%; height: 460px; object-fit: contain; }
.points { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 0; padding: 0; list-style: none; }
.points li { display: flex; gap: 12px; font-size: 16px; }
.dark .points li { color: var(--white); }

.difference { --rp: -1200px -300px; padding: 120px 0; }
.difference .cols { border-top: 1px solid var(--line-dark); --rule-pad: 28px; }
.difference .cols > div { padding-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.difference .cols .h { font-size: 23px; letter-spacing: -0.015em; line-height: 1.15; }

.segments { padding: 130px 0; }
.seg-card { position: relative; height: 540px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: var(--night); transition: opacity 0.15s; }
.seg-card:hover { opacity: 0.94; }
.seg-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seg-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 26, 0) 30%, rgba(20, 24, 26, 0.94) 100%); }
.seg-card .body { position: relative; z-index: 1; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.seg-card .row { display: flex; justify-content: space-between; align-items: baseline; }
.seg-card .h { color: var(--white); font-size: 32px; letter-spacing: -0.02em; }
.seg-card .a { font-size: 22px; color: var(--lime); }
.seg-card .p { font-size: 16px; line-height: 1.45; color: var(--pale); }

.change { padding: 0 0 130px; }
.change .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.change .intro img { width: 100%; height: 320px; object-fit: cover; margin-top: 12px; }
.step { background: var(--white); border: 1px solid var(--line); padding: 32px; display: grid; grid-template-columns: 56px 1fr; gap: 20px; }
.step-n { width: 44px; height: 44px; background: var(--night); color: var(--lime); font-family: var(--mono); font-size: 15px; font-weight: 500; display: flex; align-items: center; justify-content: center; }

.faq { padding: 120px 0; }
.faq .inner { display: grid; grid-template-columns: 1fr 1.7fr; gap: 80px; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 24px; font-size: 19px; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--green-text); }
.faq-item[open] summary::after { content: "−"; }
.faq-item .p { padding: 0 60px 26px 0; line-height: 1.55; }

/* ---------- Inner page heroes ---------- */
.page-hero { --rs: 2800px; --rp: -900px -500px; --ro: 0.16; padding: 120px 0 110px; }
.page-hero .copy { max-width: 820px; }
.page-hero .p { max-width: 600px; }
.hero-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.hero-split--about { grid-template-columns: 1fr 1.05fr; }

/* Platform */
.mod-list { border-top: 2px solid var(--ink); }
.mod-row { display: grid; grid-template-columns: 72px 1fr 1.3fr 150px 32px; gap: 28px; align-items: center; padding: 28px 16px 28px 0; border-bottom: 1px solid var(--line); transition: background 0.15s; }
.mod-row:hover { background: var(--sand-2); }
.mod-row .num { font-size: 14px; font-weight: 500; padding-left: 8px; }
.mod-row .h { font-size: 28px; letter-spacing: -0.02em; }
.mod-row img { width: 150px; height: 84px; object-fit: contain; background: var(--sand-2); }
.mod-row .a { font-size: 22px; text-align: right; }
.included { --rp: -1300px -200px; }
.included .inner { display: grid; grid-template-columns: 1fr 1.8fr; gap: 80px; }
.included .items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.included .item { display: flex; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line-dark); }
.included .item .t { font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: 0.03em; }
.fit-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.fit-card .h { font-size: 26px; letter-spacing: -0.02em; }

/* Module */
.mod-hero { --rs: 2800px; --rp: -900px -500px; --ro: 0.14; padding: 100px 0 110px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }
.crumbs a:hover { color: var(--white); }
.crumbs .here { color: var(--lime); }
.mod-hero img { width: 100%; height: 480px; object-fit: contain; background: var(--night-2); border: 1px solid var(--line-dark); }
.benefits { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.benefit { background: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.feature { display: flex; background: var(--white); border: 1px solid var(--line); }
.feature:nth-child(even) { flex-direction: row-reverse; }
.feature .text { flex: 1; padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.feature .text .p { line-height: 1.55; max-width: 460px; }
.feature .visual { flex: 1.1; background: var(--sand-2); padding: 32px; }
.feature .visual img { width: 100%; height: 360px; object-fit: contain; }
.feature--text .text .p { max-width: 760px; }
.feature--text .modes { max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 12px; }
.modes { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.modes li { border-left: 3px solid var(--green); padding-left: 14px; font-size: 16px; font-weight: 300; line-height: 1.5; color: var(--muted); }
.modes b { font-weight: 600; color: var(--ink); }
.pager { padding: 56px 0; }
.pager a { padding: 28px 32px; display: flex; flex-direction: column; gap: 8px; }
.pager .prev { background: var(--white); border: 1px solid var(--line); }
.pager .prev:hover { border-color: var(--ink); }
.pager .next { background: var(--night); color: var(--white); align-items: flex-end; text-align: right; }
.pager .next:hover { opacity: 0.92; }
.pager .next .eyebrow { color: var(--lime); }
.pager .prev .eyebrow { color: var(--muted); }
.pager .h { font-size: 24px; }

/* Solutions */
.seg-hero { padding: 150px 0 120px; }
.seg-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seg-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 24, 26, 0.95) 0%, rgba(20, 24, 26, 0.8) 45%, rgba(20, 24, 26, 0.3) 100%); }
.seg-hero .container { z-index: 1; }
.seg-hero .copy { max-width: 780px; }
.seg-hero .p { color: var(--soft); max-width: 620px; }
.results { border-top: 2px solid var(--ink); }
.results > div { padding: 32px 32px 0 0; display: flex; flex-direction: column; gap: 14px; }
.results .big { font-size: 44px; font-weight: 300; letter-spacing: -0.03em; color: var(--green-text); }
.help-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color 0.15s; }
.help-card:hover { border-color: var(--ink); }
.help-card img { width: 100%; height: 240px; object-fit: contain; background: var(--sand-2); }
.help-card .body { padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.also .label { margin-right: 8px; }
.chip { font-size: 14px; font-weight: 500; padding: 9px 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
a.chip:hover { border-color: var(--ink); }
.roles-sec { --rp: -400px -900px; }
.roles { gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.role { background: var(--night); display: flex; flex-direction: column; }
.role img { width: 100%; height: 220px; object-fit: cover; }
.role .body { padding: 26px; display: flex; flex-direction: column; gap: 10px; }

/* About */
.story .inner, .two-col-head { display: grid; grid-template-columns: 1fr 1.8fr; gap: 80px; }
.story-row { display: grid; grid-template-columns: 160px 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); }
.story-row .k { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.vision { --rp: -1200px -600px; }
.vision .cols { border-top: 1px solid var(--line-dark); --rule-pad: 36px; }
.vision .cols > div { padding-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.vision .k { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; }
.careers .inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.careers img, .about-hero img { width: 100%; height: 440px; object-fit: cover; }
.about-hero img { height: 460px; }

/* Book a demo */
.demo { --rs: 2800px; --rp: -700px -300px; --ro: 0.14; padding: 100px 0 120px; }
.demo .inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.demo .intro { padding-top: 20px; }
.demo .rule { height: 1px; background: var(--line-dark); margin-top: 16px; }
.demo .mono-val { font-family: var(--mono); font-size: 17px; color: var(--lime); }
.form-card { background: var(--white); color: var(--ink); padding: 48px; }
.form-card .label { color: var(--muted); }
.form-card .h { color: var(--ink); }
.form-card .p { color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field .label { letter-spacing: 0.12em; }
.input { font: inherit; font-size: 16px; color: var(--ink); background: var(--sand); border: 1px solid var(--line); padding: 14px 16px; outline: none; border-radius: 0; width: 100%; }
.input:focus { border-color: var(--green); }
textarea.input { resize: vertical; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; border: 0; margin: 0; padding: 0; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 10px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-opt span { display: block; cursor: pointer; font-size: 14px; font-weight: 500; padding: 10px 16px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.chip-opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.form .submit { justify-content: space-between; padding: 18px 26px; }
.form .small { font-size: 13px; color: var(--muted); }
.form .small a { text-decoration: underline; }
.form-error { font-size: 14px; color: #b42318; }
.sent { min-height: 520px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }

/* News */
.event { --rs: 2400px; --rp: -1000px -500px; --ro: 0.14; display: grid; grid-template-columns: 1.3fr 1fr; }
.event .text { padding: 56px; display: flex; flex-direction: column; gap: 22px; }
.event .h { font-size: clamp(36px, 4.4vw, 52px); letter-spacing: -0.04em; line-height: 1; }
.event .h span { color: var(--lime); }
.tags { display: flex; gap: 12px; align-items: center; }
.tag-solid { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; background: var(--lime); color: var(--night); padding: 6px 10px; }
.event-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; border-top: 1px solid var(--line-dark); margin-top: 8px; --rule-pad: 32px; }
.event-facts > div { padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.event-facts .v { font-size: 22px; font-weight: 600; }
.event .badge { display: flex; align-items: center; justify-content: center; padding: 56px; }
.event .badge > div { background: var(--white); padding: 28px 32px; }
.event .badge .crop { width: 260px; height: 118px; overflow: hidden; }
.event .badge img { width: 260px; height: auto; margin-top: -69px; max-width: none; }

/* Legal / 404 */
.prose { max-width: 820px; font-size: 17px; font-weight: 300; line-height: 1.6; color: var(--muted); }
.prose h1 { display: none; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; margin: 48px 0 12px; scroll-margin-top: 110px; }
.prose h2 { font-size: 28px; } .prose h3 { font-size: 22px; } .prose h4 { font-size: 19px; }
.prose [id] { scroll-margin-top: 110px; }
.prose b, .prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--green-text); text-decoration: underline; }
.prose li { margin: 6px 0; }
.prose code { font-family: var(--mono); font-size: 0.88em; overflow-wrap: anywhere; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 10px; vertical-align: top; text-align: left; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .mega-mods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .roles.cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .main-nav, .nav-login, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--night); border-top: 1px solid var(--line-dark); max-height: calc(100vh - 84px); overflow-y: auto; padding: 8px var(--gutter) 32px; }
  .nav-open .mobile-menu { display: block; }
  .site-header--overlay.nav-open { background: var(--night); }
  .mobile-menu .group { padding: 18px 0; border-bottom: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 12px; }
  .mobile-menu .group > a { font-size: 18px; font-weight: 500; }
  .mobile-menu .sub { display: flex; flex-direction: column; gap: 10px; padding-left: 2px; }
  .mobile-menu .sub a { font-size: 15px; color: var(--muted-dark); padding: 4px 0; }
  .mobile-menu .sub a:hover, .mobile-menu .group > a:hover { color: var(--lime); }
  .mobile-menu .btn-row { margin-top: 24px; }

  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ruled.cols-4 > :nth-child(odd) { padding-left: 0; border-left: 0; }
  .ruled.cols-4 > :nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .difference .cols.cols-4 > :nth-child(n+3) { border-top-color: var(--line-dark); margin-top: 36px; }
  .tabs { grid-template-columns: 1fr; }
  .tab-list { flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; width: auto; border-bottom: 0; padding: 14px 18px; }
  .tab .a { display: none; }
  .tab .t { font-size: 16px; white-space: nowrap; }
  .tab-panel { grid-template-columns: 1fr; padding: 32px; }
  .tab-panel img { height: 340px; }
  .change .inner, .faq .inner, .included .inner, .story .inner, .two-col-head, .careers .inner, .demo .inner, .hero-split { grid-template-columns: 1fr; gap: 48px; }
  .logos .inner { grid-template-columns: 1fr; gap: 28px; }
  .mod-row { grid-template-columns: 56px 1fr 120px 24px; }
  .mod-row .p { display: none; }
  .mod-row img { width: 120px; height: 68px; }
  .event { grid-template-columns: 1fr; }
  .event .badge { padding: 0 56px 56px; justify-content: flex-start; }
  .seg-card { height: 440px; }
  .feature, .feature:nth-child(even) { flex-direction: column; }
  .feature .text { padding: 40px; }
  .feature .visual img { height: 300px; }
}

@media (max-width: 760px) {
  .section, .difference, .segments, .faq, .page-hero, .demo { padding: 80px 0; }
  .platform-tabs, .change { padding-bottom: 80px; }
  .ba { padding: 24px 0 80px; }
  .cta { padding: 96px 0; }
  .split-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cols-2, .cols-3, .cols-4, .cols-5, .roles.cols-5, .included .items, .footer-grid { grid-template-columns: 1fr; }
  .ruled > *, .ruled.cols-4 > * { padding-left: 0; padding-right: 0; border-left: 0; }
  .ruled > * + *, .ruled.cols-4 > * + * { border-top: 1px solid var(--line-dark); margin-top: 0; }
  .facts > * + * { border-top-color: rgba(255, 255, 255, 0.14) !important; }
  .difference .cols > div, .vision .cols > div { padding-bottom: 32px; }
  .home-hero { min-height: 0; }
  .home-hero .copy { padding-top: 180px; }
  .facts { margin-top: 80px; }
  .ba-card { padding: 32px 24px; }
  .step { grid-template-columns: 1fr; padding: 24px; gap: 16px; }
  .faq-item .p { padding-right: 0; }
  .mod-row { grid-template-columns: 44px 1fr 24px; gap: 16px; padding: 22px 0; }
  .mod-row img { display: none; }
  .mod-row .num { padding-left: 0; }
  .mod-row .h { font-size: 22px; }
  .mod-hero { padding: 64px 0 80px; }
  .mod-hero img { height: 300px; }
  .seg-hero { padding: 120px 0 80px; }
  .seg-hero::after { background: rgba(20, 24, 26, 0.82); }
  .results > div { padding-right: 0; padding-bottom: 8px; }
  .feature .text { padding: 28px 24px; }
  .feature--text .modes { grid-template-columns: 1fr; gap: 12px; }
  .feature .visual { padding: 20px; }
  .feature .visual img { height: 240px; }
  .benefit { padding: 26px 24px; }
  .story-row { grid-template-columns: 1fr; gap: 12px; }
  .careers img, .about-hero img { height: 300px; }
  .form-card { padding: 28px 20px; }
  .form .grid.cols-2 { gap: 22px; }
  .event .text { padding: 36px 24px; }
  .event-facts { grid-template-columns: 1fr; }
  .event-facts > * + * { border-top: 1px solid var(--line-dark); padding-bottom: 4px; }
  .event .badge { padding: 0 24px 36px; }
  .tab-panel { padding: 24px; }
  .pager a { padding: 22px 24px; }
}

/* Phone refinements */
@media (max-width: 760px) {
  .btn-row > .btn { flex: 1 1 auto; justify-content: center; }
  .home-hero .copy { padding-top: 140px; gap: 22px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 64px; }
  .facts > * { border-top: 0 !important; padding: 18px 12px 20px 0 !important; }
  .facts > :nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.14) !important; }
  .facts .v { font-size: 16px; }
  .logo-row { gap: 28px 32px; }
  .logo-row img { height: 28px; }
  .ba-card img { max-width: 300px; }
  .tab-list { -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
  .tab-panel img { height: 220px; }
  .seg-card { height: 380px; }
  .seg-card::after { background: linear-gradient(180deg, rgba(20, 24, 26, 0.1) 0%, rgba(20, 24, 26, 0.6) 40%, rgba(20, 24, 26, 0.96) 75%); }
  .seg-card .body { padding: 24px; }
  .seg-card .h { font-size: 28px; }
  .change .intro img { height: 220px; }
  .step { grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
  .step-n { width: 36px; height: 36px; font-size: 13px; }
  .step .h { font-size: 20px; }
  .faq-item summary { font-size: 17px; padding: 20px 0; }
  .mod-row { gap: 6px 16px; }
  .mod-row .num { grid-column: 1; grid-row: 1 / span 2; align-self: start; padding-top: 6px; }
  .mod-row .h { grid-column: 2; grid-row: 1; }
  .mod-row .p { display: block; grid-column: 2; grid-row: 2; font-size: 15px; }
  .mod-row .a { grid-column: 3; grid-row: 1 / span 2; }
  .included .item { padding: 20px 0; }
  .fit-card { padding: 28px 24px; }
  .fit-card .h { font-size: 22px; }
  .feature .visual img { height: auto; max-height: 280px; margin: 0 auto; }
  .pager .grid { gap: 12px; }
  .pager .h { font-size: 20px; }
  .results .big { font-size: 34px; }
  .help-card img { height: 200px; }
  .help-card .body { padding: 24px; }
  .also .label { width: 100%; margin: 0 0 4px; }
  .role { display: grid; grid-template-columns: 112px 1fr; }
  .role img { width: 100%; height: 100%; min-height: 136px; object-position: top; }
  .role .body { padding: 18px 20px; gap: 6px; }
  .role .h { font-size: 18px; }
  .story-row .k { font-size: 24px; }
  .vision .k { font-size: 32px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom nav { gap: 12px 20px; }
  .event-facts { display: flex; flex-wrap: wrap; gap: 16px 28px; }
  .event-facts > * { border: 0 !important; padding: 16px 0 0 !important; }
  .event-facts .v { font-size: 18px; }
  .event .badge > div { padding: 18px 22px; }
  .event .badge .crop { width: 200px; height: 91px; }
  .event .badge img { width: 200px; margin-top: -53px; }
  .demo .intro { padding-top: 0; }
}

