/* Exit Strategy HQ — shared design system
 * Extracted from the original single-file build + extended for the multi-page hub.
 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-base: #0f172a;
  --bg-deep: #0a101f;
  --glass-bg: rgba(23, 31, 50, 0.42);
  --glass-bg-strong: rgba(28, 38, 60, 0.5);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-edge: rgba(255, 255, 255, 0.22);
  --text-primary: #f1f5fd;
  --text-secondary: #c5d1e8;
  --text-muted: #8294b3;
  --cyan: #22d3ee;
  --cyan-deep: #06b6d4;
  --violet: #a78bfa;
  --violet-deep: #8b5cf6;
  --accent: var(--cyan);
  --accent-glow: rgba(34, 211, 238, 0.45);
  --green: #4ade80;
  --amber: #fbbf24;
  --red: #f87171;
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 15px;
  --blur: 26px;
  --shadow-window: 0 30px 60px rgba(2,6,16,.6), 0 10px 22px rgba(2,6,16,.4), inset 0 1px 0 var(--glass-edge), inset 0 -1px 0 rgba(0,0,0,.3);
  --shadow-card: 0 14px 30px rgba(2,6,16,.45), inset 0 1px 0 rgba(255,255,255,.08);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

/* Aurora */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 12% -5%, rgba(34,211,238,.16) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 95% 12%, rgba(139,92,246,.17) 0%, transparent 52%),
    radial-gradient(ellipse 55% 45% at 50% 105%, rgba(6,182,212,.1) 0%, transparent 48%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg-deep) 45%, #0b1322 100%);
}
.aurora .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; animation: drift 26s ease-in-out infinite alternate; }
.aurora .blob--cyan { width: 46vw; height: 46vw; top: -18vw; left: -10vw; background: radial-gradient(circle, rgba(34,211,238,.35), transparent 65%); }
.aurora .blob--violet { width: 42vw; height: 42vw; top: 4vw; right: -14vw; background: radial-gradient(circle, rgba(139,92,246,.35), transparent 65%); animation-delay: -13s; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(4vw,3vw,0) scale(1.12); } }
.aurora::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 34px 34px; opacity: .45;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.35));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.35));
}

/* Cursor */
.cursor-glow, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); will-change: transform; }
.cursor-glow { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%); opacity: .5; transition: width .22s var(--ease), height .22s var(--ease), opacity .22s var(--ease); }
.cursor-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent), 0 0 26px var(--accent-glow); transition: transform .18s var(--ease); }
body.cursor-hover .cursor-glow { width: 58px; height: 58px; opacity: .78; }
body.cursor-hover .cursor-dot { transform: translate(-50%,-50%) scale(.55); }
@media (hover: none), (max-width: 768px) { body { cursor: auto; } .cursor-glow, .cursor-dot { display: none; } }

.container { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.container--narrow { max-width: 820px; }

/* Glass */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur)) saturate(1.5); -webkit-backdrop-filter: blur(var(--blur)) saturate(1.5);
  border: 1px solid var(--glass-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-window);
  position: relative; overflow: hidden;
}
.glass::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(170deg, rgba(255,255,255,.09) 0%, transparent 32%), radial-gradient(ellipse 65% 32% at 50% -8%, rgba(255,255,255,.1), transparent 70%); }

