:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #5c6661;
  --paper: #f4f2eb;
  --surface: #fffdf8;
  --line: #d8d7cf;
  --brand: #0f634f;
  --brand-dark: #0a493b;
  --accent: #d9f26a;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .75rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }
.site-header { width: min(1180px, calc(100% - 40px)); min-height: 84px; margin: auto; display: flex; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.15rem; font-weight: 760; letter-spacing: -.02em; }
.wordmark svg { width: 35px; height: 35px; fill: var(--brand); }
.wordmark .beam { fill: var(--accent); }
.site-header nav { display: flex; gap: 28px; margin-left: auto; }
.site-header nav a, footer nav a { color: var(--muted); font-size: .92rem; text-decoration: none; }
.site-header nav a:hover, footer nav a:hover { color: var(--brand); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 1px solid var(--brand); border-radius: 999px; background: var(--brand); color: white; font-weight: 720; text-decoration: none; transition: transform 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); background: var(--brand-dark); }
.button-small { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.hero { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 98px 0 78px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr); align-items: center; gap: 76px; }
.eyebrow { margin: 0 0 20px; color: var(--brand); font-size: .78rem; font-weight: 780; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 760px; margin: 0; font-size: clamp(3.2rem, 7vw, 6.4rem); line-height: .94; letter-spacing: -.065em; font-weight: 760; }
.hero-lede { max-width: 690px; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.65; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.text-link { color: var(--brand-dark); font-weight: 700; text-underline-offset: 4px; }
.flow-card { position: relative; padding: 26px; overflow: hidden; border: 1px solid #bac5bf; border-radius: 26px; background: var(--surface); box-shadow: 0 24px 70px rgba(26, 46, 39, .09); }
.flow-card::before { content: ""; position: absolute; width: 180px; height: 4px; top: 0; left: 26px; background: var(--accent); }
.flow-heading { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .68rem; letter-spacing: .13em; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0; text-transform: none; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.flow-card ol { margin: 24px 0; padding: 0; list-style: none; }
.flow-card li { display: grid; grid-template-columns: 40px 1fr; column-gap: 13px; padding: 15px 0; border-top: 1px solid var(--line); }
.flow-card li > span { grid-row: 1 / 3; color: var(--brand); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; }
.flow-card li strong { font-size: .98rem; }
.flow-card li small { margin-top: 4px; color: var(--muted); }
.scan-line { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 10px; background: #e9ede8; color: var(--brand-dark); font-size: .82rem; font-weight: 700; }
.scan-symbol { width: 27px; height: 18px; background: repeating-linear-gradient(90deg, var(--brand-dark) 0 2px, transparent 2px 5px); }
.value-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-strip p { margin: 0; padding: 34px max(32px, calc((100vw - 1180px) / 2)); color: var(--muted); line-height: 1.55; }
.value-strip p + p { border-left: 1px solid var(--line); }
.value-strip strong { display: block; margin-bottom: 5px; color: var(--ink); }
.section { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 112px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: 70px; align-items: end; margin-bottom: 52px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -48px; }
h2 { margin: 0; font-size: clamp(2.35rem, 4.8vw, 4.35rem); line-height: 1.02; letter-spacing: -.045em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.feature-grid article { min-height: 260px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, .38); }
.feature-number { color: var(--brand); font: 700 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.feature-grid h3 { margin: 54px 0 12px; font-size: 1.18rem; }
.feature-grid p { margin: 0; color: var(--muted); line-height: 1.65; }
.integrations { border-top: 1px solid var(--line); }
.connector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.connector-grid article { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.connector-grid article div { display: grid; gap: 5px; }
.connector-grid small { color: var(--muted); }
.status { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.available { background: #dff1e9; color: #075b46; }
.planned { background: #ecebe5; color: #606760; }
.scanner-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto 112px; display: grid; grid-template-columns: 1fr .7fr 180px; gap: 70px; align-items: end; padding: 56px; border-radius: 24px; background: var(--ink); color: white; }
.scanner-section .eyebrow { color: var(--accent); }
.scanner-section h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
.scanner-section > p { margin: 0; color: #bdc7c2; line-height: 1.7; }
.barcode { height: 150px; display: flex; align-items: stretch; justify-content: end; gap: 5px; }
.barcode i { display: block; width: 4px; background: var(--accent); }
.barcode i:nth-child(3n) { width: 10px; }
.barcode i:nth-child(2n) { opacity: .55; }
.final-cta { padding: 100px max(20px, calc((100vw - 1180px) / 2)); background: var(--brand); color: white; }
.final-cta .eyebrow { color: var(--accent); }
.final-cta h2 { max-width: 850px; }
.final-cta > p:not(.eyebrow) { color: #cae0d9; font-size: 1.1rem; }
.button-light { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.button-light:hover { background: #e4f78f; }
.text-link-light { color: white; }
footer { width: min(1180px, calc(100% - 40px)); min-height: 160px; margin: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.wordmark-footer { font-size: 1rem; }
footer p { color: var(--muted); font-size: .85rem; }
footer nav { display: flex; gap: 22px; }

.legal-main { width: min(760px, calc(100% - 40px)); margin: auto; padding: 78px 0 110px; }
.legal-main h1 { margin-bottom: 38px; font-size: clamp(2.8rem, 7vw, 5rem); }
.legal-main h2 { margin: 42px 0 14px; font-size: 1.55rem; letter-spacing: -.025em; }
.legal-main p, .legal-main li { color: var(--muted); line-height: 1.75; }
.legal-main a { color: var(--brand); }
.legal-note { padding: 18px 20px; border-left: 4px solid var(--accent); background: var(--surface); }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .site-header .button { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 52px; padding-top: 72px; }
  .flow-card { max-width: 620px; }
  .value-strip { grid-template-columns: 1fr; }
  .value-strip p { padding: 24px max(20px, calc((100vw - 860px) / 2)); }
  .value-strip p + p { border-left: 0; border-top: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading .eyebrow { grid-column: auto; margin-bottom: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .scanner-section { grid-template-columns: 1fr; gap: 28px; padding: 40px; }
  .barcode { height: 70px; justify-content: start; }
  footer { grid-template-columns: 1fr auto; }
  footer p { grid-column: 1 / -1; order: 3; }
}

@media (max-width: 580px) {
  .site-header { width: min(100% - 28px, 1180px); min-height: 72px; }
  .site-header .button { min-height: 38px; padding: 0 13px; }
  .wordmark span { font-size: 1rem; }
  .wordmark svg { width: 30px; height: 30px; }
  .hero, .section, .scanner-section, footer { width: min(100% - 28px, 1180px); }
  .hero { padding: 62px 0; }
  h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .text-link { text-align: center; }
  .flow-card { padding: 20px; border-radius: 18px; }
  .section { padding: 82px 0; }
  .feature-grid, .connector-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 220px; }
  .scanner-section { margin-bottom: 82px; padding: 28px 22px; }
  .barcode { overflow: hidden; }
  .final-cta { padding-top: 76px; padding-bottom: 76px; }
  footer { grid-template-columns: 1fr; padding: 42px 0; gap: 20px; }
  footer p { grid-column: auto; order: initial; margin: 0; }
}

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