/* Build With Nav: Claude 101 — Styles (mobile-first, dark, brand-matched) */
/* Tweak the brand colors in :root to match your site exactly. */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --bg-card: #ffffff;
  --bg-elev: #f2f2f4;
  --border: #e7e7ea;
  --text: #0c0c0d;
  --text-dim: #52525b;
  --text-faint: #8a8a93;
  --accent: #ff4a1c;        /* primary brand orange */
  --accent-2: #ff7a1a;      /* secondary orange (XP) */
  --accent-ink: #ffffff;    /* text on accent */
  --good: #16a34a;
  --bad: #dc2626;
  --lock: #c7c7cc;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.05);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 760px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  border: none; border-radius: 999px;
  font-weight: 800; font-size: 16px; letter-spacing: .2px;
  padding: 14px 22px; width: 100%;
  transition: transform .08s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: scale(.985); }
.btn.secondary { background: var(--bg-elev); color: var(--text); border: 1px solid var(--border); }
.btn.ghost { background: transparent; color: var(--text-dim); border: 1px solid var(--border); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; gap: 10px; }
.btn-row .btn { width: auto; flex: 1; }

/* ---------- Gate / landing ---------- */
.gate { min-height: 100vh; display: flex; flex-direction: column; }
.gate-hero { padding: 40px 0 28px; text-align: center; }
.brandmark { font-weight: 900; letter-spacing: 3px; font-size: 13px; color: var(--text); margin-bottom: 22px; }
.brandmark b { color: var(--accent); }
.gate h1 { font-size: clamp(30px, 8vw, 52px); line-height: 1.04; font-weight: 900; margin: 0 0 14px; }
.gate h1 .hl { color: var(--accent); }
.gate-sub { color: var(--text-dim); font-size: 18px; max-width: 540px; margin: 0 auto 8px; }
.gate-free { display: inline-block; margin-top: 14px; background: rgba(255,74,28,.14); color: var(--accent); border: 1.5px solid rgba(255,74,28,.55); padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; }

.video-frame { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin: 26px 0; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Email capture */
.gate-form { background: var(--bg-card); border: 1px solid rgba(255,74,28,.22); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; box-shadow: 0 10px 34px rgba(0,0,0,.09); }
.gate-form h2 { margin: 0 0 4px; font-size: 22px; }
.gate-form p { margin: 0 0 16px; color: var(--text-dim); font-size: 15px; }
.field { margin-bottom: 12px; }
.field input {
  width: 100%; background: var(--bg); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: 16px;
}
.field input:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 13px; color: var(--text-faint); margin-top: 10px; text-align: center; }
.form-msg { font-size: 14px; margin-top: 12px; padding: 12px; border-radius: var(--radius-sm); display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(52,211,153,.1); color: var(--good); border: 1px solid rgba(52,211,153,.3); }
.form-msg.err { background: rgba(248,113,113,.1); color: var(--bad); border: 1px solid rgba(248,113,113,.3); }

/* Teased curriculum */
.tease { padding: 10px 0 50px; }
.tease h3 { text-align: center; color: var(--text-dim); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin: 30px 0 16px; }
.tease-level { background: var(--bg-soft); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 16px 18px 16px 20px; margin-bottom: 12px; }
.tease-level .lv { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: 1px; }
.tease-level .nm { font-weight: 800; font-size: 17px; margin: 2px 0 8px; }
.tease-level ul { margin: 0; padding-left: 18px; color: var(--text-dim); font-size: 14px; }
.tease-locked { float: right; display: inline-flex; align-items: center; gap: 4px; color: var(--text-faint); font-size: 11px; font-weight: 700; background: var(--bg-elev); border: 1px solid var(--border); padding: 3px 9px; border-radius: 999px; }

/* Sticky CTA bar on the landing page (appears on scroll) */
.gate-stickybar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); transform: translateY(-100%); transition: transform .22s ease; }
.gate-stickybar.show { transform: translateY(0); }
.gsb-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.gsb-brand { font-weight: 900; letter-spacing: 2px; font-size: 12px; color: var(--text); }
.gsb-brand b { color: var(--accent); }
.gsb-cta { width: auto; padding: 9px 18px; font-size: 14px; }

/* Roomier gate on desktop */
@media (min-width: 720px) { .gate .wrap { max-width: 880px; } }

/* Landing page footer */
.gate-footer { text-align: center; color: var(--text-faint); font-size: 13px; line-height: 1.6; padding: 8px 0 40px; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 24px; }
.gate-footer a { color: var(--text-dim); font-weight: 700; }
.gate-footer a:hover { color: var(--accent); }
.gate-foot-brand { margin-top: 8px; font-size: 12px; color: var(--text-faint); }

