/* AICallControl – premium shared styles (Desert Link design language) */
:root {
  --gold-50:  #FFF4E5;
  --gold-300: #FFB300;
  --gold-400: #FF8C1A;
  --gold-500: #FF6A00;
  --gold-600: #E05A00;
  --ink-900:  #0A0A0A;
  --ink-800:  #111111;
  --ink-700:  #1C1C1C;
}

html { scroll-behavior: smooth; }
/* keep hash targets clear of the fixed header */
:target { scroll-margin-top: 7rem; }
body {
  font-family: 'Inter', sans-serif;
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: var(--ink-900);
}

.font-display { font-family: 'Fraunces', 'Inter', serif; font-optical-sizing: auto; letter-spacing: -0.02em; }
.font-mono-ac { font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace; }
.tabular { font-variant-numeric: tabular-nums; }
.eyebrow { letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; font-size: 0.72rem; }
.hairline { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,140,26,0.55), transparent); }

.gradient-text {
  background: linear-gradient(100deg, #FFD180 0%, #FF8C1A 30%, #00A6FF 70%, #0066FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-gold {
  background: linear-gradient(100deg, #FFD180 0%, #FF8C1A 50%, #FF6A00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text-cool {
  background: linear-gradient(to right, #00A6FF, #0066FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-panel {
  background: linear-gradient(180deg, rgba(28,28,28,0.92), rgba(17,17,17,0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 20px 40px -25px rgba(0,0,0,0.5);
}
.glass-panel.gold-edge {
  border-color: rgba(255,106,0,0.28);
  box-shadow:
    0 1px 0 rgba(255,179,0,0.14) inset,
    0 30px 60px -30px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,106,0,0.12);
}

/* Premium buttons */
.btn-gold {
  background: linear-gradient(180deg, #FFB300 0%, #FF8C1A 50%, #FF6A00 100%);
  color: #111111;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 -1px 0 rgba(0,0,0,0.2) inset,
    0 14px 30px -10px rgba(255,106,0,0.45);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,106,0,0.55); transform: translateY(-2px); }

/* Premium card */
.lux-card {
  position: relative;
  background: linear-gradient(180deg, rgba(28,28,28,0.95), rgba(17,17,17,0.95));
  border: 1px solid rgba(255,106,0,0.16);
  border-radius: 1.25rem;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 20px 45px -30px rgba(0,0,0,0.6);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.3s ease;
}
.lux-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,179,0,0.6), rgba(0,166,255,0.45), transparent);
  opacity: 0.5;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.lux-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,106,0,0.42);
  box-shadow:
    inset 0 40px 55px -45px rgba(255,140,26,0.22),
    0 1px 0 rgba(255,179,0,0.14) inset,
    0 26px 55px -25px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,106,0,0.16);
}
.lux-card:hover::before { opacity: 1; }
.lux-card.is-static:hover { transform: none; }

/* Eyebrow underline */
.title-underline { position: relative; display: inline-block; }
.title-underline::after {
  content: ""; display: block; height: 2px; margin-top: 10px;
  background: linear-gradient(90deg, transparent, rgba(255,106,0,0.7), transparent);
}

