/* LMS Overview landing page. The look is the extension's own: a quiet cool neutral, one ink-blue accent for
   anything you can click, IBM Plex Sans for reading and IBM Plex Mono for numbers, soft tinted fills for
   status. Light and dark are designed from one token set. Borders are uniform or absent, never on one side only. */

:root {
  --bg: #f5f6f8; --surface: #ffffff; --surface-2: #eef0f4; --fg: #181c24; --muted: #626b7a; --faint: #98a0ae; --line: #e2e5eb; --line-2: #cfd4dd;
  --accent: #2b4ec9; --accent-h: #2341ab; --accent-soft: #e7ebfb; --on-accent: #ffffff;
  --green: #1f7a45; --green-soft: #e2f4e8; --amber: #9a6200; --amber-soft: #fcefd2; --red: #b4302c; --red-soft: #fbe4e2; --violet: #6d3fc2; --violet-soft: #efe7fb;
  --shadow: 0 24px 60px rgba(20, 24, 40, .16), 0 2px 6px rgba(20, 24, 40, .06);
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1120px; --gutter: clamp(16px, 4vw, 40px);
}
:root[data-theme="dark"] {
  --bg: #0f1115; --surface: #171a21; --surface-2: #1f2330; --fg: #e8eaf0; --muted: #9aa3b4; --faint: #636c7c; --line: #262b36; --line-2: #343a48;
  --accent: #8da0ff; --accent-h: #a5b4ff; --accent-soft: #1f2746; --on-accent: #0c1020;
  --green: #6fd394; --green-soft: #14291c; --amber: #f0b64a; --amber-soft: #302410; --red: #ff8a86; --red-soft: #351b1b; --violet: #c5aaff; --violet-soft: #29204a;
  --shadow: 0 24px 70px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .4);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0f1115; --surface: #171a21; --surface-2: #1f2330; --fg: #e8eaf0; --muted: #9aa3b4; --faint: #636c7c; --line: #262b36; --line-2: #343a48;
  --accent: #8da0ff; --accent-h: #a5b4ff; --accent-soft: #1f2746; --on-accent: #0c1020;
  --green: #6fd394; --green-soft: #14291c; --amber: #f0b64a; --amber-soft: #302410; --red: #ff8a86; --red-soft: #351b1b; --violet: #c5aaff; --violet-soft: #29204a;
  --shadow: 0 24px 70px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .4);
  color-scheme: dark;
} }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; }
h3 { font-size: 19px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--fg); color: var(--bg); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .d-tabs i, .ring .pr { transition: none !important; } }

/* ---------- buttons, pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); font: 600 16px var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-h); border-color: var(--accent-h); }
.btn.small { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn.tiny { height: 30px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.btn.tonal { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.pill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--surface-2); color: var(--muted); }
.chip { display: inline-block; font: 700 10px/16px var(--sans); padding: 0 6px; border-radius: 5px; background: var(--violet); color: #fff; margin-left: 6px; vertical-align: middle; }
.status { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font: 600 12px var(--sans); background: var(--surface); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.status.red { color: var(--red); } .status.red::before { background: var(--red); }
.status.amber { color: var(--amber); } .status.amber::before { background: var(--amber); }
.status.green { color: var(--green); } .status.green::before { background: var(--green); }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 10px var(--gutter); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font-weight: 600; letter-spacing: -.01em; }
.bar-nav { display: flex; gap: 18px; margin-left: 8px; font-size: 14.5px; color: var(--muted); }
.bar-nav a { text-decoration: none; }
.bar-nav a:hover { color: var(--fg); }
.bar .btn { margin-left: auto; }
.theme { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: 2px; margin-left: auto; }
.theme + .btn { margin-left: 0; }
.theme button { border: 0; background: none; width: 30px; height: 28px; border-radius: 999px; color: var(--faint); cursor: pointer; display: grid; place-items: center; }
.theme button.on { background: var(--surface-2); color: var(--fg); }
.theme svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .bar-nav { display: none; } }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 24px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.kicker { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin-bottom: 18px; }
.lede { font-size: 19px; color: var(--muted); max-width: 52ch; margin-bottom: 26px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.works { margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.demo-note { margin-top: 14px; font-size: 13.5px; color: var(--faint); text-align: right; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .demo-note { text-align: left; } }

/* ---------- the panel replica ---------- */
.demo { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; font-size: 13.5px; }
.d-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 10px; flex-wrap: wrap; }
.d-title { font-size: 17px; font-weight: 600; }
.d-sub { font-size: 11.5px; color: var(--muted); }
.d-tabs { position: relative; display: inline-flex; background: var(--surface-2); border-radius: 10px; padding: 3px; gap: 2px; }
.d-tabs i { position: absolute; top: 3px; bottom: 3px; left: 3px; width: 0; border-radius: 8px; background: var(--surface); box-shadow: 0 1px 3px rgba(20, 24, 40, .15); transition: left .2s cubic-bezier(.2, .8, .2, 1), width .2s cubic-bezier(.2, .8, .2, 1); }
.d-tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 6px 12px; border-radius: 8px; font: 600 13px var(--sans); color: var(--muted); cursor: pointer; }
.d-tabs button.on { color: var(--fg); }
.d-tools { padding: 0 16px 10px; }
.d-search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--faint); font-size: 12.5px; }
.d-search svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.d-body { padding: 2px 16px 12px; max-height: 420px; overflow: auto; }
.d-foot { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 9px 16px; border-top: 1px solid var(--line); background: var(--surface); font-size: 12px; color: var(--muted); }
.sw { width: 28px; height: 16px; border-radius: 999px; background: var(--line-2); position: relative; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.d-upd { margin-left: auto; font-family: var(--mono); }

.d-course { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.d-course.open { cursor: default; }
.d-course .d-table, .d-course .d-calc { grid-column: 1 / -1; }
.ring { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--surface-2) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--surface); }
.ring span { position: relative; font: 600 12px var(--mono); }
.d-cname { min-width: 0; }
.d-cname b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-cname small { display: block; color: var(--muted); font-size: 12px; }
.d-overall { text-align: right; }
.d-overall b { display: block; font: 600 16px var(--mono); }
.d-overall small { display: block; font-size: 11px; color: var(--muted); }
.d-table { width: 100%; border-collapse: collapse; margin: 4px -14px -2px; width: calc(100% + 28px); border-top: 1px solid var(--line); }
.d-table th { font-size: 11px; font-weight: 600; color: var(--muted); text-align: left; padding: 7px 14px 4px; }
.d-table td { padding: 7px 14px; border-top: 1px solid var(--line); font-size: 12.5px; }
.d-table tr:nth-child(even) td { background: var(--bg); }
.d-table .r { text-align: right; white-space: nowrap; font-family: var(--mono); font-size: 12px; }
.d-table .dim td { color: var(--faint); }
.d-calc { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 -14px -12px; padding: 10px 14px; background: var(--accent-soft); font-size: 12.5px; }
.d-calc label { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.d-calc input { width: 52px; height: 26px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--surface); color: var(--fg); font: 500 12px var(--mono); text-align: right; }
.d-calc .out { flex: 1 1 100%; }

