/* ==========================================================================
   Imaro — claymorphism control panel. Soft raised plates, inset wells, orange signal.
   ========================================================================== */
:root {
  --base: #e6e9ef; --bg-hi: #f6f8fb; --sd: 150, 162, 186; --sl: 255, 255, 255; --glow: 255, 111, 16; --glow-d: 190, 70, 0; --glow-l: 255, 190, 130; --gt: #d3d8e1; --gk: #a9b1bf; --sp-a: #ffffff; --sp-b: #eef0f5; --sp-c: #d4dae4;
  --txt: #5e6675;
  --head: #39414f;
  --mute: #8f97a5;
  --o1: #ffa45c;
  --o2: #ff6f10;
  --raise: 14px 16px 32px rgba(var(--sd),.5), -12px -12px 28px rgba(var(--sl),.95), inset 3px 3px 5px rgba(var(--sl),.85), inset -4px -4px 8px rgba(var(--sd),.16);
  --raise-s: 7px 9px 18px rgba(var(--sd),.5), -6px -6px 14px rgba(var(--sl),.95), inset 2px 2px 3px rgba(var(--sl),.85), inset -3px -3px 5px rgba(var(--sd),.16);
  --inset: inset 8px 8px 16px rgba(var(--sd),.45), inset -8px -8px 16px rgba(var(--sl),.95);
  --inset-s: inset 4px 4px 8px rgba(var(--sd),.45), inset -4px -4px 8px rgba(var(--sl),.95);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --display: "Josefin Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--base); }
body {
  margin: 0; color: var(--txt); font: 400 15.5px/1.65 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: radial-gradient(1100px 700px at 12% -8%, var(--bg-hi), var(--base) 65%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); color: var(--head); }
main { padding: 36px 32px 20px 120px; }
.sec { max-width: 1120px; margin: 0 auto 84px; position: relative; scroll-margin-top: 24px; }
.eyebrow { font: 600 12px var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--mute); margin: 0 0 22px 10px; }
.fine { font-size: 12.5px; color: var(--mute); margin-top: 16px; }
.center { text-align: center; }

/* Surfaces */
.panel { background: var(--base); border-radius: 40px; box-shadow: var(--raise); padding: 44px; }
.well { background: var(--base); border-radius: 22px; box-shadow: var(--inset); }

/* Buttons: squishy clay */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 12.5px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--head); background: var(--base); box-shadow: var(--raise-s);
  transition: transform .28s var(--spring), box-shadow .28s, color .2s;
}
.btn:hover { transform: translateY(-2px); color: var(--o2); }
.btn:active { transform: scale(1, .93) translateY(3px); box-shadow: var(--inset-s); }
.btn.primary { color: #fff; background: linear-gradient(180deg, var(--o1), var(--o2)); box-shadow: 7px 10px 22px rgba(var(--glow),.38), -6px -6px 14px rgba(var(--sl),.95), inset 3px 3px 6px rgba(255,255,255,.45), inset -4px -4px 8px rgba(var(--glow-d),.25); text-shadow: 0 1px 1px rgba(var(--glow-d),.3); }
.btn.primary:hover { color: #fff; filter: brightness(1.06); }
.btn.primary:active { box-shadow: inset 4px 4px 9px rgba(var(--glow-d),.45), inset -3px -3px 6px rgba(var(--glow-l),.35); }
.btn.wide { width: 100%; }
.cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.topcta { position: fixed; top: 22px; right: 30px; z-index: 60; padding: 11px 22px; }

/* Dock */
.dock { position: fixed; z-index: 60; left: 26px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; padding: 14px 11px; border-radius: 40px; background: var(--base); box-shadow: var(--raise); }
.dk { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--mute); background: var(--base); box-shadow: var(--raise-s); transition: transform .28s var(--spring), box-shadow .25s, color .2s; }
.dk svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dk:hover { color: var(--head); transform: scale(1.06); }
.dk:active { transform: scale(.94); }
.dk.on { box-shadow: var(--inset-s); color: var(--o2); }
.dk::after { content: attr(data-tip); position: absolute; left: 62px; top: 50%; transform: translateY(-50%) translateX(-6px); padding: 7px 14px; border-radius: 99px; background: var(--base); box-shadow: var(--raise-s); font: 600 11px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--head); white-space: nowrap; opacity: 0; pointer-events: none; transition: .22s; }
.dk:hover::after { opacity: 1; transform: translateY(-50%); }

