:root { color-scheme:dark; --page:#101923; --surface:#172431; --ink:#f4f7fa; --muted:#b7c3cf; --line:#334455; --brand:#50dfbf; --accent:#ffca7a; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--page); color:var(--ink); font:16px/1.65 "Aptos","Segoe UI",sans-serif; }
a { color:var(--brand); }
button, input, select { font:inherit; }
button, summary { cursor:pointer; }
[hidden] { display:none !important; }
:focus-visible { outline:3px solid var(--brand); outline-offset:4px; }
.topbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; padding:16px max(20px,calc((100vw - 1160px)/2)); border-bottom:1px solid var(--line); background:#101923f5; }
.brand { color:var(--ink); font-size:1.3rem; font-weight:900; text-decoration:none; letter-spacing:-.05em; }
.brand span { color:var(--brand); }
.topnav { display:flex; flex-wrap:wrap; gap:18px; align-items:center; }
.topnav a { color:var(--muted); font-size:.9rem; text-decoration:none; font-weight:700; }
.topnav .nav-course-link, .topnav .nav-concept-link { display:inline-flex; align-items:center; gap:8px; color:var(--ink); white-space:nowrap; }
.nav-new { display:inline-flex; align-items:center; padding:2px 8px; border:1px solid #60a5fa; border-radius:999px; background:#1d4ed8; color:#fff; font-size:.65rem; font-weight:800; line-height:1.35; letter-spacing:.03em; vertical-align:middle; }
.learning-sections { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); gap:14px; margin:24px 0 32px; }
.study-note { --note-accent:var(--brand); position:relative; display:flex; flex-direction:column; gap:12px; min-width:0; padding:22px; border:1px solid var(--line); border-top:4px solid var(--note-accent); border-radius:4px 4px 14px 4px; background:var(--surface); color:var(--ink); text-decoration:none; box-shadow:4px 5px 0 #0002; overflow-wrap:anywhere; }
.study-note::after { content:""; position:absolute; top:0; right:0; width:19px; height:19px; background:linear-gradient(225deg,var(--page) 46%,var(--line) 49%,transparent 53%); pointer-events:none; }
.study-note[data-section="interview"], .interview-note { --note-accent:var(--accent); }
.study-note[data-section="coding"], .study-note[data-section="companies"] { --note-accent:#ac9aff; }
.study-note[aria-current="page"] { outline:2px solid var(--note-accent); outline-offset:3px; }
.section-note:hover, .interview-note:hover { background:#203140; border-color:var(--note-accent); }
.note-label { color:var(--note-accent); font-size:.72rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
.note-title { margin:0; font-size:1.12rem; line-height:1.35; font-weight:800; }
.note-copy { margin:0; color:var(--muted); font-size:.9rem; }
.note-action { margin-top:auto; color:var(--note-accent); font-size:.85rem; font-weight:800; }
.course-topics, .interview-subjects { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:20px; }
.course-note { min-height:280px; }
.course-note .button { margin-top:auto; align-self:flex-start; }
.course-outline { margin:0; padding-left:20px; color:var(--muted); font-size:.95rem; }
.course-outline li { padding:3px 0 3px 4px; }
.course-path-label { margin:0; font-size:.85rem; font-weight:800; color:var(--ink); }
.course-prerequisite { margin:0; color:var(--muted); font-size:.85rem; }
.course-search { display:grid; gap:8px; max-width:760px; margin:22px 0; font-weight:700; }
.course-search input { width:100%; min-width:0; padding:12px 14px; border:1px solid var(--line); border-radius:9px; color:var(--ink); background:var(--surface); }
.interview-directory { margin:20px 0 28px; }
.interview-directory > summary { width:fit-content; padding:12px 0; color:var(--brand); font-weight:800; }
.interview-subjects { padding-top:14px; }
main, footer { width:min(calc(100% - 40px),1160px); margin:auto; }
section[id] { scroll-margin-top:24px; }
.hero { position:relative; padding:76px 0 56px; }
.hero h1 { max-width:860px; margin:12px 0 22px; font-size:clamp(2.5rem,6.6vw,5rem); letter-spacing:-.055em; line-height:1.05; }
.hero h1 span { color:var(--brand); }
.eyebrow, .section-kicker { color:var(--brand); font-size:.78rem; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }
.hero-copy { max-width:760px; color:var(--muted); font-size:1.15rem; }
.hero-note, .section-copy, .muted { color:var(--muted); }
.actions { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0; align-items:center; }
.button { display:inline-flex; min-height:46px; align-items:center; justify-content:center; padding:10px 18px; border:1px solid var(--brand); border-radius:9px; background:var(--brand); color:#09241f; font-weight:800; text-decoration:none; cursor:pointer; }
.button.secondary { background:transparent; color:var(--ink); }
.button.compact { min-height:38px; padding:6px 12px; font-size:.88rem; }
.button[aria-pressed="true"] { background:var(--brand); color:#09241f; }
.button:disabled { opacity:.55; cursor:not-allowed; }
.button:hover { filter:brightness(1.1); }
.value-strip { display:flex; flex-wrap:wrap; gap:14px 28px; padding:20px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); font-size:.9rem; color:var(--muted); }
.content-section { padding:48px 0; }
.section-heading { margin:8px 0 14px; font-size:clamp(1.8rem,4vw,2.7rem); letter-spacing:-.04em; line-height:1.15; }
.section-copy { max-width:850px; margin-bottom:26px; }
.offering-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr)); gap:18px; }
.offering-card { display:flex; flex-direction:column; align-items:flex-start; min-width:0; padding:26px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.offering-card h3 { margin:14px 0 8px; font-size:1.3rem; line-height:1.3; }
.offering-card p { color:var(--muted); margin:0 0 20px; }
.offering-card > a:last-child { margin-top:auto; font-weight:800; text-decoration:none; }
.badge { display:inline-flex; padding:4px 10px; border:1px solid #50dfbf55; border-radius:20px; color:var(--brand); font-size:.72rem; font-weight:900; letter-spacing:.08em; }
.badge.gold { color:var(--accent); border-color:#ffca7a66; }
.pro-panel { padding:32px; border:1px solid #50dfbf77; border-radius:18px; background:linear-gradient(120deg,#193c35,var(--surface)); }
.pro-panel h2 { margin-top:0; }
.subject-links { display:flex; flex-wrap:wrap; gap:12px; }
.subject-links a { display:inline-flex; padding:12px 18px; border:1px solid var(--line); border-radius:10px; background:var(--surface); font-weight:700; text-decoration:none; }
.faq-list details { padding:18px 0; border-bottom:1px solid var(--line); }
.faq-list summary { font-weight:800; }
.faq-list p { max-width:850px; color:var(--muted); }
footer { padding:28px 0; border-top:1px solid var(--line); color:var(--muted); font-size:.9rem; }
.student-plan-panel { padding:clamp(18px,3vw,30px); border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.student-plan-panel fieldset { margin:0 0 20px; padding:16px; border:1px solid var(--line); border-radius:10px; }
.student-plan-panel legend { padding:0 8px; font-weight:800; }
.student-plan-subjects { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); gap:10px; }
.student-plan-subjects label { display:flex; align-items:center; gap:9px; cursor:pointer; }
.student-plan-subjects input { width:18px; height:18px; accent-color:var(--brand); }
.student-plan-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr)); gap:16px; margin-bottom:20px; }
.student-plan-fields label { display:grid; gap:6px; font-weight:700; }
.student-plan-fields input, .student-plan-fields select { width:100%; min-width:0; min-height:44px; padding:9px; border:1px solid var(--line); border-radius:8px; background:var(--page); color:var(--ink); }
.student-plan-status { color:var(--brand); }
.student-plan-summary { color:var(--accent); font-weight:800; }
.student-plan-table { max-width:100%; overflow:auto; margin:20px 0; }
.student-plan-table table { width:100%; border-collapse:collapse; text-align:left; }
.student-plan-table caption { text-align:left; font-weight:800; margin-bottom:10px; }
.student-plan-table th, .student-plan-table td { min-width:90px; padding:12px; border-bottom:1px solid var(--line); }
.student-plan-panel summary { font-weight:800; }
.student-plan-panel ol { padding-left:24px; }
.student-plan-panel li { margin:8px 0; }
.experience-card { min-width:0; padding:22px; border:1px solid var(--line); border-radius:14px; background:var(--surface); overflow-wrap:anywhere; }
.experience-card-head { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; }
.experience-card-meta, .experience-company-tags { color:var(--muted); font-size:.8rem; }
.experience-company-tags { display:flex; flex-wrap:wrap; gap:8px; }
.experience-badge { color:var(--accent); font-weight:800; }
.experience-badge.free { color:var(--brand); }
.experience-example { padding:12px; background:var(--page); border-radius:8px; }
.experience-locked-preview { filter:blur(7px); pointer-events:none; user-select:none; }
.experience-upgrade { display:inline-block; padding:9px 14px; border:1px solid var(--brand); border-radius:8px; background:var(--brand); color:#09241f; font-weight:800; text-decoration:none; }
.catalog-saved-filter { display:flex !important; flex-direction:row; align-items:center; }
.catalog-saved-filter input { width:20px; min-height:20px; accent-color:var(--brand); }
.learning-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:18px; }
.learning-stats strong { color:var(--brand); font-size:2.5rem; }
.learning-review-list { padding-left:22px; }
.learning-review-list li { margin:12px 0; }
.plan-comparison { overflow:auto; margin:24px 0; }
.plan-comparison table { width:100%; border-collapse:collapse; text-align:left; }
.plan-comparison caption { text-align:left; font-weight:800; padding-bottom:12px; }
.plan-comparison th, .plan-comparison td { padding:14px; border-bottom:1px solid var(--line); min-width:140px; }
.membership-price { color:var(--accent); font-size:1.6rem; font-weight:900; }
.home-hero { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(280px,.9fr); align-items:center; gap:clamp(28px,5vw,64px); margin:32px 0 16px; padding:clamp(28px,5vw,56px); border:1px solid var(--line); border-radius:24px; }
html[data-theme] .home-hero { background:radial-gradient(ellipse at 90% 10%,color-mix(in srgb,var(--brand) 13%,transparent),transparent 42%),linear-gradient(125deg,var(--theme-elevated),var(--theme-surface)); }
.home-hero-copy { min-width:0; }
.home-hero h1 { max-width:700px; font-size:clamp(2.5rem,5vw,4.25rem); }
.home-topic-search { width:100%; max-width:700px; margin:28px 0 20px; }
.home-topic-search label { display:block; margin-bottom:9px; font-size:.9rem; font-weight:750; }
.home-topic-search > div { display:flex; gap:10px; }
.home-topic-search input { flex:1; min-width:0; min-height:50px; padding:12px 16px; border:1px solid var(--line); border-radius:9px; background:var(--surface); color:var(--ink); }
.home-hero-guide { min-width:0; padding:24px; border:1px solid var(--line); border-radius:18px; background:color-mix(in srgb,var(--surface) 88%,transparent); box-shadow:0 18px 40px #0002; }
.home-hero-guide-label { margin:0 0 8px; color:var(--brand); font-size:.72rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.home-hero-guide h2 { margin:0 0 18px; font-size:1.35rem; letter-spacing:-.03em; line-height:1.25; }
.home-hero-steps { display:grid; gap:10px; }
.home-hero-step { display:grid; grid-template-columns:34px minmax(0,1fr); align-items:center; column-gap:12px; padding:12px; border:1px solid var(--line); border-radius:12px; background:var(--page); color:var(--ink); text-decoration:none; transition:transform .18s ease,border-color .18s ease; }
.home-hero-step:hover { transform:translateY(-2px); border-color:var(--brand); }
.home-hero-step > span { grid-row:span 2; display:grid; width:32px; height:32px; place-items:center; border-radius:50%; background:var(--theme-success-soft,var(--surface)); color:var(--brand); font-size:.75rem; font-weight:900; }
.home-hero-step strong { font-size:.92rem; }
.home-hero-step small { color:var(--muted); font-size:.78rem; line-height:1.4; }
.home-goals { grid-template-columns:repeat(3,minmax(0,1fr)); }
.home-goal-card { padding:24px; }
.home-goal-card a { display:block; padding:5px 0; font-weight:750; text-decoration:none; }
.home-path-callout { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:24px 0 16px; padding:22px 24px; border:1px solid #47736a; border-radius:12px; background:#142e2a; }
.home-path-callout strong { font-size:1.15rem; }
.home-path-callout p { margin:5px 0 0; color:var(--muted); }
.home-path-callout .button { flex-shrink:0; }
.home-topic-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr)); align-items:stretch; gap:18px; }
.home-topic-card { min-width:0; padding:24px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.home-topic-card h3 { margin:0 0 9px; font-size:1.2rem; }
.home-topic-card p { margin:0 0 16px; color:var(--muted); font-size:.92rem; }
.home-topic-card a { display:block; width:fit-content; max-width:100%; padding:7px 0; font-weight:700; text-decoration:none; overflow-wrap:anywhere; }
.home-topic-card a:hover, .home-goal-card a:hover { text-decoration:underline; }
@media (max-width:950px) {
  .home-hero { grid-template-columns:minmax(0,1fr); }
  .home-hero-steps { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .home-hero-step { align-content:start; }
  .home-goals { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-path-callout { flex-direction:column; align-items:flex-start; }
}
@media (max-width:600px) {
  .home-hero { gap:24px; margin:20px 0 8px; padding:24px 20px; border-radius:18px; }
  .home-hero-steps { grid-template-columns:minmax(0,1fr); }
  .home-topic-search > div { flex-direction:column; }
  .home-topic-search .button { align-self:flex-start; }
  .home-goals { grid-template-columns:minmax(0,1fr); }
  .home-topic-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
  .home-topic-card { padding:20px; }
  .hero:not(.home-hero) { padding:48px 20px 32px; }
  .topnav { gap:10px 16px; }
  .content-section { padding:32px 0; }
  .pro-panel { padding:22px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
