/* Independence OS — v2 stylesheet */

:root{
  --bg:#0B0E0D; --surface:#121614; --surface-2:#171C19; --surface-3:#1E2420;
  --ink:#EDF0EC; --ink-2:#B9C0BA; --ink-3:#848D86; --ink-4:#5C655E;
  --line:#242A26; --line-2:#1B211D; --line-strong:#333B36;
  --accent:#3FB596; --accent-2:#5FC7AB; --accent-ink:#8ADCC5; --accent-soft:#11241E; --accent-soft-2:#0A1B15; --accent-line:#1E4A3D;
  --signal:#3ED6A7; --warn:#E0A046; --warn-soft:#2A2114;
  --shadow:0 1px 2px rgba(0,0,0,.3), 0 16px 40px -18px rgba(0,0,0,.6);
  --globe-dot:237,240,236; --globe-land:95,199,171;
  --rev:#6FD3C5; --rev-soft:#10231F;
  color-scheme:dark;
  --sans:'Instrument Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
  --serif:'Newsreader',Georgia,'Times New Roman',serif;
  --mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto;} *,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;}}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px;}
h1,h2,h3,h4{margin:0;font-weight:500;letter-spacing:-.02em;text-wrap:balance;}
p{margin:0;}
ul,ol{margin:0;padding:0;list-style:none;}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;}
.container{width:100%;max-width:1160px;margin:0 auto;padding:0 28px;}
.container.wide{max-width:1360px;}
.tnum{font-variant-numeric:tabular-nums;}

/* type scale */
.display{font-size:clamp(2.6rem,5.2vw,4.25rem);line-height:1.02;letter-spacing:-.032em;font-weight:500;}
.h2{font-size:clamp(1.9rem,3.2vw,2.6rem);line-height:1.1;letter-spacing:-.028em;}
.h3{font-size:1.3rem;line-height:1.25;letter-spacing:-.018em;}
.lead{font-size:clamp(1.1rem,1.5vw,1.25rem);line-height:1.5;color:var(--ink-2);max-width:56ch;}
.body{color:var(--ink-2);max-width:62ch;}
.body p+p{margin-top:16px;}
.label{font-family:var(--mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);}
.label.accent{color:var(--accent);}
.small{font-size:14px;color:var(--ink-3);}

/* nav */
.nav{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 82%,transparent);backdrop-filter:saturate(1.4) blur(12px);-webkit-backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid transparent;transition:border-color .2s ease;}
.nav.scrolled{border-bottom-color:var(--line);}
.nav-inner{height:64px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;}
.nav-right{justify-self:end;}
.brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-weight:600;letter-spacing:-.01em;font-size:15px;}
.brand img{width:22px;height:22px;border-radius:5px;}
.nav-links{display:flex;align-items:center;gap:6px;}
.nav-links a{font-size:14px;font-weight:500;color:var(--ink-2);padding:8px 12px;border-radius:8px;transition:color .15s ease,background .15s ease;}
.nav-links a:hover{color:var(--ink);background:var(--surface-2);}
.nav-links a[aria-current="page"]{color:var(--ink);}
.nav-right{display:flex;align-items:center;gap:8px;}
.btn{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border-radius:9px;font-size:14px;font-weight:500;border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);transition:background .15s ease,border-color .15s ease,transform .15s ease;white-space:nowrap;}
.btn:hover{border-color:var(--ink-4);}
.btn.primary{background:var(--ink);color:var(--bg);border-color:var(--ink);}
.btn.primary:hover{background:var(--ink-2);border-color:var(--ink-2);}
.btn.accent{background:var(--accent);color:#fff;border-color:var(--accent);}
.btn.accent:hover{background:var(--accent-2);border-color:var(--accent-2);}
.btn.lg{height:46px;padding:0 20px;font-size:15px;}
.btn svg{width:14px;height:14px;}
.icon-btn{width:38px;height:38px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;color:var(--ink-2);border:1px solid transparent;}
.icon-btn:hover{background:var(--surface-2);color:var(--ink);}
.icon-btn svg{width:17px;height:17px;}
.nav-toggle{display:none;}

/* sections */
section{padding:104px 0;}
section.tight{padding:64px 0;}
.sec-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start;margin-bottom:56px;}
.sec-head>.lead{padding-top:38px;}
.sec-head .label{margin-bottom:16px;}
.sec-head .lead{font-size:1.05rem;}
.rule{height:1px;background:var(--line);}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-family:var(--mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);}
.eyebrow .dot{width:6px;height:6px;border-radius:50%;background:var(--signal);box-shadow:0 0 0 3px color-mix(in srgb,var(--signal) 22%,transparent);}

