/* Nexvia Devices. One dark room, lit things. Inter 400/500 only. */
@font-face{font-family:Inter;src:url(/assets/fonts/inter-var.woff2) format("woff2");font-weight:400 500;font-style:normal;font-display:swap}

:root{
  --bg:#060E1F;--surface:#0B1629;--surface-2:#10203A;--surface-3:#152A4A;--field:#0D1A30;--field-line:#2A3B58;
  --ink:#F1EFE8;--soft:#CBC9C0;--muted:#A3A29A;
  --blue:#185FA5;--blue-up:#1F6FBF;--blue-tint:#85B7EB;--navy:#042C53;
  --teal:#1D9E75;--teal-lit:#3CD3A3;--teal-tint:#9FE1CB;
  --cream:#F1EFE8;--charcoal:#1A1A1A;--error:#FFB3A3;
  --pad:clamp(20px,5vw,72px);--max:1600px;--head:72px;
  --t-display:clamp(44px,6.4vw,104px);--t-h2:clamp(30px,3.4vw,54px);--t-lead:clamp(19px,1.5vw,24px);--t-body:17px;--t-small:14px;
  --ease:cubic-bezier(.23,1,.32,1);--gap:clamp(120px,14vw,220px);
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:calc(var(--head) + 16px)}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:var(--t-body);line-height:1.6;font-weight:400;-webkit-font-smoothing:antialiased;overflow-x:clip;font-optical-sizing:auto}
img,svg,video,canvas{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:.2em}
a:hover{text-decoration-color:var(--teal-lit)}
b,strong{font-weight:500}
h1,h2,h3,h4{margin:0;font-weight:500;line-height:1.08;letter-spacing:-.025em;text-wrap:balance}
p{margin:0;text-wrap:pretty}
ul,ol{margin:0;padding:0}
button{font:inherit;color:inherit}
::selection{background:var(--blue);color:#fff}
:focus-visible{outline:2px solid var(--blue-tint);outline-offset:3px;border-radius:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:fixed;left:16px;top:12px;z-index:100;background:var(--cream);color:var(--bg);padding:12px 18px;border-radius:999px;text-decoration:none;font-weight:500;opacity:0;transform:translateY(-140%);pointer-events:none;transition:transform .2s var(--ease),opacity .2s var(--ease)}
.skip:focus-visible{opacity:1;transform:none;pointer-events:auto}
.wrap{width:100%;max-width:var(--max);margin-inline:auto;padding-inline:var(--pad)}
.grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(16px,2vw,32px)}
.num{font-variant-numeric:tabular-nums}
.muted{color:var(--muted)}
.soft{color:var(--soft)}
.lead{font-size:var(--t-lead);line-height:1.45;color:var(--ink);max-width:40ch}
.small{font-size:var(--t-small);line-height:1.5}
.h2{font-size:var(--t-h2)}
.display{font-size:var(--t-display);letter-spacing:-.04em;line-height:.98;font-weight:500}
.statement{font-size:clamp(22px,2.2vw,34px);line-height:1.3;letter-spacing:-.015em;max-width:30ch}
.caption{font-size:var(--t-small);color:var(--muted);line-height:1.45}
section{position:relative}

