/* SeatRova marketing. Tokens live in tokens.css. Display type is allowed here. */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-500.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}

:root {
  --f-display: "Outfit", "Trebuchet MS", Arial, sans-serif;
  --mx: 70%;
  --my: 10%;
  --wrap: 80rem;
  --header: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  background-image: var(--page-glow);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

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

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

.skip {
  position: absolute;
  left: 16px;
  top: -4rem;
  z-index: 80;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
}

.skip:focus {
  top: 10px;
}

.num {
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand-name {
  display: flex;
  flex-direction: column;
  width: calc(22px * 2263 / 308);
  line-height: 1;
  color: var(--ink);
}

.wordmark {
  display: grid;
  width: 100%;
  height: 22px;
}
.wordmark span {
  grid-area: 1 / 1;
  background: var(--ink);
  -webkit-mask: url("../wordmark.png?v=24") left center / 100% 100% no-repeat;
  mask: url("../wordmark.png?v=24") left center / 100% 100% no-repeat;
}
.wordmark .seat { clip-path: inset(0 52.83% 0 0); }
.wordmark .rova {
  background: var(--accent);
  clip-path: inset(0 0 0 47.17%);
}

.brand small {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  color: var(--muted);
}

.brand small svg {
  display: block;
  width: 100%;
  height: auto;
}

.brand small text {
  fill: currentColor;
  font-family: Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: 165px;
  font-weight: 600;
}

.logo-mark {
  display: block;
  flex: none;
  width: 34px;
  height: 34px;
  fill: none;
  stroke-linecap: round;
}

.logo-ring {
  stroke: var(--ink);
  stroke-width: 1.5;
}

.logo-bar {
  stroke: var(--ink);
  stroke-width: 1.8;
}

.logo-accent {
  stroke: var(--accent);
  stroke-width: 1.8;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.5rem;
}

.site-nav a {
  padding: 0.45rem 0.7rem;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--panel-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  background: var(--panel);
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--line);
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

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

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent);
}

.btn-primary:hover {
  color: var(--accent-ink);
  box-shadow: 0 8px 26px color-mix(in srgb, var(--accent) 45%, transparent);
}

.btn-secondary {
  border-color: var(--hairline-strong);
  background: var(--panel-2);
  color: var(--ink);
}

.btn-secondary:hover {
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost {
  height: 32px;
  padding: 0 10px;
  color: var(--accent);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--accent-soft);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 420px at var(--mx) var(--my), color-mix(in srgb, var(--accent) 16%, transparent), transparent 58%),
    linear-gradient(color-mix(in srgb, var(--hairline) 55%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--hairline) 55%, transparent) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  mask-image: radial-gradient(900px 520px at 50% 20%, black, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

#check-in,
#analytics,
#how,
#collect,
#faq,
#enterprise-pricing,
#estimate {
  scroll-margin-top: calc(var(--header) + 1rem);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--good);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 70%, transparent);
  animation: pulse 2.2s var(--ease) infinite;
}

h1,
.h1 {
  margin: 0.85rem 0 0;
  font-family: var(--f-display);
  font-size: clamp(2.35rem, 5.4vw, 4.35rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.lede {
  max-width: 42ch;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.chip strong {
  color: var(--ink);
  font-weight: 600;
}

/* Product stage */
.stage {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: 1.15rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel-2) 70%, var(--panel)), var(--panel));
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.stage-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  height: 2.4rem;
  padding: 0 0.9rem;
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--panel-2) 80%, transparent);
}

.traffic {
  display: flex;
  gap: 0.35rem;
}

.traffic i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--faint);
}

.stage-url {
  flex: 1;
  height: 1.45rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--panel);
  color: var(--faint);
  font-size: 0.7rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 0 0.7rem;
}

.checkin {
  display: grid;
  grid-template-columns: 0.9fr 18px 1.1fr;
  min-height: 28rem;
}

.device-pane,
.console-pane {
  min-width: 0;
  padding: 1rem;
}

.beam {
  position: relative;
  overflow: hidden;
}

.beam::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: 0.55;
}

.packet {
  position: absolute;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  opacity: 0;
}

.stage[data-state="syncing"] .packet {
  animation: packet 1.1s var(--ease) infinite;
}

