/* STACLI — shared styles
   Palette is taken from the logo: four ribbons = four roles.
   green = production (pre-harvest) · orange = commerce · pink = movement · blue = data & intelligence */
:root {
  --paper: #fafbfd;
  --white: #ffffff;
  --ink: #2b3043;
  --ink-2: #596078;
  --line: #e3e7f0;
  --tint: #f2f4f9;
  --blue: #1b8fe0;
  --orange: #ff8a1a;
  --pink: #ff3f8e;
  --green: #68bd0a;
  --blue-d: #0d68b0;
  --orange-d: #a84e00;
  --pink-d: #b8135a;
  --green-d: #37750a;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 36em; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.kicker { font-size: .95rem; color: var(--ink-2); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 28px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--orange), var(--pink), var(--blue)); }

section { padding: clamp(72px, 10vw, 128px) 0; }
.sec-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 + p { margin-top: 18px; }
.alt { background: var(--tint); }
.ink { background: var(--ink); color: #fff; }
.ink .muted, .ink .lede { color: #b9bfd3; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250, 251, 253, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 36px; width: auto; }
.nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav ul a:not(.pill):hover { color: var(--blue-d); }
.pill { display: inline-block; background: var(--ink); color: #fff !important; padding: 9px 20px; border-radius: 999px; transition: background .2s; }
.pill:hover { background: var(--blue-d); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; left: 0; }
.menu-btn span::after { position: absolute; top: 6px; left: 0; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav ul { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px; display: none; }
  .nav ul.open { display: flex; }
  .nav ul li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav ul li:last-child a { border: 0; margin-top: 14px; text-align: center; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 1rem var(--sans); text-decoration: none; padding: 15px 28px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--blue-d); border-color: var(--blue-d); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: transparent; color: #fff; }
.arrow::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); margin-left: -2px; }
.arrow.down::after { transform: rotate(45deg); margin-top: -3px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- hero ---------- */
.hero { min-height: calc(100vh - 68px); display: flex; align-items: center; padding: 48px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero .full-name { font-size: .98rem; color: var(--ink-2); margin-bottom: 22px; max-width: 30em; }
.hero h1 { margin-bottom: 26px; max-width: 14em; }
.hero .lede { margin-bottom: 0; }
.diagram { width: 100%; max-width: 520px; margin-left: auto; }
.diagram text { font-family: var(--sans); font-weight: 500; fill: var(--ink); }
.diagram .draw { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s cubic-bezier(.5, 0, .2, 1) forwards; animation-delay: var(--d, 0s); }
.diagram .pop { opacity: 0; animation: pop .5s ease forwards; animation-delay: var(--d, 0s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero .wrap { grid-template-columns: 1fr; }
  .diagram { margin: 24px auto 0; }
}

/* ---------- thesis ---------- */
.thesis h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5.6rem); letter-spacing: -0.03em; line-height: 1.02; max-width: 11em; }
.thesis .body { max-width: 640px; margin: 32px 0 56px; font-size: 1.15rem; color: var(--ink-2); }
.chain { display: flex; gap: 0; overflow-x: auto; padding-bottom: 8px; list-style: none; margin: 0; padding-left: 0; counter-reset: c; }
.chain li { flex: 1 0 128px; position: relative; padding: 18px 8px 0 0; font-weight: 500; border-top: 6px solid var(--c); }
.chain li:first-child { border-radius: 6px 0 0 6px; }
.chain li:last-child { border-radius: 0 6px 6px 0; }
.chain li small { display: block; color: var(--ink-2); font-weight: 400; font-size: .85rem; line-height: 1.35; margin-top: 4px; }

/* ---------- pre x post ---------- */
.split { display: grid; grid-template-columns: 1fr 150px 1fr; gap: 0; align-items: stretch; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(26px, 3vw, 42px); }
.panel.pre { border-top: 8px solid var(--green); }
.panel.post { border-top: 8px solid var(--orange); }
.panel h3 { font-size: 1.9rem; margin-bottom: 4px; }
.panel .sub { color: var(--ink-2); margin-bottom: 24px; }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.panel li { padding-left: 18px; position: relative; font-weight: 500; }
.panel li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.panel.post li:nth-child(odd)::before { background: var(--orange); }
.panel.post li:nth-child(even)::before { background: var(--pink); }
.core { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; text-align: center; padding: 16px 0; }
.core::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 6px; margin-left: -3px; background: linear-gradient(var(--blue), #6bb8f0); border-radius: 6px; }
.core span { position: relative; background: var(--blue); color: #fff; border-radius: 16px; padding: 18px 12px; font-weight: 600; font-size: .95rem; line-height: 1.25; width: 130px; box-shadow: 0 0 0 8px var(--paper); }
.alt .core span { box-shadow: 0 0 0 8px var(--tint); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .core { padding: 0; height: 110px; }
  .core::before { width: 6px; }
  .panel ul { grid-template-columns: 1fr; }
}

/* ---------- R&D loop ---------- */
.loop-wrap { display: grid; place-items: center; }
.loop-svg { width: 100%; max-width: 900px; height: auto; }
.loop-svg text { font-family: var(--sans); font-weight: 500; font-size: 22px; fill: var(--ink); }
.loop-svg .center { font-family: var(--serif); font-weight: 400; font-size: 36px; letter-spacing: -.01em; }
.loop-list { display: none; list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; }
.loop-list::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: linear-gradient(var(--green), var(--blue), var(--orange), var(--pink)); }
.loop-list li { position: relative; padding: 7px 0; font-weight: 500; font-size: 1.1rem; }
.loop-list li::before { content: ""; position: absolute; left: -28px; top: 14px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--c); }
.loop-list li.back { color: var(--ink-2); font-weight: 400; }
@media (max-width: 760px) { .loop-svg { display: none; } .loop-list { display: block; } }

/* ---------- systems ---------- */
.systems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.sys { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.sys::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--c); }
.sys.big { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 12px 48px; align-items: center; }
.sys.big .status { margin-top: 0; }
.sys .name { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.sys .role { font-weight: 500; color: var(--ink-2); margin-bottom: 14px; }
.sys p { color: var(--ink-2); }
.status { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: .88rem; font-weight: 600; letter-spacing: .02em; border: 1.5px solid var(--c); color: var(--cd); border-radius: 999px; padding: 4px 14px; margin-top: auto; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.status.solid { background: var(--c); color: #fff; }
.status.solid::before { background: #fff; }
.sys a.more { margin-top: 18px; font-weight: 600; text-decoration: none; color: var(--cd); display: inline-flex; gap: 8px; align-items: center; }
.sys a.more:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 820px) { .systems { grid-template-columns: 1fr; } .sys.big { grid-template-columns: 1fr; } }

/* ---------- data strip ---------- */
.record { display: grid; grid-template-columns: repeat(9, minmax(112px, 1fr)); border: 1px solid var(--line); border-radius: 20px; overflow-x: auto; background: var(--white); }
.record div { padding: 18px 16px; border-right: 1px solid var(--line); min-width: 112px; }
.record div:last-child { border-right: 0; }
.record b { display: block; font-size: .85rem; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.record span { white-space: nowrap; font-weight: 600; font-size: 1.05rem; border-bottom: 4px solid var(--c); padding-bottom: 2px; }
.record-note { margin-top: 14px; font-size: .88rem; color: var(--ink-2); }
.flow3 { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 52px; align-items: baseline; }
.flow3 h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -.025em; line-height: 1.05; }

/* ---------- research areas ---------- */
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; padding: clamp(24px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); align-items: baseline; position: relative; }
.row h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.025em; padding-left: 26px; position: relative; }
.row h3::before { content: ""; position: absolute; left: 0; top: .32em; width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.row p { margin: 0; color: var(--ink-2); font-size: 1.1rem; max-width: 30em; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } }

/* ---------- field ---------- */
.stair { list-style: none; margin: 0; padding: 0; }
.stair li { display: flex; align-items: center; gap: 18px; padding: 14px 0; font-weight: 500; font-size: 1.15rem; position: relative; }
.stair li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 5px solid var(--c); flex: none; position: relative; z-index: 1; }
.stair li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 36px; bottom: -14px; width: 3px; background: var(--line); }
.stair li.end { font-size: 1.6rem; font-weight: 600; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; letter-spacing: -.01em; }
@media (max-width: 820px) { .cols-2 { grid-template-columns: 1fr; } }
.eco { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.eco div { padding: 16px 24px 8px 0; border-top: 6px solid var(--c); }
.eco h3 { font-size: 1.25rem; margin-bottom: 8px; }
.eco p { color: var(--ink-2); font-size: 1rem; }
.eco .logos { margin-top: 14px; font-size: .85rem; color: var(--ink-2); }
@media (max-width: 900px) { .eco { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .eco { grid-template-columns: 1fr; } }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 780px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 4px; border-radius: 4px; background: linear-gradient(var(--green), var(--orange), var(--pink), var(--blue)); }
.timeline li { position: relative; padding: 0 0 38px 56px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--c); border: 5px solid var(--paper); box-shadow: 0 0 0 2px var(--c); }
.timeline li.hollow::before { background: var(--paper); border-color: var(--paper); }
.timeline .tag { font-size: .85rem; font-weight: 600; color: var(--cd); letter-spacing: .03em; display: block; margin-bottom: 2px; }
.timeline h3 { font-size: 1.6rem; }
.timeline p { margin: 4px 0 0; color: var(--ink-2); }

/* ---------- questions ---------- */
.q-list { list-style: none; margin: 0; padding: 0; }
.q-list li { font-family: var(--serif); font-size: clamp(1.7rem, 3.8vw, 3rem); line-height: 1.12; letter-spacing: -.02em; padding: clamp(22px, 3vw, 36px) 0; border-top: 1px solid rgba(255, 255, 255, .22); max-width: 20em; }
.q-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .22); }

