:root {
    --ink: #111310;
    --paper: #f5f5ef;
    --muted: #696d66;
    --line: rgba(17, 19, 16, .14);
    --accent: #c6ff35;
    --accent-rgb: 198, 255, 53;
    --card: #fff;
    --dark: #0b0d0c;
    --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.study-body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.study-body a { color: inherit; text-decoration: none; }
.study-body button,
.study-body input,
.study-body textarea { font: inherit; }
.study-body h1,
.study-body h2,
.study-body h3,
.study-body p { margin-top: 0; }
.study-body ::selection { background: var(--accent); color: #0b0d0c; }

.study-container {
    width: min(1240px, calc(100% - 64px));
    margin-inline: auto;
}

.study-section { padding: 120px 0; }

.study-nav {
    position: relative;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 12px max(32px, calc((100vw - 1240px) / 2));
    background: var(--dark);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.13);
}

.study-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.study-brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--accent);
    color: #0b0d0c;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px;
    letter-spacing: -.12em;
    transform: rotate(-3deg);
}

.study-brand > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.study-brand small { margin-top: 5px; color: rgba(255,255,255,.56); font-size: 9px; letter-spacing: .24em; }

.study-nav nav { display: flex; align-items: center; gap: 32px; font-size: 13px; }
.study-nav nav > a:not(.study-nav-button) { color: rgba(255,255,255,.7); transition: color .2s ease; }
.study-nav nav > a:not(.study-nav-button):hover { color: #fff; }
.study-nav-button {
    padding: 11px 18px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    transition: .2s ease;
}
.study-nav-button:hover { border-color: var(--accent); color: var(--accent); }

.study-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.study-kicker > span { width: 28px; height: 2px; background: var(--accent); }

.study-button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    border: 0;
    border-radius: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.study-button:hover { transform: translateY(-2px); }
.study-button-primary { background: var(--accent); color: #0b0d0c !important; box-shadow: 0 12px 30px rgba(var(--accent-rgb), .14); }
.study-button-primary:hover { box-shadow: 0 16px 40px rgba(var(--accent-rgb), .24); }
.study-actions { display: flex; align-items: center; gap: 24px; }
.study-text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; }
.study-text-link span { color: var(--accent); font-size: 21px; }

.study-section-heading {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 58px;
}
.study-section-heading.compact { align-items: center; }
.study-section-heading h2,
.split-heading h2,
.application-copy h2,
.faq-grid h2,
.portfolio-grid h2 {
    margin-bottom: 0;
    font-size: clamp(40px, 5vw, 68px);
    line-height: .98;
    letter-spacing: -.065em;
}
.study-section-heading > p,
.portfolio-grid > div:first-child > p,
.application-copy > p { margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }

/* Theme tokens */
.theme-lime { --accent: #c6ff35; --accent-rgb: 198, 255, 53; }
.theme-cyan { --accent: #47e6ff; --accent-rgb: 71, 230, 255; }
.theme-violet { --accent: #a978ff; --accent-rgb: 169, 120, 255; }
.theme-amber { --accent: #ffbe3f; --accent-rgb: 255, 190, 63; }
.theme-rose { --accent: #ff6fa8; --accent-rgb: 255, 111, 168; }
.theme-blue { --accent: #5d8cff; --accent-rgb: 93, 140, 255; }
.theme-orange { --accent: #ff7a3d; --accent-rgb: 255, 122, 61; }
.theme-mint { --accent: #5ff2bd; --accent-rgb: 95, 242, 189; }
.theme-red { --accent: #ff554f; --accent-rgb: 255, 85, 79; }
.theme-electric { --accent: #e8ff3f; --accent-rgb: 232, 255, 63; }
.theme-yellow { --accent: #ffe14f; --accent-rgb: 255, 225, 79; }

/* Catalog */
.catalog-hero {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    color: #fff;
    padding: 96px 0 0;
}
.catalog-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -120px;
    top: -160px;
    border-radius: 50%;
    background: var(--accent);
    filter: blur(130px);
    opacity: .13;
}
.catalog-hero-grid,
.course-hero-pattern,
.career-grid-lines {
    position: absolute;
    inset: 0;
    opacity: .14;
    background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
.catalog-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 80px;
    min-height: 570px;
    padding-bottom: 90px;
}
.catalog-hero .study-kicker,
.course-hero .study-kicker { color: rgba(255,255,255,.58); }
.catalog-hero h1 {
    max-width: 790px;
    margin-bottom: 30px;
    font-size: clamp(54px, 6.4vw, 92px);
    line-height: .91;
    letter-spacing: -.075em;
}
.catalog-hero h1 em,
.catalog-cta h2 em { color: var(--accent); font-style: normal; }
.catalog-lead { max-width: 670px; margin-bottom: 42px; color: rgba(255,255,255,.66); font-size: 20px; line-height: 1.55; }

.catalog-console {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 24px;
    background: rgba(5, 7, 6, .76);
    box-shadow: 0 40px 90px rgba(0,0,0,.4);
    transform: rotate(1.5deg);
}
.console-bar,
.visual-window-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.035);
}
.console-bar > span,
.visual-window-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #ff5e57; }
.console-bar > span:nth-child(2), .visual-window-bar > span:nth-child(2) { background: #febc2e; }
.console-bar > span:nth-child(3), .visual-window-bar > span:nth-child(3) { background: #28c840; }
.console-bar small,
.visual-window-bar small { margin-left: auto; color: rgba(255,255,255,.38); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.console-code { padding: 36px 34px 28px; font: 14px/1.95 ui-monospace, SFMono-Regular, Menlo, monospace; }
.console-code p { margin-bottom: 0; color: rgba(255,255,255,.72); }
.console-code i { color: #ff6fa8; font-style: normal; }
.console-code b { color: var(--accent); font-weight: 500; }
.console-code strong { color: #a978ff; font-weight: 500; }
.console-code u { color: #47e6ff; text-decoration: none; }
.console-indent { padding-left: 28px; }
.console-result { padding: 18px 34px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font-size: 12px; }
.console-result span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: var(--accent); color: #0b0d0c; font-weight: 900; }

.catalog-facts {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,.13);
}
.catalog-facts > div { display: flex; flex-direction: column; padding: 30px 0; }
.catalog-facts > div + div { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.13); }
.catalog-facts strong { font-size: 20px; letter-spacing: -.03em; }
.catalog-facts span { margin-top: 4px; color: rgba(255,255,255,.45); font-size: 12px; }

.catalog-heading { align-items: center; }
.catalog-filter { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.catalog-filter button { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.catalog-filter button.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.program-card {
    --accent: #c6ff35;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.64);
    transition: transform .25s ease, box-shadow .25s ease, border .25s ease;
}
.program-card::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    right: -90px;
    top: -100px;
    border-radius: 50%;
    background: var(--accent);
    filter: blur(50px);
    opacity: .22;
}
.program-card:hover { z-index: 2; transform: translateY(-7px); border-color: rgba(17,19,16,.3); box-shadow: 0 26px 70px rgba(19,22,17,.12); }
.program-card.is-featured { background: var(--dark); color: #fff; border-color: rgba(255,255,255,.12); }
.program-card.is-featured .program-card-lead,
.program-card.is-featured .program-card-meta,
.program-card.is-featured .program-card-price span { color: rgba(255,255,255,.52); }
.program-card-link { position: absolute; inset: 0; z-index: 4; }
.program-card-top,
.program-card-price,
.program-card-meta { position: relative; display: flex; align-items: center; justify-content: space-between; }
.program-number { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; background: var(--accent); color: #0b0d0c; font: 800 13px ui-monospace, SFMono-Regular, Menlo, monospace; }
.program-badge { padding: 6px 9px; border: 1px solid currentColor; border-radius: 999px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.program-card.is-featured .program-badge { color: var(--accent); }
.program-card-main { position: relative; margin: auto 0; padding: 50px 0 34px; }
.program-card-main > p:first-child { margin-bottom: 13px; color: var(--accent); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.program-card h3 { margin-bottom: 12px; font-size: 30px; line-height: 1; letter-spacing: -.055em; }
.program-card-lead { max-width: 330px; margin-bottom: 0; color: var(--muted); font-size: 14px; }
.program-card-meta { justify-content: flex-start; gap: 10px; margin-bottom: 20px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.program-card-meta span + span::before { content: "·"; margin-right: 10px; }
.program-card-price { padding-top: 20px; border-top: 1px solid currentColor; border-color: var(--line); }
.program-card.is-featured .program-card-price { border-color: rgba(255,255,255,.12); }
.program-card-price strong { font-size: 21px; letter-spacing: -.04em; }
.program-card-price span { max-width: 140px; color: var(--muted); font-size: 10px; text-align: right; }
.program-arrow { position: absolute; z-index: 3; right: 22px; top: 54%; color: var(--accent); font-size: 28px; opacity: 0; transform: translate(-8px, 8px); transition: .25s ease; }
.program-card:hover .program-arrow { opacity: 1; transform: none; }
.program-card[hidden] { display: none; }

.tariff-section { background: #fff; }
.tariff-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tariff-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #f7f8f3;
}
.tariff-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #c6ff35, #47e6ff, #ffbe3f, #ff6fa8);
}
.tariff-card > span { color: var(--muted); font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.tariff-card h3 { margin: 52px 0 16px; font-size: 24px; line-height: 1.02; letter-spacing: -.055em; }
.tariff-card strong { display: block; margin-bottom: 18px; font-size: 28px; line-height: 1; letter-spacing: -.055em; }
.tariff-card p { margin-bottom: 26px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.tariff-card a { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.tariff-card i { color: var(--accent); font-style: normal; }

.vacancy-section { background: #1d211b; color: #fff; }
.vacancy-section .study-kicker { color: rgba(255,255,255,.5); }
.vacancy-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; margin-bottom: 54px; }
.vacancy-hero h2 { margin-bottom: 0; font-size: clamp(42px, 5.4vw, 72px); line-height: .94; letter-spacing: -.065em; }
.vacancy-hero > p { margin-bottom: 0; color: rgba(255,255,255,.58); font-size: 17px; line-height: 1.65; }
.vacancy-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.vacancy-card { display: flex; flex-direction: column; min-height: 300px; padding: 28px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.035); }
.vacancy-card > span { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.vacancy-card h3 { margin: 52px 0 16px; font-size: 27px; line-height: 1; letter-spacing: -.055em; }
.vacancy-card p { color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.55; }
.vacancy-card a { display: inline-flex; align-items: center; justify-content: space-between; margin-top: auto; color: #fff; font-size: 12px; font-weight: 800; }
.vacancy-card i { color: var(--accent); font-style: normal; }

.conditions-section { background: #dfe2da; }
.condition-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.condition-card { display: flex; flex-direction: column; min-height: 500px; padding: 34px; border-radius: 24px; background: #fff; }
.condition-card > span { color: var(--muted); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.condition-card h3 { margin: 50px 0 20px; font-size: 34px; line-height: 1; letter-spacing: -.055em; }
.condition-card > p { color: var(--muted); font-size: 14px; }
.condition-card ul { margin: 16px 0 32px; padding: 0; list-style: none; }
.condition-card li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); font-size: 12px; }
.condition-card li::before { content: "✓"; position: absolute; left: 0; color: #3caf7b; font-weight: 900; }
.condition-card > div:last-child { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; }
.condition-card > div strong { max-width: 210px; font-size: 20px; line-height: 1.15; }
.condition-card > div a { font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.condition-postpay { border-top: 5px solid #5ff2bd; }
.condition-guarantee { border-top: 5px solid #ff554f; }
.condition-team { background: var(--dark); color: #fff; border-top: 5px solid #e8ff3f; }
.condition-team > p,
.condition-team > span { color: rgba(255,255,255,.55); }
.condition-team li { border-color: rgba(255,255,255,.12); }
.condition-team li::before { color: #e8ff3f; }

.comparison-section { background: #fff; }
.study-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 18px; }
.study-table { width: 100%; min-width: 920px; border-collapse: collapse; }
.study-table th { padding: 16px 18px; background: #eef0e9; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.study-table td { padding: 17px 18px; border-top: 1px solid var(--line); font-size: 12px; }
.study-table td:first-child { display: flex; align-items: center; gap: 12px; }
.study-table td:nth-child(2), .study-table td:nth-child(3) { white-space: nowrap; }
.study-table td:nth-child(4) { color: var(--muted); }
.study-table td:last-child a { display: grid; place-items: center; width: 31px; height: 31px; margin-left: auto; border-radius: 50%; background: var(--ink); color: #fff; }
.table-dot { --accent: #c6ff35; display: inline-block; flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

.catalog-cta { padding: 120px 0; background: var(--dark); color: #fff; }
.catalog-cta-inner { max-width: 1000px; text-align: center; }
.catalog-cta .study-kicker { justify-content: center; color: rgba(255,255,255,.5); }
.catalog-cta h2 { margin-bottom: 30px; font-size: clamp(50px, 7vw, 96px); line-height: .9; letter-spacing: -.075em; }
.catalog-cta p:not(.study-kicker) { max-width: 650px; margin: 0 auto 36px; color: rgba(255,255,255,.56); font-size: 18px; }

/* Course hero */
.study-progress { position: fixed; z-index: 90; left: 0; top: 0; width: 0; height: 3px; background: var(--accent); box-shadow: 0 0 15px rgba(var(--accent-rgb), .8); }
.course-hero { position: relative; overflow: hidden; padding: 86px 0 100px; background: var(--dark); color: #fff; }
.course-hero::after { content: ""; position: absolute; width: 600px; height: 600px; right: -190px; bottom: -280px; border-radius: 50%; background: var(--accent); filter: blur(150px); opacity: .12; }
.course-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 90px; }
.course-back { display: inline-block; margin-bottom: 46px; color: rgba(255,255,255,.5) !important; font-size: 12px; }
.course-back:hover { color: var(--accent) !important; }
.course-tags { display: flex; gap: 8px; margin-bottom: 23px; }
.course-tags span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.7); font: 700 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; text-transform: uppercase; }
.course-tags span:last-child { border-color: var(--accent); color: var(--accent); }
.course-hero h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(56px, 6.4vw, 96px); line-height: .9; letter-spacing: -.075em; }
.course-lead { max-width: 700px; margin-bottom: 35px; color: rgba(255,255,255,.62); font-size: 19px; line-height: 1.6; }
.hero-contract-note { display: flex; gap: 14px; max-width: 680px; margin: 0 0 35px; padding: 16px; border: 1px solid rgba(var(--accent-rgb), .45); border-radius: 14px; background: rgba(var(--accent-rgb), .06); }
.hero-contract-note > span { display: grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; border-radius: 50%; background: var(--accent); color: #0b0d0c; font-weight: 900; }
.hero-contract-note p { margin-bottom: 0; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.5; }
.hero-contract-note strong { display: block; margin-bottom: 3px; color: #fff; font-size: 13px; }

.course-visual {
    position: relative;
    overflow: hidden;
    min-height: 550px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 28px;
    background: rgba(6,8,7,.8);
    box-shadow: 0 45px 100px rgba(0,0,0,.42);
}
.visual-index { position: absolute; right: 18px; top: 48px; color: rgba(255,255,255,.04); font-size: 200px; font-weight: 900; line-height: 1; letter-spacing: -.1em; }
.visual-command { position: relative; margin: 38px 30px 58px; color: rgba(255,255,255,.48); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.visual-command i { color: var(--accent); font-style: normal; }
.visual-command b { color: #fff; font-weight: 500; }
.visual-price { position: relative; padding: 0 30px 36px; }
.visual-price > span,
.visual-specs span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.4); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.visual-price strong { display: block; max-width: 480px; color: var(--accent); font-size: clamp(34px, 4vw, 58px); line-height: .98; letter-spacing: -.06em; }
.visual-price strong { overflow-wrap: anywhere; }
.visual-price p { max-width: 430px; margin: 14px 0 0; color: rgba(255,255,255,.5); font-size: 12px; }
.visual-specs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; }
.visual-specs > div { padding: 16px; }
.visual-specs > div + div { border-left: 1px solid rgba(255,255,255,.12); }
.visual-specs strong { display: block; font-size: 11px; line-height: 1.3; }
.visual-status { position: absolute; left: 30px; bottom: 25px; color: rgba(255,255,255,.48); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.visual-status span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(var(--accent-rgb),.1); }

/* Per-landing compositions */
.layout-chat .course-visual::before,
.layout-chat .course-visual::after { content: ""; position: absolute; right: 25px; width: 105px; height: 34px; border: 1px solid rgba(var(--accent-rgb),.5); border-radius: 18px 18px 3px 18px; }
.layout-chat .course-visual::before { top: 98px; }
.layout-chat .course-visual::after { top: 141px; right: 60px; width: 76px; border-radius: 18px 18px 18px 3px; background: rgba(var(--accent-rgb),.1); }
.layout-editor .course-visual { background-image: linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 42px 100%; }
.layout-notebook .course-visual::before { content: "In [4]"; position: absolute; right: 24px; top: 105px; color: var(--accent); font: 11px ui-monospace, monospace; }
.layout-checklist .visual-index { text-decoration: line-through; text-decoration-color: var(--accent); }
.layout-architecture .course-visual::before { content: "API  →  SERVICE  →  DB"; position: absolute; right: 26px; top: 115px; color: var(--accent); font: 9px ui-monospace, monospace; letter-spacing: .08em; }
.layout-stack .course-visual::before { content: "UI\A API\A DB"; white-space: pre; position: absolute; right: 24px; top: 100px; padding: 10px 26px; border-left: 2px solid var(--accent); color: rgba(255,255,255,.55); font: 10px/2.2 ui-monospace, monospace; }
.layout-offer .course-visual { border-color: rgba(var(--accent-rgb),.55); }
.layout-offer .visual-index { color: rgba(var(--accent-rgb), .08); }
.layout-contract .course-visual::before { content: "ОФЕР ИЛИ ВОЗВРАТ"; position: absolute; right: -38px; top: 102px; padding: 8px 45px; background: var(--accent); color: #0b0d0c; font-size: 9px; font-weight: 900; letter-spacing: .1em; transform: rotate(36deg); }
.layout-team .course-visual { border: 2px solid var(--accent); }
.layout-team .course-visual::before { content: "МЕСТО ЗАКРЕПЛЕНО"; position: absolute; z-index: 2; right: 22px; top: 95px; color: var(--accent); font: 900 10px ui-monospace, monospace; letter-spacing: .12em; }

/* Course sections */
.course-fit { background: #eef0e9; }
.split-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.fit-list { border-top: 1px solid var(--line); }
.fit-list article { display: grid; grid-template-columns: 60px 1fr; gap: 20px; align-items: center; padding: 28px 8px; border-bottom: 1px solid var(--line); }
.fit-list article > span { color: var(--accent); font: 800 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.fit-list p { margin-bottom: 0; font-size: 21px; font-weight: 650; letter-spacing: -.03em; }

.course-results { background: var(--paper); }
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.result-grid article { position: relative; min-height: 250px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-grid span { color: var(--muted); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.result-grid h3 { max-width: 230px; margin: 100px 0 0; font-size: 22px; line-height: 1.08; letter-spacing: -.045em; }
.result-grid i { position: absolute; right: 22px; top: 20px; color: var(--accent); font-size: 24px; font-style: normal; }

.course-program { background: #fff; }
.module-list { border-top: 1px solid var(--ink); }
.module-list article { position: relative; display: grid; grid-template-columns: .38fr .62fr 1fr; gap: 30px; align-items: center; padding: 31px 60px 31px 8px; border-bottom: 1px solid var(--line); }
.module-list article > span { color: var(--muted); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.module-list h3 { margin-bottom: 0; font-size: 26px; letter-spacing: -.05em; }
.module-list p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.module-list i { position: absolute; right: 10px; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-style: normal; }

.career-section { position: relative; overflow: hidden; padding: 120px 0; background: var(--dark); color: #fff; }
.career-section::before { content: ""; position: absolute; width: 650px; height: 650px; left: -270px; top: -280px; border-radius: 50%; background: var(--accent); filter: blur(170px); opacity: .1; }
.career-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 110px; }
.career-copy .study-kicker { color: rgba(255,255,255,.48); }
.career-copy h2 { margin-bottom: 28px; font-size: clamp(44px, 5vw, 70px); line-height: .94; letter-spacing: -.065em; }
.career-copy > p { color: rgba(255,255,255,.6); font-size: 17px; line-height: 1.65; }
.career-price { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.career-price strong { color: var(--accent); font-size: 30px; letter-spacing: -.05em; }
.career-price span { color: rgba(255,255,255,.45); font-size: 12px; }
.contract-card { position: relative; padding: 34px; border: 1px solid rgba(255,255,255,.17); border-radius: 24px; background: rgba(255,255,255,.055); backdrop-filter: blur(12px); }
.contract-card-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.13); font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.contract-card-head span { color: rgba(255,255,255,.42); }
.contract-card-head b { color: var(--accent); }
.contract-card ol { margin: 15px 0 24px; padding: 0; list-style: none; }
.contract-card li { display: grid; grid-template-columns: 27px 1fr; gap: 13px; align-items: start; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contract-card li > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #0b0d0c; font-size: 11px; font-weight: 900; }
.contract-card li p { margin-bottom: 0; color: rgba(255,255,255,.77); font-size: 13px; }
.contract-disclaimer { margin-bottom: 0; color: rgba(255,255,255,.35); font-size: 10px; line-height: 1.55; }
.career-team .contract-card { border-color: var(--accent); }

.portfolio-section { overflow: hidden; background: #dfe2da; }
.portfolio-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 110px; }
.portfolio-grid > div:first-child > p:not(.study-kicker) { max-width: 470px; margin-top: 28px; }
.portfolio-stack { position: relative; min-height: 460px; perspective: 900px; }
.portfolio-stack article { position: absolute; top: calc(var(--card-index) * 58px); left: calc(var(--card-index) * 28px); width: calc(100% - 56px); height: 300px; padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: var(--dark); color: #fff; box-shadow: 0 25px 60px rgba(15,18,14,.2); transform: rotate(calc((var(--card-index) - 1) * 2deg)); }
.portfolio-stack article:nth-child(2) { background: #252923; }
.portfolio-stack article:nth-child(3) { background: #383d34; }
.portfolio-stack span { color: var(--accent); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.portfolio-stack h3 { margin-top: 110px; font-size: 34px; letter-spacing: -.06em; }
.portfolio-stack article > div { display: flex; gap: 5px; }
.portfolio-stack i { display: block; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.portfolio-stack i:first-child { background: var(--accent); }

.application-section { background: var(--paper); }
.application-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.application-copy { position: sticky; top: 40px; }
.application-copy > p { max-width: 500px; margin-top: 28px; }
.application-recap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.application-recap span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; }
.application-form-card { padding: 36px; border-radius: 25px; background: #fff; box-shadow: 0 30px 80px rgba(20,23,18,.08); }
.form-head { display: flex; justify-content: space-between; margin-bottom: 34px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 11px; }
.form-head span { font-weight: 750; }
.form-head strong { color: var(--muted); font-weight: 500; }
.form-error { margin-bottom: 20px; padding: 13px 14px; border: 1px solid rgba(204,46,46,.25); border-radius: 10px; background: #fff2f2; color: #a12424; font-size: 12px; }
.study-field { display: block; margin-bottom: 17px; }
.study-field > span { display: block; margin: 0 0 7px 2px; color: var(--muted); font-size: 10px; font-weight: 650; }
.study-field input,
.study-field textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: 11px; outline: none; background: #f8f9f5; color: var(--ink); font-size: 14px; transition: border .2s ease, box-shadow .2s ease; resize: vertical; }
.study-field input:focus,
.study-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.study-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.study-consent { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; margin: 6px 0 20px; color: var(--muted); font-size: 10px; }
.study-consent input { margin: 2px 0 0; accent-color: var(--accent); }
.study-consent a { text-decoration: underline; text-underline-offset: 2px; }
.form-submit { width: 100%; justify-content: space-between; }
.form-submit i { font-size: 20px; font-style: normal; }
.form-note { margin: 11px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
.form-success { min-height: 430px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.form-success > span { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 25px; border-radius: 50%; background: var(--accent); font-size: 24px; font-weight: 900; }
.form-success h3 { margin-bottom: 12px; font-size: 34px; letter-spacing: -.055em; }
.form-success p { max-width: 500px; color: var(--muted); }
.form-success a { margin-top: 18px; font-size: 12px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }

.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .55fr 1fr; gap: 120px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 45px 1fr 24px; gap: 12px; align-items: center; padding: 24px 6px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 650; letter-spacing: -.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { color: var(--accent); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.faq-list summary i { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; font-style: normal; transition: transform .2s ease; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details > p { padding: 0 42px 25px 63px; color: var(--muted); font-size: 14px; line-height: 1.65; }

.other-programs { background: #eef0e9; }
.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.other-card { --accent: #c6ff35; position: relative; min-height: 220px; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: .2s ease; }
.other-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(20,23,18,.09); }
.other-card > span { color: var(--accent); font: 700 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.other-card h3 { margin: 68px 0 7px; font-size: 24px; letter-spacing: -.05em; }
.other-card p { margin-bottom: 0; color: var(--muted); font-size: 11px; }
.other-card i { position: absolute; right: 20px; top: 18px; color: var(--accent); font-size: 24px; font-style: normal; }

.study-footer { padding: 48px 0; background: var(--dark); color: #fff; }
.study-footer .study-container { display: grid; grid-template-columns: .45fr .8fr .45fr; gap: 60px; align-items: center; }
.study-footer p { margin-bottom: 0; color: rgba(255,255,255,.45); font-size: 11px; line-height: 1.55; }
.study-footer .study-container > div:last-child { display: flex; justify-content: flex-end; gap: 20px; color: rgba(255,255,255,.45); font-size: 10px; }
.study-footer a:hover { color: var(--accent); }

.mobile-study-cta { display: none; }

@media (max-width: 1080px) {
    .study-section { padding: 90px 0; }
    .catalog-hero-inner,
    .course-hero-grid { grid-template-columns: 1fr; gap: 60px; }
    .catalog-hero-copy { padding-top: 20px; }
    .catalog-console { width: min(620px, 100%); }
    .course-visual { min-height: 500px; }
    .program-grid { grid-template-columns: repeat(2, 1fr); }
    .tariff-grid,
    .vacancy-grid,
    .condition-cards { grid-template-columns: repeat(2, 1fr); }
    .condition-card { min-height: auto; }
    .condition-card h3 { margin-top: 34px; }
    .split-heading,
    .career-grid,
    .vacancy-hero,
    .portfolio-grid,
    .application-grid,
    .faq-grid { gap: 60px; }
    .result-grid { grid-template-columns: repeat(2, 1fr); }
    .study-footer .study-container { grid-template-columns: 1fr 1fr; }
    .study-footer .study-container > p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 760px) {
    .study-container { width: min(100% - 32px, 620px); }
    .study-section { padding: 74px 0; }
    .study-nav { min-height: 66px; padding-inline: 16px; }
    .study-brand-mark { width: 37px; height: 37px; }
    .study-nav nav > a:not(.study-nav-button) { display: none; }
    .study-nav-button { padding: 9px 13px; font-size: 11px; }
    .study-section-heading,
    .split-heading,
    .career-grid,
    .vacancy-hero,
    .portfolio-grid,
    .application-grid,
    .faq-grid { grid-template-columns: 1fr; gap: 38px; }
    .study-section-heading { margin-bottom: 38px; }
    .study-section-heading h2,
    .split-heading h2,
    .application-copy h2,
    .faq-grid h2,
    .portfolio-grid h2 { font-size: 42px; }
    .study-section-heading > p { font-size: 14px; }
    .catalog-hero { padding-top: 60px; }
    .catalog-hero-inner { min-height: 0; padding-bottom: 64px; }
    .catalog-hero h1 { font-size: 54px; }
    .catalog-lead { font-size: 16px; }
    .catalog-console { transform: none; }
    .console-code { padding: 25px 19px; font-size: 11px; }
    .catalog-facts { grid-template-columns: 1fr; padding: 14px 0; }
    .catalog-facts > div { padding: 14px 0; }
    .catalog-facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
    .catalog-heading { align-items: start; }
    .catalog-filter { justify-content: flex-start; }
    .program-grid { grid-template-columns: 1fr; }
    .program-card { min-height: 390px; }
    .tariff-grid,
    .vacancy-grid,
    .condition-cards { grid-template-columns: 1fr; }
    .tariff-card,
    .vacancy-card { min-height: 260px; }
    .tariff-card h3,
    .vacancy-card h3 { margin-top: 38px; }
    .condition-card { padding: 25px; }
    .catalog-cta h2 { font-size: 53px; }
    .course-hero { padding: 55px 0 72px; }
    .course-back { margin-bottom: 30px; }
    .course-hero h1 { font-size: 54px; }
    .course-lead { font-size: 16px; }
    .study-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
    .course-visual { min-height: 510px; }
    .visual-index { font-size: 150px; }
    .visual-command { margin: 22px 20px 32px; }
    .visual-price { padding-inline: 20px; }
    .visual-price strong { font-size: 32px; }
    .visual-specs { grid-template-columns: 1fr; margin-inline: 20px; }
    .visual-specs > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
    .visual-status { display: none; }
    .fit-list article { grid-template-columns: 43px 1fr; }
    .fit-list p { font-size: 17px; }
    .result-grid { grid-template-columns: 1fr; }
    .result-grid article { min-height: 190px; }
    .result-grid h3 { margin-top: 65px; }
    .module-list article { grid-template-columns: 1fr; gap: 8px; padding: 25px 50px 25px 5px; }
    .career-section { padding: 75px 0; }
    .career-copy h2 { font-size: 44px; }
    .contract-card { padding: 24px; }
    .contract-card-head { flex-direction: column; }
    .portfolio-stack { min-height: 430px; }
    .portfolio-stack article { left: calc(var(--card-index) * 10px); width: calc(100% - 20px); }
    .application-copy { position: static; }
    .application-form-card { padding: 24px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .faq-list details > p { padding-left: 50px; }
    .other-grid { grid-template-columns: 1fr; }
    .study-footer { padding-bottom: 92px; }
    .study-footer .study-container { grid-template-columns: 1fr; gap: 25px; }
    .study-footer .study-container > p { grid-column: auto; grid-row: auto; }
    .study-footer .study-container > div:last-child { justify-content: flex-start; }
    .mobile-study-cta { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-radius: 14px; background: var(--accent); color: #0b0d0c !important; box-shadow: 0 16px 45px rgba(0,0,0,.25); font-size: 13px; font-weight: 800; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