/* ---------- Primary nav dropdowns ---------- */
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 0.3rem; color: #D4D4D4; transition: color 0.2s ease; }
.nav-link:hover, .nav-item:hover .nav-link, .nav-item:focus-within .nav-link { color: #fff; }
.nav-link[aria-current="page"] { color: #fff; }
.nav-caret { width: 0.85rem; height: 0.85rem; transition: transform 0.2s ease; opacity: 0.7; }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  padding-top: 0.6rem; min-width: 16rem; z-index: 60;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-inner {
  background: linear-gradient(180deg, rgba(28,28,28,0.98), rgba(17,17,17,0.98));
  border: 1px solid rgba(255,255,255,0.08); border-radius: 1rem;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,106,0,0.08);
  padding: 0.5rem; overflow: hidden;
}
.nav-dropdown a {
  display: block; padding: 0.55rem 0.8rem; border-radius: 0.6rem;
  color: #C9C9C9; font-size: 0.85rem; line-height: 1.3; transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown a:hover { background: rgba(255,106,0,0.10); color: #fff; }
.nav-dropdown a .nd-sub { display: block; color: #8A8A8A; font-size: 0.72rem; margin-top: 0.1rem; }
.nav-dropdown a:hover .nd-sub { color: #B0B0B0; }
html.light-mode .nav-link { color: #3A3A3A; }
html.light-mode .nav-link:hover, html.light-mode .nav-item:hover .nav-link,
html.light-mode .nav-item:focus-within .nav-link, html.light-mode .nav-link[aria-current="page"] { color: #111111; }
html.light-mode .nav-dropdown-inner { background: rgba(255,255,255,0.98); border-color: rgba(179,68,0,0.18); }
html.light-mode .nav-dropdown a { color: #3A3A3A; }
html.light-mode .nav-dropdown a:hover { background: rgba(255,106,0,0.10); color: #111111; }
html.light-mode .nav-dropdown a .nd-sub { color: #6B6B6B; }

/* Mobile nav disclosure */
.m-group > summary { list-style: none; cursor: pointer; }
.m-group > summary::-webkit-details-marker { display: none; }
.m-group > summary .nav-caret { transition: transform 0.2s ease; }
.m-group[open] > summary .nav-caret { transform: rotate(180deg); }

/* Metric */
.metric-num { font-family: 'Fraunces','Inter',serif; font-weight: 600; letter-spacing: -0.02em; }

.modal { transition: opacity 0.3s ease-in-out; opacity: 0; pointer-events: none; }
.modal.active { opacity: 1; pointer-events: auto; }

/* Hero glow — soft-faded at the bottom so clipping never shows a hard edge */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}

/* Subtle desert dune backdrop */
.dunes::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 106, 0, 0.20), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(0, 102, 255, 0.18), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(0, 166, 255, 0.12), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Feature tabs ---------- */
.feature-tab {
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  border-radius: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease, color 0.2s ease;
}
.feature-tab:hover { border-color: rgba(255,106,0,0.38); transform: translateY(-2px); }
.feature-tab[aria-selected="true"] {
  border-color: rgba(255,106,0,0.55);
  background: linear-gradient(180deg, rgba(255,140,26,0.14), rgba(255,106,0,0.05));
  box-shadow: 0 14px 30px -18px rgba(255,106,0,0.55);
}
.feature-tab[aria-selected="true"] .feature-tab-icon { color: #FFB300; border-color: rgba(255,179,0,0.5); background: rgba(255,179,0,0.14); }
.feature-tab-icon { transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.tab-panel[hidden] { display: none; }
.tab-panel { scroll-margin-top: 7rem; }

/* ---------- Hero live-call mockup ---------- */
.live-dot { width: 0.55rem; height: 0.55rem; border-radius: 999px; background: #34D399; box-shadow: 0 0 0 0 rgba(52,211,153,0.6); animation: livePulse 1.8s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); } 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.bubble { max-width: 82%; padding: 0.6rem 0.85rem; border-radius: 1rem; font-size: 0.85rem; line-height: 1.45; }
.bubble-caller { background: linear-gradient(180deg, rgba(0,166,255,0.16), rgba(0,102,255,0.10)); border: 1px solid rgba(0,166,255,0.30); color: #EAF6FF; border-bottom-left-radius: 0.3rem; }
.bubble-ai { background: linear-gradient(180deg, rgba(255,140,26,0.16), rgba(255,106,0,0.10)); border: 1px solid rgba(255,106,0,0.30); color: #fff; border-bottom-right-radius: 0.3rem; }
html.light-mode .bubble-caller { background: linear-gradient(180deg, rgba(0,166,255,0.16), rgba(0,102,255,0.10)); border-color: rgba(0,102,255,0.35); color: #0A2540; }
html.light-mode .bubble-ai { background: linear-gradient(180deg, rgba(255,140,26,0.20), rgba(255,106,0,0.12)); border-color: rgba(179,68,0,0.35); color: #111111; }
/* Bubbles pop in as the call progresses */
.hc-turn.show .bubble { animation: bubbleIn 0.35s ease-out both; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hc-turn.show .bubble { animation: none; } }
.pipe-step { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.10); color: #9A9A9A; }
.pipe-step.done { color: #34D399; border-color: rgba(52,211,153,0.35); background: rgba(52,211,153,0.08); }
.pipe-step.active { color: #111; background: linear-gradient(180deg,#FFB300,#FF6A00); border-color: transparent; animation: pipePulse 1.6s ease-in-out infinite; }
@keyframes pipePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,106,0,0.0); } 50% { box-shadow: 0 6px 18px -6px rgba(255,106,0,0.7); } }
html.light-mode .pipe-step.active { color: #111; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.trust-strip > span { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: #9A9A9A; }
.trust-strip svg { width: 0.95rem; height: 0.95rem; color: #FF8C1A; }
html.light-mode .trust-strip > span { color: #6B6B6B; }
@media (prefers-reduced-motion: reduce) { .live-dot, .pipe-step.active { animation: none; } }

/* ---------- Interior page hero (premium band) ---------- */
.page-hero {                          /* single, very soft warm glow from the top */
  position: relative; isolation: isolate;
  background: radial-gradient(58rem 26rem at 50% -40%, rgba(255,178,92,0.06), transparent 70%);
}
.page-hero::before {                  /* fine grid texture, masked so it fades away */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(115% 90% at 50% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(115% 90% at 50% 0%, #000 35%, transparent 78%);
}
.page-hero::after {                   /* elegant divider that fades at both ends */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
}
.page-hero.no-divider::after { display: none; }
html.light-mode .page-hero { background: radial-gradient(58rem 26rem at 50% -40%, rgba(255,150,40,0.05), transparent 70%); }
html.light-mode .page-hero::before {
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.045) 1px, transparent 1px);
}
html.light-mode .page-hero::after { background: linear-gradient(90deg, transparent, rgba(0,0,0,0.12), transparent); }
.hero-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.85rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
}
html.light-mode .hero-chip { border-color: rgba(0,0,0,0.10); background: rgba(0,0,0,0.03); }
.hero-chip .dot { width: 0.42rem; height: 0.42rem; border-radius: 999px; background: linear-gradient(180deg,#FFB300,#FF6A00); box-shadow: 0 0 10px rgba(255,140,26,0.6); }

/* ---------- Design system: icons, lists, steppers, bands ---------- */
.icon-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 0.9rem;
  border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.03);
  color: #FFB300; flex-shrink: 0;
}
.icon-chip.blue { color: #66C9FF; border-color: rgba(0,166,255,0.30); background: rgba(0,166,255,0.08); }
.icon-chip.orange { color: #FFB300; border-color: rgba(255,106,0,0.30); background: rgba(255,106,0,0.08); }
.icon-chip svg { width: 1.35rem; height: 1.35rem; }
html.light-mode .icon-chip.blue { color: #0077B8; }
html.light-mode .icon-chip.orange { color: #B34400; }

/* Checkmark list — lighter than boxing every item */
.check-list { display: grid; gap: 0.75rem 2rem; }
.check-list > li { position: relative; padding-left: 1.9rem; list-style: none; color: #C9C9C9; line-height: 1.5; }
.check-list > li::before {
  content: ""; position: absolute; left: 0; top: 0.15rem; width: 1.15rem; height: 1.15rem;
  background-color: currentColor; color: #FF8C1A;
  -webkit-mask: no-repeat center / contain; mask: no-repeat center / contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.check-list > li strong { color: #fff; font-weight: 600; }
html.light-mode .check-list > li { color: #3A3A3A; }
html.light-mode .check-list > li strong { color: #111; }

/* Connected stepper */
.stepper { position: relative; }
.stepper-line { position: absolute; top: 1.35rem; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, rgba(255,140,26,0.15), rgba(255,140,26,0.5), rgba(0,166,255,0.5), rgba(0,166,255,0.15)); }
.step-num {
  position: relative; z-index: 1; width: 2.7rem; height: 2.7rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
  font-family: 'Fraunces','Inter',serif; color: #111;
  background: linear-gradient(180deg, #FFB300, #FF6A00);
  box-shadow: 0 8px 20px -8px rgba(255,106,0,0.6), 0 1px 0 rgba(255,255,255,0.4) inset;
}
@media (max-width: 767px) { .stepper-line { display: none; } }

/* Subtle alternating section band (no border box, just breathing room) */
.band { position: relative; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 0%, rgba(255,106,0,0.05), transparent 60%); }
.band > * { position: relative; z-index: 1; }
.band-cool::before { background: radial-gradient(120% 100% at 50% 0%, rgba(0,166,255,0.05), transparent 60%); }

/* Section heading with an accent rule on the left */
.accent-head { border-left: 3px solid rgba(255,106,0,0.6); padding-left: 1rem; }
.accent-head.cool { border-left-color: rgba(0,166,255,0.6); }

/* ---------- Pricing class toggle ---------- */
.price-toggle {
  padding: 0.6rem 1.5rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  color: #9A9A9A; letter-spacing: 0.01em; transition: color 0.2s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.price-toggle:hover { color: #fff; }
.price-toggle[aria-selected="true"] {
  background: linear-gradient(180deg, #FFB300 0%, #FF6A00 100%); color: #111111;
  box-shadow: 0 10px 24px -10px rgba(255,106,0,0.55), 0 1px 0 rgba(255,255,255,0.35) inset;
}
html.light-mode .price-toggle { color: #6B6B6B; }
html.light-mode .price-toggle:hover { color: #111; }
html.light-mode .price-toggle[aria-selected="true"] { color: #111111; }

/* Per-class accent strip on a pricing panel */
.class-accent { height: 3px; border-radius: 999px; }
.class-accent.basic { background: linear-gradient(90deg, #00A6FF, #0066FF); }
.class-accent.advanced { background: linear-gradient(90deg, #FFB300, #FF6A00); }

/* Tier card: highlighted (popular) */
.tier-pop { border-color: rgba(255,106,0,0.5) !important; box-shadow: 0 24px 55px -30px rgba(255,106,0,0.35); }
.save-pill { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.02em; padding: 0.15rem 0.5rem; border-radius: 999px;
  background: rgba(52,211,153,0.15); color: #34D399; }
html.light-mode .save-pill { background: rgba(4,120,87,0.12); color: #047857; }

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.7rem 0.25rem; border-bottom: 1px solid rgba(255,255,255,0.06); vertical-align: top; }
.spec-table th { color: #9A9A9A; font-weight: 500; width: 45%; }
.spec-table td { color: #E8E8E8; font-variant-numeric: tabular-nums; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ---------- Comparison table ---------- */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare-table th, .compare-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); }
.compare-table thead th { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: #9A9A9A; font-weight: 600; white-space: nowrap; }
.compare-table thead th.is-ours { color: #FFB300; }
.compare-table td.is-ours { background: linear-gradient(180deg, rgba(255,140,26,0.08), rgba(255,140,26,0.04)); color: #fff; font-weight: 600; }
.compare-table tbody tr:hover td { background-color: rgba(255,255,255,0.02); }
.compare-table tbody tr:hover td.is-ours { background-image: linear-gradient(180deg, rgba(255,140,26,0.14), rgba(255,140,26,0.06)); }
.compare-table tbody tr:last-child td { border-bottom: 0; }

/* Check / dash marks */
.mark-yes { color: #34D399; }
.mark-no { color: #555555; }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item summary { cursor: pointer; list-style: none; }
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .chev { transition: transform 0.25s ease; }
.accordion-item[open] summary .chev { transform: rotate(180deg); }
.accordion-item[open] { border-color: rgba(255,106,0,0.42); }

/* ---------- Code blocks ---------- */
.code-block {
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.9rem;
  padding: 1.1rem 1.25rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #D4D4D4;
}
.code-block .k { color: #FFB300; }
.code-block .s { color: #34D399; }
.code-block .c { color: #7A7A7A; }
.code-block .n { color: #66C9FF; }

/* ---------- Waveform bars ---------- */
.wave { display: flex; align-items: flex-end; gap: 3px; height: 2.5rem; }
.wave span {
  width: 3px; border-radius: 3px;
  background-color: #FF8C1A;                 /* AI speaking = orange */
  transition: background-color 0.3s ease;    /* per-bar delay (set in JS) creates the right-to-left sweep */
  animation: wavePulse 1.4s ease-in-out infinite;
}
.wave.is-caller span { background-color: #00A6FF; }  /* caller speaking = blue */
@keyframes wavePulse {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .wave span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Misc ---------- */
.pill { border: 1px solid rgba(255,106,0,0.28); background: rgba(255,140,26,0.08); border-radius: 999px; }
.link-gold { color: #FFB300; }
.link-gold:hover { color: #FFD180; text-decoration: underline; text-underline-offset: 4px; }
.prose-ac h2 { font-family: 'Fraunces','Inter',serif; color: #fff; font-size: 1.5rem; margin: 2.5rem 0 0.85rem; letter-spacing: -0.02em; }
.prose-ac h3 { color: #fff; font-weight: 600; font-size: 1.05rem; margin: 1.75rem 0 0.5rem; }
.prose-ac h4 { color: #E8E8E8; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.01em; margin: 1.25rem 0 0.35rem; }
.prose-ac p, .prose-ac li { color: #9A9A9A; line-height: 1.75; }
.prose-ac p { margin-bottom: 1rem; }
.prose-ac ul { list-style: disc; padding-left: 1.35rem; margin-bottom: 1rem; }
.prose-ac li { margin-bottom: 0.4rem; }
.prose-ac a { color: #FFB300; }
.prose-ac a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Light mode */
html.light-mode { --bg-primary:#F5F5F5; --bg-secondary:#EAEAEA; --text-primary:#111111; --text-secondary:#3A3A3A; --text-muted:#6B6B6B; --border-color:#C9C9C9; }
html.light-mode body { background: linear-gradient(180deg,#FFF7F0 0%,#FFEEDE 25%,#F5F5F5 100%) !important; background-attachment: fixed !important; }
html.light-mode .glass-panel { background: rgba(255,255,255,0.85) !important; border-color: rgba(255,106,0,0.28) !important; }
html.light-mode .bg-ac-dark { background-color: var(--bg-primary) !important; }
html.light-mode .lux-card { background: rgba(255,255,255,0.9) !important; border-color: rgba(255,106,0,0.24) !important; }
html.light-mode h1, html.light-mode h2, html.light-mode h3, html.light-mode h4 { color: var(--text-primary) !important; }
html.light-mode .text-white { color: var(--text-primary) !important; }
/* gray-200 is near-white emphasis text (pull quotes, transcript mockups) — invisible on a light surface */
html.light-mode .text-gray-200 { color: var(--text-primary) !important; }
html.light-mode .text-gray-300, html.light-mode .text-gray-400 { color: var(--text-secondary) !important; }
html.light-mode .text-gray-500 { color: var(--text-muted) !important; }
html.light-mode p { color: var(--text-secondary) !important; }
html.light-mode .prose-ac p, html.light-mode .prose-ac li { color: var(--text-secondary) !important; }
html.light-mode .spec-table td, html.light-mode .compare-table td.is-ours { color: var(--text-primary) !important; }
html.light-mode .spec-table th, html.light-mode .compare-table thead th { color: var(--text-muted) !important; }
html.light-mode [class*="border-white/10"], html.light-mode .border-gray-800, html.light-mode .border-gray-700 { border-color:#D4D4D4 !important; }
html.light-mode .bg-gray-900, html.light-mode .bg-gray-800 { background-color:#ffffff !important; }
html.light-mode .bg-black { background-color:#3A3A3A !important; }
html.light-mode .code-block { background: #111111 !important; }
html.light-mode .btn-ghost { background: rgba(255,255,255,0.7) !important; border-color: rgba(179,68,0,0.38) !important; color: #111111 !important; }
html.light-mode .btn-ghost:hover { background: #fff !important; border-color: rgba(179,68,0,0.60) !important; }
html.light-mode .gradient-gold { background-image: linear-gradient(100deg,#B34400,#8A3400); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
/* Diagrams are drawn with dark fills, so keep them on a dark surface in light mode */
html.light-mode .diagram { background:#111111; border-radius:0.9rem; padding:1rem 0.75rem; }
html.light-mode .link-gold { color:#B34400 !important; }
html.light-mode .link-gold:hover { color:#8A3400 !important; }
html.light-mode .pill { background: rgba(179,68,0,0.08) !important; border-color: rgba(179,68,0,0.30) !important; }
html.light-mode [class*="text-amber-300"] { color:#B34400 !important; }
html.light-mode [class*="text-pink-300"] { color:#0052CC !important; }
html.light-mode [class*="text-indigo-300"] { color:#0047B3 !important; }
html.light-mode [class*="text-emerald-300"] { color:#047857 !important; }
html.light-mode [class*="text-cyan-300"] { color:#006699 !important; }
html.light-mode [class*="text-purple-300"] { color:#0047B3 !important; }
html.light-mode [class*="text-orange-300"] { color:#B34400 !important; }
html.light-mode .feature-tab { background: rgba(255,255,255,0.7) !important; border-color: rgba(148,163,184,0.4) !important; }
html.light-mode .feature-tab[aria-selected="true"] { background: linear-gradient(180deg, rgba(255,140,26,0.28), rgba(255,106,0,0.12)) !important; border-color: rgba(179,68,0,0.55) !important; }
html.light-mode .feature-tab-icon { background: rgba(255,255,255,0.9) !important; }
html.light-mode .compare-table td.is-ours { background-image: linear-gradient(180deg, rgba(255,140,26,0.22), rgba(255,140,26,0.10)) !important; }
html.light-mode .rounded-xl[class*="bg-black/30"], html.light-mode [class*="bg-black/30"] { background-color: rgba(255,255,255,0.75) !important; }
html.light-mode input, html.light-mode select, html.light-mode textarea { background-color:#fff !important; border-color:#D4D4D4 !important; color:#111111 !important; }
html.light-mode footer { background-color:#111111 !important; }
html.light-mode footer [class*="text-amber-300"] { color:#FFB300 !important; }
html.light-mode footer .btn-gold { color:#111111 !important; }
html.light-mode footer input { background-color: rgba(255,255,255,0.08) !important; border-color: rgba(255,255,255,0.15) !important; color:#F5F5F5 !important; }
html.light-mode footer .text-gray-500, html.light-mode footer .text-gray-600 { color:#9A9A9A !important; }
html.light-mode footer .text-white { color:#F5F5F5 !important; }
html.light-mode footer p, html.light-mode footer .text-gray-400 { color:#D4D4D4 !important; }
html.light-mode .gradient-text { background: linear-gradient(to right,#B34400,#0052CC); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
