/* Solopreneur Operators — shared stylesheet
   DARK THEME (2026-11-30, approved dark homepage mockup, BlockNoble-inspired):
   near-black backgrounds, gold accents, light text. Professional and polished.
   Brand gold #d4af37, gold-bright #e9c95c, gold-soft #f3e3ae;
   bg #0a0a0c, panel #151518, panel-2 #1a1a1f, line #26262c;
   text #f4f1e8, muted #a8a294; silver #c9ced8, platinum #eed688, workspace #d08a4a.
   Homepage headings/prices Newsreader, homepage body Public Sans;
   other pages keep Space Grotesk headings, Inter body.
   Legacy var names (--navy, --teal, --deep-teal, --soft-gray, --off-white,
   --white, --ink, --border, --muted) are kept because inline styles in the
   HTML pages reference them; they now resolve to dark-theme values. */
:root {
  --gold: #d4af37;
  --gold-bright: #e9c95c;
  --gold-dim: rgba(212,175,55,.14);
  --gold-soft: #f3e3ae;
  --gold-line: rgba(212,175,55,.32);
  --bg: #0a0a0c;
  --panel: #151518;
  --panel-2: #1a1a1f;
  --line: #26262c;
  --text: #f4f1e8;
  --muted: #a8a294;
  --silver: #c9ced8;
  --platinum: #eed688;
  --platinum-line: rgba(238,214,136,.4);
  --workspace: #d08a4a;
  --green: #3fae6a;
  --red: #d05555;
  --amber: #e0a63c;
  --error-text: #ff8a7a;
  --navy: #f4f1e8;
  --teal: #e9c95c;
  --deep-teal: #d4af37;
  --soft-gray: #1a1a1f;
  --off-white: #0a0a0c;
  --white: #151518;
  --ink: #f4f1e8;
  --border: #26262c;
  --warn-bg: #3a2f10;
  --warn-ink: #e0a63c;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Space Grotesk", "Inter", system-ui, sans-serif; color: var(--text); line-height: 1.25; margin: 0 0 .5rem; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-top: 2rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(10,10,12,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { max-width: 1180px; margin: 0 auto; padding: .9rem 0; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.wordmark { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--text); }
.wordmark span { color: var(--gold-bright); }
.wordmark:hover { text-decoration: none; }
.main-nav { margin-left: auto; display: flex; gap: 30px; flex-wrap: wrap; }
.main-nav a { color: #cfc9b8; font-weight: 600; font-size: .92rem; padding: 8px 2px; }
.main-nav a:hover { color: var(--gold-bright); }

/* Layout */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
main.wrap { padding-top: 1.5rem; padding-bottom: 3rem; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: .75rem; }
.breadcrumb a { color: var(--muted); }

/* Tier badges */
.badge { display: inline-block; font-size: .8rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; margin: .25rem 0 1rem; }
.badge-starter { background: var(--silver); color: #111; }
.badge-trader { background: var(--gold); color: #111; }
.badge-pro { background: var(--platinum); color: #111; border: 1px solid var(--platinum-line); }
.badge-workspace { background: transparent; color: var(--gold-bright); border: 1px solid var(--gold-bright); }
.badge-useful { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); }
.badge-popular { background: var(--gold); color: #111; }

/* Cards and grids */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin: 1rem 0; }
.card h3 { margin-bottom: .25rem; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: .5rem; }
/* Sub-items listed under a library-area heading (About page, owner Nov 30, 2026) */
.card-sublist { margin: .5rem 0 0; padding-left: 1.2rem; color: var(--muted); font-size: .95rem; }
.card-sublist li { margin-bottom: .25rem; }
.card-sublist li:last-child { margin-bottom: 0; }
.card-sublist strong { color: var(--ink); }
.card .meta { font-size: .8rem; color: var(--muted); }

/* Tool cards (homepage Most-used tools) — tier badge pinned bottom-right,
   one spot at a consistent height on every card (dark mockup). */
.tool-card { display: flex; flex-direction: column; }
.tool-card h3 { margin-bottom: .25rem; }
.tool-card p { flex: 1 1 auto; }
.tool-card .badge { margin: auto 0 0 auto; }

/* Example + notice boxes */
.example-box { background: var(--panel-2); border-left: 4px solid var(--gold); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.25rem 0; }
.example-box h3 { margin-bottom: .25rem; }
.notice { background: var(--warn-bg); color: var(--warn-ink); border-radius: 8px; padding: .9rem 1.1rem; margin: 1.25rem 0; font-size: .95rem; }
.notice strong { color: var(--warn-ink); }
.info-box { background: var(--panel-2); border-radius: 8px; padding: .9rem 1.1rem; margin: 1.25rem 0; }

/* Forms and widgets */
.tool-widget { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin: 1.25rem 0; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; color: var(--text); margin-bottom: .3rem; }
.field .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="number"], .field input[type="date"],
.field input[type="email"], .field select, .field textarea { width: 100%; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--panel); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: 2px solid var(--gold-bright); outline-offset: 1px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.btn { display: inline-block; background: var(--gold); color: #111; border: none; border-radius: 8px; padding: .65rem 1.3rem; font: inherit; font-weight: 700; cursor: pointer; }
.btn:hover { background: var(--gold-bright); color: #111; text-decoration: none; }
.btn-secondary { background: transparent; color: var(--gold-bright); border: 1px solid var(--gold); }
.btn-secondary:hover { background: rgba(201,162,39,.12); color: var(--gold-bright); }
.btn-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.result { background: var(--panel-2); border-radius: 8px; padding: 1rem 1.25rem; margin-top: 1rem; }
.result .big { font-family: "Space Grotesk", sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--gold-bright); }
.result .steps { font-size: .92rem; color: var(--muted); margin-top: .5rem; white-space: pre-line; }
textarea.output, pre.output { width: 100%; min-height: 180px; padding: .8rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--panel); color: var(--text); white-space: pre-wrap; }

/* Checklists and trackers */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.checklist input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--gold); flex-shrink: 0; }
.checklist li.done span { text-decoration: line-through; color: var(--muted); }
.progress { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; margin: .5rem 0; }
.progress > div { height: 100%; background: var(--gold); width: 0%; }
table.data { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
table.data th, table.data td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
table.data th { color: var(--text); }

/* Pills and search */
.pill-row { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0; }
.pill { display: inline-block; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: .9rem; font-weight: 600; cursor: pointer; }
.pill.active { background: var(--gold); color: #111; border-color: var(--gold); }
.search-box, .search-row input[type="search"] { width: 100%; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; margin: .5rem 0 1rem; background: var(--panel); color: var(--text); }
.search-box::placeholder, .search-row input[type="search"]::placeholder { color: var(--muted); }
.tool-list { list-style: none; padding: 0; }
.tool-list li { padding: .55rem 0; border-bottom: 1px solid var(--line); display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap; }
.tool-list .cat { font-size: .8rem; color: var(--muted); }

/* Hero (homepage) — the approved dark mockup: full-width gradient section
   with a gold glow, two columns (copy left, Operator HQ panel right). */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 420px at 78% -60px, rgba(212,175,55,.13), rgba(212,175,55,0) 62%), linear-gradient(180deg,#101013 0%, #0a0a0c 80%); color: var(--text); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; padding-top: 28px; padding-bottom: 56px; padding-left: 0; padding-right: 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(212,175,55,.08); border: 1px solid var(--gold-line); border-radius: 999px; padding: 7px 13px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-soft); margin: 0; }
.hero-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: inline-block; }
.hero h1 { font-family: "Newsreader", serif; font-size: clamp(2.6rem, 5.2vw, 4.15rem); line-height: .98; letter-spacing: -.02em; margin: 20px 0 18px; font-weight: 600; color: var(--ink); }
.hero h1 .gold { color: var(--gold-bright); font-style: italic; }
.hero p.lede { font-size: 1.13rem; color: var(--muted); max-width: 34rem; margin: 0 0 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-actions .btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; min-height: 50px; padding: 0 24px; font-size: .98rem; border-radius: 999px; }
.hero .btn { background: linear-gradient(150deg,#e9c95c,#c39d2e); color: #171204; border: 1px solid transparent; box-shadow: 0 8px 22px rgba(212,175,55,.30); }
.hero .btn:hover { background: linear-gradient(150deg,#e9c95c,#c39d2e); color: #171204; text-decoration: none; }
.hero .btn-secondary { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.hero .btn-secondary:hover { background: transparent; color: var(--ink); text-decoration: none; }
.hero-stats { display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 20px; max-width: 32rem; }
.hero-stats .stat { flex: 1; }
.hero-stats .stat + .stat { border-left: 1px solid var(--line); padding-left: 18px; }
.hero-stats .stat b { display: block; font-family: "Newsreader", serif; font-size: 1.55rem; line-height: 1; color: var(--gold-soft); }
.hero-stats .stat span { font-size: .8rem; color: var(--muted); font-weight: 600; }
/* Operator HQ panel (homepage hero, right column) */
.hero-hq { background: var(--panel); border: 1px solid var(--gold-line); border-radius: 24px; box-shadow: 0 28px 64px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.4), 0 10px 34px rgba(212,175,55,.08); overflow: hidden; }
.hq-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.hq-top strong { font-size: .92rem; color: var(--ink); }
.hq-top small { display: block; color: var(--muted); font-weight: 600; font-size: .75rem; }
.hq-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold-dim); border: 2px solid var(--gold-line); display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: var(--gold-bright); flex: 0 0 auto; }
.hq-body { padding: 18px; display: grid; gap: 14px; background: linear-gradient(180deg,#131316,#101013); }
.hq-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hq-kpi { border-radius: 14px; padding: 12px; }
.hq-kpi small { font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; opacity: .8; }
.hq-kpi b { display: block; font-size: 1.15rem; margin-top: 2px; }
.kpi-sage { background: rgba(212,175,55,.16); color: var(--gold-soft); }
.kpi-peach { background: rgba(212,175,55,.09); color: #e6ddc4; border: 1px solid rgba(212,175,55,.18); }
.kpi-butter { background: #1e1c14; color: var(--gold-soft); border: 1px solid rgba(212,175,55,.22); }
.hq-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hq-tool { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 13px; display: flex; gap: 11px; align-items: flex-start; color: var(--ink); text-decoration: none; }
.hq-tool:hover { text-decoration: none; border-color: var(--gold-line); }
.hq-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; font-size: 1rem; }
.icon-sage { background: rgba(212,175,55,.16); color: var(--gold-bright); }
.icon-peach { background: rgba(212,175,55,.09); color: var(--gold-soft); }
.icon-butter { background: #26220f; color: var(--gold-bright); }
.hq-tool-text { display: block; }
.hq-tool-text b { font-size: .86rem; display: block; line-height: 1.3; color: var(--ink); }
.hq-tool-text > span { font-size: .78rem; color: var(--muted); }
.hq-progress { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.hq-progress-head { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 700; margin-bottom: 9px; color: var(--ink); }
.hq-bar { height: 9px; border-radius: 99px; background: #2a2a30; overflow: hidden; display: flex; }
.hq-bar i { display: block; height: 100%; }
.hq-bar .a { width: 52%; background: var(--gold); }
.hq-bar .b { width: 28%; background: #8a6d1f; }
.hq-bar .c { width: 20%; background: #e9e2cb; }
.hq-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 9px; font-size: .72rem; color: var(--muted); font-weight: 600; }
.hq-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.hq-example { font-size: .78rem; color: var(--muted); margin: 0; text-align: center; }

/* Thin gold divider under the hero — BARE, no text on it or under it
   (dark mockup; owner decision 2026-11-30: no "no account needed" text,
   customers do need an account with an email). */
.hero-divider { height: 2px; background: var(--gold); margin: 0; }

.tier-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.tier-card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; height: 100%; min-width: 0; }
.tier-card.featured { background: linear-gradient(170deg,#221c0b,#17150c); border: 1px solid var(--gold); box-shadow: 0 18px 40px rgba(0,0,0,.5), 0 10px 30px rgba(212,175,55,.14); }
.tier-card .price { font-family: "Newsreader", serif; font-size: 2.15rem; font-weight: 700; line-height: 1; margin: 14px 0 4px; color: var(--ink); }
.tier-card .price small { font-family: "Public Sans", sans-serif; font-size: .85rem; color: var(--muted); font-weight: 700; }
.tier-card .yearly { font-size: .86rem; font-weight: 700; color: var(--gold-soft); margin: 2px 0 0; min-height: 1.35em; }
@media (max-width: 900px) { .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tier-grid { grid-template-columns: minmax(0, 1fr); } }
.badge-soon { background: var(--panel-2); color: var(--gold-bright); border: 1px solid var(--gold-dim); }
.tier-card ul { padding-left: 1.2rem; }

/* Footer */
.site-footer { background: #0f0f12; color: var(--muted); margin-top: 2rem; border-top: 1px solid var(--line); }
.site-footer .wrap { padding: 26px 24px 30px; }
.site-footer a { color: var(--gold); }
.site-footer p { margin-bottom: .5rem; }

/* Steps / journey */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1rem 0; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.step .n { font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--gold-bright); font-size: 1.3rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 42px; }
}
@media (max-width: 720px) {
  h1 { font-size: 1.6rem; }
  .tool-widget { padding: 1rem; }
}
@media (max-width: 560px) {
  .hero-stats { flex-wrap: wrap; gap: 14px; }
  .hero-stats .stat { flex: 1 1 28%; }
  .hero-stats .stat + .stat { border-left: none; padding-left: 0; }
  .hq-tools { grid-template-columns: 1fr; }
  .hq-kpis { gap: 7px; }
  .hq-kpi b { font-size: .98rem; }
  body.home .tiers, body.tiers-page .tiers { padding: 36px 0 44px; }
  .wrap { padding: 0 18px; }
  .site-header .wrap { padding: 0 18px; }
  .main-nav { gap: 8px 16px; margin-left: 0; }
  .main-nav a { font-size: .84rem; }
  .hq-kpi b { white-space: nowrap; }
  .site-footer .wrap { padding: 26px 18px 30px; }
  body.home .site-footer .wrap, body.tiers-page .site-footer .wrap { padding: 0 18px; }
}
@media print {
  .site-header, .site-footer, .btn-row, .main-nav { display: none !important; }
  body { background: #fff; color: #111; }
  .card, .step, .tool-widget { background: #fff; border-color: #ccc; }
  a { color: #111; }
}

.note { background: var(--panel-2); border-left: 4px solid var(--gold); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.25rem 0; }

/* Search dropdown (autocomplete) — added 2026-11-30 */
.search-wrap { position: relative; }
.search-results { position: absolute; top: 100%; left: 0; right: 0; z-index: 50; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.55); margin-top: .3rem; max-height: 340px; overflow-y: auto; display: none; }
.search-results.open { display: block; }
.search-result { display: flex; align-items: center; gap: .6rem; padding: .6rem .85rem; color: var(--text); border-bottom: 1px solid var(--line); }
.search-result:last-child { border-bottom: none; }
.search-result:hover, .search-result.active { background: var(--panel-2); text-decoration: none; }
.search-result .badge { margin: 0; font-size: .72rem; padding: .12rem .55rem; flex-shrink: 0; }
.search-result .sr-name { font-weight: 600; }
.search-result .sr-cat { margin-left: auto; font-size: .8rem; color: var(--muted); text-align: right; flex-shrink: 0; }
.search-result.no-results { color: var(--muted); cursor: default; }
.search-result.no-results:hover { background: var(--panel); }

/* Category boxes — name only (added 2026-11-30) */
/* Category grids — the last box (Growth, Planning & Wellbeing) sits centred
   in its row, right under Automation & AI (added 2026-11-30). Only where the
   grid is 3 columns wide; narrower screens flow normally. */
@media (min-width: 850px) {
  .cat-grid > :last-child { grid-column: 2; }
}
/* 4-column grids (wide desktop): the bottom row holds two boxes (Legal, Admin
   & Business Setup + Growth, Planning & Wellbeing) — centre the pair in the
   middle columns (added 2026-11-30). */
@media (min-width: 1136px) {
  .cat-grid > :nth-last-child(2) { grid-column: 2; }
  .cat-grid > :last-child { grid-column: 3; }
}

/* Contact form validation (added 2026-11-30) */
.field-error { color: var(--error-text); font-size: .9rem; margin: .3rem 0 0; }
.char-count { font-size: .85rem; color: var(--muted); text-align: right; margin: .3rem 0 0; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }

.cat-box { text-align: center; }
.cat-box h3 { margin-bottom: 0; }

/* Tier legend (added 2026-11-30) */
.tier-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.legend-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.legend-item .badge { margin: 0 .5rem 0 0; }
.legend-item p { margin: .5rem 0 0; font-size: .95rem; color: var(--muted); }

/* Tier check-mark lists (Moxie-style card lists, Solopreneur brand) */
.tier-card ul.tier-list { list-style: none; padding-left: 0; display: grid; gap: 5px; margin: 0; }
ul.tier-list { list-style: none; padding-left: 0; margin: .5rem 0 1rem; }
.tier-list li { position: relative; padding: .22rem 0 .22rem 1.5rem; font-size: .92rem; line-height: 1.45; }
.tier-list li::before { content: "\2713"; position: absolute; left: 0; top: .22rem; color: var(--gold-bright); font-weight: 800; }
.tier-card .btn { display: block; text-align: center; text-decoration: none; }
.tier-card .trial { font-size: .85rem; font-weight: 700; color: var(--gold-bright); margin: -.25rem 0 .75rem; }
/* Tier detail pages: category groups in two columns on wide screens */
.tier-groups { display: grid; grid-template-columns: 1fr; gap: 0 2.5rem; }
.tier-group h3 { margin-top: 1.25rem; }
@media (min-width: 700px) { .tier-groups { grid-template-columns: 1fr 1fr; } }

/* Tier cards — equal height, aligned rows, mockup styling (2026-11-30):
   tier colours live in --tc on each card; the pill, trial pill, checkmarks
   and bottom-right badges all draw from it. Card order: badge row, tier
   pill, price, yearly, trial pill, count, 15 tools, See more, spacer,
   CTA button, two-line trial note, cumulative tier badges. */
.tier-grid { align-items: stretch; }
.tier-silver { --tc: #c9ced8; --tc-bg: rgba(201,206,216,.12); --tc-glow: rgba(201,206,216,.45); }
.tier-gold { --tc: #d4af37; --tc-bg: rgba(212,175,55,.13); --tc-glow: rgba(212,175,55,.5); }
.tier-platinum { --tc: #eed688; --tc-bg: rgba(238,214,136,.14); --tc-glow: rgba(238,214,136,.55); }
.tier-workspace { --tc: #d08a4a; --tc-bg: rgba(208,138,74,.13); --tc-glow: rgba(208,138,74,.5); }
.tier-card .tier-name { font-size: 1.15rem; line-height: 1.25; margin: 0; }
/* Tier name as a pill button, coloured to match its card */
.tier-pill { display: inline-flex; align-self: flex-start; align-items: center; min-height: 34px; padding: 0 16px; border-radius: 999px; font-family: "Public Sans", system-ui, sans-serif; font-size: .82rem; line-height: 1.55; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--tc); background: var(--tc-bg); border: 1px solid var(--tc); box-shadow: 0 0 14px -4px var(--tc-glow); text-decoration: none; white-space: nowrap; transition: filter .15s ease, box-shadow .15s ease; }
.tier-pill:hover, .tier-pill:focus-visible { filter: brightness(1.12); box-shadow: 0 2px 8px rgba(0,0,0,.5); text-decoration: none; }
/* "Most popular" badge row at the top of the card (hidden spacer elsewhere) */
.tier-card .pop-badge { align-self: flex-start; background: var(--gold); color: #171204; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; margin-bottom: 12px; }
.tier-card .pop-spacer { visibility: hidden; }
/* "Most popular" badge beside the Platinum tier name, slightly smaller (owner, Nov 30, 2026) */
.tier-card .tier-name-pop { display: flex; align-items: center; gap: 8px; }
/* Grown to the same size as the Platinum title text beside it (the title
   pill renders at .82rem) — owner, Nov 30, 2026 */
.tier-card .tier-name-pop .pop-badge { margin-bottom: 0; font-size: .82rem; letter-spacing: .02em; padding: 4px 6px; white-space: nowrap; flex-shrink: 0; }
/* Glowing trial pill under the price: "Free forever" (Silver) or "14-day free trial" */
.tier-card .trial-pill { display: block; text-align: center; margin-top: 14px; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--tc); background: var(--tc-bg); border: 1px solid var(--tc); border-radius: 999px; padding: 8px 10px; box-shadow: 0 0 18px -2px var(--tc-glow), inset 0 0 12px -6px var(--tc-glow); }
.tier-card .count { margin: 14px 0 12px; font-size: .9rem; font-weight: 700; color: var(--ink); }
.tier-card .tier-list li { font-size: .82rem; line-height: 1.55; color: #cfc9b8; padding: 0 0 0 1.15rem; }
.tier-card .tier-list li::before { color: var(--tc); }
/* See more is a small pill, not a gold button */
.tier-card a.see-more { display: inline-flex; align-self: flex-start; margin-top: 14px; min-height: 32px; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--ink); background: var(--panel-2); text-decoration: none; }
.tier-card a.see-more:hover { color: var(--ink); text-decoration: none; }
/* Footer block (CTA button, trial note, tier badges) pinned to the card
   bottom so all four buttons sit on one aligned row (2026-11-30) */
.tier-card .tier-foot { margin-top: auto; display: flex; flex-direction: column; }
/* CTA button, full width: ghost on Silver/Gold/Workspace, solid gold on Platinum.
   2026-11-30 (Adil): ghost buttons must read as clickable too — gold outline +
   gold tint + gold text + lift on hover. Platinum stays most prominent: taller,
   bolder, stronger gold glow. */
.tier-card a.cta-btn { width: 100%; margin-top: 18px; min-height: 44px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: .92rem; white-space: nowrap; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease; }
.tier-card a.cta-btn:hover { transform: translateY(-1px); }
.tier-card .cta-ghost { background: rgba(212,175,55,.08); border: 1.5px solid var(--gold); color: var(--gold-bright); box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.tier-card .cta-ghost:hover { background: rgba(212,175,55,.18); border-color: var(--gold-bright); color: var(--gold-bright); text-decoration: none; }
.tier-card .cta-solid { background: linear-gradient(150deg,#e9c95c,#c39d2e); border: 1px solid transparent; color: #171204; box-shadow: 0 10px 26px rgba(212,175,55,.38); min-height: 50px; font-size: 1rem; font-weight: 800; }
.tier-card .cta-solid:hover { color: #171204; text-decoration: none; }
/* Two-line trial note under the CTA button, bold bright gold (hidden spacer on Silver) */
.tier-card .trial-note { display: block; text-align: center; margin-top: 12px; font-size: .9rem; font-weight: 800; line-height: 1.4; color: var(--gold-bright); min-height: 2.8em; }
.tier-card .trial-note-spacer { visibility: hidden; }
/* Cumulative tier badges, grouped bottom-right — bottom-anchored (flex-end)
   inside the reserved 58px block so the chip rows sit level across cards
   (2026-11-30). Per-card layouts: .badges-stacked (Silver, Gold, Platinum —
   "Includes" label on top, chips centred underneath), .badges-wrap2
   (Workspace fallback, see below). .badges-inline is unused since the
   2026-11-30 stacked redesign of Platinum. */
.tier-card .card-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-content: flex-end; margin-top: 14px; min-height: 58px; }
/* Gold: "Includes" label on its own line above, chips centred underneath */
.tier-card .card-badges.badges-stacked { flex-direction: row; flex-wrap: wrap; justify-content: center; align-content: flex-end; row-gap: 6px; }
.tier-card .card-badges.badges-stacked .includes-label { flex: 0 0 100%; text-align: center; }
/* Platinum (was: label + all three chips on one centred line, no wrapping;
   chips slightly smaller so the row fits) — now stacked like Gold, 2026-11-30.
   Rule kept for reference; no card uses .badges-inline any more. */
.tier-card .card-badges.badges-inline { flex-wrap: nowrap; align-items: center; justify-content: center; gap: 3px; }
.tier-card .card-badges.badges-inline .cbadge { font-size: .58rem; padding: 3px 6px; }
/* Workspace fallback: one line (label + 4 chips) cannot fit at a readable
   chip size — measured 2026-11-30, needs chips <= .54rem to fit 225px.
   So label + Silver + Gold on row 1, Platinum + Workspace centred on row 2. */
.tier-card .card-badges.badges-wrap2 { flex-wrap: wrap; justify-content: center; align-content: flex-end; row-gap: 6px; }
/* "Includes" label before the cumulative tier badges (owner, Nov 30, 2026) —
   bigger (0.8rem) so it reads clearly, same size on Gold/Platinum/Workspace */
.tier-card .includes-label { font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: #cfc9b8; align-self: center; }
.tier-card .cbadge { font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--tc); color: var(--tc); background: var(--tc-bg); }
.tier-card .cbadge.b-silver { --tc: #c9ced8; --tc-bg: rgba(201,206,216,.12); }
.tier-card .cbadge.b-gold { --tc: #d4af37; --tc-bg: rgba(212,175,55,.13); }
.tier-card .cbadge.b-plat { --tc: #eed688; --tc-bg: rgba(238,214,136,.14); }
.tier-card .cbadge.b-work { --tc: #d08a4a; --tc-bg: rgba(208,138,74,.13); }

/* Homepage only — body font, wordmark, tiers spacing, footer (dark mockup) */
body.home { font-family: "Public Sans", system-ui, sans-serif; line-height: 1.55; }
body.tiers-page { font-family: "Public Sans", system-ui, sans-serif; line-height: 1.55; }
body.home .wordmark, body.tiers-page .wordmark { font-family: "Public Sans", system-ui, sans-serif; font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(150deg,#e9c95c,#b08a24); display: inline-grid; place-items: center; color: #141005; font-family: "Newsreader", serif; font-size: 1.25rem; font-weight: 700; line-height: 1; box-shadow: 0 6px 18px rgba(212,175,55,.28); }
.brand-mark span { color: #5c470e; }
.wordmark .brand-mark { color: #141005; }
.brand-logo { height: 38px; width: auto; display: block; }
body.home main.wrap { padding-top: 0; padding-bottom: 0; }
body.home .site-footer { margin-top: 0; }
body.home .site-footer, body.tiers-page .site-footer { color: var(--ink); padding: 26px 0 30px; }
body.home .site-footer .wrap, body.tiers-page .site-footer .wrap { padding: 0 24px; }
.tiers { padding: 48px 0 60px; }
.foot-links { display: flex; gap: 10px 30px; flex-wrap: wrap; }
.foot-links a { color: #cfc9b8; font-weight: 600; font-size: .9rem; padding: 4px 0; }

/* Promo code ACEFINCH (launch offer, 2026-11-30): trial line on tier cards */
.tier-card .promo-note { display: block; text-align: center; margin-top: 10px; font-size: .82rem; font-weight: 700; line-height: 1.4; color: var(--ink); min-height: 2.8em; }
.tier-card .promo-note b { color: var(--gold-bright); letter-spacing: .03em; }
.tier-card .promo-note-spacer { visibility: hidden; }

/* Promo popup (homepage only, once per session) */
.promo-popup { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(0,0,0,.72); }
.promo-popup[hidden] { display: none; }
.promo-popup-card { position: relative; width: 100%; max-width: 460px; background: var(--panel); border: 1px solid var(--gold); border-radius: 22px; padding: 28px 26px 24px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 10px 30px rgba(212,175,55,.14); }
.promo-popup-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 6px 8px; }
.promo-popup-close:hover { color: var(--ink); }
.promo-popup-eyebrow { margin: 0 0 10px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-bright); }
.promo-popup-card h2 { margin: 0 0 10px; font-family: "Newsreader", serif; font-size: 1.5rem; line-height: 1.25; color: var(--ink); }
.promo-popup-text { margin: 0 0 16px; font-size: .92rem; line-height: 1.55; color: #cfc9b8; }
.promo-code-box { display: flex; gap: 8px; align-items: stretch; justify-content: center; margin: 0 0 16px; }
.promo-code { display: inline-flex; align-items: center; padding: 10px 14px; border: 1px dashed var(--gold); border-radius: 10px; background: rgba(212,175,55,.10); color: var(--gold-bright); font-weight: 800; letter-spacing: .06em; font-size: 1rem; }
.promo-copy { border: 1px solid var(--line); background: var(--panel-2); color: var(--ink); border-radius: 10px; padding: 0 14px; font-size: .85rem; font-weight: 700; cursor: pointer; }
.promo-copy:hover { border-color: var(--gold); }
.promo-popup-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; border-radius: 999px; background: linear-gradient(150deg,#e9c95c,#c39d2e); color: #171204; font-weight: 700; font-size: .92rem; text-decoration: none; box-shadow: 0 8px 22px rgba(212,175,55,.30); }
.promo-popup-cta:hover { color: #171204; text-decoration: none; }
.promo-popup-fine { margin: 14px 0 0; font-size: .78rem; line-height: 1.5; color: var(--muted); }

/* Header auth actions + AceFinch-only wordmark (2026-11-30) */
.wordmark { display: inline-flex; align-items: center; }
.auth-actions { margin-left: 24px; display: flex; align-items: center; gap: 16px; }
.auth-link { color: #cfc9b8; font-weight: 600; font-size: .92rem; padding: 8px 2px; }
.auth-link:hover { color: var(--gold-bright); }
.auth-btn { display: inline-block; background: var(--gold); color: #141005; font-weight: 800; font-size: .92rem; padding: 9px 18px; border-radius: 999px; }
.auth-btn:hover { background: var(--gold-bright); color: #141005; text-decoration: none; }
/* Footer redesign (2026-11-30): brand left, links right */
.foot-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 30px; flex-wrap: wrap; }
.site-footer .foot-brand { margin: 0; }
.foot-brand strong { color: var(--gold-bright); }
/* Tier-card trial + promo standout box (2026-11-30) */
.tier-card .trial-promo { margin-top: 12px; border: 1px solid var(--gold); border-radius: 12px; padding: 10px 12px; text-align: center; background: rgba(212,175,55,.08); }
.tier-card .trial-promo-trial { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-bright); }
.tier-card .trial-promo-code { display: block; margin-top: 4px; font-size: .9rem; font-weight: 700; color: var(--ink); }
.tier-card .trial-promo-code b { color: var(--gold-bright); letter-spacing: .03em; }
.tier-card .trial-promo-spacer { visibility: hidden; }

.site-footer .foot-note { flex-basis: 100%; margin: 0; }
