/* MyGuardian Support — matched to myguardianinc.com design system */
:root {
  --bg:        #0A0A0B;
  --surface:   #111113;
  --surface-2: #18181B;
  --border:    #27272A;
  --text:      #FAFAFA;
  --muted:     #A1A1AA;
  --muted-2:   #71717A;
  --blue:      #3B82F6;
  --blue-light:#60A5FA;
  --blue-tint: rgba(59, 130, 246, 0.15);
  --amber:     #F59E0B;
  --amber-tint:rgba(245, 158, 11, 0.15);
  --green:     #22C55E;
  --radius:    16px;
  --font:      "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif:     "Instrument Serif", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--blue-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, .serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}
h1 em, h2 em { font-style: italic; color: var(--blue); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.logo-icon {
  width: 32px; height: 32px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, #3B82F6, #60A5FA);
  display: flex; align-items: center; justify-content: center;
}
.logo-text { font-weight: 900; font-size: 20px; letter-spacing: -0.01em; white-space: nowrap; }
.logo-text .brand-sub { color: var(--muted); font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover, .main-nav a.active { color: var(--text); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px;
  font-weight: 700; font-size: 0.95rem; font-family: var(--font);
  transition: opacity .15s ease, background .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--text); color: #0A0A0B !important; }
.btn-primary:hover { opacity: 0.88; text-decoration: none; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--muted-2); background: var(--surface-2); text-decoration: none; }

.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--text); cursor: pointer; }

/* Pill badge */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 100px; padding: 7px 16px;
  font-size: 0.85rem; color: var(--muted); font-weight: 500;
  margin-bottom: 26px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 96px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(59, 130, 246, 0.13), transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 100%, rgba(59, 130, 246, 0.05), transparent 70%);
}
.hero > .container { position: relative; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin: 0 auto 36px; }

/* Search */
.search-wrap { max-width: 640px; margin: 0 auto; position: relative; }
.search-input {
  width: 100%; padding: 17px 20px 17px 52px;
  background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 12px;
  font-size: 1.02rem; font-family: var(--font); color: var(--text);
}
.search-input::placeholder { color: var(--muted-2); }
.search-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.search-icon {
  position: absolute; left: 19px; top: 50%; transform: translateY(-50%);
  width: 19px; height: 19px; color: var(--muted-2);
}

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker {
  display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.12; margin-bottom: 12px; }
.section .section-sub { color: var(--muted); margin-bottom: 44px; max-width: 620px; font-size: 1.05rem; }
.center { text-align: center; }
.center .section-sub, .center.kicker { margin-left: auto; margin-right: auto; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
  display: block; color: var(--text);
}
a.card:hover {
  border-color: rgba(59, 130, 246, 0.5); background: var(--surface-2);
  transform: translateY(-2px); text-decoration: none;
}
.card .card-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--blue-tint);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  font-size: 1.25rem;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--text); font-weight: 700; }
.card p { color: var(--muted); font-size: 0.94rem; }
.card .card-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--blue-light); font-size: 0.92rem; }

/* FAQ accordion */
.faq-category { margin-bottom: 54px; }
.faq-category h2 {
  font-family: var(--font); font-weight: 700; letter-spacing: 0;
  font-size: 1.28rem; padding-bottom: 14px; margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font); font-size: 1.02rem; font-weight: 500; color: var(--text);
  padding: 19px 44px 19px 2px; position: relative;
}
.faq-q:hover { color: var(--blue-light); }
.faq-q::after {
  content: "+"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: 1.45rem; font-weight: 300; color: var(--muted-2); transition: color .15s ease;
}
.faq-q:hover::after { color: var(--blue-light); }
.faq-item.open .faq-q::after { content: "–"; color: var(--blue); }
.faq-a { display: none; padding: 0 28px 22px 2px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }
.faq-a strong { color: var(--text); }
.faq-a ul, .faq-a ol { margin: 10px 0 10px 22px; }
.faq-a li { margin-bottom: 6px; }
.no-results { display: none; color: var(--muted); text-align: center; padding: 44px 0; }

/* FAQ page layout */
.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.faq-sidenav { position: sticky; top: 96px; }
.faq-sidenav ul { list-style: none; }
.faq-sidenav a {
  display: block; padding: 8px 12px; border-radius: 8px; color: var(--muted);
  font-size: 0.92rem; font-weight: 500;
}
.faq-sidenav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }

/* Steps (getting started) */
.steps { counter-reset: step; max-width: 760px; }
.step {
  position: relative; padding: 0 0 40px 66px;
  border-left: 1px solid var(--border); margin-left: 24px;
}
.step:last-child { border-left-color: transparent; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: -25px; top: -2px;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #3B82F6, #60A5FA); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem;
}
.step h3 { margin-bottom: 8px; font-size: 1.18rem; font-weight: 700; }
.step p, .step ul { color: var(--muted); }
.step ul { margin: 10px 0 0 20px; }
.step strong { color: var(--text); }

/* Callouts */
.callout {
  background: var(--blue-tint); border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px; padding: 18px 22px; margin: 26px 0;
  color: var(--muted); font-size: 0.96rem;
}
.callout strong { color: var(--text); }
.callout.warn { background: var(--amber-tint); border-color: rgba(245, 158, 11, 0.3); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 880px; margin: 0 auto; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; text-align: left;
  transition: border-color .2s ease;
}
.contact-card:hover { border-color: rgba(59, 130, 246, 0.4); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 6px; font-weight: 700; }
.contact-card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 12px; }
.contact-card a.email { font-weight: 700; }
.contact-hero-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 560px; margin: 0 auto; padding: 36px;
  text-align: center;
}
.contact-hero-card .big-email { font-size: 1.4rem; font-weight: 900; word-break: break-all; color: var(--text); }
.contact-hero-card .big-email:hover { color: var(--blue-light); }
.contact-hero-card p { color: var(--muted); }
.response-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
  border-radius: 100px; padding: 6px 16px; font-size: 0.84rem; font-weight: 500; margin-top: 16px;
}
.response-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
  text-align: center; padding: 76px 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 70% at 50% 100%, rgba(59, 130, 246, 0.14), transparent 70%);
}
.cta-band > .container { position: relative; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 30px; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); color: var(--muted); padding: 60px 0 34px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.site-footer h4 { color: var(--text); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 900; font-size: 18px; margin-bottom: 14px; }
.footer-brand .logo-icon { width: 28px; height: 28px; border-radius: 7px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: var(--muted-2); font-size: 0.87rem;
}

/* Responsive */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-sidenav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 20px 24px; gap: 18px; align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}
