/* ── p-iot.css — the IoT & AI page (iot.html) ───────────────────────────────
   On top of theme.css (tokens), inner-pages.css (.p6-* blocks) and the landing's
   app/iot-scene.css (the sensor scene). Everything here is prefixed .iot-.
   Hidden start states and loops live only under html.fx-motion, so under
   reduced motion (the owner's machine) or a script failure the page is simply
   finished. The hero line and the Ask Airdoot demo are run by app/p-iot.js.  */

/* theme.css pads every non-landing main by 96px for the floating nav, and .p6-hero already starts
   128px down for the same reason; without this the hero would start 224px down. */
body.s6-body:not(.has-hero) .s6-page > main.iot-main { padding-top: 0; }
.iot-main .s6-h2, .iot-main .p6-hero h1 { text-wrap: balance; }
.iot-main .s6-lede, .iot-main .p6-point p, .iot-main .iot-ubody p, .iot-main .iot-aicard .d { text-wrap: pretty; }   /* no one-word last lines ("now.", "better.") */
.iot-main .s6-eyebrow .p6-tag { letter-spacing: .14em; }
/* the eyebrows that name the feature ("IoT & AI", "AI") are neon (app/neon.css): each eyebrow is its glow's stacking
   context; in the capsule (the light hero) the last letter's tracking is taken back, so the letters sit centred in it */
.iot-main .s6-eyebrow { isolation: isolate; }
.iot-main .s6-eyebrow .neon-ai-pill .neon-ai { margin-right: -.22em; }
.iot-main [id] { scroll-margin-top: 92px; }

/* ── hero ── */
.iot-hero .s6-wrap { position: relative; z-index: 1; align-items: start; }
.iot-hero .iot-htext { min-width: 0; }
.iot-hero .iot-hicon { display: block; position: relative; }
.iot-note { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font: 600 14px/1.4 var(--font); color: var(--muted); }
.iot-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(247, 183, 68, .18); flex: none; }
.iot-btn { padding: 0 10px 0 20px; gap: 14px; }
.iot-btn .ic { margin-right: 0; transition: transform .2s var(--ease); } .iot-btn .ic svg { width: 15px; height: 15px; }
@media (hover: hover) { .iot-btn:hover .ic { transform: translateX(3px); } }

.iot-hfig { position: relative; margin: clamp(56px, 7.4vw, 108px) 0 0; min-width: 0; }
.iot-hmedia img { object-position: 62% 50%; transform-origin: 60% 55%; }
html.fx-motion .iot-hmedia img { transform: scale(1.06); transition: transform 1.8s var(--ease); }
html.fx-motion .iot-hfig.in .iot-hmedia img { transform: none; }
.iot-hline .base { stroke: rgba(0, 57, 108, .2); }

/* the socket where the hero line plugs into the photo's top edge (left set by p-iot.js) */
.iot-port { display: none; position: absolute; z-index: 3; top: 0; left: var(--port-x, 30%); width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0, 57, 108, .18), 0 3px 8px -2px rgba(0, 57, 108, .3); }
.iot-hero.has-line .iot-port { display: block; }
.iot-port::after { content: ""; position: absolute; inset: 3.5px; border-radius: 50%; background: var(--gold); }
.iot-port::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(247, 183, 68, .95); opacity: 0; pointer-events: none; }
/* the packet (inner-pages.css p6pk, 3.2 s) reaches the socket near the end of its run; the ring answers it */
html.fx-motion .iot-port::before { animation: iot-ring 3.2s var(--ease) 3.07s infinite; }
@keyframes iot-ring { 0% { transform: scale(1); opacity: .95; } 34% { transform: scale(3.6); opacity: 0; } 100% { transform: scale(3.6); opacity: 0; } }

