:root {
  --hp-teal: #00a8b5;
  --hp-teal-dark: #007a84;
  --hp-teal-glow: rgba(0,168,181,.22);
  --hp-brand: #ff5c00;
  --hp-brand-dark: #e05200;
  --hp-brand-glow: rgba(255,92,0,.28);
  --hp-ink: #0f1f22;
  --hp-ink-soft: #3d5256;
  --hp-muted: #6b8286;
  --hp-line: rgba(15,31,34,.08);
  --hp-bg: #f7fbfb;
  --hp-white: #fff;
  --hp-max: 1160px;
  --hp-radius: 18px;
  --hp-radius-lg: 26px;
  --hp-shadow: 0 24px 64px rgba(15,31,34,.10);
  --hp-shadow-sm: 0 8px 24px rgba(15,31,34,.06);
  --hp-font: "Plus Jakarta Sans", system-ui, sans-serif;
  --hp-nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hp-nav-h) + 16px); }
body.qrdv-home {
  font-family: var(--hp-font);
  background-color: transparent;
  color: var(--hp-ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
}
@media (min-width: 721px) { body.qrdv-home { padding-bottom: 0; } }
body.qrdv-home a { color: inherit; text-decoration: none; }
body.qrdv-home img { max-width: 100%; display: block; }
.hp-wrap { width: min(var(--hp-max), calc(100% - 32px)); margin: 0 auto; }

/* Nav */
.hp-nav {
  position: sticky; top: 0; z-index: 50; height: var(--hp-nav-h);
  background: rgba(255,255,255,.78); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hp-line);
}
.hp-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; }
.hp-nav__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; letter-spacing: -.02em; }
.hp-nav__logo-img { display: block; height: 40px; width: auto; max-width: min(180px, 46vw); }
.hp-nav__mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--hp-brand); color: #fff;
  display: grid; place-items: center;
}
.hp-nav__mark svg { width: 18px; height: 18px; }
.hp-nav__links { display: flex; gap: 24px; font-size: .88rem; font-weight: 600; color: var(--hp-ink-soft); }
.hp-nav__links a:hover { color: var(--hp-teal-dark); }
.hp-nav__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.hp-nav__signin { font-size: .88rem; font-weight: 600; color: var(--hp-ink-soft); }
.hp-nav__signin:hover { color: var(--hp-ink); }
@media (max-width: 820px) { .hp-nav__links { display: none; } }