/* hero */
.hero{padding:72px 0 40px;position:relative;overflow:hidden;}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:48px;align-items:center;}
.hero .display{margin:0 0 24px;max-width:13ch;}
.hero .lead{margin-bottom:34px;}
.hero-grid{min-height:520px;}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;align-items:center;}
.hero-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:56px;padding-top:24px;border-top:1px solid var(--line);}
.fact{display:flex;flex-direction:column;gap:4px;}
.fact b{font-weight:500;font-size:15px;color:var(--ink);letter-spacing:-.01em;}
.fact span{font-size:13px;color:var(--ink-3);}
.globe-wrap{position:relative;aspect-ratio:1;max-width:560px;margin-left:auto;width:100%;}
.globe-wrap canvas{width:100%;height:100%;display:block;}
.globe-legend{display:flex;justify-content:center;gap:22px;margin-top:-6px;font-family:var(--mono);font-size:11.5px;color:var(--ink-3);letter-spacing:.02em;}
.globe-legend span{display:flex;align-items:center;gap:8px;}
.globe-legend i{width:8px;height:8px;border-radius:50%;background:var(--accent);display:inline-block;}
.globe-legend i.hollow{background:none;border:1.5px solid var(--accent);}

/* practices strip */
.strip{padding:48px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.strip-inner{display:grid;grid-template-columns:200px 1fr;gap:40px;align-items:start;}
.strip .label{padding-top:4px;}
.marks{display:flex;flex-wrap:wrap;gap:10px 28px;}
.marks a,.marks span{font-size:15px;font-weight:500;color:var(--ink-2);letter-spacing:-.01em;padding:4px 0;transition:color .15s ease;}
.marks a:hover{color:var(--accent);}

/* product grid */
.pgrid{display:grid;max-width:960px;margin:0 auto;grid-template-columns:repeat(56,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:16px;overflow:hidden;}
.ptile{grid-column:span 10;background:var(--surface);padding:21px 19px 23px;display:flex;flex-direction:column;gap:9.5px;min-height:0;position:relative;transition:background .15s ease;}
.ptile:hover{background:var(--surface-2);}
.ptile .ico{width:35px;height:35px;border-radius:9px;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center;}
.ptile .ico svg{width:19px;height:19px;}
.ptile h3{font-size:1.15rem;letter-spacing:-.012em;display:flex;align-items:baseline;gap:8px;line-height:1.2;flex-wrap:wrap;}
.ptile h3 .layer{font-family:var(--mono);font-size:12.9px;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-4);font-weight:400;}
.ptile .tag{color:var(--ink);font-weight:500;font-size:16.4px;}
.ptile .desc{color:var(--ink-3);font-size:13.5px;line-height:1.45;}
.ptile .arrow{position:absolute;top:24px;right:22px;color:var(--ink-4);opacity:0;transform:translateX(-4px);transition:opacity .15s ease,transform .15s ease;}
.ptile:hover .arrow{opacity:1;transform:none;}
.ptile.wide{grid-column:1 / -1;flex-direction:row;align-items:center;gap:19px;min-height:0;padding:16.5px 21px;}
.ptile.wide.half{grid-column:span 28;}
.ptile.tall.wider{grid-column:span 11;}
.ptile.w1{grid-column:span 12;}
.ptile.tall{grid-row:span 2;grid-column:span 8;justify-content:center;}
.ptile.wide .desc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ptile.wide .ico{flex:none;}
.ptile.wide .ptext{display:flex;flex-direction:column;gap:5px;min-width:0;}
.ptile .pill{font-size:12.9px;height:26px;padding:0 9.5px;}
.ptile .pill.wrap{height:auto;padding:5px 9.5px;}
.pgroups{display:flex;gap:28px;flex-wrap:wrap;margin-bottom:22px;}
.pgroups span{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink-3);}
.pgroups i{width:10px;height:10px;border-radius:3px;background:var(--accent);}
.pgroups i.l2{background:var(--accent-2);opacity:.75;} .pgroups i.l3{background:var(--accent);opacity:.5;} .pgroups i.l4{background:var(--accent);opacity:.28;}

/* product tiles */
.ptile{overflow:hidden;}
.ptile.wide.half .desc{font-size:13.5px;}
.ptile .arrow{top:18px;right:18px;}

/* patient flow (scroll-driven) */
.flow-wrap{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;align-items:start;}
.flow-sticky{position:sticky;top:96px;}
.flow-head{margin-bottom:28px;} .flow-head .h2{margin-top:6px;}
.record .panel-body{padding:10px 12px 12px;}
.rec-rows{display:flex;flex-direction:column;gap:4px;}
.rec-rows li{display:grid;grid-template-columns:1fr;gap:0;padding:11px 12px;border-radius:8px;font-size:13.5px;opacity:.28;transition:opacity .35s ease,background .35s ease;}
.rec-rows li.on{opacity:1;background:var(--surface-2);}
.rec-rows li.done{opacity:.75;}
.rec-rows .rk{font-family:var(--mono);font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);}
.rec-rows li.on .rk{color:var(--accent-ink);}
.rec-rows .rv{color:var(--ink);}
.rec-rows li.on .rv{color:var(--accent-ink);}
.flow-progress{height:3px;border-radius:2px;background:var(--line);margin-top:18px;overflow:hidden;}
.flow-progress i{display:block;height:100%;width:0;background:var(--accent);transition:width .35s ease;}
.flow-steps{display:flex;flex-direction:column;}
.fstep{min-height:44vh;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:24px 0 24px 28px;border-left:1px solid var(--line);position:relative;opacity:.3;transition:opacity .35s ease;}
.fstep::before{content:"";position:absolute;left:-5px;top:50%;width:9px;height:9px;border-radius:50%;background:var(--line-strong);transform:translateY(-50%);transition:background .35s ease,box-shadow .35s ease;}
.fstep.on{opacity:1;}
.fstep.on::before{background:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 22%,transparent);}
.fstep .t{font-family:var(--mono);font-size:12px;color:var(--ink-3);letter-spacing:.04em;}
.fstep .agent{display:inline-flex;align-items:center;gap:8px;font-weight:500;font-size:17px;color:var(--ink);}
.fstep .agent i{width:8px;height:8px;border-radius:2px;background:var(--accent);}
.fstep p{font-size:16px;color:var(--ink-2);line-height:1.55;max-width:46ch;}
.fstep:first-child{min-height:30vh;justify-content:flex-start;padding-top:0;}
.fstep:last-child{min-height:30vh;}
@media (max-width:820px){.flow-wrap{grid-template-columns:1fr;gap:24px;} .flow-sticky{position:static;} .fstep{min-height:0;opacity:1;} .rec-rows li{opacity:1;}}

