/* =====================================================================
   Watch Tower Social: shared styles for every page
   Brand tokens are pulled from the Watch Tower Social logo.
   Page-specific styles live in a <style> block inside each page.
   ===================================================================== */

:root {
  --navy: #0F1A2E;        /* tower + wordmark */
  --navy-2: #18263F;
  --beacon: #F2A93B;      /* beacon orange: light + signal arcs */
  --beacon-soft: #F6C77F; /* outer signal arcs */
  --signal: #B4531A;      /* "SOCIAL" rust orange */
  --ink: #0F1A2E;
  --muted: #5C6675;
  --line: #E2DED5;
  --bg: #F5F3EE;          /* logo cream background */
  --white: #FFFFFF;
  --good: #1F8A5B;
  --error: #C23B3B;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15,26,46,.07);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; color: var(--ink); background: var(--bg); line-height: 1.6; }
a { color: inherit; }

/* ---------- Header / nav ---------- */
header { background: var(--navy); color: var(--white); }
.nav { max-width: 1180px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); text-decoration: none; color: var(--white); }
.logo svg { height: 44px; width: auto; flex: none; }
.logo .word { display: flex; flex-direction: column; line-height: 1; }
.logo .word b { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.logo .word small { font-size: .6rem; font-weight: 600; letter-spacing: .5em; color: var(--beacon); margin-top: 5px; }
.nav-links { display: flex; gap: 28px; list-style: none; font-size: .95rem; }
.nav-links a { text-decoration: none; opacity: .8; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a.active { border-bottom: 2px solid var(--beacon); padding-bottom: 4px; }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: rgba(255,255,255,.6); text-align: center; font-size: .82rem; padding: 24px; }
.foot-logo { display: inline-flex; margin-bottom: 10px; }
.foot-logo svg { height: 34px; }
.foot-logo .word b { font-size: 1.05rem; }

/* ---------- Shared bits ---------- */
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--beacon); font-weight: 600; }
.eyebrow.dark { color: var(--signal); }
.muted { color: var(--muted); }

/* Dark page-top band (used by Home, Product, Media) */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(242,169,59,.28) 0%, rgba(242,169,59,0) 70%); pointer-events: none; }
.hero-inner { max-width: 1180px; margin: 0 auto; padding: 56px 24px 64px; position: relative; z-index: 1; }
.hero h1 { font-family: var(--font-head); font-size: 2.6rem; line-height: 1.1; margin: 10px 0 12px; }
.hero p { opacity: .8; max-width: 620px; }

/* Large call-to-action buttons (Home, Product) */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.cta-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 10px; background: var(--beacon); color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--beacon); transition: filter .15s; }
.cta-btn:hover { filter: brightness(1.05); }
.cta-btn.ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.cta-btn.ghost:hover { border-color: var(--white); }
.cta-btn.ghost.on-light { color: var(--ink); border-color: var(--line); }

/* Content sections */
.section { max-width: 1180px; margin: 0 auto; padding: 64px 24px 0; }
.section h2 { font-family: var(--font-head); font-size: 1.8rem; line-height: 1.2; margin: 8px 0 10px; }
.section .intro { color: var(--muted); max-width: 620px; margin-bottom: 28px; }
.panel { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.panel h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 6px; }
.panel p { color: var(--muted); font-size: .95rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ico { width: 44px; height: 44px; border-radius: 10px; background: rgba(242,169,59,.18); color: var(--signal); display: grid; place-items: center; margin-bottom: 16px; }
.ico svg { width: 22px; height: 22px; }

/* Closing call-to-action band */
.band { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 48px; text-align: center; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; left: 50%; top: -180px; transform: translateX(-50%); width: 420px; height: 320px; background: radial-gradient(circle, rgba(242,169,59,.25) 0%, rgba(242,169,59,0) 70%); pointer-events: none; }
.band > * { position: relative; z-index: 1; }
.band h2 { font-family: var(--font-head); font-size: 1.8rem; margin-bottom: 8px; }
.band p { opacity: .8; margin-bottom: 22px; }
.page-end { padding-bottom: 72px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid3, .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; padding: 14px 20px; }
  .nav-links { width: 100%; gap: 20px; font-size: .9rem; overflow-x: auto; padding-bottom: 2px; }
  .hero h1 { font-size: 2rem; }
  .section { padding-top: 48px; }
  .section h2, .band h2 { font-size: 1.5rem; }
  .band { padding: 32px 22px; }
}
