/* ============================================================
   BrandDeck — marketing site styles
   Static site for branddeckhq.com (Hostinger custom HTML/PHP).
   No build step, no framework. Plain CSS.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --bg-panel: #fafafa;
  --text: #18181b;
  --text-muted: #52525b;
  --text-faint: #a1a1aa;
  --border: #e4e4e7;
  --border-soft: #f0f0f1;
  --accent: #4f46e5;
  --accent-dark: #4338ca;
  --accent-soft: #eef2ff;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;
  --amber-text: #b45309;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1080px;
  --shadow: 0 1px 2px rgba(24, 24, 27, 0.04), 0 8px 24px rgba(24, 24, 27, 0.05);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand .logo { width: 26px; height: 26px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-links a:hover { background: var(--bg-soft); color: var(--text); text-decoration: none; }
.nav-links a.active { background: var(--text); color: #fff; }

/* ---------- Status banner ---------- */

.status-banner {
  background: var(--amber-bg);
  border-bottom: 1px solid var(--amber-border);
  color: var(--amber-text);
  font-size: 0.85rem;
}
.status-banner .container {
  padding-top: 9px;
  padding-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  text-align: center;
}
.status-banner strong { font-weight: 700; }

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 64px;
  background:
    radial-gradient(900px 360px at 50% -10%, var(--accent-soft), transparent 70%);
}
.hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--amber-text);
  box-shadow: 0 0 0 3px var(--amber-bg);
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  font-weight: 800;
}
.hero h1 .accent { color: var(--accent); }

.hero .lede {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text-muted);
  margin: 0 auto 30px;
  max-width: 640px;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.04s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--text); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--bg-soft); color: var(--text); }

/* ---------- Sections ---------- */

.section { padding: 64px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 10px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 800;
}
.section-head p { color: var(--text-muted); margin: 0; font-size: 1.02rem; }

/* ---------- Feature grid (the 4 pillars) ---------- */

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 14px;
}
.card h3 { margin: 0 0 6px; font-size: 1.05rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Brand-safe callout ---------- */

.callout {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.callout h2 { margin: 0 0 12px; font-size: 1.5rem; letter-spacing: -0.02em; }
.callout p { margin: 0 auto; color: var(--text-muted); max-width: 560px; }

/* ---------- Legal / content pages ---------- */

.page {
  padding: 56px 0 72px;
}
.page-inner { max-width: 740px; margin: 0 auto; }
.page h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  font-weight: 800;
}
.page .updated { color: var(--text-faint); font-size: 0.88rem; margin: 0 0 32px; }
.page h2 {
  font-size: 1.2rem;
  margin: 34px 0 10px;
  letter-spacing: -0.01em;
}
.page h3 { font-size: 1.02rem; margin: 22px 0 8px; }
.page p, .page li { color: var(--text-muted); }
.page ul { padding-left: 22px; }
.page li { margin-bottom: 6px; }
.page a { font-weight: 500; }

.note {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--amber-text);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.92rem;
  margin: 24px 0;
}

/* ---------- Contact ---------- */

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 28px auto 0;
  text-align: center;
}
.contact-card .email {
  display: inline-block;
  margin: 10px 0 4px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.contact-card .muted { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-panel);
  padding: 40px 0;
  margin-top: 8px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-brand .logo { width: 22px; height: 22px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }
.footer-meta { color: var(--text-faint); font-size: 0.84rem; width: 100%; margin-top: 8px; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 7px 9px; font-size: 0.84rem; }
  .brand span.full { display: none; }
  .hero { padding: 56px 0 44px; }
  .grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