/* ============ Top navigation (shared) ============ */
.site-nav { position: sticky; top: 0; z-index: 8000; margin-bottom: 1.6rem; }
.site-nav .nav-inner {
  display: flex; align-items: center; gap: 1rem; max-width: 1180px; margin: 0 auto;
  padding: 0.7rem 1.1rem; border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: rgba(13,19,33,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--glass-border); border-top: none; box-shadow: 0 14px 34px rgba(2,6,16,.5);
}
.nav-brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; letter-spacing: -.01em; color: var(--text-primary); text-decoration: none; font-size: .98rem; white-space: nowrap; }
.nav-brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s ease infinite; }
.nav-links { display: flex; align-items: center; gap: .15rem; margin-left: auto; flex-wrap: wrap; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: .82rem; font-weight: 600; padding: .45rem .7rem; border-radius: 999px; transition: color .2s var(--ease), background .2s var(--ease); }
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,.06); }
.nav-links a.is-active { color: var(--cyan); background: rgba(34,211,238,.1); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--glass-border); color: var(--text-primary); width: 40px; height: 38px; border-radius: 11px; font-size: 1.1rem; cursor: none; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { width: 100%; flex-direction: column; align-items: stretch; gap: .2rem; margin-top: .6rem; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .65rem .8rem; }
  .site-nav .nav-inner { flex-wrap: wrap; }
}

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* Language switcher */
.lang-switch { font-family: inherit; font-size: .76rem; font-weight: 600; color: var(--text-secondary); background: rgba(255,255,255,.05); border: 1px solid var(--glass-border); border-radius: 999px; padding: .4rem .7rem; cursor: none; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%238294b3' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .55rem center; padding-right: 1.7rem; margin-left: .4rem; }
.lang-switch option { background: #141c30; color: var(--text-primary); }
@media (max-width: 860px) { .lang-switch { width: 100%; margin: .4rem 0 0; } }

/* RTL (Arabic) */
[dir="rtl"] .nav-links { margin-right: auto; margin-left: 0; }
[dir="rtl"] .lang-switch { margin-left: 0; margin-right: .4rem; background-position: left .55rem center; padding-right: .7rem; padding-left: 1.7rem; }
[dir="rtl"] .band-track, [dir="rtl"] .score-ring { direction: ltr; }
[dir="rtl"] select.input-glass { background-position: left 1rem center; padding-right: 1.1rem; padding-left: 2.5rem; }
[dir="rtl"] .timeline { padding-left: 0; padding-right: 2rem; }
[dir="rtl"] .timeline::before { left: auto; right: 9px; }
[dir="rtl"] .phase::before { left: auto; right: -1.7rem; }
[dir="rtl"] .post--reply { border-left: none; border-right: 2px solid rgba(255,255,255,.07); margin-left: 0; margin-right: .6rem; padding-left: 0; padding-right: 1.4rem; }
[dir="rtl"] .prose ul, [dir="rtl"] .prose ol { margin-left: 0; margin-right: 1.2rem; }
[dir="rtl"] .prose blockquote { border-left: none; border-right: 3px solid var(--violet); padding-left: 0; padding-right: 1.1rem; }
[dir="rtl"] .res-list li a:hover { transform: translateX(-3px); }
[dir="rtl"] .donate-float { right: auto; left: 1.4rem; }

/* Hero / headers */
header.hero { text-align: center; margin-bottom: 1.8rem; padding: 0 .5rem; }
.brand-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1.1rem; margin-bottom: 1.1rem; font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--cyan); background: linear-gradient(165deg, rgba(34,211,238,.13), rgba(34,211,238,.05)); border: 1px solid rgba(34,211,238,.25); border-radius: 999px; }
.brand-pill span.d { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulse 2s ease infinite; }
h1, .h1 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); font-weight: 900; line-height: 1.14; letter-spacing: -.035em; margin-bottom: .8rem;
  background: linear-gradient(135deg, #fff 0%, #dbeafe 30%, var(--cyan) 58%, var(--violet) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 4px 24px rgba(34,211,238,.18)); }
.subtitle { color: var(--text-muted); font-size: clamp(.92rem, 2vw, 1.04rem); max-width: 680px; margin: 0 auto; line-height: 1.75; }
.subtitle strong { color: var(--text-secondary); font-weight: 600; }

/* Buttons */
.glossy-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.55rem; font-family: inherit; font-size: .92rem; font-weight: 600; color: var(--text-primary); text-decoration: none;
  background: linear-gradient(170deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,.05) 40%, rgba(2,6,16,.22) 100%);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-md);
  box-shadow: 0 10px 26px rgba(2,6,16,.5), inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(0,0,0,.25); cursor: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); overflow: hidden; }