/* Buttons */
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  border: none; cursor: pointer; transition: transform .15s, box-shadow .15s; white-space: nowrap;
  font-family: inherit;
}
.hp-btn--primary { background: linear-gradient(135deg, var(--hp-brand), #ff7a3d); color: #fff; box-shadow: 0 10px 28px var(--hp-brand-glow); }
.hp-btn--primary:hover { transform: translateY(-2px); color: #fff; }
.hp-btn--secondary { background: var(--hp-white); color: var(--hp-ink); border: 2px solid var(--hp-line); }
.hp-btn--secondary:hover { border-color: var(--hp-teal); color: var(--hp-teal-dark); }
.hp-btn--lg { padding: 17px 32px; font-size: 1rem; }
.hp-btn--sm { padding: 10px 18px; font-size: .82rem; }
.hp-btn--block { width: 100%; }
@media (max-width: 480px) { .hp-nav .hp-btn--primary { padding: 10px 16px; font-size: .82rem; } }

/* Hero — marketplace-first */
.hp-hero {
  padding: 8px 0 0;
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(0,168,181,.10), transparent 55%),
    radial-gradient(90% 70% at 88% 8%, rgba(255,92,0,.10), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--hp-bg) 100%);
}
.hp-hero--market { overflow: hidden; }
.hp-hero__copy {
  padding: 4px 0 8px;
  max-width: min(var(--hp-max), calc(100% - 32px));
}
.hp-hero__title,
.hp-hero--market h1 {
  font-size: clamp(2.35rem, 6vw, 3.75rem);
  line-height: 1.02; letter-spacing: -.04em; font-weight: 800;
  margin: 0 0 22px; max-width: 12em; color: var(--hp-ink);
}

/* Product categories */
.hp-cats { display: block; }
.hp-cats__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0;
}
.hp-cats__item {
  display: inline-flex; align-items: center; gap: 0;
}
.hp-cats__btn {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: inherit; font-size: clamp(.9rem, 2vw, 1.05rem);
  font-weight: 700; letter-spacing: -.02em; color: var(--hp-ink-soft);
  padding: 4px 8px; border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.hp-cats__btn:hover { color: var(--hp-ink); background: rgba(15,31,34,.04); }
.hp-cats__btn.is-active {
  color: var(--hp-brand);
  background: rgba(255,92,0,.08);
}
.hp-cats__sep {
  color: var(--hp-line); font-weight: 600; padding: 0 4px;
  user-select: none;
}
.hp-market__empty {
  margin: 28px 0 0;
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  color: var(--hp-muted);
}
.hp-accent { color: var(--hp-brand); }
.hp-hero__actions {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.hp-hero__actions .hp-btn--lg { order: -1; }
.hp-hero__stage {
  width: 100%;
  margin-top: 8px;
  border-top: 1px solid var(--hp-line);
  border-bottom: 1px solid var(--hp-line);
  background: rgba(255,255,255,.55);
}
.hp-hero__stage-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  min-height: clamp(160px, 28vw, 280px);
}
.hp-hero__tile {
  position: relative;
  margin: 0;
  min-height: inherit;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--hp-market-accent, var(--hp-brand)) 22%, #fff), #e8f4f5);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  animation: hp-hero-tile-in .55s ease forwards;
}
.hp-hero__tile + .hp-hero__tile { border-left: 1px solid rgba(15,31,34,.06); }
.hp-hero__tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.hp-hero__tile:hover img { transform: scale(1.04); }
.hp-hero__tile-ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800;
  color: color-mix(in srgb, var(--hp-market-accent, var(--hp-brand)) 65%, #0f1f22);
}
.hp-hero__tile figcaption {
  position: absolute; left: 10px; bottom: 10px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(15,31,34,.78); color: #fff;
  font-size: .72rem; font-weight: 700;
  backdrop-filter: blur(6px);
}
@keyframes hp-hero-tile-in {
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
  .hp-hero__stage-track { grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 200px; }
  .hp-hero__tile:nth-child(n+4) { display: none; }
}
@media (max-width: 520px) {
  .hp-hero__stage-track { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 180px; }
  .hp-hero__tile:nth-child(n+3) { display: none; }
  .hp-hero--market h1 { max-width: none; }
}
.hp-hero__grid {
  display: grid; grid-template-columns: 1.05fr .92fr; gap: 40px; align-items: center;
}
.hp-hero__grid--solo {
  grid-template-columns: 1fr;
  max-width: 720px;
}
@media (max-width: 960px) {
  .hp-hero__grid { grid-template-columns: 1fr; gap: 28px; }
}
.hp-powered {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px; font-size: .78rem; font-weight: 600; color: var(--hp-muted);
}
.hp-powered__logo { height: 20px; width: auto; display: block; border-radius: 4px; }
.hp-hero__note { font-size: .8rem; color: var(--hp-muted); font-weight: 600; }
.hp-hero__note span { color: var(--hp-teal-dark); }
.hp-hero__signup { width: 100%; margin: 28px auto 0; max-width: 520px; }
.hp-signup-card {
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius-lg);
  box-shadow: var(--hp-shadow);
  padding: 28px 24px 24px;
}
.hp-signup-card--compact { padding: 24px 22px 20px; }
.hp-signup-card__title {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em;
  margin-bottom: 6px; line-height: 1.15;
}
.hp-signup-card__intro {
  font-size: .92rem; color: var(--hp-ink-soft); line-height: 1.55; margin-bottom: 10px;
}
.hp-signup-card__pricing {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 16px; padding: 8px 12px;
  border-radius: 999px; font-size: .82rem; font-weight: 800;
  color: var(--hp-brand); background: rgba(255,92,0,.1);
  border: 1px solid rgba(255,92,0,.18);
}
.hp-section-head--left { text-align: left; margin-left: 0; margin-right: 0; max-width: 40rem; }

/* Trust marquee */
.hp-trust { background: var(--hp-ink); padding: 20px 0; overflow: hidden; }
.hp-trust__head {
  text-align: center; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 14px;
}
.hp-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hp-marquee__track { display: flex; gap: 16px; width: max-content; animation: hp-scroll 32s linear infinite; }
.hp-marquee__track img { width: 100px; height: 34px; object-fit: contain; border-radius: 7px; flex-shrink: 0; }
@keyframes hp-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.hp-section { padding: 72px 0; }
.hp-section--white { background: var(--hp-white); }
.hp-section--alt { background: var(--hp-bg); }
.hp-section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.hp-section-head h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); letter-spacing: -.03em; font-weight: 800; margin-bottom: 10px; }
.hp-section-head p { color: var(--hp-muted); font-size: 1rem; }
.hp-tag { display: inline-block; margin-bottom: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hp-brand); }

