:root {
  color-scheme: dark;
  --bg: #1A1B26;
  --surface: #24283B;
  --surface-raised: #2F3549;
  --text: #C0CAF5;
  --muted: #A9B1D6;
  --subtle: #7982A9;
  --line: rgba(225, 233, 235, 0.17);
  --orange: #7AA2F7;
  --orange-light: #A9C1FF;
  --ink: #1A1B26;
  --max: 1240px;
  --gutter: clamp(18px, 5vw, 76px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange-light);
  outline-offset: 5px;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 18px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
}
.skip-link:focus {
  top: 14px;
}
.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.locale-toolbar {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.locale-toolbar-compact {
  justify-content: flex-end;
}
.locale-discovery-hint {
  min-width: 0;
  flex: 1 1 160px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
.locale-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid rgba(237, 235, 228, 0.2);
  background: #252A38;
  color: #EDEBE4;
  font: 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.locale-choice {
  min-width: 28px;
  min-height: 23px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: #EDEBE4;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}
.locale-choice:hover:not(.is-active) {
  background: rgba(139, 168, 255, 0.16);
  color: #8BA8FF;
}
.locale-choice[data-locale-choice="pt"].is-active {
  background: #C8D6A1;
  color: #252A38;
  font-weight: 800;
}
.locale-choice[data-locale-choice="en"].is-active {
  background: #8BA8FF;
  color: #252A38;
  font-weight: 800;
}
.locale-separator {
  color: rgba(237, 235, 228, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .locale-choice { transition: none; }
}
.topbar {
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.nav {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  flex: 0 1 auto;
  min-width: 0;
  gap: 8px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand-mark {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1;
}
.brand-slash,
.brand-cursor {
  color: var(--string);
}
.brand-slash {
  font-size: 25px;
}
.brand-letter {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}
.brand-cursor {
  display: inline-block;
  width: 0.52em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px;
  font-weight: 700;
}
.brand-name {
  color: var(--text);
  font: inherit;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
}
.nav-links a {
  font-size: 12px;
  color: #D2D7E3;
  transition: color 0.18s ease;
}
.nav-links a:hover {
  color: var(--orange-light);
}
.nav-links .nav-cta {
  color: var(--orange-light);
  font-weight: 750;
}
.nav-links .calendly-cta {
  max-width: 245px;
  white-space: normal;
  line-height: 1.35;
}
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 48%;
  pointer-events: none;
  opacity: 0.45;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 79px,
      rgba(255, 255, 255, 0.035) 80px 81px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 79px,
      rgba(255, 255, 255, 0.025) 80px 81px
    );
  mask-image: linear-gradient(90deg, transparent, #000 55%, #000);
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -100px;
  top: -80px;
  border: 1px solid rgba(122, 162, 247, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(122, 162, 247, 0.025),
    0 0 0 110px rgba(122, 162, 247, 0.02);
  pointer-events: none;
}
.hero-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: center;
  gap: 48px;
  padding-top: clamp(40px, 6vw, 84px);
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  color: var(--orange-light);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 850;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 2px;
  background: var(--orange);
  flex: 0 0 auto;
}
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}
h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 6.3vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 790;
}
.accent {
  color: var(--orange);
}
.hero-copy {
  max-width: 620px;
  margin: 27px 0 0;
  color: #A9B1D6;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.62;
}
.hero-copy strong {
  color: var(--text);
  font-weight: 650;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 23px;
  margin-top: 31px;
}
.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 22px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}
.btn:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
}
.btn .arrow {
  font-size: 19px;
  line-height: 1;
}
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.78;
}
.secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #DDE2ED;
  font-size: 13px;
  font-weight: 700;
}
.secondary-link span {
  color: var(--orange);
  font-size: 17px;
}
.hero-note {
  max-width: 540px;
  margin: 15px 0 0;
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.55;
}
.hero-art {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.terminal {
  width: min(100%, 440px);
  border: 1px solid rgba(244, 241, 236, 0.2);
  background: rgba(22, 22, 30, 0.94);
  box-shadow: 20px 24px 0 rgba(122, 162, 247, 0.07);
  transform: rotate(1.5deg);
}
.terminal-bar {
  height: 42px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  color: var(--subtle);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.terminal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #69645d;
}
.terminal-title {
  margin-left: auto;
}
.terminal-body {
  padding: clamp(22px, 3vw, 32px);
}
.terminal-kicker {
  margin: 0 0 22px;
  color: var(--orange-light);
  font:
    11px/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
.terminal-line {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 10px;
  margin: 0 0 19px;
  font:
    13px/1.7 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
.terminal-line:last-child {
  margin-bottom: 0;
}
.line-no {
  color: #706a62;
}
.line-text {
  color: #e0e7e8;
}
.line-text .orange {
  color: var(--orange-light);
}
.line-text .dim {
  color: #a09a91;
}
.terminal-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  color: #99938a;
  font:
    10px/1.5 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
.terminal-footer span:last-child {
  color: var(--orange-light);
}
.hero-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.signal {
  padding: 22px 26px 24px 0;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 13px;
  align-items: start;
}
.signal + .signal {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}
.signal-index {
  color: var(--orange);
  font:
    12px/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
.signal strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}
.signal p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
section {
  border-bottom: 1px solid var(--line);
}
.section {
  padding-block: clamp(66px, 8vw, 108px);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.7fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head .eyebrow {
  margin-bottom: 17px;
}
h2 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 760;
}
.section-intro {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
  align-items: start;
}
.problem-statement {
  border-left: 2px solid var(--orange);
  padding: 4px 0 4px 24px;
}
.problem-statement p {
  margin: 0 0 18px;
  color: #D2D7E3;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.42;
  letter-spacing: -0.025em;
}
.problem-statement p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0;
}
.signals {
  border-top: 1px solid var(--line);
}
.signal-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 17px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.signal-item span {
  color: var(--orange);
  font:
    11px/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
.signal-item p {
  margin: 0;
  color: #D2D7E3;
  font-size: 14px;
  line-height: 1.6;
}
.example-section {
  background: #16161E;
}
.example-section .section {
  padding-block: clamp(42px, 5vw, 64px);
}
.example-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 24px;
}
.example-top .section-intro {
  max-width: 400px;
}
.level-carousel-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.example-box {
  grid-area: 1 / 1;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(192, 202, 245, 0.2);
  background: #1C1D29;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.example-box.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.level-card:nth-child(1) {
  border-color: rgba(187, 154, 247, 0.55);
  background: linear-gradient(145deg, rgba(187, 154, 247, 0.12), #1C1D29 60%);
}
.level-card:nth-child(2) {
  border-color: rgba(122, 162, 247, 0.65);
  background: linear-gradient(145deg, rgba(122, 162, 247, 0.14), #1C1D29 60%);
}
.level-card:nth-child(3) {
  border-color: rgba(158, 206, 106, 0.58);
  background: linear-gradient(145deg, rgba(158, 206, 106, 0.11), #1C1D29 60%);
}
.level-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.level-range {
  color: var(--orange-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.level-name {
  color: var(--muted);
  font-size: 11px;
}
.example-box blockquote {
  margin: 0;
  width: 100%;
  padding: 13px 14px;
  border-left: 3px solid var(--orange);
  background: rgba(10, 11, 18, 0.48);
  color: #F0F2FF;
  font: 600 18px/1.45 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.015em;
}
.level-identification,
.level-situation,
.level-focus {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.level-identification {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: #D6DCF4;
  font-size: 14px;
  line-height: 1.55;
}
.level-focus {
  margin-top: 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.level-uncertainty {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}
.level-uncertainty a {
  color: var(--orange-light);
  text-decoration: underline;
  text-decoration-color: rgba(169, 193, 255, 0.55);
  text-underline-offset: 3px;
}
.level-uncertainty a:hover {
  color: var(--text);
}
.level-label {
  display: block;
  margin-bottom: 5px;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.level-carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}
.level-picker,
.level-carousel-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.level-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.level-picker-button,
.carousel-control {
  min-height: 38px;
  border: 1px solid rgba(192, 202, 245, 0.2);
  background: #202232;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.level-picker-button {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 11px;
  padding: 9px 14px;
  text-align: left;
}
.level-picker-button::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--picker-color);
  box-shadow: 0 0 10px color-mix(in srgb, var(--picker-color), transparent 35%);
}
.level-picker-button[data-level-select="0"] { --picker-color: #BB9AF7; }
.level-picker-button[data-level-select="1"] { --picker-color: #7AA2F7; }
.level-picker-button[data-level-select="2"] { --picker-color: #9ECE6A; }
.picker-range,
.picker-name {
  display: block;
}
.picker-copy {
  display: block;
  flex: 1;
  min-width: 0;
}
.picker-range {
  color: var(--picker-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.picker-name {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.level-picker-button:hover,
.carousel-control:hover {
  color: var(--text);
}
.level-picker-button:hover { border-color: var(--picker-color); }
.level-picker-button.is-active {
  border-color: var(--picker-color);
  background: color-mix(in srgb, var(--picker-color) 16%, #202232);
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--picker-color);
}
.level-picker-button.is-active .picker-name {
  color: var(--text);
}
.carousel-control {
  min-width: 38px;
  padding: 0 10px;
  font-size: 13px;
}
.level-count {
  min-width: 48px;
  color: var(--subtle);
  font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .example-box { transition: none; }
}
.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: start;
}
.method-intro {
  position: sticky;
  top: 36px;
}
.method-intro .section-intro {
  margin-top: 23px;
}
.method-aside {
  margin-top: 34px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font:
    11px/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
.method-steps {
  border-top: 1px solid var(--line);
}
.method-step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.method-step .number {
  color: var(--orange);
  font:
    12px/1.5 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
.method-step h3 {
  margin: 0 0 9px;
  font-size: 21px;
  letter-spacing: -0.025em;
}
.method-step p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.audience-section {
  background: #16161E;
}
.audience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}
.audience-layout .section-intro {
  margin-top: 23px;
}
.audience-list {
  border-top: 1px solid var(--line);
}
.audience-item {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 14px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  color: #DDE2ED;
  font-size: 14px;
  line-height: 1.6;
}
.audience-item span {
  color: var(--orange);
  font:
    13px/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
.teacher-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(45px, 9vw, 130px);
  align-items: center;
}
.teacher-copy .section-intro {
  margin-top: 24px;
}
.teacher-pending {
  margin-top: 28px;
  padding: 15px 17px;
  border: 1px dashed rgba(122, 162, 247, 0.55);
  color: #A9B1D6;
  font-size: 12px;
  line-height: 1.6;
}
.teacher-photo {
  min-height: 390px;
  position: relative;
  display: flex;
  align-items: end;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #24283B, #16161E 70%);
}
.teacher-photo::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  top: 32px;
  right: -55px;
  border: 1px solid rgba(122, 162, 247, 0.35);
  border-radius: 50%;
  box-shadow:
    0 0 0 30px rgba(122, 162, 247, 0.035),
    0 0 0 60px rgba(122, 162, 247, 0.025);
}
.photo-placeholder-label {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 15px;
  border: 1px dashed rgba(244, 241, 236, 0.35);
  background: rgba(22, 22, 30, 0.65);
  color: #D2D7E3;
  font:
    11px/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
.photo-placeholder-label strong {
  display: block;
  margin-bottom: 4px;
  color: var(--orange-light);
  font-weight: 800;
}
.booking-section {
  position: relative;
  overflow: hidden;
  background: #E9EAF0;
  color: #1A1B26;
  border-bottom: 0;
}
.booking-section::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 38%;
  background: linear-gradient(
    135deg,
    rgba(48, 54, 74, 0.035),
    rgba(48, 54, 74, 0.09)
  );
  pointer-events: none;
}
.booking-section::after {
  content: "30";
  position: absolute;
  right: max(-20px, calc((100vw - var(--max)) / 2));
  top: 50%;
  transform: translateY(-56%);
  color: rgba(37, 42, 56, 0.045);
  font-size: clamp(180px, 30vw, 420px);
  line-height: 0.8;
  font-weight: 900;
  letter-spacing: -0.1em;
  pointer-events: none;
}
.booking-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: 60px;
  align-items: center;
  padding-block: clamp(68px, 9vw, 112px);
}
.booking-section .eyebrow {
  color: #596681;
}
.booking-section .eyebrow::before {
  background: #7AA2F7;
}
.booking-section h2 {
  max-width: 760px;
  font-size: clamp(40px, 5.5vw, 72px);
}
.booking-section h2 span {
  color: #46516B;
}
.booking-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: #46516B;
  font-size: 15px;
  line-height: 1.75;
}
.booking-side {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(37, 42, 56, 0.15);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 18px 48px rgba(37, 42, 56, 0.07);
}
.booking-duration {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 19px;
}
.booking-duration strong {
  font-size: 43px;
  line-height: 1;
  letter-spacing: -0.06em;
}
.booking-duration span {
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.booking-side p {
  margin: 0 0 21px;
  color: #46516B;
  font-size: 13px;
  line-height: 1.65;
}
.booking-side .btn {
  width: 100%;
  justify-content: space-between;
  background: #343C55;
  border-color: #343C55;
  color: #C0CAF5;
}
.booking-side .btn:hover {
  background: #424D6B;
  border-color: #424D6B;
}
.booking-note {
  margin: 13px 0 0 !important;
  color: #596681 !important;
  font-size: 10px !important;
  line-height: 1.55 !important;
}
.booking-pending {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px dashed rgba(37, 42, 56, 0.3);
  color: #46516B;
  font-size: 10px;
  line-height: 1.55;
}
.booking-pending[hidden] {
  display: none;
}
.preply-section {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.preply-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 32px;
  padding-block: clamp(24px, 4vw, 40px);
}
.preply-topline {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.preply-topline .eyebrow {
  margin: 0;
}
.preply-copy h2 {
  max-width: 620px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.preply-copy p {
  max-width: 680px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.preply-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}
.preply-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid rgba(255, 122, 172, 0.56);
  background: rgba(255, 122, 172, 0.07);
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}
.preply-link:hover {
  border-color: #FF7AAC;
  background: rgba(255, 122, 172, 0.13);
  color: #FF7AAC;
}
.preply-logo {
  display: block;
  width: 58px;
  height: auto;
  flex: 0 0 auto;
}
.preply-link[hidden] {
  display: none;
}
.preply-pending {
  color: var(--subtle);
  font-size: 10px;
  line-height: 1.5;
}
footer {
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding-block: 25px;
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.6;
}
.footer-brand {
  color: var(--text);
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.back-top {
  color: #D2D7E3;
}
.back-top:hover {
  color: var(--orange-light);
}
@media (max-width: 900px) {
  .hero-grid {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
    gap: 28px;
  }
  h1 {
    font-size: clamp(46px, 6.8vw, 66px);
  }
  .hero-art {
    min-height: 310px;
  }
  .terminal-line {
    font-size: 11px;
  }
  .section-head,
  .problem-layout,
  .method-layout,
  .audience-layout {
    gap: 38px;
  }
  .method-layout {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  }
  .teacher-layout {
    gap: 48px;
  }
  .teacher-photo {
    min-height: 330px;
  }
  .booking-layout {
    gap: 32px;
  }
}
@media (max-width: 680px) {
  html {
    scroll-padding-top: 20px;
  }
  .nav {
    min-height: 70px;
  }
  .brand {
    gap: 7px;
    font-size: 15px;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .nav-links .nav-cta {
    font-size: 11px;
  }
  .nav-links .calendly-cta {
    max-width: none;
    text-align: center;
    white-space: nowrap;
    padding: 10px 12px;
    border: 1px solid var(--line);
  }
  .hero::before {
    inset: 35% 0 0 0;
    opacity: 0.32;
  }
  .hero::after {
    width: 270px;
    height: 270px;
    right: -145px;
    top: 28%;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    padding-block: 58px 38px;
  }
  h1 {
    max-width: 600px;
    font-size: clamp(43px, 12vw, 64px);
    letter-spacing: -0.065em;
  }
  .hero-copy {
    margin-top: 22px;
    font-size: 16px;
  }
  .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
    margin-top: 26px;
  }
  .btn {
    min-height: 52px;
    width: 100%;
    justify-content: space-between;
  }
  .hero-art {
    min-height: 0;
    justify-content: flex-start;
  }
  .terminal {
    width: 100%;
    transform: none;
    box-shadow: 9px 10px 0 rgba(122, 162, 247, 0.07);
  }
  .terminal-body {
    padding: 20px;
  }
  .terminal-line {
    font-size: 11px;
  }
  .signal-row {
    grid-template-columns: 1fr;
  }
  .signal {
    padding: 17px 0;
  }
  .signal + .signal {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
  .section {
    padding-block: 62px;
  }
  .section-head,
  .problem-layout,
  .method-layout,
  .audience-layout,
  .teacher-layout,
  .preply-layout,
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .preply-topline {
    grid-column: auto;
  }
  .preply-action {
    align-items: flex-start;
    text-align: left;
  }
  .section-head {
    margin-bottom: 32px;
  }
  h2 {
    font-size: clamp(34px, 9vw, 47px);
  }
  .section-intro {
    font-size: 14px;
  }
  .problem-statement {
    padding-left: 17px;
  }
  .problem-statement p {
    font-size: 21px;
  }
  .example-top {
    display: block;
    margin-bottom: 20px;
  }
  .example-top .section-intro {
    margin-top: 14px;
  }
  .level-carousel-controls {
    align-items: stretch;
    flex-direction: column;
  }
  .level-picker {
    gap: 6px;
  }
  .level-picker-button {
    gap: 7px;
    min-height: 54px;
    padding: 7px;
  }
  .level-picker-button::before {
    flex-basis: 7px;
    width: 7px;
    height: 7px;
  }
  .picker-name {
    font-size: 10px;
  }
  .level-carousel-actions {
    justify-content: flex-end;
  }
  .level-uncertainty {
    text-align: left;
  }
  .example-box {
    min-height: 0;
    padding: 18px;
    gap: 12px;
  }
  .example-box blockquote {
    font-size: 19px;
  }
  .method-intro {
    position: static;
  }
  .method-aside {
    margin-top: 22px;
  }
  .method-step {
    grid-template-columns: 37px 1fr;
    gap: 13px;
    padding: 24px 0;
  }
  .method-step h3 {
    font-size: 19px;
  }
  .teacher-photo {
    min-height: 310px;
  }
  .booking-layout {
    padding-block: 58px;
  }
  .booking-section h2 {
    font-size: clamp(39px, 10vw, 55px);
  }
  .booking-side {
    padding: 21px;
  }
  .booking-section::after {
    right: -8px;
    top: 42%;
    font-size: 230px;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .brand {
    gap: 7px;
    font-size: 9px;
    letter-spacing: 0.07em;
  }
  .nav {
    gap: 10px;
  }
  .nav-links {
    flex: 0 0 auto;
  }
  .nav-links .nav-cta {
    font-size: 10px;
  }
  .nav-links .calendly-cta {
    padding: 9px 8px;
  }
  .brand {
    gap: 5px;
    font-size: 13px;
  }
  .brand-mark {
    font-size: 18px;
  }
  .brand-slash {
    font-size: 22px;
  }
  .brand-letter {
    font-size: 22px;
  }
  .brand-cursor {
    font-size: 15px;
  }
  h1 {
    font-size: 41px;
  }
  .terminal-line {
    grid-template-columns: 20px 1fr;
    gap: 7px;
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.code-rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .42;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at 55% 45%, #000 0%, rgba(0,0,0,.8) 42%, transparent 78%);
}
.hero-art > :not(.code-rain):not(.hero-visual-glow) {
  z-index: 1;
}
.hero-art .hero-visual-glow {
  z-index: 0;
}

html.has-scroll-reveal .js-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.has-scroll-reveal .js-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  html.has-scroll-reveal .js-reveal { opacity: 1; transform: none; transition: none; will-change: auto; }
  .code-rain { display: none; }
}

.hero-visual-glow {
  position: absolute;
  z-index: -1;
  width: min(92%, 430px);
  aspect-ratio: 1;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(122, 162, 247, 0.3) 0%,
    rgba(37, 42, 56, 0) 70%
  );
}
.hero-art .terminal {
  position: absolute;
  z-index: -2;
  width: 100%;
  left: -25%;
  top: 50%;
  transform: translateY(-44%) rotate(-3deg);
  opacity: 0.96;
}
.hero-portrait-wrap {
  position: absolute;
  z-index: 2;
  right: -2%;
  bottom: -2px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.hero-portrait {
  display: block;
  width: 100%;
  height: auto;
  max-height: 485px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.22));
}
.portrait-caption {
  position: absolute;
  right: 8px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  color: #C0CAF5;
  background: rgba(26, 27, 38, 0.88);
  border: 1px solid rgba(245, 240, 230, 0.2);
  font:
    9px/1.2 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}
.portrait-status {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #7AA2F7;
}
.teacher-photo-portrait {
  padding: 0;
  align-items: end;
  justify-content: center;
}
.teacher-photo-portrait::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(transparent, rgba(37, 42, 56, 0.42));
  pointer-events: none;
}
.teacher-photo-portrait img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
  object-position: bottom center;
}
@media (max-width: 900px) {
  .hero-art {
    min-height: 440px;
  }
  .hero-art .terminal {
    width: min(88%, 380px);
    top: 46%;
  }
  .hero-portrait-wrap {
    width: min(72%, 330px);
    right: 0;
  }
  .hero-portrait {
    max-height: 430px;
  }
}
@media (max-width: 680px) {
  .hero-art {
    width: 100%;
    min-height: 410px;
    margin-top: -4px;
  }
  .hero-art .terminal {
    width: 84%;
    left: 0;
    top: 43%;
    transform: translateY(-35%) rotate(-2deg);
  }
  .hero-art .terminal-body {
    padding: 18px;
  }
  .hero-art .terminal-line {
    font-size: 11px;
    grid-template-columns: 20px 1fr;
    gap: 7px;
    margin-bottom: 12px;
  }
  .hero-art .terminal-kicker {
    margin-bottom: 15px;
    font-size: 10px;
  }
  .hero-art .terminal-footer {
    padding: 10px 12px;
    font-size: 8px;
  }
  .hero-portrait-wrap {
    width: min(72%, 290px);
    right: -2%;
    bottom: 0;
  }
  .hero-portrait {
    max-height: 370px;
  }
  .portrait-caption {
    right: 0;
    bottom: 12px;
    font-size: 8px;
  }
}
@media (max-width: 380px) {
  .hero-art {
    min-height: 360px;
  }
  .hero-art .terminal {
    width: 88%;
  }
  .hero-portrait-wrap {
    width: 70%;
    right: -5%;
  }
  .hero-portrait {
    max-height: 330px;
  }
  .portrait-caption {
    padding: 7px 8px;
    letter-spacing: 0.03em;
  }
}

@media (min-width: 901px) {
  .hero-grid {
    min-height: 650px;
    align-items: stretch;
    gap: clamp(32px, 4vw, 60px);
    padding-top: clamp(34px, 4vw, 56px);
    padding-bottom: 0;
  }
  .hero-content {
    align-self: center;
    padding-block: 28px;
    position: relative;
    z-index: 2;
  }
  .hero-art {
    align-self: stretch;
    height: auto;
    min-height: 0;
    min-width: 0;
    margin: 0;
    overflow: visible;
    z-index: 0;
  }
  .hero-portrait-wrap {
    top: 24px;
    right: 14px;
    bottom: 0;
    width: min(100%, 430px);
    height: auto;
    justify-content: flex-end;
    padding: 0 10px 0 0;
    box-sizing: border-box;
  }
  .hero-portrait {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
  }
  .portrait-caption {
    right: 12px;
    bottom: 12px;
  }
  .hero-art .terminal {
    left: -20%;
    width: min(100%, 420px);
    top: 50%;
  }
}
@media (min-width: 901px) and (max-height: 760px) {
  .hero-grid { min-height: 590px; }
  .hero-portrait-wrap { top: 18px; bottom: 0; }
}
@media (max-width: 900px) {
  .hero-grid {
    align-items: center;
  }
  .hero-art {
    overflow: hidden;
  }
  .hero-portrait-wrap {
    top: 14px;
    bottom: 0;
    height: auto;
    width: min(72%, 330px);
    right: 10px;
    padding: 0 6px;
    box-sizing: border-box;
    justify-content: flex-end;
  }
  .hero-portrait {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
  }
}
@media (max-width: 680px) {
  .hero-portrait-wrap {
    top: 8px;
    bottom: 0;
    right: 8px;
    width: min(72%, 290px);
    padding-inline: 4px;
  }
  .hero-portrait { max-height: none; }
}
@media (max-width: 380px) {
  .hero-portrait-wrap { width: 70%; right: 6px; }
}

:root {
  --keyword: #BB9AF7;
  --string:  #9ECE6A;
  --number:  #FF9E64;
  --variable:#7DCFFF;
  --comment: #565F89;
  --error:   #F7768E;
  --warn:    #E0AF68;
}
::selection { background: rgba(187, 154, 247, 0.35); color: #fff; }
.eyebrow { color: var(--keyword); }
.eyebrow::before { background: var(--keyword); }
h1 .accent { color: var(--string); }
.signal-index, .signal-item span, .method-step .number { color: var(--number); }
.audience-item span { color: var(--string); }
.portrait-status { background: var(--string); box-shadow: 0 0 8px var(--string); }
.method-aside { color: var(--keyword); }
.line-no { color: var(--comment); }
.line-text .dim { color: var(--variable); }
.line-text .orange { color: var(--string); }
.terminal-kicker { color: var(--comment); }
.terminal-footer span:last-child { color: var(--string); }
.terminal-dot:nth-child(1) { background: var(--error); }
.terminal-dot:nth-child(2) { background: var(--warn); }
.terminal-dot:nth-child(3) { background: var(--string); }

.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--keyword), var(--orange), var(--string));
}
.status-chip {
  position: fixed; left: 16px; bottom: 16px; z-index: 50; pointer-events: none;
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 11px;
  background: rgba(22, 22, 30, 0.92); border: 1px solid var(--line);
  color: var(--muted); font: 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  backdrop-filter: blur(8px);
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--string); }
.chip-file { color: var(--variable); }
.chip-pos { color: var(--comment); }
@media (max-width: 680px) { .status-chip { display: none; } }

@keyframes typeLine { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes blink { 50% { opacity: 0; } }
html.has-motion .brand-cursor { animation: blink 1s steps(1, end) infinite; }
@media (prefers-reduced-motion: reduce) {
  .brand-cursor { animation: none; opacity: 1; }
}
html.has-motion .terminal-body > p { animation: typeLine .55s steps(22, end) both; }
html.has-motion .terminal-body > p:nth-child(1) { animation-delay: .3s; }
html.has-motion .terminal-body > p:nth-child(2) { animation-delay: .9s; }
html.has-motion .terminal-body > p:nth-child(3) { animation-delay: 1.4s; }
html.has-motion .terminal-body > p:nth-child(4) { animation-delay: 1.9s; }
h1 .accent::after { content: "\258D"; margin-left: .06em; color: var(--string); font-weight: 400; }
html.has-motion h1 .accent::after { animation: blink 1.05s steps(1) infinite; }

html.has-motion .js-line {
  clip-path: inset(-30px 100% -30px -30px);
  opacity: 0;
  transition: clip-path .7s cubic-bezier(.3,.7,.2,1), opacity .25s ease;
  transition-delay: var(--d, 0ms);
}
html.has-motion .js-line.is-visible { clip-path: inset(-30px -30px -30px -30px); opacity: 1; }

