:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --ink: #07111f;
  --muted: #617086;
  --muted-strong: #42516a;
  --line: #dfe6ef;
  --line-strong: #cbd6e4;
  --blue: #0a74da;
  --bright-blue: #2b7cff;
  --green: #20b875;
  --amber: #f4a124;
  --purple: #7868e6;
  --shadow-sm: 0 10px 30px rgba(10, 23, 46, 0.08);
  --shadow-md: 0 24px 70px rgba(10, 23, 46, 0.14);
  --radius: 8px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

code {
  background: #eef4fb;
  border: 1px solid #dbe6f2;
  border-radius: 6px;
  color: #173a67;
  font-size: 0.92em;
  padding: 0.08rem 0.32rem;
}

::selection {
  background: rgba(43, 124, 255, 0.26);
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(223, 230, 239, 0.86);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 22px;
  height: var(--header-height);
  justify-content: space-between;
  left: 50%;
  padding: 0 14px 0 18px;
  position: fixed;
  top: 16px;
  transform: translateX(-50%);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  width: min(1208px, calc(100% - 48px));
  z-index: 20;
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(203, 214, 228, 0.98);
  box-shadow: 0 18px 46px rgba(10, 23, 46, 0.12);
}

.brand,
.footer-brand {
  align-items: center;
  display: inline-flex;
  font-weight: 500;
  gap: 10px;
  letter-spacing: 0;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(10, 116, 218, 0.22);
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 4px;
}

.site-nav a {
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 13px;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #edf4ff;
  color: var(--blue);
}

.nav-toggle {
  align-items: center;
  background: #f1f5fa;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 44px;
}