/* Compare */
.hp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 680px) { .hp-compare { grid-template-columns: 1fr; } }
.hp-compare__card { padding: 28px; border-radius: var(--hp-radius-lg); border: 1px solid var(--hp-line); }
.hp-compare__card--bad { background: #fff8f6; }
.hp-compare__card--good { background: linear-gradient(160deg, #e8fafb, #fff); box-shadow: var(--hp-shadow); border-color: rgba(0,168,181,.18); }
.hp-compare__card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 14px; }
.hp-compare__card ul { list-style: none; display: grid; gap: 10px; }
.hp-compare__card li { display: flex; gap: 10px; font-size: .88rem; color: var(--hp-ink-soft); }
.hp-compare__card li::before { font-weight: 800; flex-shrink: 0; }
.hp-compare__card--bad li::before { content: "✕"; color: #ef4444; }
.hp-compare__card--good li::before { content: "✓"; color: var(--hp-teal); }

/* Timeline */
.hp-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
@media (max-width: 900px) { .hp-timeline { grid-template-columns: 1fr; gap: 12px; } }
.hp-timeline::before {
  content: ""; position: absolute; top: 22px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--hp-brand), var(--hp-teal)); opacity: .35;
}
@media (max-width: 900px) { .hp-timeline::before { display: none; } }
.hp-timeline__step { padding: 0 10px; text-align: center; position: relative; }
@media (max-width: 900px) {
  .hp-timeline__step { display: grid; grid-template-columns: 48px 1fr; gap: 14px; text-align: left; padding: 16px; background: var(--hp-white); border-radius: var(--hp-radius); border: 1px solid var(--hp-line); }
}
.hp-timeline__n {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--hp-brand); color: #fff; font-weight: 800; font-size: .95rem;
  display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--hp-bg);
}
@media (max-width: 900px) { .hp-timeline__n { margin: 0; } }
.hp-timeline__step h3 { font-size: .88rem; font-weight: 700; margin-bottom: 6px; line-height: 1.25; }
.hp-timeline__step p { font-size: .78rem; color: var(--hp-muted); line-height: 1.45; }

/* Use case cards */
.hp-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .hp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hp-cards { grid-template-columns: 1fr; } }
.hp-card {
  padding: 22px; background: var(--hp-white); border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius); box-shadow: var(--hp-shadow-sm);
}
.hp-card h3 { font-size: .95rem; font-weight: 800; margin-bottom: 8px; }
.hp-card p { font-size: .86rem; color: var(--hp-muted); line-height: 1.5; }

/* QR product use-case filters + table */
.hp-use-filters {
  display: grid;
  gap: 14px;
  margin-bottom: 12px;
}
.hp-use-filter__label {
  margin: 0 0 8px;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--hp-muted);
}
.hp-use-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hp-use-filter__btn {
  appearance: none;
  border: 1px solid var(--hp-line);
  background: var(--hp-white);
  color: var(--hp-ink-soft);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}
