/* TRYeTECH Academy — static course pages (courses/*.html). Owner: SEO agent.
   Same design tokens as player.css (light + dark), kept small so the pages stay fast. No network, no fonts. */
:root {
  --navy: #0b3d5e; --navy-2: #0f5480; --navy-3: #082c44;
  --accent: #f2a516; --on-accent: #0b2a40;
  --bg: #f3f5f8; --surface: #ffffff; --surface-2: #f6f8fb; --surface-3: #eef2f6;
  --line: #dce3eb; --line-2: #c9d3de;
  --ink: #0f1d2b; --ink-2: #33475c; --muted: #546579; --link: #0a5a8c;
  --ok: #2e7d32; --ok-bg: #e8f5e9; --warn: #8a5300; --warn-bg: #fff4dc;
  --shadow-1: 0 1px 2px rgba(11, 61, 94, .06), 0 2px 8px rgba(11, 61, 94, .05);
  --r: 14px; --r-lg: 20px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a131d; --surface: #111e2b; --surface-2: #162636; --surface-3: #1b2e41; --line: #243a50; --line-2: #2f4a64;
    --ink: #e9eff6; --ink-2: #bfccda; --muted: #98a9bc; --link: #86c8ff;
    --ok: #66bb6a; --ok-bg: rgba(102, 187, 106, .14); --warn: #ffc65c; --warn-bg: rgba(242, 165, 22, .14);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a131d; --surface: #111e2b; --surface-2: #162636; --surface-3: #1b2e41; --line: #243a50; --line-2: #2f4a64;
  --ink: #e9eff6; --ink-2: #bfccda; --muted: #98a9bc; --link: #86c8ff;
  --ok: #66bb6a; --ok-bg: rgba(102, 187, 106, .14); --warn: #ffc65c; --warn-bg: rgba(242, 165, 22, .14);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.6 var(--font); overflow-wrap: break-word; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h2 { font-size: clamp(23px, 3.2vw, 29px); }
h3 { font-size: 18px; }
p { margin: 0 0 .9em; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
img { max-width: 100%; height: auto; }
ul, ol { padding-left: 1.3em; }
.seo-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.seo-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.seo-skip:focus { top: 12px; }
.seo-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 600px) { .seo-wrap { padding: 0 16px; } body { font-size: 16px; } }
.seo-ic { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.seo-muted { color: var(--muted); }

/* header */
.seo-top { background: var(--navy); color: #fff; }
.seo-top .seo-wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.seo-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 18px; min-height: 44px; white-space: nowrap; }
.seo-brand b { font-weight: 800; } .seo-brand span { font-weight: 500; }
.seo-logo { height: 72px; width: auto; flex: none; display: block; }
@media (max-width: 1180px) { .seo-logo { height: 60px; } }
@media (max-width: 900px) { .seo-logo { height: 52px; } }
@media (max-width: 520px) { .seo-logo { height: 44px; } }
.seo-nav { margin-left: auto; display: flex; align-items: center; gap: 4px 6px; flex-wrap: wrap; }
.seo-nav a:not(.seo-btn) { color: #fff; text-decoration: none; padding: 10px 10px; border-radius: 8px; font-weight: 600; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.seo-nav a:not(.seo-btn):hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 420px) { .seo-brand span:not(.seo-sr) { display: none; } .seo-brand span b { display: none; } }

/* buttons */
.seo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font: 700 15.5px/1.1 var(--font); text-decoration: none; cursor: pointer; text-align: center; }
.seo-btn.primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 4px 12px rgba(242, 165, 22, .28); }
.seo-btn.primary:hover { filter: brightness(1.06); }
.seo-btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.seo-btn.ghost:hover { border-color: var(--link); }
.seo-btn.sm { padding: 0 14px; font-size: 14.5px; }
.seo-btn.big { min-height: 52px; padding: 0 24px; font-size: 16.5px; border-radius: 14px; }
.seo-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.seo-cta.sm { margin: 12px 0 0; }

/* breadcrumb */
.seo-crumb ol { list-style: none; padding: 0; margin: 14px auto 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14.5px; color: var(--muted); }
.seo-crumb li + li::before { content: "›"; margin: 0 6px 0 2px; color: var(--muted); }
.seo-crumb li { display: flex; align-items: center; }
.seo-crumb a, .seo-crumb [aria-current] { display: inline-block; padding: 6px 0; }
.seo-nw { white-space: nowrap; }

/* hero */
.seo-hero { position: relative; margin: 10px 0 0; }
.seo-hero > .seo-wrap { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding-top: 34px; padding-bottom: 30px; box-shadow: var(--shadow-1); overflow: hidden; }
.seo-hero > .seo-wrap::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--cc, var(--accent)); }
@media (min-width: 1160px) { .seo-hero > .seo-wrap { padding-left: 40px; padding-right: 40px; } }
.seo-hero-g { display: grid; grid-template-columns: 1.4fr .8fr; gap: 32px; align-items: center; }
@media (max-width: 860px) { .seo-hero-g { grid-template-columns: 1fr; } .seo-hero-art { max-width: 360px; } }
@media (max-width: 1160px) { .seo-hero { padding: 0 20px; } .seo-hero > .seo-wrap { padding-left: 26px; padding-right: 22px; } }
@media (max-width: 600px) { .seo-hero { padding: 0 12px; } .seo-hero > .seo-wrap { padding: 24px 16px 22px 20px; } }
.seo-hero h1 { font-size: clamp(28px, 4.6vw, 42px); margin: 6px 0 12px; }
.seo-kicker { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; font-size: 14.5px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.seo-kicker .seo-ic { color: var(--cc, var(--accent)); width: 1.4em; height: 1.4em; }
.seo-lead { font-size: 19px; color: var(--ink-2); font-weight: 500; }
.seo-hero-art { margin: 0; }
.seo-hero-art img { display: block; width: 100%; border-radius: 18px; border: 1px solid var(--line); }
.seo-facts { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seo-facts li { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-3); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }

/* sections */
.seo-sec { margin-top: 44px; }
.seo-h3 { margin-top: 26px; }
.seo-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-1); }
.seo-card h3 { display: flex; align-items: center; gap: 8px; }
.seo-card h3 .seo-ic { color: var(--link); }
.seo-card p:last-child { margin-bottom: 0; }
.seo-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.seo-feats, .seo-tiers, .seo-cgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.seo-feats p { color: var(--ink-2); font-size: 15.5px; }
.seo-labs { columns: 2 340px; column-gap: 28px; margin: 0; padding-left: 1.2em; }
.seo-labs li { break-inside: avoid; margin-bottom: 8px; color: var(--ink-2); }
.seo-labs strong { color: var(--ink); }