.glossy-btn::after { content: ''; position: absolute; top: 0; left: -80%; width: 55%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.2), transparent); transform: skewX(-22deg); transition: left .65s var(--ease); pointer-events: none; }
.glossy-btn:hover::after { left: 130%; }
.glossy-btn:hover { transform: translateY(-2px); border-color: rgba(34,211,238,.4); box-shadow: 0 14px 34px rgba(2,6,16,.55), 0 0 28px rgba(34,211,238,.18), inset 0 1px 0 rgba(255,255,255,.28); }
.glossy-btn:active { transform: translateY(0) scale(.99); }
.glossy-btn--primary { width: 100%; padding: 1.05rem 1.5rem; font-size: .97rem; font-weight: 700; color: #fff; background: linear-gradient(170deg, rgba(34,211,238,.4) 0%, rgba(139,92,246,.32) 55%, rgba(2,6,16,.25) 100%); border-color: rgba(34,211,238,.35); text-shadow: 0 1px 8px rgba(2,6,16,.4); }
.glossy-btn--primary:hover { border-color: rgba(167,139,250,.55); box-shadow: 0 16px 38px rgba(2,6,16,.55), 0 0 36px rgba(34,211,238,.28), inset 0 1px 0 rgba(255,255,255,.3); }
.glossy-btn--ghost { box-shadow: inset 0 1px 0 rgba(255,255,255,.12); background: rgba(255,255,255,.04); }

/* Inputs */
.form-group { margin-bottom: 1.25rem; }
.form-group:last-child { margin-bottom: 0; }
.form-group label { display: flex; justify-content: space-between; align-items: baseline; font-size: .8rem; font-weight: 600; margin-bottom: .5rem; color: var(--text-secondary); }
.form-group label .value-display { font-weight: 800; font-size: .88rem; color: var(--accent); text-shadow: 0 0 20px var(--accent-glow); transition: color .25s var(--ease); font-variant-numeric: tabular-nums; }
.input-glass { width: 100%; padding: .82rem 1.1rem; font-family: inherit; font-size: .95rem; font-weight: 500; color: var(--text-primary);
  background: linear-gradient(170deg, rgba(255,255,255,.07) 0%, rgba(2,6,16,.24) 100%); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-md);
  box-shadow: inset 0 2px 7px rgba(2,6,16,.3), inset 0 1px 0 rgba(255,255,255,.06); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); cursor: none; }
.input-glass:focus { outline: none; border-color: rgba(34,211,238,.45); box-shadow: inset 0 2px 7px rgba(2,6,16,.3), 0 0 0 3px rgba(34,211,238,.13), 0 0 22px rgba(34,211,238,.1); }
select.input-glass { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238294b3' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
select.input-glass option { background: #141c30; color: var(--text-primary); }
.field-hint { font-size: .72rem; color: var(--text-muted); margin-top: .35rem; line-height: 1.5; }
.slider-wrap { padding: .15rem 0; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: rgba(255,255,255,.09); outline: none; cursor: none; box-shadow: inset 0 1px 3px rgba(2,6,16,.35); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 21px; height: 21px; border-radius: 50%; background: linear-gradient(150deg, var(--accent), var(--violet-deep)); border: 2px solid rgba(255,255,255,.3); box-shadow: 0 0 18px var(--accent-glow), 0 3px 9px rgba(2,6,16,.45); cursor: none; transition: transform .15s var(--ease); }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.14); }
input[type="range"]::-moz-range-thumb { width: 21px; height: 21px; border-radius: 50%; background: linear-gradient(150deg, var(--accent), var(--violet-deep)); border: 2px solid rgba(255,255,255,.3); cursor: none; }
.range-ends { display: flex; justify-content: space-between; font-size: .68rem; font-weight: 500; color: var(--text-muted); margin-top: .4rem; }

