:root {
  color-scheme: dark;
  --bg: #090a08;
  --panel: #11130f;
  --panel-2: #18140f;
  --text: #f6f1e8;
  --muted: #c9bdad;
  --soft: #8b8175;
  --line: rgba(246, 241, 232, 0.16);
  --green: #7ce38b;
  --amber: #d69a4a;
  --coffee: #7a5138;
  --cream: #f0d7b6;
  --black: #050604;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(246, 241, 232, 0.12);
  background: rgba(5, 6, 4, 0.72);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(124, 227, 139, 0.5);
  border-radius: 8px;
  color: var(--green);
  background: rgba(17, 19, 15, 0.9);
  font: 800 14px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

nav {
  display: flex;
  gap: clamp(12px, 3vw, 26px);
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(18px, 6vw, 72px) 92px;
}

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

.hero-media {
  background-image: url("/assets/terminal-coffee-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 6, 4, 0.92) 0%, rgba(5, 6, 4, 0.74) 31%, rgba(5, 6, 4, 0.24) 64%, rgba(5, 6, 4, 0.5) 100%),
    linear-gradient(0deg, rgba(9, 10, 8, 1) 0%, rgba(9, 10, 8, 0) 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font: 800 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(52px, 8vw, 106px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.button,
.command-row button {
  min-height: 46px;
  border: 1px solid rgba(240, 215, 182, 0.34);
  border-radius: 8px;
  padding: 0 18px;
  color: #110d08;
  background: var(--cream);
  font-weight: 800;
  cursor: pointer;
}

.button:hover,
.command-row button:hover {
  background: #ffe3be;
}

code {
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(124, 227, 139, 0.24);
  border-radius: 8px;
  color: var(--green);
  background: rgba(5, 6, 4, 0.72);
  font: 700 14px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-x: auto;
}

.intro-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(18px, 6vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #12100d;
}

.intro-band p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.intro-band strong {
  color: var(--text);
}

.workspace,
.receipt-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(64px, 9vw, 112px) clamp(18px, 6vw, 72px);
}

.section-copy p,
.copy-block p {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
}

.terminal-shell {
  overflow: hidden;
  border: 1px solid rgba(246, 241, 232, 0.16);
  border-radius: 8px;
  background: #070806;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(246, 241, 232, 0.12);
  background: #151610;
}

.terminal-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d66854;
}

.terminal-top span:nth-child(2) {
  background: #d69a4a;
}

.terminal-top span:nth-child(3) {
  background: #7ce38b;
}

.terminal-top p {
  margin: 0 0 0 8px;
  color: var(--soft);
  font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

pre {
  min-height: 330px;
  margin: 0;
  padding: 22px;
  color: #d7d0c5;
  white-space: pre-wrap;
  font: 14px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.command-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(246, 241, 232, 0.12);
  background: #10110c;
}

.command-row span {
  color: var(--green);
  font: 800 16px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.command-row input {
  min-width: 0;
  height: 44px;
  border: 1px solid rgba(246, 241, 232, 0.16);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  background: #070806;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.menu-band {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 6vw, 72px);
  background:
    linear-gradient(180deg, rgba(122, 81, 56, 0.18), rgba(122, 81, 56, 0)),
    #100d0a;
}

.compact {
  margin-bottom: 28px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.menu-item {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(246, 241, 232, 0.14);
  border-radius: 8px;
  padding: 18px;
  text-align: left;
  color: var(--text);
  background: rgba(17, 19, 15, 0.76);
  cursor: pointer;
}

.menu-item:hover,
.menu-item.active {
  border-color: rgba(124, 227, 139, 0.62);
  background: rgba(24, 31, 20, 0.92);
}

.menu-item span {
  font-size: 21px;
  font-weight: 850;
}

.menu-item strong {
  color: var(--green);
  font: 800 13px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.receipt-section {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  background: #090a08;
}

.receipt-card {
  border: 1px solid rgba(246, 241, 232, 0.18);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(145deg, #1b1711, #0f100c);
}

dl {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(246, 241, 232, 0.12);
}

dt {
  color: var(--soft);
  font: 800 12px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  text-align: right;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 6vw, 72px) 36px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  background: #070806;
}

@media (max-width: 920px) {
  .workspace,
  .receipt-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 14px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 108px;
    padding-bottom: 72px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 6, 4, 0.94) 0%, rgba(5, 6, 4, 0.78) 58%, rgba(5, 6, 4, 0.42) 100%),
      linear-gradient(0deg, rgba(9, 10, 8, 1) 0%, rgba(9, 10, 8, 0) 42%);
  }

  h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  h2 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .intro-band,
  footer {
    display: block;
  }

  .intro-band p + p,
  footer span + span {
    margin-top: 10px;
  }

  .command-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .command-row button {
    grid-column: 2;
  }

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