.hp-use-filter__btn:hover {
  border-color: rgba(0,122,132,.35);
  color: var(--hp-teal-dark);
}
.hp-use-filter__btn--active {
  border-color: var(--hp-teal-dark);
  background: rgba(0,122,132,.1);
  color: var(--hp-teal-dark);
  box-shadow: inset 0 0 0 1px rgba(0,122,132,.08);
}
.hp-use-table__meta {
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--hp-muted);
}
.hp-use-table__empty {
  margin: 0;
  padding: 18px 16px;
  text-align: center;
  font-size: .88rem;
  color: var(--hp-muted);
  border-top: 1px solid var(--hp-line);
}
.hp-use-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  background: var(--hp-white);
  box-shadow: var(--hp-shadow-sm);
  margin-bottom: 8px;
}
.hp-use-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  font-size: .86rem;
}
.hp-use-table th,
.hp-use-table td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hp-line);
  line-height: 1.45;
}
.hp-use-table thead th {
  background: var(--hp-bg);
  font-weight: 800;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--hp-ink-soft);
}
.hp-use-table tbody th[scope="row"] {
  width: 18%;
  font-weight: 700;
  color: var(--hp-ink);
  background: rgba(247,251,251,.65);
}
.hp-use-table tbody td:nth-child(2) { width: 14%; }
.hp-use-table tbody td:nth-child(3) { width: 14%; }
.hp-use-table tbody td:nth-child(4) { width: 9%; }
.hp-use-table tbody td:nth-child(5) { width: 16%; color: var(--hp-ink-soft); font-weight: 600; }
.hp-use-table tbody td:nth-child(6) { width: 29%; color: var(--hp-muted); }
.hp-use-setup-links {
  display: inline;
  line-height: 1.45;
}
.hp-use-setup-link {
  font-weight: 700;
  color: var(--hp-teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hp-use-setup-link:hover { color: var(--hp-teal); }
.hp-use-setup-links__sep {
  color: var(--hp-muted);
  font-weight: 600;
  margin: 0 2px;
}
.hp-hw-setup-table tbody tr.hp-hw-setup-row--highlight {
  outline: 2px solid var(--hp-teal);
  outline-offset: -2px;
  background: rgba(0,168,181,.08);
}
.hp-use-table tbody tr:last-child th,
.hp-use-table tbody tr:last-child td { border-bottom: 0; }
.hp-use-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.hp-use-badge--generate {
  background: rgba(0,122,132,.12);
  color: var(--hp-teal-dark);
}
.hp-use-badge--live {
  background: rgba(255,92,0,.12);
  color: var(--hp-brand-dark);
}
.hp-use-badge--both {
  background: linear-gradient(135deg, rgba(0,122,132,.12), rgba(255,92,0,.12));
  color: var(--hp-ink);
}
.hp-use-badge--form {
  background: rgba(99,102,241,.12);
  color: #4338ca;
}
.hp-use-badge--checkin {
  background: rgba(14,116,144,.12);
  color: #0e7490;
}
.hp-use-badge--invcheck {
  background: rgba(180,83,9,.12);
  color: #b45309;
}
.hp-use-product-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}
.hp-use-product-links__sep { display: none; }
.hp-use-product-link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  color: var(--hp-teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  text-align: left;
  line-height: 1.3;
}
a.hp-use-product-link { display: inline; }
.hp-use-product-link--live { color: var(--hp-brand-dark); }
.hp-use-product-link--form { color: #4338ca; }
.hp-use-product-link--checkin { color: #0e7490; }
.hp-use-product-link--invcheck { color: #b45309; }
.hp-use-product-link--assetqr { color: #6d28d9; }
.hp-use-product-link--text {
  text-decoration: none;
  color: var(--hp-ink);
  cursor: default;
}
.hp-use-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.hp-use-status--available {
  background: rgba(16,185,129,.14);
  color: #047857;
}
.hp-use-status--partial {
  background: rgba(245,158,11,.16);
  color: #b45309;
}
.hp-use-status--planned {
  background: rgba(107,130,134,.14);
  color: var(--hp-muted);
}
.hp-use-table tbody tr[hidden] {
  display: none;
}
.hp-use-table__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 24px 0 48px;
}
.hp-section-head--sub {
  margin-bottom: 24px;
}
.hp-section-head--sub h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: -.02em;
  font-weight: 800;
}

/* Hardware */
.hp-hw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
@media (max-width: 960px) { .hp-hw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hp-hw-grid { grid-template-columns: 1fr; } }
.hp-hw-card {
  padding: 22px 20px;
  border-radius: var(--hp-radius-lg);
  border: 1px solid var(--hp-line);
  background: var(--hp-bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hp-hw-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.hp-hw-card__head h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.hp-hw-card__role {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--hp-teal-dark);
}
.hp-hw-card__desc {
  font-size: .88rem;
  color: var(--hp-ink-soft);
  line-height: 1.55;
}
.hp-hw-card__models {
  font-size: .82rem;
  color: var(--hp-ink-soft);
  line-height: 1.45;
}
.hp-hw-card__models span {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hp-muted);
  margin-bottom: 2px;
}
.hp-hw-card__meta {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--hp-line);
}
.hp-hw-card__meta div { display: grid; gap: 2px; }
.hp-hw-card__meta dt {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hp-muted);
}
.hp-hw-card__meta dd {
  font-size: .84rem;
  font-weight: 600;
  color: var(--hp-ink);
  line-height: 1.4;
}
.hp-hw-card__note {
  font-size: .78rem;
  font-weight: 600;
  color: var(--hp-brand-dark);
  background: rgba(255,92,0,.08);
  border-radius: 10px;
  padding: 8px 10px;
  line-height: 1.45;
}
.hp-hw-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}
.hp-hw-status--available {
  background: rgba(16,185,129,.14);
  color: #047857;
}
.hp-hw-status--partial {
  background: rgba(245,158,11,.16);
  color: #b45309;
}
.hp-hw-status--planned {
  background: rgba(107,130,134,.14);
  color: var(--hp-muted);
}
.hp-hw-setup-devices {
  display: inline;
  line-height: 1.5;
}
.hp-hw-setup-device {
  font-weight: 700;
  color: var(--hp-teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hp-hw-setup-device:hover { color: var(--hp-teal); }
.hp-hw-setup-device__sep {
  color: var(--hp-muted);
  font-weight: 600;
  margin: 0 2px;
}
.hp-hw-setup-table tbody tr[hidden] {
  display: none;
}
.hp-hw-setup-table {
  min-width: 1280px;
}
.hp-hw-setup-table tbody th[scope="row"] {
  width: 14%;
}
.hp-hw-setup-table tbody td:nth-child(2) { width: 12%; }
.hp-hw-setup-table tbody td:nth-child(3) { width: 32%; padding: 10px 12px; }
.hp-hw-setup-table tbody td:nth-child(4) { width: 9%; }
.hp-hw-setup-table tbody td:nth-child(5) { width: 14%; color: var(--hp-ink-soft); font-weight: 600; }
.hp-hw-setup-table tbody td:nth-child(6) { width: 19%; color: var(--hp-muted); }
.hp-hw-setup-diagram-cell {
  vertical-align: top;
}
.hp-hw-diagram {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--hp-line);
  background: #0f1f22;
  color: #c8e6ea;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: .68rem;
  line-height: 1.35;
  white-space: pre;
  overflow-x: auto;
  max-width: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
#hardware-setups {
  scroll-margin-top: calc(var(--hp-nav-h) + 16px);
}
.hp-hw-kits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 720px) { .hp-hw-kits { grid-template-columns: 1fr; } }
.hp-hw-kit {
  padding: 24px 22px;
  border-radius: var(--hp-radius-lg);
  border: 1px solid rgba(0,168,181,.18);
  background: linear-gradient(160deg, #e8fafb, #fff);
  box-shadow: var(--hp-shadow-sm);
}
.hp-hw-kit h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.hp-hw-kit__summary {
  font-size: .9rem;
  color: var(--hp-ink-soft);
  line-height: 1.55;
  margin-bottom: 14px;
}
.hp-hw-kit__devices {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.hp-hw-kit__devices li {
  display: flex;
  gap: 10px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--hp-ink);
}
.hp-hw-kit__devices li::before {
  content: "✓";
  color: var(--hp-teal);
  font-weight: 800;
  flex-shrink: 0;
}
.hp-hw-kit__flow {
  font-size: .84rem;
  color: var(--hp-muted);
  line-height: 1.55;
  padding-top: 12px;
  border-top: 1px solid var(--hp-line);
}
.hp-hw-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hp-use-badge--hardware {
  background: rgba(15,31,34,.08);
  color: var(--hp-ink-soft);
}
.hp-use-badge--assetqr {
  background: rgba(109,40,217,.12);
  color: #6d28d9;
}
.hp-use-product-link--hardware { color: var(--hp-ink-soft); }

/* Demo */
.hp-demo-cta {
  max-width: 640px; margin: 0 auto; text-align: center;
}
.hp-demo-cta h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -.03em; margin: 8px 0 10px;
}
.hp-demo-cta p { color: var(--hp-ink-soft); margin-bottom: 18px; }