/* live voice wave + transcription */
.live-wave{height:34px;}
.live-wave i{height:100%;}
.live-wave i{transform:scaleY(.14);transform-origin:center;opacity:.9;transition:transform .05s linear;}
@keyframes wavebar{0%,100%{transform:scaleY(.35);}50%{transform:scaleY(1);}}
.live-tx .w{color:var(--ink-4);transition:color .25s ease;}
.live-tx .w.said{color:var(--ink);}
.note .live-tx .w.said{color:var(--ink-2);}
.note .nr.live-fill>span{color:var(--ink-4);} .note .nr.live-fill.said>span{color:var(--ink-2);}
@media (prefers-reduced-motion: reduce){.fstep.on .live-wave i{animation:none;} .live-tx .w{color:var(--ink);}}

/* flow card extras */
.waves2{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.waves2 .label{margin-bottom:6px;}
.fstep.on .w-agent i{animation-duration:1.5s;}
.cards2{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:none;}
.fstep .cards2 .mini-card{max-width:none;margin-top:0;}
.fstep .cards2{margin-top:6px;opacity:0;transform:translateY(18px);transition:opacity .45s ease,transform .45s ease;}
.fstep.on .cards2{opacity:1;transform:none;}
.fstep.on .cards2 .mini-card{opacity:1;transform:none;}
.live-fill{transition:opacity .35s ease,color .35s ease;}
.note .nr.live-fill b{opacity:.35;} .note .nr.live-fill.said b{opacity:1;}
.pill.live-fill{opacity:.25;} .pill.live-fill.said{opacity:1;}
.row.live-fill{opacity:.3;} .row.live-fill.said{opacity:1;}
.kpi.live-fill,.bubble.live-fill,.attach.live-fill,.card.live-fill{opacity:.25;transform:translateY(6px);transition:opacity .35s ease,transform .35s ease;}
.kpi.live-fill.said,.bubble.live-fill.said,.attach.live-fill.said,.card.live-fill.said{opacity:1;transform:none;}
.fstep.on .row.live-fill.said .pill.blink{animation:blink-warn 1.2s ease-in-out infinite;} .fstep.on .row.live-fill:not(.said) .pill.blink{animation:none;}
.pipe span.live-fill.said{color:var(--accent-ink);border-bottom-color:var(--accent);}
.pill.live-swap .b{display:none;} .pill.live-swap.said .a{display:none;} .pill.live-swap.said .b{display:inline;}
.pill.live-swap.said{background:var(--accent-soft);color:var(--accent-ink);}
.pill.warn.live-swap.said{background:var(--accent-soft);color:var(--accent-ink);}
.pill.live-swap.said::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--signal);}
.fstep.on .pill.blink{animation:blink-warn 1.2s ease-in-out infinite;}
@keyframes blink-warn{0%,100%{opacity:1;}50%{opacity:.35;}}
.attach{display:flex;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);max-width:88%;font-size:12.5px;}
.attach .aico{flex:none;width:34px;height:34px;border-radius:8px;background:var(--accent-soft);color:var(--accent-ink);font-family:var(--mono);font-size:10px;display:flex;align-items:center;justify-content:center;}
.attach b{display:block;font-weight:500;} .attach span{display:block;color:var(--ink-3);font-size:11.5px;margin-top:1px;}
.inputbox{display:flex;align-items:center;justify-content:space-between;margin-top:4px;padding:10px 12px;border:1px solid var(--line);border-radius:999px;color:var(--ink-4);font-size:13px;}
.inputbox i{width:26px;height:26px;border-radius:50%;background:var(--accent);display:inline-flex;align-items:center;justify-content:center;flex:none;}
.inputbox i svg{width:14px;height:14px;display:block;}
.kpis.kpis-2{grid-template-columns:1fr 1fr;}
.delta{font-family:var(--mono);font-size:11px;margin-left:6px;}
.delta.up{color:var(--signal);} .delta.down{color:var(--ink-3);}
@media (min-width:821px){.flow-wrap{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);}}
@media (max-width:820px){.cards2{grid-template-columns:1fr;} .fstep .cards2{opacity:1;transform:none;} .live-fill,.note .nr.live-fill span,.pill.live-fill{opacity:1;color:inherit;}}

