/* WoW Savant site - plain CSS, no build step.
   CACHE-BUSTING: every page links this file as style.css?v=YYYYMMDDx (currently v=20261007a).
   Whenever you change this file, bump that v= value in ALL FOUR pages
   (index.html, privacy.html, terms.html, refund.html) so browsers fetch
   the new CSS instead of a stale cached copy.
   NOTE: never put a star followed by a slash inside this comment - it ends the comment early. */
:root {
  --bg: #0b0a08;
  --panel: #15120c;
  --panel-2: #1c170e;
  --gold: #f2c14e;
  --gold-dim: #b8913a;
  --border: rgba(242, 193, 78, 0.35);
  --text: #ece6d8;
  --muted: #b9b0a0;
  --green: #7bd88f;
  --warn-bg: #2a1f08;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(ellipse at top, #1d160a 0%, var(--bg) 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--gold); }
a:hover, a:focus { color: #ffd77a; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.6rem; margin: 0.2em 0; }
h2 { font-size: 1.7rem; margin: 0 0 0.6em; }
h3 { font-size: 1.15rem; margin: 0 0 0.3em; }
p { margin: 0 0 1em; }
code {
  background: #000;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.05em 0.35em;
  font-size: 0.92em;
  color: var(--green);
}

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: var(--panel); padding: 6px 10px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: rgba(11, 10, 8, 0.85); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; font-family: Georgia, serif; font-weight: bold; font-size: 1.2rem; }
.brand img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.95rem; }
.nav a { color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--gold); }

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; }
.hero-icon { width: 180px; height: 180px; border-radius: 50%; border: 2px solid var(--gold-dim); box-shadow: 0 0 40px rgba(242, 193, 78, 0.18); }
.tagline { font-size: 1.35rem; color: var(--text); margin: 0 0 0.6em; font-weight: 600; }
.lead { max-width: 640px; margin: 0 auto 1.4em; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  border: 1px solid var(--gold);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}
.btn-primary { background: linear-gradient(#f6cf6a, #d9a536); color: #1a1205; }
.btn-primary:hover, .btn-primary:focus { background: linear-gradient(#ffdc80, #e6b443); color: #1a1205; }
.btn-ghost { background: transparent; color: var(--gold); }
.btn-ghost:hover { background: rgba(242, 193, 78, 0.08); }

/* Sections */
section { padding: 36px 0; }
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid .panel p:last-child { margin-bottom: 0; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; position: relative; padding-top: 52px; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 18px; left: 24px;
  width: 30px; height: 30px; line-height: 28px; text-align: center;
  border: 1px solid var(--gold); border-radius: 50%;
  color: var(--gold); font-weight: bold; font-family: Georgia, serif;
}

.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 1.5em; position: relative; margin-bottom: 0.35em; }
.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); }
.crosses li::before { content: "\2715"; color: #ff9b9b; }

.notice {
  background: var(--warn-bg);
  border: 1px solid var(--gold);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 0 0 1.2em;
}
.notice strong { color: var(--gold); }
.notice p:last-child { margin-bottom: 0; }

/* Buy */
.buy { text-align: center; }
.price { font-size: 2.2rem; font-family: Georgia, serif; color: var(--gold); margin: 0.2em 0 0.4em; font-weight: bold; }
.small { font-size: 0.9rem; color: var(--muted); }

/* FAQ */
.faq details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--text); }
.faq summary:hover { color: var(--gold); }
.faq details[open] summary { color: var(--gold); margin-bottom: 8px; }
.faq details p:last-child { margin-bottom: 0; }