/* Panels & grid */
.dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .dashboard { grid-template-columns: 1fr; } }
.panel { padding: 1.8rem; }
.panel-header { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.5rem; }
.panel-icon { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); background: linear-gradient(150deg, rgba(34,211,238,.18), rgba(139,92,246,.12)); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 16px rgba(2,6,16,.35); font-size: 1.15rem; }
.panel h2 { font-size: 1.16rem; font-weight: 800; letter-spacing: -.02em; color: var(--text-primary); margin-bottom: .25rem; }
.panel .panel-desc { color: var(--text-muted); font-size: .82rem; line-height: 1.55; }
.advanced-toggle { margin-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.07); padding-top: 1rem; }
.advanced-toggle > summary { list-style: none; cursor: none; font-size: .8rem; font-weight: 700; color: var(--cyan); display: flex; align-items: center; gap: .4rem; }
.advanced-toggle > summary::-webkit-details-marker { display: none; }
.advanced-toggle > summary::after { content: '+'; color: var(--text-muted); font-size: 1rem; }
.advanced-toggle[open] > summary::after { content: '−'; }
.advanced-toggle .adv-body { margin-top: 1.1rem; }

/* Segmented control (scenario, exit type chips) */
.segmented { display: flex; gap: .35rem; background: rgba(2,6,16,.25); padding: .3rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.08); }
.segmented button { flex: 1; padding: .5rem .6rem; font-family: inherit; font-size: .78rem; font-weight: 700; color: var(--text-muted); background: none; border: none; border-radius: 999px; cursor: none; transition: color .2s var(--ease), background .2s var(--ease); }
.segmented button.active { color: #fff; background: linear-gradient(150deg, rgba(34,211,238,.32), rgba(139,92,246,.28)); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }

/* Readiness score dial */
.score-dial { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.3rem; border-radius: var(--radius-lg); background: linear-gradient(150deg, rgba(34,211,238,.1), rgba(139,92,246,.08), rgba(2,6,16,.18)); border: 1px solid rgba(34,211,238,.2); margin-bottom: 1rem; }
.score-ring { --val: 0; flex-shrink: 0; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--val) * 1%), rgba(255,255,255,.08) 0); position: relative; }
.score-ring::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #0e1626; }
.score-ring .score-num { position: relative; font-size: 1.7rem; font-weight: 900; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.score-meta .score-verdict { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.score-meta .score-sub { font-size: .8rem; color: var(--text-muted); margin-top: .2rem; line-height: 1.5; }
.v-building { color: var(--red); } .v-approaching { color: var(--amber); } .v-ready { color: var(--green); } .v-walk { color: var(--cyan); }

/* The three-number band */
.band { margin: 1rem 0; }
.band-track { position: relative; height: 14px; border-radius: 999px; margin: 2.4rem 0 1.4rem; background: linear-gradient(90deg, rgba(248,113,113,.35), rgba(251,191,36,.35) 50%, rgba(74,222,128,.35)); border: 1px solid rgba(255,255,255,.1); }
.band-tick { position: absolute; top: -2px; width: 2px; height: 18px; background: rgba(255,255,255,.45); transform: translateX(-50%); }
.band-tick .band-tlabel { position: absolute; top: -2.1rem; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.band-tick .band-tval { position: absolute; top: 1.4rem; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .78rem; font-weight: 800; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.band-you { position: absolute; top: -10px; width: 4px; height: 34px; background: #fff; border-radius: 2px; transform: translateX(-50%); box-shadow: 0 0 12px rgba(255,255,255,.6); }
.band-you::after { content: 'YOU'; position: absolute; top: -1.3rem; left: 50%; transform: translateX(-50%); font-size: .6rem; font-weight: 800; letter-spacing: .1em; color: #fff; }
.band-legend { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; margin-top: .6rem; }
.band-cell { padding: .85rem .9rem; border-radius: var(--radius-md); background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(2,6,16,.18)); border: 1px solid rgba(255,255,255,.08); }
.band-cell .bc-k { font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.band-cell .bc-v { font-size: 1.12rem; font-weight: 800; color: var(--text-primary); font-variant-numeric: tabular-nums; margin-top: .15rem; }
.band-cell .bc-d { font-size: .72rem; color: var(--text-muted); margin-top: .25rem; line-height: 1.45; }
.band-cell.is-emph { border-color: rgba(34,211,238,.45); box-shadow: 0 0 22px rgba(34,211,238,.12); }

/* Metric cards */
.metrics-grid { display: flex; flex-direction: column; gap: .9rem; }
.metric-card { padding: 1.15rem 1.3rem; border-radius: var(--radius-lg); background: linear-gradient(170deg, rgba(255,255,255,.06) 0%, rgba(2,6,16,.2) 100%); border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.metric-card .metric-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; color: var(--text-muted); margin-bottom: .4rem; }
.metric-card .metric-value { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; color: var(--accent); text-shadow: 0 0 32px var(--accent-glow); font-variant-numeric: tabular-nums; }
.metric-card .metric-detail { font-size: .8rem; color: var(--text-muted); margin-top: .3rem; line-height: 1.45; }
.metric-card.deficit .metric-value { color: var(--red); text-shadow: 0 0 32px rgba(248,113,113,.35); }
.metric-card.surplus .metric-value { color: var(--green); text-shadow: 0 0 32px rgba(74,222,128,.35); }

.escape-date-box { margin-top: .9rem; padding: 1.3rem; border-radius: var(--radius-lg); text-align: center; background: linear-gradient(150deg, rgba(34,211,238,.12) 0%, rgba(139,92,246,.09) 50%, rgba(2,6,16,.18) 100%); border: 1px solid rgba(34,211,238,.2); box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,.1); }
.escape-date-box p:first-child { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; color: var(--text-muted); margin-bottom: .5rem; }
.escape-date-box .date-highlight { font-weight: 600; font-size: 1.02rem; line-height: 1.55; color: var(--text-secondary); }

/* Insight / callout banners */
.callout { display: flex; gap: .8rem; padding: 1rem 1.1rem; border-radius: var(--radius-md); margin-top: 1rem; font-size: .85rem; line-height: 1.55; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(2,6,16,.18)); color: var(--text-secondary); }
.callout .ico { flex-shrink: 0; font-size: 1.1rem; }
.callout.urgent { border-color: rgba(248,113,113,.4); background: linear-gradient(170deg, rgba(248,113,113,.12), rgba(2,6,16,.2)); }
.callout.good { border-color: rgba(74,222,128,.35); background: linear-gradient(170deg, rgba(74,222,128,.1), rgba(2,6,16,.2)); }
.callout.help { border-color: rgba(167,139,250,.4); background: linear-gradient(170deg, rgba(139,92,246,.12), rgba(2,6,16,.2)); }
.callout a { color: var(--cyan); }

/* Section titles */
.section-title { font-size: clamp(1.3rem,3vw,1.7rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .5rem; }
.section-lead { color: var(--text-muted); max-width: 680px; margin-bottom: 1.6rem; line-height: 1.7; }
.eyebrow { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); margin-bottom: .6rem; }

/* Card grid (tools, articles, resources) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.1rem; }
.card { display: flex; flex-direction: column; padding: 1.4rem 1.45rem; border-radius: var(--radius-lg); text-decoration: none; color: inherit; background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--shadow-card); position: relative; overflow: hidden; transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.3); box-shadow: var(--shadow-window), 0 0 36px rgba(34,211,238,.1); }
.card .card-ico { font-size: 1.5rem; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); background: linear-gradient(150deg, rgba(34,211,238,.18), rgba(139,92,246,.12)); border: 1px solid rgba(255,255,255,.12); margin-bottom: .9rem; }
.card h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: .4rem; color: var(--text-primary); }
.card p { font-size: .84rem; color: var(--text-muted); line-height: 1.6; }
.card .card-tag { position: absolute; top: 1rem; right: 1rem; font-size: .58rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .25rem .55rem; border-radius: 999px; }
.tag-live { color: var(--green); background: rgba(74,222,128,.12); border: 1px solid rgba(74,222,128,.3); }
.tag-soon { color: var(--text-muted); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.card .card-cta { margin-top: auto; padding-top: .9rem; font-size: .8rem; font-weight: 700; color: var(--cyan); }
.card.muted { opacity: .72; }
.card.muted:hover { transform: none; border-color: var(--glass-border); box-shadow: var(--shadow-card); }

/* Resource / link list */
.res-list { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.res-list li a { display: flex; align-items: baseline; gap: .6rem; padding: .85rem 1rem; border-radius: var(--radius-md); text-decoration: none; color: var(--text-secondary); background: linear-gradient(170deg, rgba(255,255,255,.045), rgba(2,6,16,.16)); border: 1px solid rgba(255,255,255,.08); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.res-list li a:hover { border-color: rgba(34,211,238,.3); transform: translateX(3px); }
.res-list .r-name { font-weight: 700; color: var(--text-primary); font-size: .9rem; }
.res-list .r-desc { font-size: .8rem; color: var(--text-muted); }
.res-list .r-arrow { margin-left: auto; color: var(--cyan); }

/* Article / prose */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; font-weight: 800; margin: 2rem 0 .8rem; color: var(--cyan); letter-spacing: -.01em; }
.prose h3 { font-size: 1.08rem; font-weight: 700; margin: 1.4rem 0 .5rem; color: var(--text-primary); }
.prose p { color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.8; }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.2rem; color: var(--text-secondary); }
.prose li { margin-bottom: .5rem; line-height: 1.7; }
.prose strong { color: var(--text-primary); }
.prose a { color: var(--cyan); }
.prose blockquote { border-left: 3px solid var(--violet); padding: .4rem 0 .4rem 1.1rem; margin: 1.2rem 0; color: var(--text-muted); font-style: italic; }
.prose code { background: rgba(2,6,16,.5); padding: .1rem .4rem; border-radius: 6px; font-size: .9em; }
.meta-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; font-size: .78rem; color: var(--text-muted); margin-bottom: 1.4rem; }
.chip { display: inline-block; font-size: .68rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: rgba(34,211,238,.1); color: var(--cyan); border: 1px solid rgba(34,211,238,.25); }

/* Feed */
.feed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1rem; }
.feed-item { display: flex; flex-direction: column; padding: 1.2rem 1.3rem; border-radius: var(--radius-lg); text-decoration: none; color: inherit; background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--shadow-card); transition: transform .2s var(--ease), border-color .2s var(--ease); }
.feed-item:hover { transform: translateY(-2px); border-color: rgba(167,139,250,.3); }
.feed-src { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--violet); margin-bottom: .5rem; }
.feed-item h3 { font-size: .98rem; font-weight: 700; line-height: 1.35; margin-bottom: .5rem; color: var(--text-primary); }
.feed-item p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }
.feed-item .feed-date { margin-top: auto; padding-top: .8rem; font-size: .72rem; color: var(--text-muted); }
.feed-filter { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.feed-filter button { padding: .45rem .9rem; font-family: inherit; font-size: .78rem; font-weight: 700; color: var(--text-muted); background: rgba(255,255,255,.04); border: 1px solid var(--glass-border); border-radius: 999px; cursor: none; transition: all .2s var(--ease); }
.feed-filter button.active { color: var(--cyan); border-color: rgba(34,211,238,.4); background: rgba(34,211,238,.1); }

/* Transition planner timeline */
.timeline { position: relative; margin-top: 1.5rem; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 9px; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(180deg, var(--cyan), var(--violet)); opacity: .5; }
.phase { position: relative; margin-bottom: 1.3rem; }
.phase::before { content: ''; position: absolute; left: -1.7rem; top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-deep); border: 2px solid var(--cyan); box-shadow: 0 0 12px var(--accent-glow); }
.phase h3 { font-size: 1rem; font-weight: 800; color: var(--text-primary); margin-bottom: .15rem; }
.phase .phase-tag { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); }
.phase ul { list-style: none; margin-top: .6rem; display: flex; flex-direction: column; gap: .4rem; }
.phase ul li { display: flex; align-items: flex-start; gap: .55rem; font-size: .85rem; color: var(--text-secondary); line-height: 1.55; }
.phase ul li::before { content: '▢'; color: var(--text-muted); flex-shrink: 0; }

