/* Enmantle shared stylesheet — used by the SEO landing pages
   (brittco-alternative, axiscare-alternative, hhaexchange-alternative,
   ohio-dodd-evv, pricing). The homepage and privacy page keep their own
   inline styles; this file mirrors that design system. */

:root {
  --ink: #0F172A;
  --ink-soft: #1E293B;
  --muted: #57534E;
  --muted-soft: #78716C;
  --paper: #FDFCF8;
  --paper-2: #F7F3E9;
  --paper-3: #EFE8D6;
  --rule: #D6D0BF;
  --rule-soft: #E6E0CE;
  --teal: #0D9488;
  --teal-dark: #0B7A70;
  --teal-soft: #CCFBF1;
  --gold: #B08D57;
  --gold-soft: #E7D8B3;
  --oxblood: #7F1D1D;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 100px; }
@media (max-width: 640px) { [id] { scroll-margin-top: 76px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(176,141,87,0.018) 0%, transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(13,148,136,0.012) 0%, transparent 40%);
}
::selection { background: var(--gold-soft); color: var(--ink); }

/* Layout primitives */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.wrap-mid { max-width: 980px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap, .wrap-narrow, .wrap-mid { padding: 0 20px; } }

.mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px;
}
.serif { font-family: 'Fraunces', 'Times New Roman', serif; font-optical-sizing: auto; }

/* Masthead */
.masthead {
  background: var(--ink); color: var(--paper); padding: 10px 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
}
.masthead-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.masthead-row span { color: rgba(253,252,248,0.65); }
.masthead-row b { color: var(--paper); font-weight: 500; }
.live-dot {
  display: inline-block; width: 7px; height: 7px; background: #34D399;
  border-radius: 50%; vertical-align: middle; margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(52,211,153,0.5); animation: live-pulse 2.4s infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); }
  70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
@media (max-width: 640px) {
  .masthead { font-size: 8.5px; letter-spacing: 0.1em; padding: 6px 0; }
  .masthead-row { gap: 8px; flex-wrap: nowrap; justify-content: flex-start; overflow: hidden; }
  .masthead-row span:nth-child(2), .masthead-row span:nth-child(3) { display: none; }
}