/* Hero */
.hero { display: flex; align-items: center; gap: 48px; padding: 60px; border-radius: 48px; }
.hero-copy { flex: 1.25; }
.mark { font: 700 13px var(--display); letter-spacing: .34em; color: var(--head); display: flex; align-items: center; gap: 12px; }
.mark i { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(180deg, var(--o1), var(--o2)); box-shadow: 0 0 0 4px rgba(var(--glow),.15); }
.mark span { font-weight: 400; letter-spacing: .16em; text-transform: lowercase; color: var(--mute); font-size: 12px; }
.mark.small { font-size: 12px; }
.hero h1 { font-weight: 300; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.18; letter-spacing: .01em; margin: 28px 0 18px; }
.hero h1 em { font-style: normal; font-weight: 600; color: var(--o2); }
.lede { font-size: 16.5px; max-width: 480px; }
.hero-side { flex: .8; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.gauge { position: relative; width: min(100%, 330px); aspect-ratio: 240 / 140; }
.gauge svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke-linecap: round; }
.gt { stroke: var(--gt); stroke-width: 16; filter: drop-shadow(1px 3px 1px rgba(var(--sl),.95)); }
.gk { stroke: var(--gk); stroke-width: 5; stroke-linecap: butt; stroke-dasharray: .35 3.15; }
.gv { stroke: url(#og); stroke-width: 16; stroke-dasharray: 0 100; filter: drop-shadow(0 5px 6px rgba(var(--glow),.35)); animation: sweep 1.8s var(--spring) .4s forwards; }
@keyframes sweep { to { stroke-dasharray: 64 100; } }
.hub { position: absolute; left: 50%; top: 87%; width: 62px; height: 62px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--base); box-shadow: var(--raise-s); display: grid; place-items: center; }
.hub::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(180deg, var(--o1), var(--o2)); box-shadow: 0 0 12px rgba(var(--glow),.7); }
.gl { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); text-align: center; }
.gl small { display: block; font: 600 10.5px var(--display); letter-spacing: .22em; color: var(--mute); }
.gl b { font: 600 22px var(--display); color: var(--head); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips.left { justify-content: flex-start; margin: 20px 0 26px; }
.chips .well { padding: 8px 18px; border-radius: 99px; box-shadow: var(--inset-s); font-size: 12.5px; color: var(--txt); }

/* Work */
.workgrid { display: flex; align-items: center; gap: 48px; }
.device { flex: 1.7; padding: 22px; border-radius: 44px; }
.screen { position: relative; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; background: #0d0f14; }
.screen iframe { position: absolute; top: 0; left: 0; width: 1280px; height: var(--ph, 3000px); border: 0; transform-origin: 0 0; transform: scale(var(--s, .6)); pointer-events: none; opacity: 0; transition: opacity .7s ease; animation: pan var(--pd, 40s) ease-in-out infinite alternate; }
.screen iframe.on { opacity: 1; }
@keyframes pan { to { translate: 0 calc(var(--s, .6) * var(--pan, 2000) * -1px); } }
.workinfo { flex: 1; }
.seg { display: inline-flex; padding: 6px; border-radius: 99px; box-shadow: var(--inset-s); background: var(--base); gap: 4px; }
.wt { border: 0; background: transparent; padding: 10px 22px; border-radius: 99px; cursor: pointer; font: 600 12px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); transition: transform .28s var(--spring), box-shadow .25s, color .2s; }
.wt.on { background: var(--base); box-shadow: var(--raise-s); color: var(--o2); }
.workinfo h2 { font-weight: 300; font-size: 30px; margin: 28px 0 10px; }

/* Estimate */
.est { display: flex; gap: 40px; padding: 48px; }
.est-left { flex: 1.5; }
.cap { font: 600 11.5px var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin: 30px 0 14px; }
.est-left > .cap:first-child { margin-top: 0; }
.cap small { color: var(--o2); text-transform: none; letter-spacing: .04em; font-weight: 600; margin-left: 6px; }
.seg.block { display: flex; width: 100%; }
.seg.block label { flex: 1; cursor: pointer; position: relative; }
.seg.block input, .tg input, .knobs input { position: absolute; opacity: 0; pointer-events: none; }
.seg.block span { display: block; text-align: center; padding: 12px 8px; border-radius: 99px; font: 600 13px var(--display); letter-spacing: .06em; color: var(--head); transition: transform .28s var(--spring), box-shadow .25s, color .2s; }
.seg.block small { display: block; font: 400 11.5px "DM Sans", sans-serif; color: var(--mute); letter-spacing: 0; margin-top: 1px; }
.seg.block input:checked + span { box-shadow: var(--raise-s); color: var(--o2); }
.seg.block input:focus-visible + span, .tg input:focus-visible ~ span, .knobs input:focus-visible + span { outline: 2px solid var(--o1); outline-offset: 2px; }
.toggles { display: flex; flex-wrap: wrap; gap: 18px 22px; }
.tg { width: calc(50% - 11px); display: flex; align-items: center; gap: 14px; cursor: pointer; position: relative; }
.tg b { flex: none; position: relative; width: 50px; height: 28px; border-radius: 99px; box-shadow: var(--inset-s); background: var(--base); }
.tg b::after { content: ""; position: absolute; top: 3px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--base); box-shadow: var(--raise-s); transition: transform .35s var(--spring), background .25s; }
.tg input:checked ~ b::after { transform: translateX(21px); background: linear-gradient(180deg, var(--o1), var(--o2)); box-shadow: 3px 4px 8px rgba(var(--glow),.4), inset 2px 2px 3px rgba(255,255,255,.5); }
.tg span { display: flex; flex-direction: column; font-size: 14.5px; color: var(--head); line-height: 1.3; }
.tg em { font: 400 11.5px var(--mono); color: var(--mute); font-style: normal; }
.tg input:disabled ~ span, .tg input:disabled ~ b { opacity: .4; }
.tg:has(input:disabled) { cursor: not-allowed; }
.knobs { display: flex; flex-wrap: wrap; gap: 12px; }
.knobs label { cursor: pointer; }
.knobs span { display: block; padding: 9px 20px; border-radius: 99px; background: var(--base); box-shadow: var(--raise-s); font: 600 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); transition: transform .28s var(--spring), box-shadow .25s, color .2s; }
.knobs label:hover span { color: var(--head); transform: translateY(-1px); }
.knobs input:checked + span { box-shadow: var(--inset-s); color: var(--o2); }
.est-right { flex: 1; display: flex; flex-direction: column; padding: 32px; border-radius: 34px; }
.est-right .cap { margin-top: 0; }
.price { font: 300 clamp(40px, 4.4vw, 52px)/1.1 var(--display); color: var(--o2); margin-top: 4px; }
.meta { font-size: 13px; color: var(--mute); margin-top: 2px; }
.eq { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin: 24px 0 18px; }
.eq i { flex: 1; min-height: 12px; border-radius: 9px; box-shadow: var(--inset-s); background: var(--base); transition: height .6s var(--spring), background .3s; }
.eq i.act { background: linear-gradient(180deg, var(--o1), var(--o2)); box-shadow: 3px 5px 10px rgba(var(--glow),.35), inset 2px 2px 3px rgba(255,255,255,.45); }
.break { font: 400 11.5px/1.7 var(--mono); color: var(--mute); margin-bottom: 22px; }
.est-right .btn.wide { margin-top: auto; }