/* Footer */
.hp-footer { padding: 14px 0 18px; border-top: 1px solid var(--hp-line); color: var(--hp-muted); font-size: .82rem; }
.hp-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.hp-footer__links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hp-footer__links a { color: var(--hp-teal-dark); font-weight: 600; }

/* Footer Tools menu (Generate QR / Dynamic QR) */
.hp-tools { position: relative; }
.hp-tools__trigger {
  list-style: none; cursor: pointer;
  color: var(--hp-teal-dark); font-weight: 600; font-size: inherit; font-family: inherit;
}
.hp-tools__trigger::-webkit-details-marker { display: none; }
.hp-tools__trigger::after {
  content: " ▾";
  font-size: .75em;
  opacity: .7;
}
.hp-tools[open] .hp-tools__trigger::after { content: " ▴"; }
.hp-tools__menu {
  position: absolute; left: 0; bottom: calc(100% + 8px);
  min-width: 200px;
  display: grid; gap: 4px;
  padding: 8px;
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  box-shadow: var(--hp-shadow-sm);
  z-index: 40;
}
.hp-tools__menu .hp-btn {
  width: 100%;
  justify-content: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: .84rem;
  box-shadow: none;
  border: none;
  background: transparent;
  color: var(--hp-ink);
  white-space: normal;
}
.hp-tools__menu .hp-btn:hover {
  background: rgba(0,168,181,.08);
  color: var(--hp-teal-dark);
  transform: none;
}
.hp-tools__menu .hp-btn--primary,
.hp-tools__menu .hp-btn--secondary {
  background: transparent;
  border: none;
  color: var(--hp-ink);
}

