:root {
  --ink: #18201d;
  --muted: #64716a;
  --paper: #fffaf0;
  --panel: rgba(255, 255, 255, 0.82);
  --accent: #0d6b57;
  --accent-strong: #073f34;
  --line: rgba(24, 32, 29, 0.14);
  --gold: #d5a642;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(213, 166, 66, 0.32), transparent 26rem),
    radial-gradient(circle at 82% 8%, rgba(13, 107, 87, 0.22), transparent 24rem),
    linear-gradient(135deg, #fff7e2 0%, #edf5e9 55%, #dfeee8 100%);
  min-height: 100vh;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.hero {
  margin-bottom: 28px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(40px, 7vw, 86px);
  line-height: 0.95;
  margin: 8px 0 18px;
}

h2 {
  margin: 0 0 16px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(24, 32, 29, 0.14);
  margin: 20px 0;
  padding: 24px;
  backdrop-filter: blur(14px);
}

.ivr {
  border-left: 5px solid var(--gold);
  margin: 0 0 18px;
  padding: 10px 16px;
  background: rgba(255, 250, 240, 0.72);
  border-radius: 12px;
}

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

button {
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font-weight: 700;
  padding: 12px 18px;
}

button:hover {
  background: var(--accent-strong);
}

.route-button {
  border-radius: 18px;
  min-height: 84px;
  text-align: left;
}

.conversation {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.bubble {
  border-radius: 18px;
  max-width: 78%;
  padding: 12px 14px;
}

.assistant {
  background: #eef6ea;
}

.caller {
  justify-self: end;
  background: #163f35;
  color: white;
}

.message-form {
  display: flex;
  gap: 10px;
}

input {
  border: 1px solid var(--line);
  border-radius: 999px;
  flex: 1;
  font: inherit;
  padding: 12px 16px;
}

.section-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.calls,
.readiness,
.metrics {
  display: grid;
  gap: 10px;
}

.call-card,
.check-card,
.metric-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

.check-card.ok {
  border-color: rgba(13, 107, 87, 0.38);
}

.check-card.ng {
  border-color: rgba(163, 53, 44, 0.42);
}

.meta {
  color: var(--muted);
  font-size: 13px;
}

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

  .message-form {
    flex-direction: column;
  }

  .bubble {
    max-width: 100%;
  }
}