/* Services */
.tiles { display: flex; gap: 30px; align-items: flex-start; }
.tile { flex: 1; padding: 36px; border-radius: 38px; }
.tile:nth-child(2) { margin-top: 38px; }
.ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; box-shadow: var(--raise-s); }
.ico svg { width: 25px; height: 25px; fill: none; stroke: var(--o2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; margin: 26px 0 10px; }
.tile p { color: var(--txt); font-size: 14.5px; }

/* Style picker */
.picker { padding: 44px; }
.pickhead h2 { font-weight: 300; font-size: 27px; margin-bottom: 8px; }
.pickhead p { color: var(--txt); max-width: 560px; }
.tabs { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px; }
.tab { border: 0; cursor: pointer; padding: 10px 22px; border-radius: 99px; background: var(--base); box-shadow: var(--raise-s); font: 600 12px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); transition: transform .28s var(--spring), box-shadow .25s, color .2s; }
.tab b { font-weight: inherit; }
.tab:hover { color: var(--head); transform: translateY(-1px); }
.tab.on { box-shadow: var(--inset-s); color: var(--o2); }
.pickbar { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; margin-top: 26px; font-size: 13.5px; color: var(--mute); }
.pickbar b { color: var(--head); font-weight: 600; }

/* Pricing */
.plans { display: flex; gap: 28px; align-items: center; }
.plan { flex: 1; position: relative; padding: 38px 34px; display: flex; flex-direction: column; gap: 10px; border-radius: 38px; }
.plan h3 { font-weight: 600; font-size: 13.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.pr { font: 300 34px/1.1 var(--display); color: var(--head); }
.when { font: 400 12px var(--mono); color: var(--o2); }
.plan .btn { margin-top: 14px; }
.plan.pop { padding-block: 50px; transform: translateY(-14px); }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 7px 18px; border-radius: 99px; font: 600 10.5px var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--o2); white-space: nowrap; box-shadow: var(--inset-s); }
.care { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding: 24px 32px; border-radius: 28px; }
.care b { color: var(--head); }

/* Process */
.steps { position: relative; display: flex; gap: 20px; padding: 10px 0 0; }
.steps::before { content: ""; position: absolute; left: 22px; right: 40px; top: 27px; height: 10px; border-radius: 99px; box-shadow: var(--inset-s); }
.steps::after { content: ""; position: absolute; left: 22px; top: 27px; height: 10px; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--o1), var(--o2)); box-shadow: 0 3px 8px rgba(var(--glow),.35); transition: width 2s cubic-bezier(.2,.8,.2,1) .3s; }
.steps.show::after { width: calc(100% - 62px); }
.steps li { position: relative; z-index: 1; flex: 1; padding: 70px 18px 0 0; }
.steps b { position: absolute; left: 0; top: 10px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--base); box-shadow: var(--raise-s); font: 700 15px var(--display); color: var(--o2); }
.steps h3 { font-weight: 600; font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.steps p { font-size: 14px; }

/* FAQ */
.faq details { border-radius: 26px; box-shadow: var(--inset); background: var(--base); padding: 22px 30px; margin-bottom: 18px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 500 16.5px "DM Sans", sans-serif; color: var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; box-shadow: var(--raise-s); color: var(--o2); font-size: 20px; line-height: 1; transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 12px; max-width: 640px; font-size: 15px; }

/* Closing */
.start { text-align: center; padding: 60px 40px; }
.start .eyebrow { margin-left: 0; }
.start h2 { font-weight: 300; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; max-width: 560px; margin: 0 auto; }
.start .cta { justify-content: center; }
.aside { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; margin-top: 30px; padding: 22px 32px; border-radius: 28px; transition: transform .3s var(--spring); }
.aside:hover { transform: translateY(-2px); }
.aside b { color: var(--o2); font-weight: 600; }

footer { padding: 0 32px 44px 120px; max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; font-size: 12.5px; color: var(--mute); }
.flinks a { margin-left: 18px; transition: color .2s; } .flinks a:hover { color: var(--o2); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .8s ease, transform .9s var(--spring); }
.reveal.show { opacity: 1; transform: none; }
.plan.pop.reveal.show { transform: translateY(-14px); }

@media (max-width: 1000px) {
  main { padding: 72px 16px 20px; }
  footer { padding: 0 16px 110px; }
  .dock { left: 14px; right: 14px; bottom: 14px; top: auto; transform: none; flex-direction: row; justify-content: space-between; padding: 9px 12px; border-radius: 34px; }
  .dk { width: 42px; height: 42px; } .dk::after { display: none; }
  .topcta { top: 14px; right: 14px; padding: 10px 18px; }
  .panel, .hero, .est, .picker { padding: 28px 22px; border-radius: 32px; }
  .hero, .workgrid, .est, .tiles, .plans { flex-direction: column; align-items: stretch; }
  .hero { gap: 34px; } .workgrid { gap: 30px; } .est { gap: 30px; }
  .tile:nth-child(2) { margin-top: 0; }
  .plan.pop, .plan.pop.reveal.show { transform: none; padding-block: 38px; } .plans { gap: 34px; } .badge { top: -14px; }
  .tg { width: 100%; }
  .seg.block { flex-direction: column; border-radius: 28px; }
  .steps { flex-direction: column; gap: 26px; } .steps::before, .steps::after { display: none; }
  .steps li { padding: 4px 0 0 62px; min-height: 48px; } .steps b { top: 0; }
  .care { padding: 22px; } .start { padding: 44px 22px; } .mark span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .plan.pop.reveal.show { transform: translateY(-14px); }
  .screen iframe { animation: none; }
  .gv { animation: none; stroke-dasharray: 64 100; }
  .steps::after { width: calc(100% - 62px); transition: none; }
}


/* ==========================================================================
   Polish layer: themes, devices, spheres, slider, details
   ========================================================================== */
:focus-visible { outline: 2px solid var(--o1); outline-offset: 3px; }
body { position: relative; }
main, footer { position: relative; z-index: 1; }

/* Themes (light is the default in :root) */
html[data-theme="dark"] {
  color-scheme: dark;
  --base: #22262e; --bg-hi: #2c313c; --txt: #a4acba; --head: #eaeef5; --mute: #7b8392;
  --o1: #ffb06a; --o2: #ff7a1f; --sd: 8, 10, 14; --sl: 44, 49, 60;
  --glow: 255, 122, 31; --glow-d: 150, 60, 0; --glow-l: 255, 176, 106;
  --gt: #181b21; --gk: #5b6373; --sp-a: #4a5160; --sp-b: #2f343e; --sp-c: #1a1d23;
}
html[data-theme="sand"] {
  --base: #eee5d6; --bg-hi: #f8f2e7; --txt: #6c6152; --head: #41372a; --mute: #9a8d79;
  --o1: #f2a96e; --o2: #d95a1b; --sd: 178, 158, 128; --sl: 255, 251, 242;
  --glow: 217, 90, 27; --glow-d: 150, 55, 10; --glow-l: 245, 190, 140;
  --gt: #dccfb9; --gk: #b0a28a; --sp-a: #fff8ec; --sp-b: #f3e9d8; --sp-c: #d9cbb2;
}
html[data-theme="mint"] {
  --base: #dff0e8; --bg-hi: #ecf8f2; --txt: #4e6a5f; --head: #21403a; --mute: #7c978c;
  --o1: #4fd1a5; --o2: #12976a; --sd: 128, 168, 150; --sl: 255, 255, 255;
  --glow: 18, 151, 106; --glow-d: 6, 100, 70; --glow-l: 150, 230, 200;
  --gt: #c6ddd2; --gk: #98b4a7; --sp-a: #f4fffa; --sp-b: #dbeee4; --sp-c: #bcd6c9;
}
html, body { transition: background-color .5s; }

/* Top bar: theme swatches + CTA */
.topbar { position: fixed; top: 22px; right: 30px; z-index: 60; display: flex; align-items: center; gap: 16px; }
.topbar .topcta { position: static; }
.themes { display: flex; gap: 8px; padding: 7px 9px; border-radius: 99px; background: var(--base); box-shadow: var(--raise-s); }
.sw { position: relative; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--c); box-shadow: var(--raise-s); transition: transform .28s var(--spring), box-shadow .25s; }
.sw:hover { transform: scale(1.1); } .sw:active { transform: scale(.9); }
.sw[aria-checked="true"] { box-shadow: var(--inset-s); }
.sw[aria-checked="true"]::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: linear-gradient(180deg, var(--o1), var(--o2)); }

