/* ============================================================
   Zero Gravity HR — site styles
   Theme: deep-space purple, gold accent. "HR made weightless."
   ============================================================ */

:root {
  --bg-deep:  #0d0822;
  --bg:       #17103a;
  --bg-soft:  #1e1544;
  --panel:    rgba(255, 255, 255, 0.075);
  --panel-brd:rgba(195, 171, 240, 0.30);

  --purple:      #7a4fd0;
  --purple-light:#c3abf0;
  --magenta:     #b45bd8;

  --gold:      #d4af5f;
  --gold-soft: #e9c877;

  --text:  #f1ecfb;
  --muted: #beb4d8;
  --dim:   #968db2;

  --maxw: 1120px;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);

  --font-brand: 'Poiret One', 'Century Gothic', 'Trebuchet MS', sans-serif;
  --font-ui: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Starfield + nebula background (fixed, behind all) ---------- */
.space-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 78% -10%, rgba(190, 108, 228, .36), transparent 60%),
    radial-gradient(900px 600px at 12% 8%, rgba(146, 102, 230, .40), transparent 60%),
    radial-gradient(1200px 900px at 50% 120%, rgba(104, 64, 178, .42), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}
.space-bg::before,
.space-bg::after {
  content: "";
  position: absolute;
  inset: -50%;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(255,255,255,.9), transparent),
    radial-gradient(1.5px 1.5px at 120px 80px, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 200px 160px, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 300px 40px, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 380px 220px, rgba(255,255,255,.85), transparent);
  background-repeat: repeat;
  background-size: 420px 300px;
  opacity: .5;
}
.space-bg::after { background-size: 260px 200px; opacity: .3; animation: drift 140s linear infinite; }
@keyframes drift { to { transform: translateY(-200px); } }

/* ---------- Layout helpers ---------- */
.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.center { text-align: center; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
.center .lead { margin-inline: auto; }

.eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--gold);
}
h1, h2, h3 { line-height: 1.15; font-weight: 600; }
h2.title {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: .06em;
  margin: 10px 0 14px;
}
h3 { font-size: 1.25rem; margin-bottom: 6px; }

.accent { color: var(--gold); }
.text-purple { color: var(--purple-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-ui); font-weight: 600; font-size: .96rem;
  padding: .8em 1.5em; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #000; box-shadow: 0 8px 24px rgba(212,175,95,.28);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(212,175,95,.4); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,.03); color: var(--text);
  border-color: var(--panel-brd);
}
.btn-ghost:hover { border-color: var(--purple-light); background: rgba(195,171,240,.08); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(13,8,34,.62);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 40px; height: 40px; }
.brand b { font-family: var(--font-brand); font-size: 1.2rem; letter-spacing: .08em; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
/* :not(.btn) so the pill buttons (Client Login, Book a Consult) keep their own
   colour, padding and radius — this selector otherwise outranks .btn-primary. */
.nav-links a:not(.btn) {
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav-links a:not(.btn):hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a:not(.btn).active { color: var(--gold); }
.nav-cta { margin-left: 8px; }
.nav-login { margin-left: 10px; }
/* matches the consult CTA exactly — same .btn padding and font-size */
.nav-login svg { width: 15px; height: 15px; flex: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; text-align: center; padding: 60px 0 0; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-art {
  display: block; width: min(900px, 100%); height: auto; margin: 0 auto;
  border-radius: 18px; border: 1px solid var(--panel-brd);
  box-shadow: 0 22px 65px rgba(122, 79, 208, .45);
}
.hero-glow {
  position: absolute; z-index: 1; inset: 0;
  background: radial-gradient(600px 420px at 50% 30%, rgba(122,79,208,.35), transparent 70%);
  pointer-events: none;
}
.hero-logo { width: clamp(120px, 20vw, 180px); height: auto; filter: drop-shadow(0 10px 30px rgba(122,79,208,.5)); }
.wordmark {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 6rem);
  letter-spacing: .12em;
  margin: 10px 0 4px;
  background: linear-gradient(180deg, #fff 0%, #d9cef4 55%, var(--purple-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 2px 40px rgba(122,79,208,.5);
}
.hero .subhead { color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 58ch; margin: 28px auto 26px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Marquee ---------- */
.marquee {
  margin-top: 64px; padding: 13px 0;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold) 55%, var(--gold-soft));
  box-shadow: 0 6px 26px rgba(212, 175, 95, .30);
  overflow: hidden; white-space: nowrap;
}
.marquee > div { display: inline-block; animation: scroll 18s linear infinite; }
.marquee span {
  font-family: var(--font-brand); letter-spacing: .3em; font-size: 1.05rem; font-weight: 700;
  color: #2a1c05; opacity: 1; padding: 0 26px;
}
.marquee span::after { content: "✦"; color: rgba(42, 28, 5, .55); margin-left: 52px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-brd);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--purple-light); box-shadow: var(--shadow); }
.card .plan-name { font-family: var(--font-brand); font-size: 1.35rem; letter-spacing: .05em; }
.card .plan-sub { color: var(--purple-light); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-top: 4px; }
.card .price { color: var(--gold); font-weight: 600; font-size: 1.15rem; margin: 14px 0 10px; }
.card .desc { color: var(--muted); font-size: .95rem; }
.card--service { background: linear-gradient(180deg, rgba(146,102,230,.22), rgba(146,102,230,.08)); }

.badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #2a1c05; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase; white-space: nowrap;
}
.card--featured { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(212,175,95,.35), var(--shadow); }

/* feature lists inside plan detail */
.feature-list { list-style: none; margin-top: 12px; }
.feature-list li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--muted); font-size: .95rem; }
.feature-list li::before { content: "◦"; position: absolute; left: 6px; color: var(--gold); font-weight: 700; }
.feature-list.check li::before { content: "✓"; color: var(--gold); }
.excl { color: var(--dim); font-size: .88rem; font-style: italic; margin-top: 12px; }

/* full-width plan detail rows (services page) */
.plan-detail {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: start;
  background: var(--panel); border: 1px solid var(--panel-brd);
  border-radius: var(--radius); padding: 28px; margin-bottom: 18px;
}
.plan-detail .head .price { color: var(--gold); font-weight: 600; font-size: 1.4rem; margin-top: 8px; }
.plan-detail .tagline { color: var(--purple-light); font-style: italic; margin-top: 4px; }
.plan-detail .best { color: var(--muted); font-size: .92rem; margin-top: 10px; }

/* pricing chips (project services) */
.tiers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tier { background: rgba(212,175,95,.1); border: 1px solid rgba(212,175,95,.3); color: var(--gold-soft);
        padding: 8px 14px; border-radius: 10px; font-size: .92rem; font-weight: 500; }

/* ---------- About page ---------- */
.about-hero { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; }
.portrait {
  aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--panel-brd); background: var(--bg-soft);
  display: grid; place-items: center; text-align: center; color: var(--dim); padding: 20px;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.prose p { margin-bottom: 16px; color: #d8d1ea; }
.prose h3 { color: var(--gold); margin-top: 30px; font-family: var(--font-brand); letter-spacing: .04em; font-size: 1.5rem; }
.creds { list-style: none; display: grid; gap: 10px; margin-top: 8px; }
.creds li { padding-left: 28px; position: relative; color: var(--text); }
.creds li::before { content: "★"; position: absolute; left: 0; color: var(--gold); }

/* ---------- Belief / values ---------- */
.values { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.value { background: var(--panel); border: 1px solid var(--panel-brd); border-radius: var(--radius); padding: 22px; }
.value h3 { color: var(--gold-soft); }
.value p { color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid var(--panel-brd);
  color: var(--text); font-family: inherit; font-size: .96rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple-light); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--dim); margin-top: 8px; }
.contact-detail { color: var(--muted); }
.contact-detail a { color: var(--gold-soft); text-decoration: none; }
.form-status { margin-top: 12px; font-weight: 500; }
.form-status.ok { color: #7fe3a4; }
.form-status.err { color: #ffa4a4; }
.form-status.err a { color: var(--gold-soft); }

/* intake form field types */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field .opt { color: var(--dim); font-weight: 400; }
.field .req { color: var(--gold-soft); }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 13px; border: 1px solid var(--panel-brd); border-radius: 10px;
  background: rgba(255,255,255,.03); color: var(--text); font-size: .9rem;
  transition: border-color .15s, background .15s;
}
.choice:hover { border-color: var(--purple-light); background: rgba(195,171,240,.06); }
.choice input { accent-color: var(--gold); margin: 0; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; border-radius: 22px; padding: 54px 24px;
  background: linear-gradient(135deg, rgba(122,79,208,.28), rgba(180,91,216,.16));
  border: 1px solid var(--panel-brd);
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255,255,255,.07); margin-top: 40px; padding: 54px 0 24px; background: rgba(13,8,34,.5); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; }
.site-footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--dim); margin-bottom: 12px; }
.site-footer a { color: var(--muted); text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-brand p { color: var(--muted); font-size: .92rem; max-width: 38ch; margin-top: 10px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06);
  color: var(--dim); font-size: .86rem;
}
.footer-bottom a { display: inline; color: var(--gold-soft); }
.atlas-credit { color: var(--dim); display: inline-flex; align-items: center; gap: 6px; }
.atlas-credit a { font-weight: 600; display: inline-flex; align-items: center; }
.atlas-logo { height: 15px; width: auto; opacity: .85; transition: opacity .15s ease; }
.atlas-credit a:hover .atlas-logo { opacity: 1; }