/* Ads / affiliate (reused) */
.ad-label { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--text-muted); display: inline-block; margin-bottom: .6rem; }
.affiliate-card { display: flex; gap: 1.1rem; align-items: center; padding: 1.3rem 1.5rem; border-radius: var(--radius-xl); text-decoration: none; color: inherit; }
.affiliate-card .aff-icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: var(--radius-md); display: grid; place-items: center; font-size: 1.4rem; background: linear-gradient(150deg, rgba(34,211,238,.18), rgba(139,92,246,.12)); border: 1px solid rgba(255,255,255,.12); }
.affiliate-card .aff-brand { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--violet); }
.affiliate-card strong { display: block; font-size: 1rem; color: var(--text-primary); margin: .15rem 0; }
.affiliate-card span.aff-d { font-size: .82rem; color: var(--text-muted); }
.affiliate-card .aff-cta { margin-left: auto; }
@media (max-width: 640px) { .affiliate-card { flex-direction: column; text-align: center; } .affiliate-card .aff-cta { margin: .5rem 0 0; } }

/* Donate float */
.donate-float { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 9000; display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.35rem; font-size: .85rem; font-weight: 700; color: #fff; text-decoration: none;
  background: linear-gradient(170deg, rgba(139,92,246,.5) 0%, rgba(34,211,238,.32) 60%, rgba(2,6,16,.3) 100%); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(167,139,250,.45); border-radius: 999px;
  box-shadow: 0 12px 30px rgba(2,6,16,.55), 0 0 26px rgba(139,92,246,.22), inset 0 1px 0 rgba(255,255,255,.25); text-shadow: 0 1px 8px rgba(2,6,16,.4); cursor: none; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.donate-float:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(2,6,16,.6), 0 0 38px rgba(139,92,246,.35); }