.laptop {
  border: 1px solid var(--hairline-strong);
  border-radius: 12px 12px 8px 8px;
  background: #070b14;
  overflow: hidden;
  box-shadow: var(--glow-accent);
}

.laptop-screen {
  min-height: 13rem;
  padding: 0.85rem 0.9rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  line-height: 1.55;
  color: #9fb0c8;
}

.scan-log {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scan-log li {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 0.45rem;
  opacity: 0;
  transform: translateY(4px);
}

.scan-log li.on {
  opacity: 1;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.scan-log .ok {
  color: var(--good);
}

.device-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0.8rem 0 0;
}

.device-meta div {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--panel-2);
}

.device-meta dt {
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 600;
}

.device-meta dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
}

.checkin .mini-side {
  display: none;
}

.mini-app {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 22rem;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}

.device-table th,
.device-table td {
  white-space: nowrap;
}

.mini-side {
  padding: 0.7rem 0.55rem;
  border-right: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
}

.mini-side span {
  display: block;
  margin: 0.15rem 0.35rem 0.7rem;
  font-family: var(--f-logo);
  font-size: 0.78rem;
  font-weight: 600;
}

.mini-side a {
  display: block;
  padding: 0.35rem 0.45rem;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  text-decoration: none;
}

.mini-side a[aria-current="true"] {
  color: var(--ink);
  background: linear-gradient(90deg, var(--accent-soft), transparent 90%);
}

.mini-main {
  padding: 0.75rem;
}

.mini-main h3,
.mini-main .mini-heading {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.mini-main .mini-heading {
  font-weight: 600;
}

.mini-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin: 0.7rem 0;
}

.mini-kpis div {
  padding: 0.5rem 0.55rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--panel);
}

.mini-kpis span {
  display: block;
  color: var(--faint);
  font-size: 0.62rem;
}

.mini-kpis strong {
  font-size: 0.95rem;
}

.device-table,
.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
}

.device-table th,
.demo-table th,
.device-table td,
.demo-table td {
  height: 1.9rem;
  padding: 0 0.45rem;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
}

.device-table tbody tr.is-new td {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

[hidden] {
  display: none !important;
}

.stage:not([data-state="idle"]) .empty-mini {
  display: none !important;
}

.empty-mini {
  display: grid;
  place-items: center;
  min-height: 8rem;
  border: 1px dashed var(--hairline-strong);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
  padding: 1rem;
}

.found-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.found-apps .found-label {
  width: 100%;
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 600;
}

.found-apps .chip {
  cursor: default;
}

.stage-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--hairline);
}

.status-live {
  min-height: 1.2rem;
  margin: 0 auto 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 10%, transparent);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.pill i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.pill.good { color: var(--good); }
.pill.warn { color: var(--warning); }
.pill.crit { color: var(--crit); }
.pill.info { color: var(--info); }
.pill.projected {
  color: var(--risk);
  border-style: dashed;
}
.pill.realised { color: var(--good); }

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

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 1.6rem;
}

.section-head h2,
.article h1 {
  margin: 0.35rem 0 0;
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
}

.section-head p,
.article .lede {
  max-width: 58ch;
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.note-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Analytics playground */
.playground {
  display: grid;
  gap: 1rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.kpi {
  min-height: 8.2rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel-2) 70%, var(--panel)), var(--panel));
  box-shadow: var(--shadow);
}

.kpi .label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.kpi strong {
  display: block;
  margin-top: 0.85rem;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.kpi p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.kpi.projected {
  border: 1px dashed color-mix(in srgb, var(--risk) 70%, transparent);
  box-shadow: var(--glow-risk);
}

.kpi.projected strong { color: var(--risk); }

.kpi.realised {
  border-color: color-mix(in srgb, var(--good) 55%, transparent);
  box-shadow: var(--glow-good);
}

.kpi.realised strong { color: var(--good); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

label.filter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

label.filter input {
  accent-color: var(--accent);
  margin: 0;
}

.filters .note-inline {
  align-self: center;
  margin-left: auto;
}

.filter:hover,
.filter[aria-pressed="true"],
.filter:has(input:checked) {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.panel {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel-2) 70%, var(--panel)), var(--panel));
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem 0.4rem;
}

