/* AADS (aads.aama.lk). Static site, no build step. */
@font-face { font-family: 'Geist'; src: url('../fonts/geist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../fonts/geist-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #212221;
  --bg2: #1b1c1b;
  --line: #3a3b39;
  --line2: #4a4b48;
  --ink: #ededE7;
  --mute: #9a9b95;
  --dim: #6e6f6a;
  --acc: #9ff0c8;           /* AADS accent: change here */
  --acc-ink: #142019;
  --paper: #e4e5df;
  --paper-ink: #1d1e1c;
  --paper-mute: #5d5e59;
  --paper-line: #c9cac3;
  --gut: clamp(16px, 3.4vw, 48px);
  --pad: clamp(24px, 3.4vw, 48px);
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--acc); color: var(--acc-ink); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

h1 { font-weight: 450; font-size: clamp(44px, 6.67vw, 96px); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-weight: 450; font-size: clamp(32px, 3.33vw, 48px); line-height: 1.06; letter-spacing: -.025em; }
h3 { font-weight: 500; font-size: 15px; letter-spacing: -.005em; }

/* buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; font: 500 15px var(--sans); border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn--accent { background: var(--acc); color: var(--acc-ink); }
.btn--accent:hover { background: #c4f7dd; }
.btn--ghost { border-color: var(--line2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--paper-ink); color: var(--acc); }
.btn--dark:hover { background: #000; }
.btn[disabled] { opacity: .6; cursor: default; }
.ulink { border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .2s; }
.ulink:hover { color: var(--acc); }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(33, 34, 33, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: transform .35s var(--ease), border-color .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { height: 64px; display: flex; align-items: center; gap: 40px; padding: 0 calc(var(--gut) + var(--pad)); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .08em; font-size: 17px; }
.mark { width: 22px; height: 22px; fill: var(--acc); }
.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--mute); }
.nav__links a:hover, .nav__muted:hover { color: var(--ink); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav__muted { color: var(--mute); }
.nav__menu { display: none; margin-left: auto; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav__menu span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .3s var(--ease); }
.nav__menu[aria-expanded='true'] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__menu[aria-expanded='true'] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mnav { display: none; }

/* page frame: vertical rules with + marks where sections meet */
.frame { position: relative; margin: 0 var(--gut); border-inline: 1px solid var(--line); }
.frame > section { position: relative; border-top: 1px solid var(--line); }
.frame > section::before, .frame > section::after { content: '+'; position: absolute; top: -.62em; font: 300 18px/1 var(--sans); color: var(--dim); z-index: 2; }
.frame > section::before { left: -.33em; transform: translateX(-50%) translateX(.33em); left: -5px; }
.frame > section::after { right: -5px; }
.frame > section:first-child { border-top: 0; }
.frame > section:first-child::before, .frame > section:first-child::after { display: none; }

.art { position: absolute; pointer-events: none; }

/* hero */
.hero { min-height: min(92vh, 640px); padding: calc(64px + clamp(56px, 7vw, 96px)) var(--pad) clamp(56px, 6vw, 80px); overflow: hidden; display: flex; align-items: flex-start; }
.hero__copy { position: relative; z-index: 1; max-width: 1000px; }
.hero__sub { margin: 32px 0 32px; max-width: 360px; color: var(--mute); font-size: 15px; line-height: 1.55; }
.art--ring { right: 0; top: 14%; width: 60%; height: 80%; }

/* hub */
.hub { padding: clamp(32px, 4vw, 64px) var(--pad); overflow: hidden; }
.hub__wrap { max-width: 1240px; margin: 0 auto; }
.hub__svg { width: 100%; height: auto; overflow: visible; font-family: var(--mono); }
.hub__svg .w { fill: none; stroke: var(--line2); stroke-width: 1; transition: stroke .4s; }
.hub__svg .w.on { stroke: var(--acc); }
.hub__svg .w.flow { stroke: var(--acc); stroke-dasharray: 6 600; stroke-width: 2; opacity: 0; }
.hub__svg .w.flow.go { opacity: 1; animation: flow 1.6s linear forwards; }
@keyframes flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -600; } }
.hub__svg .t { fill: var(--mute); font-size: 12.5px; transition: fill .4s; }
.hub__svg .t.b { fill: var(--ink); }
.hub__svg .t.on { fill: var(--acc); }
.hub__svg .t.sans { font-family: var(--sans); font-size: 14px; }
.hub__svg .knot { fill: var(--bg); stroke: var(--dim); }
.hub__svg .knot.on { fill: var(--acc); stroke: var(--acc); }
.hub__svg .box { fill: none; stroke: var(--line2); }
.hub__svg .box.sel { stroke: var(--mute); }
.hub__svg .core { fill: var(--acc); }
.hub__svg .core-m { fill: var(--acc-ink); }
.hub__svg .src { cursor: pointer; }
.hub__svg .src:hover .t { fill: var(--ink); }