.appeal-line{font-size:13px;line-height:1.55;margin:0;}
.appeal .label{margin-top:2px;}

@media (min-width:821px){.cards2.rcm{grid-template-columns:1fr 1fr;}} .cards2.rcm .row .k{white-space:nowrap;}
.stepper{display:flex;flex-direction:column;gap:0;margin:2px 0 4px;}
.stepper li{display:grid;grid-template-columns:14px 1fr auto;gap:10px;align-items:center;padding:6px 0;font-size:13px;color:var(--ink-4);position:relative;}
.stepper li+li::before{content:"";position:absolute;left:6px;top:-8px;height:14px;width:1px;background:var(--line-strong);}
.stepper li i{width:9px;height:9px;border-radius:50%;border:1.5px solid var(--line-strong);background:var(--surface);justify-self:center;}
.stepper li em{font-family:var(--mono);font-style:normal;font-size:11px;color:var(--ink-4);}
.stepper li.done,.stepper li.live-fill.said{color:var(--ink);}
.stepper li.done i,.stepper li.live-fill.said i{background:var(--accent);border-color:var(--accent);}
.stepper li.done em,.stepper li.live-fill.said em{color:var(--ink-3);}
.stepper li.live-fill{opacity:1;transition:color .35s ease;}
.stepper li.live-fill i{transition:background .35s ease,border-color .35s ease;}
.stepper li.live-fill:nth-child(5),.stepper li.live-fill:nth-child(5) i{transition-delay:.9s;}
.stepper li.live-fill:nth-child(4),.stepper li.live-fill:nth-child(4) i{transition-delay:.3s;}

/* flow cards */
.fstep .mini-card{margin-top:6px;max-width:520px;width:100%;opacity:0;transform:translateY(18px);transition:opacity .45s ease,transform .45s ease;font-size:13px;}
.fstep.on .mini-card{opacity:1;transform:none;}
.fstep .phone.mini-card{margin-left:0;max-width:300px;}
.fstep .panel-body{gap:12px;}
.fstep{min-height:70vh;}
.fstep:first-child{min-height:60vh;}
.fstep:last-child{min-height:60vh;}
@media (max-width:820px){.fstep .mini-card{opacity:1;transform:none;} .fstep,.fstep:first-child,.fstep:last-child{min-height:0;}}

/* day schedule */
.day{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;border-top:1px solid var(--line);}
.slot{padding:26px 18px 26px 0;border-right:1px solid var(--line-2);display:flex;flex-direction:column;gap:12px;min-width:0;}
.slot:last-child{border-right:0;padding-right:0;}
.slot:last-child .out{margin-right:0;}
.slot .t{font-family:var(--mono);font-size:12px;color:var(--ink-3);letter-spacing:.04em;}
.slot .agent{display:inline-flex;align-items:center;gap:8px;font-weight:500;font-size:14px;color:var(--ink);line-height:1.2;}
.slot .agent i{width:8px;height:8px;border-radius:2px;background:var(--accent);}
.slot p{font-size:13.5px;color:var(--ink-2);line-height:1.5;}
.slot .out{margin-top:auto;font-family:var(--mono);font-size:12px;line-height:1.4;color:var(--ink-3);background:var(--surface-2);border-radius:6px;padding:8px 10px;margin-right:16px;}
.day-foot{display:flex;gap:28px;flex-wrap:wrap;margin-top:36px;padding-top:24px;border-top:1px solid var(--line);}
.day-foot p{font-size:14px;color:var(--ink-2);display:flex;align-items:center;gap:10px;}
.day-foot p::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent);}

/* two-col feature */
.feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:start;}
.feature .h2{margin-top:16px;}
.feature .body{margin-top:20px;}
.loop{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:14px;overflow:hidden;}
.loop li{background:var(--surface);padding:22px 22px 24px;display:flex;flex-direction:column;gap:8px;}
.loop .n{font-family:var(--mono);font-size:12px;color:var(--accent);letter-spacing:.06em;}
.loop b{font-weight:500;font-size:15.5px;letter-spacing:-.012em;}
.loop p{font-size:14px;color:var(--ink-3);line-height:1.5;}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:48px;border-top:1px solid var(--line);}
.stat{padding:22px 24px 0 0;border-right:1px solid var(--line-2);}
.stat:last-child{border-right:0;}
.stat b{display:block;font-size:2rem;font-weight:500;letter-spacing:-.03em;line-height:1;}
.stat span{display:block;margin-top:8px;font-size:13.5px;color:var(--ink-3);}

