/* ───────────────────────────────────────────────────────────────────────────
   Guest2Go — site stylesheet (v2)
   Warm paper, ink, one green "status light". Serif for voice, sans for reading,
   mono for the machine-ish details. Structure comes from hairline rules and
   type, not from boxes with shadows.
   ─────────────────────────────────────────────────────────────────────────── */

@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(fonts/plex-sans-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(fonts/plex-sans-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(fonts/plex-sans-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(fonts/plex-mono-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(fonts/plex-mono-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --paper:   #F1EDE4;
  --paper-2: #E8E3D6;
  --card:    #F8F5EE;
  --ink:     #11151A;
  --ink-2:   #2B3138;
  --mute:    #5C6269;
  --line:    #D5CFC1;
  --line-2:  #BDB6A5;

  --signal:      #0D8A4E;   /* fills, dots, rules */
  --signal-ink:  #086236;   /* text on paper, passes contrast */

  --night:      #0D1216;
  --night-2:    #141B21;
  --night-line: #242F38;
  --night-text: #E9E5DB;
  --night-mute: #8C97A1;
  --led:        #3FDC86;
  --amber:      #E8B04A;
  --red:        #E5604D;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
.night :focus-visible, .foot :focus-visible { outline-color: var(--led); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 3px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ── Type ─────────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.022em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(2.7rem, 5.9vw, 5.15rem); }
h2 { font-size: clamp(2.05rem, 4.2vw, 3.45rem); }
h3 { font-size: 1.6rem; line-height: 1.15; }
h1 em, h2 em { font-style: italic; letter-spacing: -0.015em; }
h1, h2, h3 { text-wrap: balance; }
.lede, .points span, .facts li { text-wrap: pretty; }
p { margin: 0; }
.lede { font-size: clamp(1.06rem, 1.45vw, 1.26rem); line-height: 1.55; color: var(--ink-2); max-width: 35em; }
.fine { font-size: 13.5px; color: var(--mute); }

.kicker {
  display: flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute);
}
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none;
       box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 22%, transparent); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--signal) 6%, transparent); } }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none;
  font: 500 15px/1 var(--sans); padding: 16px 22px; border-radius: 3px; border: 1px solid var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-ink  { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--signal-ink); border-color: var(--signal-ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-paper:hover { background: #fff; border-color: #fff; }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(241,237,228,.4); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-sm { padding: 11px 16px; font-size: 14px; }

.tlink { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-2); transition: text-decoration-color .2s; }
.tlink:hover { text-decoration-color: currentColor; }

/* ── Nav ──────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(241,237,228,.93); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand span { font: 500 23px/1 var(--serif); letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; font: 500 14.5px var(--sans); }
.nav-links a { text-decoration: none; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 22px; font: 500 14.5px var(--sans); }
.nav-right .login { text-decoration: none; color: var(--ink-2); }
.nav-right .login:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 3px; padding: 9px 12px; cursor: pointer; font: 500 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: clamp(40px, 6vw, 92px) 0 clamp(56px, 7vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5.5fr) minmax(0, 6.5fr); gap: clamp(32px, 4.5vw, 76px); align-items: center; }
.hero h1 { margin: 24px 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .fine { margin-top: 24px; }
.hero-device { margin-right: calc(-1 * clamp(0px, 4.5vw, 72px)); }

/* The kiosk, drawn as a plain monitor so the screen is the subject */
.device { background: #0A0E12; border-radius: 14px; padding: clamp(6px, 1vw, 11px);
          box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 40px 70px -28px rgba(17,21,26,.55), 0 12px 24px -12px rgba(17,21,26,.3); }
.screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #05080B; }
.screen img.shot { width: 100%; height: 100%; object-fit: cover; }
.stand { width: 17%; height: clamp(14px, 2.2vw, 28px); margin: 0 auto; background: linear-gradient(#1A2128, #0A0E12); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.stand-base { width: 36%; height: 7px; margin: 0 auto; background: #0A0E12; border-radius: 0 0 6px 6px; opacity: .92; }

.hot { position: absolute; z-index: 2; width: 28px; height: 28px; padding: 0; border: 0; cursor: pointer; transform: translate(-50%, -50%); border-radius: 50%;
       display: grid; place-items: center; background: var(--paper); color: var(--ink); font: 500 12px/1 var(--mono);
       box-shadow: 0 0 0 4px rgba(241,237,228,.28), 0 2px 6px rgba(0,0,0,.4); transition: background .2s, transform .2s, box-shadow .2s; }
.hot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(241,237,228,.7); animation: ping 2.8s ease-out infinite; pointer-events: none; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
.hot:hover, .hot.on { background: var(--led); transform: translate(-50%, -50%) scale(1.14); box-shadow: 0 0 0 5px rgba(63,220,134,.3), 0 2px 8px rgba(0,0,0,.45); }
.hot.on::after { animation: none; opacity: 0; }
.hot:focus-visible { outline: 2px solid var(--led); outline-offset: 5px; }

.hot-tip { position: absolute; z-index: 3; width: min(250px, 58%); padding: 14px 16px 15px; border-radius: 4px; background: var(--paper); color: var(--ink-2);
           font: 400 14px/1.5 var(--sans); box-shadow: 0 14px 34px rgba(0,0,0,.5);
           opacity: 0; visibility: hidden; transform: translateY(5px); transition: opacity .2s, transform .2s, visibility .2s; pointer-events: none; }
.hot-tip b { display: block; margin-bottom: 5px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--signal-ink); }
.hot-tip.on { opacity: 1; visibility: visible; transform: none; }

.legend { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: lg; }
.legend button { width: 100%; text-align: left; background: none; border: 0; padding: 4px 6px 4px 0; margin: -4px 0; cursor: pointer; font-size: 14px; line-height: 1.45; color: var(--ink-2); display: grid; grid-template-columns: 22px 1fr; gap: 8px; border-radius: 3px; transition: color .2s; }
.legend button:hover, .legend button.on { color: var(--ink); }
.legend b { font: 500 12px/1 var(--mono); color: var(--paper); background: var(--ink); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; transition: background .2s, color .2s, transform .2s; }
.legend button:hover b, .legend button.on b { background: var(--signal); transform: scale(1.12); }

.demo-launch { position: absolute; right: 12px; top: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
               background: var(--paper); color: var(--ink); border: 0; border-radius: 3px; padding: 10px 14px; font: 500 13px/1 var(--sans);
               box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .2s; }
.demo-launch:hover { transform: translateY(-1px); }
.demo-launch .led { width: 7px; height: 7px; }
.demo-frame { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #05080B; }

/* ── Sections ─────────────────────────────────────────────────────────── */
.sec { padding: clamp(68px, 9vw, 132px) 0; }
.sec-head { max-width: 780px; margin-bottom: clamp(34px, 5vw, 68px); }
.sec-head h2 { margin: 16px 0 20px; }
.sec-head .lede { max-width: 38em; }

/* What guests see */
.showcase { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.tab { display: grid; grid-template-columns: 38px 1fr; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line-2); padding: 18px 0; cursor: pointer; color: var(--mute); }
.tab .n { font: 400 12px/1 var(--mono); letter-spacing: .06em; padding-top: 9px; }
.tab .t { font: 400 25px/1.2 var(--serif); letter-spacing: -0.012em; color: var(--ink-2); transition: color .2s; }
.tab .d { grid-column: 2; font-size: 15px; line-height: 1.55; color: var(--mute); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .3s ease, margin .3s ease; }
.tab:hover .t { color: var(--ink); }
.tab[aria-selected="true"] { border-bottom-color: var(--ink); }
.tab[aria-selected="true"] .t { color: var(--ink); }
.tab[aria-selected="true"] .n { color: var(--signal-ink); }
.tab[aria-selected="true"] .d { max-height: 150px; opacity: 1; margin-top: 8px; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.shots img.on { opacity: 1; }
.caption { margin-top: 16px; font: 400 12.5px/1.5 var(--mono); letter-spacing: .02em; color: var(--mute); }

/* Dark: after every guest */
.night { background: var(--night); color: var(--night-text); }
.night .kicker { color: var(--night-mute); }
.night .lede { color: #C5C2B8; }
.reset-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.reset-grid h2 { margin: 16px 0 22px; }
.facts { list-style: none; margin: 38px 0 0; padding: 0; border-top: 1px solid var(--night-line); }
.facts li { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--night-line); font-size: 15.5px; line-height: 1.5; color: #D4D1C7; }
.facts b { font: 500 12px/1.6 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--led); }

.log { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.log-bar { display: flex; justify-content: space-between; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--night-line); font: 500 11.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--night-mute); }
.log-body { padding: 18px 18px 22px; font: 400 13.5px/1.95 var(--mono); min-height: 214px; }
.row { display: grid; grid-template-columns: 70px 34px 1fr; gap: 8px; color: var(--night-mute); }
.row .tag { color: var(--led); }
.row .msg { color: var(--night-text); }
.js .row { opacity: 0; transform: translateY(5px); transition: opacity .45s ease, transform .45s ease; }
.js .row.in { opacity: 1; transform: none; }
.cursor::after { content: ""; display: inline-block; width: 8px; height: 1.05em; margin-left: 4px; vertical-align: -3px; background: var(--led); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.log-note { padding: 12px 18px; border-top: 1px solid var(--night-line); font-size: 12px; line-height: 1.5; color: var(--night-mute); }

/* Behind the glass */
.band { background: var(--paper-2); border-block: 1px solid var(--line); }
.fleet-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.panel { background: var(--night); color: var(--night-text); border-radius: 8px; overflow: hidden; box-shadow: 0 40px 70px -34px rgba(17,21,26,.6); }
.panel-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--night-line); font: 500 11.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--night-mute); }
.panel-bar .sample { color: var(--amber); }
.unit { display: grid; grid-template-columns: 14px 1fr auto; gap: 16px; align-items: center; padding: 17px 22px; border-bottom: 1px solid var(--night-line); }
.unit:last-of-type { border-bottom: 0; }
.unit .nm { font-size: 16px; }
.unit .sub { display: block; font: 400 12.5px/1.4 var(--mono); color: var(--night-mute); margin-top: 3px; }
.unit .ver { font: 400 12.5px var(--mono); color: var(--night-mute); text-align: right; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 3px rgba(63,220,134,.18); }
.dot.warn { background: var(--amber); box-shadow: 0 0 0 3px rgba(232,176,74,.18); }
.dot.bad  { background: var(--red);   box-shadow: 0 0 0 3px rgba(229,96,77,.2); }
.panel-foot { padding: 14px 22px; border-top: 1px solid var(--night-line); font-size: 12.5px; color: var(--night-mute); }

.points { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.points li { padding: 18px 0; border-bottom: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr; gap: 4px; }
.points b { font: 500 17px/1.3 var(--sans); }
.points span { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.plan { padding: clamp(30px, 4vw, 52px) clamp(20px, 3.4vw, 46px) clamp(34px, 4vw, 56px); }
.plan + .plan { border-left: 1px solid var(--line-2); background: var(--card); }
.plan .tag { font: 500 11.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--signal-ink); }
.plan h3 { font-size: 2.1rem; margin: 12px 0 6px; }
.plan .who { color: var(--mute); font-size: 15.5px; }
.price { font: 400 clamp(3.5rem, 6.4vw, 5.2rem)/1 var(--serif); letter-spacing: -0.035em; margin: 26px 0 4px; }
.price small { font: 400 12.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); margin-left: 12px; letter-spacing: .07em; }
.plan ul { list-style: none; margin: 24px 0 0; padding: 0; }
.plan li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 3px; top: 17px; width: 11px; height: 6px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
.plans-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14.5px; color: var(--mute); }
.plans-note span::before { content: "— "; color: var(--line-2); }