/* Ambient clay spheres */
.spheres { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sp { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 26%, var(--sp-a) 0%, var(--sp-b) 42%, var(--sp-c) 100%);
  box-shadow: inset -14px -16px 34px rgba(var(--sd), .5), inset 8px 8px 18px rgba(var(--sl), .9), 20px 26px 50px rgba(var(--sd), .4);
  transform: translateY(calc(var(--py, 0) * var(--k, -.06) * 1px)); will-change: transform; }
.sp.s1 { width: 84px; height: 84px; right: 5%; top: 430px; --k: -.1; background: radial-gradient(circle at 30% 26%, rgba(255,255,255,.55), transparent 36%), linear-gradient(160deg, var(--o1), var(--o2)); box-shadow: inset -10px -12px 24px rgba(var(--glow-d), .45), inset 6px 6px 14px rgba(255,255,255,.4), 16px 22px 40px rgba(var(--glow), .35); }
.sp.s2 { width: 190px; height: 190px; right: -70px; top: 1500px; --k: -.04; }
.sp.s3 { width: 120px; height: 120px; left: 150px; top: 2700px; --k: -.08; }

/* Hero details */
.hero-side { position: relative; }
.hero-copy > * { animation: rise .9s var(--spring) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; } .hero-copy > *:nth-child(3) { animation-delay: .16s; } .hero-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.needle { position: absolute; left: 50%; top: 87%; width: 4px; height: 74px; margin-left: -2px; border-radius: 4px; transform-origin: 50% 100%; transform: translateY(-100%) rotate(-90deg); background: linear-gradient(180deg, var(--o2), var(--o1)); box-shadow: 2px 3px 6px rgba(var(--glow), .35); animation: needle 1.8s var(--spring) .5s forwards; }
@keyframes needle { to { transform: translateY(-100%) rotate(26deg); } }
.fl { position: absolute; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--base); box-shadow: var(--raise-s); animation: bob 6s ease-in-out infinite; }
.fl.a { width: 80px; height: 80px; left: 0; top: 0; }
.fl.b { width: 66px; height: 66px; right: 0; top: 130px; animation-delay: -3s; }
.fl b { font: 600 18px/1 var(--display); color: var(--head); }
.fl small { font: 600 8.5px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-top: 3px; }
.fl.a::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: conic-gradient(var(--o2) 0 100%, transparent 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); opacity: .9; }
@keyframes bob { 50% { transform: translateY(-9px); } }

/* Section labels with a soft groove */
.eyebrow { display: flex; align-items: center; }
.eyebrow b { color: var(--o2); font-weight: 700; margin-right: 14px; }
.eyebrow::after { content: ""; flex: none; width: 70px; height: 5px; margin-left: 18px; border-radius: 9px; box-shadow: var(--inset-s); }

