:root {
  color-scheme: dark;
  --ink: #08151d;
  --panel: #11242e;
  --line: #29414e;
  --white: #f4f7f9;
  --muted: #b9c8cf;
  --lime: #c5fa3d;
  --max: 1176px;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--white);
  background: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
a { color: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; }
.wrap { width: min(calc(100% - 5rem), var(--max)); margin-inline: auto; }
.section { margin-block: clamp(3.1rem, 6vw, 5rem); }
section[id] { scroll-margin-top: 1.5rem; }
.skip { position: absolute; z-index: 5; padding: .7rem 1rem; color: var(--ink); background: var(--lime); transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header { position: relative; z-index: 1; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; font-size: 1.55rem; font-weight: 780; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 33px; height: 27px; flex: 0 0 auto; background: var(--lime); clip-path: polygon(24% 7%, 84% 7%, 100% 18%, 100% 38%, 91% 60%, 78% 71%, 35% 71%, 18% 98%, 0 98%, 28% 49%, 76% 49%, 82% 40%, 82% 29%, 12% 29%); }
nav { display: flex; gap: clamp(1.1rem, 3.2vw, 2.6rem); }
nav a, .footer-top { font-size: .92rem; text-decoration: none; font-weight: 600; }
nav a:hover, .site-footer a:hover { color: var(--lime); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: .7rem 1.3rem; width: fit-content; border: 1px solid transparent; border-radius: 9px; background: var(--lime); color: #101900; font-weight: 750; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.button:hover { background: #e1ff96; }
.button-small { min-height: 41px; padding: .45rem .9rem; font-size: .9rem; }
.kicker { margin: 0 0 1rem; color: var(--lime); font-weight: 670; font-size: .88rem; }
h1, h2 { margin: 0; font-weight: 750; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 5.1vw, 4.85rem); line-height: 1.04; }
h1 span, h1 em { display: block; }
h2 { font-size: clamp(2rem, 3.7vw, 3.4rem); line-height: 1.12; text-wrap: balance; }
h1 em, h2 em { color: var(--lime); font-style: normal; }
p { color: var(--muted); }

.hero { background: #091720; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); align-items: center; gap: clamp(1.8rem, 4.4vw, 3.6rem); padding-block: clamp(2rem, 5vw, 4.25rem) clamp(1.8rem, 4vw, 3.25rem); }
.hero-visual { overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: #10232d; }
.hero-visual img { width: 100%; height: auto; }
.hero-lead { max-width: 34ch; margin-block: 1.05rem 1.4rem; font-size: clamp(1.03rem, 1.45vw, 1.17rem); color: #e0e8eb; }
.benefits { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; background: #0e1e28; }
.benefits li { min-height: 64px; padding: .75rem 1rem; display: flex; align-items: center; justify-content: center; gap: .65rem; font-size: .94rem; font-weight: 630; }
.benefits li + li { border-inline-start: 1px solid var(--line); }
.benefits span { color: var(--lime); font: 700 1.2rem ui-monospace, monospace; white-space: nowrap; }

.approach, .founder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "image copy"; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.approach-image, .founder-photo { grid-area: image; }
.approach > div, .founder > div { grid-area: copy; }
.approach-image { margin: 0; }
.approach-image img, .founder-photo { width: 100%; height: auto; border-radius: 12px; }
.approach-image img { aspect-ratio: 1.7; object-fit: cover; object-position: 50% 44%; }
.approach p, .founder p:last-child, .mentor-panel p:last-child, .consult-copy p { font-size: 1.06rem; max-width: 49ch; margin-block: .95rem 0; }
.approach-points { display: flex; flex-wrap: wrap; gap: .6rem 1rem; padding: 0; margin: 1.2rem 0 0; list-style: none; font-size: .92rem; font-weight: 630; }
.approach-points li::before { content: '✓'; margin-inline-end: .42rem; color: var(--lime); }

.course-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .9rem; margin-top: 1.5rem; align-items: start; }
.course { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; transition: border-color .18s ease; }
.course:hover, .course[open] { border-color: #839e65; }
.course summary { min-height: 203px; padding: 1rem; display: flex; flex-direction: column; list-style: none; border-radius: 12px; }
.course summary::-webkit-details-marker { display: none; }
.course-symbol { color: #a6c8ff; font: 700 1.32rem ui-monospace, monospace; display: grid; width: 46px; height: 46px; place-items: center; background: #182f3e; border-radius: 8px; margin-bottom: .72rem; }
.course:nth-child(even) .course-symbol { color: #cbb7ff; }
.course-name { min-height: 2lh; font-size: 1.05rem; line-height: 1.24; font-weight: 715; overflow-wrap: anywhere; }
.course-description { min-height: 2lh; margin-block: .2rem .55rem; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.course-more { display: flex; align-items: center; justify-content: space-between; gap: .3rem; margin-top: auto; color: var(--lime); font-size: .89rem; font-weight: 670; }
.course-more::after { content: ''; width: .45rem; height: .45rem; border-inline-end: 2px solid; border-block-end: 2px solid; transform: translateY(-2px) rotate(45deg); }
.course[open] .course-more::after { transform: translateY(2px) rotate(225deg); }
.course > p { margin: 0 1.1rem; padding-block: .85rem; border-top: 1px solid var(--line); font-size: .95rem; }
.course-link { display: inline-block; margin: 0 1.1rem 1.1rem; color: var(--lime); font-size: .88rem; text-underline-offset: .2rem; }

.mentor-panel, .consult-panel { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: clamp(1.5rem, 4.4vw, 3.25rem); padding: clamp(1.25rem, 4vw, 3.15rem); border: 1px solid var(--line); border-radius: 16px; }
.mentor-panel { background: #10232d; align-items: center; }
.mentor-steps { list-style: none; counter-reset: steps; padding: 0; margin: 0; border-top: 1px solid #385260; }
.mentor-steps li { counter-increment: steps; display: flex; align-items: baseline; gap: 1rem; padding: .82rem 0; border-bottom: 1px solid #385260; font-weight: 620; }
.mentor-steps li::before { content: counter(steps, decimal-leading-zero); color: var(--lime); font: 650 .9rem ui-monospace, monospace; }
.mentor-link { display: inline-block; margin-top: 1rem; color: var(--lime); text-underline-offset: .22rem; }
.founder { grid-template-columns: minmax(0, 339px) minmax(0, 1fr); }
.founder-photo { width: min(100%, 339px); }

.consult-panel { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); background: #10232d; }
.lead-form { min-width: 0; display: grid; gap: .9rem; }
.field { display: grid; gap: .32rem; font-size: .92rem; font-weight: 620; }
.field input, .field select { font-weight: 500; width: 100%; min-width: 0; min-height: 45px; padding: .55rem .65rem; font-size: 1rem; color: var(--white); background: #0c1828; border: 1px solid #61758b; border-radius: 7px; }
.field input::placeholder { color: #a5b4bd; opacity: 1; }
.field select { padding-right: 2rem; appearance: none; }
.select-field { position: relative; }
.select-field::after { content: ''; position: absolute; bottom: 1.3rem; right: 1rem; width: .5rem; height: .5rem; border-inline-end: 2px solid var(--muted); border-block-end: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.consent { display: flex; align-items: start; gap: .65rem; margin-block: .15rem; font-size: .9rem; }
.consent input { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; margin: .18rem 0 0; accent-color: var(--lime); }
.consent a, .policy-links a { text-underline-offset: .18rem; }
.consent a { display: block; width: fit-content; margin-top: .2rem; }
.form-notice { margin: 0; padding: .65rem .85rem; color: var(--white); background: #0c1828; border-inline-start: 3px solid var(--lime); }
.form-notice.error { border-color: #ffab8e; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.policy { max-width: 760px; }
.policy h1 { margin-block: 1.5rem 2rem; font-size: clamp(2.25rem, 7vw, 4.45rem); }
.policy h2 { margin-top: 2rem; font-size: 1.5rem; letter-spacing: -.035em; }
.policy a { color: var(--lime); text-underline-offset: .2rem; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 1.25rem 2rem; align-items: center; padding-block: 2rem; }
.site-footer .brand { color: var(--white); }
.site-footer p { margin: .4rem 0 0; font-size: .9rem; }
.footer-business { font-size: .95rem; }
.policy-links { display: flex; gap: .55rem 1.25rem; flex-wrap: wrap; grid-column: 1 / -1; font-size: .9rem; }

@media (max-width: 1100px) {
  .course-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .course { grid-column: span 2; }
  .course:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.45rem; }
  .hero-copy { max-width: 38rem; }
  h1 { font-size: clamp(2.6rem, 8vw, 4.45rem); }
  .hero-visual img { aspect-ratio: 1.9; object-fit: cover; object-position: 50% 49%; }
  .benefits li { font-size: .88rem; padding-inline: .65rem; }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; gap: .65rem; padding-block: .65rem; }
  .header-inner nav { order: 1; width: 100%; justify-content: space-between; gap: .5rem; border-top: 1px solid var(--line); padding-top: .45rem; }
  .header-inner nav a { padding-block: .3rem; }
  .hero-inner { padding-top: 1.8rem; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits li { justify-content: flex-start; min-height: 53px; gap: .5rem; }
  .benefits li:nth-child(odd) { border-inline-start: 0; }
  .benefits li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .approach, .founder, .mentor-panel, .consult-panel { grid-template-columns: minmax(0, 1fr); }
  .approach, .founder { grid-template-areas: "copy" "image"; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .course, .course:nth-child(n+4) { grid-column: auto; }
  .course:last-child { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-top { grid-column: 2; grid-row: 1; }
  .footer-business { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .brand { font-size: 1.4rem; }
  h1 { font-size: clamp(2.15rem, 11.35vw, 3.4rem); }
  .hero-visual img { aspect-ratio: 1.62; }
  .course-grid { grid-template-columns: minmax(0, 1fr); }
  .course summary { min-height: 83px; padding: .85rem; display: grid; grid-template-columns: 2.65rem minmax(0, 1fr) 1rem; grid-template-rows: auto auto; align-content: center; column-gap: .75rem; row-gap: .1rem; }
  .course-symbol { width: 2.65rem; height: 2.65rem; grid-area: 1 / 1 / 3; align-self: center; margin: 0; }
  .course-name, .course-description { min-height: 0; }
  .course-name { grid-area: 1 / 2; }
  .course-description { grid-area: 2 / 2; margin: 0; }
  .course-more { grid-area: 1 / 3 / 3; align-self: center; margin: 0; font-size: 0; }
  .course-more::after { flex: 0 0 .45rem; }
  .course > p, .course-link { margin-inline: .85rem; }
  .lead-form > .button { width: 100%; }
}
@media (max-width: 360px) {
  .course summary { min-height: 91px; grid-template-columns: 2.4rem minmax(0, 1fr) .8rem; column-gap: .55rem; padding-inline: .75rem; }
  .course-symbol { width: 2.4rem; height: 2.4rem; }
  .course-name { font-size: 1rem; }
  .course-description { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
.form-policy { width: fit-content; color: var(--muted); text-underline-offset: .18rem; font-size: .88rem; }