.panel-head h3 {
  margin: 0;
  font-size: 0.95rem;
}

.panel-head p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
}

.chart {
  height: 240px;
  padding: 0.4rem 0.6rem 0.8rem;
}

.chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-keys {
  display: flex;
  gap: 1rem;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 3px;
}

.legend-dash,
.legend-line {
  display: inline-block;
  width: 16px;
  height: 0;
  margin-right: 6px;
  vertical-align: middle;
}

.legend-dash {
  border-top: 2px dashed var(--risk);
}

.legend-line {
  border-top: 2px solid var(--accent);
}

.demo-table {
  font-size: 0.82rem;
}

.demo-table th {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
}

.demo-table tbody tr {
  cursor: pointer;
}

.demo-table tbody tr:hover,
.demo-table tbody tr[aria-selected="true"] {
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.demo-table button.linkish {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
}

.table-wrap {
  overflow: auto;
  padding: 0 0.4rem 0.4rem;
}

.drawer {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.1rem 1.15rem;
}

.drawer[hidden] {
  display: none;
}

.kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.kv > div {
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--panel-2);
}

.kv span {
  display: block;
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.calc details {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.calc summary {
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

/* How it works / collect */
.steps,
.features,
.collect {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.2rem 1.2rem 1.3rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel-2) 70%, var(--panel)), var(--panel));
  box-shadow: var(--shadow);
}

.card h2,
.card h3 {
  margin: 0.7rem 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 0.92rem;
}

.card ol,
.card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.index {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.card.no,
.collect .card.no {
  border-style: dashed;
}

.card {
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line);
}

/* Destination pages share the homepage hero, then a full-width body. */
.page-body {
  padding-bottom: 2rem;
}

.bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.bento .featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 22rem;
}

.bento .featured h3 {
  font-family: var(--f-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.stack {
  display: grid;
  gap: 1rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.7rem 0.8rem 0;
}

.tabs button {
  height: 32px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  border-color: var(--hairline-strong);
  background: var(--panel);
  color: var(--ink);
}

.preview-panel {
  padding: 0.85rem 1rem 1.1rem;
}

.preview-panel .note-inline {
  margin-top: 0.85rem;
}

.kpi-grid.compact {
  grid-template-columns: 1fr 1fr;
}

.preview-panel[hidden] {
  display: none !important;
}

.usage-bars {
  display: grid;
  gap: 0.7rem;
  margin: 0.8rem 0 0;
}

.usage-bars p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 0.28rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.usage-bars strong {
  color: var(--ink);
  font-weight: 600;
}

.bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--panel-2);
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.iso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  padding: 0.9rem;
}

.iso-pane {
  min-height: 16rem;
  padding: 0.9rem;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--bg);
}

.iso-pane.blocked {
  border-style: dashed;
}

.iso-pane h3,
.iso-pane .iso-heading {
  margin: 0;
  font-size: 0.92rem;
}

.iso-pane .iso-heading {
  font-weight: 600;
}

.iso-pane ul {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.iso-pane li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.78rem;
}

.iso-empty {
  display: grid;
  place-items: center;
  min-height: 9rem;
  margin-top: 0.8rem;
  padding: 1rem;
  border: 1px dashed var(--hairline-strong);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.iso-empty.is-flash {
  animation: iso-flash 0.7s var(--ease);
}

.price-void {
  display: grid;
  align-content: center;
  min-height: 22rem;
  padding: 1.4rem 1.5rem;
  text-align: left;
}

.ghost {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
}

.price-void strong {
  display: block;
  margin: 0.35rem 0 0.6rem;
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.metric {
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel-2) 70%, var(--panel)), var(--panel));
  box-shadow: var(--shadow);
}

.metric .num {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.compare .card {
  min-height: 18rem;
}

.compare .card h2,
.compare .card h3 {
  font-family: var(--f-display);
  font-size: 1.35rem;
}

.tick-list,
.cross-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.tick-list li,
.cross-list li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.55rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 0.9rem;
}

.tick-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: var(--good);
}

.cross-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.4rem;
  border-radius: 2px;
  border: 1.5px solid var(--crit);
  background: transparent;
}