/* ---------- research -> deployment ---------- */
.track { display: flex; flex-wrap: nowrap; gap: 0; list-style: none; padding: 0; margin: 0; overflow-x: auto; }
.track li { flex: 1 0 140px; border-top: 6px solid var(--c); padding-top: 14px; font-weight: 600; font-size: 1.1rem; }
.track-back { height: 44px; border: 3px solid var(--line); border-top: 0; border-radius: 0 0 22px 22px; margin-top: 14px; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.track-back span { position: absolute; bottom: -14px; background: var(--paper); padding: 0 14px; font-size: .95rem; color: var(--ink-2); }
.alt .track-back span { background: var(--tint); }

/* ---------- about / collaborate ---------- */
.focus { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.focus span { border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 18px; font-weight: 500; }
.collab { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 12px 0 48px; border-top: 1px solid rgba(255, 255, 255, .3); }
.collab div { padding: 26px 22px 0 0; }
.collab h3 { margin-bottom: 8px; color: #fff; }
.collab p { color: #b9bfd3; font-size: 1rem; }
@media (max-width: 1000px) { .collab { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .collab { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
footer img { height: 40px; width: auto; margin-bottom: 14px; }
footer p { color: var(--ink-2); max-width: 24em; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; align-content: flex-start; justify-content: flex-end; }
footer nav a { text-decoration: none; font-weight: 500; }
footer nav a:hover { color: var(--blue-d); }
footer .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 22px; }
@media (max-width: 700px) { footer .wrap { grid-template-columns: 1fr; } footer nav { justify-content: flex-start; } }

/* ---------- mOS page ---------- */
.mos-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.mos-hero h1 { margin: 6px 0 20px; }
.mos-hero h1 em { font-style: normal; color: var(--orange-d); }
.flowline { display: flex; flex-wrap: wrap; gap: 10px 0; list-style: none; padding: 0; margin: 0; }
.flowline li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 18px; font-weight: 500; position: relative; margin-right: 34px; }
.flowline li:not(:last-child)::after { content: ""; position: absolute; right: -26px; top: 50%; width: 18px; height: 3px; background: var(--c, var(--orange)); border-radius: 3px; transform: translateY(-50%); }
.flowline.vertical { flex-direction: column; align-items: flex-start; gap: 0; }
.flowline.vertical li { margin: 0 0 22px; }
.flowline.vertical li:not(:last-child)::after { right: auto; left: 24px; top: 100%; width: 3px; height: 22px; transform: none; }
.mess { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; padding: 0; list-style: none; }
.mess li { background: var(--white); border: 1.5px dashed #b5bcd0; border-radius: 10px; padding: 6px 16px; color: var(--ink-2); }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mod { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; border-top: 6px solid var(--c); }
.mod h3 { margin-bottom: 8px; }
.mod p { color: var(--ink-2); }
.mod ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.mod li { font-size: .88rem; background: var(--tint); border-radius: 999px; padding: 3px 12px; }
@media (max-width: 960px) { .modules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .modules { grid-template-columns: 1fr; } }
.traits { display: grid; grid-template-columns: repeat(5, 1fr); }
.traits div { padding: 16px 18px 0 0; border-top: 6px solid var(--c); }
.traits h3 { font-size: 1.2rem; margin-bottom: 8px; }
.traits p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 1000px) { .traits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .traits { grid-template-columns: 1fr; } }
.who { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
.who div { border-radius: 20px; padding: 30px; background: var(--white); border: 1px solid var(--line); }
.who small { color: var(--ink-2); font-weight: 500; display: block; margin-bottom: 8px; }
.who h3 { margin-bottom: 8px; }
.who p { color: var(--ink-2); margin: 0; }
@media (max-width: 820px) { .who { grid-template-columns: 1fr; } }
.status-card { border: 1px solid var(--line); background: var(--white); border-radius: 22px; padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.status-card h3 { margin: 14px 0 12px; }
.status-card ul { margin: 0; padding: 0; list-style: none; }
.status-card li { padding: 6px 0 6px 24px; position: relative; font-weight: 500; }
.status-card li::before { content: ""; position: absolute; left: 0; top: .85em; width: 12px; height: 6px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg) translateY(-50%); }
@media (max-width: 760px) { .status-card { grid-template-columns: 1fr; } }
.evo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; padding: 0; margin: 0; }
.evo li { border-top: 6px solid var(--c); padding: 16px 20px 0 0; }
.evo b { display: block; font-size: 1.5rem; font-weight: 600; margin-bottom: 6px; }
.evo span { color: var(--ink-2); }
@media (max-width: 760px) { .evo { grid-template-columns: 1fr 1fr; gap: 24px 0; } }
.qs { margin: 0 0 28px; padding: 0; list-style: none; columns: 2; column-gap: 40px; }
.qs li { padding: 8px 0 8px 22px; position: relative; break-inside: avoid; font-weight: 500; }
.qs li::before { content: ""; position: absolute; left: 0; top: 1em; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
@media (max-width: 700px) { .qs { columns: 1; } }
.note { border-left: 4px solid var(--blue); padding: 4px 0 4px 18px; color: var(--ink-2); max-width: 40em; }
.cta-split { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-split h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
@media (max-width: 760px) { .cta-split { grid-template-columns: 1fr; } }
.signin { margin-top: 18px; color: #b9bfd3; }
.signin a { color: #fff; font-weight: 600; }
.err { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.err h1 { margin-bottom: 14px; }

/* ---------- live pulse ---------- */
.pulse { margin-top: clamp(56px, 7vw, 88px); background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3.4vw, 40px); }
.pulse-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 26px; }
.pulse-head h3 { font-size: 1.6rem; display: flex; align-items: center; gap: 12px; }
.live-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(104, 189, 10, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(104, 189, 10, 0); } 100% { box-shadow: 0 0 0 0 rgba(104, 189, 10, 0); } }
.pulse-meta { font-size: .88rem; color: var(--ink-2); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.badge { border: 1.5px solid var(--orange); color: var(--orange-d); border-radius: 999px; padding: 2px 12px; font-weight: 600; font-size: .82rem; }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.counters div { padding: 20px 18px 18px 0; }
.counters div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.counters b { display: block; font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.counters span { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 760px) { .counters { grid-template-columns: 1fr 1fr; } .counters div:nth-child(3) { border-left: 0; padding-left: 0; } .counters div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.pulse-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 52px); }
@media (max-width: 900px) { .pulse-grid { grid-template-columns: 1fr; } }
.pulse h4 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; letter-spacing: 0; }
.prices { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prices td { padding: 10px 6px 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.prices td:nth-child(2) { text-align: right; font-weight: 600; }
.prices td:nth-child(3) { text-align: right; width: 84px; font-size: .92rem; }
.prices td:nth-child(4) { width: 88px; padding-right: 0; }
.prices .up { color: var(--green-d); } .prices .down { color: var(--pink-d); }
.prices tr.flash-up { animation: fu 1.2s; } .prices tr.flash-down { animation: fd 1.2s; }
@keyframes fu { from { background: rgba(104, 189, 10, .22); } } @keyframes fd { from { background: rgba(255, 63, 142, .18); } }
.spark { width: 80px; height: 26px; display: block; margin-left: auto; }
.bars { width: 100%; height: auto; }
.bars text { font-family: var(--sans); font-size: 11px; fill: var(--ink-2); }
.pulse-note { margin: 22px 0 0; font-size: .85rem; color: var(--ink-2); }

/* ---------- images ---------- */
.banner { margin-top: clamp(40px, 6vw, 72px); }
.banner img { width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--line); }
.figcap { font-size: .85rem; color: var(--ink-2); margin-top: 10px; }
.eco .ico { width: 52px; height: 52px; margin-bottom: 14px; }
.mos-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.mos-hero .art { width: 100%; max-width: 520px; margin-left: auto; }
.mos-hero .art img { width: 100%; height: auto; border-radius: 28px; }
@media (max-width: 900px) { .mos-hero .wrap { grid-template-columns: 1fr; } .mos-hero .art { margin: 12px 0 0; } }

/* ---------- whatsapp ---------- */
.wa-fab { position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 60; display: grid; place-items: center; width: 60px; height: 60px; background: #25d366; color: #fff; text-decoration: none; border-radius: 50%; box-shadow: 0 8px 24px rgba(20, 60, 40, .32); transition: transform .2s, background .2s; }
.wa-fab:hover { transform: translateY(-2px); background: #1ebe5a; }
.wa-fab svg { width: 32px; height: 32px; fill: #fff; flex: none; }
.wa-fab span { color: #0b3d1f; font-size: .98rem; }
.btn.wa { background: #25d366; border-color: #25d366; color: #0b3d1f; }
.btn.wa:hover { background: #1ebe5a; border-color: #1ebe5a; color: #0b3d1f; }
.btn.wa svg { width: 22px; height: 22px; fill: currentColor; }
.copy { font-size: .9rem; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; } .prices tr { animation: none !important; }
  html { scroll-behavior: auto; }
  .diagram .draw, .diagram .pop { animation: none; stroke-dashoffset: 0; opacity: 1; }
  * { transition: none !important; }
}

/* =====================================================================
   UPGRADE LAYER — patterns adapted from leading agritech sites
   (announcement bar, proof band, interactive value chain, audience
   cards, FAQ, contact composer, multi-column footer)
   ===================================================================== */

/* ---------- announcement bar + scroll progress ---------- */
.announce { background: var(--ink); color: #fff; font-size: .92rem; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 9px; padding-bottom: 9px; }
.announce p { margin: 0; text-align: center; line-height: 1.4; }
.announce a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.announce a:hover { color: #ffcf9f; }
.pip { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--green); box-shadow: 0 0 0 4px rgba(104, 189, 10, .28); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--green), var(--orange), var(--pink), var(--blue)); pointer-events: none; }
.nav ul a[aria-current="true"]:not(.pill) { color: var(--blue-d); text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--blue); text-underline-offset: 8px; }
.btn.ghost.arrow { background: transparent; }
.btn.ghost.arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- proof band ---------- */
.facts { padding: 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.facts dl > div { padding: clamp(28px, 4vw, 52px) clamp(14px, 2vw, 28px) clamp(28px, 4vw, 52px) 0; }
.facts dl > div + div { padding-left: clamp(16px, 2.4vw, 34px); border-left: 1px solid var(--line); }
.facts dt { font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -.04em; }
.facts dt::after { content: ""; display: block; width: 44px; height: 6px; border-radius: 6px; background: var(--c); margin-top: 14px; }
.facts dd { margin: 14px 0 0; color: var(--ink-2); font-size: .98rem; line-height: 1.45; max-width: 15em; }
@media (max-width: 820px) {
  .facts dl { grid-template-columns: 1fr 1fr; }
  .facts dl > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts dl > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- interactive value chain ---------- */
.vc-tabs { display: flex; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.vc-tabs::-webkit-scrollbar { display: none; }
.vc-tabs button { flex: 1 0 auto; min-width: 118px; font: 500 1.05rem var(--sans); color: var(--ink-2); background: none; border: 0; border-top: 6px solid var(--line); padding: 16px 16px 16px 0; text-align: left; cursor: pointer; transition: color .2s, border-color .2s; }
.vc-tabs button:hover { color: var(--ink); border-top-color: var(--c); }
.vc-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; border-top-color: var(--c); }
.vc-panel { display: none; grid-template-columns: 1.1fr .9fr; gap: 28px clamp(32px, 6vw, 80px); align-items: start; padding-top: clamp(28px, 4vw, 48px); }
.vc-panel.on { display: grid; animation: vcin .35s ease; }
@keyframes vcin { from { opacity: 0; transform: translateY(8px); } }
.vc-panel h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.4rem); letter-spacing: -.025em; margin-bottom: 16px; }
.vc-panel p { color: var(--ink-2); font-size: 1.12rem; max-width: 30em; margin: 0; }
.vc-card { background: var(--white); border: 1px solid var(--line); border-left: 8px solid var(--c); border-radius: 18px; padding: 26px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.vc-card .name { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.vc-card .role { color: var(--ink-2); margin: 6px 0 18px; }
.vc-card .status { margin-top: 0; }
.vc-card a.more { margin-top: 18px; font-weight: 600; text-decoration: none; color: var(--cd); display: inline-flex; gap: 8px; align-items: center; }
.vc-card a.more:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .vc-panel.on { grid-template-columns: 1fr; } }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 2px 0 18px; padding: 0; }
.chips li { font-size: .88rem; background: var(--tint); border-radius: 999px; padding: 3px 12px; }
.sys.big .chips { margin-bottom: 4px; }
.hero-chips { margin-top: 26px; }
.hero-chips li { background: var(--white); border: 1px solid var(--line); font-size: .92rem; padding: 5px 14px; }

/* ---------- audience cards ---------- */
.people { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.people article { grid-column: span 2; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px 28px 24px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.people article:nth-child(n+4) { grid-column: span 3; }
.people article::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--c); }
.people .ico { width: 44px; height: 44px; margin: 6px 0 18px; color: var(--c); }
.people h3 { margin-bottom: 8px; }
.people p { color: var(--ink-2); margin-bottom: 20px; }
.people a.more { margin-top: auto; font-weight: 600; text-decoration: none; color: var(--cd); display: inline-flex; gap: 8px; align-items: center; align-self: flex-start; }
.people a.more:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .people { grid-template-columns: 1fr 1fr; }
  .people article, .people article:nth-child(n+4) { grid-column: auto; }
  .people article:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } }

/* ---------- live pulse on dark ---------- */
.pulse { background: var(--ink); color: #fff; border-color: var(--ink); }
.pulse .badge { border-color: #ffb36b; color: #ffcf9f; }
.pulse-meta, .pulse .counters span, .pulse-note { color: #b9bfd3; }
.pulse .counters, .pulse .counters div + div { border-color: rgba(255, 255, 255, .16); }
.pulse .prices td { border-bottom-color: rgba(255, 255, 255, .14); }
.pulse .prices .up { color: #9be34a; }
.pulse .prices .down { color: #ff86b3; }
.pulse .bars text { fill: #b9bfd3; }
@media (max-width: 760px) { .pulse .counters div:nth-child(n+3) { border-top-color: rgba(255, 255, 255, .16); } }

/* ---------- alt-background fixes for ring colours ---------- */
.alt .timeline li::before { border-color: var(--tint); }
.alt .timeline li.hollow::before { background: var(--tint); border-color: var(--tint); }
.alt .stair li::before { background: var(--tint); }

/* ---------- field gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 72px); }
.gallery figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-bottom: 6px solid var(--c); border-radius: 22px; overflow: hidden; }
.gallery img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 0; border: 0; }
.gallery figure:first-child img { object-position: 64% 50%; }
.gallery figcaption { padding: 16px 20px 18px; color: var(--ink-2); font-size: .98rem; }
.gallery figcaption b { display: block; color: var(--ink); font-size: 1.15rem; font-weight: 600; margin-bottom: 2px; }
.gallery .figcap { grid-column: 1 / -1; margin: 0; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr; } .gallery img { aspect-ratio: 16 / 10; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.faq-head { position: sticky; top: 100px; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: clamp(1.1rem, 1.9vw, 1.35rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:hover { color: var(--blue-d); }
.faq details p { margin: 0 0 24px; color: var(--ink-2); max-width: 38em; font-size: 1.06rem; }
.faq details p a { color: var(--blue-d); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-head { position: static; } }

/* ---------- contact composer ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 16px; color: #fff; }
.cform { background: #fff; color: var(--ink); border-radius: 22px; padding: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.cform label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .95rem; }
.cform .full { grid-column: 1 / -1; }
.cform input, .cform select, .cform textarea, .calc input, .calc select { font: 400 1rem var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.cform textarea { resize: vertical; min-height: 110px; }
.cform [aria-invalid="true"] { border-color: var(--pink); }
.cform-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cform-btns .btn { padding: 13px 22px; }
.cform-note { margin: 0; color: var(--pink-d); min-height: 1.4em; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cform { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer .wrap { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
.f-brand { grid-column: 1 / -1; }
footer nav { flex-direction: column; flex-wrap: nowrap; gap: 10px; justify-content: flex-start; align-content: flex-start; }
footer h4 { font-size: 1rem; letter-spacing: 0; margin-bottom: 4px; }
footer nav span { color: var(--ink-2); }
.f-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; text-decoration: none; }
.f-wa svg { width: 20px; height: 20px; fill: #1a9c4b; }
.f-wa:hover { text-decoration: underline; text-underline-offset: 4px; }
footer .legal a { color: var(--ink-2); }
@media (min-width: 900px) { footer .wrap { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } .f-brand { grid-column: auto; } }
@media (max-width: 520px) { footer .wrap { grid-template-columns: 1fr; } }

/* ---------- mOS: transaction demo ---------- */
.try { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.calc { background: var(--white); color: var(--ink); border-radius: 24px; padding: clamp(22px, 3vw, 36px); }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.calc label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .95rem; }
.calc .full { grid-column: 1 / -1; }
.calc-bar { display: flex; height: 12px; border-radius: 12px; overflow: hidden; margin: 26px 0 4px; background: var(--tint); }
.calc-bar i { display: block; height: 100%; transition: width .3s; }
.calc-out > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.calc-out .net { font-size: 1.35rem; font-weight: 600; border-bottom: 0; padding-top: 16px; }
.note-sm { margin: 10px 0 0; font-size: .85rem; color: var(--ink-2); }
.phone { width: min(340px, 100%); margin: 0 auto; background: #1d2133; border-radius: 42px; padding: 12px; box-shadow: 0 30px 60px -26px rgba(0, 0, 0, .6); color: var(--ink); }
.phone-screen { background: #ece5dd; border-radius: 31px; overflow: hidden; min-height: 440px; display: flex; flex-direction: column; }
.chat-head { background: #1f6f5c; color: #fff; padding: 16px 18px; display: flex; gap: 12px; align-items: center; }
.chat-head b { display: block; line-height: 1.2; }
.chat-head small { opacity: .8; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #1f6f5c; display: grid; place-items: center; font-weight: 600; flex: none; }
.chat-body { padding: 20px 14px; display: flex; flex-direction: column; gap: 12px; }
.bubble { align-self: flex-start; background: #fff; border-radius: 4px 14px 14px 14px; padding: 12px 14px 6px; max-width: 92%; font-size: .94rem; line-height: 1.5; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
.bubble.out { align-self: flex-end; background: #d9fdd3; border-radius: 14px 4px 14px 14px; min-width: 70%; }
.bubble .ln { display: block; }
.bubble .inv { display: flex; justify-content: space-between; gap: 18px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(0, 0, 0, .2); font-variant-numeric: tabular-nums; }
.bubble .time { display: block; text-align: right; font-size: .72rem; color: #6b7280; margin-top: 2px; }
@media (max-width: 900px) { .try { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .calc-fields { grid-template-columns: 1fr; } }

/* value-chain tabs keep their group colour (green / orange / pink) even when idle */
.vc-tabs button { border-top-color: var(--line); }
@supports (color: color-mix(in srgb, red 50%, blue)) {
  .vc-tabs button { border-top-color: color-mix(in srgb, var(--c) 38%, var(--line)); }
}
.vc-tabs button:hover, .vc-tabs button[aria-selected="true"] { border-top-color: var(--c); }

/* ---------- mOS V2 page ---------- */
.v2-card { border: 1px solid var(--line); background: var(--white); border-radius: 24px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 0; max-width: 460px; margin-left: auto; width: 100%; }
.v2-row { display: flex; align-items: baseline; gap: 20px; padding: 22px 0; border-top: 6px solid var(--c); }
.v2-row + .v2-row { margin-top: 12px; }
.v2-row b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.03em; }
.v2-row span { color: var(--ink-2); }
@media (max-width: 900px) { .v2-card { margin: 8px 0 0; max-width: none; } }

/* ---------- photo slots ---------- */
.photo { position: relative; aspect-ratio: 5 / 4; background: linear-gradient(135deg, var(--tint), var(--line)); overflow: hidden; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; }
.gallery .photo { border-radius: 0; }
.art.photo { border-radius: 24px; overflow: hidden; width: 100%; }
@media (max-width: 860px) { .gallery .photo { aspect-ratio: 16 / 10; } }

.mos-hero .wrap { grid-template-columns: 1fr; }
.mos-hero .wrap > div { max-width: 48em; }
.diagram { max-width: 520px; }

/* research ring: rotating 3D slideshow */
.ring { margin-top: clamp(28px, 4vw, 48px); }
.ring-stage { perspective: 1500px; height: 430px; position: relative; overflow: hidden; }
.ring-spin { position: absolute; left: 50%; top: 20px; width: var(--cw, 320px); height: 380px; margin-left: calc(var(--cw, 320px) / -2); transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, .7, .2, 1); }
.ring-card { position: absolute; inset: 0; background: var(--white); border: 1px solid var(--line); border-top: 8px solid var(--c); border-radius: 24px; padding: 26px 26px 24px; display: flex; flex-direction: column; box-shadow: 0 18px 40px -22px rgba(43, 48, 67, .45); opacity: .45; transition: opacity .6s, box-shadow .6s, filter .6s; cursor: pointer; backface-visibility: hidden; filter: saturate(.7); }
.ring-card.on { opacity: 1; filter: none; box-shadow: 0 30px 60px -24px rgba(43, 48, 67, .6); cursor: default; }
.ring-card .rn { width: 38px; height: 38px; border-radius: 12px; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.ring-card h3 { font-size: 1.55rem; letter-spacing: -.02em; margin-bottom: 8px; }
.ring-card p { color: var(--ink-2); margin: 0 0 14px; font-size: 1rem; }
.ring-card dl { margin: auto 0 0; border-top: 1px solid var(--line); padding-top: 12px; }
.ring-card dt { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-top: 8px; }
.ring-card dd { margin: 2px 0 0; font-size: .95rem; line-height: 1.4; }
.ring-ctl, .deck-ctl { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.rbtn { border: 2px solid var(--ink); background: var(--white); color: var(--ink); width: 44px; height: 44px; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; font-family: inherit; transition: background .2s, color .2s; }
.rbtn:hover { background: var(--ink); color: #fff; }
.rbtn.play { width: auto; padding: 0 18px; border-radius: 22px; font-size: .92rem; font-weight: 600; }
.ring-dots { display: flex; gap: 8px; }
.ring-dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: transform .2s, background .2s; }
.ring-dots button[aria-selected="true"] { background: var(--ink); transform: scale(1.35); }
@media (max-width: 600px) { .ring-stage { height: 440px; } }

/* research to deployment slideshow */
.deck { margin-top: clamp(24px, 4vw, 44px); }
.deck-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.deck-tabs button { flex: 1 0 auto; border: 1px solid var(--line); border-top: 6px solid var(--c); background: var(--white); border-radius: 16px; padding: 12px 18px 12px; font: inherit; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 10px; color: var(--ink-2); transition: background .2s, color .2s, transform .2s; white-space: nowrap; }
.deck-tabs button span { width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.deck-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; transform: translateY(-3px); }
.deck-view { position: relative; margin-top: 18px; min-height: 360px; }
.slide { display: none; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); border-left: 10px solid var(--c); border-radius: 26px; padding: clamp(24px, 4vw, 44px); }
.slide.on { display: grid; animation: slidein .55s ease; }
@keyframes slidein { from { opacity: 0; transform: translateX(34px); } }
.slide-n { display: inline-block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--c); margin-bottom: 10px; }
.slide h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.025em; margin-bottom: 14px; }
.slide p { color: var(--ink-2); font-size: 1.08rem; }
.slide .slide-ex { margin-top: 18px; padding: 14px 18px; background: var(--tint); border-radius: 14px; color: var(--ink); font-size: 1rem; }
.slide .slide-ex b { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c); margin-bottom: 4px; }
.slide-data h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin: 0 0 10px; }
.slide-data ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.slide-data li { padding: 8px 14px; border-radius: 100px; border: 2px solid var(--c); font-weight: 500; font-size: .95rem; }
.slide-data ul.out li { background: var(--c); color: #fff; }
.deck-ctl { margin-top: 18px; }
.deck-bar { flex: 1; max-width: 360px; height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; }
.deck-bar i { display: block; height: 100%; width: 0; background: var(--ink); }
@media (max-width: 820px) { .slide.on { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ring-spin, .ring-card { transition: none; } .slide.on { animation: none; } }

/* systems slideshow of boxes */
.scar { margin-top: clamp(24px, 4vw, 44px); }
.scar-view { overflow: hidden; padding: 14px 6px 34px; margin: -14px -6px -34px; }
.scar-track { display: flex; gap: 22px; transition: transform .7s cubic-bezier(.3, .7, .2, 1); will-change: transform; }
.sbox { flex: 0 0 calc((100% - 44px) / 3); background: var(--white); border: 1px solid var(--line); border-top: 8px solid var(--c); border-radius: 26px; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 4px; min-height: 290px; box-shadow: 0 20px 44px -28px rgba(43, 48, 67, .45); transition: transform .3s, box-shadow .3s; }
.sbox:hover { transform: translateY(-6px); box-shadow: 0 28px 54px -26px rgba(43, 48, 67, .55); }
.sbox .status { margin: 0 0 18px; }
.sbox .name { font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 6px; }
.sbox .role { font-weight: 500; color: var(--ink-2); margin-bottom: 14px; }
.sbox p { color: var(--ink-2); margin: 0 0 16px; }
.sbox .chips { margin: auto 0 0; }
.sbox a.more { margin-top: 18px; font-weight: 600; text-decoration: none; color: var(--cd); display: inline-flex; gap: 8px; align-items: center; }
.sbox a.more:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) { .sbox { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 680px) { .sbox { flex-basis: 100%; min-height: 360px; } }
@media (prefers-reduced-motion: reduce) { .scar-track { transition: none; } }

.scar .ring-ctl { margin-top: 36px; }

/* how-it-works step icons */
.stair li { gap: 14px; }
.stair li .si { width: 40px; height: 40px; flex: none; padding: 8px; border-radius: 12px; color: var(--c); background: var(--white); border: 1px solid var(--line); box-sizing: border-box; }
.stair li.end .si { width: 46px; height: 46px; }
.stair li:not(:last-child)::after { top: 44px; }
.stair li::before { display: none; }
.stair li:not(:last-child)::after { left: 19px; top: 52px; bottom: -8px; z-index: 0; }
.stair li .si { position: relative; z-index: 1; }

/* ---------- partner band ---------- */
.partner { padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); text-align: center; }
.partner .kicker { margin-bottom: 18px; }
.partner-logo { display: inline-flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; color: var(--ink); font-weight: 600; font-size: 1.15rem; text-decoration: none; }
.partner-logo img { height: 56px; width: 56px; border-radius: 50%; object-fit: cover; }
.partner-text { margin: 0 0 16px; font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.partner-logo { display: inline-block; line-height: 0; }

/* ---------- mOS preview slideshow ---------- */
.pshow { background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(43,48,67,.35); }
.ps-bar { display: flex; align-items: center; gap: 7px; padding: 12px 18px; background: var(--tint); border-bottom: 1px solid var(--line); }
.ps-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3d8e5; }
.ps-bar span { margin-left: 12px; font-size: .85rem; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 2px 16px; }
.ps-stage { position: relative; height: clamp(380px, 46vw, 460px); }
.ps-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.ps-slide.on { opacity: 1; visibility: visible; }
.ps-app { display: grid; grid-template-columns: 190px 1fr; height: 100%; }
.ps-side { background: var(--ink); color: #c9cee0; padding: 18px 12px; display: flex; flex-direction: column; gap: 6px; font-size: .92rem; }
.ps-logo { color: #fff; font-weight: 700; font-size: 1.3rem; padding: 0 10px 14px; letter-spacing: -.02em; }
.ps-logo small { font-size: .65rem; margin-left: 6px; background: var(--orange); color: #fff; border-radius: 6px; padding: 1px 6px; vertical-align: middle; }
.ps-side span { padding: 9px 12px; border-radius: 10px; }
.ps-side span.on { background: var(--blue); color: #fff; font-weight: 600; }
.ps-main { padding: 16px 22px; overflow: hidden; background: var(--paper); min-width: 0; }
.ps-top { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.ps-chip { font-size: .78rem; border: 1px solid var(--line); background: var(--white); border-radius: 20px; padding: 3px 12px; color: var(--ink-2); }
.ps-h { font-size: 1.5rem; }
.ps-sub { color: var(--ink-2); font-size: .92rem; margin: 2px 0 14px; }
.ps-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.ps-kpis div { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 12px; padding: 10px 12px; }
.ps-kpis small { display: block; color: var(--ink-2); font-size: .74rem; }
.ps-kpis b { font-size: 1.3rem; }
.ps-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 6px 14px; min-width: 0; }
.ps-row { display: grid; grid-template-columns: .8fr 1.1fr 1.1fr 1fr; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .9rem; align-items: center; }
.ps-row.head { border-top: 0; color: var(--ink-2); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.ps-row em { font-style: normal; font-weight: 600; font-size: .78rem; border-radius: 20px; padding: 2px 10px; justify-self: start; }
.ps-row em.g { background: #e8f6d6; color: var(--green-d); } .ps-row em.o { background: #ffead3; color: var(--orange-d); } .ps-row em.b { background: #dcedfb; color: var(--blue-d); }
.ps-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.ps-tags span { border-left: 5px solid var(--c); background: var(--white); border-radius: 8px; padding: 5px 12px; font-size: .85rem; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ps-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: start; }
.ps-inv { padding: 8px 0 6px; } .ps-inv b { display: block; } .ps-inv small { color: var(--ink-2); }
.ps-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.ps-line.tot { font-size: 1.05rem; color: var(--green-d); }
.ps-chat { background: #e9f3ea; border-radius: 14px; padding: 14px; }
.ps-bub { background: var(--white); border-radius: 4px 14px 14px 14px; padding: 10px 14px; font-size: .88rem; line-height: 1.5; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ps-bub b { display: block; color: var(--blue-d); }
.ps-bub b:last-child { display: inline; color: var(--ink); }
.ps-tick { display: block; text-align: right; font-size: .78rem; color: var(--green-d); margin-top: 8px; }
.ps-foot { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.ps-prog { flex: 1 1 200px; height: 6px; background: var(--tint); border-radius: 6px; overflow: hidden; }
.ps-prog i { display: block; height: 100%; width: 0; background: var(--green); border-radius: 6px; }
.ps-cap { font-size: .85rem; font-weight: 600; background: var(--ink); color: #fff; border-radius: 20px; padding: 4px 14px; }
.ps-dots { display: flex; gap: 8px; }
.ps-dots button { width: 12px; height: 12px; border-radius: 6px; border: 0; background: #cfd5e4; cursor: pointer; padding: 0; transition: width .25s; }
.ps-dots button[aria-selected="true"] { width: 30px; background: var(--blue); }
@media (max-width: 760px) {
  .ps-app { grid-template-columns: 1fr; } .ps-side { display: none; }
  .ps-stage { height: 500px; } .ps-kpis { grid-template-columns: 1fr 1fr; } .ps-split { grid-template-columns: 1fr; }
  .ps-top { display: none; }
}

/* mOS in action: refreshed slide visuals */
.ps-side { background: linear-gradient(180deg, #1b2140 0%, #121733 100%); }
.ps-side span { position: relative; padding-left: 30px; }
.ps-side span::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 3px; background: currentColor; opacity: .45; }
.ps-side span.on::before { opacity: 1; background: #fff; }
.ps-kpis div { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 9%, #fff) 0%, #fff 70%); box-shadow: 0 2px 6px rgba(20,30,70,.06); }
.ps-live { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-d); background: #e8f6d6; border-radius: 20px; padding: 2px 9px 2px 18px; position: relative; }
.ps-live::before { content: ""; position: absolute; left: 7px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--green); animation: psPulse 1.6s ease-in-out infinite; }
@keyframes psPulse { 50% { opacity: .3; } }
.ps-dash { display: grid; grid-template-columns: 1.7fr 1fr; gap: 12px; align-items: stretch; }
.ps-bars { display: flex; flex-direction: column; padding: 12px 14px; }
.ps-bars small { color: var(--ink-2); font-size: .74rem; }
.ps-barset { flex: 1; display: flex; align-items: flex-end; gap: 7px; margin-top: 8px; min-height: 70px; }
.ps-barset i { flex: 1; height: var(--h); background: #cfe0f7; border-radius: 6px 6px 2px 2px; }
.ps-barset i.hi { background: var(--blue); }
.ps-track { list-style: none; display: flex; gap: 6px; margin: 16px 0 0; padding: 0; }
.ps-track li { flex: 1; text-align: center; font-size: .8rem; padding: 8px 6px; border-radius: 10px; background: var(--tint); color: var(--ink-2); border: 1px solid var(--line); }
.ps-track li.done { background: #e8f6d6; color: var(--green-d); border-color: transparent; font-weight: 600; }
.ps-track li.now { background: #ffead3; color: var(--orange-d); border-color: transparent; font-weight: 700; box-shadow: 0 0 0 2px rgba(255,150,40,.25); }
.ps-badge { font-style: normal; font-size: .68rem; font-weight: 700; margin-left: 6px; padding: 2px 9px; border-radius: 20px; background: #dcedfb; color: var(--blue-d); vertical-align: middle; }
.ps-inv b { display: block; }
.ps-line.ps-net { background: #f1f9e6; border-radius: 10px; padding: 10px 12px; margin-top: 4px; border-top: 0; }
.ps-chat { background: linear-gradient(180deg, #e3f1e5, #d6ead9); }
@media (max-width: 760px) { .ps-dash { grid-template-columns: 1fr; } .ps-bars { display: none; } .ps-track { flex-wrap: wrap; } .ps-track li { flex: 1 1 45%; } }
.ps-line.ps-net span { font-weight: 700; }

/* Backed by IIIT Hyderabad, inside the footer bar */
footer .legal { align-items: center; }
footer .f-backed { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
footer .f-backed img { height: 36px; width: 36px; margin: 0; border-radius: 50%; object-fit: cover; }
@media (max-width: 700px) { footer .legal { flex-direction: column; align-items: flex-start; gap: 14px; } }
