/* ===== YTRHub design system ===== */
:root{
  --bg:#f7f7fb;
  --surface:#ffffff;
  --ink:#0b1020;
  --ink-2:#25304d;
  --muted:#6b7288;
  --line:#e9eaf3;
  --line-2:#eef0f6;

  --primary:#1e40ff;
  --primary-2:#4f46e5;
  --primary-soft:#eef1ff;
  --accent:#7c3aed;
  --success:#10b981;
  --warn:#f59e0b;
  --danger:#ef4444;

  --pink:#ec4899;
  --teal:#14b8a6;
  --orange:#fb923c;
  --violet:#8b5cf6;

  --radius:16px;
  --radius-sm:10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 8px 24px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 24px 60px -30px rgba(15, 23, 42, .25);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5{font-family:'Fraunces', 'Manrope', serif; font-weight:700; color:var(--ink); letter-spacing:-0.02em; margin:0 0 12px}
h1{font-size:clamp(2.4rem, 4.6vw, 4rem); line-height:1.05}
h2{font-size:clamp(1.6rem, 2.6vw, 2.2rem); line-height:1.15}
h3{font-size:1.25rem}
p{margin:0 0 12px; color:var(--ink-2)}
a{color:var(--primary); text-decoration:none}
img{max-width:100%; display:block}
.container{max-width:1240px; margin:0 auto; padding:0 20px}

/* ---- Header ---- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.85);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
}
.nav{display:flex; align-items:center; justify-content:space-between; height:74px; gap:16px}
.brand{display:flex; align-items:center; gap:10px; color:var(--ink)}
.brand-logo{
  width:40px; height:40px; border-radius:12px;
  background:linear-gradient(135deg,#1e40ff, #7c3aed);
  display:grid; place-items:center; color:#fff; font-size:20px;
  box-shadow: 0 6px 20px -8px rgba(30,64,255,.6);
}
.brand-name{font-family:'Fraunces', serif; font-weight:800; font-size:22px; line-height:1}
.brand-tag{font-size:11px; color:var(--muted); margin-top:2px}
.main-nav{display:flex; gap:26px}
.main-nav a{color:var(--ink-2); font-weight:500; font-size:15px; position:relative}
.main-nav a:hover{color:var(--primary)}
.main-nav a.active{color:var(--primary)}
.main-nav a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-8px; height:3px;
  background:var(--primary); border-radius:2px;
}
.nav-actions{display:flex; align-items:center; gap:10px}
.menu-toggle{display:none; background:none; border:0; font-size:22px; cursor:pointer; color:var(--ink)}
.mobile-nav{display:none; flex-direction:column; gap:6px; padding:10px 20px 20px; background:#fff; border-bottom:1px solid var(--line)}
.mobile-nav a{padding:12px; border-radius:10px; color:var(--ink)}
.mobile-nav a:hover{background:var(--primary-soft)}
.mobile-nav.open{display:flex}
.user-badge{
  display:flex; align-items:center; gap:8px; padding:6px 14px 6px 6px; border:1px solid var(--line);
  border-radius:999px; color:var(--ink); font-weight:600; font-size:14px;
}
.user-badge:hover{border-color:var(--primary)}
.avatar{width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg,#1e40ff,#7c3aed); color:#fff; display:grid; place-items:center; font-weight:700; font-size:13px}

/* ---- Buttons ---- */
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:12px 22px; border-radius:12px;
  font-weight:600; font-size:15px; cursor:pointer; transition:all .18s ease; border:1px solid transparent;
  text-decoration:none; line-height:1;
}
.btn-primary{background:var(--ink); color:#fff}
.btn-primary:hover{background:#1a2555; transform:translateY(-1px); box-shadow:var(--shadow-md); color:#fff}
.btn-outline{background:#fff; color:var(--ink); border-color:var(--line)}
.btn-outline:hover{border-color:var(--ink); color:var(--ink)}
.btn-ghost{background:transparent; color:var(--ink); padding:10px 18px}
.btn-ghost:hover{background:var(--line-2)}
.btn-blue{background:var(--primary); color:#fff}
.btn-blue:hover{background:#1a37cc; color:#fff}
.btn-danger{background:var(--danger); color:#fff}
.btn-lg{padding:16px 28px; font-size:16px; border-radius:14px}
.btn-block{width:100%; justify-content:center}

/* ---- Hero ---- */
.hero{
  padding:80px 0 60px;
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(124,58,237,.14), transparent 60%),
    radial-gradient(500px 350px at 0% 50%, rgba(30,64,255,.10), transparent 60%),
    linear-gradient(180deg, #f2f3fb 0%, #f7f7fb 100%);
}
.hero-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center}
.chip{
  display:inline-flex; align-items:center; gap:8px; padding:8px 14px;
  border:1px solid rgba(30,64,255,.2); background:rgba(30,64,255,.06);
  border-radius:999px; color:var(--primary); font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
}
.chip i{color:var(--accent)}
.hero h1 .accent{color:var(--primary); font-style:italic}
.hero .lede{color:var(--muted); font-size:17px; max-width:520px; margin-bottom:26px}
.feat-row{display:flex; gap:26px; flex-wrap:wrap; margin:26px 0}
.feat{display:flex; align-items:center; gap:12px}
.feat .fi{width:44px; height:44px; border-radius:14px; background:#eef1ff; color:var(--primary); display:grid; place-items:center; font-size:20px}
.feat .fi.warn{background:#fff5e6; color:#f59e0b}
.feat .fi.violet{background:#f3ecff; color:var(--accent)}
.feat b{display:block; font-weight:600; font-size:14px}
.hero-cta{display:flex; gap:16px; align-items:center; margin-top:8px; flex-wrap:wrap}
.play{
  display:inline-flex; align-items:center; gap:10px; color:var(--ink); font-weight:600;
}
.play .pcircle{
  width:44px; height:44px; border-radius:50%; background:#fff; border:1px solid var(--line);
  display:grid; place-items:center; color:var(--primary); box-shadow:var(--shadow-sm);
}
.rating-row{display:flex; align-items:center; gap:12px; margin-top:28px; color:var(--muted); font-size:14px}
.rating-row .avatars{display:flex}
.rating-row .avatars span{width:34px; height:34px; border-radius:50%; background:linear-gradient(135deg,#a5b4fc,#7c3aed); border:2px solid #fff; margin-left:-8px}
.rating-row .avatars span:first-child{margin-left:0}

/* Hero preview card */
.hero-preview{background:#fff; border-radius:20px; padding:24px; border:1px solid var(--line); box-shadow: var(--shadow-lg)}
.hp-head{display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:center}
.hp-score{position:relative; display:grid; place-items:center}
.ring{
  --p:87; --size:170px; --stroke:14px;
  width:var(--size); height:var(--size); border-radius:50%;
  background:
    conic-gradient(var(--success) calc(var(--p)*1%), var(--line) 0);
  display:grid; place-items:center; position:relative;
}
.ring::after{
  content:""; position:absolute; inset:var(--stroke); background:#fff; border-radius:50%;
}
.ring .val{position:relative; z-index:1; font-family:'Fraunces', serif; font-weight:700; font-size:36px}
.hp-tag{font-size:12px; color:var(--muted); margin-bottom:8px; font-weight:600; letter-spacing:.06em; text-transform:uppercase}
.hp-title{font-family:'Fraunces', serif; font-weight:700; font-size:22px; color:var(--primary); margin-bottom:8px}
.hp-desc{font-size:13.5px; color:var(--muted); margin-bottom:14px}
.hp-strengths{background:#0b1020; color:#fff; border-radius:14px; padding:18px}
.hp-strengths h5{color:#fff; font-family:'Manrope', sans-serif; margin:0 0 12px; font-size:14px}
.hp-strengths .row{display:flex; align-items:center; gap:10px; padding:6px 0; font-size:13px; color:#e5e7eb}
.hp-strengths .ic{width:26px; height:26px; border-radius:8px; background:rgba(255,255,255,.08); display:grid; place-items:center; color:#a5b4fc; font-size:12px}
.hp-grid{display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; margin-top:18px}
.hp-cell{background:#f7f8fd; border-radius:12px; padding:14px}
.hp-cell h6{font-size:12px; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; font-weight:700; margin:0 0 10px}
.hp-cell .r{display:flex; align-items:center; justify-content:space-between; font-size:12px; margin-bottom:6px}
.hp-cell .bar{height:5px; background:var(--line); border-radius:99px; overflow:hidden}
.hp-cell .bar > i{display:block; height:100%; background:var(--success); border-radius:99px}

/* Sections */
.section{padding:80px 0}
.section-title{text-align:center; margin-bottom:44px}
.section-title h2{position:relative; display:inline-block}
.section-title h2 .u{color:var(--primary)}
.section-title h2::after{content:""; display:block; width:80px; height:3px; background:var(--primary); border-radius:2px; margin:14px auto 0}

/* Why grid */
.why-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:24px}
.why-card{background:#fff; padding:26px 18px; border-radius:16px; text-align:center; border:1px solid var(--line); transition:.2s}
.why-card:hover{transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--primary)}
.why-icon{width:64px; height:64px; border-radius:20px; margin:0 auto 14px; display:grid; place-items:center; font-size:26px}
.why-icon.a{background:#eef1ff; color:var(--primary)}
.why-icon.b{background:#f3ecff; color:var(--accent)}
.why-icon.c{background:#ffe4ec; color:var(--pink)}
.why-icon.d{background:#dcfce7; color:var(--success)}
.why-icon.e{background:#fff5e6; color:var(--warn)}
.why-icon.f{background:#e0f2fe; color:#0ea5e9}
.why-card h3{font-family:'Manrope', sans-serif; font-size:16px; margin:0 0 6px}
.why-card p{font-size:13.5px; color:var(--muted); margin:0}

/* Stats strip */
.stats{background:#0b1020; color:#fff; border-radius:22px; padding:36px 28px; display:grid; grid-template-columns:repeat(5, 1fr); gap:20px}
.stats .stat{display:flex; align-items:center; gap:16px}
.stats .ic{width:52px; height:52px; border-radius:14px; background:rgba(255,255,255,.08); display:grid; place-items:center; color:#a5b4fc; font-size:22px}
.stats .num{font-family:'Fraunces', serif; font-weight:700; font-size:26px; line-height:1}
.stats .lbl{color:#a1a7bd; font-size:13px}

/* Cards / Forms */
.card{background:#fff; border-radius:16px; border:1px solid var(--line); padding:24px; box-shadow:var(--shadow-sm)}
.form-group{margin-bottom:16px}
.form-group label{display:block; font-weight:600; font-size:14px; margin-bottom:8px; color:var(--ink)}
.input, .select, .textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:12px;
  font-size:15px; font-family:inherit; background:#fff; color:var(--ink); transition:border-color .15s;
}
.input:focus, .select:focus, .textarea:focus{outline:none; border-color:var(--primary)}
.textarea{min-height:100px; resize:vertical}
.alert{padding:12px 16px; border-radius:12px; margin-bottom:14px; font-size:14px}
.alert-error{background:#fee2e2; color:#991b1b; border:1px solid #fecaca}
.alert-success{background:#d1fae5; color:#065f46; border:1px solid #a7f3d0}
.alert-info{background:#dbeafe; color:#1e40af; border:1px solid #bfdbfe}

/* Auth card */
.auth-wrap{padding:60px 20px; min-height:calc(100vh - 74px); display:grid; place-items:center; background:
  radial-gradient(500px 300px at 90% 10%, rgba(124,58,237,.10), transparent 60%),
  radial-gradient(500px 300px at 0% 90%, rgba(30,64,255,.08), transparent 60%),
  var(--bg);
}
.auth-card{max-width:460px; width:100%; background:#fff; border-radius:22px; padding:36px; border:1px solid var(--line); box-shadow:var(--shadow-lg)}
.auth-card h1{font-size:2rem}
.auth-card .lede{color:var(--muted); margin-bottom:20px}
.auth-swap{text-align:center; margin-top:16px; color:var(--muted); font-size:14px}

/* Test page */
.test-shell{display:grid; grid-template-columns:280px 1fr 320px; gap:24px; padding:32px 0; align-items:start}
.test-side{background:#fff; border-radius:18px; padding:22px; border:1px solid var(--line); position:sticky; top:100px}
.progress-head{display:flex; justify-content:space-between; align-items:baseline; margin-bottom:8px}
.progress-head b{font-family:'Fraunces', serif; font-size:16px}
.progress-head span{color:var(--muted); font-size:14px}
.progress{height:8px; background:var(--line); border-radius:99px; overflow:hidden}
.progress > i{display:block; height:100%; background:linear-gradient(90deg,var(--primary),var(--accent)); border-radius:99px; transition:width .3s}
.sec-list{margin-top:22px; display:flex; flex-direction:column; gap:10px}
.sec-item{display:flex; align-items:center; gap:12px; padding:12px; border-radius:12px; border:1px solid transparent; font-size:14px; color:var(--ink-2)}
.sec-item.active{background:var(--primary-soft); border-color:#c7d2fe; color:var(--primary); font-weight:600}
.sec-item .n{width:28px; height:28px; border-radius:50%; background:var(--line); color:var(--ink); display:grid; place-items:center; font-weight:700; font-size:13px}
.sec-item.active .n{background:var(--primary); color:#fff}
.sec-item.done .n{background:var(--success); color:#fff}
.sec-item small{display:block; color:var(--muted); font-weight:500; font-size:12px}

.test-main{background:#fff; border-radius:22px; padding:34px; border:1px solid var(--line); box-shadow:var(--shadow-md)}
.test-topline{display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; color:var(--muted); font-size:13px}
.test-title{font-family:'Fraunces', serif; font-size:2rem; margin:6px 0 8px}
.test-sub{color:var(--muted); font-size:15px; margin-bottom:24px; max-width:640px}
.divider{height:2px; background:var(--line); border-radius:2px; margin:22px 0}
.q-number{color:var(--primary); font-weight:700}
.q-text{font-size:19px; font-weight:600; margin:6px 0 22px}
.opt{
  display:flex; align-items:center; gap:14px; padding:16px 18px; border:1.5px solid var(--line);
  border-radius:14px; cursor:pointer; transition:all .15s; margin-bottom:12px; background:#fff; font-size:15px; user-select:none;
}
.opt:hover{border-color:var(--primary); background:#f7f8fd}
.opt.selected{border-color:var(--primary); background:var(--primary-soft); box-shadow:0 0 0 4px rgba(30,64,255,.1)}
.opt .radio{width:22px; height:22px; border-radius:50%; border:2px solid #cbd5e1; flex-shrink:0; position:relative}
.opt.selected .radio{border-color:var(--primary)}
.opt.selected .radio::after{content:""; position:absolute; inset:4px; background:var(--primary); border-radius:50%}
.opt .lbl{color:var(--muted); font-weight:700; min-width:26px}
.opt.selected .lbl{color:var(--primary)}
.qnav{display:flex; align-items:center; justify-content:space-between; margin-top:24px}

.q-pager{display:flex; gap:8px; margin-top:22px; flex-wrap:wrap; justify-content:center}
.q-pager .p{
  width:36px; height:36px; border-radius:50%; border:1.5px solid var(--line); display:grid; place-items:center;
  font-size:13px; font-weight:600; color:var(--ink); cursor:pointer; background:#fff;
}
.q-pager .p.answered{border-color:var(--success); color:var(--success)}
.q-pager .p.current{background:var(--primary); color:#fff; border-color:var(--primary)}

.legend{display:flex; gap:22px; justify-content:center; flex-wrap:wrap; color:var(--muted); font-size:13px; margin-top:12px}
.legend .dot{width:10px; height:10px; border-radius:50%; display:inline-block; margin-right:6px}
.legend .a{background:var(--success)}
.legend .c{background:var(--primary)}
.legend .u{background:var(--line); border:1px solid #cbd5e1}

.overview-card{background:#fff; border-radius:22px; padding:22px; border:1px solid var(--line)}
.overview-card h4{margin:0 0 12px; font-family:'Manrope', sans-serif; font-size:15px}
.ov-row{display:flex; align-items:center; gap:12px; padding:12px 0; border-top:1px solid var(--line-2); font-size:14px; color:var(--ink-2)}
.ov-row:first-of-type{border-top:0}
.ov-row .k{width:36px; height:36px; border-radius:10px; background:#eef1ff; color:var(--primary); display:grid; place-items:center}
.ov-row .r{margin-left:auto; font-weight:700; color:var(--ink)}
.why-list{margin:0; padding-left:0; list-style:none}
.why-list li{display:flex; gap:10px; padding:6px 0; font-size:13.5px; color:var(--ink-2)}
.why-list li i{color:var(--success); margin-top:2px}

/* Report page */
.report-hero{
  background:linear-gradient(135deg,#0b1020, #1a1a3a);
  color:#fff; border-radius:22px; padding:30px; display:grid; grid-template-columns:1.2fr 1fr; gap:24px; align-items:center;
  position:relative; overflow:hidden;
}
.report-hero::after{
  content:""; position:absolute; right:-100px; top:-100px; width:400px; height:400px;
  background:radial-gradient(circle, rgba(124,58,237,.4), transparent 70%);
}
.report-hero h1{color:#fff; font-size:2.2rem; margin:8px 0 12px}
.report-hero p{color:#cfd3e6}
.ring-green{--p:87; --size:180px; --stroke:14px; width:var(--size); height:var(--size); border-radius:50%;
  background:conic-gradient(var(--success) calc(var(--p)*1%), rgba(255,255,255,.15) 0);
  display:grid; place-items:center; position:relative;
}
.ring-green::after{content:""; position:absolute; inset:var(--stroke); background:#0b1020; border-radius:50%}
.ring-green .val{position:relative; z-index:1; font-family:'Fraunces', serif; font-weight:700; font-size:38px; color:#fff}
.ring-green .sub{position:relative; z-index:1; color:#a7f3d0; font-size:12px; margin-top:4px; font-weight:600; letter-spacing:.05em; text-transform:uppercase}

.report-grid{display:grid; grid-template-columns:240px 1fr 320px; gap:24px; padding:32px 0; align-items:start}
.report-side{background:#fff; border-radius:18px; padding:18px; border:1px solid var(--line); position:sticky; top:100px}
.report-side h5{font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.08em; margin:16px 0 8px}
.report-side a{display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:10px; color:var(--ink-2); font-size:14px}
.report-side a:hover{background:var(--line-2)}
.report-side a.active{background:var(--primary-soft); color:var(--primary); font-weight:600}
.report-body{display:flex; flex-direction:column; gap:24px}
.report-body h2{font-family:'Fraunces', serif}
.trait-grid{display:grid; grid-template-columns:1fr 1fr; gap:22px 40px; margin-top:12px}
.trait{display:grid; grid-template-columns:36px 1fr auto; gap:10px; align-items:center}
.trait .ic{width:36px; height:36px; border-radius:10px; display:grid; place-items:center; color:#fff; font-size:15px}
.trait .lbl{font-weight:600; font-size:14px; color:var(--ink)}
.trait .pct{font-weight:700; font-size:14px}
.trait .bar{grid-column:1/-1; height:6px; background:var(--line); border-radius:99px; overflow:hidden}
.trait .bar > i{display:block; height:100%; border-radius:99px}

.two-col{display:grid; grid-template-columns:1fr 1fr; gap:20px}
.mini-card{background:#fff; border-radius:18px; border:1px solid var(--line); padding:22px}
.mini-card h4{font-family:'Fraunces', serif; margin:0 0 14px}
.pt-row{display:flex; gap:12px; padding:10px 0; border-top:1px solid var(--line-2)}
.pt-row:first-of-type{border-top:0}
.pt-row .ic{width:36px; height:36px; border-radius:10px; background:#dcfce7; color:var(--success); display:grid; place-items:center; flex-shrink:0}
.pt-row.warn .ic{background:#fee2e2; color:var(--danger)}
.pt-row b{display:block; font-size:14px; margin-bottom:2px}
.pt-row p{margin:0; color:var(--muted); font-size:13px}

.career-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:14px}
.career{background:#fff; border-radius:16px; border:1px solid var(--line); padding:18px; text-align:center; transition:.2s}
.career:hover{border-color:var(--primary); transform:translateY(-3px)}
.career .ic{width:50px; height:50px; border-radius:14px; margin:0 auto 10px; display:grid; place-items:center; color:#fff; font-size:20px}
.career h5{font-size:14px; margin:2px 0 6px; font-family:'Manrope', sans-serif}
.career .match{font-weight:700; font-size:13px; color:var(--primary)}
.career .tags{display:flex; gap:4px; flex-wrap:wrap; justify-content:center; margin:10px 0}
.tag{font-size:10.5px; padding:3px 8px; background:var(--line-2); color:var(--ink-2); border-radius:99px; font-weight:600}
.tag.blue{background:#dbeafe; color:#1e40af}
.tag.violet{background:#ede9fe; color:#6d28d9}
.tag.pink{background:#fce7f3; color:#be185d}
.tag.green{background:#dcfce7; color:#166534}
.tag.warn{background:#fef3c7; color:#92400e}
.growth{display:inline-flex; align-items:center; gap:5px; font-size:11px; color:var(--success); font-weight:700; margin-top:4px}

.ind-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px}
.industry{background:#fff; border-radius:14px; border:1px solid var(--line); padding:16px; text-align:center}
.industry .ic{width:44px; height:44px; border-radius:12px; margin:0 auto 8px; display:grid; place-items:center; color:#fff; font-size:18px}
.industry h6{margin:2px 0 4px; font-size:13.5px; font-family:'Manrope', sans-serif}
.industry .match{font-size:11.5px; color:var(--muted); font-weight:600}

.course{display:flex; gap:12px; padding:12px 0; border-top:1px solid var(--line-2)}
.course:first-of-type{border-top:0}
.course .img{width:64px; height:44px; border-radius:8px; background:linear-gradient(135deg,#1e40ff,#7c3aed); flex-shrink:0}
.course b{font-size:13.5px; display:block}
.course .meta{font-size:12px; color:var(--muted); margin-top:2px}
.course .rating{color:var(--warn); font-weight:700; font-size:12px}

.roadmap{display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; margin-top:12px}
.rmap{border-radius:16px; padding:20px; background:#fff; border:1px solid var(--line); position:relative}
.rmap .step{width:44px; height:44px; border-radius:50%; display:grid; place-items:center; color:#fff; margin-bottom:12px; font-size:18px}
.rmap:nth-child(1) .step{background:var(--violet)}
.rmap:nth-child(2) .step{background:var(--orange)}
.rmap:nth-child(3) .step{background:var(--success)}
.rmap:nth-child(4) .step{background:#0ea5e9}
.rmap b{display:block; font-size:14px; margin-bottom:2px}
.rmap small{color:var(--muted); font-size:12.5px}
.rmap ul{margin:12px 0 0; padding-left:16px; font-size:13px; color:var(--ink-2)}
.rmap ul li{margin-bottom:5px}

.quote{background:linear-gradient(135deg, rgba(30,64,255,.05), rgba(124,58,237,.05)); border-left:3px solid var(--primary); border-radius:12px; padding:18px 20px; color:var(--ink); font-style:italic}
.quote small{display:block; margin-top:8px; color:var(--muted); font-style:normal; font-weight:600}

/* Dashboard */
.dash{display:grid; grid-template-columns:1fr 320px; gap:24px; padding:32px 0; align-items:start}
.action-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:20px 0}
.action{background:#fff; padding:22px; border-radius:16px; border:1px solid var(--line); transition:.2s; text-align:center}
.action:hover{border-color:var(--primary); transform:translateY(-3px); box-shadow:var(--shadow-md)}
.action .ic{width:56px; height:56px; border-radius:16px; margin:0 auto 12px; display:grid; place-items:center; color:#fff; font-size:22px}

/* Admin */
.admin-shell{display:grid; grid-template-columns:250px 1fr; min-height:100vh}
.admin-side{background:#0b1020; color:#fff; padding:24px 16px; position:sticky; top:0; height:100vh; overflow-y:auto}
.admin-side .brand{color:#fff; padding:0 8px 20px; border-bottom:1px solid rgba(255,255,255,.08); margin-bottom:20px}
.admin-side .brand-tag{color:#a1a7bd}
.admin-side a{display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:10px; color:#cbd5e1; margin-bottom:4px; font-size:14px}
.admin-side a:hover{background:rgba(255,255,255,.06); color:#fff}
.admin-side a.active{background:linear-gradient(135deg,#1e40ff, #7c3aed); color:#fff}
.admin-side a i{width:20px; text-align:center}
.admin-main{padding:30px 34px; background:var(--bg)}
.admin-header{display:flex; justify-content:space-between; align-items:center; margin-bottom:24px}
.admin-header h1{margin:0; font-size:1.6rem}
.stat-cards{display:grid; grid-template-columns:repeat(auto-fit, minmax(180px,1fr)); gap:16px; margin-bottom:24px}
.stat-card{background:#fff; padding:22px; border-radius:16px; border:1px solid var(--line)}
.stat-card .ic{width:44px; height:44px; border-radius:12px; margin-bottom:12px; display:grid; place-items:center; color:#fff; font-size:18px}
.stat-card .num{font-family:'Fraunces', serif; font-weight:700; font-size:26px; line-height:1}
.stat-card .lbl{color:var(--muted); font-size:13px; margin-top:4px}
.table-card{background:#fff; border-radius:16px; border:1px solid var(--line); overflow:hidden}
.table-head{padding:20px 24px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--line)}
.table-head h3{margin:0}
table{width:100%; border-collapse:collapse}
th{background:#f8f9fc; text-align:left; padding:14px 24px; color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.06em; font-weight:700; border-bottom:1px solid var(--line)}
td{padding:14px 24px; border-bottom:1px solid var(--line-2); font-size:14px; color:var(--ink)}
tr:last-child td{border-bottom:0}
tr:hover td{background:#fafbff}
.badge{display:inline-block; padding:4px 10px; border-radius:99px; font-size:11.5px; font-weight:700}
.badge.ok{background:#dcfce7; color:#166534}
.badge.warn{background:#fef3c7; color:#92400e}
.badge.new{background:#dbeafe; color:#1e40af}
.acts{display:flex; gap:6px}
.acts a, .acts button{padding:6px 10px; border-radius:8px; font-size:12.5px; text-decoration:none; border:1px solid var(--line); background:#fff; color:var(--ink); cursor:pointer}
.acts a.edit{color:var(--primary); border-color:#c7d2fe}
.acts a.del, .acts button.del{color:var(--danger); border-color:#fecaca}
.acts a:hover{background:var(--primary-soft)}

/* Footer */
.site-footer{background:#0b1020; color:#cfd3e6; padding:56px 0 20px; margin-top:80px}
.site-footer .brand{color:#fff}
.site-footer .brand-name{color:#fff}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:30px; margin-bottom:36px}
.footer-grid h4{color:#fff; font-family:'Manrope', sans-serif; font-size:14px; margin-bottom:14px; text-transform:uppercase; letter-spacing:.06em; font-weight:700}
.footer-grid a{display:block; color:#a1a7bd; padding:5px 0; font-size:14px}
.footer-grid a:hover{color:#fff}
.footer-bottom{display:flex; justify-content:space-between; padding-top:20px; border-top:1px solid rgba(255,255,255,.08); color:#8a90a6; font-size:13px; flex-wrap:wrap; gap:12px}

/* Responsive */
@media (max-width: 1080px){
  .hero-grid{grid-template-columns:1fr; gap:40px}
  .why-grid{grid-template-columns:repeat(3,1fr)}
  .stats{grid-template-columns:repeat(3,1fr)}
  .test-shell{grid-template-columns:260px 1fr}
  .test-shell > *:last-child{grid-column:1/-1}
  .report-grid{grid-template-columns:220px 1fr}
  .report-grid > *:last-child{grid-column:1/-1}
  .career-grid{grid-template-columns:repeat(3,1fr)}
  .ind-grid{grid-template-columns:repeat(3,1fr)}
  .roadmap{grid-template-columns:repeat(2,1fr)}
  .stat-cards{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .dash{grid-template-columns:1fr}
  .admin-shell{grid-template-columns:1fr}
  .admin-side{position:relative; height:auto}
}
@media (max-width: 780px){
  .main-nav, .nav-actions .btn, .nav-actions .user-badge{display:none}
  .menu-toggle{display:inline-flex}
  .hero{padding:56px 0 40px}
  .section{padding:56px 0}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .stats{grid-template-columns:repeat(2,1fr)}
  .test-shell, .report-grid{grid-template-columns:1fr}
  .test-side, .report-side{position:relative; top:0}
  .career-grid, .ind-grid{grid-template-columns:repeat(2,1fr)}
  .roadmap{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr}
  .trait-grid{grid-template-columns:1fr; gap:14px}
  .hp-head{grid-template-columns:1fr}
  .hp-grid{grid-template-columns:1fr}
  .stat-cards{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .action-grid{grid-template-columns:1fr}
  .admin-main{padding:20px}
  table, th, td{font-size:12.5px}
  th, td{padding:10px 12px}
  .report-hero{grid-template-columns:1fr; text-align:center}
  .ring-green{margin:0 auto}
}

@media (max-width: 900px){
  [data-testid=creator-section] > .container > div:last-child{grid-template-columns:1fr !important; padding:26px !important; text-align:center}
}
