:root {
  --bg: #f5e6c8;
  --bg-accent: #f0d8a8;
  --panel: rgba(255, 250, 242, 0.92);
  --text: #2a140d;
  --muted: #6e4c3f;
  --brand: #7a2e16;
  --brand-strong: #531a0b;
  --highlight: #d7a84b;
  --success: #216d4a;
  --shadow: 0 18px 45px rgba(74, 29, 13, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(215, 168, 75, 0.45), transparent 30%),
    radial-gradient(circle at bottom left, rgba(122, 46, 22, 0.18), transparent 32%),
    linear-gradient(180deg, var(--bg), var(--bg-accent));
}

.app-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.hero {
  margin-bottom: 20px;
}

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

h1,
h2 {
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.95;
}

.subtitle {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.panel {
  background: var(--panel);
  border: 1px solid rgba(122, 46, 22, 0.12);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.controls {
  margin-bottom: 16px;
  text-align: center;
}

.voice-button {
  width: min(100%, 420px);
  padding: 24px 18px;
  border: 0;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fffaf3;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 12px 28px rgba(83, 26, 11, 0.35);
}

.voice-button.listening {
  animation: pulse 1.1s infinite alternate;
}

.status {
  margin: 12px 0 0;
  color: var(--muted);
}

.order-list,
.messages {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.order-list li,
.message {
  padding: 12px 0;
  border-bottom: 1px dashed rgba(122, 46, 22, 0.18);
}

.message strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand);
}

.total-row {
  margin-top: 18px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(122, 46, 22, 0.16);
  font-size: 1.2rem;
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.03); }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .app-shell {
    padding: 18px 14px 28px;
  }
}