/* platform strip */
.strip { display: flex; align-items: center; gap: 48px; padding: 22px var(--pad); }
.strip__k { color: var(--mute); font-size: 13px; white-space: nowrap; }
.strip__list { flex: 1; display: flex; justify-content: space-between; gap: 32px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: #cfcfc9; }
.strip__list li { white-space: nowrap; }

/* statement */
.say { display: grid; grid-template-columns: 1.55fr 1fr 1fr; }
.say > * { padding: clamp(40px, 4.4vw, 64px) var(--pad); min-height: 260px; }
.say__fact { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.say__q p { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -.02em; text-indent: -.4em; max-width: 560px; }
.say__q footer { margin-top: 40px; color: var(--mute); font-size: 13px; }
.say__big { font-size: clamp(48px, 5.6vw, 80px); letter-spacing: -.04em; line-height: 1; }
.say__note { margin-top: auto; padding-top: 32px; color: var(--mute); font-size: 13px; max-width: 200px; }

/* fit */
.fit { padding: clamp(56px, 6vw, 96px) var(--pad) 0; }
.head2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: clamp(48px, 5vw, 72px); }
.head2 p { color: var(--mute); max-width: 460px; padding-top: 8px; }
.fit__body { display: grid; grid-template-columns: minmax(0, 520px) 80px minmax(0, 1fr); align-items: center; }
.code { background: var(--bg2); border: 1px solid var(--line); font: 12.5px/1 var(--mono); }
.code__bar, .term__bar, .chat__bar { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--mute); font-size: 12px; }
.code__tag { color: var(--dim); }
.code__lines { counter-reset: ln; padding: 12px 0 16px; }
.code__lines li { counter-increment: ln; white-space: pre; line-height: 24px; padding-right: 16px; color: #d6d6cf; transition: background .4s; }
.code__lines li::before { content: counter(ln); display: inline-block; width: 44px; padding-right: 16px; text-align: right; color: var(--dim); }
.code__lines li.hl { background: rgba(159, 240, 200, .09); box-shadow: inset 2px 0 var(--acc); }
.code .k { color: #aeb0a8; } .code .v { color: var(--ink); } .code .s { color: var(--acc); }
.fit__wire { width: 100%; height: 300px; overflow: visible; }
.fit__wire path { fill: none; stroke: var(--acc); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .75; }
.cases { position: relative; }
.cases__k { position: absolute; top: -40px; left: 0; font: 11px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.case { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; padding: 22px 0 26px; border-top: 1px solid var(--line); position: relative; }
.case:last-child { border-bottom: 1px solid var(--line); }
.case::before { content: ''; position: absolute; left: -4px; top: 26px; width: 7px; height: 7px; background: var(--acc); }
.case > div { padding-left: 20px; }
.case p { color: var(--mute); font-size: 13.5px; margin-top: 2px; }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 24px; font: 12px/20px var(--mono); }
.case dt { color: var(--acc); } .case dd { color: var(--mute); }
.ticks { display: flex; justify-content: space-between; gap: 24px; margin: clamp(48px, 5vw, 72px) calc(-1 * var(--pad)) 0; padding: 22px var(--pad); border-top: 1px solid var(--line); font-size: 14px; }
.ticks li, .rows li { display: flex; gap: 14px; align-items: baseline; }
.ticks li::before { content: ''; flex: none; width: 6px; height: 6px; background: var(--acc); transform: translateY(-1px); }

/* services */
.svc__head { position: relative; padding: clamp(64px, 7vw, 104px) var(--pad) clamp(48px, 5vw, 72px); overflow: hidden; }
.svc__head h2, .svc__head p { position: relative; }
.svc__head p { margin-top: 20px; color: var(--mute); max-width: 380px; }
.art--field { right: 0; top: 0; width: 48%; height: 100%; }
.svc__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.card { padding: 32px var(--pad) 36px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 340px; transition: background .3s; }
.card:first-child { border-left: 0; padding-left: var(--pad); }
.card:hover { background: #262726; }
.ico { width: 72px; height: 54px; fill: none; stroke: var(--mute); stroke-width: 1.2; margin-bottom: auto; transition: stroke .3s; }
.ico .f { fill: var(--acc); stroke: none; transition: transform .5s var(--ease); transform-box: fill-box; transform-origin: center; }
.card:hover .ico { stroke: var(--ink); }
.card:hover .ico .f { transform: rotate(90deg); }
.card h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 450; letter-spacing: -.025em; margin-top: 56px; }
.card p { color: var(--mute); font-size: 14px; margin-top: 12px; max-width: 240px; }
.card code { margin-top: 28px; color: var(--dim); font-size: 12px; }

/* light sections */
.light { background: var(--paper); color: var(--paper-ink); }
.frame > .light, .frame > .light--b { border-top-color: var(--paper-line); }
.light--b { border-top: 1px solid var(--paper-line); }
.light__dots, .cta__dots { position: absolute; left: calc(-1 * var(--gut) - 1px); right: calc(-1 * var(--gut) - 1px); top: -1px; height: 44px; pointer-events: none;
  background-image: radial-gradient(var(--bg) 1.15px, transparent 1.4px); background-size: 5px 5px;
  -webkit-mask: linear-gradient(to bottom, #000, transparent), linear-gradient(to left, #000 0, transparent 70%); -webkit-mask-composite: source-in; mask: linear-gradient(to bottom, #000, transparent) intersect, linear-gradient(to left, #000 0, transparent 70%); }
.light::before, .light::after { color: #a3a49d !important; }
.light { box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); }
.hand, .sup { display: grid; gap: clamp(32px, 5vw, 80px); padding: clamp(72px, 7vw, 112px) var(--pad); align-items: center; }
.hand { grid-template-columns: 1.2fr 1fr; }
.sup { grid-template-columns: 1fr 1.3fr; }
.hand__copy p, .sup__copy p { color: var(--paper-mute); margin-top: 20px; max-width: 440px; }
.rows { margin-top: 32px; border-top: 1px solid var(--paper-line); }
.rows li { padding: 14px 0; border-bottom: 1px solid var(--paper-line); font-size: 14px; }
.rows li::before { content: ''; flex: none; width: 6px; height: 6px; background: var(--paper-ink); }
.rows--d li { display: grid; grid-template-columns: 6px 1fr; column-gap: 14px; padding: 16px 0; }
.rows--d li::before { margin-top: 7px; }
.rows--d b { font-weight: 500; }
.rows--d span { grid-column: 2; color: var(--paper-mute); font-size: 13.5px; }

.term, .chat { background: var(--bg); color: var(--ink); border: 1px solid #111; font-size: 13px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .35); }
.term__body { display: grid; grid-template-columns: 170px 1fr; min-height: 300px; }
.tree { border-right: 1px solid var(--line); padding: 12px 0; font: 12.5px/22px var(--mono); color: var(--mute); }
.tree li { padding-left: 16px; }
.tree .i { padding-left: 32px; }
.tree .d { color: #cfcfc9; }
.tree .on { background: rgba(159, 240, 200, .1); color: var(--acc); }
.sh { padding: 14px 18px; font: 12.5px/22px var(--mono); white-space: pre; overflow: hidden; color: #cfcfc9; }
.sh .p { color: var(--ink); } .sh .d { color: var(--dim); } .sh .ok { color: var(--acc); }
.sh .cur { display: inline-block; width: 8px; height: 15px; background: var(--acc); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.chat__body { padding: 20px 18px 24px; display: grid; gap: 20px; min-height: 340px; align-content: start; }
.msg { display: grid; grid-template-columns: 32px 1fr; gap: 14px; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.msg.wait { opacity: 0; transform: translateY(8px); }
.av { width: 32px; height: 32px; display: grid; place-items: center; background: #3a3b39; color: var(--mute); font-size: 11px; border-radius: 3px; }
.av--bot { background: var(--acc); }
.av--bot svg { width: 18px; fill: var(--acc-ink); }
.av--team { background: #2f4a3d; color: var(--acc); }
.who { font-weight: 500; font-size: 13.5px; margin-bottom: 4px; }
.who time { color: var(--dim); font-weight: 400; font-size: 12px; margin-left: 6px; }
.who em { font: normal 11px var(--mono); color: var(--mute); border: 1px solid var(--line2); padding: 1px 6px; margin-left: 4px; }
.msg p { color: #d8d8d2; line-height: 1.55; }
.msg code { font-size: 12px; background: #2d2e2c; padding: 1px 5px; color: var(--ink); }
.msg pre { margin: 10px 0; border: 1px solid var(--line); background: var(--bg2); padding: 12px 14px; font-size: 12px; white-space: pre-wrap; color: #d6d6cf; }
.msg pre .ln { color: var(--dim); margin-right: 14px; }

/* reliability */
.run { min-height: 640px; overflow: hidden; display: flex; align-items: flex-end; padding: var(--pad) var(--pad) clamp(48px, 5vw, 72px); }
.art--arcs { right: 0; top: 0; width: 62%; height: 100%; }
.run__tags { position: absolute; left: 50%; right: 0; top: 28%; height: 1px; background: var(--line2); display: flex; }
.run__tags li { position: absolute; left: calc(var(--i) * 22% + 4%); bottom: 10px; font-size: 13px; padding: 2px 6px; background: var(--bg); white-space: nowrap; }
.run__tags li::after { content: ''; position: absolute; left: -3px; bottom: -14px; width: 7px; height: 7px; background: var(--acc); }
.run__copy { position: relative; max-width: 420px; }
.run__copy p { margin-top: 20px; color: var(--mute); }
.start { display: grid; grid-template-columns: 1fr 1.2fr .8fr; }
.start > * { padding: clamp(36px, 3.5vw, 52px) var(--pad); display: flex; align-items: center; }
.start > * + * { border-left: 1px solid var(--line); }
.start__big { font-size: clamp(44px, 4.4vw, 64px); letter-spacing: -.04em; line-height: 1; }
.start__txt { color: var(--mute); font-size: 14px; display: block !important; align-self: center; }
.start__txt b { display: block; color: var(--ink); font-weight: 500; }

/* CTA */
.cta { background: var(--acc); color: var(--acc-ink); box-shadow: 0 0 0 100vmax var(--acc); clip-path: inset(0 -100vmax); border-top: 0 !important; }
.cta::before, .cta::after { display: none; }
.cta__dots { background-image: radial-gradient(var(--bg) 1.15px, transparent 1.4px); -webkit-mask: linear-gradient(to bottom, #000, transparent), linear-gradient(to right, #000 0, transparent 55%); -webkit-mask-composite: source-in; mask: linear-gradient(to bottom, #000, transparent) intersect, linear-gradient(to right, #000 0, transparent 55%); }
.cta__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 96px); padding: clamp(96px, 9vw, 136px) var(--pad) clamp(72px, 7vw, 104px); }
.cta h2 { font-size: clamp(44px, 5.4vw, 78px); line-height: 1; letter-spacing: -.04em; }
.cta__copy { position: relative; }
.cta__copy p { margin-top: 24px; color: #2f4a3d; max-width: 400px; }
.art--orbit { position: relative; width: 100%; max-width: 460px; height: 220px; margin-top: 40px; }
.form { display: grid; gap: 18px; align-content: start; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.form i { font-style: normal; font-weight: 400; color: #3f5c4e; margin-left: 4px; }
.form input:not([type='checkbox']), .form textarea { font: 15px var(--sans); color: var(--acc-ink); background: rgba(255, 255, 255, .35); border: 1px solid rgba(20, 32, 25, .35); padding: 11px 12px; border-radius: 0; width: 100%; transition: border-color .2s, background .2s; }
.form textarea { resize: vertical; min-height: 104px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--acc-ink); background: rgba(255, 255, 255, .6); }
.form ::placeholder { color: #557364; }
.form [aria-invalid='true'] { border-color: #8a2a1c !important; }
.pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pick legend { font-size: 13px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.pick label { display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-block; padding: 8px 12px; border: 1px solid rgba(20, 32, 25, .35); font-weight: 400; font-size: 13.5px; transition: background .2s, color .2s; }
.pick input:checked + span { background: var(--acc-ink); color: var(--acc); border-color: var(--acc-ink); }
.pick input:focus-visible + span { outline: 2px solid var(--acc-ink); outline-offset: 2px; }
.form__go { display: flex; align-items: center; gap: 20px; margin-top: 4px; }
.status { font-size: 14px; }
.status.bad { color: #8a2a1c; }

/* footer */
.foot { background: var(--bg); }
.foot__in { position: relative; margin: 0 var(--gut); border-inline: 1px solid var(--line); padding: clamp(64px, 6vw, 96px) var(--pad) 40px; display: grid; grid-template-columns: 1fr auto; row-gap: 56px; min-height: 420px; }
.art--mark { position: relative; width: 360px; height: 300px; align-self: start; }
.foot__cols { display: flex; gap: clamp(32px, 5vw, 72px); font-size: 14px; }
.foot__cols div { display: grid; gap: 10px; align-content: start; }
.foot__cols p { color: var(--mute); margin-bottom: 8px; }
.foot__cols a:hover { color: var(--acc); }
.foot__c { grid-column: 2; color: var(--mute); font-size: 13px; align-self: end; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1100px) {
  .nav__links { gap: 20px; } .nav__muted { display: none; }
  .svc__grid { grid-template-columns: 1fr 1fr; }
  .card:nth-child(3) { border-left: 0; padding-left: var(--pad); }
  .card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fit__body { grid-template-columns: 1fr; }
  .fit__wire { display: none; }
  .cases { margin-top: 64px; }
  .strip__list li:nth-child(n+5) { display: none; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: block; }
  .mnav { display: grid; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); padding: 0 calc(var(--gut) + var(--pad)); }
  .mnav a { padding: 14px 0; border-top: 1px solid var(--line); font-size: 18px; }
  .mnav.open { max-height: 400px; padding-bottom: 12px; }
  .hero { min-height: 0; padding-bottom: 260px; }
  .art--ring { width: 120%; right: -30%; top: auto; bottom: 0; height: 300px; }
  .strip { flex-direction: column; align-items: flex-start; gap: 12px; }
  .strip__list { flex-wrap: wrap; gap: 8px 24px; font-size: 15px; justify-content: flex-start; }
  .strip__list li:nth-child(n+5) { display: list-item; }
  .say { grid-template-columns: 1fr 1fr; }
  .say__q { grid-column: 1 / -1; min-height: 0 !important; }
  .say__fact { min-height: 200px !important; border-top: 1px solid var(--line); }
  .say__fact:nth-child(2) { border-left: 0; }
  .say__big { font-size: 44px; }
  h2 br { display: none; }
  .run__tags li:nth-child(odd) { bottom: 26px; }
  .head2, .hand, .sup, .cta__in { grid-template-columns: 1fr; }
  .head2 { gap: 16px; }
  .ticks { flex-direction: column; gap: 12px; }
  .hand__copy { order: -1; } .sup__copy { order: -1; }
  .term__body { grid-template-columns: 1fr; }
  .tree { display: none; }
  .run { min-height: 560px; }
  .art--arcs { width: 100%; height: 60%; }
  .run__tags { left: 0; top: 30%; }
  .run__tags li { font-size: 11.5px; left: calc(var(--i) * 25% + 2%); }
  .start { grid-template-columns: 1fr; }
  .start > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .foot__in { grid-template-columns: 1fr; }
  .foot__c { grid-column: 1; }
  .art--mark { width: 200px; height: 165px; }
}
@media (max-width: 560px) {
  .svc__grid { grid-template-columns: 1fr; }
  .card { border-left: 0 !important; padding-left: var(--pad) !important; min-height: 280px; }
  .card + .card { border-top: 1px solid var(--line); }
  .f2 { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; gap: 12px; }
  .case dl { padding-left: 20px; }
  .foot__cols { flex-wrap: wrap; row-gap: 32px; }
  .code { font-size: 11.5px; overflow-x: auto; }
  .hub { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .hub__svg .w.flow { display: none; }
}