/* Work: tablet + phone */
.devices { flex: 1.7; position: relative; perspective: 1700px; padding-bottom: 6px; }
.device { flex: none; position: relative; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out; }
.cam { position: absolute; top: 8px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; box-shadow: var(--inset-s); }
.homebar { display: block; width: 90px; height: 6px; margin: 14px auto -4px; border-radius: 99px; box-shadow: var(--inset-s); }
.glare { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.04) 28%, transparent 40%); }
.sb { position: absolute; right: 9px; top: 18%; bottom: 18%; z-index: 3; width: 5px; border-radius: 9px; background: rgba(255,255,255,.26); }
.sb i { position: absolute; left: 0; right: 0; top: 0; height: 22%; border-radius: 9px; background: linear-gradient(var(--o1), var(--o2)); transform: translateY(var(--sy, 0%)); }
.phone { position: absolute; z-index: 3; right: -22px; bottom: -44px; width: 23%; min-width: 150px; padding: 9px; border-radius: 34px; transform: translate3d(calc(var(--px, 0) * 1px), calc(var(--py2, 0) * 1px), 60px); transition: transform .3s ease-out; }
.pscreen { position: relative; aspect-ratio: 9 / 18; border-radius: 26px; overflow: hidden; background: #0d0f14; }
.pscreen iframe { position: absolute; top: 0; left: 0; width: 390px; height: var(--ph, 4000px); border: 0; transform-origin: 0 0; transform: scale(var(--s, .3)); pointer-events: none; opacity: 0; transition: opacity .7s ease; animation: pan var(--pd, 60s) ease-in-out infinite alternate; }
.pscreen iframe.on { opacity: 1; }
.workgrid { padding-bottom: 30px; }
.paused iframe, .paused .sp { animation-play-state: paused; }
.wrow { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.pager { display: flex; align-items: center; gap: 12px; font: 400 12px var(--mono); color: var(--mute); }
.rb { width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer; background: var(--base); color: var(--head); font-size: 20px; line-height: 1; box-shadow: var(--raise-s); transition: transform .28s var(--spring), box-shadow .25s, color .2s; }
.rb:hover { color: var(--o2); transform: translateY(-1px); } .rb:active { transform: scale(.92); box-shadow: var(--inset-s); }

/* Estimate: slider + timeline */
.slider { margin-top: 26px; }
.srow { display: flex; justify-content: space-between; align-items: baseline; }
.srow .cap { margin: 0; }
.srow output { font: 600 15px var(--display); color: var(--o2); }
.hint { font-size: 12.5px; color: var(--mute); margin-top: 12px; }
#pg { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 14px; margin: 14px 0 0; border-radius: 99px; cursor: pointer; background: linear-gradient(90deg, var(--o1), var(--o2)) 0 0 / var(--fill, 50%) 100% no-repeat, var(--base); box-shadow: var(--inset-s); }
#pg::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--base); box-shadow: var(--raise-s); transition: transform .2s var(--spring); }
#pg::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--base); box-shadow: var(--raise-s); }
#pg:active::-webkit-slider-thumb { transform: scale(.9); }
#pg:disabled { opacity: .45; cursor: not-allowed; }
.tl { margin: 0 0 18px; }
.tl span { font: 600 10.5px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.segs { display: flex; gap: 5px; margin-top: 8px; }
.segs i { flex: 1; height: 10px; border-radius: 9px; box-shadow: var(--inset-s); background: var(--base); transition: background .3s; }
.segs i.on { background: linear-gradient(var(--o1), var(--o2)); box-shadow: 2px 3px 6px rgba(var(--glow), .3); }

/* Tiles, plans, footer */
.tile { transition: opacity .8s ease, transform .35s var(--spring); }
.tile:hover { transform: translateY(-6px); }
.ico { transition: box-shadow .3s; } .tile:hover .ico { box-shadow: var(--inset-s); }
.tile .chips.left { margin: 20px 0 0; }
.feat { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 4px; font-size: 14px; }
.feat li { display: flex; align-items: center; gap: 12px; }
.feat li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: var(--inset-s); background: radial-gradient(circle, var(--o2) 0 3px, transparent 4px); }
.totop { flex: none; width: 44px; height: 44px; margin-left: auto; }

@media (max-width: 1000px) {
  .topbar { top: 14px; left: 14px; right: 14px; justify-content: space-between; }
  .topbar .topcta { padding: 10px 18px; }
  .devices { padding-bottom: 34px; } .phone { right: -6px; bottom: -34px; width: 30%; min-width: 108px; padding: 7px; border-radius: 26px; }
  .pscreen { border-radius: 20px; } .workgrid { padding-bottom: 40px; }
  .fl.b { display: none; } .sp.s2, .sp.s3 { display: none; }
  .eyebrow::after { width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .fl { animation: none; } .needle { animation: none; transform: translateY(-100%) rotate(26deg); }
  .pscreen iframe { animation: none; }
}

/* Style picker stage + per-style layouts */
.stage {
  --bg: #d9f5e6; --fg: #0f3d2b; --muted2: #46705d; --btn-bg: #c4ecd7; --btn-fg: #0f3d2b; --btn-border: 0;
  --btn-shadow: 6px 8px 16px rgba(35,120,80,.25), inset -4px -4px 8px rgba(0,60,30,.08), inset 4px 4px 8px rgba(255,255,255,.75);
  --pri-bg: linear-gradient(180deg, #7ee3a9, #3fc183); --pri-fg: #06301c;
  --press: scale(1, .93) translateY(4px); --rb: 999px; --rc: 28px;
  --card-bg: rgba(255,255,255,.45); --card-border: 0;
  --card-shadow: 10px 14px 30px rgba(35,120,80,.2), inset 3px 3px 8px rgba(255,255,255,.7), inset -3px -3px 8px rgba(0,60,30,.06);
  --font: Inter, system-ui, sans-serif; --hw: 800; --stage-bg: radial-gradient(600px 300px at 50% 0, #eafff3, #d9f5e6);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
  padding: 56px; border-radius: 28px; min-height: 420px; background: var(--stage-bg); color: var(--fg);
  font-family: var(--font); position: relative; overflow: hidden;
}
.st-h { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -.03em; font-weight: var(--hw); }
.st-p { margin-top: 14px; color: var(--muted2); max-width: 460px; }
.st-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.st-btn {
  background: var(--btn-bg); color: var(--btn-fg); border: var(--btn-border); border-radius: var(--rb);
  box-shadow: var(--btn-shadow); padding: 13px 24px; font: 700 14px var(--font); cursor: pointer;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s, background .3s, filter .2s;
}
.st-btn.pri { background: var(--pri-bg); color: var(--pri-fg); }
.st-btn:hover { filter: brightness(1.05); }
.st-btn:active { transform: var(--press); }
.st-btn:disabled { opacity: .45; cursor: not-allowed; filter: none; transform: none; }
.st-btn.wide { width: 100%; margin-top: 18px; }
.st-tag { display: inline-block; margin-top: 26px; font: 12px var(--mono); padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.55); color: var(--muted2); }
.st-card { background: var(--card-bg); border: var(--card-border); border-radius: var(--rc); box-shadow: var(--card-shadow); padding: 30px; backdrop-filter: blur(14px); }
.st-card small { font-weight: 800; letter-spacing: .16em; font-size: 12px; opacity: .7; }
.st-price { font-size: 52px; font-weight: 800; letter-spacing: -.04em; margin: 6px 0 14px; } .st-price span { font-size: 16px; font-weight: 500; opacity: .6; letter-spacing: 0; }
.st-card ul { display: grid; gap: 9px; font-size: 14px; } .st-card li::before { content: "● "; color: var(--pri-fg); opacity: .55; font-size: 10px; }

.stage[data-theme="glass"] {
  --fg: #fff; --muted2: rgba(255,255,255,.75); --btn-bg: rgba(255,255,255,.16); --btn-fg: #fff; --btn-border: 1px solid rgba(255,255,255,.4);
  --btn-shadow: 0 8px 24px -8px rgba(20,10,80,.5), inset 0 1px 0 rgba(255,255,255,.5);
  --pri-bg: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.7)); --pri-fg: #3a2bb5; --press: scale(.96); --rb: 14px; --rc: 24px;
  --card-bg: rgba(255,255,255,.14); --card-border: 1px solid rgba(255,255,255,.35); --card-shadow: 0 24px 60px -20px rgba(20,10,80,.6), inset 0 1px 0 rgba(255,255,255,.5);
  --stage-bg: radial-gradient(420px 320px at 15% 20%, #ff7ab8, transparent 60%), radial-gradient(500px 360px at 85% 80%, #4fd1ff, transparent 60%), linear-gradient(135deg, #5b3df5, #2a1a8c);
}
.stage[data-theme="glass"] .st-tag { background: rgba(255,255,255,.18); color: #fff; }
.stage[data-theme="brutal"] {
  --fg: #000; --muted2: #222; --btn-bg: #fff; --btn-fg: #000; --btn-border: 3px solid #000; --btn-shadow: 5px 5px 0 #000;
  --pri-bg: #ff6b9d; --pri-fg: #000; --press: translate(4px, 4px); --rb: 6px; --rc: 10px; --card-bg: #fff; --card-border: 3px solid #000; --card-shadow: 8px 8px 0 #000;
  --font: "JetBrains Mono", ui-monospace, monospace; --hw: 800; --stage-bg: #ffe66d;
}
.stage[data-theme="brutal"] .st-btn:active { box-shadow: 1px 1px 0 #000; }
.stage[data-theme="brutal"] .st-card { backdrop-filter: none; }
.stage[data-theme="brutal"] .st-tag { background: #000; color: #ffe66d; border-radius: 4px; }
.stage[data-theme="aurora"] {
  --fg: #eef0ff; --muted2: #9aa0c8; --btn-bg: rgba(255,255,255,.06); --btn-fg: #eef0ff; --btn-border: 1px solid rgba(255,255,255,.14);
  --btn-shadow: none; --pri-bg: linear-gradient(135deg, #7c5cff, #22d3ee); --pri-fg: #fff; --press: scale(.95); --rb: 12px; --rc: 20px;
  --card-bg: rgba(255,255,255,.05); --card-border: 1px solid rgba(255,255,255,.12); --card-shadow: 0 0 60px -10px rgba(124,92,255,.5);
  --stage-bg: radial-gradient(500px 300px at 20% 0, rgba(124,92,255,.5), transparent 70%), radial-gradient(500px 300px at 90% 100%, rgba(34,211,238,.35), transparent 70%), #080818;
}
.stage[data-theme="aurora"] .st-btn.pri { box-shadow: 0 0 30px rgba(124,92,255,.7); }
.stage[data-theme="aurora"] .st-tag { background: rgba(255,255,255,.07); color: #9aa0c8; }
.stage[data-theme="editorial"] {
  --fg: #1b1b1b; --muted2: #55514a; --btn-bg: transparent; --btn-fg: #1b1b1b; --btn-border: 1px solid #1b1b1b; --btn-shadow: none;
  --pri-bg: #1b1b1b; --pri-fg: #f4efe6; --press: scale(.98); --rb: 0; --rc: 0; --card-bg: transparent; --card-border: 1px solid #1b1b1b; --card-shadow: none;
  --font: Georgia, "Times New Roman", serif; --hw: 400; --stage-bg: #f4efe6;
}
.stage[data-theme="editorial"] .st-h { font-style: italic; letter-spacing: -.02em; }
.stage[data-theme="editorial"] .st-btn { font-family: Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.stage[data-theme="editorial"] .st-card { backdrop-filter: none; }
.stage[data-theme="editorial"] .st-tag { background: transparent; border: 1px solid rgba(27,27,27,.25); border-radius: 0; }
.stage[data-theme="terminal"] {
  --fg: #7dff9b; --muted2: #4fb86a; --btn-bg: transparent; --btn-fg: #7dff9b; --btn-border: 1px solid #7dff9b; --btn-shadow: 0 0 12px rgba(125,255,155,.25);
  --pri-bg: #7dff9b; --pri-fg: #04120a; --press: translateY(2px); --rb: 2px; --rc: 4px; --card-bg: rgba(125,255,155,.04); --card-border: 1px solid rgba(125,255,155,.4); --card-shadow: 0 0 40px -10px rgba(125,255,155,.35);
  --font: "JetBrains Mono", ui-monospace, monospace; --hw: 700; --stage-bg: #050a06;
}
.stage[data-theme="terminal"] .st-h::before { content: "> "; opacity: .6; }
.stage[data-theme="terminal"] .st-tag { background: rgba(125,255,155,.08); color: #4fb86a; border-radius: 2px; }

@media (max-width: 980px) {
  .tabs { grid-template-columns: repeat(2, 1fr); }
  .stage { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
}

/* ==========================================================================
   Layouts: every style also restructures the page (areas, nav, hierarchy)
   ========================================================================== */
.stage {
  grid-template-columns: 1.2fr .8fr;
  grid-template-areas: "nav nav" "main card";
  row-gap: 36px;
}
.st-nav { grid-area: nav; display: flex; gap: 6px; font-size: 13px; font-weight: 600; align-items: center; }
.st-left { grid-area: main; } .st-card { grid-area: card; }
.st-stat { display: none; grid-area: s1; }
.st-stat.s2 { grid-area: s2; }
.st-nav span { padding: 8px 16px; border-radius: var(--rb); opacity: .7; }
.st-nav span:last-child { margin-left: auto; opacity: 1; background: var(--btn-bg); box-shadow: var(--btn-shadow); border: var(--btn-border); }
.st-nav span.cur { opacity: 1; background: rgba(255,255,255,.55); }

/* Glass: centered stack, floating pill nav, horizontal card */
.stage[data-theme="glass"] { grid-template-columns: 1fr; grid-template-areas: "nav" "main" "card"; justify-items: center; text-align: center; }
.stage[data-theme="glass"] .st-nav { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); border-radius: 99px; padding: 6px; backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.stage[data-theme="glass"] .st-nav span { border-radius: 99px; }
.stage[data-theme="glass"] .st-nav span.cur { background: rgba(255,255,255,.28); }
.stage[data-theme="glass"] .st-nav span:last-child { margin-left: 8px; }
.stage[data-theme="glass"] .st-p { margin-inline: auto; } .stage[data-theme="glass"] .st-btns { justify-content: center; }
.stage[data-theme="glass"] .st-card { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 32px; align-items: center; width: min(100%, 720px); text-align: left; }
.stage[data-theme="glass"] .st-card .wide { width: auto; margin: 0; }
.stage[data-theme="glass"] .st-card ul { grid-auto-flow: column; gap: 18px; } .stage[data-theme="glass"] .st-card small { display: none; }

/* Brutalist: heavy header band, oversized headline, tilted card */
.stage[data-theme="brutal"] { grid-template-columns: 1.5fr 1fr; padding-top: 0; row-gap: 40px; }
.stage[data-theme="brutal"] .st-nav { margin: 0 -56px; padding: 0 56px; background: #000; color: #ffe66d; height: 54px; gap: 0; }
.stage[data-theme="brutal"] .st-nav span { border-radius: 0; opacity: 1; padding: 18px 22px; background: none; box-shadow: none; border: 0; letter-spacing: .08em; }
.stage[data-theme="brutal"] .st-nav span.cur { background: #ff6b9d; color: #000; }
.stage[data-theme="brutal"] .st-nav span:last-child { background: #ffe66d; color: #000; }
.stage[data-theme="brutal"] .st-h { font-size: clamp(36px, 5.4vw, 70px); line-height: .95; text-transform: uppercase; }
.stage[data-theme="brutal"] .st-btns { flex-direction: column; align-items: stretch; max-width: 320px; }
.stage[data-theme="brutal"] .st-card { transform: rotate(3deg); }

/* Aurora: bento grid with stat tiles and tall feature card */
.stage[data-theme="aurora"] { grid-template-columns: 1.1fr 1.1fr .9fr; grid-template-areas: "nav nav nav" "main main card" "s1 s2 card"; gap: 18px; }
.stage[data-theme="aurora"] .st-left, .stage[data-theme="aurora"] .st-stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 28px; }
.stage[data-theme="aurora"] .st-stat { display: block; } .stage[data-theme="aurora"] .st-stat b { display: block; font-size: 34px; letter-spacing: -.03em; background: linear-gradient(135deg, #a99bff, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stage[data-theme="aurora"] .st-stat span { color: #9aa0c8; font-size: 13px; }
.stage[data-theme="aurora"] .st-card { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.stage[data-theme="aurora"] .st-nav span { border-radius: 10px; } .stage[data-theme="aurora"] .st-nav span.cur { background: rgba(255,255,255,.1); }

/* Editorial: centered masthead, asymmetric columns, ruled list pricing */
.stage[data-theme="editorial"] { grid-template-columns: 1.5fr 1fr; align-items: start; }
.stage[data-theme="editorial"] .st-nav { justify-content: center; gap: 34px; border-block: 1px solid #1b1b1b; padding: 14px 0; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-family: Inter, sans-serif; }
.stage[data-theme="editorial"] .st-nav span { padding: 0; background: none; box-shadow: none; border: 0; border-radius: 0; margin: 0 !important; }
.stage[data-theme="editorial"] .st-nav span.cur { text-decoration: underline; text-underline-offset: 6px; background: none; }
.stage[data-theme="editorial"] .st-left { padding-right: 36px; border-right: 1px solid #1b1b1b; }
.stage[data-theme="editorial"] .st-h { font-size: clamp(34px, 4.6vw, 58px); }
.stage[data-theme="editorial"] .st-card { padding: 0 0 0 4px; }
.stage[data-theme="editorial"] .st-price { font-size: 40px; font-style: italic; }
.stage[data-theme="editorial"] .st-card ul { gap: 0; } .stage[data-theme="editorial"] .st-card li { padding: 11px 0; border-top: 1px solid rgba(27,27,27,.3); } .stage[data-theme="editorial"] .st-card li::before { content: "— "; font-size: inherit; }

/* Terminal: sidebar navigation inside an app window */
.stage[data-theme="terminal"] { grid-template-columns: 170px 1fr; grid-template-areas: "nav main" "nav card"; align-items: start; padding-top: 70px; column-gap: 36px; row-gap: 22px; }
.stage[data-theme="terminal"]::before { content: "● ● ●    zsh — imaro@studio"; position: absolute; top: 0; left: 0; right: 0; height: 40px; padding: 11px 20px; background: rgba(125,255,155,.08); border-bottom: 1px solid rgba(125,255,155,.3); font: 12px var(--mono); color: #4fb86a; }
.stage[data-theme="terminal"] .st-nav { flex-direction: column; align-items: stretch; gap: 2px; border-right: 1px solid rgba(125,255,155,.3); padding-right: 14px; height: 100%; }
.stage[data-theme="terminal"] .st-nav span { border-radius: 2px; margin: 0 !important; background: none; box-shadow: none; border: 0; }
.stage[data-theme="terminal"] .st-nav span.cur { background: rgba(125,255,155,.14); } .stage[data-theme="terminal"] .st-nav span.cur::before { content: "▸ "; }

/* Clay: top pill nav */
.stage[data-theme="clay"] .st-nav span { border-radius: 999px; }

@media (max-width: 980px) {
  .stage, .stage[data-theme] { grid-template-columns: 1fr; grid-template-areas: "nav" "main" "card"; }
  .stage[data-theme="aurora"] { grid-template-areas: "nav" "main" "s1" "s2" "card"; }
  .stage[data-theme="terminal"] .st-nav { flex-direction: row; flex-wrap: wrap; border-right: 0; padding: 0; height: auto; }
  .stage[data-theme="brutal"] .st-nav { margin: 0 -24px; padding: 0 24px; overflow: hidden; }
  .stage[data-theme="brutal"] .st-card { transform: none; } .stage[data-theme="glass"] .st-card { grid-template-columns: 1fr; text-align: center; } .stage[data-theme="glass"] .st-card ul { grid-auto-flow: row; }
  .stage[data-theme="editorial"] .st-left { border-right: 0; padding-right: 0; }
  .st-nav { flex-wrap: wrap; } .st-nav span:last-child { margin-left: 0; }
}

/* Theme-matched scrollbar: inset clay track, raised accent thumb */
html { scrollbar-width: auto; scrollbar-color: var(--o2) var(--base); }
::-webkit-scrollbar { width: 16px; height: 16px; }
::-webkit-scrollbar-track { background: var(--base); box-shadow: inset 3px 3px 6px rgba(var(--sd), .4), inset -3px -3px 6px rgba(var(--sl), .9); }
::-webkit-scrollbar-thumb { min-height: 48px; border-radius: 99px; border: 4px solid var(--base); background: linear-gradient(180deg, var(--o1), var(--o2)); box-shadow: 2px 3px 6px rgba(var(--glow), .35), inset 1px 1px 2px rgba(255,255,255,.45); }
::-webkit-scrollbar-thumb:hover { filter: brightness(1.08); }
::-webkit-scrollbar-thumb:active { filter: brightness(.95); }
::-webkit-scrollbar-corner { background: var(--base); }

/* five demos: let the switcher wrap */
.workinfo .seg { flex-wrap: wrap; border-radius: 28px; }
.workinfo .wt { padding: 10px 16px; }

.mark img { display: block; border-radius: 9px; box-shadow: 0 6px 12px rgba(var(--sd),.28); }

.sty-see { margin-top: 14px; padding: 11px 22px; font-size: 12px; }
#sty-note { min-height: 3.2em; line-height: 1.5; }

/* stage text must not follow the page theme */
.stage .st-h, .stage .st-price, .stage .st-card h4, .stage .st-card h5 { color: var(--fg); }

.demo-badge { display: inline-block; padding: 7px 16px; border-radius: 99px; box-shadow: var(--inset-s); font-size: 12.5px; color: var(--txt); margin-bottom: 14px; }
.tg.inc em { color: var(--txt); opacity: .65; font-style: normal; }

/* Work section, desktop: phone back on the laptop corner, content clipped to the rounded frames, tidy 3x3 demo tabs */
@media (min-width: 1001px) {
  .phone.panel { box-shadow: 0 0 0 1px rgba(0,0,0,.14), 10px 18px 34px rgba(0,0,0,.28); }
  .screen, .pscreen { isolation: isolate; clip-path: inset(0 round 26px); -webkit-mask-image: -webkit-radial-gradient(white, black); }
  .pscreen { clip-path: inset(0 round 26px); }
  .workinfo .seg { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 28px; width: 100%; }
  .workinfo .wt { padding: 10px 6px; text-align: center; letter-spacing: .1em; }
}

/* Work section, all widths: keep screens inside their rounded frames, cap the phone on tablets */
.screen { isolation: isolate; clip-path: inset(0 round 26px); }
.pscreen { isolation: isolate; clip-path: inset(0 round 26px); }
@media (max-width: 1000px) {
  .pscreen { clip-path: inset(0 round 20px); }
  .phone { width: clamp(108px, 30%, 170px); }
}

@media (max-width: 1000px) {
  .workinfo .seg { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 28px; }
  .workinfo .wt { padding: 10px 2px; text-align: center; letter-spacing: .08em; font-size: 11px; }
}

/* Wordmark logo: "imaro." in Josefin Sans light with an orange period */
.mark.wm { font: 300 30px var(--display); letter-spacing: .01em; text-transform: none; gap: 0; align-items: baseline; }
.mark.wm .wd { font-weight: 600; color: var(--o2); }
.mark.wm span { font: 400 11px var(--display); letter-spacing: .22em; text-transform: uppercase; margin-left: 16px; align-self: center; }
.mark.wm.small { font-size: 22px; }

/* Products we built */
.prodgrid { align-items: stretch; }
.prodgrid .plan { flex: 1 1 0; min-width: 0; }
.prodgrid .plan { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.prodgrid .plan p { margin: 0; }
.prodgrid .plan .btn { margin-top: auto; }

