/* Panels: the website for ESPanel and WebPanel. The panels' own font, their dark screens on a warm light page. */

:root {
  --black: #121110;
  --ink: #1d1a17;
  --text: #3a352f;
  --muted: #70685f;
  --page: #faf7f2;
  --paper: #ffffff;
  --line: #ebe3d8;
  --orange: #f28a30;
  --orange-soft: #fff1e4;
  --orange-line: #f6d2b2;
  --orange-ink: #b0500d;
  --night: #171513;
  --on-night: #ece7e1;
  --on-night-muted: #a59d94;
  --when: #f28a30;
  --and: #3f86cf;
  --then: #2e9d68;
  --radius: 20px;
  --wrap: 1160px;
  --gutter: max(16px, calc((100% - var(--wrap)) / 2));
  --font: Roboto, "Segoe UI", system-ui, -apple-system, sans-serif;
  --stage: radial-gradient(ellipse 85% 75% at 50% 0%, #2f2a25 0%, #1a1816 58%, #121110 100%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--page); color: var(--text); font: 17px/1.6 var(--font); }
img { max-width: 100%; }
a { color: var(--orange-ink); text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* "Web" and "ES" in black, "Panel" in orange. */
.wordmark { color: var(--black); font-weight: 800; letter-spacing: -.035em; white-space: nowrap; }
.wordmark b { color: var(--orange); font-weight: inherit; }
.wordmark .for { font-size: .42em; font-weight: 600; letter-spacing: 0; color: var(--muted, #6f6860); }

/* ---- The top bar on the product pages ---- */
.topbar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; height: 60px;
  padding-inline: var(--gutter); background: rgba(23, 21, 19, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.topbar .home { color: var(--orange); font-size: 24px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.topbar nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.topbar nav::-webkit-scrollbar { display: none; }
.topbar nav a { flex: none; padding: 6px 12px; border-radius: 999px; color: var(--on-night); font-size: 15px; text-decoration: none; }
.topbar nav a:hover { background: rgba(255, 255, 255, .08); }
.topbar nav a.other { color: var(--orange); }

/* ---- Buttons ---- */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--ink);
  color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none; transition: background .15s, color .15s;
}
.button:hover { background: var(--ink); color: var(--page); }
.button.primary { background: var(--orange); border-color: var(--orange); color: var(--black); }
.button.primary:hover { background: #e47a1f; border-color: #e47a1f; }
.button.soon { border-style: dashed; border-color: var(--muted); color: var(--muted); cursor: default; }
.button.soon:hover { background: none; color: var(--muted); }

/* ---- Devices: the screenshots in a tablet or on the ESPanel display ---- */
/* Where a device stands: just the device, with its own shadow, on the page. */
.stage { display: grid; place-items: center; }
.device {
  position: relative; display: block; background: linear-gradient(160deg, #1d1b19, #0b0a09 60%); border: 1.5px solid #36312c;
  box-shadow: 0 26px 60px rgba(30, 20, 10, .28), inset 0 0 0 1px rgba(255, 255, 255, .03);
}
.device img, .device video { display: block; width: 100%; height: auto; }
.device.tablet { padding: 2.4%; border-radius: clamp(12px, 2.6vw, 30px); }
.device.tablet img, .device.tablet video { border-radius: clamp(3px, .5vw, 6px); }
.device.tablet::before {
  content: ''; position: absolute; top: .9%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #2a2724;
}
.device.display { padding: 6.5%; border-radius: 9%; background: linear-gradient(160deg, #1a1816, #0a0908 70%); }
/* A phone: PocketPanel's screenshots (1080 x 2340), a slim bezel and round corners. */
.device.phone { width: min(100%, 300px); padding: 3%; border-radius: 13% / 6%; }
.device.phone img { border-radius: 10% / 4.6%; }
.device.display img { border-radius: 2px; }
/* A picture with its devices drawn in (on a see-through background). */
.shot { display: block; }
.shot img { display: block; width: 100%; height: auto; }
/* A page in the browser: the advanced settings website. */
.browser { display: block; border-radius: 12px; overflow: hidden; background: #1c1a18; box-shadow: 0 26px 60px rgba(30, 20, 10, .25); border: 1px solid #36312c; }
.browser::before {
  content: ''; display: block; height: 26px; background: #2a2724 radial-gradient(circle at 16px 13px, #f26b5b 4px, transparent 5px),
    radial-gradient(circle at 32px 13px, #f2c14e 4px, transparent 5px), radial-gradient(circle at 48px 13px, #5fc46a 4px, transparent 5px);
}
.browser img { display: block; width: 100%; height: auto; }
a.zoom { cursor: zoom-in; }

/* ---- Front page ---- */
.banner {
  position: relative; overflow: hidden; padding: clamp(56px, 11vw, 132px) var(--gutter) clamp(48px, 8vw, 96px);
  background: var(--stage); color: var(--on-night); text-align: center;
}
.banner h1 {
  color: var(--orange); font-size: clamp(92px, 24vw, 280px); font-weight: 800; letter-spacing: -.055em; line-height: .82; margin-left: -.04em;
}
.banner p { max-width: 640px; margin: clamp(20px, 3vw, 32px) auto 0; color: var(--on-night-muted); font-size: clamp(18px, 2.2vw, 22px); }
.banner p strong { color: var(--on-night); font-weight: 500; }

.products {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "web es" "kiosk es" "pocket pocket"; gap: 14px clamp(16px, 3vw, 32px);
  padding-block: clamp(32px, 6vw, 72px);
}
.product.web { grid-area: web; }
.product.es { grid-area: es; }
/* PocketPanel, the whole width under them: its words beside two phones (the app, and widgets on the home screen). */
.product.pocket { grid-area: pocket; margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: clamp(20px, 4vw, 48px); }
.product.pocket .stage { aspect-ratio: auto; display: flex; justify-content: center; gap: 6%; grid-row: 1 / span 4; grid-column: 2; }
.product.pocket .stage .phone { width: 40%; }
/* A daughter product, under its parent: a branch line from the parent's card. */
.child {
  grid-area: kiosk; position: relative; display: flex; align-items: center; gap: 16px; margin-left: 28px; padding: 16px 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; color: var(--text); text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.child::before {
  content: ''; position: absolute; left: -22px; top: -15px; width: 16px; height: 42px; border: solid var(--orange); border-width: 0 0 2.5px 2.5px;
  border-bottom-left-radius: 10px;
}
.child:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(60, 40, 20, .09); }
.child-text { display: grid; gap: 2px; min-width: 0; }
.child-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.child .wordmark { font-size: 26px; }
.child-line { color: var(--muted); font-size: 15px; }
.child-go { margin-left: auto; color: var(--orange-ink); font-size: 22px; font-weight: 600; }
.product {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 3vw, 32px); background: var(--paper); border: 1px solid var(--line);
  border-radius: 28px; color: var(--text); text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.product:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(60, 40, 20, .1); }
.product h2 { font-size: clamp(44px, 6.4vw, 72px); line-height: 1; }
.product .tagline { color: var(--ink); font-size: 19px; font-weight: 500; }
.product .stage { aspect-ratio: 4 / 3; }
.product .stage .tablet { width: 84%; }
.product .stage .display { width: 56%; }
.product .more { margin-top: auto; color: var(--orange-ink); font-weight: 600; }
.product:hover .more { text-decoration: underline; text-underline-offset: 3px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ''; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border: solid var(--orange); border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg) translateY(-3px);
}

.together { padding-block: clamp(40px, 7vw, 80px); border-top: 1px solid var(--line); }
.together h2 { font-size: clamp(30px, 4vw, 42px); }
.together > p { max-width: 720px; margin-top: 12px; font-size: 18px; }
.same { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.same div { padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.same h3 { font-size: 18px; margin-bottom: 6px; }
.same p { font-size: 15px; color: var(--muted); }

/* ---- Product pages ---- */
.hero { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(36px, 7vw, 88px); }
.hero .eyebrow { color: var(--muted); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero .eyebrow a { color: var(--orange-ink); text-decoration: none; }
.hero .eyebrow a:hover { text-decoration: underline; }
.hero .tagline .badge { vertical-align: middle; }
.hero h1 { margin-top: 10px; font-size: clamp(56px, 8.5vw, 104px); line-height: .95; }
.hero h1.long { font-size: clamp(46px, 6.2vw, 78px); }
.hero .tagline { margin-top: 18px; color: var(--ink); font-size: clamp(21px, 2.4vw, 26px); font-weight: 500; line-height: 1.3; }
.hero .lead { margin-top: 16px; font-size: 18px; }
.hero .buttons { margin-top: 28px; }
.hero .meta { margin-top: 22px; color: var(--muted); font-size: 15px; }
.hero .stage { padding: clamp(24px, 5vw, 56px); }
.hero .stage .display { width: min(100%, 420px); }

.section { padding-block: clamp(44px, 7vw, 88px); border-top: 1px solid var(--line); }
.section > h2 { font-size: clamp(32px, 4.4vw, 48px); }
.section > .intro { max-width: 760px; margin-top: 12px; font-size: 18px; color: var(--muted); }

.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(32px, 5vw, 56px); }
.feature + .feature { border-top: 1px dashed var(--line); }
.feature:nth-of-type(even) { grid-template-columns: 1.25fr 1fr; }
.feature:nth-of-type(even) .feature-media { order: -1; }
.feature h3 { font-size: clamp(25px, 3vw, 32px); }
.feature h3 .badge { vertical-align: middle; margin-left: 6px; }
.feature p { margin-top: 12px; }
.feature .more { display: inline-block; margin-top: 14px; font-weight: 600; }
.feature .ticks { margin-top: 16px; font-size: 16px; }
.feature-media { display: grid; gap: 14px; }
.feature-media.pair { grid-template-columns: 1fr 1fr; align-items: center; }
.feature-media.trio { grid-template-columns: 1fr 1fr; }
.feature-media.trio > :first-child { grid-column: 1 / -1; }
.feature-media .stage { padding: clamp(14px, 3vw, 28px); }
/* One ESPanel display alone in a section: the size of a pair's, not the whole column. */
.feature-media > .stage:only-child .device.display { width: min(100%, 440px); }
.device-stage { padding: clamp(24px, 5vw, 48px); }
.homey-device {
  width: min(100%, 360px); padding: 18px; border-radius: 22px; background: #232120; color: #ece7e1; font-size: 15px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.hd-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hd-head strong { display: block; font-size: 18px; }
.hd-head small { color: #a59d94; font-size: 13px; }
.hd-icon { width: 42px; height: 30px; border: 3px solid var(--orange); border-radius: 6px; flex: none; }
.homey-device ul { list-style: none; margin: 0; padding: 0; }
.homey-device li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.homey-device li:last-child { border-bottom: 0; padding-bottom: 0; }
.homey-device li > span:first-child { flex: 1; color: #cfc8bf; }
.homey-device b { font-weight: 600; }
.hd-switch { width: 40px; height: 22px; border-radius: 11px; background: var(--orange); position: relative; }
.hd-switch::after { content: ''; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.hd-bar { width: 96px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.hd-bar::before { content: ''; display: block; height: 100%; background: var(--orange); }
.hd-bar.v60::before { width: 60%; }
.hd-bar.v40::before { width: 40%; }

.badge {
  display: inline-block; padding: 2px 10px; border-radius: 999px; border: 1.5px solid var(--orange); color: var(--orange-ink);
  font-size: 13px; font-weight: 600; letter-spacing: 0; line-height: 1.5; white-space: nowrap;
}

.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 8px; padding: 28px;
  background: var(--orange-soft); border: 1px solid var(--orange-line); border-radius: var(--radius); }
.callout h3 { font-size: 24px; }
.callout p { margin-top: 6px; max-width: 640px; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 28px 0 0; }
.specs div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 15px; font-weight: 600; }
.specs dd { margin: 0; color: var(--ink); font-size: 16px; }

/* ---- Flows ---- */
.flow-tools {
  position: sticky; top: 60px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 24px calc(-1 * 8px) 0;
  padding: 12px 8px; background: rgba(250, 247, 242, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.flow-search {
  flex: 1 1 280px; max-width: 460px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper);
  color: var(--ink); font: inherit; font-size: 16px; outline: none;
}
.flow-search:focus { border-color: var(--orange); }
.flow-found { color: var(--muted); font-size: 15px; }
.flow-kind { margin-top: 36px; }
.flow-kind-title { display: flex; align-items: baseline; gap: 10px; font-size: 24px; }
.flow-word { color: var(--kind); font-size: 30px; font-weight: 800; }
.flow-n { padding: 0 9px; border-radius: 999px; background: var(--line); color: var(--muted); font-size: 14px; font-weight: 600; }
.kind-triggers { --kind: var(--when); }
.kind-conditions { --kind: var(--and); }
.kind-actions { --kind: var(--then); }
.flow-group { margin-top: 20px; }
.flow-group-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 17px; }
.flow-group-note { color: var(--muted); font-size: 14px; font-weight: 400; }
.flow-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; margin-top: 10px; }
.flow-card {
  display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 15px; background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--kind); border-radius: 14px;
}
.is-soon .flow-card { border-style: dashed; border-top-style: solid; }
.fc-title { color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.75; }
.fc-arg {
  padding: 2px 9px; border-radius: 999px; background: var(--orange-soft); border: 1px solid var(--orange-line); color: #7f3a08;
  font-weight: 500; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.fc-pick::after { content: ' ▾'; font-size: .8em; }
.fc-drop { border-style: dashed; background: #fff; }
.fc-flip span { color: var(--muted); font-weight: 400; }
.fc-hint { color: var(--muted); font-size: 14px; line-height: 1.5; }
.fc-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; font-size: 13px; }
.fc-tags > span:first-child { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.fc-tag { padding: 1px 8px; border-radius: 6px; background: #f1ece5; color: var(--text); }
.flow-extra { margin-top: 24px; color: var(--muted); font-size: 15px; }
.flow-none { margin-top: 28px; color: var(--muted); }
[hidden] { display: none !important; }

/* ---- "Version 1.5.0" and its changelog ---- */
.version-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: var(--orange-ink);
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px;
}
.version-link:hover { text-decoration-style: solid; }
.version-icon { width: 1em; height: 1em; flex: none; }
.changelog {
  width: min(640px, calc(100vw - 32px)); max-height: min(80vh, 760px); padding: 0; border: 0; border-radius: 20px;
  background: var(--paper); color: var(--text); box-shadow: 0 30px 80px rgba(20, 14, 8, .35);
}
.changelog[open] { display: flex; flex-direction: column; }
.changelog::backdrop { background: rgba(23, 21, 19, .55); }
.changelog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 16px; border-bottom: 1px solid var(--line); }
.changelog-head h2 { font-size: 22px; }
.changelog-close {
  flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--page); color: var(--ink);
  font: 24px/1 var(--font); cursor: pointer;
}
.changelog-close:hover { background: var(--line); }
.changelog-list { list-style: none; margin: 0; padding: 8px 24px 24px; overflow-y: auto; }
.changelog-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.changelog-list li:last-child { border-bottom: 0; }
.changelog-list h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.changelog-list p { margin-top: 6px; font-size: 15px; line-height: 1.55; }

/* ---- Gallery and the picture viewer ---- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; margin-top: 28px; }
.gallery-item { display: flex; flex-direction: column; gap: 10px; color: var(--text); font-size: 15px; text-decoration: none; }
/* Each picture in its device (the display, a tablet, a browser), centred in a box of the same size for all. */
.gallery-shot { display: grid; place-items: center; aspect-ratio: 4 / 3; transition: transform .2s; }
.gallery-item:hover .gallery-shot { transform: scale(1.03); }
.gallery-shot .device, .gallery-shot .browser { box-shadow: 0 10px 24px rgba(30, 20, 10, .22); }
.gallery-shot .device.tablet { width: 100%; border-radius: 12px; }
.gallery-shot .device.tablet img { border-radius: 3px; }
.gallery-shot .device.display { width: 74%; }
.gallery-shot .device.phone { width: 34%; }
.gallery-shot .device.phone img { border-radius: 9% / 4.2%; }
.gallery-shot .browser { width: 100%; border-radius: 8px; }
.gallery-shot .browser::before {
  height: 12px; background: #2a2724 radial-gradient(circle at 9px 6px, #f26b5b 2.5px, transparent 3px),
    radial-gradient(circle at 18px 6px, #f2c14e 2.5px, transparent 3px), radial-gradient(circle at 27px 6px, #5fc46a 2.5px, transparent 3px);
}
.gallery-shot .browser.tall { width: 52%; }
.gallery-shot > img { width: 100%; height: 100%; object-fit: contain; }

.viewer { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(12, 11, 10, .94); }
.viewer::backdrop { background: rgba(12, 11, 10, .6); }
.viewer[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.viewer img { max-width: min(94vw, 1600px); max-height: calc(100vh - 110px); object-fit: contain; border-radius: 10px; }
.viewer p { padding: 14px 16px 22px; color: var(--on-night); font-size: 16px; text-align: center; }
.viewer button {
  position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff; font: 26px/1 var(--font); cursor: pointer;
}
.viewer button:hover { background: rgba(255, 255, 255, .2); }
.viewer .close { top: 14px; right: 14px; }
.viewer .prev { left: 14px; top: 50%; margin-top: -24px; }
.viewer .next { right: 14px; top: 50%; margin-top: -24px; }

/* ---- A page of text: the privacy policy ---- */
.policy { max-width: 760px; padding-block: clamp(32px, 6vw, 64px); }
.policy + .policy { border-top: 1px solid var(--line); }
.policy .eyebrow { color: var(--muted); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.policy .eyebrow a { color: var(--orange-ink); text-decoration: none; }
.policy h1 { margin-top: 10px; font-size: clamp(36px, 5vw, 52px); }
.policy .meta { margin-top: 8px; color: var(--muted); font-size: 15px; }
.policy h2 { margin-top: 32px; font-size: 22px; }
.policy p { margin-top: 12px; }
.policy ul { margin: 12px 0 0; padding-left: 1.2em; }
.policy li { margin-top: 6px; }

/* ---- Footer ---- */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 36px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.footer .home { color: var(--orange); font-weight: 800; letter-spacing: -.03em; font-size: 20px; text-decoration: none; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer nav a { color: var(--text); text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }

.next-product { margin-block: 8px 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px clamp(20px, 3vw, 32px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px; color: var(--text); text-decoration: none; }
.next-product .wordmark { font-size: clamp(36px, 5vw, 52px); }
.next-product:hover { box-shadow: 0 18px 40px rgba(60, 40, 20, .09); }

@media (max-width: 900px) {
  .same { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .products, .hero, .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; }
  .products { grid-template-areas: "web" "kiosk" "es" "pocket"; }
  .product.pocket { grid-template-columns: 1fr; }
  .product.pocket .stage { grid-row: auto; grid-column: auto; }
  .product.es { margin-top: 18px; }
  .feature:nth-of-type(even) .feature-media { order: 0; }
  .hero .stage { order: -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .same { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .topbar { gap: 12px; }
  .topbar nav a { padding: 6px 9px; font-size: 14px; }
  .feature-media.pair { gap: 10px; }
  .child { margin-left: 22px; padding: 14px 16px; }
  .child .wordmark { font-size: 22px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-item { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product, .gallery-item img { transition: none; }
}

/* ---- WebPanel Kiosk's launch (November 2026): a big card on the front page, a strip on the product pages ---- */
.launch {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 48px);
  margin-top: clamp(28px, 5vw, 56px); padding: clamp(24px, 4vw, 48px); border-radius: 28px;
  background: var(--stage); color: var(--on-night); box-shadow: 0 0 0 2px var(--orange), 0 24px 70px rgba(242, 138, 48, .28);
}
.launch-eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0; color: var(--orange); font-size: 15px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.launch-eyebrow img { width: 44px; height: 44px; border-radius: 12px; }
.launch h2 { margin-top: 18px; color: var(--on-night); font-size: clamp(36px, 6vw, 68px); white-space: normal; }
.launch h2 .for { white-space: nowrap; }
.launch h2 .for { color: var(--on-night-muted); font-size: .42em; font-weight: 500; letter-spacing: 0; }
.launch-line { margin: 16px 0 0; color: var(--on-night); font-size: clamp(17px, 1.9vw, 20px); line-height: 1.5; }
.launch .buttons { margin-top: 26px; }
.launch-meta { margin: 18px 0 0; color: var(--on-night-muted); font-size: 14px; }
.launch-stage { display: block; }
.launch-stage .device { transform: rotate(-2deg); transition: transform .3s; }
.launch-stage:hover .device { transform: rotate(0deg) scale(1.02); }
.button.on-dark { border-color: var(--on-night-muted); color: var(--on-night); }
.button.on-dark:hover { background: var(--on-night); color: var(--night); }
.announce {
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px var(--gutter);
  background: var(--orange); color: var(--black); font-size: 15px; line-height: 1.35; text-decoration: none;
}
.announce strong { font-weight: 700; }
.announce-badge { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--black); color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.announce-go { flex: none; font-weight: 700; white-space: nowrap; }
.announce:hover .announce-go { text-decoration: underline; }
@media (max-width: 820px) {
  .launch { grid-template-columns: minmax(0, 1fr); }
  .launch-stage { order: -1; }
}
@media (max-width: 560px) {
  .launch { padding: 20px; border-radius: 22px; }
  .launch-eyebrow { font-size: 13px; }
  .launch .button { padding: 11px 18px; font-size: 15px; }
  .announce { justify-content: flex-start; font-size: 14px; }
  .announce-go { display: none; }
}

code { padding: 1px 6px; border-radius: 6px; background: #f1ece5; color: var(--ink); font: .88em ui-monospace, Consolas, monospace; }
.banner a { color: var(--orange); }

/* ---- PocketPanel: how to become a tester, numbered steps ---- */
.steps-list { counter-reset: step; list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; max-width: 760px; }
.steps-list li { counter-increment: step; position: relative; padding: 14px 18px 14px 64px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.steps-list li::before {
  content: counter(step); position: absolute; left: 16px; top: 13px; width: 32px; height: 32px; border-radius: 50%; background: var(--orange);
  color: var(--ink); display: grid; place-items: center; font-weight: 700;
}
.steps-list a { word-break: break-word; }
/* PocketPanel's phones beside the text: a phone's size, not the column's. */
.feature-media .device.phone { width: min(100%, 210px); }
.feature-media.trio .device.phone { width: min(100%, 190px); }
.hero .device.phone { width: min(100%, 240px); }

/* The front page's "Made to work together" video: the three devices side by side */
.together-video { margin-top: 28px; border-radius: 18px; overflow: hidden; background: #151311; box-shadow: 0 18px 50px rgba(40, 28, 16, .28); }
.together-video video { display: block; width: 100%; height: auto; }
