/*
Theme Name: ChimeBuddy Facility
Theme URI: https://chimebuddy.com/
Author: ChimeBuddy
Author URI: https://chimebuddy.com/
Description: Lightweight facility landing and login theme for ChimeBuddy community environments.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: chimebuddy-facility
*/

/* ChimeBuddy Facility — intentionally minimal, no frameworks or external fonts. */

:root {
  --cb-bg: #f4f7fb;
  --cb-card: #ffffff;
  --cb-text: #172033;
  --cb-muted: #657187;
  --cb-primary: #1769e0;
  --cb-primary-hover: #0f57be;
  --cb-border: #dfe6ef;
  --cb-shadow: 0 18px 45px rgba(30, 45, 70, 0.10);
  --cb-radius: 22px;
}

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

html {
  min-height: 100%;
  background: var(--cb-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cb-text);
  background:
    radial-gradient(circle at top left, rgba(23, 105, 224, 0.10), transparent 34rem),
    var(--cb-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cb-primary);
}

.cb-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.cb-card {
  width: min(100%, 580px);
  padding: clamp(32px, 7vw, 56px);
  text-align: center;
  background: var(--cb-card);
  border: 1px solid var(--cb-border);
  border-radius: var(--cb-radius);
  box-shadow: var(--cb-shadow);
}

.cb-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.cb-brand img {
  display: block;
  width: auto;
  max-width: min(280px, 78vw);
  max-height: 86px;
}

.cb-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cb-wordmark-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--cb-primary);
  font-size: 1rem;
  line-height: 1;
}

.cb-eyebrow {
  margin: 0 0 10px;
  color: var(--cb-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cb-title {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.cb-description {
  max-width: 430px;
  margin: 18px auto 0;
  color: var(--cb-muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.cb-actions {
  margin-top: 32px;
}

.cb-button {
  min-width: 190px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 12px;
  color: #fff;
  background: var(--cb-primary);
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(23, 105, 224, 0.18);
  transition: background-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.cb-button:hover,
.cb-button:focus-visible {
  color: #fff;
  background: var(--cb-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 11px 25px rgba(23, 105, 224, 0.24);
}

.cb-button:focus-visible {
  outline: 3px solid rgba(23, 105, 224, 0.28);
  outline-offset: 3px;
}

.cb-footer {
  margin-top: 34px;
  color: var(--cb-muted);
  font-size: 0.83rem;
}

.cb-footer strong {
  color: var(--cb-text);
}

.cb-basic-page {
  width: min(100% - 40px, 860px);
  margin: 52px auto;
  padding: 36px;
  background: var(--cb-card);
  border: 1px solid var(--cb-border);
  border-radius: 18px;
  box-shadow: var(--cb-shadow);
}

.cb-basic-page h1 {
  margin-top: 0;
}

@media (max-width: 520px) {
  .cb-shell {
    padding: 18px 14px;
  }

  .cb-card {
    padding: 34px 24px;
    border-radius: 18px;
  }

  .cb-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cb-button {
    transition: none;
  }
}