/* Policy pages */
.doc { padding: 40px 0 20px; }
.doc h1 { font-size: 2.1rem; }
.doc h2 { font-size: 1.3rem; margin-top: 1.6em; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: 0.4em; }
.updated { color: var(--muted); font-size: 0.95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 28px 0 40px; color: var(--muted); font-size: 0.92rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.site-footer p { margin: 0 0 0.6em; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .hero { padding-top: 36px; }
  .hero-icon { width: 140px; height: 140px; }
  .panel { padding: 18px; }
  .nav { gap: 6px 12px; font-size: 0.88rem; justify-content: center; }
  .site-header .wrap { justify-content: center; }
}

/* v2 additions: hero eyebrow, category cards, section intros */
.eyebrow { color: var(--gold); font-family: Georgia, serif; font-weight: bold; font-size: 1.1rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 14px 0 0; }
.hero .tagline { font-size: 1.5rem; color: var(--gold); font-family: Georgia, serif; font-style: italic; }
.section-intro { color: var(--muted); max-width: 680px; margin: -0.2em 0 1.4em; font-size: 1.05rem; }
.cat .example { margin: 0.6em 0 0; color: var(--green); font-style: italic; font-size: 0.95rem; }
.cat h3 { margin-bottom: 0.25em; }
.cat p { margin-bottom: 0; }
.big-claim { text-align: center; font-family: Georgia, serif; color: var(--text); font-size: 1.25rem; margin: 1.4em auto 0; max-width: 700px; }
.big-claim strong { color: var(--gold); }
@media (max-width: 600px) {
  .hero .tagline { font-size: 1.25rem; }
}

/* v3: price block and buy gate */
.price-block { margin: 0.6em 0 1em; }
.price-block .price { font-size: 3.6rem; line-height: 1; margin: 0; }
.price-unit { font-size: 1.1rem; color: var(--muted); font-family: system-ui, sans-serif; font-weight: 600; vertical-align: super; }
.price-sub { font-size: 1.3rem; margin: 0.35em 0 0.1em; color: var(--text); }
.price-sub strong { color: var(--gold); white-space: nowrap; }
.price-note { color: var(--green); font-weight: 600; margin: 0; }
.req-mini { margin: 0.6em 0 0.4em; padding-left: 1.2em; }
.req-mini li { margin-bottom: 0.2em; }
.gate {
  display: flex; gap: 12px; align-items: flex-start; text-align: left;
  background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px;
  padding: 14px 16px; margin: 0 0 16px; cursor: pointer; font-weight: 600;
}
.gate input { width: 22px; height: 22px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--gold); cursor: pointer; }
.btn-buy { font-size: 1.2rem; padding: 14px 36px; }
.btn.is-disabled {
  background: #3a3322; color: #8a8068; border-color: #5a4d2c;
  cursor: not-allowed; pointer-events: none; box-shadow: none;
}
.gate-hint { margin: 10px 0 0; }
@media (max-width: 600px) {
  .price-block .price { font-size: 3rem; }
}

