/* Sarah247 full site — neon-S design system (dark) */
:root {
  --hdr-bg: rgba(11, 11, 15, 0.86);
  --ink: #0b0b0f;
  --ink-2: #101017;
  --panel: #14141c;
  --panel-2: #181822;
  --line: #23232e;
  --line-2: #2e2e3c;
  --red: #ef2b2b;
  --neon: #ff5238;
  --neon-soft: #ff2a14;
  --text: #ededf2;
  --muted: #9a9aa8;
  --dim: #6d6d7c;
  --ok: #3ddc84;
  --radius: 14px;
  --maxw: 1140px;
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { color: var(--muted); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 72px 0; }
.accent { color: var(--red); }
.mono { font-family: var(--font-mono); }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--hdr-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 26px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.brand svg { width: 34px; height: 34px; }
.brand .b247 { color: var(--red); }
.nav { display: flex; gap: 20px; margin-left: 8px; font-size: 0.92rem; color: var(--muted); }
.nav a:hover, .nav a.on { color: var(--text); }
.hdr-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 8px; padding: 7px 10px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: 0.18s; white-space: nowrap;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 0 24px rgba(255, 42, 20, 0.35); }
.btn-red:hover { background: var(--neon); box-shadow: 0 0 34px rgba(255, 82, 56, 0.5); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--dim); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn svg { width: 17px; height: 17px; flex: none; }

/* ---------- section furniture ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px; display: block;
}
.sec-head { max-width: 720px; margin-bottom: 42px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { margin-top: 12px; font-size: 1.05rem; }
.alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { padding: 92px 0 70px; position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 520px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 42, 20, 0.16), transparent 65%);
}
.hero-in { position: relative; max-width: 820px; margin: 0 auto; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em;
  color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 7px 16px; margin-bottom: 26px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--neon); }
.hero p.sub { margin: 22px auto 32px; max-width: 620px; font-size: 1.12rem; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.85rem; color: var(--dim); font-family: var(--font-mono); }

/* ---------- stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--panel); padding: 26px 24px; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--text); }
.stat span { font-size: 0.88rem; color: var(--muted); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: 0.18s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card .ic {
  width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(239, 43, 43, 0.1); color: var(--neon); margin-bottom: 16px;
}
.card .ic svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.93rem; }
.card .soon {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); background: var(--neon); border-radius: 5px; padding: 2px 8px; margin-left: 8px; vertical-align: middle;
}
a.card { display: block; color: inherit; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step .n { font-family: var(--font-mono); color: var(--red); font-size: 0.85rem; margin-bottom: 12px; display: block; }
.step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { font-size: 0.9rem; }

/* ---------- audio demo ---------- */
.calls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.call-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.call-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1rem; margin-bottom: 6px; }
.call-card h3 svg { width: 18px; height: 18px; color: var(--neon); flex: none; }
.call-card p { font-size: 0.88rem; margin-bottom: 14px; }
.call-card audio { width: 100%; height: 40px; filter: invert(0.92) hue-rotate(180deg); }

