/* ============================================================
   content.css — shared stylesheet for Adrective content pages
   (service pillars, industry pages, comparison/cost pages).

   Deliberately light: NO orb / aurora / curtain / custom cursor.
   Editorial-luxury on the same brand tokens as the homepage, tuned
   for fast Core Web Vitals and crawlable, readable long-form copy.
   FAQ uses native <details> — zero JS.
   ============================================================ */

:root {
  --bg: #030303;
  --bg-soft: #0a0a0c;
  --panel: #0e0e11;
  --line: rgba(232, 201, 140, 0.14);
  --line-soft: rgba(239, 231, 215, 0.08);
  --signal: #e8c98c;            /* gold */
  --signal-dim: #c9ad74;
  --warm: #efe7d7;              /* warm cream */
  --ink: #ece9e3;              /* body text */
  --muted: #9a978f;            /* secondary text */
  --faint: #6b6862;            /* labels, meta */
  --radius: 14px;
  --maxw: 1120px;
  --prose: 720px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --serif: "Instrument Serif", Georgia, serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 350;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* subtle top atmosphere so the page isn't a flat void */
  background-image:
    radial-gradient(900px 500px at 78% -8%, rgba(232, 201, 140, 0.07), transparent 60%),
    radial-gradient(700px 460px at 8% 4%, rgba(239, 231, 215, 0.04), transparent 55%);
  background-repeat: no-repeat;
}

a { color: var(--signal); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--warm); }

img { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--signal); color: #1a1407; padding: 10px 16px;
  border-radius: 0 0 8px 0; font: 600 14px/1 var(--mono);
}
.skip-link:focus { left: 0; }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.prose { max-width: var(--prose); }
section { padding-block: clamp(54px, 8vw, 104px); }
.eyebrow {
  font: 500 12px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--signal-dim); margin: 0 0 18px;
}

/* ---------- typography ---------- */
h1, h2, h3 { font-weight: 420; letter-spacing: -0.02em; line-height: 1.08; color: var(--warm); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-top: 0; }
h3 { font-size: clamp(1.18rem, 2vw, 1.42rem); letter-spacing: -0.01em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--signal); }
p { margin: 0 0 1.15em; color: var(--ink); }
.lede { font-size: clamp(1.12rem, 1.7vw, 1.32rem); line-height: 1.55; color: var(--muted); font-weight: 350; }
strong { color: var(--warm); font-weight: 540; }
.muted { color: var(--muted); }

/* ---------- header / nav ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  background: rgba(3, 3, 3, 0.72);
  border-bottom: 1px solid var(--line-soft);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 560; letter-spacing: -0.02em; font-size: 1.12rem; color: var(--warm); }
.brand:hover { color: var(--warm); }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--signal) 55%, #8a6d2e); box-shadow: 0 0 14px rgba(232,201,140,0.6); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-links { display: flex; gap: clamp(12px, 1.8vw, 26px); list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-size: 0.94rem; font-weight: 400; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--warm); }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: 500 0.96rem/1 var(--sans); letter-spacing: 0.01em;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-primary { background: var(--signal); color: #1a1407; font-weight: 560; }
.btn-primary:hover { color: #1a1407; transform: translateY(-2px); background: #f0d699; }
.btn-ghost { border-color: var(--line); color: var(--warm); }
.btn-ghost:hover { color: var(--warm); border-color: var(--signal); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }

/* ---------- hero ---------- */
.page-hero { padding-block: clamp(64px, 10vw, 128px) clamp(40px, 6vw, 72px); position: relative; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { max-width: 60ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.crumbs { font: 400 0.82rem/1 var(--mono); color: var(--faint); margin-bottom: 26px; letter-spacing: 0.04em; }
.crumbs a { color: var(--faint); }
.crumbs a:hover { color: var(--signal); }
.crumbs span { margin-inline: 8px; opacity: 0.5; }

/* ---------- generic content blocks ---------- */
.divider { border: 0; border-top: 1px solid var(--line-soft); margin: 0; }
.section-head { max-width: 64ch; margin-bottom: clamp(28px, 4vw, 48px); }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { border-color: var(--line); transform: translateY(-3px); }
.card h3 { color: var(--warm); }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.98rem; }
.card .num { font: 500 0.8rem/1 var(--mono); color: var(--signal-dim); letter-spacing: 0.18em; display: block; margin-bottom: 14px; }

/* checklist / feature list */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px;
  border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg); border-radius: 1px;
}

/* steps */
.steps { counter-reset: step; display: grid; gap: 24px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: start; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font: 400 1.5rem/1 var(--serif); color: var(--signal); padding-top: 4px;
}
.step h3 { margin-bottom: 0.3em; }
.step p { color: var(--muted); margin-bottom: 0; }

/* pull / stat */
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.3; color: var(--warm); max-width: 22ch; }

/* ---------- FAQ (native <details>) ---------- */
.faq { display: grid; gap: 0; max-width: var(--prose); border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-size: 1.08rem; color: var(--warm); font-weight: 440; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 18px; font: 300 1.5rem/1 var(--sans);
  color: var(--signal); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { border-block: 1px solid var(--line-soft); background: radial-gradient(700px 300px at 50% 120%, rgba(232,201,140,0.08), transparent 70%); text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lede { max-width: 52ch; margin-inline: auto; margin-bottom: 28px; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line-soft); padding-block: 56px 40px; background: var(--bg-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px 24px; }
.foot-brand .brand { font-size: 1.2rem; }
.foot-brand p { color: var(--faint); font-size: 0.92rem; max-width: 32ch; margin-top: 14px; }
.foot-col h4 { font: 500 0.76rem/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-col a { color: var(--muted); font-size: 0.94rem; }
.foot-col a:hover { color: var(--warm); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 0.84rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-links { display: none; }   /* mobile: collapse to CTA only — ponytail: no JS menu, audit CTA stays reachable */
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .step { grid-template-columns: 40px 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
