/* Tokens mirror appsdisplay-webapp/src/styles.scss so the site and the app read as one product. */
@font-face {
  font-display: swap;
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 200;
  src: url('/fonts/noto-sans-v42-latin-200.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/noto-sans-v42-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 800;
  src: url('/fonts/noto-sans-v42-latin-800.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  src: url('/fonts/nunito-latin-variable.woff2') format('woff2');
}

:root {
  --background-color: #f7f8f7;
  --surface-color: #ffffff;
  --border-color: #e5e7eb;
  --border-color-hover: #9ca3af;
  --ink: #1f2320;
  --ink-secondary: #5c6460;
  --ink-tertiary: #6e7872;

  --accent: #15803d;
  --accent-hover: #166534;
  --accent-live: #22c55e;
  --accent-soft: #e7f6ec;
  --accent-ring: rgb(21 128 61 / 0.35);

  --display-font: 'Nunito', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body-font: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgb(23 25 24 / 0.05);
  --shadow-md: 0 10px 30px -12px rgb(23 25 24 / 0.18);
  --shadow-lg: 0 18px 50px -20px rgb(23 25 24 / 0.28);
  --radius-sm: 0.55rem;
  --radius: 0.85rem;
  --radius-lg: 1.15rem;

  --container: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  scrollbar-color: var(--border-color-hover) transparent;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--background-color);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.display {
  font-family: var(--display-font);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.15;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Buttons — same shape as the webapp's .btn / .btn--outlined */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.6rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.2rem;
  font-family: var(--body-font);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--surface-color), 0 0 0 4px var(--accent-ring);
}

.btn--outlined {
  background: transparent;
  border-color: var(--border-color-hover);
  color: var(--ink);
}

.btn--outlined:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.4;
}

.live-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent-live);
  flex: none;
}

.live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent-live);
  animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(247 248 247 / 0.85);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-color);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}

.logo {
  display: inline-flex;
  color: var(--ink);
}

.logo img {
  height: 1.75rem;
  width: auto;
}

@media (min-width: 640px) {
  .logo img {
    height: 2.1rem;
  }
}

.nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.nav a {
  text-decoration: none;
  transition: color 0.15s;
}

.nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-actions .link-signin {
  display: none;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
}

.header-actions .link-signin:hover {
  color: var(--accent);
}

.header-actions .btn {
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }
  .header-actions .link-signin {
    display: inline-flex;
  }
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  max-width: 14ch;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero__lead {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: var(--ink-secondary);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-tertiary);
}

@media (min-width: 960px) {
  .hero {
    padding: 5rem 0 6rem;
  }
  .hero__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
  }
}

/* The universal screen object: a device frame you look into */
.screen-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  box-shadow: var(--shadow-sm);
}

.device {
  position: relative;
}

.device__bezel {
  background: #1f2320;
  border-radius: var(--radius-lg);
  padding: 0.6rem;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.6s ease;
}

.device.is-lit .device__bezel {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgb(34 197 94 / 0.35), 0 24px 80px -30px rgb(34 197 94 / 0.55);
}

.device__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-lg) - 0.5rem);
  overflow: hidden;
  background: #fff;
}

