:root {
  --ink: #161616;
  --muted: #5d645f;
  --paper: #fffaf2;
  --surface: #ffffff;
  --line: #ded7c8;
  --teal: #13766f;
  --mint: #dff6df;
  --coral: #ee6d4a;
  --amber: #f0b429;
  --lime: #b8e35f;
  --charcoal: #20201d;
  --shadow: 0 24px 70px rgba(29, 25, 18, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(255, 250, 242, 0.9);
  border-bottom: 1px solid rgba(222, 215, 200, 0.7);
  display: flex;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 48px;
  position: fixed;
  right: 0;
  top: 0;
  transition: box-shadow 180ms ease, background 180ms ease;
  z-index: 20;
}

.site-header.scrolled {
  background: rgba(255, 250, 242, 0.98);
  box-shadow: 0 12px 36px rgba(29, 25, 18, 0.08);
}

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

.brand-mark {
  align-items: center;
  background: var(--teal);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.nav-cta,
.primary-button,
.secondary-button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.nav-cta,
.primary-button {
  background: var(--teal);
  color: #ffffff;
}

.secondary-button {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.menu-button {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.menu-button span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 7px 0;
  width: 24px;
}

.mobile-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: none;
  left: 0;
  padding: 86px 24px 18px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 15;
}

.mobile-nav.open {
  display: grid;
  gap: 14px;
}

.hero {
  min-height: 92vh;
  overflow: hidden;
  padding: 138px 48px 56px;
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, rgba(17, 18, 16, 0.84), rgba(17, 18, 16, 0.45) 48%, rgba(17, 18, 16, 0.12));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-scene {
  background:
    linear-gradient(rgba(17, 18, 16, 0.18), rgba(17, 18, 16, 0.18)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 90px),
    #25231e;
  inset: 0;
  position: absolute;
}

.ops-board {
  background: rgba(255, 250, 242, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  bottom: 90px;
  box-shadow: var(--shadow);
  min-height: 540px;
  padding: 18px;
  position: absolute;
  right: 4vw;
  width: min(760px, 60vw);
}

.ops-topbar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
  height: 46px;
  justify-content: space-between;
  padding: 0 8px 14px;
}

.status-dot {
  background: var(--lime);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(184, 227, 95, 0.22);
  height: 10px;
  width: 10px;
}

.ops-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.15fr 1fr 0.72fr;
  grid-template-rows: 220px 220px;
  padding-top: 16px;
}

.ops-pane,
.phone-preview,
.feature-card,
.resource-card,
.demo-form,
.tabs {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ops-pane {
  padding: 16px;
}

.tables-pane {
  grid-row: span 2;
}

.station-pane {
  grid-column: 2;
}

.pane-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
}

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

.table-map span {
  align-items: center;
  border-radius: 8px;
  display: flex;
  font-weight: 800;
  height: 76px;
  justify-content: center;
}

.free {
  background: var(--mint);
  color: #185f39;
}

.busy {
  background: #ffe1d6;
  color: #8d321a;
}

.blocked {
  background: #ece8dd;
  color: #676157;
}

.order-line,
.total-line,
.station-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.order-line {
  border-bottom: 1px solid #eee8dc;
  min-height: 48px;
}

.order-line.ready strong {
  color: var(--teal);
}

.total-line {
  margin-top: 24px;
}

.station-row {
  gap: 12px;
  margin: 18px 0;
}

meter {
  flex: 1;
  height: 12px;
}

.phone-preview {
  align-self: start;
  background: #20201d;
  color: #ffffff;
  grid-column: 3;
  grid-row: 1 / span 2;
  min-height: 360px;
  padding: 18px;
}

.phone-speaker {
  background: #5a5a50;
  border-radius: 999px;
  height: 5px;
  margin: 0 auto 22px;
  width: 48px;
}

.phone-status {
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.phone-item,
.phone-cart {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  margin-top: 12px;
  min-height: 54px;
  padding: 16px;
}

.phone-item.highlight {
  background: var(--coral);
  border-color: var(--coral);
  font-weight: 800;
}

.phone-cart {
  color: #d8d4ca;
  font-size: 13px;
}

.hero-content {
  color: #ffffff;
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(64px, 11vw, 132px);
  letter-spacing: 0;
  line-height: 0.86;
  margin: 0;
}

.hero-copy {
  font-size: 22px;
  line-height: 1.45;
  margin: 30px 0;
  max-width: 640px;
}

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

.hero-metrics {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 58px 0 0;
  max-width: 820px;
}

.hero-metrics div {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 16px;
}

.hero-metrics dt {
  font-weight: 800;
}

.hero-metrics dd {
  color: rgba(255, 255, 255, 0.76);
  margin: 6px 0 0;
}

.flow-strip {
  background: var(--charcoal);
  color: #ffffff;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 18px 48px;
}

.flow-strip span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
}

.section,
.band,
.proof-band {
  padding: 92px 48px;
}

.section-heading {
  max-width: 860px;
}

.section-heading.compact {
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.demo-copy h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.section-heading p:not(.eyebrow),
.demo-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 22px 0 0;
}

.operation-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 0.8fr;
  margin-top: 44px;
}