/* Nav */
nav.primary {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,252,248,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; gap: 16px; }
.logo {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 24px; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none; display: inline-flex; align-items: center;
}
.logo img { height: 48px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a { font-size: 14px; color: var(--muted); text-decoration: none; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.nav-cta {
  font-size: 13.5px; font-weight: 600; color: #FFFFFF; background: var(--ink);
  padding: 10px 18px; border-radius: 999px;
  transition: background 0.2s, transform 0.2s, color 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-links a.nav-cta:hover, .nav-links a.nav-cta:focus-visible { background: var(--teal); color: #FFFFFF; }
.nav-cta::after { content: '→'; font-size: 14px; transition: transform 0.2s; }
.nav-cta:hover::after { transform: translateX(2px); }
@media (max-width: 820px) { .nav-links li:not(.nav-cta-li) { display: none; } }
@media (max-width: 640px) {
  .nav-row { padding: 12px 0; }
  .logo img { height: 38px; }
  .nav-cta { font-size: 12.5px; padding: 8px 14px; gap: 6px; }
  .nav-cta::after { font-size: 12px; }
}

/* Breadcrumb */
.crumbs { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-soft); padding: 20px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-dark); }
.crumbs span { margin: 0 8px; color: var(--rule); }

/* Sub-page hero */
.subhero { padding: 56px 0 56px; }
@media (max-width: 640px) { .subhero { padding: 36px 0 40px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: rgba(253,252,248,0.7);
}
.eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(13,148,136,0.5); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(13,148,136,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(13,148,136,0); }
  100% { box-shadow: 0 0 0 0 rgba(13,148,136,0); }
}
h1.page-title {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(34px, 5.4vw, 60px); line-height: 1.06; letter-spacing: -0.025em;
  color: var(--ink); max-width: 20ch; margin-bottom: 24px;
}
h1.page-title em, h1.page-title .accent { font-style: italic; color: var(--teal); font-weight: 500; }
@media (max-width: 640px) { h1.page-title { font-size: 34px; max-width: 100%; } }
.page-lede {
  font-size: clamp(18px, 1.8vw, 22px); color: var(--ink-soft); max-width: 60ch;
  margin-bottom: 32px; line-height: 1.5;
}
.page-lede em { font-family: 'Fraunces', serif; font-style: italic; color: var(--teal-dark); font-weight: 500; }

/* Section primitives */
section.band { padding: 80px 0; position: relative; }
section.band-tight { padding: 56px 0; }
@media (max-width: 640px) { section.band { padding: 56px 0; } section.band-tight { padding: 40px 0; } }
section.band.paper-2 { background: var(--paper-2); }
section.band.ink { background: var(--ink); color: var(--paper); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal-dark); margin-bottom: 20px;
}
.kicker::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
section.ink .kicker { color: var(--gold); }
section.ink .kicker::before { background: var(--gold); }
h2.section-title {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 22px; max-width: 24ch;
}
h2.section-title em { font-style: italic; color: var(--teal-dark); font-weight: 500; }
section.ink h2.section-title { color: var(--paper); }
section.ink h2.section-title em { color: var(--gold); }
@media (max-width: 640px) { h2.section-title { font-size: 28px; line-height: 1.12; } .kicker { margin-bottom: 14px; } }
.section-lede {
  font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.55;
  max-width: 60ch; margin-bottom: 40px;
}
section.ink .section-lede { color: rgba(253,252,248,0.75); }

/* Prose (article content) */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 20px; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.prose h3 {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 24px; line-height: 1.2;
  letter-spacing: -0.01em; color: var(--ink); margin-top: 40px;
}
.prose h3 em { font-style: italic; color: var(--teal-dark); }
.prose ul { list-style: none; display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 26px; font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); }
.prose ul li::before {
  content: '→'; position: absolute; left: 0; top: 0;
  color: var(--gold); font-family: 'JetBrains Mono', monospace;
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose em { font-style: italic; }
.prose blockquote {
  border-left: 3px solid var(--gold); padding: 4px 0 4px 24px; margin: 8px 0;
  font-family: 'Fraunces', serif; font-style: italic; font-size: 20px; line-height: 1.4; color: var(--ink);
}

/* Callout / aside box */
.callout {
  background: #fff; border: 1px solid var(--rule); border-left: 3px solid var(--teal);
  border-radius: 12px; padding: 24px 26px; margin-top: 8px;
}
.callout p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.callout p + p { margin-top: 12px; }
.callout strong { color: var(--ink); }
.callout.gold { border-left-color: var(--gold); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.card { background: var(--paper); padding: 28px 26px; }
.card h3 { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 10px; }
.card h3 em { font-style: italic; color: var(--teal-dark); }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.card .n { font-family: 'Fraunces', serif; font-size: 40px; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 12px; }

/* Comparison table */
.compare-wrap { border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; background: #fff; position: relative; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-scroll::-webkit-scrollbar { height: 6px; }
.compare-scroll::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 3px; }
.compare-hint {
  display: none; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); padding: 12px 18px;
  background: var(--paper-2); border-bottom: 1px solid var(--rule-soft);
}
.compare-hint::after { content: '→'; font-size: 14px; animation: swipe-hint 1.8s ease-in-out infinite; }
@keyframes swipe-hint { 0%,100% { transform: translateX(0); opacity: 0.5; } 50% { transform: translateX(6px); opacity: 1; } }
@media (max-width: 820px) { .compare-hint { display: inline-flex; } }
@media (prefers-reduced-motion: reduce) { .compare-hint::after { animation: none; } }
table.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
table.compare thead th {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); font-weight: 500; text-align: left;
  padding: 20px; background: var(--paper-2); border-bottom: 1px solid var(--rule); white-space: nowrap;
}
table.compare thead th.us { background: var(--ink); color: var(--paper); }
table.compare thead th.us span {
  display: block; font-family: 'Fraunces', serif; font-size: 16px; letter-spacing: -0.01em;
  text-transform: none; color: var(--gold); font-weight: 500; margin-top: 4px; font-style: italic;
}
table.compare tbody td { padding: 18px 20px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; color: var(--ink-soft); }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td.row-label { font-family: 'Fraunces', serif; font-size: 16px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
table.compare td.us { background: rgba(13,148,136,0.04); font-weight: 500; color: var(--ink); }
table.compare .check { color: var(--teal); font-weight: 600; font-size: 16px; }
table.compare .x { color: var(--muted-soft); }
table.compare .meh { color: var(--gold); }
.compare-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; font-style: italic; line-height: 1.5; max-width: 80ch; }