/* roadmap */
.road{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.phase{padding:24px;border:1px solid var(--line);border-radius:14px;background:var(--surface);display:flex;flex-direction:column;gap:12px;}
.phase.now{border-color:var(--accent-line);background:var(--accent-soft);}
.phase .when{display:flex;align-items:center;gap:8px;font-family:var(--mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);}
.phase.now .when{color:var(--accent);}
.phase.now .when i{width:6px;height:6px;border-radius:50%;background:var(--signal);}
.phase h3{font-size:1.1rem;}
.phase p{font-size:14.5px;color:var(--ink-2);line-height:1.5;}

/* roadmap timeline */
.timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;position:relative;}
.tl{position:relative;padding-top:34px;}
.tl-track{position:absolute;left:0;right:-32px;top:8px;height:1px;background:var(--line-strong);}
.tl:last-child .tl-track{right:0;}
.tl-dot{position:absolute;left:0;top:-5px;width:11px;height:11px;border-radius:50%;background:var(--bg);border:1.5px solid var(--line-strong);}
.tl.now .tl-dot{background:var(--accent);border-color:var(--accent);box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 22%,transparent);}
.tl.now .tl-track{background:linear-gradient(90deg,var(--accent) 0%,var(--accent) 35%,var(--line-strong) 100%);}
.tl-when{font-family:var(--mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);margin-bottom:12px;}
.tl.now .tl-when{color:var(--accent);}
.tl h3{font-size:1.35rem;letter-spacing:-.02em;margin-bottom:14px;}
.tl-sub{color:var(--ink-2);font-size:15.5px;line-height:1.5;margin-bottom:16px;}
.tl-list{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--line);padding-top:14px;}
.tl-list li{display:grid;grid-template-columns:8px 1fr;gap:12px;font-size:14.5px;color:var(--ink-3);line-height:1.5;}
.tl-list li::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--line-strong);margin-top:8px;}
.tl.now .tl-list li{color:var(--ink-2);} .tl.now .tl-list li::before{background:var(--accent);}
@media (max-width:820px){.timeline{grid-template-columns:1fr;gap:28px;} .tl-track{right:0;}}

/* statement */
.statement-band{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.statement{font-family:var(--serif);font-style:italic;font-weight:400;font-size:clamp(1.75rem,3.4vw,2.8rem);line-height:1.2;letter-spacing:-.01em;max-width:26ch;text-wrap:balance;}
.statement-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:64px;align-items:center;}
.statement-grid .body{font-size:15.5px;}

/* CTA */
.cta{display:flex;justify-content:space-between;align-items:center;gap:32px;padding:40px;border:1px solid var(--line);border-radius:18px;background:var(--surface);}
.cta h2{font-size:1.6rem;}
.cta p{color:var(--ink-3);margin-top:8px;max-width:48ch;}
.cta .btns{display:flex;gap:10px;flex-shrink:0;flex-wrap:wrap;}

/* footer */
footer{border-top:1px solid var(--line);padding:56px 0 40px;background:var(--bg);}
.foot{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.55fr) minmax(0,.8fr) minmax(0,1fr);gap:40px;}
.foot .brand{margin-bottom:14px;}
.foot p{font-size:14px;color:var(--ink-3);max-width:34ch;}
.foot h4{font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-4);margin-bottom:14px;font-weight:500;}
.foot ul{display:flex;flex-direction:column;gap:9px;}
.foot li,.foot li a{font-size:14px;color:var(--ink-2);}
.foot li a:hover{color:var(--ink);}
.foot li span{color:var(--ink-4);}
.foot-bottom{margin-top:48px;padding-top:20px;border-top:1px solid var(--line-2);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px;color:var(--ink-4);}
.foot-bottom a:hover{color:var(--ink-2);}

/* ---------- product pages ---------- */
.page-hero{padding:72px 0 48px;}
.page-hero .display{font-size:clamp(2.3rem,4.4vw,3.6rem);margin:20px 0 22px;max-width:18ch;}
.subnav{position:sticky;top:64px;z-index:40;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.subnav-inner{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:8px 0;}
.subnav-inner::-webkit-scrollbar{display:none;}
.subnav a{font-size:13px;font-weight:500;color:var(--ink-3);padding:7px 11px;border-radius:7px;white-space:nowrap;}
.subnav a:hover{color:var(--ink);background:var(--surface-2);}
.subnav a.active{color:var(--accent);background:var(--accent-soft);}
.subnav .sep{width:1px;background:var(--line);margin:6px 8px;}

.layers .body{margin-top:20px;}
.layers{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;}
.stack{display:flex;flex-direction:column;gap:10px;}
.layer-row{display:grid;grid-template-columns:132px 1fr;gap:14px;align-items:center;}
.layer-row .lk{font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);line-height:1.3;}
.layer-row .lv{display:flex;gap:8px;flex-wrap:wrap;min-width:0;}
.chip{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13.5px;border-radius:9px;border:1px solid var(--line);background:var(--surface);font-size:14px;font-weight:500;color:var(--ink);}
.chip i{width:7px;height:7px;border-radius:2px;background:var(--accent);}
.chip.base{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent-ink);width:100%;justify-content:center;}
.chip.base i{display:none;}
.chip.brain{border-style:dashed;}

