:root {
  color-scheme: light;
  --bg: #f6f6f8;
  --text: #15171d;
  --muted: #5a606d;
  --accent: #1d4ed8;
  --border: #e4e6eb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

.container {
  width: min(960px, 92%);
  margin: 0 auto;
}

.hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 12px;
}

.hero p {
  max-width: 640px;
  color: var(--muted);
  margin-bottom: 16px;
}

.link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

main {
  display: grid;
  gap: 20px;
  padding: 32px 0 56px;
}

.panel {
  background: #fff;
  border: 1px solid var(--border);
  padding: 20px 22px;
  border-radius: 14px;
}

.panel h2 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.ramomi-button {
  margin-top: 16px;
}

.ramomi-fallback {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: #fff;
  background: var(--accent);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.ramomi-fallback:hover {
  background: #0f3cc7;
  border-color: #0f3cc7;
}

.placeholder {
  margin-top: 12px;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.9rem;
  background: #f0f1f4;
  border: 1px dashed #c9cdd8;
  border-radius: 10px;
  padding: 10px 12px;
  color: #2a2f3b;
}

footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
}

footer h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

footer p {
  color: var(--muted);
}