.device__stand {
  width: 22%;
  height: 0.9rem;
  margin: 0 auto;
  background: linear-gradient(#cfd3d0, #e5e7eb);
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
}

.device__foot {
  width: 34%;
  height: 0.35rem;
  margin: 0 auto;
  border-radius: 999px;
  background: #d5d9d6;
}

.device__status {
  position: absolute;
  top: -0.9rem;
  right: 1rem;
  z-index: 2;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

/* Slides inside the hero device */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.is-active {
  opacity: 1;
}

.slide--split {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.slide--split-even {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pane {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6%;
  min-width: 0;
}

.pane--clock {
  background: #1f2320;
  color: #fff;
  align-items: center;
  text-align: center;
}

.pane--clock .time {
  font-family: var(--display-font);
  font-weight: 900;
  font-size: clamp(1.4rem, 4.2vw, 2.6rem);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.pane--clock .date {
  margin-top: 0.4rem;
  font-size: clamp(0.55rem, 1.1vw, 0.75rem);
  opacity: 0.7;
}

.pane--menu {
  background: #fffaf3;
}

.pane h4 {
  font-size: clamp(0.8rem, 1.8vw, 1.15rem);
  font-weight: 900;
  margin-bottom: 0.6em;
}

.menu-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: clamp(0.55rem, 1.2vw, 0.8rem);
  padding: 0.25em 0;
  border-bottom: 1px dashed #e8dcc8;
}

.menu-row span:last-child {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.pane--hours {
  background: var(--accent-soft);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: clamp(0.55rem, 1.2vw, 0.8rem);
  padding: 0.2em 0;
}

.hours-row.is-today {
  font-weight: 800;
  color: var(--accent);
}

.pane--qr {
  background: #fff;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.pane--qr svg {
  width: 45%;
  height: auto;
}

.pane--qr p {
  font-size: clamp(0.55rem, 1.1vw, 0.75rem);
  color: var(--ink-secondary);
}

.pane--announce {
  background: #fef3c7;
  color: #78350f;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}

.pane--announce svg {
  width: 14%;
  height: auto;
}

.pane--announce h4 {
  font-size: clamp(1rem, 3vw, 1.9rem);
  margin: 0;
}

.pane--announce p {
  font-size: clamp(0.6rem, 1.3vw, 0.9rem);
}

.pane--wifi {
  background: #eff6ff;
  color: #1e3a8a;
  gap: 0.25rem;
}

.pane--wifi .kv {
  font-size: clamp(0.55rem, 1.2vw, 0.8rem);
}

.pane--wifi .kv strong {
  font-family: var(--display-font);
  font-size: 1.25em;
  display: block;
}

/* Hero playlist strip under the device */
.strip {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.6rem;
  justify-content: center;
}

.strip__item {
  width: 4.6rem;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  box-shadow: var(--shadow-sm);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  display: grid;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.strip__item:hover {
  border-color: var(--border-color-hover);
}

.strip__item.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
  transform: translateY(-2px);
}

.strip__item span {
  display: block;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--surface {
  background: var(--surface-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section__head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__head h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section__head p {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--ink-secondary);
}

@media (min-width: 960px) {
  .section {
    padding: 6.5rem 0;
  }
}

/* Steps */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step__visual {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--display-font);
  font-weight: 900;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1.3rem;
  font-weight: 800;
}

.step p {
  margin-top: 0.4rem;
  color: var(--ink-secondary);
}

/* Step 1: mini app grid */
.mini-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  width: 100%;
}

.mini-apps > div {
  aspect-ratio: 4 / 3;
  border-radius: 0.4rem;
  border: 1px solid var(--border-color);
  display: grid;
  place-items: center;
  font-family: var(--display-font);
  font-weight: 900;
  font-size: 0.8rem;
}

.mini-apps > .is-picked {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-ring);
}

/* Step 2: playlist row */
.mini-playlist {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mini-playlist__row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.4rem;
  font-size: 0.78rem;
  color: var(--ink-secondary);
}

.mini-playlist__row.is-dragging {
  box-shadow: var(--shadow-md);
  transform: translateX(0.6rem) rotate(-1deg);
  border-color: var(--border-color-hover);
}

.mini-playlist__thumb {
  width: 2.6rem;
  aspect-ratio: 4 / 3;
  border-radius: 0.3rem;
  border: 1px solid var(--border-color);
  flex: none;
}

.mini-playlist__row strong {
  color: var(--ink);
  display: block;
  font-size: 0.82rem;
}

.mini-playlist__row .dur {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

/* Step 3: pairing code */
.pair {
  text-align: center;
}

.pair__label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-secondary);
}

.pair__code {
  display: flex;
  gap: 0.3rem;
  justify-content: center;
  margin-top: 0.6rem;
}

.pair__code span {
  width: 1.7rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 0.4rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  font-family: var(--display-font);
  font-weight: 900;
  font-size: 1.1rem;
}

.pair__code .gap {
  width: 0.4rem;
  border: 0;
  background: none;
}

.pair__ok {
  margin-top: 0.9rem;
}

/* Apps gallery */
.tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.tab {
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  color: var(--ink-secondary);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
}

.tab:hover {
  border-color: var(--border-color-hover);
  color: var(--ink);
}

.tab[aria-selected='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .apps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .apps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.app-card[hidden] {
  display: none;
}

.app-card .screen-frame {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.app-card:hover .screen-frame {
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.app-card__name {
  font-weight: 800;
  font-size: 0.95rem;
}

.app-card__cat {
  font-size: 0.8rem;
  color: var(--ink-tertiary);
  margin-top: -0.5rem;
}

/* App previews */
.pv {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8%;
  gap: 0.2rem;
}

.pv--dark {
  background: #1f2320;
  color: #fff;
}

.pv-digital {
  font-family: var(--display-font);
  font-weight: 900;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.pv-flip {
  display: flex;
  gap: 0.25rem;
}

.pv-flip span {
  position: relative;
  background: #2d322f;
  border-radius: 0.3rem;
  padding: 0.25rem 0.45rem;
  font-family: var(--display-font);
  font-weight: 900;
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  line-height: 1;
}

.pv-flip span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #1f2320;
}

.pv-word {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.15rem 0.35rem;
  font-size: clamp(0.5rem, 1.2vw, 0.7rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #4b524e;
}

.pv-word .on {
  color: #fff;
}

.pv-big {
  font-family: var(--display-font);
  font-weight: 900;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  line-height: 1.15;
}

.pv-small {
  font-size: clamp(0.6rem, 1.2vw, 0.75rem);
  opacity: 0.75;
}

.pv-quote {
  font-family: var(--display-font);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(0.75rem, 1.6vw, 0.95rem);
  line-height: 1.3;
}

.pv-photo {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 72% 30%, #fde68a 0 9%, transparent 10%),
    linear-gradient(160deg, transparent 55%, #4d7c0f 56%),
    linear-gradient(200deg, transparent 48%, #65a30d 49%),
    linear-gradient(#bae6fd, #e0f2fe);
}

.pv-video {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #334155, #0f172a);
}

.pv-video span {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.9);
  display: grid;
  place-items: center;
}

.pv-web {
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.pv-web__bar {
  height: 14%;
  background: #f1f3f2;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0 6%;
}

.pv-web__bar i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #cfd3d0;
}

.pv-web__body {
  flex: 1;
  padding: 8%;
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.pv-web__body i {
  display: block;
  height: 0.4rem;
  border-radius: 999px;
  background: #e5e7eb;
}

.pv-countdown {
  display: flex;
  gap: 0.6rem;
}

.pv-countdown div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pv-countdown strong {
  font-family: var(--display-font);
  font-weight: 900;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pv-countdown small {
  font-size: 0.55rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Layouts */
.layouts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 860px) {
  .layouts {
    grid-template-columns: repeat(4, 1fr);
  }
}

.layout {
  text-align: center;
}

.layout__frame {
  aspect-ratio: 16 / 10;
  padding: 0.6rem;
  display: grid;
  gap: 0.45rem;
  background: var(--surface-color);
}

.layout__frame > span {
  border-radius: 0.4rem;
  background: var(--accent-soft);
  border: 1px dashed rgb(21 128 61 / 0.35);
}

.layout__frame--1-1 {
  grid-template-columns: 1fr 1fr;
}

.layout__frame--1-2 {
  grid-template-columns: 1fr 2fr;
}

.layout__frame--2-1 {
  grid-template-columns: 2fr 1fr;
}

.layout h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-top: 0.85rem;
}

.layout p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

/* Fleet / trust section */
.fleet {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .fleet {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
  }
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
}

.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.checklist svg {
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  color: var(--accent);
  margin-top: 0.1rem;
}

.checklist strong {
  display: block;
}

.checklist span {
  color: var(--ink-secondary);
  font-size: 0.95rem;
}

.dash {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.dash__band {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 1rem 1.25rem;
  font-weight: 800;
}

.dash__band svg {
  width: 1.4rem;
  height: 1.4rem;
}

.dash__band small {
  margin-left: auto;
  color: var(--ink-secondary);
  font-weight: 400;
}

.dash__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .dash__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dash-display .screen-frame {
  aspect-ratio: 16 / 10;
  transition: box-shadow 0.4s, border-color 0.4s;
}

.dash-display.is-online .screen-frame {
  border-color: rgb(34 197 94 / 0.6);
  box-shadow: 0 0 0 3px rgb(34 197 94 / 0.15);
}

.dash-display.is-offline .screen-frame {
  filter: grayscale(1);
  opacity: 0.55;
}

.dash-display__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: 0.82rem;
}

.dash-display__meta strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.status--online {
  color: var(--accent);
}

.status--offline {
  color: var(--ink-tertiary);
}

.status--offline::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink-tertiary);
}

/* Use cases */
.uses {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .uses {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .uses {
    grid-template-columns: repeat(4, 1fr);
  }
}

.use {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.use__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--background-color);
  border: 1px solid var(--border-color);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.use__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.use h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.use p {
  margin-top: 0.4rem;
  color: var(--ink-secondary);
  font-size: 0.95rem;
}

.use__apps {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.use__apps span {
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  padding: 0.15rem 0.6rem;
  color: var(--ink-secondary);
}

/* FAQ */
.faq {
  max-width: 46rem;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0 1.25rem;
  transition: border-color 0.15s;
}

.faq details[open] {
  border-color: var(--border-color-hover);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 0;
  font-family: var(--display-font);
  font-weight: 800;
  font-size: 1.08rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary svg {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
  color: var(--ink-tertiary);
  transition: transform 0.2s;
}

.faq details[open] summary svg {
  transform: rotate(45deg);
}

.faq details p {
  padding-bottom: 1.2rem;
  color: var(--ink-secondary);
}

/* CTA */
.cta {
  background: var(--ink);
  color: #fff;
  border-radius: calc(var(--radius-lg) * 1.5);
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0 auto;
}

.cta p {
  margin: 1rem auto 0;
  color: rgb(255 255 255 / 0.72);
  max-width: 34rem;
  font-size: 1.08rem;
}

.cta .btn {
  margin-top: 2rem;
}

.cta .btn--outlined {
  color: #fff;
  border-color: rgb(255 255 255 / 0.35);
}

.cta .btn--outlined:hover {
  background: rgb(255 255 255 / 0.08);
  border-color: #fff;
  color: #fff;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cta__screens {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.cta__screens span {
  width: 3.4rem;
  aspect-ratio: 16 / 10;
  border-radius: 0.35rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.04);
  transition: background-color 0.5s, border-color 0.5s, box-shadow 0.5s;
}

.cta__screens span.is-lit {
  background: rgb(34 197 94 / 0.25);
  border-color: var(--accent-live);
  box-shadow: 0 0 24px rgb(34 197 94 / 0.45);
}

@media (min-width: 640px) {
  .cta {
    padding: 4.5rem 2rem;
  }
}

/* Footer */
.site-footer {
  padding: 3rem 0 2.5rem;
  color: var(--ink-secondary);
  font-size: 0.9rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

/* Legal pages */
.legal {
  padding: 3rem 0 4rem;
}

.legal__body {
  max-width: 46rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
}

@media (min-width: 640px) {
  .legal__body {
    padding: 3rem;
  }
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.legal__updated {
  margin-top: 0.5rem;
  color: var(--ink-tertiary);
  font-size: 0.9rem;
}

.legal h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-top: 2.5rem;
}

.legal h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 1.5rem;
}

.legal p,
.legal ul,
.legal address {
  margin-top: 0.75rem;
  color: var(--ink-secondary);
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.3rem;
}

.legal address {
  font-style: normal;
}

.legal strong {
  color: var(--ink);
}

.legal a {
  color: var(--accent);
  text-underline-offset: 2px;
}

.legal a:hover {
  color: var(--accent-hover);
}

.legal .todo {
  background: #fef3c7;
  color: #78350f;
  border-radius: 0.3rem;
  padding: 0 0.3rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  color: var(--ink-secondary);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover {
  color: var(--ink);
}

.back-link svg {
  width: 1rem;
  height: 1rem;
  transform: rotate(180deg);
}

/* Reveal on scroll — a single, quick gesture */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

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