.product{padding:88px 0;border-top:1px solid var(--line);}
.product-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;align-items:center;}
.product .kicker{display:flex;align-items:center;gap:10px;margin-bottom:18px;}
.product .kicker .label{color:var(--ink-3);}
.product .kicker .ico{width:30px;height:30px;border-radius:8px;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center;}
.product .kicker .ico svg{width:16px;height:16px;}
.product h2{font-size:clamp(1.8rem,3vw,2.4rem);letter-spacing:-.028em;line-height:1.08;}
.product .tagline{font-size:1.15rem;color:var(--ink-2);margin:14px 0 18px;letter-spacing:-.01em;}
.product .body{font-size:15.5px;}
.bullets{display:flex;flex-direction:column;gap:10px;margin-top:24px;}
.bullets li{display:flex;gap:12px;align-items:flex-start;font-size:15px;color:var(--ink-2);}
.bullets li::before{content:"";flex:none;width:16px;height:16px;margin-top:3px;border-radius:50%;background:var(--accent-soft);
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.5l2.2 2.2L11.5 6' fill='none' stroke='%23155E4C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");background-size:16px;}
.product.flip .product-grid>.ptext{order:2;}

/* reads / writes / next */
.flow{margin:26px 0 0;border-top:1px solid var(--line);}
.flow>div{display:grid;grid-template-columns:72px 1fr;gap:16px;padding:11px 0;border-bottom:1px solid var(--line-2);align-items:baseline;}
.flow dt{font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);}
.flow dd{margin:0;font-size:14.5px;color:var(--ink-2);line-height:1.5;}

