:root {
  --dm-red: #ed303d;
  --dm-blue: #1d2450;
  --dm-text: #1f2937;
  --dm-muted: #6b7280;
  --dm-line: #e5e7eb;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: var(--dm-text);
}
.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.panel {
  width: min(560px, 100%);
  text-align: center;
}
.logo {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}
h1 {
  margin: 0 0 12px;
  color: var(--dm-blue);
  font-size: clamp(2rem, 5vw, 2.7rem);
  line-height: 1.1;
  font-weight: 700;
}
p {
  margin: 0 auto;
  max-width: 34ch;
  color: var(--dm-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.btn,
.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: all .2s ease;
}
.btn {
  border: 1px solid var(--dm-line);
  color: var(--dm-blue);
  background: #fff;
}
.link-btn {
  gap: 0;
  color: var(--dm-red);
  border: 1px solid rgba(237,48,61,0.16);
  background: #fff;
  white-space: nowrap;
}
.link-btn .label {
  display: inline-block;
}
.link-btn .phone {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  display: inline-block;
  transition: max-width .22s ease, opacity .18s ease, margin-left .22s ease;
  margin-left: 0;
}
.link-btn.is-revealed {
  color: var(--dm-blue);
}
.link-btn.is-revealed .phone {
  max-width: 180px;
  opacity: 1;
  margin-left: 8px;
}
.redirect-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #9ca3af;
}
@media (max-width: 640px) {
  .page-shell { padding: 20px; }
  .actions { flex-direction: column; gap: 12px; }
  .btn, .link-btn { width: 100%; }
}
