

:root {
  --radius: 4px;
  --background: oklch(1 0 0);
  --foreground: oklch(0.232 0.059 260);
  --card: oklch(0.228 0.044 270);
  --card-foreground: oklch(0.88 0.036 253);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.232 0.059 260);
  --primary: oklch(0.689 0.132 231.5);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.88 0.036 253);
  --secondary-foreground: oklch(0.232 0.059 260);
  --muted: oklch(0.954 0.02 255);
  --muted-foreground: oklch(0.555 0.029 256);
  --accent: oklch(0.738 0.127 228);
  --accent-foreground: oklch(1 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(1 0 0);
  --border: oklch(0.94 0.025 253 / 0.36);
  --input: oklch(0.88 0.036 253);
  --ring: oklch(0.794 0.105 230);
  --hero: oklch(0.232 0.059 260);
  --hero-foreground: oklch(0.927 0.026 254);
  --hero-foreground-end: oklch(0.832 0.057 251);
  --panel: oklch(1 0 0 / 0.75);
  --panel-foreground: oklch(0.12 0 0);
  --speaker-panel: oklch(0.228 0.044 270 / 0.4);
  --speaker-muted: oklch(0.8 0.029 253);
  --footer: oklch(0.927 0.026 254);
  --footer-end: oklch(0.832 0.057 251);
  --footer-foreground: oklch(0.232 0.059 260);
  --heading-gradient: linear-gradient(108.36deg, var(--hero-foreground), var(--hero-foreground-end));
  --footer-gradient: linear-gradient(108.36deg, var(--footer), var(--footer-end));
}

@layer base {
  * { border-color: var(--border); letter-spacing: 0; }
  body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
  }
  a, button { -webkit-tap-highlight-color: transparent; }
}