/* system architecture diagram */
.arch{width:100%;height:auto;display:block;font-family:var(--sans);overflow:visible;}
.layers{align-items:center;}
.arch .blk rect{fill:var(--surface-2);stroke:var(--line-strong);stroke-width:1;}
.arch .blk.base rect{fill:var(--accent-soft);stroke:var(--accent-line);}
.arch .blk.dash rect{stroke-dasharray:4 4;fill:var(--surface);}
.arch .blk.brain rect{fill:url(#hatch);stroke:var(--accent-2);stroke-opacity:.6;}
.arch .hbg{fill:var(--accent-soft-2);}
.arch .hln{stroke:var(--accent);stroke-opacity:.35;stroke-width:1;}
.arch .blk.brain .tl{fill:var(--accent-ink);}
.arch .blk.dash.entry rect{stroke-dasharray:5 4;stroke-width:1.6;stroke:var(--ink-3);}
.arch .blk.dash.entry .tl{font-weight:600;}
.arch .blk.dash.entry .ts{fill:var(--ink-2);font-weight:500;}
.arch .tl{fill:var(--ink);font-size:15px;font-weight:500;letter-spacing:-.01em;}
.arch .blk.base .tl{fill:var(--accent-ink);}
.arch .ts{fill:var(--ink-3);font-family:var(--mono);font-size:10px;letter-spacing:.05em;text-transform:uppercase;}
.arch .ln line,.arch .ln path{stroke:var(--line-strong);stroke-width:1;fill:none;}
.arch .ln.arrow line,.arch .ln.arrow path{stroke:var(--accent);stroke-width:1.4;}
.arch-m{display:none;} .arch-m .blk.brain rect{fill:url(#hatch2);} .arch-m .tl{font-size:15px;} .arch-m .ts{font-size:9.5px;}
@media (max-width:560px){.arch:not(.arch-m){display:none;} .arch-m{display:block;margin-top:20px;}}

/* amoh research panel */
.meters{display:flex;flex-direction:column;gap:8px;}
.meter{display:grid;grid-template-columns:120px 1fr 44px;align-items:center;gap:12px;font-size:13px;}
.meter .k{color:var(--ink);font-weight:500;}
.meter .v{font-family:var(--mono);font-size:12px;color:var(--ink-3);text-align:right;}
.chart-head{display:flex;justify-content:space-between;align-items:center;gap:12px;}
.legend{font-family:var(--mono);font-size:10.5px;color:var(--ink-3);display:inline-flex;align-items:center;gap:6px;}
.legend i{width:14px;height:2px;display:inline-block;border-radius:1px;} .legend .l-tuned{background:var(--accent);} .legend .l-base{background:var(--ink-4);margin-left:8px;}
.chart{width:100%;height:auto;display:block;}
.chart .g{stroke:var(--line-2);stroke-width:1;}
.chart .c-base{fill:none;stroke:var(--ink-4);stroke-width:1.4;}
.chart .c-tuned{fill:none;stroke:var(--accent);stroke-width:1.8;}
.chart .c-end{fill:var(--accent);}

/* panels: product UI mocks */
.panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);overflow:hidden;font-size:13.5px;}
.panel-bar{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--line-2);background:var(--surface-2);}
.panel-bar .ttl{font-weight:500;font-size:13px;display:flex;align-items:center;gap:8px;}
.panel-bar .ttl i{width:7px;height:7px;border-radius:50%;background:var(--signal);}
.panel-bar .meta{font-family:var(--mono);font-size:11.5px;color:var(--ink-3);}
.panel-body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:14px;}
.panel .label{font-size:11px;}
.rows{display:flex;flex-direction:column;gap:6px;}
.row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border-radius:8px;background:var(--surface-2);font-size:13px;}
.row .k{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:500;}
.row .v{font-family:var(--mono);font-size:12px;color:var(--ink-3);}
.pill{display:inline-flex;align-items:center;gap:6px;height:22px;white-space:nowrap;flex:none;padding:0 8px;border-radius:6px;font-family:var(--mono);font-size:11px;letter-spacing:.02em;background:var(--surface-3);color:var(--ink-2);}
.pill.wrap{white-space:nowrap;height:auto;padding:4px 8px;line-height:1.35;text-align:left;display:inline-flex;align-items:flex-start;}
.pill.wrap::before{margin-top:5px;flex:none;}
.pill.ok{background:var(--accent-soft);color:var(--accent-ink);}
.pill.warn{background:var(--warn-soft);color:var(--warn);}
.pill.ok::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--signal);}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;}
.kpi{padding:12px 14px;border:1px solid var(--line);border-radius:10px;}
.kpi b{display:block;font-size:1.4rem;font-weight:500;letter-spacing:-.03em;line-height:1.1;}
.kpi span{display:block;margin-top:4px;font-size:12px;color:var(--ink-3);}
.bar{height:6px;border-radius:3px;background:var(--surface-3);overflow:hidden;}
.bar i{display:block;height:100%;background:var(--accent);border-radius:3px;}
.utt{display:grid;grid-template-columns:72px 1fr;gap:12px;font-size:13.5px;line-height:1.5;}
.utt .who{font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-3);padding-top:3px;}
.note{border:1px solid var(--line);border-radius:10px;overflow:hidden;}
.note .nr{display:grid;grid-template-columns:28px 1fr;border-bottom:1px solid var(--line-2);}
.note .nr:last-child{border-bottom:0;}
.note .nr b{font-family:var(--mono);font-size:11.5px;color:var(--accent);background:var(--accent-soft);display:flex;align-items:center;justify-content:center;}
.note .nr>span{padding:9px 12px;font-size:13px;color:var(--ink-2);}
.pipe{display:flex;align-items:center;gap:0;}
.pipe span{flex:1;text-align:center;font-family:var(--mono);font-size:11px;letter-spacing:.03em;color:var(--ink-3);padding:8px 0;border-bottom:2px solid var(--line);}
.pipe span.done{color:var(--accent-ink);border-bottom-color:var(--accent);}
.wave{display:flex;align-items:center;gap:3px;height:36px;}
.wave i{width:3px;border-radius:2px;background:var(--accent);opacity:.8;height:var(--h,40%);}
.spark{display:flex;align-items:flex-end;gap:4px;height:64px;border-bottom:1px solid var(--line);padding-bottom:0;}
.spark i{flex:1;background:var(--accent);opacity:.75;border-radius:2px 2px 0 0;height:var(--h);}
.spark i.low{background:var(--warn);opacity:.9;}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.listing{border:1px solid var(--line);border-radius:10px;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px;}
.listing b{display:block;font-weight:500;font-size:13.5px;}
.listing span{display:block;font-size:12px;color:var(--ink-3);margin-top:2px;}
.listing .price{font-family:var(--mono);font-size:12.5px;color:var(--ink);}
.phone{max-width:300px;margin:0 auto;border-radius:28px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);padding:18px 16px 22px;display:flex;flex-direction:column;gap:12px;}
.phone .bubble{padding:10px 12px;border-radius:12px;background:var(--surface-2);font-size:13px;line-height:1.45;max-width:88%;}
.phone .bubble.me{background:var(--accent);color:#fff;align-self:flex-end;border-bottom-right-radius:4px;}
.phone .bubble.ai{border-bottom-left-radius:4px;}
.phone .card{border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:12.5px;display:flex;justify-content:space-between;align-items:center;}

/* ---------- vision ---------- */
.thesis{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;}
.thesis .statement{font-size:clamp(1.6rem,2.8vw,2.3rem);max-width:none;}
.thesis .body{font-size:16.5px;line-height:1.6;}
.thesis .body p+p{margin-top:20px;}
.seq{counter-reset:s;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:14px;overflow:hidden;}
.seq li{background:var(--surface);padding:26px 24px 28px;display:flex;flex-direction:column;gap:10px;}
.seq li::before{counter-increment:s;content:counter(s,decimal-leading-zero);font-family:var(--mono);font-size:12px;color:var(--accent);letter-spacing:.06em;}
.seq b{font-weight:500;font-size:16px;letter-spacing:-.012em;}
.seq p{font-size:14.5px;color:var(--ink-3);line-height:1.5;}
.pull{padding:120px 0;text-align:left;}
.pull .statement{max-width:30ch;font-size:clamp(2rem,4.2vw,3.4rem);}

/* ---------- team ---------- */
.group{display:grid;grid-template-columns:220px 1fr;gap:40px;padding:48px 0;border-top:1px solid var(--line);}
.group:last-of-type{border-bottom:1px solid var(--line);}
.group-h{position:sticky;top:88px;align-self:start;}
.group-h h2{font-size:1.25rem;letter-spacing:-.015em;}
.group-h .small{margin-top:6px;}
.people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.person{display:grid;grid-template-columns:56px 1fr;gap:16px;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface);position:relative;transition:border-color .15s ease;}
.person:hover{border-color:var(--line-strong);}
.avatar{width:56px;height:56px;border-radius:50%;overflow:hidden;background:var(--accent-soft);color:var(--accent-ink);display:flex;align-items:center;justify-content:center;font-weight:500;font-size:16px;letter-spacing:.02em;}
.avatar img{width:100%;height:100%;object-fit:cover;}
.person .name{font-weight:500;font-size:15.5px;letter-spacing:-.012em;display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.person .role{font-size:13px;color:var(--accent);margin-top:2px;font-weight:500;}
.person .bio{font-size:14px;color:var(--ink-3);line-height:1.5;margin-top:10px;}
.person .tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px;}
.person .tags span{font-family:var(--mono);font-size:11px;color:var(--ink-3);background:var(--surface-2);border-radius:5px;padding:3px 7px;}
.person .li{position:absolute;top:18px;right:18px;color:var(--ink-4);}
.person .li:hover{color:var(--accent);}
.person .li svg{width:15px;height:15px;display:block;}
.join{padding:48px 0 0;}