/* buttons: one shape, fully round */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 26px;border-radius:999px;border:0;background:var(--blue);color:#fff;font-weight:500;font-size:16px;line-height:1;text-decoration:none;cursor:pointer;white-space:nowrap;transition:background-color .2s ease,transform .16s var(--ease)}
.btn:hover{background:var(--blue-up)}
.btn:active{transform:scale(.97)}
.btn-quiet{background:var(--surface-2);color:var(--ink)}
.btn-quiet:hover{background:var(--surface-3)}
.btn-wa{background:#1D9E75;color:#04131F}
.btn-wa:hover{background:#25B386}
.btn-sm{min-height:44px;padding:0 20px;font-size:15px}
.btn-block{width:100%}
.link{color:var(--ink);font-weight:500;text-decoration:underline;text-decoration-color:rgba(241,239,232,.35);text-underline-offset:.25em;transition:text-decoration-color .2s ease}
.link:hover{text-decoration-color:var(--teal-lit)}
.arrow::after{content:"→";display:inline-block;margin-left:.4em;transition:transform .2s var(--ease)}
.arrow:hover::after{transform:translateX(3px)}

/* header: a plain bar */
.head{position:sticky;top:0;z-index:50;background:var(--bg)}
.head .wrap{height:var(--head);display:flex;align-items:center;gap:24px}
.brand{display:inline-flex;align-items:center;min-height:44px;gap:10px;text-decoration:none;font-size:19px;font-weight:500;letter-spacing:-.02em;flex-shrink:0}
.brand svg{width:28px;height:28px}
.brand .nx{color:var(--blue-tint)}.brand .via{color:var(--teal-tint)}.brand .dev{color:var(--soft);font-weight:400;margin-left:2px}
.nav{display:flex;gap:4px;margin-left:auto}
.nav a{font-size:15px;color:var(--soft);text-decoration:none;padding:10px 12px;border-radius:999px;transition:color .2s ease,background-color .2s ease}
.nav a:hover{color:var(--ink);background:var(--surface)}
.nav a[aria-current="page"]{color:var(--ink)}
.head .btn{margin-left:8px}
.menu-btn{display:none;margin-left:auto;background:var(--surface);border:0;border-radius:999px;width:44px;height:44px;align-items:center;justify-content:center;cursor:pointer}
.menu-btn svg{width:20px;height:20px}
.menu{display:none}
@media (max-width:900px){
  .nav{display:none}
  .menu-btn{display:inline-flex}
  .head .btn{margin-left:0;order:3}
  .head .wrap{gap:10px}
  .menu.open{display:block;position:absolute;left:0;right:0;top:var(--head);background:var(--surface);padding:8px var(--pad) 28px}
  .menu a{display:block;padding:14px 0;font-size:20px;text-decoration:none;color:var(--ink)}
}
@media (max-width:420px){.brand .dev{display:none}.head .btn{padding:0 16px}}

/* entrances: content is visible without script */
html.js [data-in]{opacity:0;transform:translateY(24px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
html.js [data-in].in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){html.js [data-in]{transform:none;transition:opacity .4s ease}}

/* ---------- home hero: lit strip, four corners ---------- */
.lit{min-height:calc(100svh - var(--head));display:flex;flex-direction:column;justify-content:center;padding-block:clamp(20px,4vh,44px) clamp(28px,5vh,44px);gap:clamp(18px,3vh,32px)}
.strip-wrap{position:relative}
.strip{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding-inline:calc(50vw - 20vh);cursor:grab;-webkit-overflow-scrolling:touch}
.strip::-webkit-scrollbar{display:none}
.strip.dragging{cursor:grabbing;scroll-snap-type:none}
.strip figure{margin:0;flex:0 0 auto;height:34vh;min-height:220px;max-height:420px;scroll-snap-align:center;position:relative}
.strip img{height:100%;width:auto;user-select:none;-webkit-user-drag:none}
.strip figure::after{content:"";position:absolute;inset:0;background:var(--bg);opacity:.5;transition:opacity .45s var(--ease);pointer-events:none}
.strip figure.on::after,.strip figure:hover::after{opacity:0}
.strip figcaption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.strip-cap{min-height:1.5em;margin-top:12px;font-size:var(--t-small);color:var(--muted);text-align:center}
.lit-foot{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px 48px;align-items:end}
.lit-foot h1{font-size:clamp(32px,3.7vw,60px);letter-spacing:-.035em;line-height:1.02;max-width:17ch}
.lit-foot .lead{margin-top:20px;font-size:clamp(17px,1.3vw,20px);color:var(--soft);max-width:46ch}
.buy{justify-self:end;display:flex;flex-direction:column;align-items:flex-end;gap:14px;text-align:right}
.price{font-size:clamp(28px,2.6vw,40px);letter-spacing:-.03em;font-weight:500;line-height:1}
.price small{display:block;font-size:var(--t-small);letter-spacing:0;font-weight:400;color:var(--muted);margin-top:8px}
.buy-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
@media (max-width:760px){
  .lit{justify-content:flex-start;padding-top:12vh;gap:20px}
  .strip{padding-inline:calc(50vw - 30vh)}
  .strip figure{height:46vh;max-height:none;min-height:240px}
  .strip-cap{text-align:left;padding-inline:var(--pad)}
  .lit-foot{grid-template-columns:1fr;margin-top:8px}
  .buy{justify-self:start;align-items:flex-start;text-align:left}
  .buy-row{justify-content:flex-start}
}

/* intro statement */
.intro{padding-block:var(--gap) 0}
.intro-main{grid-column:1 / span 7}
.nw{white-space:nowrap}
.facts{grid-column:9 / span 4;list-style:none;display:flex;flex-direction:column;gap:4px;align-self:end}
.facts li{display:flex;justify-content:space-between;gap:16px;padding:14px 18px;background:var(--surface)}
.facts li:nth-child(even){background:var(--surface-2)}
.facts span:first-child{white-space:nowrap}
.facts span:last-child{color:var(--soft);text-align:right}
@media (max-width:900px){.intro-main,.facts{grid-column:1 / -1}.facts{margin-top:36px}}

/* showcase: close-up with column card */
.showcase{margin-top:var(--gap);height:100svh;min-height:620px;overflow:hidden}
.showcase>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% 50%}
.showcase .grid{position:relative;height:100%;align-items:center;grid-template-columns:repeat(4,minmax(0,1fr))}
.tag{grid-column:1;min-height:52svh;background:var(--cream);color:var(--charcoal);border-radius:4px;padding:28px 26px 26px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}
.tag h2{font-size:clamp(28px,2.2vw,36px);color:var(--navy);letter-spacing:-.03em}
.tag .variant{font-size:17px;color:#4A4943}
.tag .tag-price{font-size:17px;color:var(--charcoal);font-weight:500}
.tag img{width:100%;aspect-ratio:3/2;object-fit:cover;margin:auto 0 18px;border-radius:2px}
.tag .btn{width:100%}
.tag .tag-note{font-size:var(--t-small);color:#55544E;margin-top:10px}
@media (max-width:1100px){.tag{grid-column:1 / span 2}}
@media (max-width:760px){
  .showcase{height:auto;min-height:0;display:flex;flex-direction:column}
  .showcase>img{position:relative;height:62svh;object-position:70% 50%}
  .showcase .grid{display:block;height:auto;padding:0}
  .tag{min-height:0;border-radius:0;display:grid;grid-template-columns:1fr 96px;align-items:start;text-align:left;padding:22px var(--pad) 26px;gap:4px 16px}
  .tag h2,.tag .variant,.tag .tag-price{grid-column:1}
  .tag img{grid-column:2;grid-row:1 / span 3;width:96px;margin:0}
  .tag .btn,.tag .tag-note{grid-column:1 / -1}
  .tag .btn{margin-top:16px}
}

/* how it works: pictures down a diagonal */
.diag{padding-top:var(--gap)}
.diag .grid{row-gap:0}
.diag h2{grid-column:7 / span 6;grid-row:1;font-size:clamp(36px,4vw,64px);align-self:start;margin-bottom:clamp(96px,10vw,160px)}
.stage{display:contents}
.st-1 .pic{grid-column:1 / span 4;grid-row:1 / span 2}
.st-1 .txt{grid-column:6 / span 4;grid-row:2;align-self:start}
.st-2 .pic{grid-column:5 / span 3;grid-row:3;margin-top:clamp(64px,7vw,112px)}
.st-2 .txt{grid-column:9 / span 4;grid-row:3;align-self:center;margin-top:clamp(64px,7vw,112px)}
.st-3 .pic{grid-column:6 / span 7;grid-row:4;margin-top:clamp(72px,8vw,128px)}
.st-3 .txt{grid-column:1 / span 4;grid-row:4;margin-top:clamp(72px,8vw,128px);align-self:start}
.pic{margin:0}
.pic img{width:100%;height:auto}
.pic figcaption{margin-top:10px}
.txt p{max-width:36ch}
.txt p+p{margin-top:14px}
.txt b{color:var(--ink)}
@media (max-width:900px){
  .diag .grid{display:flex;flex-direction:column;gap:0}
  .diag h2{margin-bottom:28px;font-size:30px}
  .st-1 .pic,.st-2 .pic,.st-3 .pic,.st-1 .txt,.st-2 .txt,.st-3 .txt{margin:0}
  .st-1 .pic{width:100%}
  .st-2 .pic{width:62%;align-self:flex-end;margin-top:56px}
  .st-2 .txt{align-self:flex-end;width:62%}
  .st-3 .pic{width:100%;margin-top:56px}
  .txt{padding-top:16px!important}
}

/* live wake demo */
.sim{background:var(--surface);padding:clamp(16px,2vw,28px);display:flex;flex-direction:column;gap:16px}
.sim svg{width:100%;height:auto;overflow:visible}
.sim .sim-tall{display:none}
@media (max-width:560px){.sim .sim-wide{display:none}.sim .sim-tall{display:block;max-width:400px;margin-inline:auto}}
.sim-bar{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.sim-status{font-size:15px;color:var(--soft);min-height:1.6em}
.sim-status b{color:var(--teal-tint)}
.sim-steps{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;font-size:var(--t-small);color:var(--muted)}
.sim-steps li{padding:10px 12px;background:var(--surface-2);transition:background-color .3s ease,color .3s ease;line-height:1.35}
.sim-steps li.done{color:var(--ink)}
.sim-steps li.now{background:var(--navy);color:var(--ink)}
@media (max-width:640px){.sim-steps{grid-template-columns:1fr}}
.pkt{opacity:0}
.sim .pc-screen{transition:fill .6s ease}
.sim.pc-on .pc-screen{fill:#1F4D7A}
.sim .pc-glow{opacity:0;transition:opacity .6s ease}
.sim.pc-on .pc-glow{opacity:1}
.sim .box-led{transition:opacity .15s linear}
.sim .phone-state-off{transition:opacity .3s}
.sim.pc-on .phone-state-off{opacity:0}
.sim .phone-state-on{opacity:0;transition:opacity .3s}
.sim.pc-on .phone-state-on{opacity:1}

/* why: one-size name columns */
.why{padding-block:var(--gap)}
.why h2{grid-column:1 / span 4;font-size:clamp(24px,2vw,28px);margin-bottom:96px}
.why-col{grid-row:2;font-size:17px;line-height:1.3}
.why-col:nth-of-type(1){grid-column:1 / span 3}
.why-col:nth-of-type(2){grid-column:4 / span 3}
.why-col:nth-of-type(3){grid-column:7 / span 3}
.why-col h3{font-size:17px;font-weight:500;letter-spacing:0;line-height:1.3;margin-bottom:1.3em;color:var(--ink)}
.why-col ul{list-style:none}
.why-col li{color:var(--muted);padding:5px 0;cursor:default;transition:color .2s ease}
.why-col li:hover,.why-col li:focus-visible,.why-col li.on{color:var(--ink)}
.why-col .sum{display:none}
.why-desc{grid-column:10 / span 3;grid-row:2;align-self:start;font-size:17px;line-height:1.45;color:var(--ink);min-height:6em}
.why-desc .wd-pic{width:100%;aspect-ratio:4/3;object-fit:cover;margin-bottom:18px}
@media (max-width:900px){
  .why h2{font-size:24px;margin-bottom:48px;grid-column:1 / -1}
  .why-col{grid-column:1 / -1!important;grid-row:auto;font-size:18px;line-height:1.4;margin-bottom:40px}
  .why-col li{color:var(--soft);padding:3px 0}
  .why-col .sum{display:block;margin-top:14px;color:var(--muted);font-size:16px;line-height:1.5}
  .why-desc{display:none}
}

/* coming next: the box riding down the schedule */
.next{padding-bottom:120px;position:relative}
.next-head{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:clamp(16px,3vw,56px);font-size:clamp(40px,3.8vw,60px);letter-spacing:-.035em}
.next-head .gapbox{width:clamp(150px,15vw,220px);flex:0 0 auto;aspect-ratio:1}
.next-head>span:first-child{justify-self:end}
.rows{margin-top:24px}
.rider{position:absolute;inset:0 0 120px 0;pointer-events:none;display:flex;justify-content:center;z-index:1}
.rider img{position:sticky;top:calc(50vh - 110px);width:clamp(150px,15vw,220px);height:auto;align-self:flex-start}
.row{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,240px) minmax(0,1fr);align-items:center;min-height:96px;padding:18px var(--pad)}
.row:nth-child(odd){background:var(--surface)}
.row h3{font-size:clamp(22px,1.8vw,28px);letter-spacing:-.02em}
.row .note{color:var(--soft);font-size:16px;margin-top:4px}
.row .when{grid-column:3;justify-self:end;text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:10px;font-size:16px;color:var(--soft)}
.row.soon{background:var(--teal);color:#04131F}
.row.soon .note,.row.soon .when{color:#04131F}
.row .btn-quiet{min-height:40px;font-size:14px;padding:0 16px}
@media (max-width:760px){
  .next-head{display:flex;justify-content:center;font-size:34px;gap:12px}
  .next-head .gapbox{width:28vw;background:url(/assets/img/wake-cutout-900.webp) center/contain no-repeat}
  .rider{display:none}
  .row{grid-template-columns:1fr;gap:8px;padding:20px var(--pad)}
  .row h3{font-size:22px}
  .row .when{grid-column:1;justify-self:start;align-items:flex-start;text-align:left}
}

/* closing sentence */
.close{padding-block:30svh 20svh}
.close p{font-size:clamp(18px,1.6vw,22px);max-width:34ch;line-height:1.45}
.close .acts{margin-top:24px;display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.buy-row>.link,.acts>.link,.sim-bar>.link{display:inline-flex;align-items:center;min-height:44px}
@media (max-width:760px){.close{padding-block:20svh 14svh}}

/* footer */
.foot{padding-bottom:30px}
.seller{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(16px,2vw,32px);row-gap:28px;padding-block:56px;font-size:15px;line-height:1.6;color:var(--soft)}
.seller>div:nth-child(1){grid-column:1 / span 4}
.seller>div:nth-child(2){grid-column:5 / span 4}
.seller>div:nth-child(3){grid-column:9 / span 4}
.seller h2{font-size:15px;font-weight:500;color:var(--ink);letter-spacing:0;margin-bottom:8px;line-height:1.4}
.seller a{color:var(--ink)}
.quiet{display:grid;grid-template-columns:1fr auto 1fr;align-items:baseline;gap:16px;font-size:15px;color:var(--muted);padding-top:24px}
.quiet nav{display:flex;gap:24px;flex-wrap:wrap;justify-content:center}
.quiet a{color:var(--ink);text-decoration:none}
.quiet a:hover{text-decoration:underline;text-decoration-color:var(--teal-lit)}
.quiet .end{justify-self:end;display:flex;gap:20px}
@media (max-width:900px){
  .seller>div{grid-column:1 / -1!important}
  .quiet{grid-template-columns:1fr;gap:8px;font-size:14px}
  .quiet nav{justify-content:flex-start;gap:8px 20px}
  .quiet .end{justify-self:start}
}

/* ---------- inner pages ---------- */
.page-top{padding-block:clamp(56px,9vw,128px) clamp(40px,6vw,80px)}
.page-top h1{font-size:var(--t-display);letter-spacing:-.04em;line-height:.98;max-width:14ch}
.page-top .lead{margin-top:28px;color:var(--soft);max-width:44ch}
.page-top.split .grid{align-items:end}
.page-top.split h1{grid-column:1 / span 7}
.page-top.split .side{grid-column:9 / span 4}
@media (max-width:900px){.page-top.split h1,.page-top.split .side{grid-column:1 / -1}.page-top.split .side{margin-top:28px}}
.block{padding-top:var(--gap)}
.block-head{grid-column:1 / span 4}
.block-head h2{font-size:var(--t-h2)}
.block-head p{margin-top:18px;color:var(--soft);max-width:34ch}
.block-body{grid-column:6 / span 7}
@media (min-width:901px){.block-head.sticky{position:sticky;top:calc(var(--head) + 32px);align-self:start}}
@media (max-width:900px){.block-head,.block-body{grid-column:1 / -1}.block-body{margin-top:36px}}

/* wake hero: one object centred */
.obj{padding-top:clamp(16px,3vh,40px);text-align:center}
.stage3d{position:relative;width:min(100%,1100px);height:clamp(320px,56svh,640px);margin-inline:auto;outline:none}
.stage3d>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity .6s ease}
.stage3d canvas{position:absolute;inset:0;opacity:0;transition:opacity .6s ease;cursor:grab}
.stage3d.is-dragging canvas{cursor:grabbing}
.stage3d.live canvas{opacity:1}
.stage3d.live>img{opacity:0}
.stage3d:focus-visible{outline:2px solid var(--blue-tint);outline-offset:-2px}
.obj-cap{font-size:var(--t-small);color:var(--muted);margin-top:4px}
.obj h1{margin-top:clamp(18px,3vh,36px);font-size:var(--t-display);letter-spacing:-.045em;line-height:.95}
.obj .lead{margin:18px auto 0;color:var(--soft);text-align:center;max-width:36ch}
.buybar{margin:clamp(28px,4vh,44px) auto 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 28px}
.buybar .price{text-align:left}
.qty{display:inline-flex;align-items:center;background:var(--surface);border-radius:999px;padding:4px}
.qty button{width:40px;height:40px;border:0;border-radius:999px;background:transparent;cursor:pointer;font-size:20px;line-height:1;transition:background-color .2s ease}
.qty button:hover{background:var(--surface-2)}
.qty button:disabled{opacity:.35;cursor:default;background:transparent}
.qty output{min-width:3.2ch;text-align:center;font-variant-numeric:tabular-nums;font-weight:500}
.buy-note{width:100%;font-size:15px;color:var(--soft)}

/* drag row (signature move) */
.drag{padding-top:var(--gap)}
.drag-head{display:flex;justify-content:space-between;align-items:end;gap:24px}
.drag-head h2{font-size:var(--t-h2)}
.drag-head p{color:var(--muted);font-size:15px;max-width:34ch;text-align:right}
.row-scroll{display:flex;gap:clamp(12px,1.4vw,20px);overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--pad);padding-inline:max(var(--pad),calc((100vw - var(--max))/2 + var(--pad)));padding-bottom:12px;margin-top:40px;scrollbar-width:thin;scrollbar-color:var(--surface-3) transparent;cursor:grab;overscroll-behavior-x:contain}
.row-scroll.dragging{cursor:grabbing;scroll-snap-type:none}
.row-scroll>*{scroll-snap-align:start;flex:0 0 auto}
.row-scroll figure{margin:0;width:min(78vw,820px)}
.row-scroll figure img{width:100%;aspect-ratio:4/3;object-fit:cover;user-select:none;-webkit-user-drag:none}
.row-scroll figure.wide{width:min(86vw,1040px)}
.row-scroll figure.wide img{aspect-ratio:16/10}
.row-scroll figure.tall{width:min(62vw,480px)}
.row-scroll figure.tall img{aspect-ratio:3/4}
.row-scroll figcaption{margin-top:12px}
@media (max-width:760px){.drag-head{display:block}.drag-head p{text-align:left;margin-top:12px}}

/* features list */
.feats{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:56px 48px}
.feats h3{font-size:clamp(22px,1.9vw,28px);letter-spacing:-.02em;margin-bottom:12px}
.feats p{color:var(--soft);max-width:40ch}
@media (max-width:640px){.feats{grid-template-columns:1fr;gap:40px}}

/* phones: crisp app screens built in HTML */
.phones{list-style:none}
.phone-step{width:clamp(250px,24vw,300px)}
.phone{--w:100%;position:relative;width:100%;aspect-ratio:9/18.6;background:var(--navy);border-radius:36px;padding:10px;color:var(--charcoal)}
.phone::before{content:"";position:absolute;top:18px;left:50%;width:62px;height:6px;margin-left:-31px;border-radius:6px;background:#2A4A70;z-index:2}
.scr{position:relative;height:100%;background:#F6F4EE;border-radius:27px;overflow:hidden;display:flex;flex-direction:column;font-size:13px;line-height:1.35}
.scr-bar{background:var(--blue);color:#fff;padding:38px 18px 16px;font-size:16px;font-weight:500;letter-spacing:-.01em}
.scr-body{flex:1;padding:16px 16px 18px;display:flex;flex-direction:column;gap:10px}
.scr .s-btn{margin-top:auto;background:var(--teal);color:#fff;border-radius:999px;text-align:center;padding:12px;font-weight:500;font-size:14px}
.scr .s-ghost{border:1.5px solid var(--blue);color:var(--blue);border-radius:999px;text-align:center;padding:10px;font-weight:500;font-size:13px;background:#fff}
.scr .s-link{color:var(--blue);font-weight:500;text-align:center;font-size:12.5px}
.scr .s-note{color:#6E6D67;font-size:12px;text-align:center}
.scr .s-cam{background:#1A1A1A;border-radius:12px;aspect-ratio:1;display:grid;place-items:center;position:relative}
.scr .s-cam .qr{width:46%;aspect-ratio:1;background:#fff;padding:5px}
.scr .s-cam .qr svg{width:100%;height:100%}
.scr .s-cam::before,.scr .s-cam::after{content:"";position:absolute;inset:14%;border:3px solid var(--teal);border-radius:6px;clip-path:polygon(0 0,22% 0,22% 3px,3px 3px,3px 22%,0 22%,0 78%,3px 78%,3px calc(100% - 3px),22% calc(100% - 3px),22% 100%,78% 100%,78% calc(100% - 3px),calc(100% - 3px) calc(100% - 3px),calc(100% - 3px) 78%,100% 78%,100% 22%,calc(100% - 3px) 22%,calc(100% - 3px) 3px,78% 3px,78% 0,100% 0,100% 100%,0 100%)}
.scr .s-cam::after{display:none}
.scr .s-ring{width:62%;aspect-ratio:1;margin:8px auto 4px;border-radius:50%;background:#E6F1FB;display:grid;place-items:center}
.scr .s-ring svg{width:48%}
.scr .s-check{display:flex;gap:10px;align-items:center}
.scr .s-check i{width:20px;height:20px;border-radius:50%;background:var(--teal);display:grid;place-items:center;flex:0 0 auto}
.scr .s-check i::after{content:"";width:8px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}
.scr .s-list{display:flex;flex-direction:column;gap:6px}
.scr .s-item{background:#fff;border:1px solid #E0E0E0;border-radius:9px;padding:9px 11px;display:flex;justify-content:space-between;align-items:center;gap:8px} /* taste-skill-ignore: phone-screen mockup (data-ui) */
.scr .s-item.sel{background:#E6F1FB;border:1.5px solid var(--blue)}
.scr .s-item small{display:block;color:#888780;font-size:11px}
.scr .s-bars{display:flex;gap:2px;align-items:flex-end;height:14px}
.scr .s-bars i{width:3px;background:var(--blue);display:block}
.scr .s-bars i:nth-child(1){height:5px}.scr .s-bars i:nth-child(2){height:8px}.scr .s-bars i:nth-child(3){height:11px}.scr .s-bars i:nth-child(4){height:14px}
.scr .s-bars.w3 i:nth-child(4),.scr .s-bars.w2 i:nth-child(3),.scr .s-bars.w2 i:nth-child(4){background:#D5D3CC}
.scr .s-field{border:1px solid #9C9B94;border-radius:8px;padding:9px 11px;background:#fff;letter-spacing:.2em} /* taste-skill-ignore: phone-screen mockup (data-ui) */
.scr .s-label{font-weight:500;font-size:12.5px;margin-top:4px}
.scr .s-dial{width:58%;aspect-ratio:1;margin:6px auto 0;border-radius:50%;background:conic-gradient(var(--teal) 0 84%,#E0E0E0 84% 100%);display:grid;place-items:center} /* taste-skill-ignore: phone-screen mockup (data-ui), the app's timer ring */
.scr .s-dial span{width:78%;aspect-ratio:1;border-radius:50%;background:#F6F4EE;display:grid;place-items:center;font-size:24px;font-weight:500;color:var(--navy)}
.scr .s-ok{color:#0F6E56;font-weight:500;font-size:14px;display:flex;gap:8px;align-items:center}
.scr .s-card{background:#ECE9E0;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:8px}
.scr .s-card b{font-size:17px;color:var(--navy)}
.scr .s-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#888780;margin-right:6px;vertical-align:1px}
.scr .s-dot.on{background:var(--teal)}
.scr .s-wake{background:var(--teal);color:#fff;border-radius:999px;text-align:center;padding:13px;font-weight:500;font-size:15px}
.phone-step>h3{font-size:19px;letter-spacing:-.01em;margin-top:20px;line-height:1.3}
.phone-step>p{margin-top:8px;color:var(--soft);font-size:16px;line-height:1.5;max-width:30ch}

/* ways to change later */
.ways{list-style:none;display:flex;flex-direction:column;gap:4px}
.ways li{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:24px;padding:26px 28px;background:var(--surface)}
.ways li:nth-child(even){background:var(--surface-2)}
.ways h3{font-size:clamp(20px,1.7vw,25px);letter-spacing:-.02em;line-height:1.2}
.ways p{color:var(--soft)}
.ways-note{margin-top:28px;color:var(--soft);max-width:60ch}
@media (max-width:640px){.ways li{grid-template-columns:1fr;gap:10px;padding:22px 20px}}

/* light guide (live) */
.lights{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(24px,3vw,56px);align-items:center}
.macro{margin:0}
.macro-pics{position:relative}
.macro img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.macro .on{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1}
.led-dot{display:inline-block;width:14px;height:14px;border-radius:50%;background:var(--teal-lit);flex:0 0 auto}
.lit-ready{animation:lt-ready 2s steps(1,end) infinite}
.lit-joining{animation:lt-join .26s steps(1,end) infinite}
.lit-working{animation:lt-work 5s steps(1,end) infinite}
.lit-nowifi{animation:lt-slow 2.4s steps(1,end) infinite}
@keyframes lt-ready{0%{opacity:1}7%{opacity:.08}15%{opacity:1}22%{opacity:.08}100%{opacity:.08}}
@keyframes lt-join{0%{opacity:1}50%{opacity:.08}100%{opacity:.08}}
@keyframes lt-work{0%{opacity:1}3.2%{opacity:.08}100%{opacity:.08}}
@keyframes lt-slow{0%{opacity:1}50%{opacity:.08}100%{opacity:.08}}
@media (prefers-reduced-motion:reduce){.lit-ready,.lit-joining,.lit-working,.lit-nowifi{animation-duration:0s;animation:none;opacity:1}}
.states{list-style:none;display:flex;flex-direction:column;gap:4px}
.states button{width:100%;display:grid;grid-template-columns:28px 1fr;gap:6px 16px;align-items:center;text-align:left;padding:18px 20px;background:var(--surface);border:0;border-radius:0;cursor:pointer;transition:background-color .2s ease}
.states button:hover{background:var(--surface-2)}
.states button[aria-pressed="true"]{background:var(--surface-3)}
.states b{font-size:18px;font-weight:500;line-height:1.3}
.states span.m{grid-column:2;color:var(--soft);font-size:16px;line-height:1.45}
@media (max-width:900px){.lights{grid-template-columns:1fr}}

/* practical two-column text */
.prac{display:grid;grid-template-columns:1fr 1fr;gap:56px clamp(32px,4vw,72px)}
.prac h3{font-size:clamp(22px,1.8vw,26px);letter-spacing:-.02em;margin-bottom:16px}
.prac ul{list-style:none;display:flex;flex-direction:column;gap:10px}
.prac li{padding-left:22px;position:relative}
.prac li::before{content:"";position:absolute;left:0;top:.62em;width:8px;height:8px;border-radius:50%;background:var(--teal)}
.prac li.no::before{background:transparent;border:2px solid var(--muted)}
.prac p{color:var(--soft)}
.prac p+p,.prac ul+p{margin-top:12px}
.prac figure{margin:20px 0 0}
@media (max-width:760px){.prac{grid-template-columns:1fr}}
table.spec{width:100%;border-collapse:collapse;font-size:16px}
table.spec th,table.spec td{text-align:left;padding:12px 0;border-bottom:1px solid var(--surface-3);vertical-align:top}
table.spec th{font-weight:400;color:var(--muted);width:36%;padding-right:16px}

/* FAQ */
.faq{display:flex;flex-direction:column;gap:4px}
.faq details{background:var(--surface)}
.faq details:nth-child(even){background:var(--surface-2)}
.faq summary{list-style:none;cursor:pointer;padding:20px 56px 20px 24px;font-size:clamp(18px,1.4vw,20px);font-weight:500;position:relative;line-height:1.35}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:24px;top:50%;width:12px;height:12px;margin-top:-8px;border-right:2px solid var(--soft);border-bottom:2px solid var(--soft);transform:rotate(45deg);transition:transform .25s var(--ease)}
.faq details[open] summary::after{transform:rotate(225deg);margin-top:-2px}
.faq .a{padding:0 24px 22px;color:var(--soft);max-width:68ch}
.faq .a p+p{margin-top:10px}

/* legal block */
.legal{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:4px}
.legal div{background:var(--surface);padding:18px 20px}
.legal dt{font-size:var(--t-small);color:var(--muted)}
.legal dd{margin:6px 0 0;font-size:16px;line-height:1.5}

/* forms */
.form{display:grid;grid-template-columns:1fr 1fr;gap:20px 20px}
.form .full{grid-column:1 / -1}
.field label,.field .lbl{display:block;font-size:15px;font-weight:500;margin-bottom:8px}
.field label span.opt{font-weight:400;color:var(--muted)}
.field input,.field select,.field textarea{width:100%;min-height:52px;padding:12px 14px;background:var(--field);color:var(--ink);border:1px solid var(--field-line);border-radius:10px;font:inherit;font-size:17px;transition:border-color .2s ease,background-color .2s ease}
.field textarea{min-height:110px;resize:vertical;line-height:1.5}
.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23CBC9C0' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;padding-right:40px}
.field input:hover,.field select:hover,.field textarea:hover{border-color:#3C5277}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--blue-tint);background:#0F1F3A}
.field input::placeholder,.field textarea::placeholder{color:#6A6F7C}
.field .hint{font-size:14px;color:var(--muted);margin-top:6px}
.field .err{display:none;font-size:15px;color:var(--error);margin-top:8px}
.field.bad input,.field.bad select,.field.bad textarea{border-color:var(--error)}
.field.bad .err{display:block}
.check,.field label.check{display:flex;gap:12px;align-items:flex-start;font-size:16px;font-weight:400;line-height:1.45;cursor:pointer;margin-bottom:0}
.check input{width:22px;height:22px;margin:1px 0 0;accent-color:var(--blue);flex:0 0 auto}
.hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden} /* taste-skill-ignore: hidden spam trap, not a line */
.form-actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.form-msg{font-size:16px;color:var(--soft)}
.form-msg.bad{color:var(--error)}
@media (max-width:640px){.form{grid-template-columns:1fr}}
.btn[aria-busy="true"]{opacity:.7;cursor:progress}

/* order page */
.order{padding-top:clamp(40px,6vw,88px)}
.order .grid{align-items:start}
.order-main{grid-column:1 / span 7}
.order-side{grid-column:9 / span 4;position:sticky;top:calc(var(--head) + 24px)}
.order-main h1{font-size:clamp(40px,4.6vw,72px);letter-spacing:-.04em;line-height:1}
.order-main>.lead{margin-top:18px;color:var(--soft)}
.order-form{margin-top:48px}
.fs{border:0;margin:0 0 44px;padding:0}
.fs legend{font-size:clamp(20px,1.6vw,24px);font-weight:500;letter-spacing:-.02em;margin-bottom:20px;padding:0}
.qty-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.qty-row .qty input{width:4ch;background:transparent;border:0;color:var(--ink);text-align:center;font:inherit;font-size:20px;font-weight:500;-moz-appearance:textfield;min-height:40px}
.qty-row .qty input::-webkit-inner-spin-button,.qty-row .qty input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.qty-total{font-size:20px;font-weight:500}
.sum{background:var(--surface);padding:24px}
.sum img{width:100%;aspect-ratio:4/3;object-fit:cover;margin-bottom:18px}
.sum h2{font-size:22px;letter-spacing:-.02em}
.sum dl{margin:16px 0 0;display:grid;grid-template-columns:1fr auto;gap:10px 16px;font-size:16px}
.sum dt{color:var(--soft)}
.sum dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}
.sum .total{font-size:20px;font-weight:500;color:var(--ink);padding-top:12px}
.sum .total+dd{font-size:20px;font-weight:500;padding-top:12px}
.plain{list-style:none;margin-top:22px;display:flex;flex-direction:column;gap:4px}
.plain li{background:var(--surface-2);padding:14px 16px;font-size:15px;line-height:1.45}
.plain li b{display:block;font-size:16px;margin-bottom:2px}
@media (max-width:900px){.order-main,.order-side{grid-column:1 / -1}.order-side{position:static;margin-top:16px}}
.done{padding:clamp(28px,3vw,44px);background:var(--surface)}
.done h2{font-size:clamp(30px,3vw,44px);letter-spacing:-.03em}
.done .ref{display:inline-block;margin-top:16px;font-size:clamp(24px,2.4vw,34px);font-weight:500;letter-spacing:.02em;color:var(--teal-tint);font-variant-numeric:tabular-nums}
.done ol{margin:24px 0 0;padding-left:1.3em;display:flex;flex-direction:column;gap:10px;color:var(--soft)}
.done ol li::marker{color:var(--teal-tint)}
.done .acts{margin-top:28px;display:flex;flex-wrap:wrap;gap:14px}
.done dl{margin:24px 0 0;display:grid;grid-template-columns:auto 1fr;gap:6px 20px;font-size:16px}
.done dt{color:var(--muted)}
.done dd{margin:0}
.oops{background:color-mix(in srgb,var(--error) 11%,var(--surface));padding:clamp(24px,3vw,36px)}
.oops .oops-flag{margin:0 0 12px;display:flex;align-items:center;gap:8px;font-size:16px;font-weight:500;color:var(--error)}
.oops h2{font-size:clamp(24px,2.2vw,32px);letter-spacing:-.02em}
.oops p{margin-top:12px;color:var(--soft)}
.oops .acts{margin-top:22px;display:flex;flex-wrap:wrap;gap:14px}

/* dialog for "tell me when it's ready" */
dialog.notify{width:min(520px,calc(100vw - 32px));border:0;border-radius:6px;padding:0;background:var(--surface);color:var(--ink);box-shadow:0 30px 80px rgba(0,0,0,.6)} /* taste-skill-ignore: a real overlay (dialog) */
dialog.notify::backdrop{background:rgba(3,7,16,.72)}
.notify-in{padding:28px}
.notify-in h2{font-size:26px;letter-spacing:-.02em;padding-right:40px}
.notify-in>p{margin-top:10px;color:var(--soft)}
.notify-in form{margin-top:22px;display:flex;flex-direction:column;gap:16px}
.x{position:absolute;top:14px;right:14px;width:44px;height:44px;border:0;border-radius:999px;background:var(--surface-2);cursor:pointer;display:grid;place-items:center}
.x:hover{background:var(--surface-3)}

/* prose pages */
.prose{max-width:72ch}
.prose h2{font-size:clamp(24px,2vw,30px);letter-spacing:-.02em;margin:56px 0 14px}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:19px;margin:28px 0 8px;letter-spacing:-.01em}
.prose p,.prose li{color:var(--soft)}
.prose p+p{margin-top:14px}
.prose ul,.prose ol{padding-left:1.25em;margin:12px 0;display:flex;flex-direction:column;gap:8px}
.prose li::marker{color:var(--teal-tint)}
.prose a{color:var(--ink)}
.prose strong{color:var(--ink)}
.prose .updated{color:var(--muted);font-size:15px}
.howto{counter-reset:none}
.howto li{color:var(--soft)}

/* setup page */
.steps-v{list-style:none;display:flex;flex-direction:column;gap:clamp(64px,8vw,120px)}
.steps-v>li{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,5fr);gap:clamp(24px,4vw,72px);align-items:center}
.steps-v>li:nth-child(even) .phone-wrap{order:2}
.steps-v .phone-wrap{display:flex;justify-content:center}
.steps-v .phone{width:min(280px,70vw)}
.steps-v h3{font-size:var(--t-h2);letter-spacing:-.03em;max-width:16ch}
.steps-v .t p{margin-top:16px;color:var(--soft);max-width:44ch}
.steps-v .t ul{margin-top:14px;padding-left:1.2em;color:var(--soft);display:flex;flex-direction:column;gap:6px}
@media (max-width:760px){.steps-v>li{grid-template-columns:1fr}.steps-v>li:nth-child(even) .phone-wrap{order:0}}
.settings{list-style:none;display:flex;flex-direction:column;gap:4px}
.settings>li{background:var(--surface);padding:clamp(22px,2.4vw,32px)}
.settings>li:nth-child(even){background:var(--surface-2)}
.settings h3{font-size:clamp(20px,1.8vw,26px);letter-spacing:-.02em}
.settings .why-it{margin-top:8px;color:var(--soft)}
.settings ol{margin-top:16px;padding-left:1.3em;display:flex;flex-direction:column;gap:8px;color:var(--ink)}
.settings ol li::marker{color:var(--teal-tint)}
.kbd{display:inline-block;padding:1px 7px;border-radius:5px;background:var(--surface-3);font-size:.9em}

/* 404 */
.lost{min-height:calc(100svh - var(--head));display:grid;align-items:center}
.lost .grid{align-items:center}
.lost .t{grid-column:1 / span 6}
.lost figure{grid-column:7 / span 6;margin:0}
.lost h1{font-size:var(--t-display);letter-spacing:-.045em;line-height:.95}
.lost p{margin-top:20px;color:var(--soft);max-width:40ch}
.lost .acts{margin-top:28px;display:flex;gap:14px;flex-wrap:wrap}
@media (max-width:900px){.lost .t,.lost figure{grid-column:1 / -1}.lost figure{order:-1;margin-bottom:28px}}

/* business / contact */
.who{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.who li{background:var(--surface);padding:24px 26px}
.who li:nth-child(4n+2),.who li:nth-child(4n+3){background:var(--surface-2)}
.who h3{font-size:clamp(20px,1.7vw,24px);letter-spacing:-.02em}
.who p{margin-top:8px;color:var(--soft)}
@media (max-width:640px){.who{grid-template-columns:1fr}.who li:nth-child(n){background:var(--surface)}.who li:nth-child(even){background:var(--surface-2)}}
.contact-ways{list-style:none;display:flex;flex-direction:column;gap:4px}
.contact-ways li{background:var(--surface);padding:22px 24px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center}
.contact-ways li:nth-child(even){background:var(--surface-2)}
.contact-ways b{display:block;font-size:19px}
.contact-ways span{color:var(--soft)}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}.btn:active{transform:none}}
@media print{.head,.foot .quiet nav,.menu-btn{display:none}html.js [data-in]{opacity:1;transform:none}}
