:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --soft: #f3f2f0;
  --ink: #0b0b0b;
  --ink-2: #2a2a2a;
  --muted: #6e6c69;
  --line: #e8e6e3;
  --line-2: #d9d6d2;
  --ok: #157f3d;
  --err: #b42318;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px -12px rgba(0, 0, 0, .08);
  --wrap: 1180px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { top: 12px; }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; font-size: 19px; }
.brand img { width: 34px; height: auto; mix-blend-mode: multiply; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: 15px; transition: background .15s; }
.nav a:hover { background: var(--soft); }
.header .btn { margin-left: 8px; }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; }
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: transform .2s; }
@media (max-width: 900px) {
  .burger { display: block; }
  .header .btn { display: none; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .nav a { padding: 14px 8px; font-size: 17px; border-radius: 10px; }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font-weight: 500; font-size: 15px; cursor: pointer;
  transition: transform .15s, background .15s, opacity .15s; white-space: nowrap;
}
.btn:hover { background: #2b2b2b; }
.btn:active { transform: scale(.98); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--soft); }
.btn--lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: progress; }

/* ── Typography ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .02em;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #22c55e22; }
.h1 { font-size: clamp(42px, 7.2vw, 92px); line-height: 1.02; font-weight: 300; letter-spacing: -.045em; margin: 22px 0 22px; }
.h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.06; font-weight: 300; letter-spacing: -.04em; margin: 14px 0 16px; }
.h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin: 0 0 8px; line-height: 1.25; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; margin: 0; }
.muted { color: var(--muted); }

/* ── Sections ── */
.section { padding: 112px 0; }
.section--tight { padding: 72px 0; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section__head .lead { max-width: 520px; }
@media (max-width: 640px) { .section { padding: 72px 0; } .section__head { margin-bottom: 32px; } }

/* ── Hero ── */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero__cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 28px; margin-top: 56px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero__meta b { display: block; color: var(--ink); font-size: 26px; font-weight: 400; letter-spacing: -.03em; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

.orb-wrap { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; margin-left: auto; }
.orb {
  position: absolute; inset: 6%; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, #ffffffee 0 8%, transparent 32%),
    conic-gradient(from 210deg, #c9d6ff, #f7c8e0, #ffe2c2, #d4f1e4, #c9d6ff);
  filter: saturate(1.05);
  box-shadow: inset -24px -32px 80px rgba(0, 0, 0, .08), 0 40px 80px -30px rgba(80, 70, 140, .35);
  animation: spin 22s linear infinite;
}
.orb::after {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.55), transparent 70%);
  filter: blur(8px);
}
.orb-logo {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.orb-logo img { width: 62%; mix-blend-mode: multiply; opacity: .92; animation: float 6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) { .orb-wrap { max-width: 300px; margin: 8px auto 0; } }

/* ── Marquee ── */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.marquee__track { display: flex; gap: 48px; padding: 18px 0; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { color: var(--muted); font-size: 15px; white-space: nowrap; }
.marquee span::before { content: "✦"; margin-right: 48px; color: var(--line-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Cards / courses ── */
.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }

.course { display: flex; flex-direction: column; min-height: 100%; position: relative; }
.course__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
.chip { font-size: 12.5px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.chip--free { background: #e7f6ec; color: var(--ok); }
.chip--closed { background: #fdecea; color: var(--err); }
.course__dur { font-size: 13px; color: var(--muted); }
.course p { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.course__body { flex: 1; }
.course--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: end; background: linear-gradient(120deg, #eefaf2 0%, #ffffff 60%); }
.course--wide p { margin-bottom: 0; max-width: 620px; }
.course--wide .course__price { margin-top: 0; }
@media (max-width: 760px) { .course--wide { grid-template-columns: 1fr; gap: 0; } .course--wide p { margin-bottom: 24px; } }
.course__price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; padding-top: 20px; border-top: 1px dashed var(--line); }
.course__price b { font-size: 26px; font-weight: 400; letter-spacing: -.03em; }
.course__price span { color: var(--muted); font-size: 14px; }
.course__actions { display: flex; gap: 8px; margin-top: 18px; }
.course__actions .btn { height: 40px; padding: 0 16px; font-size: 14px; flex: 1; }
.course--featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.course--featured p, .course--featured .course__dur, .course--featured .course__price span { color: #a7a5a2; }
.course--featured .chip { background: #ffffff1a; color: #fff; }
.course--featured .course__price { border-color: #ffffff26; }
.course--featured .btn { background: #fff; color: var(--ink); border-color: #fff; }
.course--featured .btn--ghost { background: transparent; color: #fff; border-color: #ffffff40; }

/* ── Feature list ── */
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; margin-bottom: 10px; }
.feature__ic svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── Internship ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 3px; }
.steps b { display: block; font-weight: 500; margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: 15px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* ── App ── */
.app { background: var(--ink); color: #fff; border-radius: 32px; padding: 72px; overflow: hidden; position: relative; }
.app .lead { color: #a7a5a2; }
.app .eyebrow { background: transparent; border-color: #ffffff26; color: #cfcdca; }
.app .checks li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.app .checks li { color: #e7e5e3; }
.stores { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-radius: 14px; border: 1px solid #ffffff33; color: #fff; transition: background .15s; }
.store:hover { background: #ffffff12; }
.store svg { width: 22px; height: 22px; fill: #fff; }
.store small { display: block; font-size: 11px; color: #a7a5a2; line-height: 1; }
.store b { display: block; font-weight: 500; font-size: 16px; line-height: 1.2; }
.phone {
  width: 280px; max-width: 100%; aspect-ratio: 9 / 19; margin: 0 auto; border-radius: 44px; padding: 12px;
  background: #1c1c1c; border: 1px solid #333; box-shadow: 0 40px 100px -30px rgba(160, 150, 255, .35);
}
.phone__screen { height: 100%; border-radius: 34px; background: var(--bg); color: var(--ink); padding: 44px 16px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.phone__hi { font-size: 13px; color: var(--muted); }
.phone__title { font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 6px; }
.phone__card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: 12.5px; }
.phone__card b { display: block; font-weight: 500; font-size: 13.5px; }
.phone__bar { height: 5px; border-radius: 9px; background: var(--soft); margin-top: 8px; overflow: hidden; }
.phone__bar i { display: block; height: 100%; background: var(--ink); border-radius: 9px; }
.phone__live { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px; font-size: 12.5px; }
.phone__live i { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 4px #ef444433; }
@media (max-width: 900px) { .app { padding: 48px 24px; border-radius: 24px; } }

/* ── FAQ ── */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 24px; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 26px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -8px 0 24px; color: var(--muted); max-width: 760px; }

/* ── Lead form ── */
.lead-box { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; }
.lead-box__info { padding: 56px; background: linear-gradient(160deg, #eef1ff 0%, #fbeef5 50%, #fff6ec 100%); }
.lead-box__form { padding: 56px; }
@media (max-width: 900px) { .lead-box { grid-template-columns: 1fr; border-radius: 24px; } .lead-box__info, .lead-box__form { padding: 32px 20px; } }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.input {
  width: 100%; height: 50px; padding: 0 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-2);
  background: var(--bg); transition: border-color .15s, box-shadow .15s, background .15s; font-size: 16px;
}
textarea.input { height: auto; min-height: 96px; padding: 14px 16px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%236e6c69' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.input:hover { border-color: #c4c0bb; }
.input:focus { outline: none; border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 4px #0b0b0b0d; }
.input[aria-invalid="true"] { border-color: var(--err); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--soft); border-radius: 999px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; padding: 10px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted); transition: .15s; }
.seg input:checked + label { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.seg input:focus-visible + label { outline: 2px solid var(--ink); }
.hp { position: absolute; left: -9999px; }
.form__note { font-size: 13px; color: var(--muted); margin: 0; }
.form__msg { font-size: 15px; padding: 14px 16px; border-radius: var(--radius-sm); display: none; }
.form__msg.is-ok { display: block; background: #e7f6ec; color: var(--ok); }
.form__msg.is-err { display: block; background: #fdecea; color: var(--err); }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h3 { font-size: 13px; font-weight: 500; color: var(--muted); margin: 0 0 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer ul a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ── Course page ── */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.cp-hero { padding: 48px 0 56px; }
.cp-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-top: 40px; overflow: hidden; }
.cp-facts div { padding: 20px 24px; border-right: 1px solid var(--line); }
.cp-facts div:last-child { border-right: 0; }
.cp-facts dt { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.cp-facts dd { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
@media (max-width: 760px) { .cp-facts { grid-template-columns: 1fr 1fr; } .cp-facts div:nth-child(2) { border-right: 0; } .cp-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.cp-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.cp-aside { position: sticky; top: 92px; }
@media (max-width: 960px) { .cp-layout { grid-template-columns: 1fr; } .cp-aside { position: static; } }
.cp-block { margin-bottom: 56px; }
.cp-block > h2 { font-size: 28px; font-weight: 400; letter-spacing: -.03em; margin: 0 0 20px; }
.prose { font-size: 17px; color: var(--ink-2); }
.modules { counter-reset: m; display: grid; gap: 10px; }
.module { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.module summary { list-style: none; cursor: pointer; padding: 18px 20px; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; font-weight: 500; }
.module summary::-webkit-details-marker { display: none; }
.module summary::before { counter-increment: m; content: counter(m, decimal-leading-zero); color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.module summary::after { content: "+"; font-weight: 300; font-size: 22px; color: var(--muted); transition: transform .2s; }
.module[open] summary::after { transform: rotate(45deg); }
.module ul { margin: 0; padding: 0 20px 20px 72px; color: var(--muted); display: grid; gap: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { list-style: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; }
.tags { padding: 0; margin: 0; }
.price-card .course__price { border: 0; padding-top: 0; margin: 8px 0 20px; }
.price-card .btn { width: 100%; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.price-card li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.price-card li b { color: var(--ink); font-weight: 500; text-align: right; }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
