:root {
  --ink: #17211f;
  --muted: #5e6865;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #e3e0d7;
  --green: #16745f;
  --green-dark: #0f5146;
  --yellow: #f5c84b;
  --coral: #ef6f5b;
  --blue: #316f9f;
  --shadow: 0 24px 70px rgba(23, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid rgba(227, 224, 215, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 116, 95, 0.25);
}

.brand-name {
  position: relative;
  display: inline-grid;
  width: 142px;
  overflow: hidden;
  font-size: 1.08rem;
  transition: width 560ms ease;
}

.brand-name.is-collapsed {
  width: 86px;
}

.brand-full,
.brand-short {
  grid-area: 1 / 1;
  white-space: nowrap;
  transition: opacity 280ms ease, transform 560ms ease;
}

.brand-short {
  opacity: 0;
  transform: translateX(18px);
}

.brand-name.is-collapsed .brand-full {
  opacity: 0;
  transform: translateX(-28px);
}

.brand-name.is-collapsed .brand-short {
  opacity: 1;
  transform: translateX(0);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
}

.header-action {
  justify-self: end;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  min-height: calc(100vh - 74px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px) clamp(28px, 5vw, 56px);
  background:
    linear-gradient(135deg, rgba(245, 200, 75, 0.2), transparent 34%),
    linear-gradient(315deg, rgba(49, 111, 159, 0.12), transparent 32%),
    var(--paper);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 830px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.3rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.65;
}

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

.primary-button {
  padding: 0 22px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 28px rgba(22, 116, 95, 0.22);
}

.secondary-button {
  padding: 0 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.phone-stage {
  position: relative;
  min-height: 560px;
}

.phone {
  position: relative;
  z-index: 2;
  width: min(330px, 78vw);
  margin: 0 auto;
  padding: 16px;
  border: 10px solid #202927;
  border-radius: 36px;
  background: #202927;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 96px;
  height: 6px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #3b4542;
}

.app-screen {
  min-height: 480px;
  padding: 20px;
  border-radius: 24px;
  background: #f7f7f1;
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.screen-header span,
.customer-chip {
  color: var(--green-dark);
  font-weight: 800;
}

.customer-chip {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(245, 200, 75, 0.35);
  font-size: 0.85rem;
}

.line-item,
.total-row,
.report-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.total-row {
  margin-top: 20px;
  border-bottom: 0;
  font-size: 1.4rem;
}

.tap-row,
.report-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.tap-row button,
.report-actions button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 800;
}

.tap-row button:last-child,
.report-actions button:nth-child(2) {
  background: var(--blue);
}

.receipt-card,
.printer-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(227, 224, 215, 0.9);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.receipt-card {
  top: 58px;
  right: 0;
  display: grid;
  gap: 6px;
  width: 205px;
  padding: 18px;
}

.receipt-card span,
.receipt-card small,
.printer-card small,
.report-row span {
  color: var(--muted);
}

.receipt-card strong {
  font-size: 1.8rem;
}

.printer-card {
  right: 4%;
  bottom: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(280px, 70vw);
  padding: 16px;
}

.printer-light {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 8px rgba(245, 200, 75, 0.22);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line);
}

.trust-band span {
  padding: 20px clamp(20px, 5vw, 72px);
  background: #fff;
  color: var(--green-dark);
  font-weight: 800;
  text-align: center;
}

.section,
.workflow-section,
.cta-section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card,
.steps article,
.report-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(23, 33, 31, 0.06);
}

.feature-card {
  padding: 24px;
}

.feature-card p,
.steps p,
.reports-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #e9f2ef;
  color: var(--green-dark);
  font-weight: 900;
}

.workflow-section {
  background: #eff2eb;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps article {
  padding: 28px;
}

.steps span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--coral);
  font-weight: 900;
}

.reports-section {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.reports-copy {
  max-width: 720px;
}

.report-panel {
  padding: 24px;
}

.report-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.report-tabs span {
  display: grid;
  min-height: 40px;
  place-items: center;
  border-radius: 8px;
  background: #f3f1e9;
  color: var(--muted);
  font-weight: 800;
}

.report-tabs .active {
  background: var(--green);
  color: #fff;
}

.report-actions {
  grid-template-columns: repeat(3, 1fr);
}

.report-actions button:last-child {
  background: var(--coral);
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--green-dark);
  color: #fff;
}

.cta-section .eyebrow {
  color: var(--yellow);
}

.cta-section h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.cta-section .primary-button {
  flex: 0 0 auto;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .reports-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone-stage {
    min-height: 520px;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-name {
    width: 128px;
  }

  .brand-name.is-collapsed {
    width: 78px;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .phone-stage {
    min-height: 500px;
  }

  .receipt-card {
    top: 12px;
    right: 0;
    width: 168px;
  }

  .printer-card {
    right: 0;
    bottom: 24px;
  }

  .trust-band,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
