:root{
  --bg:#ffffff; --bg-elev:#f5f5f7; --text:#1d1d1f; --text-dim:#6e6e73; --text-faint:#86868b;
  --border: rgba(0,0,0,0.08);
  --c1:#ff9f0a; --c2:#ff6b35; --c3:#7c3aed;
  --grad: linear-gradient(135deg,var(--c1) 0%,var(--c2) 55%,var(--c3) 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --radius: 18px; --radius-sm: 12px; --maxw: 1080px;
}
@media (prefers-color-scheme: dark){
  :root{
    --bg:#000; --bg-elev:#1c1c1e; --text:#f5f5f7; --text-dim:#a1a1a6; --text-faint:#6e6e73;
    --border: rgba(255,255,255,0.1);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3), 0 1px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.5);
  }
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }

/* header */
.site-header{ position:sticky; top:0; z-index:50; backdrop-filter:saturate(180%) blur(20px); -webkit-backdrop-filter:saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom:1px solid var(--border); }
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; height:56px; }
.brand{ display:flex; align-items:center; gap:9px; font-weight:700; font-size:15px; letter-spacing:-0.01em; }
.brand .dot{ width:10px;height:10px;border-radius:50%; background:var(--grad); }
.nav-links{ display:flex; gap:22px; align-items:center; }
.nav-links a{ font-size:13px; font-weight:600; color:var(--text-dim); }
.nav-links a:hover{ color:var(--text); }
.nav-cta{ background:var(--grad); color:#fff !important; padding:9px 18px; border-radius:999px; font-weight:700 !important; }

/* hero */
.hero{ padding:64px 0 30px; text-align:center; }
.eyebrow{ font-size:12px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--c2); margin-bottom:12px; }
.hero h1{ font-size:clamp(34px,6vw,60px); font-weight:700; letter-spacing:-0.03em; line-height:1.05; margin:0 0 16px;
  background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.lede{ font-size:clamp(16px,2.1vw,20px); color:var(--text-dim); max-width:700px; margin:0 auto 26px; line-height:1.55; }
.hero-ctas{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-bottom:10px; }
.badges{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-top:20px; }
.badge{ font-size:12px; font-weight:600; padding:7px 14px; border-radius:999px; background:var(--bg-elev); border:1px solid var(--border); color:var(--text-dim); }
.badge strong{ color:var(--text); }

.btn{ display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:15px; padding:14px 26px; border-radius:999px;
  background:var(--grad); color:#fff; border:none; cursor:pointer; box-shadow:var(--shadow-md); }
.btn.secondary{ background:var(--bg-elev); color:var(--text); border:1px solid var(--border); box-shadow:none; }

/* stat strip */
.stat-strip{ display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:1px; background:var(--border);
  border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; margin:34px 0; }
.stat-strip .stat{ background:var(--bg); padding:22px 18px; text-align:center; }
.stat-strip .v{ font-size:clamp(20px,2.6vw,28px); font-weight:800; letter-spacing:-0.02em; }
.stat-strip .l{ font-size:12px; color:var(--text-dim); margin-top:6px; line-height:1.4; }

/* sections */
.section{ padding:20px 0 54px; }
.section-head{ margin-bottom:22px; text-align:center; }
.section-head h2{ font-size:clamp(22px,3vw,30px); font-weight:700; letter-spacing:-0.02em; margin:0 0 8px; }
.section-head p{ color:var(--text-dim); font-size:15px; max-width:600px; margin:0 auto; }
.eyebrow-sm{ font-size:11px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--c2); margin:0 0 8px; text-align:center; }

/* feature grid */
.feature-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:16px; }
.feature-card{ background:var(--bg-elev); border:1px solid var(--border); border-radius:var(--radius-sm); padding:22px; }
.feature-card .ic{ font-size:22px; margin-bottom:10px; }
.feature-card h4{ font-size:15px; font-weight:700; margin:0 0 6px; }
.feature-card p{ font-size:13.5px; color:var(--text-dim); line-height:1.55; margin:0; }

/* demo card */
.demo-card{ background:var(--bg-elev); border:1px solid var(--border); border-radius:var(--radius); padding:26px; margin:24px 0; }
.demo-card h3{ font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:var(--c2); margin:0 0 4px; font-weight:700; }
.demo-card .demo-sub{ font-size:13px; color:var(--text-faint); margin-bottom:18px; }
.chart-wrap{ position:relative; height:260px; margin-top:14px; }