/* ---------- Dashboard ---------- */
.hud { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.hud-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; max-width: var(--maxw); margin: 0 auto; }
.hud-brand { font-weight: 900; letter-spacing: 2px; font-size: 12px; color: var(--text); }
.hud-brand b { color: var(--accent); }
.hud-stats { display: flex; gap: 14px; align-items: center; }
.stat { display: flex; align-items: center; gap: 5px; font-weight: 800; font-size: 14px; }
.stat .ico { font-size: 15px; }
.stat.xp { color: var(--accent-2); }
.stat.streak { color: var(--accent); }
.hud-menu { background: none; border: none; color: var(--text-dim); font-size: 13px; padding: 4px 8px; }

.dash { padding: 26px 0 80px; }
.welcome { margin-bottom: 8px; }
.welcome h1 { font-size: 26px; margin: 0 0 4px; }
.welcome p { color: var(--text-dim); margin: 0; }

.levelbar { display: flex; gap: 8px; margin: 22px 0 10px; flex-wrap: wrap; }
.lvlchip { font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: var(--bg-elev); color: var(--text-faint); border: 1px solid var(--border); }
.lvlchip.done { color: var(--good); border-color: rgba(52,211,153,.4); }

/* Learning path */
.path { position: relative; margin-top: 18px; }
.level-block { margin-bottom: 26px; }
.level-head { display: flex; align-items: center; gap: 14px; margin: 30px 0 14px; padding: 2px 0 2px 16px; border-left: 5px solid var(--accent); }
.lvhead-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.level-head .lvtag { font-size: 12px; font-weight: 900; color: var(--accent); letter-spacing: 1.6px; text-transform: uppercase; }
.level-head .lvname { font-weight: 900; font-size: clamp(22px, 5.5vw, 27px); line-height: 1.05; color: var(--text); }
.level-head .lvlock { margin-left: auto; font-size: 13px; color: var(--text-faint); white-space: nowrap; }
.level-head .lvopt { margin-left: auto; }

.lesson-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; margin-bottom: 10px; width: 100%; text-align: left; color: var(--text);
  transition: border-color .15s ease, transform .08s ease;
}
.lesson-card:hover { border-color: var(--accent); }
.lesson-card:active { transform: scale(.99); }
.lesson-card.locked { opacity: .5; }
.lesson-card.locked:hover { border-color: var(--border); }
.lesson-dot { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 15px; background: var(--bg-elev); border: 2px solid var(--border); }
.lesson-dot.done { background: var(--good); color: var(--accent-ink); border-color: var(--good); }
.lesson-dot.current { border-color: var(--accent); color: var(--accent); }
.lesson-meta { flex: 1; min-width: 0; }
.lesson-meta .t { font-weight: 800; font-size: 16px; }
.lesson-meta .s { color: var(--text-faint); font-size: 13px; margin-top: 2px; }
.lesson-tier { flex: none; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; padding: 4px 9px; border-radius: 999px; }
.lesson-tier.quick { background: rgba(255,176,32,.12); color: var(--accent-2); }
.lesson-tier.project { background: rgba(255,92,43,.14); color: var(--accent); }
.lesson-xp { flex: none; font-size: 12px; color: var(--text-faint); font-weight: 700; }

/* ---------- Lesson modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: var(--bg); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal-bar { position: sticky; top: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; }
.modal-bar .close { background: var(--bg-elev); border: 1px solid var(--border); color: var(--text); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.modal-bar .crumb { font-size: 13px; color: var(--text-faint); font-weight: 700; }
.lesson { padding: 24px 0 90px; }
.lesson .plan { font-size: 13px; color: var(--text-faint); font-weight: 700; margin-bottom: 14px; padding: 8px 12px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); display: inline-block; }
.lesson h1 { font-size: 30px; line-height: 1.1; margin: 6px 0 18px; }
.lesson .sec { margin: 26px 0; }
.lesson .sec h2 { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.lesson p { margin: 0 0 12px; color: #27272a; }
.hook-box { font-size: 19px; line-height: 1.5; font-weight: 600; border-left: 3px solid var(--accent); padding-left: 16px; color: var(--text); }
.op { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 8px; }
.op .lbl { font-size: 12px; font-weight: 800; color: var(--accent-2); text-transform: uppercase; letter-spacing: .5px; }
.op p { margin: 4px 0 0; font-size: 15px; color: var(--text-dim); }

.step { display: flex; gap: 12px; margin-bottom: 14px; }
.step .n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 14px; display: grid; place-items: center; }
.step .body { flex: 1; }
.prompt { position: relative; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; margin-top: 10px; }
.prompt { padding-top: 44px; }
.prompt pre { margin: 0; white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; color: #27272a; line-height: 1.5; }
.copy-btn { position: absolute; top: 10px; right: 10px; background: var(--accent); color: var(--accent-ink); border: none; border-radius: 8px; font-weight: 800; font-size: 12px; padding: 7px 14px; z-index: 2; }
.copy-btn.copied { background: var(--good); }

/* Build + Test boxes */
.action-box { border-radius: var(--radius); padding: 18px; margin: 14px 0; }
.action-box.build { background: rgba(255,92,43,.08); border: 1px solid rgba(255,92,43,.3); }
.action-box.test { background: rgba(52,211,153,.07); border: 1px solid rgba(52,211,153,.3); }
.action-box .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.action-box .head .ttl { font-weight: 900; font-size: 16px; }
.action-box .head .xp { font-size: 13px; font-weight: 800; color: var(--accent-2); }
.action-box ul { margin: 8px 0 0; padding-left: 20px; color: var(--text-dim); font-size: 14px; }
.check-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.check-row .btn { width: auto; flex: 1; }