/* v4: two-step buy buttons */
.both-note { margin: 0 0 14px; }
.both-note strong { color: var(--gold); }
.buy-steps { display: flex; flex-direction: column; gap: 12px; align-items: stretch; max-width: 460px; margin: 0 auto; }
.buy-steps .btn { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 14px 20px; font-size: 1.1rem; }
.step-num { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(26, 18, 5, 0.18); border: 1px solid rgba(26, 18, 5, 0.4); border-radius: 4px; padding: 2px 7px; }
.btn-sub { font-weight: 600; font-size: 0.92rem; opacity: 0.85; }
.btn.is-disabled .step-num { border-color: #5a4d2c; background: transparent; }
@media (max-width: 600px) {
  .buy-steps .btn { gap: 4px 10px; }
  .buy-steps .btn-sub { flex-basis: 100%; }
}

/* v5: hero fact strip */
.hero-facts {
  list-style: none; padding: 0; margin: 26px auto 0; max-width: 900px;
  display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.hero-facts li {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 16px; text-align: center;
}
.hero-facts strong { display: block; color: var(--gold); font-family: Georgia, serif; font-size: 1.12rem; margin-bottom: 2px; }
.hero-facts span { color: var(--muted); font-size: 0.92rem; }
.hero-req { margin: 12px 0 0; }

/* v6: brand-first hero */
.hero { padding-top: 44px; }
.hero-icon { width: 150px; height: 150px; }
.brand-title {
  /* Georgia ships with Windows/macOS; Gelasio is its metric clone on Linux (what the review screenshots used). */
  font-family: Georgia, Gelasio, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: clamp(3rem, 10.5vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: 0.015em;
  margin: 0.18em 0 0.12em;
  color: var(--gold);
  background: linear-gradient(180deg, #fff1c2 0%, #f6cf62 42%, #e2a93a 72%, #b9832a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(60, 38, 8, 0.9)) drop-shadow(0 0 22px rgba(242, 193, 78, 0.35));
}
.hero .tagline { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin: 0 0 0.9em; }
.hero-headline {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--text);
  font-weight: 600;
  max-width: 720px;
  margin: 0 auto 0.6em;
  line-height: 1.35;
}
@media (max-width: 600px) {
  .hero { padding-top: 30px; }
  .hero-icon { width: 120px; height: 120px; }
}

/* v7: "You need Grok Bot" plan notice in the buy box */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.grokbot-notice {
  position: relative;
  text-align: left;
  margin: 26px 0 18px;
  padding: 30px 26px 20px;
  border-radius: 14px;
  border: 1px solid rgba(242, 193, 78, 0.75);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(242, 193, 78, 0.16) 0%, rgba(242, 193, 78, 0) 55%),
    linear-gradient(180deg, #2a1f0b 0%, #17120a 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 0 34px rgba(242, 193, 78, 0.16),
    inset 0 1px 0 rgba(255, 241, 194, 0.18);
}
.grokbot-ribbon {
  position: absolute; top: -13px; left: 22px; margin: 0;
  padding: 3px 12px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: #1a1205;
  background: linear-gradient(#f6cf6a, #d9a536);
  border: 1px solid #fff1c2;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.grokbot-head { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.grokbot-icon { width: 42px; height: 48px; flex: 0 0 auto; filter: drop-shadow(0 0 10px rgba(242, 193, 78, 0.45)); }
.grokbot-head h3 {
  margin: 0;
  font-family: Georgia, Gelasio, "Times New Roman", serif;
  font-size: clamp(1.5rem, 4.2vw, 1.9rem);
  line-height: 1.1;
  background: linear-gradient(180deg, #fff1c2 0%, #f6cf62 45%, #d9a536 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(60, 38, 8, 0.9));
}
.grokbot-body { margin: 0 0 18px; font-size: 1.02rem; }
.grokbot-body strong { color: var(--gold); white-space: nowrap; }
.grokbot-no {
  display: block; margin-top: 10px; padding: 8px 12px 8px 36px; position: relative;
  background: rgba(255, 120, 110, 0.07); border: 1px solid rgba(255, 155, 155, 0.35); border-radius: 8px;
  color: #ffd2cc; font-weight: 600; font-size: 0.95rem;
}
.grokbot-no::before {
  content: "\2715"; position: absolute; left: 13px; top: 8px; color: #ff9b9b; font-weight: 800;
}
.grokbot-shots { margin: 0 0 16px; }
.grokbot-shot-row {
  display: flex; gap: 18px; justify-content: center; align-items: flex-start;
}
.grokbot-shot-row img {
  display: block;
  width: calc(50% - 9px); max-width: 300px; height: auto;
  border-radius: 20px;
  background: #f5f4f2;
  box-shadow:
    0 0 0 1px rgba(242, 193, 78, 0.55),
    0 0 0 5px rgba(242, 193, 78, 0.10),
    0 14px 30px rgba(0, 0, 0, 0.55);
  -webkit-mask-image: linear-gradient(180deg, #000 87%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 87%, transparent 100%);
}
.grokbot-shots figcaption {
  margin-top: 12px; text-align: center;
  font-family: Georgia, Gelasio, serif; font-style: italic; font-size: 1.08rem; color: var(--gold);
}
.grokbot-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 12px; }
.btn-sm { padding: 8px 16px; font-size: 0.95rem; }
.btn .ext { margin-left: 6px; font-weight: 800; }
.grokbot-source { margin: 0; text-align: center; font-size: 0.8rem; color: var(--muted); }
@media (max-width: 600px) {
  .grokbot-notice { padding: 28px 16px 16px; margin-top: 22px; }
  .grokbot-ribbon { left: 14px; }
  .grokbot-icon { width: 34px; height: 39px; }
  .grokbot-head { gap: 10px; }
  .grokbot-head h3 { font-size: clamp(1.1rem, 5.6vw, 1.38rem); white-space: nowrap; }
  .grokbot-body strong { white-space: normal; }
  .grokbot-shot-row { flex-direction: column; align-items: center; gap: 16px; }
  .grokbot-shot-row img { width: 100%; max-width: 280px; }
  .grokbot-links .btn { flex: 1 1 100%; text-align: center; }
}
@media (max-width: 340px) {
  .grokbot-head h3 { white-space: normal; }
}