.donate-float .heart { display: inline-block; animation: heartbeat 1.8s ease-in-out infinite; }
@keyframes heartbeat { 0%,100% { transform: scale(1); } 12% { transform: scale(1.25); } 24% { transform: scale(1); } 36% { transform: scale(1.18); } 48% { transform: scale(1); } }
@media (max-width: 768px) { .donate-float { cursor: pointer; right: 1rem; bottom: 1rem; padding: .7rem 1.15rem; font-size: .8rem; } }

/* FAQ */
.faq-item { border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-md); background: linear-gradient(170deg, rgba(255,255,255,.045) 0%, rgba(2,6,16,.16) 100%); margin-bottom: .7rem; overflow: hidden; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem 1.2rem; font-size: .88rem; font-weight: 600; color: var(--text-secondary); cursor: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex-shrink: 0; font-size: 1.1rem; color: var(--text-muted); transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--cyan); }
.faq-item .faq-answer { padding: 0 1.2rem 1.05rem; font-size: .83rem; color: var(--text-muted); line-height: 1.7; }
.faq-item .faq-answer strong { color: var(--text-secondary); }

/* Footer */
.site-footer { margin-top: 2.5rem; padding: 2rem 1.5rem; border-radius: var(--radius-xl); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: .8rem; }
.site-footer a { display: block; color: var(--text-secondary); text-decoration: none; font-size: .84rem; padding: .2rem 0; }
.site-footer a:hover { color: var(--cyan); }
.footer-brand strong { font-size: 1.05rem; color: var(--text-primary); }
.footer-brand p { font-size: .82rem; color: var(--text-muted); margin-top: .5rem; line-height: 1.6; }
.footer-legal { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .74rem; color: var(--text-muted); line-height: 1.7; text-align: center; }
.disclaimer-strip { font-size: .78rem; color: var(--text-muted); text-align: center; padding: .9rem 1rem; border-radius: var(--radius-md); background: rgba(2,6,16,.25); border: 1px solid rgba(255,255,255,.07); margin-top: 1.4rem; }