.wide-feature {
  align-items: stretch;
  background: var(--charcoal);
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  gap: 20px;
  grid-row: span 2;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 420px;
  padding: 28px;
}

.feature-copy p,
.feature-card p,
.resource-card p,
.tab-panel p {
  line-height: 1.58;
}

.feature-icon,
.resource-icon {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  margin-bottom: 22px;
  width: 38px;
}

.feature-icon {
  background: var(--lime);
  color: var(--ink);
}

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

.mini-kanban div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 16px;
}

.mini-kanban strong,
.mini-kanban span {
  display: block;
}

.mini-kanban strong {
  color: var(--lime);
  margin-bottom: 16px;
}

.mini-kanban span {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-top: 10px;
  padding: 12px;
}

.feature-card,
.resource-card {
  padding: 28px;
}

.accent-card {
  background: #fff0d1;
}

.band {
  background: #f1f7ec;
}

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

.resource-icon {
  background: var(--teal);
  color: #ffffff;
}

.split-section {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 0.88fr;
}

.tabs {
  padding: 12px;
}

.tab-list {
  background: #f2ede2;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  padding: 6px;
}

.tab-button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  min-height: 44px;
}

.tab-button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(29, 25, 18, 0.08);
}

.tab-panel {
  display: none;
  min-height: 220px;
  padding: 26px;
}

.tab-panel.active {
  display: block;
}

.tab-panel h3 {
  font-size: 28px;
  margin: 0 0 12px;
}

.proof-band {
  background: var(--teal);
  color: #ffffff;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.proof-band div {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  padding-left: 22px;
}

.proof-band strong,
.proof-band span {
  display: block;
}

.proof-band strong {
  font-size: 38px;
}

.proof-band span {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 8px;
}

.demo-section {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns: 1fr 0.78fr;
}

.demo-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.demo-form label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
}

.demo-form input {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 48px;
  padding: 0 14px;
}

.full-button {
  border: 0;
  cursor: pointer;
  width: 100%;
}

.form-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 28px 48px;
}

@media (max-width: 1100px) {
  .ops-board {
    opacity: 0.72;
    right: -120px;
    width: 760px;
  }

  .operation-layout,
  .split-section,
  .demo-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: 94vh;
    padding: 112px 20px 38px;
  }

  .hero::after {
    background: linear-gradient(rgba(17, 18, 16, 0.82), rgba(17, 18, 16, 0.58));
  }

  .ops-board {
    bottom: 20px;
    left: 28px;
    min-height: 450px;
    opacity: 0.35;
    right: auto;
    transform: scale(0.72);
    transform-origin: left bottom;
    width: 720px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .flow-strip {
    padding: 14px 20px;
  }

  .section,
  .band,
  .proof-band {
    padding: 64px 20px;
  }

  .wide-feature {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mini-kanban,
  .resource-grid,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .tab-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 28px 20px;
  }
}
