:root{
  --bg:#FFFDF6; --bg2:#FFF3D6; --bg-warm:#FFF9DB; --ink:#14213D; --ink2:#1F2A44; --muted:#5B6478; --muted2:#7A8299;
  --line:#F0DFAE; --line2:#E8D9A0;
  --teal:#00BFA6; --teal-dark:#008A76; --teal-deep:#7C5CFF; --teal-light:#D6F5EF; --teal-mid:#B8EDE3;
  --sage:#0E9F6E; --sage-dark:#0E7A55; --sage-light:#D9F5E8; --sage-mid:#00BFA6;
  --amber:#7C3AED; --amber-dark:#8A5A00; --amber-light:#FFF3C4;
  --coral:#EC4899; --coral-dark:#E14D6E; --coral-light:#FFE3E9;
  --grad:linear-gradient(135deg,#7C3AED,#FF8A5C);
  --card:#FFFFFF;
  --shadow-sm:0 2px 0 rgba(20,33,61,.06),0 8px 20px rgba(20,33,61,.08);
  --shadow:0 4px 0 rgba(20,33,61,.05),0 16px 32px rgba(20,33,61,.12);
  --shadow-lg:0 6px 0 rgba(20,33,61,.05),0 28px 56px rgba(20,33,61,.16);
  --r-lg:24px; --r-md:20px; --r-sm:14px;
}
/* Dark tech theme: deep space, glass panels, cyan -> violet gradient. */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background-color:var(--bg);background-image:radial-gradient(rgba(255,200,0,.18) 2px,transparent 2.5px),radial-gradient(rgba(0,191,166,.14) 2px,transparent 2.5px),radial-gradient(rgba(255,107,138,.14) 2px,transparent 2.5px);background-size:72px 72px,96px 96px,120px 120px;background-position:0 0,24px 32px,48px 12px;color:var(--ink);line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,.logo b{font-family:"Fraunces",Georgia,serif}
::selection{background:var(--teal-mid);color:var(--teal-deep)}
a{color:var(--coral-dark);text-decoration:none} img{max-width:100%;display:block}
.wrap{max-width:1400px;margin:0 auto;padding:0 32px}
@media(max-width:640px){.wrap{padding:0 18px}}

/* Buttons — app.js does not depend on these classes, but keep .secondary as an alias */
.btn,.btn-primary,button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border-radius:999px;font-weight:700;border:1px solid transparent;cursor:pointer;font-size:15px;line-height:1;transition:all .22s ease;white-space:normal;text-align:center}
.btn,.btn-primary,button{background:var(--grad);color:#fff;box-shadow:0 8px 24px rgba(0,229,255,.25),0 8px 24px rgba(124,92,255,.25)}
.btn:hover,.btn-primary:hover,button:hover{filter:brightness(1.12);transform:translateY(-1px)}
.btn:active,button:active{transform:scale(.98)}
.btn-amber{background:var(--amber);color:#14213D}
.btn-ghost,.btn.secondary,button.secondary{background:var(--card);color:var(--ink);border-color:var(--line2);box-shadow:var(--shadow-sm)}
.btn-ghost:hover,.btn.secondary:hover,button.secondary:hover{background:linear-gradient(135deg,#00B6D4,#7C3AED);border-color:transparent;color:#fff}
.btn-sm{padding:10px 18px;font-size:14px}
.btn:focus-visible,button:focus-visible{outline:3px solid rgba(0,229,255,.45);outline-offset:2px}

/* Topbar */
.topbar{position:sticky;top:0;z-index:60;background:rgba(5,7,15,.88);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.topbar-in{display:flex;align-items:center;justify-content:space-between;padding:12px 0;gap:16px;flex-wrap:wrap}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px;letter-spacing:-.03em;color:var(--ink);white-space:nowrap}
.logo-mark{width:36px;height:36px;border-radius:10px;background:var(--grad);color:#fff;display:grid;place-items:center;box-shadow:0 6px 14px rgba(0,229,255,.3);flex-shrink:0;font-size:18px}
.logo b span{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent} .logo small{display:block;font-weight:500;font-size:12.5px;letter-spacing:0;color:var(--muted);line-height:1;margin-top:1px}
@media(max-width:820px){.logo small{display:none}}
.nav{display:flex;gap:2px;font-size:13.5px;font-weight:600;background:var(--bg2);border:1px solid var(--line);padding:4px;border-radius:999px;flex-wrap:wrap}
.nav a{color:var(--muted);padding:7px 13px;border-radius:999px;transition:.2s} .nav a:hover{color:var(--ink);background:var(--card);box-shadow:var(--shadow-sm)}
.nav a.active,.nav a[aria-current="page"]{background:var(--teal-light);color:var(--teal-dark)}
.nav-menu{display:flex} .nav-toggle{display:none} .nav-menu > .nav{display:flex}
@media(max-width:820px){.topbar-in{flex-direction:column;align-items:stretch}.nav-menu{display:block;position:static}.nav-toggle{display:inline-flex;align-items:center;gap:8px;list-style:none;cursor:pointer;background:#EEF2FF;border:1px solid #DDE3F0;border-radius:999px;padding:9px 16px;font-weight:700;font-size:14px;color:#12182B}.nav-menu > .nav{display:none}.nav-menu.nav-open > .nav{display:flex;flex-direction:column;flex-wrap:nowrap;overflow:visible;position:absolute;left:18px;right:18px;top:100%;z-index:65;background:#FFFFFF;border:1px solid #DDE3F0;border-radius:20px;padding:8px;box-shadow:0 10px 28px rgba(18,24,43,.18)}.nav-menu.nav-open .nav a{flex-shrink:0;color:#12182B}.nav-menu.nav-open .nav a:hover{background:#EEF2FF;color:#12182B}.topbar .btn-sm{align-self:flex-start}}

/* Page header (inner pages) */
.page-head{padding:36px 0 8px}
.page-head h1{font-size:clamp(32px,4.5vw,44px);line-height:1.05;letter-spacing:-.025em;margin:0 0 10px;font-weight:800}
.page-head p{color:var(--muted);font-size:17px;line-height:1.65;max-width:680px;margin:0}

/* Hero */
.hero{position:relative;padding:56px 0 8px;overflow:hidden}
.hero-grid{position:relative;display:grid;grid-template-columns:1.02fr .98fr;gap:48px;align-items:center;z-index:1}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr;gap:32px}.hero{padding-top:36px}}
.hero-badge{display:inline-flex;align-items:center;gap:8px;background:var(--card);border:1px solid var(--line2);box-shadow:var(--shadow-sm);padding:7px 12px 7px 8px;border-radius:999px;font-size:13px;font-weight:700;color:var(--ink2);flex-wrap:wrap}
.hero-badge .dot{width:22px;height:22px;border-radius:50%;background:var(--amber-light);display:grid;place-items:center;font-size:12px}
.hero-badge em{font-style:normal;color:var(--teal)}
.hero h1{font-size:clamp(42px,6.2vw,64px);line-height:.96;letter-spacing:-.035em;margin:18px 0 18px;font-weight:800}
.hero h1 em{font-style:normal;font-weight:700;letter-spacing:-.01em;color:var(--coral-dark)}
.hero-sub{font-size:18.5px;line-height:1.65;color:var(--muted);max-width:520px;margin:0 0 26px}
.hero-ctas{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.hero-proof{display:flex;align-items:center;gap:8px;margin-top:26px;flex-wrap:wrap}
.pill{font-size:13px;font-weight:700;background:var(--teal-light);color:var(--teal-dark);padding:7px 11px;border-radius:999px}
.hero-visual{position:relative}
.hero-img{border-radius:24px;overflow:hidden;border:3px solid #7C3AED;box-shadow:0 8px 0 rgba(255,200,0,.35);background:#FFF9DB;aspect-ratio:3/2}
.hero-img img{width:100%;height:100%;object-fit:cover;object-position:center 42%}
.float-card{position:absolute;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow-lg);border-radius:16px;padding:12px 14px;display:flex;gap:11px;align-items:center;max-width:260px}
.float-card.fc1{top:-14px;left:-14px} .float-card.fc2{bottom:-14px;right:-10px}
@media(max-width:640px){.float-card.fc1{left:10px;top:10px}.float-card.fc2{right:10px;bottom:10px;max-width:230px}}
.float-ico{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;font-size:18px}
.float-card b{font-size:13.5px;display:block;line-height:1.3} .float-card span{font-size:12.5px;color:var(--muted);display:block;line-height:1.4}

/* Stats + tools strip */
.stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,1fr);margin:44px 0 8px;background:var(--card);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-sm);overflow:hidden}
.stat{padding:20px 22px;border-left:1px solid var(--line)} .stat:first-child{border-left:0}
.stat b{font-size:26px;letter-spacing:-.03em;display:flex;align-items:baseline;gap:6px;line-height:1} .stat b i{font-style:normal;font-size:13px;color:var(--teal);font-weight:800}
.stat span{font-size:13px;color:var(--muted);font-weight:600;display:block;margin-top:6px;line-height:1.45}
@media(max-width:820px){.stats{grid-template-columns:1fr 1fr}.stat:nth-child(3){border-left:0}.stat{border-top:1px solid var(--line)}.stat:nth-child(-n+2){border-top:0}}
.tools-strip{display:flex;align-items:center;justify-content:center;gap:10px 22px;flex-wrap:wrap;padding:22px 0 6px;color:var(--muted2);font-weight:800;font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.tools-strip i{width:4px;height:4px;border-radius:50%;background:var(--line2);display:inline-block}

/* Layout / sections */
main{max-width:1400px;margin:0 auto;padding:0 32px 64px}
.section{padding:48px 0} .section-alt{background:var(--bg2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}
.kicker{display:inline-flex;align-items:center;gap:8px;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:var(--coral-dark);margin-bottom:10px}
.section h2{font-size:clamp(28px,4vw,38px);line-height:1.06;letter-spacing:-.025em;margin:0 0 10px;font-weight:800} .section h2 em{font-style:normal;font-weight:700;color:var(--coral-dark)}
.lead{color:var(--muted);max-width:660px;font-size:17px;line-height:1.65;margin:0}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px} @media(max-width:880px){.grid3{grid-template-columns:1fr}}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px} @media(max-width:760px){.grid2{grid-template-columns:1fr}}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);padding:24px;position:relative;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.card-hover:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--line2)}
.card h2{margin:12px 0 6px;font-size:20px;letter-spacing:-.01em} .card h3{margin:12px 0 6px;font-size:19px;letter-spacing:-.01em} .card p{color:var(--muted);font-size:15px;margin:0 0 10px;line-height:1.65} .card p:last-child{margin-bottom:0}
.card ul{color:var(--muted)}
.icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:var(--sage-light);color:var(--sage-dark);font-size:22px}
.icon-amber{background:var(--amber-light);color:var(--amber-dark)} .icon-coral{background:var(--coral-light);color:#E14D6E}
.card .card-link{margin-top:14px;font-size:13.5px;font-weight:800;color:var(--coral-dark);display:inline-flex;gap:6px}

/* Badges, locked state (used by app.js: .locked, .lock-note) */
.badge{font-size:13px;letter-spacing:.02em;text-transform:uppercase;font-weight:800;padding:7px 12px;border-radius:999px;background:#1E2A5A;color:#fff;border:1px solid transparent;display:inline-block;vertical-align:middle;line-height:1.2}
.badge-free{background:#26A269;color:#fff;border-color:transparent}
.badge-pro{background:#1F2937;color:#fff;border-color:#1F2937}
.banner{background:#FFF3C4;border:1px solid #7C3AED;border-radius:14px;padding:14px 16px;margin:16px 0}
.locked{opacity:.55}
.lock-note{color:var(--amber-dark);font-weight:700}
.plan-line{font-weight:700;margin:20px 0 4px}

/* Forms */
label{font-weight:700;font-size:14px;display:block;margin:14px 0 6px;color:var(--ink2)}
input,select,textarea{width:100%;padding:13px 14px;border:1.5px solid var(--line2);border-radius:12px;font:inherit;font-size:15px;background:var(--card);color:var(--ink)}
input:focus{outline:none;border-color:var(--coral);box-shadow:0 0 0 4px rgba(0,229,255,.18)}
input{max-width:520px}
form p{color:var(--muted);font-size:14px;line-height:1.6}

/* Tables */
table{width:100%;border-collapse:collapse;font-size:14.5px}
th,td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
td{color:var(--ink2)}

/* Pricing */
.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px;align-items:stretch} .pricing{display:grid;grid-template-columns:repeat(2,minmax(280px,440px));justify-content:center;gap:18px;margin-top:30px;align-items:stretch} @media(max-width:900px){.price-grid,.pricing{grid-template-columns:1fr;max-width:520px;margin-left:auto;margin-right:auto;width:100%}}
.price-card{background:var(--card);border:1.5px solid var(--line);border-radius:24px;padding:28px;display:flex;flex-direction:column;transition:.25s}
.price-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.price-card.featured{border-color:var(--teal);box-shadow:var(--shadow-lg);position:relative;transform:scale(1.02)}
.price-card.featured:hover{transform:scale(1.02) translateY(-3px)}
.price-card h2{font-size:20px;margin:14px 0 4px}
.price{font-size:46px;font-weight:800;letter-spacing:-.04em;line-height:1;margin:8px 0} .price small,.price span{font-size:15px;color:var(--muted);font-weight:600;letter-spacing:0}
.price-card ul{list-style:none;padding:0;margin:20px 0 24px;display:grid;gap:11px;font-size:14.5px;line-height:1.5;color:var(--ink2)} .price-card ul li{display:flex;gap:10px;align-items:flex-start}
.price-card ul li .tick{width:20px;height:20px;border-radius:50%;background:var(--teal-light);color:var(--teal-dark);display:grid;place-items:center;font-size:11px;font-weight:900;flex-shrink:0;margin-top:1px}
.price-card .btn,.price-card button{margin-top:auto;width:100%}
.pop{position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:var(--amber);color:#14213D;font-size:12px;font-weight:800;padding:7px 14px;border-radius:999px;box-shadow:0 8px 16px rgba(255,194,75,.35);white-space:nowrap;letter-spacing:.02em}
.guarantee{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:22px;font-size:13.5px;color:var(--muted);font-weight:600}
.guarantee span{background:var(--card);border:1px solid var(--line);padding:8px 13px;border-radius:999px}

/* Safety */
.do-head,.dont-head{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.badge-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-size:17px}
.list{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:0} .list li{display:flex;gap:11px;font-size:15px;padding:11px 0;border-top:1px dashed var(--line);line-height:1.55} .list li:first-child{border-top:0} .list li span:first-child{flex-shrink:0;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;margin-top:1px}
.do .list li span:first-child{background:var(--sage-light);color:var(--sage-dark)} .dont .list li span:first-child{background:#FFE3E9;color:#C81E3A}
.myth{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px;line-height:1.65} .myth .myth-label{font-size:11px;letter-spacing:.1em;font-weight:800;color:var(--coral);text-transform:uppercase} .myth p{color:var(--muted)} .myth b{color:var(--ink)}
.rule-card{margin-top:16px;background:#D6F5EF;color:#14213D;border-radius:20px;padding:20px 22px;display:flex;gap:14px;align-items:flex-start}
.rule-card b{color:#fff} .rule-card span{opacity:.9;line-height:1.65;font-size:15px}

/* Final CTA + footer */
.final-cta{position:relative;background:#7C5CFF;color:#FFFFFF;border-radius:28px;text-align:center;padding:48px 28px;overflow:hidden;box-shadow:var(--shadow-lg)}
.final-cta h2{color:#fff;margin-bottom:10px} .final-cta h2 em{color:var(--amber)}
.final-cta p{color:#D6DDF2}
footer{padding:44px 0 54px;color:var(--muted);font-size:14px;border-top:1px solid var(--line);background:var(--bg2)}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px;max-width:1400px;margin:0 auto;padding:0 32px} @media(max-width:760px){.footer-grid{grid-template-columns:1fr}}
footer a{color:var(--muted);display:block;padding:4px 0} footer a:hover{color:var(--teal)} footer h4{color:var(--ink);font-size:13px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 10px}
.footer-logo{margin-bottom:12px} .footer-blurb{line-height:1.65;max-width:340px}
.footer-bottom{max-width:1400px;margin:28px auto 0;padding:18px 32px 0;border-top:1px solid var(--line);font-size:13px}
.status{font-weight:700;min-height:1.4em}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Organization: crumbs, path, tool index, lesson blocks, page actions */
.crumbs{font-size:13.5px;font-weight:600;color:var(--muted);margin-bottom:14px}
.crumbs a{color:var(--coral-dark)} .crumbs span{color:var(--ink)}
.page-actions{margin-top:20px;display:flex;gap:10px;flex-wrap:wrap}
.hero-cta{padding:16px 28px;font-size:16px}
.pill-amber{background:var(--amber-light);color:var(--amber-dark)}
.path-list{list-style:none;padding:0;margin:28px 0 0;display:grid;gap:14px}
.path-list li{display:flex;gap:14px;align-items:flex-start}
.path-list li p{color:var(--muted);margin:4px 0 0;line-height:1.6}
.path-list--compact{margin-top:24px}
.step-num{width:32px;height:32px;border-radius:50%;background:var(--sage);color:#fff;display:grid;place-items:center;font-weight:800;font-size:14px;flex-shrink:0;margin-top:2px}
.tool-index{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 24px}
.tool-index a{background:var(--card);border:1px solid var(--line);border-radius:999px;padding:8px 14px;font-weight:700;font-size:14px;color:var(--ink2);display:inline-flex;gap:8px;align-items:center}
.tool-index a:hover{border-color:var(--teal);color:var(--teal-dark)}
.lesson-block{background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);padding:28px;margin:0 0 24px;scroll-margin-top:90px}
.lesson-block h2{margin:12px 0 6px;font-size:22px}
.lesson-block>p{color:var(--muted);line-height:1.65}
.deck-mount{margin-top:20px}
.sim-section{scroll-margin-top:90px;margin-bottom:8px}
.sim-section.card{padding:22px}
.progress-card{margin-top:24px}
.manage-card{text-align:center}
.fine-print{text-align:center;color:var(--muted);font-size:13px;line-height:1.6}
.section-cta{padding-top:0}
.final-cta p{max-width:520px;margin:0 auto 22px;line-height:1.65;font-size:17px}
.final-cta-note{font-size:13px;margin:14px 0 0}
.do-head h3,.dont-head h3{margin:0}
.table-wrap{overflow-x:auto}
.table-wrap table{min-width:640px}
@media(max-width:640px){.sim-user{margin-left:12px}.sim-assistant{margin-right:12px}.lesson-block{padding:20px}}

/* Interactive: quizzes, flashcards, simulations */
.quiz-q{border:1px solid var(--line);border-radius:16px;padding:16px;margin:14px 0;background:var(--card)}
.quiz-opts{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.quiz-opt{justify-content:flex-start;text-align:left}
.quiz-opt:disabled{opacity:1;cursor:default}
.quiz-opt.quiz-correct{background:var(--sage-light)!important;color:var(--sage-dark)!important;border-color:var(--sage)!important}
.quiz-opt.quiz-wrong{background:#FFE3E9!important;color:#9E1B32!important;border-color:#EC4899!important}
.quiz-feedback{font-weight:700;margin:10px 0 0;line-height:1.55}
.quiz-feedback-good{color:var(--sage-dark)}
.quiz-feedback-bad{color:#C81E3A}
.quiz-score{font-weight:800}
.flashcard{perspective:1000px;max-width:560px;margin:16px 0;cursor:pointer}
.flash-inner{position:relative;width:100%;min-height:210px;transition:transform .5s;transform-style:preserve-3d}
.flashcard.flipped .flash-inner{transform:rotateY(180deg)}
.flash-face{position:absolute;inset:0;backface-visibility:hidden;border:1px solid var(--line2);border-radius:18px;padding:22px;background:var(--card);box-shadow:var(--shadow-sm);min-height:210px;overflow-y:auto}
.flash-back{transform:rotateY(180deg);background:var(--teal-light)}
.flash-label{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:var(--teal)}
.flash-face p{font-size:17px;line-height:1.6;color:var(--ink)}
.flashcard{height:230px}
.flash-controls{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.deck-score{font-weight:700}
.sim-card{border:1px solid var(--line);border-radius:20px;padding:22px;margin:20px 0;background:var(--card)}
.sim-head{display:flex;gap:14px;align-items:center}
.tool-mark{width:52px;height:52px;border-radius:14px;color:#fff;display:grid;place-items:center;font-weight:800;font-size:20px;flex-shrink:0}
.tool-logo[src$="logo-openai.svg"]{padding:2px}
.tool-logo{width:56px;height:56px;border-radius:14px;background:#fff;border:1px solid var(--line,#E5E7EB);box-shadow:0 1px 3px rgba(0,0,0,.06);object-fit:contain;padding:7px;flex-shrink:0;box-sizing:border-box}
.sim-banner{background:var(--amber-light);border:1px solid #2A365C;border-radius:12px;padding:12px 14px;font-weight:700;line-height:1.55}
.sim-opts{display:flex;flex-direction:column;gap:8px;margin:10px 0}
.sim-opt{justify-content:flex-start;text-align:left}
.sim-opt.sim-selected{border-color:var(--teal)!important;background:var(--teal-light)!important;color:var(--teal-dark)!important}
.sim-window{border:1px solid var(--line2);border-radius:16px;overflow:hidden;margin-top:16px}
.sim-window-bar{background:var(--bg2);padding:10px 14px;font-weight:700;font-size:13px;border-bottom:1px solid var(--line)}
.sim-bubble{margin:12px;padding:12px 14px;border-radius:14px;line-height:1.6;white-space:pre-wrap}
.sim-user{background:var(--teal-light);margin-left:40px}
.sim-assistant{background:var(--bg2);margin-right:40px}
.sim-mock-image{background:linear-gradient(135deg,#F4F4F2,#EDEDE8);border:1px dashed var(--teal)}
.sim-coach{margin-top:14px}
.sim-coach ul{line-height:1.6}
@media(max-width:640px){.flashcard{height:270px}.flash-face{min-height:270px}}

/* Slideshow-first: lessons, quizzes, flashcards share one chrome */
.slideshow{margin:16px 0}
.slide-counter{font-weight:800;font-size:14px;margin-bottom:8px}
.slide-progress{height:8px;background:var(--line);border-radius:99px;overflow:hidden;margin-bottom:14px}
.slide-progress span{display:block;height:100%;background:var(--teal);border-radius:99px;transition:width .3s}
.slide-card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:28px;text-align:center;box-shadow:var(--shadow-sm)}
.slide-card h3{font-size:24px;margin:8px 0}
.slide-card p{font-size:18px;line-height:1.6;color:var(--ink2);margin:0 auto;max-width:560px}
.slide-icon{font-size:44px}
.slide-dots{display:flex;gap:8px;justify-content:center;margin:14px 0 4px;flex-wrap:wrap}
.slide-dot{width:12px;height:12px;padding:0;border-radius:50%;background:var(--line2);border:0;box-shadow:none}
.slide-dot.active{background:var(--teal)}
.slide-dot.done{background:var(--sage-mid)}
.slide-nav{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:14px 0}
.slide-nav button:disabled{opacity:.45;cursor:default;transform:none}
details.full-text{margin:10px 0}
details.full-text summary{cursor:pointer;font-weight:700;color:var(--coral-dark)}
details summary{cursor:pointer;font-weight:700;color:var(--coral-dark)}
/* Chat-style simulations */
.sim-history{max-height:420px;overflow-y:auto;padding:4px 2px}
.sim-history .sim-bubble{margin:10px 8px}
.sim-typing{font-style:normal;color:var(--muted);padding:6px 14px}
.sim-chips{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.sim-chip{justify-content:flex-start;text-align:left;font-size:13.5px;padding:10px 14px}
.sim-input-row{display:flex;gap:10px;align-items:flex-end;margin-top:12px}
.sim-input-row textarea{flex:1}
.sim-input-row .btn{flex-shrink:0}
.sim-styles{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.sim-desc{background:linear-gradient(135deg,#F4F4F2,#EDEDE8);border:1px dashed var(--teal);border-radius:14px;padding:16px;line-height:1.6;white-space:pre-wrap;margin-top:14px}
@media(max-width:640px){.slide-card{padding:20px}.slide-card p{font-size:16px}.sim-input-row{flex-direction:column;align-items:stretch}}

/* My Plan: onboarding, dashboard, pathways, certificates — mobile-first app shell */
.onboard-card,.plan-dashboard,.pathway-card{background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);padding:24px;margin:16px 0;box-shadow:var(--shadow-sm)}
.onboard-card h3,.plan-dashboard h3{margin:10px 0 8px}
.plan-continue-btn{padding:16px 28px;font-size:16px;width:100%;max-width:520px}
.plan-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}
.plan-stat{background:var(--bg2);border:1px solid var(--line);border-radius:16px;padding:16px;text-align:center}
.plan-stat b{font-size:26px;display:block;line-height:1.1}
.plan-stat span{font-size:13px;color:var(--muted);font-weight:600;line-height:1.4;display:block;margin-top:4px}
@media(max-width:640px){.plan-stats{grid-template-columns:1fr}}
.plan-badges ul,.plan-pathways ul{list-style:none;padding:0;margin:10px 0;display:grid;gap:8px}
.plan-badges li,.plan-pathways li{font-size:15px;line-height:1.55;color:var(--ink2)}
.path-step-list{list-style:none;padding:0;margin:14px 0;display:grid;gap:10px}
.path-step{background:var(--bg2);border:1px solid var(--line);border-radius:14px;padding:14px 16px;line-height:1.6}
.path-step label{margin:0;font-weight:400;font-size:15px;display:block;cursor:pointer}
.path-step input[type="checkbox"]{width:22px;height:22px;accent-color:var(--teal);vertical-align:middle;margin-right:8px;max-width:none}
.path-step.locked-step{opacity:.75}
.certificate{border:3px solid var(--amber);border-radius:20px;padding:28px;text-align:center;background:var(--bg-warm);margin-top:18px}
.certificate h3{font-size:26px;margin:8px 0}
.bottom-nav{display:none}
@media(max-width:820px){
  body{padding-bottom:76px}
  .bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:70;background:var(--card);border-top:1px solid var(--line2);box-shadow:0 -8px 24px rgba(0,0,0,.08);padding:6px 4px calc(6px + env(safe-area-inset-bottom));justify-content:space-around}
  .bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--muted);font-size:22px;padding:4px 6px;text-decoration:none}
  .bottom-nav a span{font-size:11px;font-weight:700}
  .bottom-nav a.active{color:var(--coral-dark)}
  footer{padding-bottom:24px}
}
@media print{
  .topbar,.bottom-nav,footer,.plan-change,.cert-print,.page-actions{display:none!important}
  body{padding-bottom:0}
  .certificate{border:3px solid #000;box-shadow:none}
}

/* One view at a time: list first, details one tap away (views.js) */
[data-view]{display:none}
[data-view].view-active{display:block;scroll-margin-top:90px}
.view-back{margin:0 0 16px}
.list-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:18px}
@media(max-width:760px){.list-grid{grid-template-columns:1fr}}
.compact-card{padding:18px}
.compact-card h3{margin:8px 0 4px}
.compact-card p{margin:0 0 10px}

/* ---- Full-screen tool interfaces (simulations) ---- */
body:has(section.sim-section.view-active:not(.locked)) header.topbar,
body:has(section.sim-section.view-active:not(.locked)) footer,
body:has(section.sim-section.view-active:not(.locked)) nav.bottom-nav { display:none !important; }
body:has(section.sim-section.view-active:not(.locked)) { overflow:hidden; padding-bottom:0 !important; }
body:has(section.sim-section.view-active:not(.locked)) main { max-width:none; padding:0; margin:0; }
/* Viewport-locked app shell: the outer view never scrolls. Only the chat /
   results / output panes scroll internally, so the top bar starts flush at
   the very top edge and the input / tour panel sit flush at the bottom. */
section.sim-section.view-active:not(.locked) { position:fixed; inset:0; width:100%; height:100vh; height:100dvh; max-width:none; z-index:200; overflow:hidden; background:var(--bg); margin:0; padding:0; border:0; border-radius:0; }
/* Unlocked simulations: the tool appbar IS the back button, so the extra
   "All tools" row above it is hidden -- it was the white gap above the bar. */
section.sim-section.view-active:not(.locked) .view-back { display:none !important; }
/* Locked (paid) simulations have no appbar, so keep their back button, but
   flush at the top with no gap above it. */
section.sim-section.view-active.locked .view-back { margin:0; }
section.sim-section.view-active.locked .lock-note { margin:12px 0; padding:0 20px; }
section.sim-section.view-active .tool-app { height:100vh; height:100dvh; min-height:0; width:100%; max-width:none; margin:0; display:flex; flex-direction:column; overflow:hidden; position:relative; }
.tool-appbar { position:relative; top:auto; z-index:20; flex-shrink:0; width:100%; margin:0; border-radius:0; display:flex; gap:12px; align-items:center; flex-wrap:wrap; background:var(--bg); border-bottom:1px solid var(--line); padding:12px 20px; }
.tool-appbar-sim { flex:1; min-width:220px; background:var(--amber-light); border:1px solid #2A365C; border-radius:10px; padding:8px 12px; font-weight:700; font-size:13px; line-height:1.4; }
.tool-appbar-actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.explain-label { font-size:13px; font-weight:700; display:inline-flex; gap:6px; align-items:center; cursor:pointer; }
.tool-identity { display:flex; gap:14px; align-items:center; padding:18px 20px 4px; max-width:none; width:100%; margin:0; flex-shrink:0; }
.tool-layout { display:grid; grid-template-columns:260px 1fr; gap:0; flex:1; min-height:0; overflow:hidden; max-width:none; width:100%; margin:0; padding:0; }
.tool-sidebar { border:0; border-right:1px solid var(--line); border-radius:0; padding:16px; background:var(--bg2); display:flex; flex-direction:column; gap:12px; min-height:0; overflow-y:auto; }
.tool-main { border:0; border-radius:0; padding:16px 16px 0; background:var(--card); display:flex; flex-direction:column; min-height:0; overflow:hidden; }
.sim-history-list { display:flex; flex-direction:column; gap:8px; }
.sim-history-item { justify-content:flex-start; text-align:left; }
.sim-user-area { margin-top:auto; border-top:1px solid var(--line); padding-top:12px; }
.tool-modelbar { display:flex; gap:10px; align-items:center; flex-wrap:wrap; padding-bottom:12px; border-bottom:1px solid var(--line); }
.tool-modelbar .tool-mark { width:36px; height:36px; font-size:15px; }
.tool-modelbar .tool-logo { width:40px; height:40px; border-radius:10px; padding:5px; border:1px solid var(--line,#E5E7EB); }
.sim-model-note { font-size:12px; color:var(--muted); }
.tool-chat { flex:1; min-height:0; overflow-y:auto; }
.tool-chat .sim-history { max-height:none; }
.sim-actions { display:flex; gap:8px; margin-top:10px; }
.sim-actions .btn { padding:7px 12px; font-size:12.5px; }
.tool-main [data-tour-part="input"] { flex-shrink:0; border-top:1px solid var(--line); padding:12px 16px 16px; margin:0; background:var(--card); }
.tool-main [data-tour-part="input"] p { margin:0 0 10px; }
.tool-main [data-tour-part="input"] .sim-input-row { margin-top:0; }
.tool-footnote { font-size:12.5px; color:var(--muted); margin:12px 0 0; }
/* Search + studio layouts */
.tool-search-layout { grid-template-columns:1fr 300px; }
.tool-sources { border:0; border-left:1px solid var(--line); border-radius:0; padding:16px; background:var(--bg2); min-height:0; overflow-y:auto; }
.tool-search-layout .tool-main { overflow-y:auto; }
.tool-search-layout [data-tour-part="searchbar"] { position:sticky; top:0; z-index:5; background:var(--card); padding-bottom:12px; }
.tool-studio .tool-side { min-height:0; overflow-y:auto; }
.tool-studio .tool-output { min-height:0; overflow-y:auto; }
.tool-search-layout .tool-main { border-radius:0; }
.tool-studio { grid-template-columns:340px 1fr; }
.tool-studio .tool-side { border:0; border-right:1px solid var(--line); border-radius:0; padding:16px; background:var(--bg2); }
.tool-studio .tool-output { border:0; border-radius:0; padding:16px; background:var(--card); }
.tool-side .sim-input, .tool-search-layout .sim-input { width:100%; }
/* Tour + explainers */
.tour-highlight { outline:3px solid #00B8D4 !important; outline-offset:3px; border-radius:12px; background:#E6FBFF !important; }
.tour-panel { position:relative; bottom:auto; z-index:30; flex-shrink:0; background:var(--card); border:0; border-top:1px solid var(--line2); border-radius:0; box-shadow:none; padding:14px 20px; margin:0; max-width:none; width:100%; }
.tour-panel p { margin:0 0 10px; }
.tour-nav { display:flex; gap:8px; flex-wrap:wrap; }
.part-note { display:none; font-size:12.5px; font-weight:600; color:var(--teal-dark); background:var(--teal-light); border-radius:999px; padding:3px 9px; margin-left:6px; line-height:1.4; }
.tool-explain-on .part-note { display:inline-block; }
@media (max-width:820px) {
  .tool-layout, .tool-search-layout, .tool-studio { grid-template-columns:1fr; }
  .tool-layout:not(.tool-search-layout):not(.tool-studio) { display:flex; flex-direction:column; }
  .tool-layout:not(.tool-search-layout):not(.tool-studio) .tool-sidebar { flex-shrink:0; max-height:150px; }
  .tool-search-layout, .tool-studio { overflow-y:auto; }
  .tool-search-layout .tool-main, .tool-studio .tool-main, .tool-studio .tool-output { overflow:visible; }
  .tool-sidebar { border-radius:0; border-right:0; border-bottom:1px solid var(--line); }
  .tool-main { border-radius:0; }
  .tool-appbar { padding:10px 14px; }
  .tool-identity { padding-left:14px; padding-right:14px; }
  .tool-layout { padding:0; }
  .tool-sources { border-left:0; border-top:1px solid var(--line); }
  .tool-studio .tool-side { border-right:0; border-bottom:1px solid var(--line); }
  .tour-panel { padding-left:14px; padding-right:14px; }
  .tool-sources { order:3; }
}

/* --- New brand: geometric tech logo --- */
.logo-img{width:42px;height:42px;flex-shrink:0;display:block}
.footer-logo .logo-img{width:36px;height:36px}
.logo b{font-size:20px;letter-spacing:-.02em}
@media(max-width:820px){.logo-img{width:38px;height:38px}}
/* Headings: sharp, modern tech */
h1,h2,h3{letter-spacing:-.02em}
.card,.lesson-block,.onboard-card,.plan-dashboard,.pathway-card{border-radius:16px}
/* --- Simulation interfaces stay tool-like inside ---
   Only the appbar/banner (site chrome) follows the warm theme. The chat,
   sidebar and bubbles below are kept neutral stone/grey, NOT site coral. */
section.sim-section.view-active{background:#FFFFFF}
section.sim-section.view-active .tool-app{background:#FFFFFF}
section.sim-section.view-active .tool-appbar{background:var(--bg);border-bottom:1px solid var(--line)}
section.sim-section.view-active .tool-sidebar{background:#F4F4F2;border-right:1px solid #E5E5E0}
section.sim-section.view-active .tool-main{background:#FFFFFF}
section.sim-section.view-active .sim-user{background:#EDEDE8}
section.sim-section.view-active .sim-assistant{background:#F7F7F5}
section.sim-section.view-active .sim-window-bar{background:#F7F7F5;border-bottom:1px solid #E5E5E0}
section.sim-section.view-active .part-note{background:#EDEDE8;color:#3D332A}
section.sim-section.view-active .tool-sources,section.sim-section.view-active .tool-studio .tool-side{background:#F4F4F2}

/* Tool-interface interiors: flat neutral panels, no site-theme colouring */
section.sim-section.view-active .sim-mock-image,section.sim-section.view-active .sim-desc{background:#F7F7F5;border:1px dashed #C9C9C2}
section.sim-section.view-active .sim-newchat{background:#FFFFFF;color:#1E1B16;border:1px solid #D8D8D2;box-shadow:none}
section.sim-section.view-active .sim-newchat:hover{background:#F4F4F2;color:#1E1B16;transform:none}
section.sim-section.view-active .sim-send{background:#1E1B16;color:#FFFFFF;border:1px solid #1E1B16;box-shadow:none}
section.sim-section.view-active .sim-send:hover{background:#3D332A;color:#FFFFFF;transform:none}

/* Tech theme extras: gradient featured pricing, hero glow, sharp tech corners */
.price-card.featured{border:3px solid #7C3AED;background:#FFF9DB;box-shadow:0 6px 0 #7C3AED,0 24px 48px rgba(255,200,0,.35)}
.hero{background:radial-gradient(520px 260px at 85% 5%,rgba(255,200,0,.35),transparent 60%),radial-gradient(520px 260px at 10% 90%,rgba(0,191,166,.22),transparent 60%),radial-gradient(420px 220px at 50% 0%,rgba(255,107,138,.18),transparent 60%)}
.slide-progress span{background:var(--grad)}
.logo-img{filter:drop-shadow(0 3px 0 rgba(20,33,61,.08))}
/* Simulation interiors stay neutral: light inputs inside the white tool area */
section.sim-section.view-active input,section.sim-section.view-active textarea,section.sim-section.view-active select{background:#FFFFFF;color:#111827;border-color:#D8D8D2}
/* Simulation New chat / Send stay neutral, never gradient */
section.sim-section.view-active .sim-newchat{background:#FFFFFF;color:#1E1B16;border:1px solid #D8D8D2;box-shadow:none}
section.sim-section.view-active .sim-send{background:#1E1B16;color:#FFFFFF;border:1px solid #1E1B16;box-shadow:none}


/* ---- UI polish (dark tech theme) — inserted BEFORE the simulation
   readability fix, which must stay last so its scoped rules win. ---- */
/* Readability on dark: brighter secondary text; fix low-contrast violet label */
:root{--muted:#B3BDD8;--muted2:#8E9AB8}
.myth .myth-label{color:#C4B5FD}
a{color:#C4B5FD}
/* Clearer hierarchy: bigger, tighter hero; consistent section titles */
.hero{padding:64px 0 8px}
.hero-grid{gap:56px}
.hero h1{font-size:clamp(48px,6.4vw,72px);line-height:.94;letter-spacing:-.04em;margin:20px 0 18px}
.hero-sub{font-size:18px;max-width:540px}
.section{padding:56px 0}
.section h2{font-size:clamp(30px,4vw,40px);line-height:1.05}
.page-head{padding:40px 0 8px}
.page-head h1{font-size:clamp(34px,4.6vw,46px)}
.page-head p{font-size:17.5px}
/* Cleaner layout: uniform cards, gaps, radius */
.card,.lesson-block,.onboard-card,.plan-dashboard,.pathway-card{padding:24px;border-radius:16px}
.grid3,.grid2,.list-grid{gap:16px}
.compact-card{padding:20px}
.compact-card:hover{border-color:var(--line2)}
.price-card{border-radius:20px;padding:28px}
.slide-card,.sim-card{border-radius:16px}
.final-cta{border-radius:20px;padding:52px 28px}
.section-head{gap:20px}
/* Navigation: unmistakable active state, roomy tap targets */
.nav a{padding:9px 15px;min-height:44px;display:inline-flex;align-items:center}
.nav a.active,.nav a[aria-current="page"]{background:var(--grad);color:#14213D;font-weight:800}
.nav a.active:hover,.nav a[aria-current="page"]:hover{color:#14213D}
.topbar-in{padding:14px 0}
/* Buttons: one consistent size system, 44px minimum tap target */
.btn,.btn-primary,button{min-height:44px;padding:13px 24px}
.btn-sm{min-height:44px;padding:12px 20px;font-size:14px}
.hero-cta{padding:15px 28px;font-size:16px}
.plan-continue-btn{padding:15px 28px}
/* Consistent tool marks / icons */
.tool-mark{width:52px;height:52px;border-radius:14px;font-size:20px}
.icon{width:48px;height:48px;border-radius:14px;font-size:22px}
.float-ico{width:40px;height:40px;border-radius:12px}
/* Slideshow / quiz chrome: aligned, tappable */
.slide-nav button{min-height:44px}
.slide-dot{width:14px;height:14px}
.slide-progress{height:8px}
.slide-counter{font-size:14px;letter-spacing:.02em}
.quiz-opt,.sim-opt{min-height:44px}
.flash-controls .btn{min-height:44px}
/* Footer: simpler, consistent, never covered by bottom nav */
footer{padding:36px 0 32px}
.footer-grid{gap:24px}
.footer-bottom{margin:20px auto 0;padding:16px 32px 0}
footer a{padding:5px 0}
/* Hero frame restyled for the new dark tech image */
.hero-img{border-radius:18px;aspect-ratio:3/2;box-shadow:0 0 0 1px rgba(0,229,255,.22),0 24px 50px rgba(0,0,0,.55),0 0 70px rgba(124,92,255,.22)}
.hero-img img{object-position:center}
/* Mobile: stack cleanly, no horizontal scroll, bottom nav never covers content */
html,body{overflow-x:clip}
@media(max-width:820px){
  main{padding-bottom:88px}
  body{padding-bottom:88px}
  .hero{padding-top:40px}
  .hero-grid{gap:28px}
  .hero-ctas .btn{width:100%}
  .bottom-nav a{min-height:48px;padding:6px 6px calc(6px + env(safe-area-inset-bottom))}
  .bottom-nav a.active{color:var(--teal)}
  .bottom-nav a.active span{color:var(--teal)}
  footer{padding-bottom:32px}
}
@media(max-width:640px){
  .card,.lesson-block,.onboard-card,.plan-dashboard,.pathway-card{padding:20px}
  .slide-card{padding:20px}
  .price-card{padding:24px}
  .float-card{max-width:240px}
}


/* FIX: dark-theme text leak into light simulation interiors.
   Cause: body/.tool-app inherit the dark theme's pale text (--ink #F2F5FF,
   --ink2 #D6DDF2, --muted #9AA6C3) while the earlier sim overrides only
   changed BACKGROUNDS to white/light-grey, never the text colour. So every
   plain heading/label/bubble/secondary line rendered pale-on-white.
   This block is scoped ONLY inside section.sim-section.view-active.
   Light panels get dark ink; dark panels are re-asserted light AFTER it,
   so the dark appbar, dark "Try it:" input panel, dark search bar and
   dark tour panel are NOT broken. Buttons, tool-marks, inputs and selects
   keep their own colours and are deliberately not in the dark list. */
section.sim-section.view-active .tool-app{color:#1E1B16}
section.sim-section.view-active .tool-identity h2,
section.sim-section.view-active .tool-sidebar h3,
section.sim-section.view-active .tool-sources h3,
section.sim-section.view-active .tool-studio h3,
section.sim-section.view-active .tool-output h3,
section.sim-section.view-active .tool-modelbar strong,
section.sim-section.view-active .sim-coach h4,
section.sim-section.view-active .sim-window-bar{color:#1E1B16}
section.sim-section.view-active .tool-identity p{color:#5A4F42 !important}
section.sim-section.view-active .tool-identity small,
section.sim-section.view-active .tool-sidebar small,
section.sim-section.view-active .sim-user-area small,
section.sim-section.view-active .tool-sources small,
section.sim-section.view-active .sim-model-note,
section.sim-section.view-active .sim-typing,
section.sim-section.view-active .sim-empty{color:#5A4F42}
section.sim-section.view-active .tool-sidebar,
section.sim-section.view-active .tool-modelbar,
section.sim-section.view-active .tool-chat,
section.sim-section.view-active .sim-bubble,
section.sim-section.view-active .sim-coach,
section.sim-section.view-active .tool-sources,
section.sim-section.view-active .tool-studio .tool-side,
section.sim-section.view-active .tool-studio .tool-output,
section.sim-section.view-active .sim-output,
section.sim-section.view-active .sim-desc,
section.sim-section.view-active .sim-results,
section.sim-section.view-active .tool-search-layout .tool-main,
section.sim-section.view-active .tool-layout .tool-main{color:#1E1B16}
section.sim-section.view-active .tool-app label{color:#1E1B16}
section.sim-section.view-active .tool-app a{color:#6D28D9}
section.sim-section.view-active .sim-output .quiz-feedback-bad{color:#B91C1C}
section.sim-section.view-active .sim-output .quiz-feedback-good{color:#0F766E}
section.sim-section.view-active .lock-note{color:#7A5A00}
/* Tour highlight: the highlight itself is a light cyan background, so the
   highlighted part's plain text must be dark while it is highlighted.
   Buttons/selects/tool-marks inside it keep their own colours. */
section.sim-section.view-active .tour-highlight{color:#1E1B16}
section.sim-section.view-active .tour-highlight p,
section.sim-section.view-active .tour-highlight h2,
section.sim-section.view-active .tour-highlight h3,
section.sim-section.view-active .tour-highlight strong,
section.sim-section.view-active .tour-highlight small,
section.sim-section.view-active .tour-highlight label,
section.sim-section.view-active .tour-highlight span:not(.tool-mark){color:#1E1B16}
/* DARK panels inside simulations — re-asserted light, AFTER the rules above.
   Appbar/banner, "Try it:" input panel, Perplexity search bar, tour panel. */
section.sim-section.view-active .tool-appbar,
section.sim-section.view-active .tool-appbar-sim,
section.sim-section.view-active .tool-appbar .explain-label,
section.sim-section.view-active .tool-main [data-tour-part="input"],
section.sim-section.view-active .tool-main [data-tour-part="input"] p,
section.sim-section.view-active .tool-main [data-tour-part="input"] strong,
section.sim-section.view-active .tool-search-layout [data-tour-part="searchbar"],
section.sim-section.view-active .tool-search-layout [data-tour-part="searchbar"] label,
section.sim-section.view-active .tour-panel,
section.sim-section.view-active .tour-panel .tour-step-text{color:#F2F5FF}
section.sim-section.view-active .tool-identity .tool-mark,
section.sim-section.view-active .tool-modelbar .tool-mark{color:#FFFFFF}
section.sim-section.view-active .tool-app .btn-ghost{color:#F2F5FF}

/* Tour-highlighted dark panels: the highlight turns their background light
   cyan, so their text must go dark ONLY while highlighted (this beats the
   dark-panel re-assertions above by specificity + order). */
section.sim-section.view-active .tool-main [data-tour-part="input"].tour-highlight,
section.sim-section.view-active .tool-main [data-tour-part="input"].tour-highlight p,
section.sim-section.view-active .tool-main [data-tour-part="input"].tour-highlight strong,
section.sim-section.view-active .tool-search-layout [data-tour-part="searchbar"].tour-highlight,
section.sim-section.view-active .tool-search-layout [data-tour-part="searchbar"].tour-highlight label{color:#1E1B16}

/* ==== AURORA LIGHT TECH ==== */
:root{--bg:#F7F9FF;--bg2:#EEF2FF;--ink:#12182B;--ink2:#1E2A44;--muted:#4B5568;--muted2:#64748B;--line:#DDE3F0;--line2:#CBD5E1;--card:#FFFFFF;--teal:#00B6D4;--teal-dark:#0891B2;--teal-light:#E0F7FC;--teal-deep:#7C3AED;--teal-mid:#A5F3FC;--sage:#0E9F6E;--sage-dark:#0E7A55;--sage-light:#D9F5E8;--grad:linear-gradient(135deg,#00B6D4,#7C3AED);--amber:#7C3AED;--amber-light:#EDE9FE;--amber-dark:#6D28D9;--coral:#EC4899;--coral-dark:#6D28D9;--coral-light:#FCE7F3;--shadow-sm:0 2px 10px rgba(18,24,43,.06);--shadow:0 10px 28px rgba(18,24,43,.10);--shadow-lg:0 18px 44px rgba(18,24,43,.12)}
h1,h2,h3,.logo b{font-family:"Fraunces",Georgia,serif;letter-spacing:0}
body{background-color:#F7F9FF;background-image:radial-gradient(560px 260px at 12% -4%,rgba(0,182,212,.18),transparent 60%),radial-gradient(560px 260px at 88% 2%,rgba(124,58,237,.16),transparent 60%),radial-gradient(420px 220px at 55% 0%,rgba(244,114,182,.10),transparent 60%);background-size:auto;color:#12182B}
a{color:#6D28D9}
::selection{background:#DDD6FE;color:#12182B}
/* Topbar / nav: light, clean tech */
.topbar{background:rgba(247,249,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid #DDE3F0}
.logo{color:#12182B}
.logo b span{background:linear-gradient(135deg,#00B6D4,#7C3AED);-webkit-background-clip:text;background-clip:text;color:transparent}
.nav{background:#EEF2FF;border:1px solid #DDE3F0}
.nav a{color:#4B5568}
.nav a:hover{color:#12182B;background:#FFFFFF;box-shadow:0 2px 10px rgba(18,24,43,.06)}
.nav a.active,.nav a[aria-current="page"]{background:linear-gradient(135deg,#00B6D4,#7C3AED)!important;color:#FFFFFF!important;font-weight:800}
/* Buttons: gradient primary, white ghost — no chunky yellow shadow */
.btn,.btn-primary,button{background:linear-gradient(135deg,#00B6D4,#7C3AED);color:#FFFFFF;box-shadow:0 8px 22px rgba(0,182,212,.22),0 8px 22px rgba(124,58,237,.18);border-color:transparent}
.btn:hover,.btn-primary:hover,button:hover{filter:brightness(1.08);background:linear-gradient(135deg,#00B6D4,#7C3AED);transform:translateY(-1px)}
.btn-ghost,.btn.secondary,button.secondary{background:#FFFFFF;color:#12182B;border:1px solid #DDE3F0;box-shadow:0 2px 10px rgba(18,24,43,.06)}
.btn-ghost:hover,.btn.secondary:hover,button.secondary:hover{background:linear-gradient(135deg,#00B6D4,#7C3AED);border-color:transparent;color:#fff}
.btn:focus-visible,button:focus-visible{outline:3px solid rgba(0,182,212,.45);outline-offset:2px}
/* Cards / sections: white, thin border, soft shadow, 16px corners */
.card,.lesson-block,.onboard-card,.plan-dashboard,.pathway-card,.price-card,.slide-card,.sim-card{border:1px solid #1D4ED8;border-radius:16px;box-shadow:0 2px 10px rgba(18,24,43,.06)}
.card-hover:hover{border-color:#A5F3FC;transform:translateY(-3px);box-shadow:0 10px 28px rgba(18,24,43,.10)}
.kicker{color:#6D28D9}
.section h2 em,.hero h1 em{color:#7C3AED}
.hero-badge em{color:#0891B2}
.pill{background:#E0F7FC;color:#0891B2}
.pill-amber{background:#EDE9FE;color:#6D28D9}
.badge{background:#1E2A5A;color:#fff;border:1px solid transparent}
.badge-free{background:#26A269;color:#fff;border-color:transparent}
.badge-pro{background:#12182B;color:#fff;border-color:#12182B}
.banner{background:#EEF2FF;border:1px solid #DDE3F0}
input:focus{border-color:#00B6D4;box-shadow:0 0 0 4px rgba(0,182,212,.18)}
.slide-progress span{background:linear-gradient(135deg,#00B6D4,#7C3AED)}
.slide-dot.active{background:#00B6D4}
.slide-dot.done{background:#7C3AED}
.quiz-feedback-good:before{content:"";letter-spacing:0}
.quiz-opt.quiz-correct{background:#D9F5E8!important;color:#0E7A55!important;border-color:#0E9F6E!important}
.quiz-feedback-good{color:#0E7A55}
.flash-back{background:#E0F7FC}
.flash-label{color:#0891B2}
.sim-banner{background:#EEF2FF;border:1px solid #DDE3F0}
.sim-opt.sim-selected{border-color:#00B6D4!important;background:#E0F7FC!important;color:#0891B2!important}
.step-num{background:#00B6D4}
.myth .myth-label{color:#6D28D9}
.rule-card{background:#E0F7FC;color:#12182B}
.rule-card b{color:#12182B}
footer{background:#FFFFFF;border-top:1px solid #DDE3F0}
footer a:hover{color:#0891B2}
.bottom-nav{background:#FFFFFF;border-top:1px solid #DDE3F0;box-shadow:0 -8px 24px rgba(18,24,43,.06)}
.bottom-nav a.active,.bottom-nav a.active span{color:#6D28D9}
/* Pricing: gradient featured card, no yellow */
.price-card.featured{border:2px solid transparent;background:linear-gradient(#FFFFFF,#FFFFFF) padding-box,linear-gradient(135deg,#00B6D4,#7C3AED) border-box;box-shadow:0 0 0 1px rgba(0,182,212,.15),0 20px 44px rgba(124,58,237,.20);transform:scale(1.02)}
.price-card.featured:hover{transform:scale(1.02) translateY(-3px)}
.pop{background:linear-gradient(135deg,#00B6D4,#7C3AED);color:#fff;box-shadow:0 8px 20px rgba(124,58,237,.35);transform:translateX(-50%)}
.price-card ul li .tick{background:#E0F7FC;color:#0891B2}
.certificate{border:2px solid transparent;background:linear-gradient(#FFFFFF,#FFFFFF) padding-box,linear-gradient(135deg,#00B6D4,#7C3AED) border-box}
/* Final CTA: gradient accent block only (not a dark page theme) */
.final-cta{background:linear-gradient(135deg,#0891B2,#7C3AED);color:#FFFFFF}
.final-cta h2 em{color:#A5F3FC}
.final-cta p{color:#E0E7FF}
/* Hero: light aurora panel, gradient shapes only, no photo */
.hero{background:radial-gradient(600px 280px at 85% 0%,rgba(0,182,212,.14),transparent 60%),radial-gradient(520px 260px at 8% 10%,rgba(124,58,237,.13),transparent 60%)}
.hero-panel{border-radius:16px;overflow:hidden;min-height:340px;display:grid;place-items:center;background:linear-gradient(135deg,#FFFFFF,#EEF2FF 55%,#E0F7FC);border:1px solid #1D4ED8;box-shadow:0 10px 28px rgba(18,24,43,.10)}
.hero-panel:before{display:none}
.hero-panel-inner{position:relative;display:flex;flex-direction:column;gap:14px;padding:28px;width:100%}
.aurora-panel-kicker{font-size:11px;letter-spacing:.14em;font-weight:800;color:#6D28D9;margin:0}
.aurora-panel-title{font-family:"Fraunces",Georgia,serif;font-size:26px;font-weight:700;line-height:1.2;color:#12182B;margin:0}
.aurora-steps{display:grid;gap:10px}
.aurora-step{background:#FFFFFF;border:1px solid #DDE3F0;border-radius:14px;padding:12px 14px}
.aurora-step b{display:block;font-size:14px}
.aurora-step span{font-size:13px;color:#4B5568}
.aurora-panel-note{font-size:13.5px;color:#4B5568;margin:0;line-height:1.6}
.hero-img{border:1px solid #DDE3F0;border-radius:16px;box-shadow:0 10px 28px rgba(18,24,43,.10);background:#FFFFFF}
/* Simulation chrome: light tech banner; interiors stay neutral/readable */
section.sim-section.view-active .tool-appbar{background:#FFFFFF;color:#12182B;border-bottom:1px solid #DDE3F0}
section.sim-section.view-active .tool-appbar-sim{background:#EEF2FF;color:#12182B;border:1px solid #DDE3F0}
section.sim-section.view-active .tool-appbar .explain-label{color:#12182B}
section.sim-section.view-active .tour-panel{background:#FFFFFF;border-top:1px solid #DDE3F0}
section.sim-section.view-active .tour-panel,section.sim-section.view-active .tour-panel .tour-step-text{color:#12182B}
section.sim-section.view-active .tool-main [data-tour-part="input"]{background:#FFFFFF}
section.sim-section.view-active .tool-search-layout [data-tour-part="searchbar"]{background:#FFFFFF}
/* Neutral sim buttons, re-asserted LAST: New chat white/grey, Send dark neutral */
section.sim-section.view-active .sim-newchat{background:#FFFFFF;color:#1E1B16;border:1px solid #D8D8D2;box-shadow:none}
section.sim-section.view-active .sim-newchat:hover{background:#F4F4F2;color:#1E1B16;transform:none}
section.sim-section.view-active .sim-send{background:#1E1B16;color:#FFFFFF;border:1px solid #1E1B16;box-shadow:none}
section.sim-section.view-active .sim-send:hover{background:#3D332A;color:#FFFFFF;transform:none}
/* Aurora sim-panel text (after readability fix): light panels get dark text */
section.sim-section.view-active .tool-main [data-tour-part="input"],section.sim-section.view-active .tool-main [data-tour-part="input"] p,section.sim-section.view-active .tool-main [data-tour-part="input"] strong,section.sim-section.view-active .tool-search-layout [data-tour-part="searchbar"],section.sim-section.view-active .tool-search-layout [data-tour-part="searchbar"] label,section.sim-section.view-active .tool-app .btn-ghost{color:#12182B}
section.sim-section.view-active .step-num{background:#00B6D4}

/* --- Reference-style Home: dark hero, light sections, pastel cards ---
   Scoped to site chrome / Home only. Nothing here touches an open
   simulation interior: sim view rules above keep their own colours,
   and this block sets no generic button/input/text colour inside
   section.sim-section.view-active. */
.topbar{background:#0B1B4D!important;border-bottom:1px solid #1E2A5A}
.topbar .logo{color:#FFFFFF}
.topbar .logo small{color:#C7D2FE}
.topbar .nav{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.22)}
.topbar .nav a{color:#C7D2FE}
.topbar .nav a:hover{background:#FFFFFF;color:#12182B;box-shadow:none}
footer{background:#0B1B4D;color:#C7D2FE;border-top:1px solid #1E2A5A}
footer h4{color:#FFFFFF}
footer a{color:#C7D2FE}
footer a:hover{color:#FFFFFF}
footer .footer-bottom{color:#94A3D8}
.bottom-nav{background:#FFFFFF}
.hero-dark{background:linear-gradient(135deg,#0B1B4D 0%,#1E1B7A 55%,#5B21B6 100%);border-radius:24px;padding:24px 48px;margin-top:24px;color:#FFFFFF;overflow:hidden;position:relative}
.hero-dark .hero-grid{gap:40px}
.hero-dark h1{color:#FFFFFF;font-size:clamp(40px,5vw,56px);line-height:.95;margin:16px 0 14px}
.hero-dark h1 em{color:#A5F3FC}
.hero-dark .hero-sub{color:#E0E7FF;font-size:17px;max-width:520px;margin-bottom:20px}
.hero-badge-dark{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);color:#FFFFFF}
.hero-badge-dark em{color:#A5F3FC}
.hero-dark .pill-dark{background:rgba(255,255,255,.14);color:#FFFFFF}
.hero-dark .plan-line-dark{color:#C7D2FE}
.hero-dark a.btn-ghost.hero-cta-dark{background:transparent;color:#FFFFFF;border:1px solid rgba(255,255,255,.45);box-shadow:none}
.hero-dark a.btn-ghost.hero-cta-dark:hover{border-color:#FFFFFF;color:#FFFFFF}
.hero-mascot-img{width:100%;height:auto;border-radius:20px;box-shadow:0 18px 44px rgba(0,0,0,.35);display:block}
.know-section{padding-top:48px}
.know-grid{display:grid;grid-template-columns:340px 1fr;gap:36px;align-items:center}
.know-img-wrap{background:linear-gradient(180deg,#1E3A8A,#312E81);border-radius:20px;padding:20px 20px 0;overflow:hidden;text-align:center}
.know-img{height:480px;width:auto;max-width:100%;margin:0 auto;border-radius:12px 12px 0 0}
.pastel-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.pastel-stat{border-radius:16px;padding:18px}
.pastel-stat b{display:block;font-size:32px;line-height:1;color:#12182B}
.pastel-stat span{display:block;font-weight:800;color:#12182B;margin-top:4px}
.pastel-stat small{display:block;color:#4B5568;font-size:13px;line-height:1.4;margin-top:2px}
.pastel-violet{background:#EDE9FE}
.pastel-cyan{background:#E0F7FC}
.pastel-pink{background:#FCE7F3}
.pastel-teal{background:#D9F5E8}
.tool-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.tool-card{text-align:center;border:1px solid #1D4ED8}
.tool-card .tool-mark{margin:0 auto 12px}
.tool-card .tool-logo{margin:0 auto 12px}
.tool-card h3{margin:8px 0 2px}
.tool-card p{margin:4px 0;color:#4B5568;font-size:14px;line-height:1.5}
.tool-note{font-size:13.5px;color:#4B5568;margin-top:14px;line-height:1.6}
.featured-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.featured-card .icon{font-size:28px}
@media(max-width:900px){
  .hero-dark{padding:32px 24px}
  .know-grid{grid-template-columns:1fr}
  .know-img{height:420px}
  .tool-row,.featured-row{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .pastel-stats,.tool-row,.featured-row{grid-template-columns:1fr}
  .know-img{height:360px}
}
/* Re-assert sim interior neutrality LAST (after the site-theme block above):
   open simulations keep neutral buttons and dark-on-light panel text. */
section.sim-section.view-active .sim-newchat{background:#FFFFFF;color:#1E1B16;border:1px solid #D8D8D2;box-shadow:none}
section.sim-section.view-active .sim-send{background:#1E1B16;color:#FFFFFF;border:1px solid #1E1B16;box-shadow:none}

/* FIX: hero float cards legible — solid white, dark text, fully inside hero */
.hero-dark .float-card{background:#FFFFFF;color:#12182B;border:1px solid #DDE3F0;box-shadow:0 14px 30px rgba(0,0,0,.35);max-width:290px;padding:13px 15px;z-index:3}
.hero-dark .float-card.fc1{top:14px;left:14px}
.hero-dark .float-card.fc2{bottom:14px;right:14px}
.hero-dark .float-card b{font-size:15px;line-height:1.35;color:#12182B}
.hero-dark .float-card span{font-size:13px;line-height:1.4;color:#475569}
@media(max-width:640px){.hero-dark .float-card{max-width:240px;padding:11px 13px}.hero-dark .float-card b{font-size:14px}}

/* EXACT MASCOT SWAP — use only /assets/mascot.webp (115x230, light background).
   Kept small so it stays sharp; never stretched to full hero width. */
.hero-mascot-col{display:flex;flex-direction:column;gap:16px;align-items:stretch}
.hero-mascot-card{background:#EFF6F3;border-radius:20px;padding:16px;text-align:center;box-shadow:0 18px 44px rgba(0,0,0,.35)}
.hero-mascot-card .hero-mascot-img{width:auto;height:300px;max-width:100%;border-radius:12px;box-shadow:none;display:inline-block}
.hero-floats{display:flex;flex-direction:column;gap:12px}
/* Float cards are NOT overlaid any more — they sit below the light mascot card,
   so they can never cover the mascot's face. */
.hero-dark .hero-floats .float-card{position:static;max-width:none;width:100%}
/* Get to know: light panel to match the mascot's own light background,
   modest height so the small source stays sharp. */
.know-img-wrap{background:#EFF6F3;border-radius:20px;padding:20px;text-align:center;overflow:hidden}
.know-img{height:360px;width:auto;max-width:100%;margin:0 auto;border-radius:12px}
@media(max-width:900px){.know-img{height:320px}}
@media(max-width:560px){.know-img{height:300px}.hero-mascot-card .hero-mascot-img{height:280px}}

/* Re-assert sim interior neutrality LAST (after the exact-mascot block above):
   open simulations keep neutral buttons and dark-on-light panel text. */
section.sim-section.view-active .sim-newchat{background:#FFFFFF;color:#1E1B16;border:1px solid #D8D8D2;box-shadow:none}
section.sim-section.view-active .sim-send{background:#1E1B16;color:#FFFFFF;border:1px solid #1E1B16;box-shadow:none}

/* MASCOT ONLY, NO BACKGROUND — transparent cutouts, different poses */
.hero-mascot-card{background:transparent !important;border-radius:0;padding:0;box-shadow:none;text-align:center}
.hero-mascot-card .hero-mascot-img{height:320px;width:auto;border-radius:0;box-shadow:none;filter:drop-shadow(0 18px 24px rgba(0,0,0,.45))}
.know-img-wrap{background:transparent !important;border-radius:0;padding:0;overflow:visible;text-align:center}
.know-img{height:360px;width:auto;border-radius:0;filter:drop-shadow(0 14px 20px rgba(0,0,0,.25))}
@media(max-width:900px){.know-img{height:320px}}
@media(max-width:560px){.know-img{height:300px}.hero-mascot-card .hero-mascot-img{height:320px}}

/* HUMAN TYPE — Fraunces serif headings, plain system sans body, normal spacing */
h1,h2,h3,.logo b,.page-head h1,.hero h1,.section h2,.card h2,.card h3,.aurora-panel-title{letter-spacing:0}
.kicker,.aurora-panel-kicker{letter-spacing:.02em}
h1,h2,h3{line-height:1.15}
.tool-logo[src$="logo-midjourney.svg"]{padding:2px}
.tool-modelbar .tool-logo[src$="logo-midjourney.svg"]{padding:2px}

/* Prompt Library, Advisor, Compare selector, Business (new features). */
.prompt-text{white-space:pre-wrap;background:var(--bg2,#F7F9FF);border:1px solid var(--line,#E5E7EB);border-radius:12px;padding:14px;line-height:1.6;font-size:14px}
.advisor-form fieldset{border:0;margin:0 0 14px;padding:0}
.advisor-form legend{font-weight:700;margin-bottom:6px}
.advisor-form label{display:block;margin:4px 0}
.compare-picker label{display:block;margin:6px 0}
.compare-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.compare-filters .btn-active{background:var(--ink,#12182B);color:#fff}
@media(max-width:900px){.compare-grid{grid-template-columns:1fr}}

/* Enhanced layout: Prompt Library, Business, Advisor, Compare. Palette only, no new theme or font. */
.prompts-hero, .business-hero { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: 28px 28px 22px; margin-top: 20px; }
.prompts-hero h1, .business-hero h1 { margin-bottom: 10px; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 0; }
.hero-chips span { font-size: 13px; font-weight: 700; background: var(--card); border: 1px solid var(--line2); border-radius: 999px; padding: 6px 12px; color: var(--ink); }
.prompt-group { margin: 56px 0 4px; font-size: 20px; color: #1D4ED8; }
.prompt-group:first-of-type { margin-top: 56px; }
.prompt-grid { margin-top: 10px; }
.prompt-card, .area-card { display: flex; flex-direction: column; padding: 22px; }
.prompt-card h3, .area-card h3 { font-size: 20px; color: var(--ink); }
.prompt-for { flex: 1; }
.prompt-card .btn, .area-card .btn { align-self: flex-start; margin-top: auto; }
.prompt-num, .area-num { font-family: "Fraunces", Georgia, serif; font-size: 26px; font-weight: 700; color: var(--teal-dark); line-height: 1; margin-bottom: 10px; }
.prompt-detail h2 { font-size: 30px; margin: 8px 0 6px; }
.prompt-detail > p:not(.view-back) { max-width: 680px; }
.prompt-text { background: var(--card); border: 1px solid var(--line2); border-left: 5px solid var(--teal); border-radius: 12px; padding: 20px; line-height: 1.75; font-size: 15.5px; box-shadow: var(--shadow-sm); }
.prompt-detail .btn { padding: 15px 28px; }
.prompt-tip { background: var(--amber-light); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 16px; max-width: 680px; }
.prompt-tip small { color: var(--ink); font-size: 14px; }
.area-card { min-height: 170px; }
.workflow-steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 14px; }
.wf-step { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--card); }
.wf-step p { margin: 0; }
.wf-label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; color: var(--muted); }
.wf-check { background: var(--sage-light); border: 2px solid var(--sage); }
.wf-check .wf-label { color: var(--sage-dark); }
.workflow-detail .workflow-steps { margin: 18px 0; }
.workflow-detail .wf-step { padding: 18px; }
.advisor-form { padding: 24px; }
.advisor-form fieldset { margin-bottom: 20px; }
.advisor-form legend { font-size: 16px; margin-bottom: 10px; }
.advisor-form label { display: flex; align-items: flex-start; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; margin: 8px 0; cursor: pointer; }
.advisor-form label input { margin-top: 4px; accent-color: var(--teal-dark); }
#advisor-results .list-grid { gap: 16px; }
.advisor-card { display: flex; flex-direction: column; padding: 22px; }
.advisor-card .btn { margin-top: auto; align-self: flex-start; }
.compare-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#compare-search { width: 100%; max-width: 420px; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 12px; font-size: 15px; }
.compare-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 20px; }
.compare-picker label { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0; cursor: pointer; }
.compare-picker label input { margin-top: 4px; accent-color: var(--teal-dark); }
#compare-message:not(:empty) { background: var(--amber-light); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 16px; font-weight: 700; color: var(--ink); }
.compare-grid { align-items: stretch; gap: 16px; }
.compare-card { display: flex; flex-direction: column; }
.compare-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) {
  .workflow-steps { grid-template-columns: 1fr; }
  .compare-picker { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .prompts-hero, .business-hero { padding: 22px 18px 18px; }
  .prompt-detail .btn, .advisor-form .btn { width: 100%; }
  .area-card { min-height: 0; }
}
.advisor-form label, .compare-picker label { justify-content: flex-start; text-align: left; }
.advisor-form label input, .compare-picker label input { flex-shrink: 0; }

/* Mascot guides: beside (never over) the heading text, no background card, drop shadow only. */
.mascot-guide{display:flex;align-items:flex-end;gap:24px}
.mascot-guide-text{flex:1;min-width:0}
.mascot-guide-img{flex:0 0 auto;height:240px;width:auto;filter:drop-shadow(0 14px 20px rgba(0,0,0,.25))}
.mascot-guide-img.sm{height:170px}
@media(max-width:640px){.mascot-guide{gap:12px}.mascot-guide-img{height:150px}.mascot-guide-img.sm{height:120px}}

/* Italic text made upright, colours kept */
em{font-style:normal}


/* Slim Home: one short stats line, no Get to know block */
.home-stats-line{text-align:center;color:var(--muted);font-weight:700;font-size:15px;margin:24px 0 0}

/* Onboarding dropdown: one question, one list, then Next */
.onboard-select{width:100%;max-width:520px;padding:13px 14px;border:1.5px solid var(--line2);border-radius:12px;font:inherit;font-size:15px;background:var(--card);color:var(--ink)}
.onboard-next:disabled{opacity:.45;cursor:default}

/* Lessons list: big numbers, clear cards, full-width buttons */
.lesson-list{grid-template-columns:repeat(2,1fr);gap:18px}
.lesson-list .lesson-card{padding:22px 22px 22px 92px;min-height:132px}
.lesson-list .lesson-num{position:absolute;left:22px;top:20px;font-family:Fraunces,Georgia,serif;font-size:44px;line-height:1;font-weight:700;color:#1E2A5A}
.lesson-list .lesson-card h3{font-size:22px;margin:10px 0 6px}
.lesson-list .lesson-card .btn{width:100%;justify-content:center;margin-top:6px}
.lesson-progress{color:var(--muted);font-weight:700;margin:8px 0 0}
/* Lesson tabs: Slides | Quiz | Flashcards, one part at a time */
.lesson-tabs{display:flex;gap:8px;margin:20px 0 16px;border-bottom:2px solid var(--line);padding-bottom:0}
.lesson-tab{appearance:none;border:0;border-bottom:3px solid transparent;background:transparent;padding:10px 16px;font:inherit;font-weight:700;color:var(--muted);cursor:pointer}
.lesson-tab.tab-active{color:var(--ink);border-bottom-color:#1E2A5A}
.lesson-tab-panel{display:none}
.lesson-tab-panel.panel-active{display:block}

/* Section kickers: larger and easier to read site-wide */
.kicker{font-size:14px;letter-spacing:.02em}

/* Kickers, stronger: pill background so the small title reads as a label, not faint text */
.kicker{font-size:15px;letter-spacing:.03em;background:#EDE9FE;color:#5B21B6;padding:7px 14px;border-radius:999px}

/* Kickers, final colour chosen by Saeed: warm amber pill */
.kicker{font-size:15px;letter-spacing:.03em;background:#FEF3C7;color:#92400E;padding:7px 14px;border-radius:999px}

/* Kickers, trial colour: black pill, white text */
.kicker{font-size:15px;letter-spacing:.03em;background:#000000;color:#FFFFFF;padding:7px 14px;border-radius:999px}

/* Kickers: dark blue pill, white text, chosen by Saeed */
.kicker{font-size:15px;letter-spacing:.03em;background:#1E2A5A;color:#FFFFFF;padding:7px 14px;border-radius:999px}
/* Your Plan dashboard: clearer reading, no cramped summary line */
.plan-dashboard h3{font-size:26px}
.plan-dashboard p{line-height:1.65;overflow-wrap:break-word}
.plan-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:#F4F6FB;border:1px solid #1D4ED8;border-radius:12px;padding:12px 14px}
.plan-summary .plan-change{margin-left:auto}
.plan-progress .slide-progress{height:12px;background:#DDE3F0}

/* Kickers: true dark blue, lighter than navy, white text */
.kicker{font-size:15px;letter-spacing:.03em;background:#1D4ED8;color:#FFFFFF;padding:7px 14px;border-radius:999px}

/* Advisor dropdowns: one clean row per question, no stacked radio lists */
.advisor-form label{display:block;font-weight:700;margin-bottom:14px}
.advisor-form .onboard-select{margin-top:8px}

/* Finder: clear breathing space before the Pick a tool section */
.tool-list-head{margin-top:56px}

/* Advisor dropdowns, clean layout: question on top, dropdown full width below, no boxed row around each one */
.advisor-form > label{display:block;background:none;border:0;border-radius:0;padding:0;margin:0 0 18px;cursor:default}
.advisor-form > label .onboard-select{display:block;width:100%;max-width:520px;margin-top:8px}

/* Footer disclaimer note, site-wide */
.footer-note{color:var(--muted);margin:16px 0 0}

/* Simulations cards: smaller plan badge, sitting next to the tool name */
.badge-sm{font-size:11px;padding:4px 9px;letter-spacing:.02em}

/* Tool cards: more breathing space between the logo and the text beside it */
.sim-head{gap:24px}

/* Simulations list buttons: smaller, and pushed down away from the logo/text above */
.sim-btn{font-size:13px;padding:9px 16px;min-height:38px;margin-top:12px}

/* Simulations grouped list: one clean row per tool, not competing cards */
.sim-group-head{margin:32px 0 12px}
.sim-list{display:flex;flex-direction:column;gap:12px}
.sim-row{display:flex;align-items:center;gap:24px;background:var(--card);border:1px solid #1D4ED8;border-radius:16px;box-shadow:0 2px 10px rgba(18,24,43,.06);padding:20px 22px}
.sim-row-text{flex:1;min-width:0}
.sim-row .sim-btn{margin-top:0;flex-shrink:0}
@media(max-width:640px){.sim-row{flex-wrap:wrap}.sim-row .sim-btn{width:100%}}

/* ChatGPT simulation: closer to the real ChatGPT layout (sidebar, top model bar,
   centred empty greeting, rounded composer, user messages on the right).
   The not-real banner above stays in place. Other tools are untouched. */
.tool-app-chat .tool-sidebar{background:#F9F9F9}
.tool-app-chat .chat-side-top{display:flex;align-items:center;gap:10px;font-size:17px;padding:2px 4px}
.tool-app-chat .chat-side-top .tool-logo{width:32px;height:32px;border:0;box-shadow:none;padding:0;border-radius:0}
.tool-app-chat .chat-newchat{width:100%;justify-content:flex-start;background:#fff;border:1px solid #E5E5E0}
.tool-app-chat .sim-search{width:100%;padding:10px 12px;border:1px solid #E5E5E0;border-radius:999px;background:#fff;font-size:14px}
.tool-app-chat .chat-side-label{font-size:13px;font-weight:700;color:#6B7280;margin:8px 4px 0}
.tool-app-chat .tool-modelbar{padding:10px 16px 12px}
.tool-app-chat .chat-model{display:flex;align-items:center;gap:6px;font-size:17px}
.tool-app-chat .chat-model .sim-model{border:0;background:transparent;font-size:15px;font-weight:600;padding:4px 2px}
.tool-app-chat .sim-model-note{margin-left:auto;font-size:12px;color:#6B7280}
.tool-app-chat .sim-greeting{display:flex;align-items:center;justify-content:center;padding:64px 16px 24px}
.tool-app-chat .sim-greeting h2{font-size:32px;font-weight:600;margin:0;text-align:center}
.tool-app-chat .sim-history{display:flex;flex-direction:column}
.tool-app-chat .sim-bubble.sim-user{margin-left:auto;background:#F4F4F4;border-radius:20px;padding:10px 18px;max-width:75%}
.tool-app-chat .sim-bubble.sim-assistant{background:transparent;padding:10px 4px}
.tool-app-chat .chat-input-row{border:1px solid #E5E5E0;border-radius:28px;padding:10px 10px 10px 18px;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.06);align-items:center}
.tool-app-chat .chat-input-row .sim-input{border:0;outline:none;resize:none;box-shadow:none}
.tool-app-chat .chat-input-row .sim-send{width:36px;height:36px;min-width:36px;border-radius:50%;background:#000;color:#fff;padding:0;font-size:20px;line-height:1}
.tool-app-chat .sim-chips{display:flex;flex-wrap:wrap;gap:8px}

/* Perplexity: centred answer column and pill search, like the real search layout */
.tool-app-perplexity .tool-search-layout .tool-main{max-width:760px;margin:0 auto;width:100%}
.tool-app-perplexity .sim-input-row{border:1px solid #E5E5E0;border-radius:28px;padding:10px 10px 10px 18px;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.06);align-items:center}
.tool-app-perplexity .sim-input-row .sim-input{border:0;outline:none;resize:none;box-shadow:none}
/* Midjourney: prompt studio with a cleaner output panel, like the real web editor */
.tool-app-midjourney .tool-studio .tool-output{background:#F9F9F9}

/* Locked simulation screen: a clear explanation and a way to upgrade, not a blank page */
.sim-locked{display:none}
.sim-section.locked .sim-locked{display:block;padding:8px 0 24px}
.sim-locked h2{margin:0 0 8px}

/* Prompt Library rebuild: steps strip, search + filters, one clean row per prompt */
.prompt-steps{display:flex;flex-wrap:wrap;gap:8px 24px;background:var(--card);border:1px solid #1D4ED8;border-radius:16px;padding:16px 20px;margin:20px 0 16px;font-size:15px}
.prompt-search-label{display:block;font-weight:700;margin:16px 0 4px}
.prompt-search-label input{display:block;width:100%;max-width:520px;margin-top:8px;padding:12px 14px;border:1px solid var(--line,#E5E7EB);border-radius:12px;font-size:16px;font-weight:400}
.prompt-filters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px}
.prompt-filter.filter-active{background:#1E2A5A;color:#fff;border-color:#1E2A5A}
.prompt-list{display:flex;flex-direction:column;gap:12px}
.prompt-row{display:flex;gap:20px;align-items:flex-start;background:var(--card);border:1px solid #1D4ED8;border-radius:16px;box-shadow:0 2px 10px rgba(18,24,43,.06);padding:20px 22px}
.prompt-row .prompt-num{margin-bottom:0;flex-shrink:0}
.prompt-row-text{flex:1;min-width:0}
.prompt-row-text h3{font-size:20px}
.prompt-row-text .prompt-for{margin:4px 0 0;color:var(--muted)}
.prompt-row > .btn{flex-shrink:0}
.prompt-expand{margin-top:12px}
.prompt-expand summary{cursor:pointer;font-weight:700}
.prompt-expand .prompt-text{margin-top:10px}
.prompt-expand-img{max-height:140px;width:auto;margin:10px 0 0}
@media(max-width:640px){.prompt-row{flex-wrap:wrap}.prompt-row > .btn{width:100%}}

/* Business rebuild: area picker, task cards, pilot checklist */
.biz-progress{font-weight:700;margin:20px 0 4px}
.biz-area{cursor:pointer;text-align:left;font:inherit}
.biz-area-go{display:block;margin-top:auto;font-weight:700;color:#1D4ED8}
.biz-area.biz-area-active{outline:2px solid #1D4ED8;outline-offset:2px}
.biz-task{margin:16px 0;padding:22px}
.biz-task .workflow-steps{margin:14px 0}
.biz-task .prompt-text{margin:14px 0}
.biz-area-label{color:#1D4ED8;font-weight:700;margin:0 0 4px}
.biz-done{color:#26A269;font-size:16px}
.biz-checks{margin-top:14px}
.biz-checks label{display:block;margin:6px 0}
.biz-checks input{flex-shrink:0}
@media(max-width:640px){.biz-task .btn{width:100%}}

/* Hover fix: card-style buttons must not take the site-wide button gradient on hover, or their dark text becomes unreadable on it */
.biz-area:hover{filter:none;transform:none;color:#fff}
.biz-area:hover .area-num,.biz-area:hover h3,.biz-area:hover p,.biz-area:hover .biz-area-go{color:#fff}
.biz-area[data-biz-area="sales"]:hover{background:#1D4ED8}
.biz-area[data-biz-area="office"]:hover{background:#0891B2}
.biz-area[data-biz-area="support"]:hover{background:#26A269}
.biz-area[data-biz-area="small"]:hover{background:#6D28D9}
.biz-area[data-biz-area="automation"]:hover{background:#B45309}
.biz-area[data-biz-area="governance"]:hover{background:#1E2A5A}
.lesson-tab:hover{background:transparent;filter:none;transform:none}

/* Business optimization: collapsible task rows, links instead of stacked buttons */
.biz-summary{cursor:pointer;list-style:none}
.biz-summary::-webkit-details-marker{display:none}
.biz-caret{display:inline-block;margin-left:8px;transition:transform .2s}
.biz-task[open] .biz-caret{transform:rotate(180deg)}
.biz-links{margin:10px 0 0}

/* Business design: one accent colour per area, carried into its task row; tinted workflow steps */
.biz-area[data-biz-area="sales"] .area-num{color:#1D4ED8}
.biz-area[data-biz-area="office"] .area-num{color:#0891B2}
.biz-area[data-biz-area="support"] .area-num{color:#26A269}
.biz-area[data-biz-area="small"] .area-num{color:#6D28D9}
.biz-area[data-biz-area="automation"] .area-num{color:#B45309}
.biz-area[data-biz-area="governance"] .area-num{color:#1E2A5A}
.biz-task[data-biz-task-area="sales"] .biz-area-label{color:#1D4ED8}
.biz-task[data-biz-task-area="office"] .biz-area-label{color:#0891B2}
.biz-task[data-biz-task-area="support"] .biz-area-label{color:#26A269}
.biz-task[data-biz-task-area="small"] .biz-area-label{color:#6D28D9}
.biz-task[data-biz-task-area="automation"] .biz-area-label{color:#B45309}
.biz-task[data-biz-task-area="governance"] .biz-area-label{color:#1E2A5A}
.biz-task .wf-input{background:#EFF6FF}
.biz-task .wf-ai{background:#F5F3FF}
.biz-summary{padding:6px 10px;margin:-6px -10px;border-radius:10px}
.biz-summary:hover{color:#fff}
.biz-summary:hover .biz-area-label,.biz-summary:hover h3,.biz-summary:hover .biz-task-desc,.biz-summary:hover .biz-caret,.biz-summary:hover .biz-done{color:#fff}
.biz-task[data-biz-task-area="sales"] .biz-summary:hover{background:#1D4ED8}
.biz-task[data-biz-task-area="office"] .biz-summary:hover{background:#0891B2}
.biz-task[data-biz-task-area="support"] .biz-summary:hover{background:#26A269}
.biz-task[data-biz-task-area="small"] .biz-summary:hover{background:#6D28D9}
.biz-task[data-biz-task-area="automation"] .biz-summary:hover{background:#B45309}
.biz-task[data-biz-task-area="governance"] .biz-summary:hover{background:#1E2A5A}

/* Business tasks list redesign: tinted cards, badge + title + description header, dark titles */
.biz-task[data-biz-task-area="sales"]{background:#EFF6FF}
.biz-task[data-biz-task-area="office"]{background:#ECFEFF}
.biz-task[data-biz-task-area="support"]{background:#F0FDF4}
.biz-task[data-biz-task-area="small"]{background:#F5F3FF}
.biz-task[data-biz-task-area="automation"]{background:#FFFBEB}
.biz-task[data-biz-task-area="governance"]{background:#EEF2FF}
.biz-task[data-biz-task-area="sales"] .biz-num{background:#1D4ED8}
.biz-task[data-biz-task-area="office"] .biz-num{background:#0891B2}
.biz-task[data-biz-task-area="support"] .biz-num{background:#26A269}
.biz-task[data-biz-task-area="small"] .biz-num{background:#6D28D9}
.biz-task[data-biz-task-area="automation"] .biz-num{background:#B45309}
.biz-task[data-biz-task-area="governance"] .biz-num{background:#1E2A5A}
.biz-summary{display:flex;align-items:center;gap:16px;color:#12182B}
.biz-summary h3{color:#12182B;font-size:22px}
.biz-num{flex-shrink:0;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:18px}
.biz-summary-text{flex:1;min-width:0}
.biz-task-desc{color:var(--muted);margin:4px 0 0;font-size:15px}
.biz-caret{margin-left:auto;flex-shrink:0;font-size:20px}
@media(max-width:640px){.biz-num{width:36px;height:36px;font-size:16px}.biz-summary h3{font-size:20px}}
.biz-summary-text .biz-task-desc{margin:4px 0 0}

/* Anchor ghost buttons (e.g. Sign up free) must also get white hover text: the plain class rule alone did not win for links in the live check */
a.btn-ghost:hover,a.btn.secondary:hover{background:linear-gradient(135deg,#00B6D4,#7C3AED);border-color:transparent;color:#fff}

/* friendlyAI logo lockup: wordmark must stay readable on the dark footer */
footer .logo{color:#FFFFFF}

/* Organized footer: readable disclaimer, bottom bar with back-to-top on the right */
.footer-note{color:#C7D2FE;font-size:13.5px;line-height:1.6;max-width:1400px;margin:24px auto 0;padding:0 32px}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.footer-top-link{font-weight:700;color:#FFFFFF;white-space:nowrap}

/* Auth tabs: one form at a time, no JavaScript needed */
.auth-tabs input[type="radio"]{position:absolute;opacity:0;pointer-events:none}
.auth-tabs .lesson-tab{display:inline-block;cursor:pointer}
.auth-panel{display:none;margin-top:16px}
#auth-tab-signin:checked ~ #auth-panel-signin{display:block}
#auth-tab-signup:checked ~ #auth-panel-signup{display:block}
#auth-tab-signin:checked ~ label[for="auth-tab-signin"],#auth-tab-signup:checked ~ label[for="auth-tab-signup"]{background:var(--navy);color:#fff}

/* Auth tabs as real colored buttons, both visible at all times */
.auth-tabs{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.auth-tabs .lesson-tab{border:1px solid #1D4ED8;background:#EAF4FF;color:#1E2A5A;border-radius:999px;padding:10px 22px;border-bottom:1px solid #1D4ED8}
.auth-tabs .lesson-tab:hover{background:#DBEAFE;filter:none;transform:none}
#auth-tab-signin:checked ~ label[for="auth-tab-signin"],#auth-tab-signup:checked ~ label[for="auth-tab-signup"]{background:linear-gradient(135deg,#00B6D4,#7C3AED);color:#fff;border-color:transparent}
#auth-tab-signin:checked ~ label[for="auth-tab-signin"]:hover,#auth-tab-signup:checked ~ label[for="auth-tab-signup"]:hover{background:linear-gradient(135deg,#00B6D4,#7C3AED)}
.auth-tabs .auth-panel{flex-basis:100%}

/* Signed-in header account chip: replaces the Sign up free button with the account email. */
.topbar-cta.account-chip{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:640px){.topbar-cta.account-chip{max-width:140px}}

/* Account panel on the auth page: keep its buttons spaced. */
#account-panel .btn{margin-right:10px}

/* Header account dropdown menu. Hidden by default; shown by the header button when signed in. */
.account-menu-wrap{position:relative}
.account-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:70;min-width:250px;background:var(--card);border:1px solid #1D4ED8;border-radius:12px;box-shadow:0 12px 30px rgba(18,24,43,.18);padding:8px}
.account-menu-head{padding:10px 12px 12px;border-bottom:1px solid #DDE3F0;margin-bottom:8px}
.account-menu-email{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:4px}
.account-menu a,.account-menu button{display:block;width:100%;text-align:left;padding:10px 12px;border-radius:8px;color:#12182B;background:none;border:none;box-shadow:none;font:inherit;cursor:pointer;text-decoration:none}
.account-menu a:hover,.account-menu button:hover{background:#EAF4FF}
.account-menu button:disabled{opacity:.6;cursor:default}
@media (max-width:820px){.account-menu-wrap{align-self:flex-start}.account-menu{left:0;right:auto}}

/* Profile circle button in the header, shown instead of the email link when signed in. */
.account-avatar-btn:not([hidden]){display:flex;align-items:center;gap:8px;background:none;border:none;box-shadow:none;cursor:pointer;padding:4px}
.account-avatar-btn:hover{background:none;box-shadow:none}
.avatar-circle{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#00B6D4,#7C3AED);color:#fff;display:grid;place-items:center;font-weight:800;font-size:18px;flex-shrink:0}
.avatar-circle-sm{width:36px;height:36px;font-size:16px}
.avatar-arrow{color:#fff;font-size:14px}
.account-menu{min-width:260px;border-radius:14px;padding:10px}
.account-menu-head{display:flex;align-items:center;gap:10px;padding:10px 12px 12px}
.account-menu-head-text{display:block;min-width:0}
.account-menu-head-text .account-menu-email{margin-bottom:4px}
.account-menu a,.account-menu button{font-size:15px;padding:11px 12px}
.account-menu-divider{height:1px;background:#DDE3F0;margin:8px 0}
.account-menu-signout{color:#B91C1C}
.account-menu-signout:hover{background:#FEF2F2}
.account-avatar-btn[hidden]{display:none}

/* My progress page. */
.progress-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:0 0 24px}
.stat-card{text-align:center;padding:20px 12px}
.stat-num{font-family:Fraunces,Georgia,serif;font-size:40px;font-weight:700;color:#1E2A5A}
.stat-label{color:#5B6478}
.progress-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #DDE3F0}
.progress-row:last-child{border-bottom:none}
@media (max-width:820px){.progress-stats{grid-template-columns:repeat(2,1fr)}}

/* Language switcher pill in the header nav (English and Arabic pages) */
/* Language dropdown: sits in the header next to the account button */
.account-menu-wrap{display:flex;align-items:center;gap:10px}
.lang-menu-wrap{position:relative}
.lang-btn{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.12);color:#fff;font-weight:700;white-space:nowrap;cursor:pointer}
.lang-btn:hover{background:#fff;color:#12182B;border-color:#fff}
.lang-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:70;min-width:170px;background:var(--card);border:1px solid #1D4ED8;border-radius:12px;box-shadow:0 12px 30px rgba(18,24,43,.18);padding:8px}
.lang-menu[hidden]{display:none}
.lang-menu a{display:block;padding:10px 12px;border-radius:8px;color:#12182B;text-decoration:none;font-weight:600}
.lang-menu a:hover{background:#EAF4FF}
.lang-menu a[aria-current="true"]{color:#1D4ED8}
@media (max-width:820px){.lang-menu{left:0;right:auto}}

.faq summary{cursor:pointer;font-weight:700;font-size:19px} .faq summary::-webkit-details-marker{color:#1D4ED8}

/* Password show/hide toggle (auth pages). The wrap matches the input's
   max-width so the eye button sits at the input's edge, not the page edge.
   Uses button.password-toggle (plus explicit :hover/:active rules) so the
   site-wide button gradient, shadow, and hover/active transforms can never
   restyle it or knock it out of the input's center. */
.password-wrap{position:relative;display:block;max-width:520px}
.password-wrap input{padding-right:46px}
button.password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:none;box-shadow:none;padding:6px;min-height:0;border-radius:50%;cursor:pointer;color:#1E2A5A;line-height:0;display:flex;align-items:center;justify-content:center}
button.password-toggle:hover,button.password-toggle:active{transform:translateY(-50%);background:none;border-color:transparent;box-shadow:none;filter:none}
button.password-toggle svg{width:22px;height:22px;display:block}
button.password-toggle .icon-off{display:none}
button.password-toggle[aria-pressed="true"] .icon-on{display:none}
button.password-toggle[aria-pressed="true"] .icon-off{display:block}

/* Auth pages: give the submit buttons a little breathing room below the
   entry fields (sign-in, sign-up, new password, and the two help forms). */
.auth-panel form > button[type="submit"],
#recovery-form form > button[type="submit"],
#auth-help form > button[type="submit"]{margin-top:12px}

/* Auth pages: the helper line under each submit button (e.g. "New here?..."
   and the reset-link note) also gets a little breathing room below the button. */
.auth-panel form > button[type="submit"] + p,
#recovery-form form > button[type="submit"] + p,
#auth-help form > button[type="submit"] + p{margin-top:12px}