/* ---------- Chat widget ---------- */
.chat-launch {
  position: fixed; right: 22px; bottom: 46px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #2a1c05; font-size: 1.5rem; box-shadow: 0 10px 30px rgba(212,175,95,.4);
  display: grid; place-items: center; transition: transform .15s ease;
}
.chat-launch:hover { transform: scale(1.06); }
.chat-panel {
  position: fixed; right: 22px; bottom: 116px; z-index: 60;
  width: min(360px, 92vw); max-height: 70vh;
  background: var(--bg-soft); border: 1px solid var(--panel-brd);
  border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
  display: none; flex-direction: column;
}
.chat-panel.open { display: flex; animation: pop .18s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: linear-gradient(135deg, rgba(122,79,208,.4), rgba(180,91,216,.2)); border-bottom: 1px solid var(--panel-brd); }
.chat-head img { width: 30px; height: 30px; }
.chat-head b { font-family: var(--font-brand); letter-spacing: .06em; }
.chat-head small { color: var(--muted); display: block; font-size: .74rem; }
.chat-head .close { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 1.3rem; cursor: pointer; }
.chat-body { padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 80%; padding: 10px 13px; border-radius: 14px; font-size: .92rem; line-height: 1.5; }
.msg.bot { background: rgba(255,255,255,.06); border: 1px solid var(--panel-brd); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #2a1c05; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 16px; }
.chat-replies button {
  background: rgba(195,171,240,.1); border: 1px solid var(--panel-brd); color: var(--purple-light);
  padding: 8px 12px; border-radius: 999px; font-size: .85rem; cursor: pointer; font-family: inherit;
  transition: background .15s, border-color .15s;
}
.chat-replies button:hover { background: rgba(195,171,240,.2); border-color: var(--purple-light); }
.chat-input { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--panel-brd); }
.chat-input input { flex: 1; padding: 10px 12px; border-radius: 999px; background: rgba(255,255,255,.05);
  border: 1px solid var(--panel-brd); color: var(--text); font-family: inherit; }
.chat-input input:focus { outline: none; border-color: var(--purple-light); }
.chat-input button { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); border: 0; color: #2a1c05;
  border-radius: 999px; padding: 0 16px; font-weight: 600; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-5, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; margin-inline: auto; }
  .contact-grid, .values, .plan-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Nav collapses earlier than the layout grids: two full-size pills plus four
   links need ~1060px before the brand and button labels start wrapping. */
@media (max-width: 1060px) {
  .nav-links {
    position: absolute; top: 64px; right: 4vw; flex-direction: column; align-items: stretch;
    background: var(--bg-soft); border: 1px solid var(--panel-brd); border-radius: 14px;
    padding: 10px; min-width: 200px; display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { margin: 6px 0 0; }
  /* stacked menu: full-width, centred pills */
  .nav-login { margin: 8px 0 0; }
  .nav-login a.btn, .nav-cta a.btn { justify-content: center; }
}
@media (max-width: 560px) {
  .grid-5, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

/* --- review changes 2026-10-22 --- */
.hero-title { font-family: var(--font-brand); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.12; letter-spacing: .02em; margin: 6px auto 0; max-width: 22ch; }
.hero-creds { color: var(--gold); font-size: .95rem; letter-spacing: .04em; margin: 18px auto 0; max-width: 64ch; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--gold); transform: translateY(-2px); }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }

/* --- plan detail dialog (2026-10-22) --- */
.plan-card { cursor: pointer; transition: border-color .15s ease, transform .15s ease; }
.plan-card:hover, .plan-card:focus-visible { border-color: var(--gold); transform: translateY(-2px); outline: none; }
.plan-card:focus-visible { box-shadow: 0 0 0 3px rgba(226,183,86,.45); }
#plan-dialog {
  /* the global `* { margin: 0 }` reset on line 32 overrides the UA stylesheet's
     `margin: auto` on dialog, which is what centers a modal -- without these
     three lines the dialog pins itself to the top-left corner. */
  position: fixed; inset: 0; margin: auto;
  width: min(640px, calc(100vw - 32px)); max-height: 85vh; overflow: auto;
  padding: 32px; border: 1px solid var(--panel-brd); border-radius: var(--radius);
  background: var(--bg-soft); color: var(--text);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