.cta-band {
  position: relative;
  overflow: hidden;
  margin: 1rem 0 3rem;
}

.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.2rem 2rem;
  padding: 2rem 1.6rem;
  border: 1px solid var(--hairline);
  border-radius: 1.15rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel-2) 70%, var(--panel)), var(--panel));
  box-shadow: var(--shadow-lift);
}

.cta-band h2 {
  margin: 0.3rem 0 0;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
}

.cta-band p {
  max-width: 48ch;
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.note-inline {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.follow {
  margin-top: 1rem;
}

.features.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-void .kv {
  margin-top: 1.1rem;
}

.price-void .filters {
  margin-top: 0.7rem;
}

.price-field {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
}

.price-field span {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
}

.price-field input {
  width: 100%;
  height: 42px;
  padding: 0 0.8rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  background: var(--panel);
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem 1.3rem 1.3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.contact-form label {
  display: grid;
  gap: 0.3rem;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
}

.contact-form input {
  width: 100%;
  height: 42px;
  padding: 0 0.8rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink);
}

.contact-form .btn {
  justify-self: start;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.rate-table th,
.rate-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--hairline);
  text-align: right;
}

.rate-table th:first-child,
.rate-table td:first-child {
  text-align: left;
}

.rate-table thead th {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
}

.table-wrap.card {
  padding: 0.4rem 0.6rem 0.6rem;
}

.calc {
  padding: 0 1.1rem 1rem;
}

.article h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.2rem;
}

.article p {
  color: var(--muted);
}

.article .lead-card {
  margin: 1.4rem 0 1.8rem;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--hairline-strong);
  border-radius: 12px;
  background: var(--panel);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 2rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 0.35rem;
}

.site-footer .footer-legal {
  color: var(--faint);
  font-size: 0.75rem;
}

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

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

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

.reveal {
  opacity: 0;
  transform: translateY(10px);
}

.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

/* Capability navigation, layered stages and interactive demos */
.cap-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--panel) 60%, transparent);
}

.cap-nav .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.cap-nav .cap-label {
  margin-right: 0.4rem;
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cap-nav a {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
}

.cap-nav a:hover,
.cap-nav a[aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}

.stage.layered {
  overflow: visible;
}

.stage.layered::before {
  content: "";
  position: absolute;
  inset: -1.4rem -1.4rem auto auto;
  width: 60%;
  height: 70%;
  border-radius: 1.4rem;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
  filter: blur(18px);
  z-index: -1;
}

.stage.layered > :not(.float-card) {
  position: relative;
}

.stage-body {
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
}

.float-card {
  position: absolute;
  right: -1.1rem;
  bottom: -1.3rem;
  z-index: 3;
  min-width: 11rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 0.9rem;
  background: var(--panel);
  box-shadow: var(--shadow-lift);
  transform: rotate(-1.2deg);
}

.float-card .ghost {
  display: block;
  color: var(--faint);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.float-card strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.05rem;
}

.float-card.is-updated {
  animation: nudge 0.5s var(--ease);
}

.mini-rows {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-rows li,
.mini-rows button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--hairline);
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--panel-2) 60%, transparent);
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
}

.mini-rows button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.mini-rows small {
  color: var(--faint);
}

.range-grid {
  display: grid;
  gap: 0.7rem;
}

.range-grid label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.range-grid input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--accent);
}

.range-grid output {
  font-weight: 600;
  color: var(--ink);
}

.verdict {
  padding: 0.8rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px dashed var(--hairline-strong);
  font-size: 0.9rem;
}

.verdict.good {
  border-style: solid;
  border-color: var(--good);
}

.code-block {
  margin: 0;
  padding: 0.9rem;
  border-radius: 0.8rem;
  background: color-mix(in srgb, var(--panel-2) 85%, black 10%);
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.5;
  overflow-x: auto;
}

.code-block .k { color: var(--accent); }
.code-block .s { color: var(--good); }

.stage-halo {
  position: relative;
}

.stage-halo::before,
.stage-halo::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 2rem;
  filter: blur(26px);
  pointer-events: none;
}

.stage-halo::before {
  inset: -2rem -2.5rem auto auto;
  width: 65%;
  height: 60%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 38%, transparent), transparent);
}