.nav-toggle span {
  background: currentColor;
  border-radius: 999px;
  height: 2px;
  position: absolute;
  transition: transform 180ms ease;
  width: 18px;
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.hero {
  align-items: center;
  background: #f7f9fc;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 0.94fr) minmax(440px, 1.06fr);
  min-height: 92svh;
  overflow: hidden;
  padding: 138px max(24px, calc((100vw - 1160px) / 2)) 72px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  color: #195ea8;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--ink);
  font-size: 4.65rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 24px;
}

h2 {
  color: var(--ink);
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 16px;
}

h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-lede {
  color: var(--muted-strong);
  font-size: 20px;
  line-height: 1.55;
  margin-bottom: 0;
  max-width: 620px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.store-badge {
  display: inline-flex;
  line-height: 0;
  transition: transform 160ms ease, filter 160ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.store-badge-disabled {
  cursor: default;
}

.store-badge-disabled:hover,
.store-badge-disabled:focus-visible {
  filter: none;
  transform: none;
}

.store-badge img {
  height: 52px;
  width: auto;
}

.hero-facts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 38px 0 0;
}

.hero-facts div {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.hero-facts .fact-title {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  gap: 8px;
  margin-bottom: 5px;
  padding: 0;
}

.hero-facts svg {
  color: var(--blue);
  fill: currentColor;
  flex: 0 0 auto;
  height: 19px;
  width: 19px;
}

.hero-facts strong {
  color: var(--ink);
  display: inline;
  font-size: 15px;
  font-weight: 500;
}

.hero-facts span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.hero-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 560px;
  position: relative;
}

.scanner-panel {
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.9), rgba(7, 17, 31, 0.74)),
    repeating-linear-gradient(120deg, #243449 0, #243449 2px, #1b293d 2px, #1b293d 22px);
  border: 1px solid rgba(23, 32, 51, 0.3);
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(7, 17, 31, 0.24);
  color: #ffffff;
  min-height: 420px;
  padding: 22px;
  position: relative;
  transform: translate(-24px, -26px);
  width: min(500px, 100%);
}

.scanner-top,
.scanner-bottom {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.scanner-top span,
.scanner-bottom span,
.scanner-bottom strong,
.scanner-top strong {
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 12px;
}

.scanner-top strong {
  font-size: 18px;
  min-width: 54px;
  text-align: center;
}

.nfc-chip {
  align-items: center;
  background: rgba(32, 184, 117, 0.16);
  border: 1px solid rgba(82, 226, 154, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  font-size: 13px;
  gap: 8px;
  margin-top: 18px;
  padding: 7px 11px;
}

.nfc-chip span {
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(32, 184, 117, 0.72);
  height: 8px;
  width: 8px;
}

.scan-window {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  height: 238px;
  margin: 26px auto 46px;
  max-width: 380px;
  overflow: hidden;
  position: relative;
}

.corner {
  border-color: var(--bright-blue);
  border-style: solid;
  height: 36px;
  position: absolute;
  width: 36px;
  z-index: 2;
}

.top-left {
  border-width: 5px 0 0 5px;
  left: 24px;
  top: 24px;
}

.top-right {
  border-width: 5px 5px 0 0;
  right: 24px;
  top: 24px;
}

.bottom-left {
  border-width: 0 0 5px 5px;
  bottom: 24px;
  left: 24px;
}

.bottom-right {
  border-width: 0 5px 5px 0;
  bottom: 24px;
  right: 24px;
}

.barcode-lines {
  align-items: stretch;
  display: flex;
  gap: 8px;
  height: 128px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 55px;
  transform: translateX(-50%);
  width: 230px;
}

.barcode-lines i {
  background: #1c2d43;
  display: block;
  width: 6px;
}

.barcode-lines i:nth-child(3n) {
  width: 16px;
}

.barcode-lines i:nth-child(4n) {
  width: 3px;
}

.scan-line {
  background: rgba(43, 124, 255, 0.75);
  box-shadow: 0 0 18px rgba(43, 124, 255, 0.75);
  height: 3px;
  left: 28px;
  position: absolute;
  right: 28px;
  top: 118px;
}

.scanner-bottom {
  gap: 10px;
}

.scanner-bottom span,
.scanner-bottom strong {
  font-size: 13px;
  text-align: center;
}

.scanner-bottom strong {
  background: var(--blue);
}

.export-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(203, 214, 228, 0.92);
  border-radius: var(--radius);
  bottom: 18px;
  box-shadow: var(--shadow-md);
  max-width: 342px;
  padding: 16px;
  position: absolute;
  right: 0;
  width: 58%;
  z-index: 3;
}

.card-title {
  align-items: center;
  color: var(--ink);
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.card-title strong {
  font-weight: 500;
}

.card-title span {
  background: var(--green);
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.export-row {
  border-top: 1px solid var(--line);
  color: var(--muted-strong);
  display: grid;
  font-size: 13px;
  gap: 10px;
  grid-template-columns: minmax(0, 1.7fr) 0.5fr 0.8fr;
  padding: 8px 0;
}

.export-row.header {
  border-top: 0;
  color: var(--ink);
  font-weight: 500;
}

.export-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.export-actions span {
  background: #edf4ff;
  border: 1px solid rgba(10, 116, 218, 0.16);
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 9px;
}

.trust-strip {
  align-items: center;
  background: var(--ink);
  color: #ffffff;
  display: flex;
  gap: 18px;
  justify-content: center;
  padding: 18px 24px;
  text-align: center;
}

.trust-strip p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.section,
.examples-section,
.limits-band {
  padding: 88px max(24px, calc((100vw - 1160px) / 2));
}

.section-heading {
  margin-bottom: 34px;
  max-width: 780px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted-strong);
  font-size: 18px;
  margin-bottom: 0;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.setup-flow {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
  position: relative;
}

.setup-step,
.template-card,
.example-card,
.plan-card,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(10, 23, 46, 0.06);
}

.setup-step {
  border-color: var(--line-strong);
  min-height: 190px;
  overflow: visible;
  padding: 24px;
  position: relative;
}

.setup-step:not(:last-child)::after {
  align-items: center;
  color: var(--blue);
  content: ">";
  display: flex;
  font-size: 18px;
  font-weight: 400;
  height: 24px;
  justify-content: center;
  line-height: 1;
  opacity: 0.72;
  position: absolute;
  right: -29px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  z-index: 2;
}

.step-heading {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.step-heading h3 {
  margin: 0;
}

.step-number {
  align-items: center;
  background: rgba(10, 116, 218, 0.08);
  border: 1px solid rgba(10, 116, 218, 0.14);
  border-radius: 999px;
  color: var(--blue);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  height: 28px;
  justify-content: center;
  width: 38px;
}

.setup-step p,
.example-card p,
.template-card p,
.plan-card p,
.faq-item p {
  color: var(--muted-strong);
  margin-bottom: 0;
}

.template-grid,
.examples-grid {
  display: grid;
  gap: 16px;
}

.template-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.template-card {
  overflow: hidden;
  padding: 18px;
}

.template-preview {
  background: #07111f;
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  height: 154px;
  margin-bottom: 18px;
  overflow: hidden;
  padding: 16px;
  position: relative;
}

.camera-preview {
  align-items: center;
  justify-content: center;
}

.camera-preview span {
  border: 4px solid var(--bright-blue);
  border-radius: 14px;
  display: block;
  height: 74px;
  width: 116px;
}

.camera-preview::before,
.camera-preview::after {
  background: #ffffff;
  content: "";
  position: absolute;
}

.camera-preview::before {
  height: 90px;
  width: 9px;
}

.camera-preview::after {
  height: 9px;
  width: 180px;
}

.duplicate-preview,
.keyboard-preview,
.nfc-preview {
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-end;
}

.duplicate-preview strong,
.keyboard-preview strong,
.nfc-preview strong {
  font-size: 2rem;
  line-height: 1;
}

.duplicate-preview small,
.keyboard-preview small,
.nfc-preview small {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

.duplicate-preview::before {
  background: var(--green);
  border-radius: 50%;
  content: "";
  height: 42px;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
}

.keyboard-preview::before {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  content: "";
  height: 54px;
  left: 16px;
  position: absolute;
  right: 16px;
  top: 18px;
}

.nfc-preview span {
  border: 2px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  height: 68px;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 68px;
}

.nfc-preview span::before,
.nfc-preview span::after {
  border: 2px solid rgba(32, 184, 117, 0.84);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  content: "";
  position: absolute;
}

.nfc-preview span::before {
  inset: 12px;
  transform: rotate(45deg);
}

.nfc-preview span::after {
  inset: 24px;
  transform: rotate(45deg);
}

.export-preview {
  align-items: center;
  gap: 9px;
  justify-content: center;
}

.export-preview span {
  background: #ffffff;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  padding: 12px 13px;
}

.examples-section {
  background: #eef4f9;
}

.examples-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.example-card {
  padding: 24px;
}

.example-card h3 {
  align-items: center;
  display: flex;
  gap: 9px;
}

.example-card h3::before {
  background: var(--amber);
  border-radius: 50%;
  content: "";
  flex: 0 0 auto;
  height: 10px;
  width: 10px;
}

.limits-band {
  background: #ffffff;
  border-block: 1px solid var(--line);
}

.plans {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.plan-card {
  padding: 28px;
  position: relative;
}

.plan-card.pro {
  border-color: rgba(10, 116, 218, 0.36);
  box-shadow: 0 22px 64px rgba(10, 116, 218, 0.12);
}

.plan-badge {
  background: #edf4ff;
  border: 1px solid rgba(10, 116, 218, 0.18);
  border-radius: 999px;
  color: var(--blue);
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 14px;
  padding: 5px 10px;
}

.plan-card ul {
  color: var(--muted-strong);
  margin: 24px 0 0;
  padding-left: 20px;
}

.plan-card li + li {
  margin-top: 9px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-item {
  padding: 0 20px;
}

.faq-item summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  list-style: none;
  padding: 19px 0;
}

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

.faq-item summary::after {
  color: var(--blue);
  content: "+";
  float: right;
  font-size: 22px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  border-top: 1px solid var(--line);
  padding: 16px 0 20px;
}

.site-footer {
  background: var(--ink);
  color: #ffffff;
  padding: 34px max(24px, calc((100vw - 1160px) / 2));
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: #ffffff;
  font-weight: 500;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    min-height: auto;
  }

  .scanner-panel {
    transform: none;
  }

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

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

  h1 {
    font-size: 3.9rem;
  }

  h2 {
    font-size: 2.55rem;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    display: none;
    flex-direction: column;
    left: 14px;
    padding: 12px;
    position: fixed;
    right: 14px;
    top: 92px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: var(--radius);
    width: 100%;
  }

  .hero {
    gap: 36px;
    min-height: auto;
    padding-top: 116px;
  }

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

  .export-card {
    bottom: -12px;
    right: 12px;
    width: min(342px, 78%);
  }

  .trust-strip,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

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

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

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .site-header {
    width: calc(100% - 36px);
  }

  .brand img {
    height: 34px;
    width: 34px;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero,
  .section,
  .examples-section,
  .limits-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-bottom: 58px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-badge img {
    height: 48px;
  }

  .examples-grid,
  .template-grid,
  .setup-flow {
    grid-template-columns: 1fr;
  }

  .setup-flow {
    gap: 28px;
  }

  .setup-step:not(:last-child)::after {
    bottom: -30px;
    content: "v";
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
  }

  .scanner-panel {
    border-radius: 24px;
    min-height: 380px;
    padding: 16px;
  }

  .scanner-bottom span,
  .scanner-bottom strong {
    padding: 8px 9px;
  }

  .scan-window {
    height: 210px;
    margin: 36px auto 38px;
  }

  .export-card {
    margin-top: 12px;
    max-width: none;
    position: static;
    width: 100%;
  }

  .section,
  .examples-section,
  .limits-band {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.42rem;
  }

  h2 {
    font-size: 1.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
