/* ==========================================================================
   Subpages (Site Type chooser) — shared styling
   Used by: /site-type.html and every /<business>/index.html
   ========================================================================== */

:root {
  --bg: #f4f6f8;
  --card: #ffffff;
  --primary: #1e3a5f;
  --accent: #2ca58d;
  --border: #dde3ea;
  --muted: #64748b;
  --shadow: 0 14px 40px rgba(30, 58, 95, 0.12);
  --shadow-soft: 0 6px 18px rgba(30, 58, 95, 0.1);
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--primary);
  background:
    radial-gradient(1100px 600px at 15% 0%, rgba(44, 165, 141, 0.16), transparent 55%),
    radial-gradient(900px 520px at 90% 10%, rgba(30, 58, 95, 0.12), transparent 55%),
    var(--bg);
}

.panel {
  width: min(92vw, 540px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: -2px -2px auto -2px;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), rgba(232, 132, 59, 0.85), rgba(44, 165, 141, 0.85));
}

.top {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  text-align: center;
}

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.title {
  font-size: clamp(1.2rem, 3.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.subtitle {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.btn-grid {
  display: grid;
  gap: 12px;
}

.btn {
  height: auto;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fafc, #eef1f5);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(44, 165, 141, 0.98), rgba(44, 165, 141, 0.9));
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(44, 165, 141, 0.22);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid rgba(44, 165, 141, 0.25);
  outline-offset: 2px;
}

.back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.back:hover {
  background: rgba(30, 58, 95, 0.06);
  color: var(--primary);
  border-color: rgba(30, 58, 95, 0.18);
}

@media (max-width: 480px) {
  body {
    padding: 20px 12px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .panel {
    width: 100%;
    padding: 24px 18px 18px;
  }

  .title {
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
  }
}