/* Who's behind it */
.spec { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); margin-top: clamp(34px, 5vw, 60px); }
.spec div { padding: 22px 0 0; }
.spec div + div { padding-left: clamp(16px, 3vw, 40px); border-left: 1px solid var(--line-2); }
.spec dt { font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.spec dd { margin: 10px 0 0; font: 400 clamp(1.3rem, 2.2vw, 1.8rem)/1.2 var(--serif); letter-spacing: -0.01em; }
.statement-text { max-width: 820px; }
.statement-text h2 { margin: 16px 0 22px; }

/* Closing call to action */
.cta { background: var(--ink); color: var(--paper); }
.cta h2 { font-size: clamp(2.4rem, 5.6vw, 4.7rem); max-width: 14em; }
.cta p { color: #C5C2B8; margin-top: 22px; max-width: 34em; font-size: 1.12rem; line-height: 1.55; }
.cta .hero-actions { margin-top: 36px; }

/* Footer */
.foot { background: #090D10; color: var(--night-mute); padding: 64px 0 38px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot .brand span { color: var(--night-text); }
.foot .brand img { filter: none; }
.foot p { max-width: 24em; margin-top: 16px; line-height: 1.55; }
.foot h4 { margin: 4px 0 14px; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #6F7983; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; color: #C9C5BA; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #1B242B; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }

/* ── Interactive pieces ───────────────────────────────────────────────── */

/* Live demo pop-up */
.demo-launch { text-decoration: none; }
.screen[data-demo] { cursor: pointer; }
body.demo-open { overflow: hidden; }
.demo-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(9,13,16,.9); overscroll-behavior: contain; }
.demo-modal[hidden] { display: none; }
.demo-in { width: min(1280px, calc(100vw - 40px)); }
.demo-bar { display: flex; align-items: center; gap: 18px; padding: 0 2px 14px; color: var(--night-text); font: 500 12px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.demo-bar .ttl { margin-right: auto; display: flex; align-items: center; gap: 10px; color: var(--night-mute); }
.demo-bar a { color: var(--night-text); text-decoration: none; border-bottom: 1px solid var(--night-line); padding-bottom: 3px; }
.demo-bar a:hover { border-color: var(--led); }
.demo-close { cursor: pointer; background: var(--paper); color: var(--ink); border: 0; border-radius: 3px; padding: 11px 15px; font: 500 13px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.demo-close:hover { background: #fff; }
.demo-device { width: fit-content; max-width: 100%; margin: 0 auto; background: #0A0E12; border-radius: 14px; padding: 10px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.demo-stage { position: relative; overflow: hidden; border-radius: 6px; background: #05080B; aspect-ratio: 16 / 9; width: min(1240px, calc(100vw - 80px), calc((100vh - 190px) * 16 / 9)); }
.demo-load { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; color: var(--night-mute); font: 400 14px/1.5 var(--mono); }
.demo-load a { color: var(--led); }
.demo-hint { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 40px; background: rgba(241,237,228,.96); color: var(--ink); font: 500 14px/1 var(--sans); box-shadow: 0 10px 28px rgba(0,0,0,.45); pointer-events: none; animation: hintbob 2.4s ease-in-out infinite; }
.demo-hint[hidden], .demo-load[hidden], .demo-slow[hidden] { display: none; }
@keyframes hintbob { 50% { transform: translateX(-50%) translateY(-5px); } }
.demo-note { margin-top: 14px; text-align: center; color: var(--night-mute); font-size: 13.5px; }

/* End-the-session panel */
.guest { display: none; }
.log.is-live .guest, .log.is-wiping .guest { display: block; }
.log.is-live .rows, .log.is-wiping .rows { display: none; }
.guest-h { margin-bottom: 12px; font: 500 11.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--amber); }
.guest ul { list-style: none; margin: 0 0 18px; padding: 0; }
.guest li { color: var(--night-text); transition: opacity .35s ease, color .35s ease; }
.guest li::before { content: "\2022"; margin-right: 10px; color: var(--night-mute); }
.guest li.gone { text-decoration: line-through; opacity: .28; }
.btn-led { background: var(--led); color: #06150D; border-color: var(--led); font-weight: 600; }
.btn-led .led { background: #06150D; box-shadow: none; animation: none; }
.btn-led:hover { background: #7BE9AE; border-color: #7BE9AE; }
.btn-led[disabled] { opacity: .5; cursor: default; }
.again { display: none; margin-top: 12px; padding: 0; background: none; border: 0; color: var(--night-mute); font: 400 13px var(--mono); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.again:hover { color: var(--led); }
.log.is-done .again { display: inline-block; }

/* Monitoring controls */
.panel-ctrl { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--night-line); }
.chip { cursor: pointer; background: transparent; color: var(--night-text); border: 1px solid #33414C; border-radius: 3px; padding: 10px 14px; font: 500 13px/1 var(--sans); transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--led); color: #fff; }
.chip[disabled] { opacity: .4; cursor: default; border-color: #33414C; color: var(--night-text); }
.dot { transition: background .3s, box-shadow .3s; }
.unit .sub, .unit .ver { transition: color .3s; }
.unit.flash .sub { color: var(--night-text); }

/* Scroll reveal — only hidden when JS is present, so nothing is lost without it */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; }

html.static *, html.static *::before, html.static *::after { animation: none !important; transition: none !important; }
html.static .rv, html.static .row { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .row { opacity: 1; transform: none; }
}

/* ── Smaller screens ──────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero-grid, .showcase, .reset-grid, .fleet-grid { grid-template-columns: 1fr; }
  .hero-device { margin-right: 0; }
  .fleet-grid .panel { order: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-right .login { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .legend { grid-template-columns: 1fr; gap: 12px; }
  .hot, .hot-tip { display: none; }
  .legend button { cursor: default; }
  .legend button:hover b { background: var(--ink); transform: none; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line-2); }
  .spec { grid-template-columns: 1fr; }
  .spec div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); margin-top: 22px; }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr; }
  .tab .t { font-size: 22px; }
  .demo-launch { right: 8px; top: 8px; padding: 8px 11px; }
  .nav-right .btn { display: none; }
}
