/* ================================================================
   AngelMatch — Content page styles
   Shared by /aeo-guide and /brand/[company] static pages.
   Uses the same design tokens as the app, but self-contained
   (no React bundle required to render).
   ================================================================ */

:root {
  color-scheme: dark;

  --bg-0: #08080a;
  --bg-1: #0d0d10;
  --bg-2: #14141a;
  --bg-3: #1c1c24;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.13);

  --ink-0: #f4f2ec;
  --ink-1: #d9d6ce;
  --ink-2: #a09d95;
  --ink-3: #6a6862;
  --ink-4: #3f3e39;

  --angel: #f5d78a;
  --angel-soft: rgba(245, 215, 138, 0.20);
  --angel-glow: rgba(245, 215, 138, 0.10);
  --rival: #dc5a49;
  --oracle: #a48cff;

  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto,
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif:
    "Instrument Serif", "Iowan Old Style", "Palatino Linotype",
    "Georgia", serif;
  --font-mono:
    "JetBrains Mono", ui-monospace, "SF Mono", "Menlo", "Cascadia Mono",
    "Roboto Mono", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-0);
  color: var(--ink-0);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

::selection { background: var(--angel-soft); color: var(--ink-0); }

a { color: var(--angel); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Nav ---------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-0);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-mark {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink-0); text-decoration: none; }
.nav-cta {
  background: linear-gradient(180deg, #f7dfa0, #eec26a);
  color: #14140f;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.nav-cta:hover { text-decoration: none; filter: brightness(1.05); }

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* Prose --------------------------------------------------------- */

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.prose .eyebrow {
  color: var(--angel);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.prose h1 {
  font-size: clamp(38px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--ink-0);
}

.prose .lead {
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-1);
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}

.prose h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 56px 0 16px;
  color: var(--ink-0);
}

.prose h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 40px 0 12px;
  color: var(--ink-0);
}

.prose p {
  margin: 0 0 20px;
  color: var(--ink-1);
}

.prose ul, .prose ol {
  margin: 0 0 24px;
  padding-left: 24px;
  color: var(--ink-1);
}
.prose li { margin: 0 0 8px; }
.prose li::marker { color: var(--ink-3); }

.prose strong { color: var(--ink-0); font-weight: 600; }
.prose em { color: var(--ink-1); }

.prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--bg-2);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--angel);
}

.prose blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--angel);
  color: var(--ink-0);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 56px 0;
}

.prose .callout {
  margin: 32px 0;
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-1);
  font-size: 16px;
  line-height: 1.55;
}
.prose .callout strong { color: var(--angel); }

.prose .cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 22px;
  background: linear-gradient(180deg, #f7dfa0, #eec26a);
  color: #14140f;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
}
.prose .cta-inline:hover { text-decoration: none; filter: brightness(1.05); }

/* Meta bar (byline / date / read time) --------------------------- */

.meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-3);
  font-size: 14px;
  margin: 0 0 44px;
}
.meta .dot {
  width: 3px; height: 3px; border-radius: 999px;
  background: var(--ink-4);
}

/* Table of contents --------------------------------------------- */

.toc {
  margin: 40px 0 56px;
  padding: 20px 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.toc h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.toc ol {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-1);
  font-size: 15px;
}
.toc a { color: var(--ink-1); }
.toc a:hover { color: var(--angel); text-decoration: none; }

/* Pricing page -------------------------------------------------- */

.pricing {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.pricing-hero {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.pricing-hero .eyebrow {
  color: var(--angel);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.pricing-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--ink-0);
}
.pricing-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-1);
  margin: 0 0 20px;
  letter-spacing: -0.008em;
}
.pricing-lead-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  flex-wrap: wrap;
  justify-content: center;
}
.pricing-lead-meta .dot {
  width: 3px; height: 3px; border-radius: 999px;
  background: var(--ink-4);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.pricing-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 72px;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-secondary { grid-template-columns: 1fr; }
}

.pricing-card {
  position: relative;
  padding: 28px 26px 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pricing-card.primary {
  border-color: var(--angel-soft);
  background:
    radial-gradient(500px 200px at 50% -20%, rgba(245, 215, 138, 0.12), transparent 70%),
    var(--bg-1);
}
.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--angel);
  color: #1a1408;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--angel);
  margin-bottom: 6px;
}
.pricing-tagline {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  min-height: 44px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0 4px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.pricing-price-num {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--ink-0);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pricing-price-note {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.4;
  flex: 1;
  min-width: 140px;
}
.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ink-1);
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}
.pricing-features li {
  padding: 8px 0 8px 20px;
  position: relative;
}
.pricing-features li::before {
  content: "✦";
  position: absolute; left: 0; top: 8px;
  color: var(--angel);
  font-size: 11px;
}
.pricing-guarantee {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(245, 215, 138, 0.06);
  border: 1px solid var(--angel-soft);
  color: var(--ink-1);
  font-size: 13px;
  line-height: 1.5;
}
.pricing-anchor {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--ink-3);
}
.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f7dfa0, #eec26a);
  color: #14140f;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  margin-top: 4px;
}
.pricing-cta:hover { text-decoration: none; filter: brightness(1.05); }
.pricing-card:not(.primary) .pricing-cta {
  background: transparent;
  color: var(--ink-0);
  border: 1px solid var(--line-strong);
}
.pricing-card:not(.primary) .pricing-cta:hover {
  border-color: var(--angel-soft);
  color: var(--angel);
  filter: none;
}

.pricing-compare {
  max-width: 960px;
  margin: 0 auto 72px;
}
.pricing-compare h2 {
  font-size: 24px;
  letter-spacing: -0.018em;
  font-weight: 600;
  margin: 0 0 24px;
  color: var(--ink-0);
  text-align: center;
}
.pricing-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 720px) {
  .pricing-compare-grid { grid-template-columns: 1fr; }
}
.pricing-compare-item {
  padding: 20px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.pricing-compare-h {
  color: var(--ink-0);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
  letter-spacing: -0.008em;
}
.pricing-compare-item p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}

.pricing-faq {
  max-width: 720px;
  margin: 0 auto 72px;
}
.pricing-faq h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 28px;
  color: var(--ink-0);
}
.pricing-faq-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.pricing-faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.pricing-faq-q {
  color: var(--ink-0);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.pricing-faq-a {
  color: var(--ink-1);
  font-size: 15px;
  line-height: 1.6;
}

.pricing-final {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.pricing-final h2 {
  font-size: 26px;
  letter-spacing: -0.018em;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--ink-0);
}
.pricing-final p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 24px;
}
.pricing-final .cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(180deg, #f7dfa0, #eec26a);
  color: #14140f;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
}
.pricing-final .cta-inline:hover { text-decoration: none; filter: brightness(1.05); }
.pricing-final-alt {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}
.pricing-final-alt a {
  color: var(--ink-1);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.pricing-final-alt a:hover {
  color: var(--angel);
  border-bottom-color: var(--angel-soft);
  text-decoration: none;
}

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

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 24px;
  color: var(--ink-3);
  font-size: 14px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--ink-0); text-decoration: none; }

/* Utilities ----------------------------------------------------- */

.halo-mark {
  width: 24px; height: 24px;
}