/* generic form controls used inside demos */
.demo-row{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:14px; margin-bottom:18px; }
.field label{ display:block; font-size:12px; font-weight:700; color:var(--text-dim); margin-bottom:6px; }
.field select, .field input[type=range], .field input[type=text], .field input[type=number]{
  width:100%; padding:10px 12px; border-radius:10px; border:1px solid var(--border); background:var(--bg); color:var(--text); font-size:14px;
}
.field .range-val{ font-size:12px; color:var(--text-dim); margin-top:4px; }
.result-box{ background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-sm); padding:18px 20px; text-align:center; }
.result-box .big{ font-size:30px; font-weight:800; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.result-box .cap{ font-size:12.5px; color:var(--text-dim); margin-top:4px; }

/* chat / thread demo (tenantagent) */
.chat-thread{ display:flex; flex-direction:column; gap:10px; max-width:520px; margin:0 auto 18px; }
.msg{ padding:10px 14px; border-radius:16px; font-size:13.5px; line-height:1.45; max-width:80%; }
.msg.in{ background:var(--bg); border:1px solid var(--border); align-self:flex-start; border-bottom-left-radius:4px; }
.msg.out{ background:var(--grad); color:#fff; align-self:flex-end; border-bottom-right-radius:4px; }
.msg.tag{ align-self:flex-start; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; color:var(--text-faint); margin:2px 0 -4px 4px; }

/* sequence steps (pipelinebot) */
.seq{ display:flex; flex-direction:column; gap:0; }
.seq-step{ display:flex; gap:14px; padding:14px 0; border-bottom:1px dashed var(--border); }
.seq-step:last-child{ border-bottom:none; }
.seq-step .n{ width:28px;height:28px;border-radius:50%; background:var(--grad); color:#fff; font-size:12px; font-weight:700;
  display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.seq-step .body h5{ margin:0 0 3px; font-size:14px; font-weight:700; }
.seq-step .body p{ margin:0; font-size:13px; color:var(--text-dim); }
.seq-step .tstamp{ margin-left:auto; font-size:11px; color:var(--text-faint); white-space:nowrap; }

/* pricing */
.pricing-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:16px; }
.price-tier{ background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-sm); padding:22px 18px; text-align:center; }
.price-tier.featured{ border-color:var(--c2); box-shadow:0 0 0 3px color-mix(in srgb, var(--c2) 16%, transparent); }
.price-tier .name{ font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; color:var(--text-dim); }
.price-tier .price{ font-size:24px; font-weight:800; margin:8px 0; }
.price-tier .inc{ font-size:12.5px; color:var(--text-dim); line-height:1.45; }

/* roadmap link card */
.roadmap-link{ display:flex; align-items:center; justify-content:space-between; gap:14px; background:var(--bg-elev);
  border:1px solid var(--border); border-radius:var(--radius-sm); padding:18px 22px; flex-wrap:wrap; }
.roadmap-link .t{ font-size:13.5px; color:var(--text-dim); }
.roadmap-link a{ font-weight:700; color:var(--c1); font-size:13.5px; }

/* waitlist form */
.waitlist{ max-width:460px; margin:0 auto; }
.waitlist-row{ display:flex; gap:10px; flex-wrap:wrap; }
.waitlist input[type=email], .waitlist input[type=text]{
  flex:1; min-width:200px; padding:13px 16px; border-radius:999px; border:1px solid var(--border); background:var(--bg); color:var(--text); font-size:14px;
}
.waitlist button{ white-space:nowrap; }
.waitlist .hp{ position:absolute; left:-9999px; opacity:0; }
.waitlist .msg-ok{ display:none; margin-top:12px; font-size:13.5px; color:#34c759; font-weight:600; }
.waitlist .msg-err{ display:none; margin-top:12px; font-size:13px; color:#ff375f; }
.waitlist .fine{ font-size:11.5px; color:var(--text-faint); margin-top:10px; }

/* footer */
.site-footer{ border-top:1px solid var(--border); padding:30px 0; margin-top:40px; }
.site-footer .wrap{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12px; color:var(--text-faint); }
.site-footer a{ color:var(--text-dim); }

.center{ text-align:center; }
.tag-list{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.tag{ font-size:12px; background:var(--bg); border:1px solid var(--border); padding:6px 12px; border-radius:999px; }

/* SkillForge-specific: countdown + accordion */
.countdown{ display:flex; gap:14px; justify-content:center; margin: 18px 0 6px; }
.countdown .cd-box{ background:var(--bg); border:1px solid var(--border); border-radius:14px; padding:14px 18px; text-align:center; min-width:70px; }
.countdown .cd-box .num{ font-size:26px; font-weight:800; }
.countdown .cd-box .lbl{ font-size:10.5px; color:var(--text-dim); text-transform:uppercase; letter-spacing:0.05em; margin-top:2px; }

.acc-item{ background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-sm); margin-bottom:10px; overflow:hidden; }
.acc-head{ display:flex; justify-content:space-between; align-items:center; padding:16px 20px; cursor:pointer; font-weight:700; font-size:14.5px; }
.acc-head .chev{ transition: transform .2s ease; color:var(--text-dim); }
.acc-item.open .acc-head .chev{ transform: rotate(180deg); }
.acc-body{ max-height:0; overflow:hidden; transition: max-height .25s ease; padding: 0 20px; }
.acc-item.open .acc-body{ max-height:200px; padding: 0 20px 16px; }
.acc-body p{ margin:0; font-size:13.5px; color:var(--text-dim); line-height:1.6; }

/* App shell: status badges, progress bar, syllabus checklist, tables */
.status-badge{ display:inline-block; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:0.05em; padding:5px 12px; border-radius:999px; }
.status-badge.enrolled{ background: color-mix(in srgb, #34c759 18%, transparent); color:#34c759; }
.status-badge.waitlist{ background: color-mix(in srgb, #ff9f0a 18%, transparent); color:#ff9f0a; }

.progress-track{ height:10px; border-radius:999px; background:var(--border); overflow:hidden; margin: 10px 0 4px; }
.progress-fill{ height:100%; background:var(--grad); border-radius:999px; transition:width .3s ease; }

.week-row{ display:flex; align-items:flex-start; gap:14px; padding:16px 0; border-bottom:1px dashed var(--border); }
.week-row:last-child{ border-bottom:none; }
.week-row input[type=checkbox]{ width:20px;height:20px; margin-top:2px; accent-color: var(--c1); flex-shrink:0; }
.week-row .wk-title{ font-weight:700; font-size:14.5px; }
.week-row .wk-desc{ font-size:13px; color:var(--text-dim); margin-top:3px; line-height:1.5; }
.week-row.done .wk-title{ text-decoration: line-through; color:var(--text-dim); }

.alert-box{ padding:14px 18px; border-radius:12px; font-size:13.5px; margin-bottom:18px; }
.alert-box.success{ background: color-mix(in srgb, #34c759 14%, transparent); color:#1d1d1f; }
.alert-box.error{ background: color-mix(in srgb, #ff375f 14%, transparent); color:#1d1d1f; }
@media (prefers-color-scheme: dark){
  .alert-box.success, .alert-box.error{ color: var(--text); }
}

.data-table{ width:100%; border-collapse: collapse; font-size:13px; }
.data-table th, .data-table td{ text-align:left; padding:10px 12px; border-bottom:1px solid var(--border); }
.data-table th{ color:var(--text-dim); font-weight:700; font-size:11.5px; text-transform:uppercase; letter-spacing:0.04em; }
.table-wrap{ overflow-x:auto; background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-sm); }

.resource-row{ display:flex; justify-content:space-between; align-items:center; gap:14px; background:var(--bg); border:1px solid var(--border); border-radius:12px; padding:16px 18px; margin-bottom:10px; }
.resource-row .rt{ font-weight:700; font-size:14px; }
.resource-row .rd{ font-size:12.5px; color:var(--text-dim); margin-top:2px; }

.field label{ display:block; font-size:12.5px; font-weight:700; color:var(--text-dim); margin-bottom:6px; }
.field input[type=email], .field input[type=password], .field input[type=text]{
  width:100%; padding:12px 14px; border-radius:10px; border:1px solid var(--border); background:var(--bg); color:var(--text); font-size:14px;
}