/* Sticky mobile bar */
.hp-sticky {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px); border-top: 1px solid var(--hp-line);
  box-shadow: 0 -8px 32px rgba(0,0,0,.08);
}
@media (min-width: 721px) { .hp-sticky { display: none; } }
.hp-sticky__copy strong { display: block; font-size: 1rem; }
.hp-sticky__copy span { font-size: .72rem; color: var(--hp-muted); }

@media (prefers-reduced-motion: reduce) {
  .hp-marquee__track { animation: none; }
  .hp-btn:hover { transform: none; }
}

/* Minimal homepage layout */
.hp-minimal {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0 64px;
  text-align: center;
}
.hp-minimal__inner {
  max-width: 36rem;
}
.hp-minimal__title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--hp-ink, #111827);
}
.hp-minimal__sub {
  margin: 0;
  font-size: 1.05rem;
  color: var(--hp-ink-soft, #4b5563);
}
.hp-minimal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}
.hp-nav__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.hp-nav__inner {
  justify-content: space-between;
}

/* Marketplace mockup (#sellers) */
.hp-market {
  padding: 12px 0 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, var(--hp-bg) 28%, var(--hp-bg) 100%);
  border-top: 1px solid var(--hp-line);
}
.hp-market .hp-section-head { margin-bottom: 28px; }
.hp-market__pulse {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 0 auto 28px; max-width: 920px;
  padding: 12px 16px;
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: 999px;
  box-shadow: var(--hp-shadow-sm);
}
.hp-market__live {
  display: inline-flex; align-items: center; gap: 8px;
  flex-shrink: 0;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--hp-teal-dark);
}
.hp-market__live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hp-teal);
  box-shadow: 0 0 0 0 rgba(0,168,181,.45);
  animation: hp-market-pulse 1.8s ease-out infinite;
}
@keyframes hp-market-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,168,181,.45); }
  70% { box-shadow: 0 0 0 8px rgba(0,168,181,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,168,181,0); }
}
.hp-market__ticker {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: .84rem; font-weight: 600; color: var(--hp-ink-soft);
  min-width: 0;
}
.hp-market__tick { position: relative; padding-left: 12px; }
.hp-market__tick::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--hp-brand); transform: translateY(-50%);
}
.hp-market__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 960px) {
  .hp-market__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .hp-market__grid { grid-template-columns: 1fr; }
  .hp-market__pulse { border-radius: 18px; }
}
.hp-market__card {
  display: flex; flex-direction: column;
  height: 100%;
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.hp-market__card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,168,181,.28);
  box-shadow: var(--hp-shadow-sm);
  color: inherit;
}
.hp-market__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--hp-market-accent, var(--hp-brand)) 18%, #fff), #eef6f7);
  overflow: hidden;
}
.hp-market__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hp-market__placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em;
  color: color-mix(in srgb, var(--hp-market-accent, var(--hp-brand)) 70%, #0f1f22);
  opacity: .85;
}
.hp-market__badge {
  position: absolute; left: 10px; top: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15,31,34,.82);
  color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .02em;
  backdrop-filter: blur(6px);
}
.hp-market__body { padding: 14px 14px 16px; display: grid; gap: 8px; }
.hp-market__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.hp-market__name {
  font-size: .95rem; font-weight: 800; letter-spacing: -.02em;
  line-height: 1.25;
}
.hp-market__price {
  flex-shrink: 0;
  font-size: .95rem; font-weight: 800; color: var(--hp-brand);
}
.hp-market__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: .78rem; color: var(--hp-muted); font-weight: 600;
}
.hp-market__seller { color: var(--hp-teal-dark); }
.hp-market__note {
  margin: 22px auto 0;
  text-align: center;
  max-width: 42ch;
  font-size: .78rem;
  color: var(--hp-muted);
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .hp-market__live-dot,
  .hp-hero__live-dot { animation: none; }
  .hp-market__card:hover { transform: none; }
  .hp-hero__tile { opacity: 1; transform: none; animation: none; }
  .hp-hero__tile:hover img { transform: none; }
}