/* responsive */
@media (max-width:1000px){
  .pgrid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ptile,.ptile.tall,.ptile.tall.wider,.ptile.w1{min-height:0;grid-column:span 1;}
  .ptile.wide,.ptile.wide.half{grid-column:1 / -1;}
  .ptile.tall{grid-row:span 1;}
  .day{grid-template-columns:repeat(3,minmax(0,1fr));border-top:0;}
  .slot{border-top:1px solid var(--line);padding-right:18px;}
  .slot:nth-child(3n){border-right:0;}
  .foot{grid-template-columns:1fr 1fr;}
  .people{grid-template-columns:1fr;}
}
@media (max-width:820px){
  section{padding:72px 0;}
  .nav-links{display:none;position:absolute;top:64px;left:0;right:0;flex-direction:column;align-items:stretch;gap:2px;padding:12px 20px 20px;background:var(--bg);border-bottom:1px solid var(--line);}
  .nav-links.open{display:flex;}
  .nav-links a{padding:12px 10px;font-size:16px;}
  .nav-toggle{display:inline-flex;}
  .nav-inner{display:flex;justify-content:space-between;gap:12px;}
  .nav-cta{display:none;}
  .hero{padding-top:48px;}
  .hero-grid{grid-template-columns:1fr;gap:24px;}
  .globe-wrap{max-width:420px;margin:0 auto;order:-1;}
  .hero .display{max-width:none;}
  .sec-head,.feature,.layers,.statement-grid,.thesis,.product-grid{grid-template-columns:1fr;gap:28px;}
  .sec-head>.lead{padding-top:0;}
  .product.flip .product-grid>.ptext{order:0;}
  .strip-inner{grid-template-columns:1fr;gap:18px;}
  .road,.seq{grid-template-columns:1fr;}
  .stats{grid-template-columns:1fr 1fr 1fr;}
  .cta{flex-direction:column;align-items:flex-start;padding:28px;}
  .hero-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
  .group{grid-template-columns:1fr;gap:20px;padding:36px 0;}
  .group-h{position:static;}
  .layer-row{grid-template-columns:1fr;gap:8px;}
  .layer-row .lk{padding-top:0;}
}
@media (max-width:560px){
  .container{padding:0 20px;}
  .pgrid{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:12px;}
  .ptile,.ptile.tall,.ptile.tall.wider,.ptile.w1{grid-column:span 1;padding:16px 14px 18px;gap:8px;}
  .ptile.wide,.ptile.wide.half{grid-column:1 / -1;flex-direction:row;align-items:center;padding:14px 16px;}
  .ptile.tall{grid-row:span 1;justify-content:flex-start;}
  .ptile h3{font-size:1.02rem;}
  .ptile h3 .layer{font-size:11.5px;}
  .ptile .ico{width:32px;height:32px;}
  .marks{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;}
  .marks a,.marks span{padding:2px 0;}
  .strip{padding:36px 0;}
  .strip-inner{gap:14px;}
  .day{grid-template-columns:1fr;}
  .slot{border-right:0;}
  .loop{grid-template-columns:1fr;}
  .stats{grid-template-columns:1fr;}
  .stat{border-right:0;border-bottom:1px solid var(--line-2);padding-bottom:18px;}
  .foot{grid-template-columns:1fr;}
  .kpis{grid-template-columns:1fr 1fr;}
  .hero-facts{grid-template-columns:1fr 1fr;gap:18px;}
  .cta .btns{width:100%;} .cta .btn{flex:1 1 auto;justify-content:center;white-space:normal;height:auto;min-height:40px;padding:8px 14px;}
}

.team-strip{border-top:1px solid var(--line);border-bottom:0;}
.page-hero+.team-strip{border-bottom:1px solid var(--line);padding:36px 0;}
.team-strip .marks span{color:var(--ink-2);}
.tstrip{display:flex;flex-direction:column;gap:14px;}
.trow{display:grid;grid-template-columns:200px 1fr;gap:40px;align-items:baseline;}
.team-strip .label{padding-top:0;}
.team-strip+section .group:first-child{border-top:0;}
@media (max-width:820px){.trow{grid-template-columns:1fr;gap:8px;}}
.team-strip .marks .more{color:var(--accent);display:inline-flex;align-items:center;gap:6px;}
.statement-band+footer{border-top:0;}
.loop-row{margin-top:64px;padding-top:40px;border-top:1px solid var(--line);}
.loop-row .label{margin-bottom:16px;}
.loop.four{grid-template-columns:repeat(4,minmax(0,1fr));}
@media (max-width:1000px){.loop.four{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.loop.four{grid-template-columns:1fr;}}
.feature .stack{align-self:center;}
.thesis>.body{padding-top:36px;}
@media (max-width:820px){.thesis>.body{padding-top:0;}}