.d-tl { position: relative; padding-left: 22px; }
.d-tl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.d-day { position: relative; margin: 12px 0 6px; font-weight: 600; font-size: 12.5px; }
.d-day small { font-weight: 500; color: var(--faint); margin-left: 6px; }
.d-day::before { content: ""; position: absolute; left: -20px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.d-day.today::before { background: var(--accent); border-color: var(--accent); }
.d-dl { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; margin-bottom: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.d-dl.over { background: var(--red-soft); border-color: color-mix(in srgb, var(--red) 35%, transparent); }
.d-dl.soon { background: var(--amber-soft); border-color: color-mix(in srgb, var(--amber) 35%, transparent); }
.d-dl.done { background: var(--green-soft); border-color: color-mix(in srgb, var(--green) 30%, transparent); }
.d-dl.done .d-dltitle b { text-decoration: line-through; color: var(--muted); }
.d-check { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--surface); display: grid; place-items: center; font-size: 12px; color: #fff; }
.d-check.on { background: var(--green); border-color: var(--green); }
.d-dltitle b { display: block; font-size: 14px; }
.d-dltitle small { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 12px; margin-top: 4px; }
.dettoggle { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; border: 1px solid transparent; background: var(--accent-soft); color: var(--accent); font: 600 11.5px var(--sans); cursor: pointer; }
.d-dl.open .dettoggle { background: var(--accent); color: var(--on-accent); }
.d-when { display: grid; justify-items: end; gap: 6px; font: 600 13px var(--mono); }
.d-det { display: none; grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; }
.d-dl.open .d-det { display: block; }
.d-det-txt { line-height: 1.5; }
.d-det-h { font-size: 11px; font-weight: 600; color: var(--muted); margin: 12px 0 5px; }
.d-det-list { display: flex; flex-wrap: wrap; gap: 6px; }
.att { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); font-size: 12px; }
.d-news { padding: 9px 11px; border-radius: 9px; background: var(--surface-2); margin-bottom: 6px; }
.d-news small { margin-left: 8px; color: var(--faint); font-size: 11px; }
.d-news div { color: var(--muted); margin-top: 3px; }
.d-news mark { background: var(--accent-soft); color: var(--accent); border-radius: 3px; padding: 0 2px; }

.d-picker { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 6px 0 10px; }
.d-select { flex: 1 1 160px; height: 32px; padding: 0 30px 0 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); font-weight: 600; font-size: 12.5px; display: flex; align-items: center; position: relative; }
.d-select::after { content: ""; position: absolute; right: 12px; top: 10px; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
.d-mod { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 7px; overflow: hidden; }
.d-mod-h { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.d-mod-h::before { content: ""; width: 6px; height: 6px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(-45deg); margin: 0 4px 0 2px; }
.d-mod.open .d-mod-h::before { transform: rotate(45deg); }
.d-mod-h b { flex: 1; }
.d-mod-h small { color: var(--faint); font-size: 11px; }
.d-mod-h span { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.d-topic { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 30px; }
.d-topic .kind { width: 26px; height: 26px; border-radius: 7px; background: var(--surface-2); display: grid; place-items: center; font-size: 13px; }
.d-topic b { flex: 1; font-weight: 500; }
.d-topic .dl { color: var(--faint); }

/* ---------- scattered-information section ---------- */
.details { padding: clamp(56px, 8vw, 110px) 0; }
.section-lede { font-size: 18px; color: var(--muted); max-width: 64ch; margin: 14px 0 34px; }
.gather { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 36px); align-items: center; }
.sources { list-style: none; padding: 0; display: grid; gap: 8px; }
.sources li { display: grid; gap: 2px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.sources b { font-weight: 600; }
.sources span { color: var(--muted); font-size: 14px; }
.arrow svg { width: 80px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.result-card { background: var(--amber-soft); border: 1px solid color-mix(in srgb, var(--amber) 35%, transparent); border-radius: 16px; padding: 20px 22px; display: grid; gap: 8px; }
.result-card > b { font-size: 20px; }
.result-card .status { justify-self: start; }
.result-h { font-size: 12px; font-weight: 600; color: var(--accent); margin-top: 8px; }
.result-row { padding: 9px 12px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; }
.result-row small { display: block; color: var(--muted); font-size: 12.5px; }
.note { margin-top: 28px; color: var(--muted); font-size: 15px; max-width: 70ch; }
@media (max-width: 820px) { .gather { grid-template-columns: 1fr; } .arrow { justify-self: center; transform: rotate(90deg); } }

/* ---------- features ---------- */
.features { padding: 0 0 clamp(56px, 8vw, 110px); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.feature p { color: var(--muted); }
.feature-detail { padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--fg) !important; font-size: 15px; }
@media (max-width: 820px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- small stuff ---------- */
.small { padding: 0 0 clamp(56px, 8vw, 110px); }
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.panel.wide { grid-column: span 2; }
.panel.privacy { background: var(--green-soft); border-color: color-mix(in srgb, var(--green) 30%, transparent); }
.panel p { color: var(--muted); font-size: 15.5px; }
.panel.privacy p { color: var(--fg); }
kbd { font: 600 12px var(--mono); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px; background: var(--surface-2); }
@media (max-width: 820px) { .panels { grid-template-columns: 1fr; } .panel.wide { grid-column: auto; } }

/* ---------- pricing ---------- */
.pricing { padding: 0 0 clamp(56px, 8vw, 110px); }
.pricing-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 48px); }
.pricing-copy p { color: var(--muted); font-size: 17px; margin: 14px 0 20px; }
.checks { list-style: none; padding: 0; display: grid; gap: 8px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.price-card { display: grid; gap: 16px; padding: 28px; border-radius: 16px; background: var(--accent-soft); border: 1px solid transparent; text-align: center; }
.price { display: inline-flex; align-items: baseline; justify-content: center; gap: 4px; font-family: var(--mono); }
.price .cur { font-size: 24px; font-weight: 600; }
.price [data-price] { font-size: 64px; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.price .per { font: 500 15px var(--sans); color: var(--muted); margin-left: 8px; }
.price-note { font-size: 13.5px; color: var(--muted); }
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- setup ---------- */
.setup { padding: 0 0 clamp(56px, 8vw, 110px); }
.setup-steps { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.setup-steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.setup-steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 600 15px var(--mono); }
.setup-steps p { color: var(--muted); font-size: 15.5px; }
.setup-steps .btn { justify-self: start; }
@media (max-width: 820px) { .setup-steps { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { padding: 0 0 clamp(56px, 8vw, 110px); }
.faq-wrap { max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-top: 10px; }
.faq h2 + details { margin-top: 26px; }
.faq summary { padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font: 600 20px var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* ---------- finale, footer ---------- */
.finale { padding: 0 0 clamp(56px, 8vw, 110px); }
.finale-inner { text-align: center; display: grid; gap: 22px; justify-items: center; padding: clamp(36px, 6vw, 72px) var(--gutter); border-radius: 22px; background: var(--accent); color: var(--on-accent); }
.finale h2 { color: inherit; }
.finale .btn.primary { background: var(--on-accent); color: var(--accent); border-color: transparent; }
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; color: var(--muted); }
.foot-inner { display: grid; gap: 14px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--fg); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; color: var(--fg); }
.foot-maker a { color: var(--fg); }
.foot-credits, .foot-copy { font-size: 13px; max-width: 80ch; }