#plan-dialog::backdrop { background: rgba(10,6,20,.72); backdrop-filter: blur(3px); }
.plan-dialog-close {
  position: sticky; top: 0; float: right; margin: -12px -12px 0 0;
  background: none; border: 0; color: var(--muted); font-size: 1.8rem; line-height: 1;
  cursor: pointer; padding: 4px 10px; border-radius: 10px;
}
.plan-dialog-close:hover { color: var(--gold); background: rgba(255,255,255,.06); }
.plan-sheet-name { font-family: var(--font-brand); font-size: 2rem; letter-spacing: .04em; margin: 6px 0 2px; }
.plan-sheet-tagline { color: var(--muted); margin-bottom: 14px; }
.plan-sheet-price { font-size: 1.9rem; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.plan-sheet-price .per { font-size: .55em; color: var(--muted); font-weight: 400; }
#plan-dialog .feature-list { margin-top: 14px; }
#plan-dialog .excl { color: var(--muted); font-size: .9rem; margin-top: 14px; }
.plan-sheet-cta { display: inline-block; margin-top: 22px; }
.plan-chip {
  background: rgba(226,183,86,.12); border: 1px solid rgba(226,183,86,.45);
  color: var(--gold); border-radius: 999px; padding: 10px 16px;
  margin-bottom: 18px; font-size: .95rem;
}
@media (max-width: 560px) { #plan-dialog { padding: 22px; } }

/* --- HR Updates page (2026-10-22) --- */
.updated { color: var(--muted); font-size: .9rem; margin-top: 14px; }
.state-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.state-tab {
  font: inherit; cursor: pointer; padding: 11px 22px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--panel-brd); color: var(--text);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.state-tab:hover { border-color: var(--gold); }
.state-tab.is-active { background: var(--gold); border-color: var(--gold); color: #000; font-weight: 600; }
.state-tab:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(226,183,86,.45); }
.state-panel h2.accent { margin-bottom: 16px; }
.update-list { list-style: none; display: grid; gap: 16px; }
.update-list li { padding-left: 20px; position: relative; color: #d8d1ea; line-height: 1.6; }
.update-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.update-list strong:first-child { color: var(--text); }
.qa {
  border: 1px solid var(--panel-brd); border-radius: 14px; background: rgba(255,255,255,.03);
  padding: 0 20px; margin-bottom: 12px;
}
.qa summary {
  cursor: pointer; padding: 18px 0; font-weight: 500; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; flex: none;
  transition: transform .18s ease; }
/* rotate the plus into an x rather than swapping in a minus glyph -- Poppins has no U+2212 and renders tofu */
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--gold); }
.qa-body { padding: 0 0 18px; color: #d8d1ea; line-height: 1.7; max-width: 80ch; }
.disclaimer { border-color: rgba(226,183,86,.4); }
@media (max-width: 560px) { .state-tab { padding: 10px 16px; font-size: .92rem; } }

/* links inside the plan dialog's footnote were inheriting a dim body-link colour
   against the dark panel -- low contrast on a client-facing page */
#plan-dialog .form-note a { color: var(--gold); text-decoration: underline; }
#plan-dialog .form-note a:hover { text-decoration: none; }

/* --- plan comparison table (2026-10-22) --- */
.table-scroll {
  /* position:relative is load-bearing: the .visually-hidden spans inside the table are
     position:absolute, and without a positioned ancestor INSIDE this scroll box they
     escape its clipping, get laid out against the page, and add ~200px of horizontal
     page scroll on mobile. */
  position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--panel-brd); border-radius: var(--radius); }
.plan-table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .95rem; }
.plan-table th, .plan-table td { padding: 13px 14px; border-bottom: 1px solid var(--panel-brd); text-align: center; }
.plan-table thead th { background: rgba(255,255,255,.04); position: sticky; top: 0; }
.plan-table thead th.is-featured { background: rgba(226,183,86,.14); }
.plan-table .pt-name { display: block; font-family: var(--font-brand); font-size: 1.25rem; letter-spacing: .04em; }
.plan-table .pt-price { display: block; color: var(--gold); font-size: .85rem; margin-top: 2px; }
.plan-table tbody th[scope="row"] {
  text-align: left; font-weight: 400; color: #d8d1ea; min-width: 260px;
  position: sticky; left: 0; background: var(--bg-soft); z-index: 1;
}
.plan-table tbody tr:nth-child(even) th[scope="row"] { background: #1b1430; }
.plan-table tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
.plan-table tbody tr:last-child th, .plan-table tbody tr:last-child td { border-bottom: 0; }
.plan-table .yes { color: var(--gold); font-size: 1.1rem; }
.plan-table .no { color: var(--dim); }
.plan-table .part { color: var(--muted); font-size: .85rem; }
@media (max-width: 560px) { .plan-table tbody th[scope="row"] { min-width: 200px; font-size: .9rem; } }

.footer-loc { color: var(--muted); font-size: .88rem; line-height: 1.6; margin-top: 10px; }