/* Toast */
.share-toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(80px); padding: .8rem 1.4rem; font-size: .85rem; font-weight: 600; color: #fff; background: rgba(20,28,46,.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(74,222,128,.4); border-radius: var(--radius-md); box-shadow: 0 14px 34px rgba(2,6,16,.55); opacity: 0; transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; z-index: 10000; pointer-events: none; }
.share-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

.spacer-2 { height: 2rem; } .spacer-1 { height: 1rem; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; } .mt-1 { margin-top: 1rem; }

/* ===== Forum / seeded threads ===== */
.thread { border: 1px solid var(--glass-border); border-radius: var(--radius-lg); background: var(--glass-bg); box-shadow: var(--shadow-card); margin-bottom: .9rem; overflow: hidden; transition: border-color .2s var(--ease); }
.thread[open] { border-color: rgba(34,211,238,.28); }
.thread > summary { list-style: none; cursor: none; display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem; }
.thread > summary::-webkit-details-marker { display: none; }
.thread-vote { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: .1rem; min-width: 40px; padding: .3rem .2rem; border-radius: var(--radius-md); background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(2,6,16,.18)); border: 1px solid rgba(255,255,255,.08); font-variant-numeric: tabular-nums; }
.thread-vote .v-arrow { color: var(--cyan); font-size: .7rem; line-height: 1; }
.thread-vote .v-num { font-weight: 800; font-size: .92rem; color: var(--text-primary); }
.thread-main { flex: 1; min-width: 0; }
.thread-title { display: block; font-size: 1rem; font-weight: 700; color: var(--text-primary); letter-spacing: -.01em; line-height: 1.35; }
.thread[open] .thread-title { color: var(--cyan); }
.thread-meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .45rem; font-size: .74rem; color: var(--text-muted); }
.board-pill { font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; padding: .2rem .55rem; border-radius: 999px; color: var(--violet); background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.28); }
.thread-summary-snippet { display: block; margin-top: .4rem; font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
.thread[open] .thread-summary-snippet { display: none; }
.thread-body { padding: 0 1.2rem 1.2rem; border-top: 1px solid rgba(255,255,255,.06); }
.post { display: flex; gap: .8rem; padding: 1.1rem 0 .4rem; }
.post--reply { padding-left: 1.4rem; border-left: 2px solid rgba(255,255,255,.07); margin-left: .6rem; }
.post-avatar { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: #0b1322; }
.post-main { flex: 1; min-width: 0; }
.post-head { display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline; margin-bottom: .3rem; }
.post-handle { font-weight: 700; font-size: .86rem; color: var(--text-secondary); }
.post-time { font-size: .72rem; color: var(--text-muted); }
.best-badge { font-size: .58rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--green); background: rgba(74,222,128,.12); border: 1px solid rgba(74,222,128,.3); padding: .15rem .45rem; border-radius: 999px; }
.post-text { font-size: .88rem; color: var(--text-secondary); line-height: 1.7; }
.post-text a { color: var(--cyan); }
.post-text + .post-text { margin-top: .5rem; }
.thread-actions { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.06); font-size: .78rem; color: var(--text-muted); }
.thread-actions a { color: var(--cyan); }

/* Native AdSense — framed to blend with the glass UI */
.ad-native { margin-top: 1.6rem; padding: .9rem 1rem 1.1rem; }
.ad-native .ad-label { display: block; text-align: center; margin-bottom: .55rem; opacity: .65; }
.ad-native ins.adsbygoogle { display: block; width: 100%; min-height: 90px; border-radius: var(--radius-lg); overflow: hidden; }
/* Subtle in-content unit — quiet, barely-there label */
.ad-inline { margin: 1.4rem 0; padding: .4rem 0; }
.ad-inline .ad-label { display: block; text-align: center; margin-bottom: .3rem; font-size: .56rem; letter-spacing: .16em; opacity: .42; }
.ad-inline ins.adsbygoogle { display: block; width: 100%; min-height: 90px; border-radius: var(--radius-md); overflow: hidden; background: linear-gradient(170deg, rgba(255,255,255,.03), rgba(2,6,16,.12)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
