:root {
  color-scheme: light;
  --ink: #14211f;
  --muted: #66736f;
  --line: #d8ded9;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --accent: #0f5e55;
  --warm: #f3e7d2;
}

* {
  box-sizing: border-box;
}

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

.hero {
  min-height: 34vh;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 20px 24px;
  color: #fff;
  background:
    linear-gradient(rgba(15, 47, 46, 0.72), rgba(15, 47, 46, 0.86)),
    url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=1400&q=80") center/cover;
}

.eyebrow,
.subtitle {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0;
  opacity: 0.88;
}

h1 {
  margin: 4px 0;
  font-size: clamp(2.7rem, 10vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.qr-link {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

main {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 16px 14px 28px;
}

.notice {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--warm);
  color: #573b16;
  font-size: 0.92rem;
}

.category {
  margin-top: 18px;
}

.terminals {
  margin-top: 28px;
}

.category-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}

h2 {
  margin: 0;
  font-size: 1.22rem;
  letter-spacing: 0;
}

.category-heading p,
.english,
.note,
footer {
  color: var(--muted);
}

.category-heading p {
  margin: 0;
  text-align: right;
}

.items {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 0;
}

.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 15px 14px;
  border-top: 1px solid var(--line);
}

.item:first-child {
  border-top: 0;
}

h3,
.english,
.note {
  margin: 0;
}

h3 {
  font-size: 1rem;
}

.english {
  margin-top: 2px;
  font-size: 0.92rem;
}

.note {
  margin-top: 6px;
  font-size: 0.86rem;
}

strong {
  color: var(--accent);
  white-space: nowrap;
}

.empty {
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.terminal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--panel);
}

.terminal-grid span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f4;
  color: var(--ink);
  font-weight: 700;
}

footer {
  width: min(920px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 28px;
  font-size: 0.88rem;
}

@media (max-width: 560px) {
  .hero {
    min-height: 32vh;
    padding: 24px 16px 20px;
  }

  .notice,
  footer {
    display: block;
  }

  .notice span,
  footer span {
    display: block;
  }

  .category-heading {
    display: block;
  }

  .category-heading p {
    margin-top: 2px;
    text-align: left;
  }

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