/* Rai website, final draft (round 3). Brand layer: Rai brand identity v2 (logo, palette, type intent, shapes).
   Layout layer: design-taste pack "cinematic-product" (scene-led, product as protagonist) on a white stage.
   Headline face: Saira at 125 % width, the closest free match on Google Fonts to the brand's Obvia Wide (L-357). */

:root {
  --teal: #015759;      /* Forest Teal */
  --orange: #DC553C;    /* Harvest Orange */
  --orange-ink: #B53A23;/* orange darkened for small text on white (AA) */
  --lime: #B4F587;      /* Lime Sprout */
  --slate: #012828;     /* Deep Slate */
  --white: #FCFCFC;     /* Almost White */
  --beige: #F0E6D2;     /* Cotton Beige, the one secondary accent */
  --ink: #012828;
  --ink-2: #33504f;     /* muted text, 8:1 on white */
  --line: #d9e2df;
  --tint: #f5f1e8;      /* beige at low strength for tinted sections */
  --display: "Saira", "Montserrat", system-ui, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --thai: "Noto Sans Thai", "Montserrat", sans-serif;
  --r: 6px;             /* buttons, guide p.25 */
  --r-l: 16px;
  --wrap: 1240px;
  --pad: 24px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
[lang="th"] { font-family: var(--thai); }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--slate); color: var(--lime); padding: 10px 14px; z-index: 100; border-radius: var(--r); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.review { background: var(--slate); color: var(--beige); text-align: center; font: 600 11px/1 var(--display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; padding: 9px 16px; }

/* ---------- type ---------- */
.eyebrow, .idx { font: 600 12px/1.3 var(--display); font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); margin: 0 0 18px; }
.on-dark { color: var(--lime) !important; }
h1 { font: 600 clamp(38px, 5vw, 68px)/1.03 var(--display); font-stretch: 125%; letter-spacing: -.02em; }
h1 em, h2 em { font-style: normal; color: var(--teal); }
h2 { font: 600 clamp(30px, 3.6vw, 50px)/1.08 var(--display); font-stretch: 125%; letter-spacing: -.015em; max-width: 20ch; }
h3 { font: 600 19px/1.3 var(--body); }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 56ch; margin-top: 26px; }
.sec-lede { font-size: 18px; color: var(--ink-2); max-width: 62ch; margin-top: 20px; }
.link { color: var(--teal); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--teal) 35%, transparent); transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: var(--orange); }
.fine { font-size: 13px; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: var(--r); font: 700 16px/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .18s var(--ease), background-color .18s, box-shadow .18s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal); color: var(--lime); box-shadow: 0 10px 24px -12px rgba(1, 87, 89, .7); }
.btn-primary:hover { background: #014648; }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-ghost:hover { background: rgba(1, 87, 89, .06); }
.btn-lime { background: var(--lime); color: var(--teal); }
.btn-lime:hover { background: #c4fa9d; }
.btn-ghost-lime { background: transparent; color: var(--lime); border-color: var(--lime); }
.btn-ghost-lime:hover { background: rgba(180, 245, 135, .12); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.soon { font: 600 10px/1 var(--display); font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; background: var(--beige); color: var(--slate); padding: 5px 7px; border-radius: 4px; }
.btn-ghost .soon { background: var(--beige); }
.tag { display: inline-block; font: 600 11px/1 var(--display); font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; background: #e7ecea; color: var(--slate); font-style: normal; }
.tag-live { background: var(--lime); color: var(--slate); }
.tag-soon { background: var(--beige); color: var(--slate); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(252, 252, 252, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: 20px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; display: inline-flex; gap: 8px; align-items: center; }
.nav a:hover { border-bottom-color: var(--lime); }
.nav a.on { border-bottom-color: var(--orange); }
.top-cta { margin-left: auto; }
@supports (animation-timeline: scroll()) {
  .top { animation: hdr linear both; animation-timeline: scroll(); animation-range: 0 120px; }
  @keyframes hdr { to { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(1, 40, 40, .5); } }
}

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; background: radial-gradient(closest-side, rgba(180, 245, 135, .35), rgba(180, 245, 135, 0)); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; position: relative; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.hero-copy h1 { animation: rise .9s var(--ease) both; }
.hero-copy .lede { animation: rise .9s .12s var(--ease) both; }
.hero-copy .ctas { animation: rise .9s .22s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* the plot stack (main hero) */
.stack-fig { margin: 0; position: relative; }
.answer { position: relative; z-index: 3; background: var(--slate); color: var(--white); border-radius: var(--r-l) var(--r-l) var(--r-l) 4px; padding: 18px 22px 16px; max-width: 470px; margin: 0 0 6px auto; box-shadow: 0 24px 50px -24px rgba(1, 40, 40, .55); animation: rise .8s 1.1s var(--ease) both; }
.answer-k { font: 600 11px/1 var(--display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.answer-q { font-size: 14px; color: #c9d6d3; margin-top: 10px; }
.answer-a { font: 600 19px/1.35 var(--body); margin-top: 8px; color: var(--white); }
.answer-src { display: block; font-size: 12px; color: #a9bbb7; margin-top: 10px; }
.stack { --gap: 72px; --pw: 232px; position: relative; height: calc(var(--gap) * 4 + var(--pw) * .8 + 16px); perspective: 2000px; }
.layer { position: absolute; left: 0; right: 0; top: calc(var(--i) * var(--gap)); height: calc(var(--pw) * .8); display: grid; grid-template-columns: calc(var(--pw) * 1.5) 1fr; align-items: center; z-index: calc(10 - var(--i)); animation: spread 1.1s calc(.25s + var(--i) * .08s) var(--ease) both; }
@keyframes spread { from { transform: translateY(calc(var(--i) * var(--gap) * -1)); opacity: .2; } }
.plane { justify-self: center; width: var(--pw); height: var(--pw); border-radius: 12px; overflow: hidden; transform: rotateX(58deg) rotateZ(-42deg); transform-style: preserve-3d; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, -26px 30px 40px -18px rgba(1, 40, 40, .45); outline: 1px solid rgba(1, 40, 40, .12); position: relative; background: #eef1ef; transition: transform .45s var(--ease), box-shadow .45s; }
.plane img { width: 100%; height: 100%; object-fit: cover; }
.ring { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 4px solid var(--orange); border-radius: 50%; box-shadow: 0 0 0 4px rgba(252, 252, 252, .85); }
.layer:hover .plane { transform: rotateX(58deg) rotateZ(-42deg) translateZ(26px); box-shadow: -30px 40px 50px -16px rgba(1, 40, 40, .55); }
.layer-empty .plane { background: repeating-linear-gradient(45deg, var(--tint) 0 12px, #fbf8f1 12px 24px); outline: 2px dashed var(--orange); display: grid; place-items: center; }
.plus { font: 600 72px/1 var(--display); color: var(--orange); transform: rotateZ(42deg); }
.plab { position: relative; padding-left: 26px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.plab::before { content: ""; position: absolute; left: -10px; top: .7em; width: 28px; height: 1px; background: var(--ink); opacity: .35; }
.plab b { display: block; font: 600 14px/1.3 var(--display); font-stretch: 125%; letter-spacing: .02em; color: var(--ink); margin-bottom: 2px; }
.layer-empty .plab b { color: var(--orange-ink); }
.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--ink-2); }
.chips b { color: var(--ink); margin-right: 6px; font-weight: 600; }
.chips .chip-soon { background: var(--tint); border-style: dashed; border-color: #d8ccb2; }
.stack-fig figcaption { margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--ink-2); max-width: 70ch; }
.stack-fig figcaption b { color: var(--ink); }

/* split heroes (platform, services, team) */
.hero-shot { margin: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(1, 40, 40, .6); outline: 1px solid rgba(1, 40, 40, .1); background: var(--slate); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform .6s var(--ease); }
.hero-shot:hover { transform: none; }
.hero-shot figcaption, .shot figcaption { font-size: 13px; line-height: 1.5; padding: 12px 16px; background: #fff; color: var(--ink-2); }
.hero-shot figcaption b, .shot figcaption b { color: var(--ink); }

.five { margin: 0; background: var(--slate); color: var(--white); border-radius: var(--r-l); padding: 34px; box-shadow: 0 40px 80px -40px rgba(1, 40, 40, .7); position: relative; overflow: hidden; }
.five::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; background: linear-gradient(135deg, var(--teal), var(--lime)); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); opacity: .35; }
.five-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; position: relative; z-index: 1; }
.five-list li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(180, 245, 135, .25); border-radius: 12px; padding: 18px 10px; text-align: center; animation: rise .7s calc(.3s + var(--n, 0) * .08s) var(--ease) both; }
.five-list li:nth-child(2) { --n: 1; } .five-list li:nth-child(3) { --n: 2; } .five-list li:nth-child(4) { --n: 3; } .five-list li:nth-child(5) { --n: 4; }
.five-list b { display: block; font: 600 28px/1.1 var(--display); font-stretch: 112.5%; color: var(--lime); }
.five-list span { display: block; font-size: 12px; margin-top: 8px; color: #d3dfdc; }
.five-plus { margin-top: 18px; color: var(--beige); font-size: 14px; position: relative; z-index: 1; }
.five figcaption { margin-top: 22px; font: 600 13px/1.4 var(--display); font-stretch: 125%; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); position: relative; z-index: 1; }

.mission { font: 600 clamp(22px, 2.2vw, 30px)/1.3 var(--display); font-stretch: 112.5%; color: var(--teal); border-left: 4px solid var(--lime); padding: 8px 0 8px 28px; }
.mission .eyebrow { display: block; }

/* ---------- numbers band ---------- */
.band { background: var(--slate); color: var(--white); padding: 56px 0 44px; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; inset: auto -120px -160px auto; width: 420px; height: 420px; background: linear-gradient(140deg, var(--teal) 10%, var(--lime)); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); opacity: .18; }
.band-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-bottom: 26px; }
.band .eyebrow { color: var(--lime); margin: 0; flex: 0 1 auto; max-width: none; }
.live { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #b9cbc7; margin: 0 0 18px; }
.band .live { margin: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(180, 245, 135, .7); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(180, 245, 135, 0); } 100% { box-shadow: 0 0 0 0 rgba(180, 245, 135, 0); } }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(240, 230, 210, .18); position: relative; z-index: 1; }
.stat { padding: 26px 26px 26px 0; border-bottom: 1px solid rgba(240, 230, 210, .18); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat .num { font: 600 clamp(34px, 3.6vw, 52px)/1 var(--display); font-stretch: 112.5%; letter-spacing: -.01em; color: var(--lime); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat .num small { font-size: .5em; letter-spacing: 0; color: var(--lime); }
.stat .lab { font-weight: 600; font-size: 16px; color: var(--white); }
.stat .cav { font-size: 13px; line-height: 1.5; color: #b9cbc7; max-width: 46ch; }
.stat-lead .num { color: var(--white); }
.statnote { font-size: 13px; color: #b9cbc7; margin-top: 20px; max-width: 90ch; position: relative; z-index: 1; }
.band .link, .sec-dark .link { color: var(--lime); text-decoration-color: rgba(180, 245, 135, .5); }
/* light version on the platform page */
.stats-full { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top-color: var(--line); margin-top: 8px; }
.stats-full .stat { border-bottom-color: var(--line); padding: 22px 20px 22px 0; }
.stats-full .num { color: var(--teal); font-size: clamp(28px, 2.6vw, 38px); }
.stats-full .num small { color: var(--teal); }
.stats-full .stat-lead .num { color: var(--orange-ink); }
.stats-full .lab { color: var(--ink); font-size: 15px; }
.stats-full .cav { color: var(--ink-2); }
.sec .statnote { color: var(--ink-2); }
.sec .live { color: var(--ink-2); }
.sec .live .dot { background: var(--teal); animation: pulse-t 2.4s infinite; }
@keyframes pulse-t { 70% { box-shadow: 0 0 0 10px rgba(1, 87, 89, 0); } 0% { box-shadow: 0 0 0 0 rgba(1, 87, 89, .5); } }

/* ---------- sections ---------- */
.sec { padding: 104px 0; }
.sec-tint { background: var(--tint); }
.sec-dark { background: var(--slate); color: var(--white); }
.sec-dark h2, .sec-dark h3 { color: var(--white); }
.sec-dark .sec-lede { color: #c9d6d3; }
.sec-head { margin-bottom: 52px; }
.punch { font: 600 20px/1.5 var(--body); max-width: 60ch; margin-top: 34px; color: var(--ink); }
.punch strong { color: var(--orange-ink); }
.illus { display: block; font: 400 13px/1.4 var(--body); color: var(--ink-2); margin-top: 8px; }
.more { margin-top: 34px; }

/* sink */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(1, 40, 40, .5); }
.vs { padding: 34px 36px; }
.vs-old { background: #eceeed; color: var(--ink-2); }
.vs-new { background: var(--teal); color: #dfe9e6; }
.vs-k { font: 600 12px/1.3 var(--display); font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; }
.vs-new .vs-k { color: var(--lime); }
.vs-say { font: 600 clamp(22px, 2.2vw, 30px)/1.25 var(--display); font-stretch: 112.5%; margin: 14px 0 14px; color: var(--ink); }
.vs-old .vs-say { text-decoration: line-through; text-decoration-color: rgba(220, 85, 60, .7); text-decoration-thickness: 2px; color: #5b6b69; }
.vs-new .vs-say { color: var(--white); }
.sink3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--line); }
.sink3 h3 { margin-bottom: 10px; }
.sink3 p { color: var(--ink-2); font-size: 16px; }
.stakes { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--beige); border-radius: var(--r-l); }
.stakes li { padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid rgba(1, 40, 40, .12); }
.stakes li:first-child { border-left: 0; }
.stakes b { font: 600 clamp(26px, 2.4vw, 34px)/1.05 var(--display); font-stretch: 112.5%; color: var(--teal); white-space: nowrap; }
.stakes span { font-size: 15px; color: var(--ink); }
.stakes i { font-style: normal; font-size: 12px; color: var(--ink-2); }

/* knowledge above data */
.know { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1.25fr) 54px minmax(0, 1fr); align-items: stretch; }
.kn-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.kn-h { font: 600 13px/1.3 var(--display); font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.kn-h span { width: 28px; height: 28px; display: inline-grid; place-items: center; background: var(--orange); color: #fff; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); font-size: 13px; letter-spacing: 0; }
.scatter { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.scatter li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; transform: translateX(var(--x, 0)) rotate(var(--r, 0deg)); box-shadow: 0 10px 20px -18px rgba(1, 40, 40, .6); transition: transform .4s var(--ease); }
.scatter li:nth-child(1) { --x: 10px; --r: -2deg; } .scatter li:nth-child(2) { --x: -6px; --r: 1.5deg; } .scatter li:nth-child(3) { --x: 16px; --r: -1deg; }
.scatter li:nth-child(4) { --x: -2px; --r: 2deg; } .scatter li:nth-child(5) { --x: 12px; --r: -1.5deg; } .scatter li:nth-child(6) { --x: -8px; --r: 1deg; }
.know:hover .scatter li { transform: none; }
.scatter b { font: 600 20px/1.1 var(--display); font-stretch: 112.5%; color: var(--teal); white-space: nowrap; grid-row: span 2; }
.scatter b small { font-size: .62em; }
.scatter span { font-size: 14px; font-weight: 600; }
.scatter i { font-style: normal; font-size: 12px; color: var(--ink-2); }
.kn-foot { font-size: 13px; color: var(--ink-2); }
.kn-flow { position: relative; }
.kn-flow span { position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: flow 1.2s linear infinite; }
.kn-flow span::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 9px solid var(--orange); border-right: 0; }
@keyframes flow { to { background-position: 28px 0; } }
.kn-layer { background: var(--slate); color: var(--white); border-radius: 20px; padding: 22px; box-shadow: 0 40px 70px -40px rgba(1, 40, 40, .8); }
.kn-layer .kn-h { color: var(--lime); }
.kn-graph { margin: 0; border-radius: 12px; overflow: hidden; position: relative; }
.kn-graph img { aspect-ratio: 1.15; object-fit: cover; width: 100%; }
.kn-graph figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(1, 40, 40, .8); color: var(--beige); font-size: 11px; padding: 5px 9px; border-radius: 4px; }
.kn-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.kn-stats div { border-top: 1px solid rgba(240, 230, 210, .2); padding-top: 10px; }
.kn-stats dt { font: 600 19px/1.1 var(--display); font-stretch: 112.5%; color: var(--lime); white-space: nowrap; }
.kn-stats dd { margin: 4px 0 0; font-size: 12px; color: #c9d6d3; line-height: 1.35; }
.kn-ops { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kn-ops li { font-size: 12px; border: 1px solid rgba(180, 245, 135, .35); color: var(--lime); border-radius: 999px; padding: 4px 10px; }
.ans { background: #fff; border-radius: 14px 14px 14px 4px; padding: 16px 18px; border: 1px solid var(--line); box-shadow: 0 12px 26px -20px rgba(1, 40, 40, .6); }
.ans + .ans { margin-top: 2px; }
.ans-who { font: 600 11px/1 var(--display); font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); }
.ans p { font-weight: 600; font-size: 15px; line-height: 1.45; margin-top: 8px; }
.ans i { display: block; font-style: normal; font-size: 12px; color: var(--ink-2); margin-top: 8px; }
.kn-note { font-size: 13px; color: var(--ink-2); margin-top: 26px; }

/* loops */
.loops { display: grid; gap: 22px; }
.loop { border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 28px; background: #fff; }
.loop-h { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; margin-bottom: 20px; }
.loop-h h3 { font: 600 22px/1.2 var(--display); font-stretch: 125%; color: var(--teal); }
.loop-h span { font-size: 14px; color: var(--ink-2); }
.rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; position: relative; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--lime)); }
.rail li { position: relative; padding-top: 44px; display: flex; flex-direction: column; gap: 6px; counter-increment: s; }
.rail li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 32px; height: 32px; display: grid; place-items: center; background: var(--teal); color: var(--lime); font: 600 14px/1 var(--display); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.rail b { font-size: 16px; }
.rail span { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.st { font: 600 10.5px/1 var(--display); font-stretch: 125%; letter-spacing: .08em; text-transform: uppercase; font-style: normal; padding: 5px 8px; border-radius: 4px; align-self: flex-start; margin-top: 4px; }
.st-live { background: var(--lime); color: var(--slate); }
.st-soon { background: var(--beige); color: var(--slate); }
.st-line { margin-top: 18px; font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }

/* proof */
.proof { display: grid; grid-template-columns: 1.15fr 1fr .48fr; grid-template-rows: auto auto; gap: 18px; }
.shot { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .55); outline: 1px solid rgba(1, 40, 40, .1); transition: transform .4s var(--ease); }
.shot:hover { transform: translateY(-4px); }
.shot img { width: 100%; }
.proof .shot-wide { grid-column: 1 / 3; }
.proof .shot-phone { grid-column: 3; grid-row: 1 / 3; align-self: start; border-radius: 26px; border: 8px solid #0b1f1f; }
.proof .shot-phone figcaption { background: #0b1f1f; color: #c9d6d3; }
.proof .shot-phone figcaption b { color: #fff; }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.check { border-left: 4px solid var(--lime); padding: 6px 0 6px 18px; display: flex; flex-direction: column; gap: 6px; }
.check.warn { border-left-color: var(--orange); }
.check b { font-size: 16px; }
.check span { font-size: 14px; line-height: 1.5; color: #c9d6d3; }
.checks-light .check span { color: var(--ink-2); }
.checks-light { grid-template-columns: 1fr; margin-top: 26px; }

/* who */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.who-c { border-radius: var(--r-l); padding: 28px 24px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease), box-shadow .3s; }
.who-c:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(1, 40, 40, .6); }
.who-c p { color: var(--ink-2); font-size: 15px; flex: 1; }
.who-c .btn { align-self: flex-start; }
.who-c:first-child { background: var(--teal); border-color: var(--teal); }
.who-c:first-child h3 { color: var(--white); }
.who-c:first-child p { color: #d3e2de; }
.who-c:first-child .btn-primary { background: var(--lime); color: var(--teal); }

/* opening up */
.open { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.open-c { background: #fff; border-radius: var(--r-l); padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); }
.open-c .tag { align-self: flex-start; }
.open-c p { font-size: 15px; color: var(--ink-2); flex: 1; }
.open-col { grid-template-columns: 1fr; align-content: start; }
.open-col .btn { justify-self: start; }
.world { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }

/* team teaser + monograms */
.team-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.team-teaser .sec-lede { margin-bottom: 22px; }
.mono-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mono-row li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13px; font-weight: 600; }
.mono { width: 100%; max-width: 120px; height: auto; }
.mono .shape { fill: var(--teal); transition: fill .3s; }
.mono .dot { fill: var(--orange); }
.mono text { fill: var(--lime); font: 600 34px var(--display); font-stretch: 125%; letter-spacing: .02em; }
.mono:hover .shape, .person:hover .mono .shape { fill: var(--slate); }

/* chapters (platform, services) */
.chapnav { position: sticky; top: 72px; z-index: 40; background: rgba(252, 252, 252, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chapnav ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.chapnav a { display: inline-flex; gap: 8px; align-items: baseline; padding: 14px 0; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.chapnav b { font: 600 11px/1 var(--display); color: var(--orange-ink); }
.chapnav a:hover { color: var(--teal); }
.chap-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.chap-flip .chap-t { order: 2; }
.chap-t > p:not(.idx):not(.st-line) { color: var(--ink-2); margin-top: 18px; max-width: 58ch; }
.chap-t h2 { margin-bottom: 4px; }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; background: var(--lime); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); box-shadow: inset 0 0 0 2px var(--teal); }
.ticks b { color: var(--ink); }
.ticks-s li { font-size: 15px; }
.ops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.ops div { border-top: 3px solid var(--teal); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.ops b { font-size: 16px; }
.ops span { font-size: 14px; color: var(--ink-2); }
.trending { margin-top: 48px; border-radius: var(--r-l); background: var(--tint); padding: 24px 26px; }
.tr-head { font: 600 12px/1.3 var(--display); font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.tr-head span { color: var(--ink-2); letter-spacing: .04em; text-transform: none; font-family: var(--body); font-weight: 500; margin-left: 8px; }
.trs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 16px; }
.tr h3 { font-size: 14px; margin-bottom: 8px; }
.tr ul { list-style: none; margin: 0; padding: 0; }
.tr li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid rgba(1, 40, 40, .1); color: var(--ink-2); }
.tr li b { color: var(--ink); font-variant-numeric: tabular-nums; }
.trending .statnote { color: var(--ink-2); }
.tbl-wrap { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 620px; }
.cmp th, .cmp td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font: 600 12px/1.3 var(--display); font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.cmp td:last-child { background: rgba(180, 245, 135, .18); font-weight: 600; }
.cmp tbody th { font-weight: 600; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.duo p { color: var(--ink-2); margin: 10px 0 14px; }

/* services */
.speed { display: grid; gap: 10px; }
.sp { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; padding: 18px 22px; border-radius: 12px; background: #eef1ef; }
.sp span { font: 600 18px/1 var(--display); font-stretch: 125%; color: var(--ink-2); }
.sp p { font-size: 16px; }
.sp-fast { background: var(--teal); color: #fff; }
.sp-fast span { color: var(--lime); }
.calib { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.layers5 { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.layers5 li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 10px; background: color-mix(in srgb, var(--teal) calc(100% - var(--k, 0) * 18%), var(--lime)); color: #fff; }
.layers5 li:nth-child(2) { --k: 1; } .layers5 li:nth-child(3) { --k: 2; } .layers5 li:nth-child(4) { --k: 3; } .layers5 li:nth-child(5) { --k: 4; color: var(--slate); }
.layers5 li:nth-child(4) { color: var(--slate); }
.layers5 b { font: 600 18px/1 var(--display); font-stretch: 125%; }
.layers5 span { font-size: 15px; }
.proof-offer { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.proof-offer .sec-lede { margin: 0 0 28px; }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-c { border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.svc-c > p { color: var(--ink-2); font-size: 15px; }
.svc-soon { background: var(--tint); border-style: dashed; border-color: #d8ccb2; }
.svc-soon .tag { align-self: flex-start; }
.phases { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.phases li { display: grid; grid-template-columns: 104px 1fr; gap: 12px; font-size: 14px; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--line); }
.phases b { color: var(--teal); font-family: var(--display); font-stretch: 112.5%; }

/* team */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.person { display: grid; grid-template-columns: 112px 1fr; gap: 24px; padding: 28px; border-radius: var(--r-l); border: 1px solid var(--line); background: #fff; align-items: start; }
.person h3 { font: 600 22px/1.2 var(--display); font-stretch: 112.5%; }
.role { color: var(--orange-ink); font-weight: 600; font-size: 14px; margin-top: 4px; }
.tagline { font-size: 13px; color: var(--ink-2); margin: 4px 0 12px; }
.person p:not(.role):not(.tagline) { font-size: 15px; color: var(--ink-2); margin-bottom: 12px; }
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.pt { padding: 20px 0; border-top: 1px solid rgba(1, 40, 40, .12); display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
.pt h3 { font-size: 16px; }
.pt p { font-size: 15px; color: var(--ink-2); }
.news { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.news .date { font-size: 14px; color: var(--orange-ink); font-weight: 600; margin: 14px 0 12px; }
.news > div p:not(.idx):not(.date) { color: var(--ink-2); }
.quote { margin: 0; background: var(--teal); color: #fff; border-radius: var(--r-l); padding: 34px; position: relative; }
.quote::before { content: "“"; position: absolute; top: -14px; left: 22px; font: 600 110px/1 var(--display); color: var(--lime); }
.quote p { font: 600 22px/1.4 var(--display); font-stretch: 112.5%; margin-top: 24px; }
.quote footer { margin-top: 18px; font-size: 14px; color: var(--lime); }
.tl-h { font: 600 22px/1.2 var(--display); font-stretch: 125%; color: var(--teal); margin: 72px 0 22px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--lime)); }
.timeline li { padding-top: 30px; position: relative; display: flex; flex-direction: column; gap: 6px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--teal); }
.timeline b { font: 600 14px/1.2 var(--display); font-stretch: 112.5%; color: var(--teal); }
.timeline span { font-size: 13px; color: var(--ink-2); line-height: 1.45; }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(135deg, var(--slate) 0%, var(--teal) 70%, #1d7a64 100%); color: #fff; padding: 104px 0 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -90px; top: 40px; width: 380px; height: 420px; background: linear-gradient(160deg, rgba(180, 245, 135, .28), rgba(180, 245, 135, 0) 75%); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.cta-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; position: relative; }
.cta h2 { color: var(--lime); }
.cta-p { margin-top: 18px; color: #dbe7e3; font-size: 18px; max-width: 48ch; }
.cta-promise { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 10px; }
.cta-promise li { padding-left: 28px; position: relative; color: #fff; }
.cta-promise li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--lime); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.cta-alt { margin-top: 26px; color: #dbe7e3; }
.cta-alt a { color: var(--lime); font-weight: 600; }
.cta-form { background: var(--white); color: var(--ink); border-radius: var(--r-l); padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); align-self: start; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f-full { grid-column: 1 / -1; }
.f label, .wait-form label { font-weight: 600; font-size: 14px; }
.f input, .f select, .wait-row input { font: 400 16px/1.2 var(--body); padding: 13px 14px; border: 1.5px solid #b7c6c2; border-radius: var(--r); background: #fff; color: var(--ink); min-height: 50px; width: 100%; }
.f input:focus, .f select:focus, .wait-row input:focus { border-color: var(--teal); outline: 3px solid rgba(180, 245, 135, .9); outline-offset: 0; }
.help { font-size: 13px; color: var(--ink-2); }
.f-row { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.f-row .btn-lime { background: var(--teal); color: var(--lime); }
.wait { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding-top: 56px; padding-bottom: 72px; margin-top: 72px; border-top: 1px solid rgba(240, 230, 210, .2); position: relative; }
.wait h3 { font: 600 clamp(24px, 2.4vw, 32px)/1.15 var(--display); font-stretch: 125%; color: #fff; margin: 14px 0 10px; }
.wait p { color: #dbe7e3; }
.wait-form { display: flex; flex-direction: column; gap: 8px; align-self: center; }
.wait-form label { color: #fff; }
.wait-row { display: flex; gap: 10px; }
.wait-row input { flex: 1; min-width: 0; }
.wait .fine { color: #c9d6d3; }
.wait .fine a { color: var(--lime); }

/* ---------- footer ---------- */
.foot { background: var(--slate); color: #c9d6d3; padding: 56px 0 44px; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 40px; }
.foot-b img { height: 72px; width: auto; margin-bottom: 14px; }
.foot-n { display: flex; flex-direction: column; gap: 10px; }
.foot a { color: var(--beige); text-decoration: none; }
.foot a:hover { color: var(--lime); }
.foot-c a { color: var(--lime); font-weight: 600; font-size: 16px; }
.foot-c p { margin-top: 8px; }
.foot-src { font-size: 12px; color: #93a9a4; }

/* ---------- scroll reveal (progressive; content is visible without it) ---------- */
@supports (animation-timeline: view()) {
  .sec-head, .versus, .sink3, .stakes, .know, .loop, .proof, .who-c, .open-c, .chap-in, .person, .pt, .svc-c, .speed, .calib {
    animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
  }
  @keyframes reveal { from { opacity: 0; transform: translateY(28px); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .stack-fig { max-width: 640px; }
  .know { grid-template-columns: 1fr; gap: 0; }
  .kn-flow { height: 46px; }
  .kn-flow span { left: 50%; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--orange) 0 8px, transparent 8px 14px); background-size: 2px 28px; animation-name: flowv; }
  .kn-flow span::after { right: auto; left: -5px; top: auto; bottom: -2px; border: 6px solid transparent; border-top: 9px solid var(--orange); border-bottom: 0; }
  @keyframes flowv { to { background-position: 0 28px; } }
  .who { grid-template-columns: 1fr 1fr; }
  .stats-full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof .shot-wide { grid-column: 1 / -1; }
  .proof .shot-phone { grid-column: auto; grid-row: auto; max-width: 320px; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .nav { gap: 18px; }
}
@media (max-width: 860px) {
  :root { --pad: 16px; }
  body { font-size: 16px; }
  .nav { display: none; }
  .top-in { height: 64px; }
  html { scroll-padding-top: 72px; }
  .chapnav { top: 64px; }
  .hero { padding: 40px 0 28px; }
  .sec { padding: 72px 0; }
  .sec-head { margin-bottom: 36px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat-lead { grid-column: 1 / -1; }
  .stats-full { grid-template-columns: 1fr 1fr; }
  .versus, .sink3, .stakes, .open, .duo, .calib, .proof-offer, .cta-in, .wait, .team-teaser, .people, .partners, .news, .world, .chap-in, .svc { grid-template-columns: 1fr; }
  .chap-flip .chap-t { order: 0; }
  .sink3 { gap: 26px; }
  .stakes li { border-left: 0; border-top: 1px solid rgba(1, 40, 40, .12); }
  .stakes li:first-child { border-top: 0; }
  .rail { grid-template-columns: 1fr; gap: 18px; }
  .rail::before { left: 15px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--teal), var(--lime)); }
  .rail li { padding: 0 0 0 48px; }
  .ops { grid-template-columns: 1fr 1fr; }
  .trs { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr; }
  .hero-shot { transform: none; }
  .five-list { grid-template-columns: repeat(3, 1fr); }
  .sp { grid-template-columns: 1fr; gap: 8px; }
  .pt { grid-template-columns: 1fr; gap: 6px; }
  .person { grid-template-columns: 1fr; }
  .person .mono { max-width: 84px; }
  .foot-in { grid-template-columns: 1fr; }
  .cta-form { grid-template-columns: 1fr; padding: 22px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li { padding: 0 0 0 32px; }
  .mono-row { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .mono-row li { font-size: 11px; }
}
@media (max-width: 560px) {
  .top-cta { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .brand img { height: 30px; }
  .stack { --gap: 80px; --pw: 150px; }
  .layer { grid-template-columns: calc(var(--pw) * 1.42) 1fr; }
  .plab { padding-left: 14px; font-size: 12px; }
  .plab::before { width: 16px; left: -6px; }
  .plab b { font-size: 12.5px; }
  .answer { margin-left: 0; }
  .answer-a { font-size: 17px; }
  .who { grid-template-columns: 1fr; }
  .stats, .stats-full { grid-template-columns: 1fr; }
  .stat { padding-right: 0; }
  .ops, .trs { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .proof .shot-phone { max-width: 280px; }
  .kn-stats { grid-template-columns: 1fr; }
  .scatter li { --x: 0px !important; }
  .wait-row { flex-direction: column; }
  .ctas .btn { width: 100%; justify-content: center; }
  .vs { padding: 26px 22px; }
  .five { padding: 24px; }
  .five-list { grid-template-columns: repeat(2, 1fr); }
}
.news .quote p { color: #fff; }