/* outline */
.seo-mods { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.seo-mod { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-1); }
.seo-mod h3 { display: flex; gap: 12px; align-items: flex-start; font-size: 19px; margin-bottom: 4px; }
.seo-mn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 16px; font-weight: 800; }
.seo-mmeta { color: var(--muted); font-size: 14.5px; margin: 0 0 10px 46px; }
.seo-mod > article > p, .seo-mod .seo-obj, .seo-mod .seo-less { margin-left: 46px; }
@media (max-width: 600px) { .seo-mmeta, .seo-mod > article > p, .seo-mod .seo-obj, .seo-mod .seo-less { margin-left: 0; } }
.seo-lbl { font-weight: 700; font-size: 14.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 4px !important; }
.seo-obj { margin-top: 0; color: var(--ink-2); }
.seo-obj li { margin-bottom: 4px; }
.seo-less { columns: 2 300px; column-gap: 28px; margin: 0; }
.seo-less li { break-inside: avoid; padding: 2px 0; }
.seo-free { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--ok); background: var(--ok-bg); border-radius: 999px; padding: 1px 8px; margin-left: 4px; vertical-align: 1px; }

.seo-chips { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.seo-chips li { background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 6px 12px; font-size: 15px; font-weight: 600; }
.seo-note { background: var(--warn-bg); color: var(--ink); border-left: 4px solid var(--warn); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.seo-tw { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin: 12px 0; }
.seo-t { width: 100%; border-collapse: collapse; font-size: 15px; }
.seo-t caption { text-align: left; padding: 12px 14px 4px; font-weight: 700; color: var(--ink-2); }
.seo-t th, .seo-t td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.seo-t thead th { background: var(--surface-2); font-size: 14px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-2); }
.seo-kp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; margin: 0; }
.seo-kp div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.seo-kp dt { font-weight: 700; } .seo-kp dd { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.seo-tiers .seo-card { display: flex; flex-direction: column; }
.seo-tiers .seo-card p { flex: 1; }
.seo-tiers .seo-btn { align-self: flex-start; margin-top: 12px; }
.seo-tier-full { border-color: var(--accent); border-width: 2px; }
.seo-faq { display: grid; gap: 12px; }
.seo-qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; }
.seo-qa h3 { font-size: 17.5px; }
.seo-qa p { margin: 0; color: var(--ink-2); }
.seo-band { margin-top: 48px; background: var(--navy); color: #fff; padding: 36px 0 30px; }
.seo-band h2 { color: #fff; }
.seo-band p { color: #d7e5f1; }
.seo-band .seo-muted { color: #c3d6e6; font-size: 14px; margin-top: 12px; }
.seo-band .seo-btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.seo-band .seo-btn.ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.seo-band :focus-visible { outline-color: var(--accent); }

/* courses index cards */
.seo-cc { border-top: 5px solid var(--cc); display: flex; flex-direction: column; }
.seo-cc > p { color: var(--ink-2); font-size: 15.5px; }
.seo-cc-t { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.seo-cc-t h3 { margin: 0 0 2px; font-size: 18.5px; }
.seo-cc-t h3 a { color: var(--ink); text-decoration: none; }
.seo-cc-t h3 a:hover { text-decoration: underline; color: var(--link); }
.seo-cc-t p { margin: 0; font-size: 14px; }
.seo-cic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-3); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); border: 1px solid var(--line); }
.seo-ic.lg { width: 26px; height: 26px; }
.seo-meta { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.seo-ed { font-size: 13.5px; color: var(--muted); margin-top: auto; }

/* footer */
.seo-foot { background: var(--surface); border-top: 1px solid var(--line); margin-top: 0; padding: 30px 0 34px; color: var(--muted); font-size: 14.5px; }
.seo-band + .seo-foot, main + .seo-foot { margin-top: 0; }
.seo-foot-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; margin-bottom: 16px; }
.seo-foot h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); margin-bottom: 6px; }
.seo-foot ul { list-style: none; padding: 0; margin: 0; }
.seo-foot li a { display: inline-block; padding: 5px 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .seo-top, .seo-band, .seo-foot, .seo-cta { display: none; } body { background: #fff; } }

/* v2 compact course landing: module cards 2-up, tighter spacing */
.seo-sec { margin-top: 32px; }
.seo-mods { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 12px; align-items: start; }
.seo-mod { padding: 14px 16px; }
.seo-mod h3 { font-size: 17px; }
.seo-mod > article > p, .seo-mod .seo-obj, .seo-mod .seo-less, .seo-mmeta { margin-left: 0 !important; }
.seo-less { columns: 1; font-size: 14.5px; }
.seo-obj { font-size: 14.5px; }

.nocase{text-transform:none!important}