/* the floating readings card (simulated, labelled so) */
.iot-float { position: absolute; z-index: 4; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lift); }
.iot-live { left: -30px; bottom: -34px; width: 300px; padding: 14px 16px 14px; }
.iot-lhead { display: flex; align-items: center; gap: 10px; }
.iot-lhead > span:nth-child(2) { flex: 1; min-width: 0; }
.iot-lhead .ib { width: 36px; height: 36px; border-radius: 11px; background: #EAF1F8; display: grid; place-items: center; flex: none; }
.iot-lhead .i2 { width: 20px; height: 20px; color: var(--navy); --acc: var(--gold); }
.iot-lhead b { display: block; font: 700 14px/1.25 var(--font); color: var(--ink); white-space: nowrap; }
.iot-lhead small { display: block; margin-top: 2px; font: 500 12px/1.3 var(--font); color: var(--muted); }
.iot-lhead .p6-tag { padding: 5px 7px; font-size: 9.5px; }
.iot-reads { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.iot-reads li { min-width: 0; }
.iot-reads small { display: block; font: 600 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.iot-reads b { display: block; margin-top: 6px; font: 700 20px/1 var(--font); letter-spacing: -.01em; color: var(--navy); font-variant-numeric: tabular-nums; transition: color .4s ease; }
.iot-reads b.hot { color: #B7700C; }
.iot-reads svg { display: block; width: 100%; height: 20px; margin-top: 6px; overflow: visible; }
.iot-reads path { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.iot-state { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font: 600 12.5px/1.2 var(--font); color: #17663A; transition: color .4s ease; }
.iot-state .dot { width: 8px; height: 8px; border-radius: 50%; background: #22A05A; box-shadow: 0 0 0 3px rgba(34, 160, 90, .16); flex: none; transition: background .4s ease, box-shadow .4s ease; }
.iot-state.warm { color: #8C5E0E; } .iot-state.warm .dot { background: var(--gold); box-shadow: 0 0 0 3px rgba(247, 183, 68, .25); }
html.fx-motion .iot-float { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) .5s, transform .9s var(--ease) .5s; }
html.fx-motion .iot-hfig.in .iot-float { opacity: 1; transform: none; }

/* ── the sensor scene (app/iot-scene.css does the rest) ── */
.iot-main .s6-physical { padding-top: clamp(40px, 6vh, 80px); }

/* ── how it will work: one rail runs through the four steps, a packet hops along it ── */
.iot-steps { list-style: none; margin: 0; padding: 0; }
.iot-steps .p6-step { display: flex; flex-direction: column; }
.iot-steps .p6-step::before { margin-bottom: 18px; }
.iot-steps .p6-step::after { content: ""; position: absolute; top: 28px; left: 58px; right: -15px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(0, 57, 108, .18) 40%); transform-origin: 0 50%; }
.iot-steps .p6-step:last-child::after { right: 20px; }
.iot-steps .ib { position: relative; width: 44px; height: 44px; border-radius: 13px; background: #EAF1F8; display: grid; place-items: center; margin-bottom: 16px; }
.iot-steps .ib .i2 { width: 23px; height: 23px; color: var(--navy); --acc: var(--gold); }
.iot-steps .p6-step:last-child .ib { background: var(--navy); } .iot-steps .p6-step:last-child .ib .i2 { color: #fff; }
.iot-steps .ib::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid rgba(247, 183, 68, .9); opacity: 0; pointer-events: none; }
.iot-steps .pk { display: none; position: absolute; z-index: 1; top: 28px; left: 58px; right: -15px; height: 0; pointer-events: none; }
.iot-steps .pk::before { content: ""; position: absolute; left: 0; top: -3.5px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px 2px rgba(247, 183, 68, .55); opacity: 0; }
html.fx-motion .iot-steps .p6-step::after { transform: scaleX(0); transition: transform 1.1s var(--ease) calc(var(--d, 0) * 120ms + 250ms); }
html.fx-motion .iot-steps .p6-step.in::after, html.fx-motion .iot-steps .p6-step:not(.rv6)::after { transform: none; }
/* the loop: each station lights in turn (4.8 s), a packet carries the signal to the next one.
   Paused unless the steps are on screen (p-iot.js toggles .is-live). */
html.fx-motion .iot-steps .pk { display: block; }
html.fx-motion .iot-steps .pk::before { animation: iot-hop 4.8s var(--ease-std) infinite; animation-delay: calc(var(--d, 0) * 1.2s + .25s); }
html.fx-motion .iot-steps .ib::after { animation: iot-station 4.8s var(--ease) infinite; animation-delay: calc(var(--d, 0) * 1.2s); }
@keyframes iot-hop { 0% { left: 0; opacity: 0; } 3% { opacity: 1; } 18% { opacity: 1; } 21% { left: 100%; opacity: 0; } 100% { left: 100%; opacity: 0; } }
@keyframes iot-station { 0% { transform: scale(1); opacity: .95; } 22% { transform: scale(1.35); opacity: 0; } 100% { transform: scale(1.35); opacity: 0; } }
html.fx-motion .iot-steps .pk::before, html.fx-motion .iot-steps .ib::after { animation-play-state: paused; }
html.fx-motion .iot-steps.is-live .pk::before, html.fx-motion .iot-steps.is-live .ib::after { animation-play-state: running; }

/* ── use cases ── */
.iot-usegrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.iot-use { display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
.iot-use:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: transparent; }
.iot-uimg { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(160deg, #DCE5EF, #C9D6E4); }
.iot-uimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--op, 50% 50%); transition: transform .8s var(--ease); }
@media (hover: hover) { .iot-use:hover .iot-uimg img { transform: scale(1.04); } }
.iot-ubody { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; flex: 1; }
.iot-ubody h3 { margin: 0; font: 700 18px/1.25 var(--font); color: var(--ink); }
.iot-ubody p { margin: 0; font: 500 14.5px/1.55 var(--font); color: var(--muted); }
.iot-watch { list-style: none; margin: auto 0 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.iot-watch li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px 5px; border-radius: 7px; background: #EEF3F8; color: var(--navy); font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.iot-watch li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ── the AI panel (navy) ── */
.iot-ai {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-panel);
  padding: clamp(40px, 5.4vw, 80px) clamp(20px, 4.6vw, 72px) clamp(24px, 4.6vw, 72px);
  background:
    radial-gradient(55% 45% at 92% 12%, rgba(10, 74, 133, .95) 0%, rgba(10, 74, 133, 0) 72%),
    radial-gradient(50% 40% at 4% 100%, rgba(0, 57, 108, .95) 0%, rgba(0, 57, 108, 0) 70%),
    radial-gradient(30% 22% at 80% 18%, rgba(247, 183, 68, .08) 0%, rgba(247, 183, 68, 0) 70%),
    var(--navy-deep);
  color: #D5E1EE;
}
.iot-ai::before {   /* blueprint grid, faded toward the edges (as on the landing's navy panel) */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(186, 206, 223, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(186, 206, 223, .055) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(70% 50% at 50% 25%, #000 0%, transparent 80%); mask-image: radial-gradient(70% 50% at 50% 25%, #000 0%, transparent 80%);
}
.iot-ai .s6-h2 { color: #fff; } .iot-ai .s6-h2 .mut { color: #8FB0CF; }
.iot-ai .s6-lede { color: #A9BDD1; margin-top: 14px; max-width: 42ch; }
.iot-aihead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: center; }
.iot-aitext { min-width: 0; }

/* the orb: the Airdoot brain, with the four things it learns from */
.iot-orb { position: relative; margin: 0 clamp(0px, 3vw, 40px) 0 0; width: clamp(220px, 23vw, 330px); aspect-ratio: 1; }
.iot-orbimg { position: absolute; inset: 9%; display: block; border-radius: 50%; box-shadow: 0 0 0 14px rgba(186, 206, 223, .04), 0 0 0 30px rgba(186, 206, 223, .025), 0 30px 60px -20px rgba(0, 0, 0, .55); }
.iot-orbimg img { display: block; width: 100%; height: 100%; object-fit: contain; }
.iot-node { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 10px; border-radius: 999px; white-space: nowrap;
  background: rgba(14, 52, 92, .78); border: 1px solid rgba(186, 206, 223, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 600 12.5px/1 var(--font); color: #fff; }
.iot-node i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(247, 183, 68, .2); flex: none; }
.iot-node.n1 { left: -14%; top: 12%; } .iot-node.n2 { right: -18%; top: 22%; }
.iot-node.n3 { right: -10%; bottom: 12%; } .iot-node.n4 { left: -16%; bottom: 20%; }
.iot-node.n4 i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--gold); }
@keyframes iot-orb-spin { to { transform: rotate(360deg); } }
@keyframes iot-orb-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes iot-node-dot { 0%, 100% { box-shadow: 0 0 0 3px rgba(247, 183, 68, .2); } 50% { box-shadow: 0 0 0 6px rgba(247, 183, 68, 0); } }
html.fx-motion .iot-orbimg { animation: iot-orb-bob 6s ease-in-out infinite; }
html.fx-motion .iot-orbimg img { animation: iot-orb-spin 70s linear infinite; }
html.fx-motion .iot-node:not(.n4) i { animation: iot-node-dot 2.8s ease-in-out infinite; }
html.fx-motion .iot-node.n2 i { animation-delay: -.7s; } html.fx-motion .iot-node.n3 i { animation-delay: -1.4s; }
html.fx-motion .iot-ai :is(.iot-orbimg, .iot-orbimg img, .iot-node i) { animation-play-state: paused; }
html.fx-motion .iot-ai.is-live :is(.iot-orbimg, .iot-orbimg img, .iot-node i) { animation-play-state: running; }

/* the four AI features: buttons that put their question to the demo below */
.iot-aicards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 4.4vw, 56px); }
.iot-aicard { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; text-align: left; cursor: pointer; font: inherit; color: inherit;
  padding: 18px 18px 18px; border-radius: 18px; background: rgba(14, 52, 92, .72); border: 1px solid rgba(186, 206, 223, .16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .25s var(--ease-std), border-color .25s var(--ease-std), transform .3s var(--ease); }
.iot-aicard:hover { background: rgba(20, 64, 110, .8); border-color: rgba(247, 183, 68, .45); transform: translateY(-2px); }
.iot-aicard[aria-pressed="true"] { border-color: rgba(247, 183, 68, .7); background: linear-gradient(rgba(247, 183, 68, .08), rgba(247, 183, 68, .08)), rgba(14, 52, 92, .72); }
.iot-ah { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.iot-aicard .ib { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; flex: none; }
.iot-aicard .i2 { width: 21px; height: 21px; color: #fff; --acc: var(--gold); }
.iot-aicard b { font: 700 16.5px/1.25 var(--font); color: #fff; }
.iot-aicard .d { font: 500 14px/1.5 var(--font); color: #A9BDD1; }
.iot-try { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 6px; font: 700 13.5px/1 var(--font); color: var(--gold); }
.iot-try svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
@media (hover: hover) { .iot-aicard:hover .iot-try svg { transform: translateX(3px); } }

/* Ask Airdoot: a darker inset inside the navy panel */
.iot-ask { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); margin-top: 12px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, rgba(8, 30, 56, .92), rgba(4, 14, 28, .94)); border: 1px solid rgba(186, 206, 223, .14); color: #C4D2E1; }
.iot-ask .side { padding: clamp(22px, 2.4vw, 32px); border-right: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.iot-ask .iot-asktag { align-self: flex-start; background: rgba(141, 186, 230, .16); color: #A9CCF0; }
.iot-ask .side h3 { margin: 6px 0 0; color: #fff; font: 700 22px/1.2 var(--font); letter-spacing: -.01em; }
.iot-ask .side p { margin: 0 0 6px; font: 500 14px/1.55 var(--font); color: #A7B8CB; }
.iot-ask .qs { display: flex; flex-direction: column; gap: 8px; }
.iot-ask .q { text-align: left; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #fff; padding: 11px 14px; border-radius: 12px; font: 600 13.5px/1.35 var(--font); cursor: pointer; transition: background .2s, border-color .2s; }
.iot-ask .q:hover, .iot-ask .q[aria-pressed="true"] { background: rgba(247, 183, 68, .12); border-color: rgba(247, 183, 68, .5); }
.iot-ask .chat { padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
/* fixed height: new messages never push the page around; the log scrolls inside itself */
.iot-ask .log { height: 372px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(186, 206, 223, .25) transparent; }
.iot-ask .log > :first-child { margin-top: auto; }
.iot-ask .msg { max-width: 86%; padding: 12px 15px; border-radius: 16px; font: 500 14.5px/1.6 var(--font); flex: none; }
html.fx-motion .iot-ask .msg { animation: iot-pop .3s var(--ease) both; }
@keyframes iot-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.iot-ask .msg.me { align-self: flex-end; background: var(--gold); color: var(--ink); font-weight: 700; border-bottom-right-radius: 5px; }
.iot-ask .msg.ai { align-self: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-bottom-left-radius: 5px; }
.iot-ask .msg.ai b { color: #fff; } .iot-ask .msg .hl6 { color: var(--gold); font-weight: 700; }
.iot-ask .msg .nw { white-space: nowrap; }
.iot-ask .typing i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--gold); }
html.fx-motion .iot-ask .typing i { animation: iot-blink 1s infinite; } .iot-ask .typing i:nth-child(2) { animation-delay: .2s; } .iot-ask .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes iot-blink { 50% { opacity: .25; } }
.iot-ask form { display: flex; gap: 8px; margin: 0; }
.iot-ask input { flex: 1; min-width: 0; height: 48px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #fff; padding: 0 14px; font: 500 14.5px/1 var(--font); }
.iot-ask input::placeholder { color: #8196AD; }
.iot-ask input:focus { outline: none; border-color: rgba(247, 183, 68, .7); background: rgba(255, 255, 255, .08); }
.iot-ask form .btn { height: 48px; padding: 0 22px; }

/* ── live today ── */
.iot-ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.iot-base .p6-point h3 { margin-top: 6px; }
.iot-more { margin: 22px 0 0; }
.iot-more a { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--font); color: var(--navy); text-decoration: none; }
.iot-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
@media (hover: hover) { .iot-more a:hover svg { transform: translateX(3px); } }

/* ── CTA ── */
.iot-gold { color: var(--gold); }
.iot-cta .s6-h2 { text-wrap: balance; }

/* ── widths ── */
@media (max-width: 1200px) {
  .iot-node.n1 { left: -8%; } .iot-node.n2 { right: -8%; } .iot-node.n3 { right: -4%; } .iot-node.n4 { left: -10%; }
}
@media (max-width: 1100px) {
  .iot-usegrid, .iot-aicards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iot-uimg { aspect-ratio: 16 / 10; }
  .iot-base .p6-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* three short cards still fit in a row */
  /* two columns: the rail ends inside every second card, and no packet leaves it */
  .iot-steps .p6-step:nth-child(2n)::after { right: 20px; }
  .iot-steps .p6-step:nth-child(2n) .pk { display: none !important; }
  .iot-live { left: -18px; }
}
@media (max-width: 900px) {
  .iot-base .p6-points { grid-template-columns: minmax(0, 1fr); }
  .iot-hfig { margin-top: 8px; }
  .iot-live { left: 14px; bottom: -40px; }
  .iot-hero { padding-bottom: 88px; }
  .iot-aihead { grid-template-columns: minmax(0, 1fr); }
  .iot-orb { justify-self: center; margin: 8px 0 0; }
  .iot-ask { grid-template-columns: minmax(0, 1fr); }
  .iot-ask .side { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .iot-ask .qs { flex-direction: row; flex-wrap: wrap; }
  .iot-ask .log { height: 340px; }
}
@media (max-width: 600px) {
  .iot-steps .p6-step::after { right: 20px; }
  .iot-steps .pk { display: none !important; }
  .iot-usegrid, .iot-aicards { grid-template-columns: minmax(0, 1fr); }
  .iot-uimg { aspect-ratio: 16 / 9; }
  .iot-live { left: 10px; right: 10px; width: auto; bottom: -56px; }
  .iot-hero { padding-bottom: 96px; }
  .iot-ai { border-radius: 26px; }
  .iot-orb { width: min(58vw, 230px); }
  .iot-node { font-size: 11.5px; padding: 7px 10px 7px 8px; }
  .iot-node.n1 { left: -22%; top: 6%; } .iot-node.n2 { right: -24%; top: 20%; }
  .iot-node.n3 { right: -20%; bottom: 8%; } .iot-node.n4 { left: -24%; bottom: 20%; }
  .iot-ask { border-radius: 20px; }
  .iot-ask .q { font-size: 13px; padding: 10px 12px; }
  .iot-ask .log { height: 360px; }
  .iot-ask .msg { max-width: 92%; font-size: 14px; }
}

/* calm (app/fx.js): the photo does not settle, its cards and the chat's messages fade in where they are, the orb holds
   still (no bob, no spin); the rings, the steps' line and its dot, the node lights and the typing dots keep going */
html.fx-calm .iot-hmedia img, html.fx-calm .iot-float { transform: none; }
html.fx-calm .iot-orbimg, html.fx-calm .iot-orbimg img { animation: none; }
html.fx-calm .iot-ask .msg { animation-name: fx-fade; }