/* FAQ */
details.faq-item { border-top: 1px solid var(--rule); padding: 24px 0; }
details.faq-item:last-of-type { border-bottom: 1px solid var(--rule); }
details.faq-item summary {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px; color: var(--ink);
  cursor: pointer; list-style: none; padding-right: 36px; position: relative;
  line-height: 1.3; letter-spacing: -0.01em; transition: color 0.2s;
}
details.faq-item summary:hover { color: var(--teal-dark); }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: ''; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px;
  transform: translateY(-50%);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
details.faq-item[open] summary::after {
  background: linear-gradient(var(--teal), var(--teal)) center / 14px 1.5px no-repeat;
  transform: translateY(-50%) rotate(180deg);
}
details.faq-item[open] summary { color: var(--teal-dark); }
details.faq-item .ans { margin-top: 14px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; max-width: 72ch; }
details.faq-item .ans a { color: var(--teal-dark); }

/* Demo form */
.demo-form { max-width: 520px; }
.form-row {
  display: flex; gap: 8px; background: #fff; border: 1px solid var(--rule);
  border-radius: 14px; padding: 6px; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13,148,136,0.08); }
.demo-form input[type="email"] {
  flex: 1; padding: 13px 14px; font: inherit; font-size: 15.5px; border: none;
  background: transparent; color: var(--ink); outline: none; min-width: 0;
}
.demo-form input[type="email"]::placeholder { color: var(--muted-soft); }
.btn-primary {
  padding: 13px 22px; font: inherit; font-size: 14.5px; font-weight: 600; color: #fff;
  background: var(--ink); border: none; border-radius: 10px; cursor: pointer;
  transition: background 0.2s, transform 0.1s; white-space: nowrap;
}
.btn-primary:hover { background: var(--teal); }
.btn-primary:active { transform: scale(0.98); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.form-note::before { content: ''; width: 14px; height: 1px; background: var(--gold); }
.success { display: none; background: #F0FDFA; border: 1px solid var(--teal); color: var(--teal-dark); padding: 16px 18px; border-radius: 14px; font-size: 15px; font-weight: 500; }
.demo-form.done .form-row { display: none; }
.demo-form.done .form-note { display: none; }
.demo-form.done .success { display: block; }
@media (max-width: 440px) {
  .form-row { flex-direction: column; padding: 8px; gap: 8px; }
  .btn-primary { width: 100%; padding: 14px 22px; }
  .demo-form input[type="email"] { padding: 14px 12px; }
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; font-size: 14px; font-weight: 600; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none;
  white-space: nowrap; transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* Closing CTA band */
.close-band { padding: 96px 0 104px; text-align: center; background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
@media (max-width: 640px) { .close-band { padding: 72px 0 80px; } .close-band::before { top: 32px; } .close-band::after { bottom: 32px; } }
.close-band::before, .close-band::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); height: 1px; width: 120px; background: var(--gold); }
.close-band::before { top: 44px; }
.close-band::after { bottom: 44px; }
.close-quote {
  font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(30px, 4.2vw, 48px);
  font-style: italic; line-height: 1.15; letter-spacing: -0.02em; max-width: 20ch; margin: 0 auto 16px; color: var(--paper);
}
.close-sub { font-size: 16px; color: rgba(253,252,248,0.7); margin: 0 auto 36px; max-width: 50ch; }
.close-band .demo-form { margin: 0 auto; text-align: left; }
.close-cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px;
  background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600;
  font-size: 15px; border-radius: 999px; transition: transform 0.2s, background 0.2s;
}
.close-cta:hover { background: var(--teal); color: var(--paper); }
.close-cta::after { content: '→'; transition: transform 0.2s; }
.close-cta:hover::after { transform: translateX(3px); }

/* Footer */
footer.site { background: var(--paper); border-top: 1px solid var(--rule); padding: 56px 0 32px; font-size: 13.5px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; align-items: start; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
footer.site .mono { color: var(--muted-soft); margin-bottom: 14px; display: block; }
footer.site .logo img { height: 60px; }
footer.site h4 { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; font-weight: 500; }
footer.site ul { list-style: none; display: grid; gap: 10px; }
footer.site ul a, footer.site p a { color: var(--muted); text-decoration: none; transition: color 0.15s; }
footer.site a:hover { color: var(--teal-dark); }
footer.site .brand-col p { font-family: 'Fraunces', serif; font-size: 15.5px; color: var(--ink-soft); font-style: italic; line-height: 1.5; margin-top: 10px; max-width: 32ch; }
.footer-bottom { border-top: 1px solid var(--rule); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-soft); }

/* Focus + skip link */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px;
}
input:focus-visible { outline-offset: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; text-decoration: none; font-size: 14px; }
.skip:focus { left: 12px; top: 12px; }