/* Original reference-page composition, with responsive tracks and semantic tokens. */
.career-site { overflow: clip; text-transform: uppercase; }
.career-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--hero);
  color: var(--hero-foreground);
}
.career-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.career-layout {
  position: relative;
  width: min(1200px, calc(100% - 80px));
  height: 737px;
  margin-inline: auto;
}
.career-heading {
  position: absolute;
  z-index: 2;
  top: 78px;
  left: 0;
  width: 749px;
  margin: 0;
  font-size: 49px;
  font-weight: 700;
  line-height: 1.35;
  background: var(--heading-gradient);
  background-clip: text;
  color: transparent;
}
.career-subtitle {
  position: absolute;
  z-index: 2;
  top: 253px;
  left: 0;
  width: 558px;
  margin: 0;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.5;
  background: var(--heading-gradient);
  background-clip: text;
  color: transparent;
}
.career-portrait {
  position: absolute;
  top: 11px;
  left: 605px;
  width: 671px;
  height: 837px;
  max-width: none;
  object-fit: contain;
}
.speaker-profile {
  position: absolute;
  z-index: 3;
  top: 467px;
  right: 20px;
  width: 343px;
  min-height: 164px;
  padding: 20px 18px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--speaker-panel);
}
.speaker-name {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--hero-foreground);
}
.speaker-biography {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--speaker-muted);
}
.company-logos { display: block; width: 297px; height: auto; margin: 19px auto 0; }
.course-content {
  position: absolute;
  z-index: 3;
  top: 422px;
  left: 0;
  width: 636px;
  padding: 23px 11px 10px;
  border: 1px solid var(--panel);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--panel-foreground);
}
.course-content-heading { margin: 0 14px 13px; font-size: 18px; font-weight: 400; line-height: 1.35; }
.course-lessons { display: grid; gap: 10px; margin: 0 12px 18px; padding: 0; list-style: none; }
.course-lessons li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; font-weight: 400; line-height: 1.35; }
.lesson-check { flex: 0 0 16px; width: 16px; height: 15px; margin-top: 3px; }
.course-actions { position: relative; height: 93px; }
.course-button {
  position: relative;
  display: flex;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  white-space: normal;
  transition: background-color 160ms ease;
}
.course-button-size { height: 93px; padding: 16px 110px 16px 72px; }
.course-button:hover { background: var(--accent); }
.course-button:focus-visible, .telegram-post-link:focus-visible { outline: 3px solid var(--ring); outline-offset: 4px; }
.telegram-post-link { position: absolute; top: 18px; right: 94px; width: 72px; height: 58px; transition: transform 160ms ease; }
.telegram-post-link img { display: block; width: 100%; height: 100%; object-fit: contain; }
.telegram-post-link:hover { transform: translateY(-2px); }
.course-bonuses { padding: 25px 0 35px; background: var(--card); color: var(--card-foreground); }
.bonuses-layout { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.bonuses-heading {
  margin: 0 0 30px;
  text-align: center;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.35;
  background: var(--heading-gradient);
  background-clip: text;
  color: transparent;
}
.bonuses-grid { display: grid; grid-template-columns: 373fr 392fr 342fr; gap: 26px; }
.bonus-item { display: flex; align-items: center; gap: 22px; min-height: 74px; padding: 11px; border: 1px solid var(--border); border-radius: var(--radius); }
.bonus-image { flex: 0 0 50px; width: 50px; height: 50px; object-fit: contain; }
.bonus-title { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.35; white-space: pre-line; }
.career-footer { min-height: 100px; background: var(--footer-gradient); color: var(--footer-foreground); }
.footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1200px, calc(100% - 80px)); min-height: 100px; margin-inline: auto; }
.footer-name { margin: 0; font-size: 22px; font-weight: 500; opacity: 0.6; }
.footer-policy { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

@media (min-width: 768px) and (max-width: 1199px) {
  .career-layout { width: calc(100% - 64px); height: 700px; }
  .career-heading { top: 65px; width: 65%; font-size: 40px; }
  .career-subtitle { top: 235px; width: 49%; font-size: 20px; }
  .career-portrait { top: 35px; left: 48%; width: 610px; height: 761px; }
  .speaker-profile { top: 425px; right: 0; width: 270px; padding: 16px; }
  .speaker-name { font-size: 16px; }
  .speaker-biography { font-size: 11px; }
  .company-logos { width: 100%; margin-top: 14px; }
  .course-content { top: 405px; width: 55%; padding-top: 20px; }
  .course-content-heading { font-size: 15px; }
  .course-lessons li { font-size: 13px; }
  .course-button { font-size: 19px; }
  .course-button-size { padding: 16px 65px 16px 15px; height: 80px; }
  .course-actions { height: 80px; }
  .telegram-post-link { top: 18px; right: 20px; width: 52px; height: 42px; }
  .bonuses-layout { width: calc(100% - 64px); }
  .bonuses-grid { gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bonuses-heading { font-size: 22px; }
  .bonus-item { gap: 12px; min-height: 84px; }
  .bonus-title { font-size: 12px; }
  .bonus-image { flex-basis: 42px; width: 42px; height: 42px; }
  .footer-layout { width: calc(100% - 64px); }
}

@media (max-width: 767px) {
  .career-layout { width: 100%; height: 1032px; }
  .career-backdrop { object-position: 50% center; }
  .career-heading { top: 45px; left: 50%; width: min(345px, calc(100% - 64px)); transform: translateX(-50%); font-size: 24px; line-height: 1.35; }
  .career-subtitle { top: 137px; left: 50%; width: min(345px, calc(100% - 90px)); transform: translateX(-50%); font-size: 15px; line-height: 1.55; }
  .career-portrait { top: 202px; left: calc(50% - 169px); width: 412px; height: 514px; }
  .speaker-profile { top: 502px; right: auto; left: 50%; width: 300px; min-height: 133px; padding: 18px 11px 16px; transform: translateX(-50%); border: 0; background: var(--panel); color: var(--panel-foreground); }
  .speaker-name { margin-bottom: 16px; color: var(--panel-foreground); font-size: 17px; }
  .speaker-biography { color: var(--panel-foreground); font-size: 11px; line-height: 1.38; opacity: 0.75; }
  .company-logos { position: absolute; top: 100%; left: 15px; width: 269px; margin-top: 9px; }
  .course-content { top: 707px; width: 100%; min-height: 308px; padding: 20px max(20px, calc((100% - 280px) / 2)) 20px; border: 0; border-radius: 0; background: var(--panel); }
  .course-content-heading { margin: 0 0 20px; font-size: 14px; line-height: 1.5; }
  .course-lessons { gap: 18px; margin: 0 0 24px; }
  .course-lessons li { gap: 12px; font-size: 13px; line-height: 1.4; }
  .course-actions { height: 74px; }
  .course-button { font-size: 17px; }
  .course-button-size { height: 74px; padding: 12px 54px 12px 14px; }
  .telegram-post-link { top: 22px; right: 12px; width: 38px; height: 31px; }
  .course-bonuses { padding: 42px 20px 46px; }
  .bonuses-layout { width: min(350px, 100%); }
  .bonuses-heading { margin: 0 0 24px; font-size: 16px; line-height: 1.5; text-align: left; }
  .bonuses-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .bonus-item { gap: 14px; min-height: 71px; padding: 10px; }
  .bonus-title { font-size: 13px; line-height: 1.4; }
  .bonus-image { flex-basis: 45px; width: 45px; height: 45px; }
  .footer-layout { flex-direction: column; align-items: flex-start; justify-content: center; width: min(350px, calc(100% - 40px)); min-height: 119px; gap: 18px; padding-block: 24px; }
  .footer-name { font-size: 18px; }
  .footer-policy { font-size: 11px; }
}

@media (max-width: 359px) {
  .career-heading { top: 20px; width: calc(100% - 28px); font-size: 23px; }
  .career-subtitle { top: 129px; width: calc(100% - 28px); font-size: 14px; }
  .speaker-profile { width: calc(100% - 30px); }
  .company-logos { width: calc(100% - 30px); }
  .course-button { font-size: 15px; }
}

@media (min-width: 480px) and (max-width: 767px) {
  .career-heading, .career-subtitle { width: 345px; }
  .career-portrait { left: calc(50% - 206px); }
}

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

/* Standalone reset and the shared Button's base layout. */
:root { --font-sans: "Montserrat", Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-sans); }
a { color: inherit; }
.course-button { align-items: center; justify-content: center; cursor: pointer; }
