:root {
  --ink: #17212b;
  --muted: #5d6976;
  --line: #dce3e8;
  --paper: #ffffff;
  --mist: #eef7f5;
  --teal: #047b77;
  --teal-dark: #055f5d;
  --gold: #f0ae3b;
  --coral: #d95c4f;
  --navy: #172f43;
  --shadow: 0 24px 70px rgba(23, 33, 43, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfc;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.dialog-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 232, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: var(--teal);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(4, 123, 119, 0.24);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.ghost-link:hover {
  color: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ghost-link {
  color: var(--muted);
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 24px rgba(4, 123, 119, 0.22);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.82);
}

.button-dark {
  color: #fff;
  background: var(--navy);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 72px));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 25, 34, 0.88) 0%, rgba(10, 25, 34, 0.55) 45%, rgba(10, 25, 34, 0.16) 100%),
    linear-gradient(0deg, rgba(10, 25, 34, 0.75), rgba(10, 25, 34, 0.02) 45%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(36px, 8vh, 86px) clamp(18px, 7vw, 92px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  font-weight: 950;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--muted);
  background: #fff;
  font-weight: 850;
  text-align: center;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

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

.section-heading.narrow {
  width: min(760px, 100%);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.section-heading p:not(.eyebrow),
.feature-band > div > p,
.final-cta p {
  color: var(--muted);
  font-size: 1.05rem;
}

.product-overview {
  background: #fff;
}

.screen-showcase {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.pos-screen,
.manager-panel {
  min-height: 440px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pos-screen {
  color: #fff;
  background: var(--navy);
}

.screen-topbar,
.panel-header,
.receipt-list span,
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.screen-topbar {
  margin-bottom: 22px;
  font-weight: 850;
}

.screen-topbar strong {
  font-size: 2rem;
}

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

.screen-grid button {
  min-height: 82px;
  color: #fff;
  cursor: default;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 900;
}

.receipt-list {
  margin: 24px 0;
}

.receipt-list span {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.receipt-list em {
  font-style: normal;
  color: #cfe8e4;
}

.screen-pay {
  display: grid;
  min-height: 56px;
  place-items: center;
  margin-top: auto;
  color: var(--ink);
  background: var(--gold);
  border-radius: 8px;
  font-weight: 950;
}

.manager-panel {
  background: #fff;
}

.panel-header {
  margin-bottom: 22px;
}

.panel-header span {
  color: var(--muted);
  font-weight: 800;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.metric-row div {
  padding: 18px;
  background: var(--mist);
  border-radius: 8px;
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  font-size: 1.45rem;
}

.metric-row span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.inventory-table {
  display: grid;
  grid-template-columns: 1fr 90px 70px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.inventory-table > * {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}

.inventory-table span {
  color: var(--muted);
  background: #f6f8f9;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.inventory-table em {
  font-style: normal;
}

.inventory-table b {
  color: var(--teal);
}

.retail-section {
  background: var(--mist);
}

.retail-grid,
.hardware-grid,
.pricing-grid {
  width: min(1160px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
}

.retail-grid article,
.hardware-card,
.price-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.retail-grid p,
.hardware-card p,
.price-card p,
.faq-list p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--teal);
  background: #e3f2ef;
  border-radius: 8px;
  font-weight: 950;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--navy);
  color: #fff;
}

.feature-band > div > p {
  color: rgba(255, 255, 255, 0.72);
}

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

.feature-list article {
  min-height: 184px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.feature-list p {
  color: rgba(255, 255, 255, 0.72);
}

.hardware-section {
  background: #fff;
}

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

.hardware-card {
  min-height: 210px;
  border-top: 4px solid var(--gold);
}

.pricing-section {
  background: #f6f8f9;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
}

.price-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  color: #fff;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.plan {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 950;
  text-transform: uppercase;
}

.price-card.featured .plan {
  color: var(--gold);
}

.price-card h3 {
  font-size: 2.2rem;
}

.price-card ul {
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding: 9px 0 9px 28px;
  color: var(--muted);
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.price-card .button {
  margin-top: auto;
}

.faq-section {
  background: #fff;
}

.faq-list {
  width: min(860px, 100%);
  margin: 0 auto;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 1.1rem;
  font-weight: 950;
}

.faq-list p {
  margin: 0 0 22px;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin: clamp(18px, 5vw, 72px);
  padding: clamp(30px, 5vw, 58px);
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}

.final-cta h2 {
  max-width: 780px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 850;
}

.footer-brand {
  color: var(--ink);
}

.trial-dialog {
  width: min(560px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trial-dialog::backdrop {
  background: rgba(9, 18, 24, 0.64);
}

.trial-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px;
}

.trial-card h2 {
  font-size: 2rem;
}

.form-intro {
  margin: 0 0 8px;
  color: var(--muted);
}

.trial-card label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 850;
}

.trial-card input {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trial-card input:focus {
  outline: 3px solid rgba(4, 123, 119, 0.18);
  border-color: var(--teal);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  color: var(--muted);
  cursor: pointer;
  background: #f6f8f9;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.4rem;
  line-height: 1;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 850;
}

.form-status.error {
  color: var(--coral);
}

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

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-content {
    margin-left: 24px;
  }

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

  .screen-showcase,
  .feature-band,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .final-cta,
  .site-footer {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 32px;
  }

  .hero-actions,
  .hero-actions .button,
  .header-actions,
  .header-actions .button {
    width: 100%;
  }

  .hero-stats,
  .trust-strip,
  .retail-grid,
  .feature-list,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .pos-screen,
  .manager-panel {
    min-height: auto;
    padding: 16px;
  }

  .inventory-table {
    grid-template-columns: 1fr 70px 54px;
    font-size: 0.86rem;
  }

  .site-footer nav {
    display: grid;
    gap: 10px;
  }
}