.stage-halo::after {
  inset: auto auto -2rem -2rem;
  width: 45%;
  height: 45%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--good) 28%, transparent), transparent);
}

.stage-halo > .float-card {
  top: -1.2rem;
  right: -1.2rem;
  bottom: auto;
  transform: rotate(1.2deg);
}

@media (max-width: 980px) {
  .stage-halo > .float-card {
    margin: 0.8rem 0 0;
    transform: none;
  }
}

.laptop-screen:empty,
.scan-log:empty::before {
  content: "Waiting for a device to enrol";
  color: #5f7390;
}

.float-card small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.explorer {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) 1.2fr;
  gap: 1.6rem 2rem;
  align-items: start;
}

.explorer-rail {
  display: grid;
  gap: 0.4rem;
  position: sticky;
  top: 5.5rem;
}

.explorer-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 0.9rem;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.explorer-tab strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.explorer-tab small {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.explorer-tab:hover {
  background: color-mix(in srgb, var(--panel-2) 60%, transparent);
  transform: translateX(3px);
}

.explorer-tab[aria-selected="true"] {
  border-color: var(--hairline-strong);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.explorer-tab[aria-selected="true"] .index {
  background: var(--accent);
  color: #fff;
}

.explorer-stage {
  position: relative;
  min-height: 24rem;
}

.explorer-panel {
  animation: panel-in 0.35s var(--ease);
}

.explorer-desc {
  margin: 1.8rem 0.2rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.explorer-desc a {
  color: var(--accent);
  font-weight: 600;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .explorer {
    grid-template-columns: 1fr;
  }

  .explorer-rail {
    position: static;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  }

  .explorer-tab small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .explorer-panel { animation: none; }
  .explorer-tab:hover { transform: none; }
}

.product-shot {
  margin: 1.5rem 1.5rem 3.5rem 0;
}

.product-shot .shot-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-shot > .float-card {
  min-width: 13rem;
  max-width: 15rem;
}

.product-shot .float-card .bar {
  margin: 0.45rem 0 0.2rem;
}

.product-shot .shot-usage {
  top: -1.4rem;
  right: -1.5rem;
  bottom: auto;
  transform: rotate(1.2deg);
}

.product-shot .shot-licence {
  top: auto;
  bottom: -3.4rem;
  left: -1.6rem;
  right: auto;
  transform: rotate(-1deg);
}

.product-shot .shot-risk {
  top: auto;
  bottom: -3rem;
  right: -1.5rem;
  transform: rotate(1deg);
}

@media (max-width: 980px) {
  .product-shot {
    margin: 0;
    display: grid;
    gap: 0.75rem;
  }

  .product-shot > .float-card {
    position: static;
    max-width: none;
    margin: 0;
    transform: none;
  }
}

@keyframes nudge {
  0% { transform: rotate(-1.2deg) translateY(6px); opacity: 0.6; }
  100% { transform: rotate(-1.2deg); opacity: 1; }
}

@media (max-width: 980px) {
  .float-card {
    position: static;
    margin: 0 1rem 1rem;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-card.is-updated { animation: none; }
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px transparent; }
}

@keyframes packet {
  0% { top: 12%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 82%; opacity: 0; }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .checkin,
  .kpi-grid,
  .steps,
  .features,
  .features.two,
  .collect,
  .bento,
  .iso-grid,
  .metrics,
  .compare,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .bento .featured {
    grid-row: auto;
    min-height: 0;
  }
  .beam {
    display: none;
  }
  .site-nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
  }
  .site-nav.open {
    display: flex;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    z-index: 45;
    isolation: isolate;
    flex-direction: column;
    align-items: stretch;
    padding: 0.55rem 1.1rem 0.8rem;
    border-bottom: 1px solid var(--hairline);
    background: var(--bg);
  }
  .site-nav.open a {
    padding: 0.75rem 0.9rem;
  }
  .mini-app {
    grid-template-columns: 1fr;
  }
  .mini-side {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    background-attachment: scroll;
  }
  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding-top: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .scan-log li,
  .live-dot,
  .btn,
  .card,
  .iso-empty {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

@keyframes iso-flash {
  0% { background: color-mix(in srgb, var(--accent) 18%, transparent); }
  100% { background: transparent; }
}