/* ---------- dialogue ---------- */
.dialog { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 14px; max-width: 640px; }
.line { display: grid; gap: 4px; }
.line .who { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.line.ai .who { color: var(--red); }
.line .txt { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; font-size: 0.95rem; color: var(--text); }
.line.ai .txt { border-color: rgba(239, 43, 43, 0.35); }

/* ---------- compare table ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.cmp { width: 100%; border-collapse: collapse; background: var(--panel); font-size: 0.95rem; min-width: 640px; }
.cmp th, .cmp td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp th { font-family: var(--font-head); font-size: 0.95rem; background: var(--panel-2); }
.cmp th.hl, .cmp td.hl { background: rgba(239, 43, 43, 0.07); }
.cmp th.hl { color: var(--neon); }
.cmp tr:last-child td { border-bottom: none; }
.cmp td { color: var(--muted); }
.cmp td:first-child { color: var(--text); }
.cmp td svg.yes { width: 18px; height: 18px; color: var(--ok); }
.cmp td svg.no { width: 18px; height: 18px; color: var(--dim); }

/* ---------- pricing ---------- */
.price-hero { text-align: center; max-width: 680px; margin: 0 auto; }
.price-big { font-family: var(--font-head); font-size: clamp(3rem, 8vw, 5rem); font-weight: 700; margin: 18px 0 6px; }
.price-big small { font-size: 0.35em; color: var(--muted); font-weight: 500; }
.price-points { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 26px; font-size: 0.9rem; color: var(--muted); font-family: var(--font-mono); }
.price-points span { display: flex; align-items: center; gap: 7px; }
.price-points svg { width: 15px; height: 15px; color: var(--ok); }
.incl { columns: 2; gap: 40px; max-width: 860px; margin: 0 auto; }
.incl li { break-inside: avoid; display: flex; gap: 10px; padding: 9px 0; color: var(--muted); list-style: none; font-size: 0.97rem; }
.incl li svg { width: 18px; height: 18px; color: var(--neon); flex: none; margin-top: 4px; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { color: var(--red); font-family: var(--font-mono); font-size: 1.2rem; flex: none; margin-left: 16px; }
.faq .pm .o { display: none; }
.faq details[open] .pm .v { display: none; }
.faq details[open] .pm .o { display: inline; }
.faq details p { padding: 0 4px 20px; max-width: 660px; }

/* ---------- CTA / lead form ---------- */
.cta-block {
  background: linear-gradient(180deg, var(--panel) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line-2); border-radius: 20px; padding: 54px 30px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background: radial-gradient(600px 200px at 50% 0%, rgba(255, 42, 20, 0.14), transparent 70%);
}
.cta-block > * { position: relative; }
.lead-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.lead-form input {
  background: var(--ink); border: 1px solid var(--line-2); color: var(--text);
  border-radius: 10px; padding: 13px 16px; font-size: 0.97rem; font-family: var(--font-body);
  min-width: 170px;
}
.lead-form input:focus { outline: none; border-color: var(--red); }
.form-note { margin-top: 14px; font-size: 0.82rem; color: var(--dim); font-family: var(--font-mono); }
.form-msg { margin-top: 14px; font-size: 0.95rem; display: none; }
.form-msg.ok { color: var(--ok); display: block; }
.form-msg.err { color: var(--neon); display: block; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--ink-2); padding: 56px 0 34px; margin-top: 40px; }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.ftr-grid h4 { font-size: 0.82rem; font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; font-weight: 500; }
.ftr-grid ul { list-style: none; display: grid; gap: 9px; font-size: 0.92rem; }
.ftr-grid a { color: var(--muted); }
.ftr-grid a:hover { color: var(--text); }
.ftr-brand p { margin-top: 14px; font-size: 0.9rem; max-width: 260px; }
.legal { border-top: 1px solid var(--line); padding-top: 24px; font-size: 0.8rem; color: var(--dim); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- misc ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 18px; font-size: 0.9rem; color: var(--muted); background: var(--panel); font-family: var(--font-body); cursor: pointer; }
.pill:hover { color: var(--text); border-color: var(--dim); }
.pill.on { color: var(--text); border-color: var(--red); box-shadow: 0 0 14px rgba(239, 43, 43, 0.25); }
.crumb { font-family: var(--font-mono); font-size: 0.8rem; color: var(--dim); margin-bottom: 20px; display: block; }
.crumb a { color: var(--dim); } .crumb a:hover { color: var(--text); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 11px; color: var(--muted); }
.check-list li svg { width: 19px; height: 19px; color: var(--neon); flex: none; margin-top: 4px; }
.check-list li b { color: var(--text); font-weight: 600; }
.prose { max-width: 760px; }
.prose h2 { margin: 38px 0 12px; font-size: 1.4rem; }
.prose p, .prose li { color: var(--muted); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4, .steps, .calls { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--ink-2); border-bottom: 1px solid var(--line); padding: 18px 22px; gap: 14px; }
  .menu-btn { display: block; }
  .hdr-cta .btn-ghost { display: none; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .steps, .calls { grid-template-columns: 1fr; }
  .incl { columns: 1; }
  section { padding: 52px 0; }
}

/* ---------- light theme ---------- */
[data-theme="light"] {
  --hdr-bg: rgba(250, 250, 251, 0.88);
  --ink: #f6f6f8;
  --ink-2: #ededf1;
  --panel: #ffffff;
  --panel-2: #f4f4f7;
  --line: #e4e4ea;
  --line-2: #d3d3dd;
  --red: #dc1f1f;
  --neon: #e33a24;
  --neon-soft: #e33a24;
  --text: #17171d;
  --muted: #585866;
  --dim: #8b8b99;
  --ok: #188a50;
}
[data-theme="light"] .hero-glow { opacity: 0.4; }
[data-theme="light"] .btn-red { box-shadow: 0 6px 20px rgba(220, 31, 31, 0.22); }
[data-theme="light"] .btn-red:hover { box-shadow: 0 8px 26px rgba(220, 31, 31, 0.32); }
[data-theme="light"] .call-card audio { filter: none; }
[data-theme="light"] .pill.on { box-shadow: none; }
[data-theme="light"] .badge .dot { box-shadow: 0 0 6px var(--neon); }
[data-theme="light"] .cta-block::before { opacity: 0.5; }
.mark-neon { display: inline-flex; }
.mark-flat { display: none; }
.mark-neon svg, .mark-flat svg { width: 34px; height: 34px; }
[data-theme="light"] .mark-neon { display: none; }
[data-theme="light"] .mark-flat { display: inline-flex; }

/* ---------- theme toggle ---------- */
.theme-btn {
  width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line-2);
  background: none; color: var(--muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.theme-btn:hover { color: var(--text); border-color: var(--dim); }
.theme-btn svg { width: 17px; height: 17px; }
.theme-btn .i-moon { display: none; }
[data-theme="light"] .theme-btn .i-sun { display: none; }
[data-theme="light"] .theme-btn .i-moon { display: block; }

/* ---------- dropdown nav ---------- */
.nav-item { position: relative; }
.nav-link {
  background: none; border: none; color: inherit; font: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px; padding: 0;
}
.nav-link svg.chev { width: 12px; height: 12px; transition: 0.15s; }
.nav-item.open .nav-link svg.chev { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 14px); left: -14px; min-width: 260px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 8px; display: none; z-index: 60;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
[data-theme="light"] .drop { box-shadow: 0 18px 44px rgba(20, 20, 30, 0.14); }
.drop::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item:hover .drop, .nav-item.open .drop { display: block; }
.drop a { display: block; padding: 9px 12px; border-radius: 9px; }
.drop a:hover { background: var(--panel-2); }
.drop a b { display: block; color: var(--text); font-weight: 600; font-size: 0.92rem; }
.drop a span { font-size: 0.8rem; color: var(--dim); }

/* ---------- integration logo tiles ---------- */
.lg-tile {
  width: 54px; height: 54px; border-radius: 12px; background: #ffffff;
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex: none;
}
.lg-tile img { width: 34px; height: 34px; object-fit: contain; }
.lg-tile.lg-lg { width: 72px; height: 72px; }
.lg-tile.lg-lg img { width: 46px; height: 46px; }
.tag-native, .tag-works {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 5px; padding: 3px 8px; display: inline-block;
}
.tag-native { background: rgba(239, 43, 43, 0.12); color: var(--neon); }
.tag-works { background: var(--panel-2); color: var(--dim); border: 1px solid var(--line); }
.int-card { display: flex; gap: 16px; align-items: flex-start; }
.int-card .meta { min-width: 0; }
.int-card h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- blog / article ---------- */
.post-card h3 { margin: 10px 0 8px; }
.post-meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--dim); letter-spacing: 0.06em; }
.article { max-width: 720px; margin: 0 auto; }
.article h2 { margin: 36px 0 14px; font-size: 1.45rem; }
.article p { margin-bottom: 16px; font-size: 1.02rem; line-height: 1.75; }

@media (max-width: 960px) {
  .nav.open .drop { position: static; display: block; box-shadow: none; border: none; padding: 0 0 4px 10px; min-width: 0; }
  .nav.open .nav-link svg.chev { display: none; }
  .hdr-cta .theme-btn { display: inline-flex; }
}
