:root {
  --ink: #17201b;
  --ink-soft: #3d4941;
  --surface: #ffffff;
  --surface-2: #f6f8f5;
  --line: #d9e1d7;
  --green: #2f7d56;
  --green-dark: #1f5c3d;
  --teal: #0f8b8d;
  --amber: #f3b43f;
  --clay: #d95d39;
  --shadow: 0 24px 70px rgba(23, 32, 27, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface-2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 48px);
  background: rgba(246, 248, 245, 0.92);
  border-bottom: 1px solid rgba(217, 225, 215, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
  color: var(--ink);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

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

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: #eaf0e7;
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
}

.section-band {
  position: relative;
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 48px);
}

.hero {
  min-height: 84svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(110deg, rgba(246, 248, 245, 0.98) 0%, rgba(246, 248, 245, 0.88) 42%, rgba(235, 242, 232, 0.72) 100%),
    repeating-linear-gradient(135deg, rgba(47, 125, 86, 0.08) 0 1px, transparent 1px 22px);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 98px clamp(18px, 5vw, 64px) 56px 38%;
  pointer-events: none;
}

.pos-shell {
  width: min(680px, 58vw);
  min-height: 500px;
  background: #fdfefb;
  border: 1px solid rgba(23, 32, 27, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1300px) rotateY(-8deg) rotateX(3deg);
}

.pos-topbar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: #1b251f;
}

.pos-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}

.pos-topbar span:nth-child(2) {
  background: var(--teal);
}

.pos-topbar span:nth-child(3) {
  background: var(--clay);
}

.pos-layout {
  display: grid;
  grid-template-columns: 76px 1fr;
  min-height: 458px;
}

.pos-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 22px 0;
  background: #203126;
}

.pos-sidebar span,
.pos-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.pos-logo {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.pos-sidebar .active-line {
  background: var(--amber);
}

.pos-main {
  padding: 28px;
}

.pos-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.pos-status strong {
  display: block;
  font-size: 26px;
  line-height: 1.15;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.sync-pill {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(243, 180, 63, 0.7);
  border-radius: 8px;
  color: #6f4b00;
  background: rgba(243, 180, 63, 0.14);
  font-size: 12px;
  font-weight: 760;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-tile {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf4;
}

.product-tile span,
.ticket-row span,
.ticket-total span {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
}

.product-tile strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.ticket {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(47, 125, 86, 0.24);
  border-radius: 8px;
  background: #fff;
}

.ticket-row,
.ticket-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid #edf1ea;
}

.ticket-total {
  border-bottom: 0;
  padding-bottom: 0;
}

.ticket-total strong {
  font-size: 22px;
}

.hero-content {
  width: min(670px, 100%);
  padding-top: 16px;
  z-index: 1;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 630px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 760;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(760px, 100%);
  margin: 44px 0 0;
}

.hero-proof div {
  padding: 14px 0 0;
  border-top: 1px solid rgba(23, 32, 27, 0.2);
}

.hero-proof dt {
  color: var(--ink-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.hero-proof dd {
  margin: 6px 0 0;
  font-weight: 760;
}

.credibility-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 0;
}

.strip-item {
  min-height: 190px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.strip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--green-dark);
  background: #e6f0e7;
  font-size: 13px;
  font-weight: 800;
}

.strip-item strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
}

.strip-item p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.compliance-panel h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p,
.compliance-panel p,
.contact-copy p {
  color: var(--ink-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.feature-card,
.ops-block,
.roadmap-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-number,
.roadmap-card span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--green-dark);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 850;
}

.feature-card h3,
.ops-block h3,
.roadmap-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.18;
}

.feature-card p,
.ops-block p,
.roadmap-card p {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.compliance-section {
  background: #eaf0e7;
}

.compliance-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}

.status-stack {
  padding: 24px;
  border: 1px solid rgba(47, 125, 86, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.status-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 16px;
  padding: 0 0 24px;
  position: relative;
}

.status-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 24px;
  bottom: 4px;
  width: 2px;
  background: #ccd9ce;
}

.status-item > span {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border: 2px solid #a8b9aa;
  border-radius: 50%;
  background: var(--surface);
  z-index: 1;
}

.status-item.complete > span {
  border-color: var(--green);
  background: var(--green);
}

.status-item.active > span {
  border-color: var(--amber);
  background: var(--amber);
}

.status-item strong {
  display: block;
  font-size: 19px;
}

.status-item p {
  margin: 5px 0 0;
  font-size: 15px;
}

.resource-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: var(--max);
  margin: 36px auto 0;
}

.resource-row a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(47, 125, 86, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 750;
}

.resource-row a:hover,
.resource-row a:focus-visible {
  background: var(--surface);
  outline: none;
}

.operations-section {
  background: var(--surface);
}

.ops-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}

.ops-block {
  background: var(--surface-2);
}

.ops-block ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ops-block li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
}

.ops-block li + li {
  margin-top: 8px;
}

.ops-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}

.roadmap-card.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.roadmap-card.active span,
.roadmap-card.active p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  max-width: calc(var(--max) + 96px);
  margin: 0 auto;
  align-items: start;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green-dark);
  font-weight: 850;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 20px 54px rgba(23, 32, 27, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 730;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd7cd;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfcfa;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(47, 125, 86, 0.18);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--ink-soft);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 36px clamp(18px, 5vw, 48px);
  color: rgba(255, 255, 255, 0.78);
  background: #17201b;
}

.site-footer strong {
  display: block;
  color: #fff;
}

.site-footer p {
  margin: 6px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms cubic-bezier(0.2, 0, 0, 1), transform 520ms cubic-bezier(0.2, 0, 0, 1);
}

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

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-backdrop {
    position: relative;
    inset: auto;
    order: 2;
    padding: 28px 0 0;
    justify-content: center;
  }

  .hero-content {
    order: 1;
  }

  .pos-shell {
    width: min(100%, 640px);
    min-height: 440px;
    transform: none;
  }

  .feature-grid,
  .ops-layout,
  .credibility-strip,
  .compliance-panel,
  .roadmap-grid,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-heading {
    text-align: left;
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 78px;
    display: none;
    grid-template-columns: 1fr;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .pos-layout {
    grid-template-columns: 54px 1fr;
  }

  .pos-main {
    padding: 18px;
  }

  .pos-status {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .product-tile {
    min-height: 76px;
  }

  .contact-form {
    padding: 20px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