/* Quiz */
.quiz-q { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.quiz-q .q { font-weight: 800; margin-bottom: 12px; }
.quiz-opt { display: block; width: 100%; text-align: left; background: var(--bg-elev); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 8px; font-size: 15px; transition: border-color .12s; }
.quiz-opt:hover { border-color: var(--accent); }
.quiz-opt.correct { border-color: var(--good); background: rgba(52,211,153,.12); }
.quiz-opt.wrong { border-color: var(--bad); background: rgba(248,113,113,.12); }
.quiz-opt:disabled { cursor: default; }
.quiz-why { font-size: 14px; color: var(--text-dim); margin-top: 6px; padding: 10px 12px; background: var(--bg-soft); border-radius: var(--radius-sm); display: none; }
.quiz-why.show { display: block; }

.lesson-done-cta { margin-top: 24px; }

/* Badge unlocked popup */
.badge-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(12,12,13,.72); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 24px; animation: fadein .15s ease; }
.badge-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 24px 70px rgba(0,0,0,.35); max-width: 360px; width: 100%; padding: 34px 26px 26px; text-align: center; animation: pop .2s ease; }
.badge-card .ring { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 42px; background: radial-gradient(circle at 30% 30%, var(--accent-2), var(--accent)); box-shadow: 0 10px 28px rgba(255,74,28,.4); }
.badge-card h2 { margin: 0 0 8px; font-size: 24px; font-weight: 900; color: var(--text); }
.badge-card p { margin: 0 0 22px; color: var(--text-dim); font-size: 15px; line-height: 1.5; }
.badge-card .btn { margin-bottom: 10px; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--accent-2); color: var(--accent-ink); font-weight: 800; padding: 12px 20px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 200; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Menu (tabbed panel) */
.menu-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(12,12,13,.6); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .2s; }
.menu-overlay.show { opacity: 1; }
.menu-panel { background: var(--bg); width: 100%; max-width: 520px; max-height: 86vh; display: flex; flex-direction: column; border-radius: 22px 22px 0 0; overflow: hidden; transform: translateY(24px); transition: transform .2s; box-shadow: 0 -12px 50px rgba(0,0,0,.25); }
.menu-overlay.show .menu-panel { transform: translateY(0); }
.menu-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); font-weight: 900; font-size: 18px; }
.menu-x { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 999px; width: 34px; height: 34px; font-size: 14px; cursor: pointer; color: var(--text); }
.menu-tabs { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.menu-tab { flex: 1; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 999px; padding: 9px 0; font-weight: 700; font-size: 14px; color: var(--text-dim); cursor: pointer; }
.menu-tab.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.menu-body { padding: 18px 20px; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; text-align: center; }
.stat-card .sv { font-size: 30px; font-weight: 900; color: var(--accent); line-height: 1; }
.stat-card .sl { font-size: 13px; color: var(--text-dim); margin-top: 6px; font-weight: 600; }
.stat-card.clickable { cursor: pointer; transition: border-color .15s, transform .1s; }
.stat-card.clickable:hover { border-color: var(--accent); transform: translateY(-1px); }
.stat-card.clickable .sl { color: var(--accent); }

/* Badges gallery */
.badge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.badge-tile { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 14px; text-align: center; }
.badge-tile.earned { cursor: pointer; transition: border-color .15s, transform .1s; }
.badge-tile.earned:hover { border-color: var(--accent); transform: translateY(-1px); }
.badge-tile.locked { opacity: .62; }
.bt-ico { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; background: var(--bg-elev); }
.badge-tile.earned .bt-ico { color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.bt-name { font-weight: 800; font-size: 15px; color: var(--text); }
.bt-line { font-size: 12.5px; color: var(--text-dim); margin-top: 4px; line-height: 1.4; }
.bt-status { margin-top: 9px; font-size: 11px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; color: var(--accent); }
.bt-status.locked { color: var(--text-faint); }

/* Help / contact tab */
.help-card { text-align: center; background: var(--bg-soft); border: 1px solid rgba(255,74,28,.22); border-radius: var(--radius); padding: 26px 20px; }
.help-emoji { font-size: 34px; line-height: 1; margin-bottom: 8px; }
.help-card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 900; }
.help-card p { margin: 0 auto 18px; font-size: 14px; color: var(--text-dim); max-width: 340px; }
.help-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.help-actions .btn { width: auto; padding: 12px 22px; font-size: 15px; }
.help-handle { margin-top: 16px; font-size: 12px; color: var(--text-faint); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-q { width: 100%; text-align: left; background: none; border: none; padding: 15px 0; font-weight: 700; font-size: 15px; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.acc-ico { color: var(--accent); font-weight: 900; font-size: 20px; flex: none; transition: transform .15s; }
.acc-item.open .acc-ico { transform: rotate(45deg); }
.acc-a { display: none; padding: 0 0 15px; color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.acc-item.open .acc-a { display: block; }
.menu-foot { padding: 14px 20px; border-top: 1px solid var(--border); }

/* Pro heads-up callout */
.pro-note { background: linear-gradient(180deg, rgba(255,74,28,.10), rgba(255,74,28,.05)); border: 1px solid rgba(255,74,28,.38); border-left: 5px solid var(--accent); color: #27272a; border-radius: var(--radius-sm); padding: 18px 20px; font-size: 15.5px; line-height: 1.62; margin-bottom: 18px; box-shadow: 0 6px 20px rgba(255,74,28,.10); }
.pro-note p { margin: 0 0 11px; }
.pro-note p:last-child { margin: 0; }
.pro-note b { color: var(--accent); font-weight: 800; }

/* Screenshot slots */
.shot.ph { display: flex; align-items: center; gap: 10px; border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 14px; color: var(--text-faint); font-size: 14px; margin-bottom: 8px; background: var(--bg-soft); }
.shot-ico { font-size: 18px; }
figure.shot { margin: 0 0 12px; }
figure.shot img { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); display: block; }
figure.shot figcaption { font-size: 13px; color: var(--text-faint); margin-top: 6px; }

/* Embedded interactive tool */
.tool-frame { width: 100%; height: 580px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }

/* Card depth on the light theme */
.lesson-card, .gate-form, .quiz-q { box-shadow: var(--shadow); }

/* Desktop niceties */
@media (min-width: 640px) {
  .gate-hero { padding: 60px 0 30px; }
  .modal { padding: 0; }
  .lesson { max-width: var(--maxw); margin: 0 auto; padding-left: 18px; padding-right: 18px; }
}

/* ---- "You will need" banner (unmissable) ---- */
.lesson .need-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; padding: 12px 14px; background: rgba(255,74,28,.07); border: 1px solid rgba(255,74,28,.35); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); }
.need-banner .need-tag { font-size: 12px; font-weight: 900; letter-spacing: .4px; text-transform: uppercase; color: var(--accent); background: rgba(255,74,28,.12); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.need-banner .need-val { font-size: 14px; font-weight: 800; color: var(--text); }

/* ---- Resource link box (e.g. ManyChat article) ---- */
.resource-box { margin: 4px 0 18px; padding: 14px 16px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.resource-box p { margin: 0 0 10px; font-size: 14px; color: var(--text-dim); }
.resource-box .btn { display: inline-block; }
.resource-todo { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); border: 1px dashed rgba(255,74,28,.5); border-radius: var(--radius-sm); padding: 8px 12px; }

/* ---- Badge share image ---- */
.badge-card .badge-img { width: 100%; border-radius: 16px; margin-bottom: 18px; display: block; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.badge-card .btn { width: 100%; }

/* ---- 5.4 certification submission ---- */
.action-box.submit { border-color: rgba(255,74,28,.4); background: rgba(255,74,28,.04); }
.cert-form { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.cert-form input, .cert-form textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; background: #fff; color: var(--text); box-sizing: border-box; }
.cert-form textarea { min-height: 72px; resize: vertical; }
.cert-form .btn { align-self: flex-start; width: auto; }
.cert-done { margin-top: 8px; padding: 12px 14px; background: rgba(22,163,74,.1); border: 1px solid rgba(22,163,74,.4); border-radius: var(--radius-sm); font-weight: 800; color: #16a34a; }

/* ---- Post-signup "check your inbox" takeover ---- */
.gate-form.confirmed { text-align: center; border-color: rgba(255,74,28,.45); box-shadow: 0 14px 40px rgba(255,74,28,.16); }
.inbox-confirm { padding: 6px 4px 4px; animation: pop .22s ease; }
.inbox-confirm .inbox-ic { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; background: radial-gradient(circle at 30% 30%, var(--accent-2), var(--accent)); box-shadow: 0 12px 30px rgba(255,74,28,.4); }
.inbox-confirm h2 { margin: 0 0 10px; font-size: 26px; font-weight: 900; color: var(--text); }
.inbox-confirm .inbox-lead { margin: 0 0 16px; font-size: 18px; line-height: 1.45; color: var(--text); }
.inbox-confirm .inbox-lead b { color: var(--accent); }
.inbox-confirm .inbox-step { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--text-dim); }
.inbox-confirm .inbox-hint { font-size: 13px; line-height: 1.5; color: var(--text-faint); background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 18px; }
.inbox-confirm #g-resend { width: auto; }

/* ===== Stepped lesson flow ===== */
.lprog { margin: 4px 0 18px; }
.lprog-bar { height: 10px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lprog-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 999px; transition: width .35s ease; }
.lprog-label { font-size: 13px; font-weight: 800; color: var(--text-dim); margin-top: 8px; }

.lsteps { display: flex; flex-direction: column; gap: 10px; }
.lstep { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card, #fff); overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.lstep.active { border-color: var(--accent); box-shadow: 0 8px 24px rgba(255,74,28,.12); }
.lstep.locked { opacity: .65; }
.lstep-head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: transparent; border: none; cursor: pointer; font-family: inherit; text-align: left; }
.lstep.locked .lstep-head { cursor: not-allowed; }
.lstep-ic { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; background: var(--bg-soft); color: var(--text-dim); }
.lstep.active .lstep-ic { background: rgba(255,74,28,.14); color: var(--accent); }
.lstep.done .lstep-ic { background: #16a34a; color: #fff; }
.lstep-ttl { flex: 1; font-size: 15px; font-weight: 800; color: var(--text); }
.lstep.done .lstep-ttl { color: var(--text-dim); }
.lstep-time { font-size: 12px; font-weight: 700; color: var(--text-faint); }
.lstep-chev { color: var(--text-faint); font-size: 13px; }
.lstep-body { padding: 0 16px 16px; }
.lstep-body h3 { font-size: 15px; font-weight: 800; color: var(--text); margin: 16px 0 8px; }
.lstep-body h3:first-child { margin-top: 4px; }
.lstep-foot { margin-top: 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lstep-xp { font-size: 12px; font-weight: 800; color: var(--accent); }
.done-when { font-size: 13px; color: var(--text-faint); font-weight: 700; margin-top: 8px; }
.passwhen { font-size: 14px; color: var(--text-dim); }
.tool-wrap { margin-top: 16px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.lesson-complete { text-align: center; margin-top: 20px; padding: 30px 24px; border: 1px solid rgba(22,163,74,.4); background: rgba(22,163,74,.07); border-radius: 18px; animation: pop .22s ease; }
.lesson-complete .lc-ic { font-size: 44px; margin-bottom: 8px; }
.lesson-complete h2 { margin: 0 0 8px; font-size: 24px; font-weight: 900; color: var(--text); }
.lesson-complete p { margin: 0 0 18px; color: var(--text-dim); font-size: 15px; }

/* Bold sub-headers inside a lesson's concept (e.g. "On plans", "On models") */
.concept-h { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; color: var(--text); margin: 22px 0 8px; }
.concept-h::before { content: ""; width: 4px; height: 17px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }

/* Multi-prompt pack (pick one of several) */
.prompt-pack { display: flex; flex-direction: column; gap: 10px; }
.prompt-pack .prompt { margin: 0; }
.prompt-label { font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }

/* Optional "add more context" reveal under a prompt */
.prompt-tip { margin-top: 12px; }
.prompt-tip > summary { list-style: none; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; user-select: none; }
.prompt-tip > summary::-webkit-details-marker { display: none; }
.prompt-tip > summary::before { content: "+"; font-weight: 800; font-size: 15px; line-height: 1; }
.prompt-tip[open] > summary::before { content: "\2013"; }
.prompt-tip-body { margin-top: 8px; font-size: 13px; line-height: 1.55; color: var(--text-dim); background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 13px; }

/* Clickable "view a real example" reveal (e.g. real Project instructions) */
.example-reveal { margin: 8px 0 16px; }
.example-reveal > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 800; color: var(--ink); background: var(--accent); border-radius: 999px; padding: 11px 20px; user-select: none; box-shadow: 0 6px 18px rgba(255,74,28,.22); }
.example-reveal > summary::-webkit-details-marker { display: none; }
.example-reveal > summary::after { content: "\25BE"; font-size: 12px; }
.example-reveal[open] > summary::after { content: "\25B4"; }
.example-reveal .prompt { margin-top: 14px; }

/* Optional/bonus section + support links */
.lvopt { margin-left: auto; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: rgba(255,74,28,.12); color: var(--accent); }
.lesson-support { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.6; color: var(--text-faint); text-align: center; }
.lesson-support a, .menu-support a { color: var(--accent); font-weight: 700; text-decoration: none; }
.lesson-support a:hover, .menu-support a:hover { text-decoration: underline; }
.menu-support { font-size: 13px; line-height: 1.6; color: var(--text-dim); padding: 12px 2px 14px; border-top: 1px solid var(--border); }

/* Expand-all toggle + bonus level note + read-ahead */
.lprog-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.lprog-row .lprog-label { margin-top: 0; }
.lprog-toggle { background: none; border: none; color: var(--accent); font-weight: 800; font-size: 13px; cursor: pointer; padding: 0; }
.lprog-toggle:hover { text-decoration: underline; }
.lstep.locked .lstep-head { cursor: pointer; }
.level-note { font-size: 13.5px; line-height: 1.55; color: var(--text-dim); background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 14px; margin: 4px 0 12px; }

/* Home hero image (replaces promo video) */
.hero-img { width: 100%; margin: 26px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-soft); }
.hero-img img { width: 100%; height: auto; display: block; }

/* Mobile defensive: long URLs / words wrap instead of overflowing */
.lesson p, .step .body p, .concept-h, .lstep-ttl, .op p { overflow-wrap: anywhere; }
.lstep-head { flex-wrap: wrap; }

/* Tiny-screen polish */
.lesson h1 { font-size: clamp(24px, 6.5vw, 30px); }
.copy-btn { padding: 8px 15px; }
.lstep-head { min-height: 48px; }
.prompt-pack .prompt pre { padding-right: 84px; }

/* Toolkit menu tab */
.toolkit-intro { font-size: 13px; color: var(--text-dim); margin: 0 0 12px; }
.toolkit-item { display: block; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 13px 15px; margin-bottom: 10px; text-decoration: none; background: var(--bg-soft); }
.toolkit-item:hover { border-color: var(--accent); }
.tk-name { font-weight: 800; font-size: 15px; color: var(--accent); }
.tk-desc { font-size: 13px; color: var(--text-dim); margin-top: 3px; }

/* Certificate download button */
.cert-actions { margin-top: 12px; }
.cert-actions .btn { width: auto; }

/* Clickable section chips + scroll anchor */
.lvlchip { cursor: pointer; font-family: inherit; line-height: 1; }
.lvlchip:hover { border-color: var(--accent); color: var(--accent); }
.lvlchip.done:hover { border-color: var(--accent); }
.level-block { scroll-margin-top: 72px; }

/* ===== Dashboard polish (review pass) ===== */
/* page depth: off-white page, white cards */
body { background: #f6f7f8; }

/* sticky level nav, one scrollable row, bigger tap targets */
.levelbar { position: sticky; top: 48px; z-index: 40; margin: 16px -18px 14px; padding: 11px 18px; background: #f6f7f8; border-bottom: 1px solid var(--border); overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
.levelbar::-webkit-scrollbar { height: 0; display: none; }
.levelbar { scrollbar-width: none; }
.lvlchip { padding: 7px 14px; white-space: nowrap; flex: none; }

/* Continue-where-you-left-off card */
.continue-card { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--accent); color: #fff; border: none; border-radius: var(--radius); padding: 15px 18px; margin: 6px 0 6px; cursor: pointer; box-shadow: 0 10px 30px rgba(255,74,28,.28); transition: transform .08s ease; }
.continue-card:active { transform: scale(.99); }
.continue-card.all-done { background: #16a34a; box-shadow: 0 10px 30px rgba(22,163,74,.25); cursor: default; }
.cc-play { width: 38px; height: 38px; flex: none; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 14px; }
.cc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cc-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; opacity: .9; }
.cc-title { font-size: 17px; font-weight: 900; line-height: 1.15; }
.cc-arrow { font-size: 24px; font-weight: 700; opacity: .9; flex: none; }

/* lesson card affordances */
.lesson-chev { margin-left: auto; color: var(--text-faint); font-size: 22px; font-weight: 700; line-height: 1; flex: none; padding-left: 6px; }
.lesson-card.next-up { border-color: var(--accent); border-left: 4px solid var(--accent); box-shadow: 0 8px 26px rgba(255,74,28,.14); }
.lesson-card.next-up .lesson-chev { color: var(--accent); }
.next-badge { display: inline-block; margin-left: 8px; font-size: 10px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; color: var(--ink); background: var(--accent); border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.lesson-card.is-done .lesson-meta .t { color: var(--text-faint); }
.lesson-card.is-done .lesson-chev { opacity: .35; }
.lesson-card.locked .lesson-chev { opacity: .4; }

/* plan pill for quick scanning */
.plan-pill { display: inline-block; font-size: 10px; font-weight: 900; letter-spacing: .4px; text-transform: uppercase; border-radius: 999px; padding: 2px 7px; margin-right: 7px; vertical-align: middle; }
.plan-pill.free { background: rgba(22,163,74,.12); color: #16a34a; }
.plan-pill.pro { background: rgba(37,99,235,.12); color: #2563eb; }

/* hamburger + bigger stat tap targets */
.hud-menu { font-size: 20px; line-height: 1; padding: 6px 10px; color: var(--text); cursor: pointer; }
.hud-stats .stat { font-size: 15px; font-weight: 800; }

/* scroll offset accounts for sticky hud + level nav */
.level-block { scroll-margin-top: 104px; }

/* review pass 2: lock inline + completed title weight */
.lvlock-inline { display: inline-block; font-size: 12px; font-weight: 700; color: var(--text-faint); margin-top: 3px; }
.lesson-card.is-done .lesson-meta .t { color: var(--text-dim); font-weight: 600; }

/* ---------- Featured / trending lesson ---------- */
.featured-card { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: linear-gradient(120deg, #ff4a1c, #ff7a1a); color: #fff; border: none; border-radius: var(--radius); padding: 18px; margin: 6px 0 10px; cursor: pointer; box-shadow: 0 12px 34px rgba(255,74,28,.35); transition: transform .08s ease; position: relative; overflow: hidden; }
.featured-card:active { transform: scale(.99); }
.featured-card::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent); animation: fc-shine 3.2s ease-in-out infinite; }
@keyframes fc-shine { 0%, 55% { left: -60%; } 85%, 100% { left: 120%; } }
.fc-flame { font-size: 26px; flex: 0 0 auto; }
.fc-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.fc-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.fc-title { font-size: 17px; font-weight: 800; line-height: 1.25; }
.fc-sub { font-size: 12.5px; opacity: .92; line-height: 1.4; }
.fc-cta { flex: 0 0 auto; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.lesson-card.featured { border: 2px solid var(--accent); box-shadow: 0 8px 26px rgba(255,74,28,.16); }
.card-hot { display: inline-block; margin-left: 8px; background: #fff1ec; color: var(--accent); border: 1px solid #ffd0c0; border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 800; vertical-align: 1px; white-space: nowrap; }

/* ---------- Downloadable kit box (lesson top) ---------- */
.download-box { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: #fff7f4; border: 2px solid var(--accent); border-radius: var(--radius); padding: 16px 18px; margin: 14px 0 6px; }
.dl-info { flex: 1 1 260px; min-width: 0; }
.dl-t { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.dl-info p { margin: 0; font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }
.dl-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; }
.dl-size { font-size: 11.5px; font-weight: 600; opacity: .85; }
@media (max-width: 480px) { .featured-card { flex-wrap: wrap; } .fc-cta { margin-left: 40px; } .dl-btn { width: 100%; justify-content: center; } }

/* ===== 2026-07 polish pass: bugs + elevation ===== */

/* Body scroll locks while an overlay is open */
.no-scroll { overflow: hidden; }

/* Lesson top bar: fully opaque so content never collides with it */
.modal-bar { background: var(--bg); z-index: 20; }

/* Overall course progress (dashboard) */
.course-progress { margin: 14px 0 16px; }
.course-progress .cp-bar { height: 10px; background: #ececef; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.course-progress .cp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 999px; transition: width .35s ease; }
.course-progress .cp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 7px; flex-wrap: wrap; }
.course-progress .cp-label { font-size: 13px; font-weight: 800; color: var(--text-dim); }
.nb-line { font-size: 12.5px; font-weight: 700; color: var(--text-faint); }
.nb-line b { color: var(--accent); }

/* Per-level progress count in section headers */
.lvcount { margin-left: auto; flex: none; font-size: 12px; font-weight: 800; color: var(--text-faint); background: var(--bg-elev); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.lvcount.all { color: var(--good); border-color: rgba(22,163,74,.35); background: rgba(22,163,74,.08); }
.level-head .lvopt, .level-head .lvlock { margin-left: 0; }

/* Completed levels collapse to a summary row */
.level-toggle { display: block; width: 100%; text-align: left; background: var(--bg-card); border: 1px dashed var(--border); border-radius: var(--radius); padding: 13px 16px; font-size: 14px; font-weight: 700; color: var(--text-dim); margin-bottom: 10px; }
.level-toggle:hover { border-color: var(--accent); color: var(--accent); }
.level-toggle .lt-chev { color: var(--text-faint); margin-left: 4px; }

/* Dashboard footer (page used to just end) */
.dash-footer { text-align: center; color: var(--text-faint); font-size: 13px; line-height: 1.6; border-top: 1px solid var(--border); margin-top: 34px; padding-top: 22px; }
.dash-footer a { color: var(--text-dim); font-weight: 700; }
.dash-footer a:hover { color: var(--accent); }

/* Featured card: slim white strip so it stops competing with the continue card */
.featured-card { background: var(--bg-card); color: var(--text); border: 1.5px solid var(--accent); box-shadow: var(--shadow); padding: 13px 16px; }
.featured-card::after { display: none; }
.featured-card .fc-eyebrow { color: var(--accent); opacity: 1; }
.featured-card .fc-title { font-size: 15px; }
.featured-card .fc-sub { color: var(--text-dim); opacity: 1; font-size: 12px; }
.featured-card .fc-cta { background: var(--accent); color: var(--accent-ink); border: none; }
.featured-card .fc-flame { font-size: 20px; }

/* Screenshot lightbox */
figure.shot img { cursor: zoom-in; }
.shot-lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(12,12,13,.88); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; animation: fadein .12s ease; }
.shot-lightbox img { max-width: 94vw; max-height: 92vh; width: auto; border-radius: 10px; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.slb-x { position: absolute; top: 16px; right: 20px; color: #fff; font-size: 22px; font-weight: 700; cursor: pointer; opacity: .8; }
.slb-x:hover { opacity: 1; }

/* Hero image plays the promo video */
.hero-play { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--border); cursor: pointer; }
.hero-play img { transition: transform .25s ease; }
.hero-play:hover img { transform: scale(1.015); }
.hero-play-badge { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(12,12,13,.78); color: #fff; font-weight: 800; font-size: 14px; padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(4px); white-space: nowrap; }
.hero-play:hover .hero-play-badge { background: var(--accent); border-color: var(--accent); }
.video-lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(12,12,13,.9); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadein .12s ease; }
.video-lightbox .vlb-frame { position: relative; width: min(1020px, 96vw); aspect-ratio: 16/9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.video-lightbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Landing: proof strip + bio */
.proof-strip { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 10px; }
.proof-strip .pf { flex: 1 1 150px; max-width: 220px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 12px; box-shadow: var(--shadow); }
.proof-strip .pf b { display: block; font-size: 24px; font-weight: 900; color: var(--accent); line-height: 1.1; }
.proof-strip .pf span { display: block; font-size: 12.5px; color: var(--text-dim); font-weight: 600; margin-top: 3px; line-height: 1.35; }
.gate-bio { max-width: 560px; margin: 6px auto 8px; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }

/* Landing: gamification preview */
.gate-earn { text-align: center; padding: 8px 0 26px; }
.gate-earn h3 { color: var(--text-dim); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin: 22px 0 16px; }
.earn-badges { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.earn-badges .eb { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 86px; }
.earn-badges .eb-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 25px; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.16); }
.earn-badges .eb-name { font-size: 12px; font-weight: 800; color: var(--text-dim); line-height: 1.2; }
.earn-sub { max-width: 470px; margin: 16px auto 0; font-size: 13.5px; color: var(--text-faint); line-height: 1.55; }

/* Landing: outcome-first curriculum tease */
.tease-note { text-align: center; font-size: 13px; color: var(--text-faint); margin: -6px 0 16px; }
.tease-outcome { font-size: 13.5px; font-weight: 600; color: var(--accent); margin: 2px 0 8px; line-height: 1.45; }

/* Landing FAQ */
.gate-faq { max-width: 640px; margin: 0 auto; padding: 6px 0 44px; }
.gate-faq h3 { text-align: center; color: var(--text-dim); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin: 8px 0 8px; }

/* Menu: centered dialog on desktop instead of a bottom sheet */
@media (min-width: 720px) {
  .menu-overlay { align-items: center; padding: 28px; }
  .menu-panel { border-radius: 22px; max-height: 82vh; transform: translateY(10px) scale(.98); }
  .menu-overlay.show .menu-panel { transform: translateY(0) scale(1); }
}

/* ===== Landing v2: new hero copy, stat row, animations ===== */

/* Free pill: unmissable */
.gate-free { background: var(--accent); color: var(--accent-ink); border: none; font-size: 15.5px; font-weight: 900; padding: 11px 22px; letter-spacing: .2px; box-shadow: 0 10px 26px rgba(255,74,28,.35); animation: free-glow 2.8s ease-in-out infinite; }
@keyframes free-glow {
  0%, 100% { box-shadow: 0 10px 26px rgba(255,74,28,.35); transform: scale(1); }
  50% { box-shadow: 0 12px 34px rgba(255,74,28,.55); transform: scale(1.025); }
}

/* Proof stats: flat row with dividers (matches buildwithnav.com style) */
.proof-strip { gap: 0; align-items: stretch; margin: 26px 0 8px; }
.proof-strip .pf { flex: 1 1 0; max-width: none; background: none; border: none; box-shadow: none; border-radius: 0; padding: 8px 8px; position: relative; }
.proof-strip .pf + .pf::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: var(--border); }
.proof-strip .pf b { display: block; font-size: clamp(30px, 6.5vw, 46px); font-weight: 900; color: var(--text); line-height: 1.05; letter-spacing: -.5px; }
.proof-strip .pf b i { font-style: normal; color: var(--accent); }
.proof-strip .pf .pf-l { display: block; text-transform: uppercase; letter-spacing: 2.2px; font-size: 10.5px; color: var(--text-faint); font-weight: 700; margin-top: 7px; line-height: 1.4; }

/* Reveal-on-scroll (JS adds .rv then .in; no-JS and reduced-motion stay fully visible) */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .gate-free { animation: none; }
}

/* Bottom CTA after the FAQ */
.gate-bottom { text-align: center; padding: 6px 0 46px; }
.gate-bottom .gate-free { margin: 0 0 16px; }
.gate-bottom .gb-btn { width: auto; padding: 15px 34px; display: inline-flex; }

/* Fix: earlier .pf span rule was breaking the stat numbers onto their own line */
.proof-strip .pf b .count { display: inline; font-size: inherit; color: inherit; font-weight: inherit; margin: 0; line-height: inherit; letter-spacing: inherit; }
