:root {
  color-scheme: light;
  --ink: #151513;
  --muted: #656258;
  --paper: #f7f6f2;
  --panel: #ffffff;
  --line: rgba(21, 21, 19, 0.12);
  --restaurant: #b23b2f;
  --wholesale: #216a56;
  --haccp: #2f5d95;
  --print: #5d4aa0;
  --accent: #d7b46a;
  --success: #1f8f61;
  --warning: #a56a12;
  --danger: #b43d35;
  --shadow: 0 22px 60px rgba(28, 26, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 68px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(18px);
  background: rgba(18, 18, 16, 0.36);
}

.brand,
.main-nav,
.header-action,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.main-nav {
  gap: 28px;
  font-size: 14px;
}

.header-action {
  justify-self: end;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 128px 32px 78px;
  overflow: hidden;
}

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

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1556910103-1c02745aae4d?auto=format&fit=crop&w=2200&q=82");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 12, 10, 0.74), rgba(12, 12, 10, 0.34) 52%, rgba(12, 12, 10, 0.52)),
    linear-gradient(180deg, rgba(12, 12, 10, 0.16), rgba(12, 12, 10, 0.48));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 11vw, 138px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  line-height: 1.45;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(620px, 100%);
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-metrics div {
  min-height: 86px;
  padding: 16px;
  background: rgba(20, 20, 18, 0.28);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 1;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.primary-action,
.secondary-action,
.join-form button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 720;
}

.primary-action,
.join-form button {
  background: var(--accent);
  color: #17130b;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
}

.product-strip,
.print-section,
.operations,
.tenant-section,
.join-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 36px 0 78px;
}

.product-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 32px rgba(28, 26, 20, 0.06);
}

.product-code,
.tenant-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.product-card h2,
.operations h2,
.tenant-section h2,
.join-section h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.product-card h2 {
  font-size: 28px;
}

.product-card p,
.operations-copy p,
.join-copy p {
  color: var(--muted);
  line-height: 1.58;
}

.product-link {
  margin-top: 20px;
  font-weight: 760;
}

.restaurant {
  border-top: 4px solid var(--restaurant);
}

.wholesale {
  border-top: 4px solid var(--wholesale);
}

.haccp {
  border-top: 4px solid var(--haccp);
}

.print-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.print-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.print-copy p {
  color: var(--muted);
  line-height: 1.62;
}

.print-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.print-capabilities span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: #34332f;
  font-size: 13px;
  font-weight: 720;
}

.print-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: #171917;
  color: #fff;
  box-shadow: var(--shadow);
}

.print-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.print-panel-header small,
.print-panel-header strong,
.print-device-row span,
.print-device-row strong,
.print-job span,
.print-job strong {
  display: block;
}

.print-panel-header small {
  margin-bottom: 6px;
  color: #d7b46a;
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.print-panel-header strong {
  font-size: 28px;
}

.status-dot {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 760;
}

.status-dot.online {
  background: rgba(31, 143, 97, 0.18);
  color: #72d29f;
}

.print-device-row,
.print-job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.print-device-row {
  background: rgba(255, 255, 255, 0.04);
}

.print-device-row span,
.print-job span {
  color: rgba(255, 255, 255, 0.76);
}

.print-device-row strong {
  color: #d7b46a;
}

.print-job strong {
  font-size: 13px;
}

.print-job.success strong {
  color: #72d29f;
}

.print-job.pending strong {
  color: #f0bd65;
}

.print-job.retry strong {
  color: #f27f73;
}

.operations {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.console-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #161715;
  color: #f6f1e7;
  box-shadow: var(--shadow);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.console-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e26957;
}

.console-bar span:nth-child(2) {
  background: #d9ae45;
}

.console-bar span:nth-child(3) {
  background: #54a36f;
}

.console-bar strong {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.console-grid div {
  min-height: 128px;
  padding: 22px;
  background: #1f211e;
}

.console-grid small {
  color: #d7b46a;
  font-weight: 760;
  text-transform: uppercase;
}

.console-grid strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 26px;
}

.console-grid p {
  color: rgba(255, 255, 255, 0.58);
}

.tenant-section {
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

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

.tenant-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.tenant-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.tenant-row:last-child {
  border-bottom: 0;
}

.tenant-row strong {
  display: block;
  margin-bottom: 4px;
}

.tenant-row.active {
  background: #fbf3df;
}

.tenant-row a {
  font-weight: 760;
}

.join-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: start;
  padding: 78px 0 92px;
  border-top: 1px solid var(--line);
}

.join-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

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

.join-form input,
.join-form select {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.join-form button {
  grid-column: 1 / -1;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.site-footer {
  justify-content: center;
  gap: 22px;
  min-height: 74px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 106px 20px 54px;
  }

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

  .product-strip,
  .print-section,
  .operations,
  .tenant-section,
  .join-section {
    width: min(100% - 32px, 1180px);
  }

  .product-strip,
  .print-section,
  .operations,
  .join-section {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .product-strip {
    padding-top: 24px;
  }

  .tenant-row {
    grid-template-columns: 1fr;
  }

  .join-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 22px;
  }
}
