/* Shared tokens for the BOOKED guide + signup page. Light, document-like paper theme:
   warm off-white page, white cards with a visible border, yellow/green/red accents,
   Poppins headlines. --on-dark/--on-dark-soft/--hairline-dark keep their names from the
   previous dark theme but now alias the light-theme ink tokens, so every component
   file that reads them repaints correctly without being touched. */
:root {
  --bg: #F7F5EF;
  --bg-raised: #F1EEE6;
  --on-dark: var(--ink);
  --on-dark-soft: var(--ink-soft);
  --hairline-dark: rgba(26, 26, 30, 0.14);

  --white: #FFFFFF;
  --surface-2: #F1F0EB;
  --ink: #1A1A1E;
  --ink-soft: #5B5B66;
  --border: #D2C7AD;

  --yellow: #FFD60A;
  --yellow-ink: #1A1A1E;
  --yellow-edge: #C9A400;
  --green: #30A46C;
  --green-deep: #146C43;
  --red: #EB5D62;
  --red-deep: #B3261E;
  --twilio-red: #F4525F;

  --n8n: #EA4B71;
  --claude: #D97757;
  --sheets: #34A853;
  --calendar: #4285F4;

  --font-display: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --max-width: 1080px;
  --shadow-card: 0 1px 2px rgba(26, 22, 15, 0.05), 0 10px 24px rgba(26, 22, 15, 0.09);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  background: var(--bg);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
}
img { max-width: 100%; display: block; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.2; margin: 0; }
p { margin: 0 0 0.6em; }
p:last-child { margin-bottom: 0; }
button { font-family: inherit; }
code, pre { font-family: var(--font-mono); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 0;
  top: -80px;
  background: var(--yellow);
  color: var(--yellow-ink);
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

.muted { color: var(--ink-soft); font-size: 0.92em; }

.badge-estimate {
  display: inline-block;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 0.15em 0.6em;
  border-radius: 999px;
  vertical-align: middle;
  white-space: nowrap;
}
.badge-estimate--muted {
  background: var(--surface-2);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--border);
  font-weight: 600;
}
.nowrap { white-space: nowrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
.btn--primary {
  background: var(--yellow);
  color: var(--yellow-ink);
}
.btn--primary:hover { box-shadow: 0 6px 18px rgba(255, 214, 10, 0.35); }
.btn--ghost {
  background: transparent;
  border-color: var(--hairline-dark);
  color: var(--on-dark);
}
.btn--ghost:hover { border-color: var(--on-dark-soft); }
.btn--small { padding: 7px 15px; font-size: 0.82rem; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
