:root {
  --graphite: #0f1113;
  --ink: #171a1d;
  --steel: #2b3036;
  --slate: #4b5563;
  --mist: #eef2f6;
  --line: #d7dee8;
  --off: #f6f7f5;
  --white: #ffffff;
  --green: #27ae60;
  --green-dark: #15803d;
  --green-soft: #e8f7ee;
  --blue: #2563eb;
  --blue-soft: #eaf1ff;
  --amber: #f59e0b;
  --amber-soft: #fff7e6;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(15, 17, 19, 0.12);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--off);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  color: var(--white);
  background: rgba(15, 17, 19, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 182px;
}

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  background: linear-gradient(145deg, #ffffff 0%, #d9dee4 52%, #101315 53%);
  border-radius: var(--radius);
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 38px;
  right: 11px;
  bottom: 1px;
  background: var(--green);
  transform: skewX(-34deg);
}

.brand-mark span {
  position: relative;
  z-index: 1;
  color: var(--graphite);
  mix-blend-mode: multiply;
}

.brand-copy strong {
  display: block;
  color: var(--white);
  font-size: 30px;
  line-height: 0.95;
  letter-spacing: 0;
}

.brand-copy small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.phone {
  display: grid;
  gap: 2px;
  text-align: right;
}

.phone strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 18px;
}

.phone small {
  color: rgba(255, 255, 255, 0.62);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: inherit;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline.dark {
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost {
  min-height: 40px;
  padding: 0 14px;
  background: transparent;
  color: var(--slate);
  border-color: var(--line);
}

.icon-btn {
  width: 44px;
  height: 44px;
  padding: 0;
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 17, 19, 0.98) 0%, rgba(15, 17, 19, 0.9) 42%, rgba(15, 17, 19, 0.34) 100%),
    var(--graphite);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 112px 112px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: calc(100dvh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  align-items: center;
  gap: 44px;
  padding: 64px 0;
}

.hero-copy {
  max-width: 700px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: #63d98f;
  font-weight: 800;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(44px, 4.8vw, 68px);
}

.hero-lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 22px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.proof-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.proof-item svg {
  flex: 0 0 auto;
  color: var(--green);
}

.proof-item strong {
  display: block;
  font-size: 14px;
}

.proof-item span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.35;
}

.hero-media {
  position: relative;
  min-height: 570px;
  display: grid;
  align-items: end;
}

.hero-photo {
  position: absolute;
  inset: -64px -80px -64px 0;
  opacity: 0.74;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  filter: saturate(0.9) contrast(1.05);
}

.finder-card {
  position: relative;
  width: min(100%, 720px);
  justify-self: end;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 17, 19, 0.78);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.finder-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea,
.search-input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0 16px;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.search-input:focus {
  border-color: rgba(39, 174, 96, 0.62);
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.12);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: rgba(213, 61, 61, 0.72);
  box-shadow: 0 0 0 3px rgba(213, 61, 61, 0.12);
}

.finder-card .search-input {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.finder-card .search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.chip.light {
  color: var(--slate);
  border-color: var(--line);
  background: var(--white);
}

.chip.active,
.chip:hover {
  color: var(--white);
  border-color: rgba(39, 174, 96, 0.7);
  background: rgba(39, 174, 96, 0.18);
}

.chip.light.active,
.chip.light:hover {
  color: var(--green-dark);
  background: var(--green-soft);
}

.finder-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.finder-fact {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section {
  padding: 86px 0;
}

.section.compact {
  padding: 58px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-header p {
  margin: 16px 0 0;
  color: var(--slate);
  font-size: 18px;
  line-height: 1.6;
}

.section-tools {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.direction-card {
  min-height: 152px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.direction-card:hover {
  transform: translateY(-2px);
  border-color: rgba(39, 174, 96, 0.45);
  box-shadow: var(--shadow);
}

.direction-card svg {
  color: var(--green);
}

.direction-card h3,
.program-card h3,
.note-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
}

.direction-card p,
.program-card p,
.note-card p {
  margin: 8px 0 0;
  color: var(--slate);
  line-height: 1.5;
}

.card-meta {
  color: var(--slate);
  font-size: 13px;
}

.program-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 16px;
}

.feature-program {
  position: relative;
  min-height: 470px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--white);
}

.feature-program img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.95);
}

.feature-program .content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 36px;
}

.feature-program h3 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
}

.feature-program .program-footer {
  color: rgba(255, 255, 255, 0.78);
}

.feature-program .text-link {
  color: var(--white);
}

.program-stack {
  display: grid;
  gap: 16px;
}

.program-card,
.note-card,
.panel,
.sidebar-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.program-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  min-height: 146px;
  padding: 18px;
}

.program-card.vertical {
  grid-template-columns: 1fr;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.program-card.vertical .program-body {
  padding: 20px;
}

.thumb {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
  aspect-ratio: 16 / 10;
}

.program-card:not(.vertical) .thumb {
  aspect-ratio: 1;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.pos-a img {
  object-position: 10% 25%;
}

.thumb.pos-b img {
  object-position: 54% 25%;
}

.thumb.pos-c img {
  object-position: 88% 25%;
}

.thumb.pos-d img {
  object-position: 28% 78%;
}

.thumb.pos-e img {
  object-position: 78% 76%;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--slate);
  font-size: 12px;
  font-weight: 800;
}

.tag.green {
  color: var(--green-dark);
  background: var(--green-soft);
}

.tag.blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.tag.amber {
  color: #9a6400;
  background: var(--amber-soft);
}

.program-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--slate);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 900;
}

.notes-band {
  background: var(--graphite);
  color: var(--white);
}

.notes-band .section-header h2,
.notes-band .note-card h3 {
  color: var(--white);
}

.notes-band .section-header p {
  color: rgba(255, 255, 255, 0.66);
}

.notes-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 16px;
}

.note-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.note-card .thumb {
  display: block;
  border-radius: 0;
}

.note-card .thumb img {
  display: block;
}

.note-card .note-body {
  padding: 22px;
}

.note-card p,
.note-card .card-meta {
  color: rgba(255, 255, 255, 0.68);
}

.note-card.feature .thumb {
  aspect-ratio: 16 / 8;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.process-step {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.step-num {
  font-family: "IBM Plex Mono", Consolas, monospace;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.process-step h3 {
  margin: 0;
  font-size: 22px;
}

.process-step p {
  margin: 8px 0 0;
  color: var(--slate);
  line-height: 1.5;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.panel {
  padding: 28px;
}

.panel.dark {
  color: var(--white);
  background: var(--graphite);
  border-color: var(--graphite);
}

.panel h2,
.panel h3 {
  margin: 0;
}

.panel p {
  color: var(--slate);
  line-height: 1.6;
}

.panel.dark p {
  color: rgba(255, 255, 255, 0.66);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.benefit svg {
  color: var(--green);
  flex: 0 0 auto;
}

.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.request-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field.full {
  grid-column: 1 / -1;
}

.form-note {
  color: var(--slate);
  font-size: 13px;
  line-height: 1.45;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  color: var(--green-dark);
  background: var(--green-soft);
}

.form-status.error {
  color: #9c2626;
  background: rgba(213, 61, 61, 0.1);
}

.request-form.is-sending {
  opacity: 0.78;
}

.request-form.is-sending .btn {
  pointer-events: none;
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 17, 19, 0.98), rgba(15, 17, 19, 0.82)),
    var(--graphite);
}

.page-hero.light {
  color: var(--ink);
  background: var(--off);
}

.page-hero .inner {
  padding: 56px 0 50px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.page-hero.light .breadcrumbs {
  color: var(--slate);
}

.breadcrumbs a:hover {
  color: var(--green);
}

.page-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  line-height: 1.5;
}

.page-hero.light .page-lead {
  color: var(--slate);
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) repeat(4, minmax(150px, auto));
  gap: 12px;
  align-items: end;
  margin-top: 28px;
}

.catalog-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
}

.direction-list {
  position: sticky;
  top: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.direction-list h2 {
  margin: 0 0 16px;
  font-size: 21px;
}

.direction-row {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--mist);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.direction-row svg {
  color: var(--green);
}

.direction-row small {
  color: var(--slate);
}

.direction-row.active span {
  color: var(--green-dark);
  font-weight: 900;
}

.catalog-main {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--slate);
  font-size: 14px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.program-grid .program-card {
  grid-template-columns: 1fr;
}

.program-grid .program-card .thumb {
  aspect-ratio: 16 / 7;
}

.sidebar {
  display: grid;
  gap: 16px;
}

.sidebar-card {
  padding: 18px;
}

.sidebar-card h3 {
  margin: 0;
  font-size: 20px;
}

.sidebar-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.mini-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
}

.mini-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--green-dark);
  background: var(--green-soft);
}

.mini-item strong {
  display: block;
  line-height: 1.25;
}

.mini-item span {
  display: block;
  margin-top: 4px;
  color: var(--slate);
  font-size: 13px;
}

.detail-hero {
  position: relative;
  color: var(--white);
  background: var(--graphite);
  overflow: hidden;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0 38% 0 0;
  background:
    linear-gradient(90deg, rgba(15, 17, 19, 0.95), rgba(15, 17, 19, 0.74)),
    url("reference.webp");
  background-size: cover;
  background-position: 54% 25%;
  filter: saturate(0.92);
}

.detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
  gap: 48px;
  align-items: stretch;
  padding: 56px 0 0;
}

.detail-copy {
  display: grid;
  align-content: center;
  min-height: 600px;
  padding-bottom: 48px;
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.98;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.fact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
}

.detail-panel {
  padding: 34px;
  border-radius: 24px 24px 0 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 -16px 60px rgba(0, 0, 0, 0.18);
}

.detail-panel h2 {
  margin: 0 0 22px;
  font-size: 30px;
}

.quick-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.quick-list .mini-icon {
  margin-bottom: 10px;
}

.tabs {
  position: sticky;
  top: 72px;
  z-index: 20;
  background: rgba(246, 247, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.tab-list {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 12px 0;
}

.tab-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--slate);
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.tab-button.active {
  color: var(--green-dark);
  background: var(--white);
  border-color: var(--line);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.article-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.article-panel h2,
.article-panel h3 {
  margin: 0 0 16px;
}

.article-panel p,
.article-panel li {
  color: var(--slate);
  line-height: 1.7;
}

.article-panel ul {
  padding-left: 20px;
}

.aside-sticky {
  position: sticky;
  top: 150px;
}

.zlll-component-hero .inner {
  padding-bottom: 42px;
}

.zlll-article-list-shell {
  display: grid;
  grid-template-columns: 1fr;
}

.article-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zlll-empty {
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--off);
}

.zlll-empty h3 {
  margin: 0;
  font-size: 24px;
}

.zlll-empty p {
  margin: 10px 0 0;
  color: var(--slate);
}

.zlll-pagination {
  margin-top: 28px;
}

.zlll-pagination a,
.zlll-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  margin: 0 4px 6px 0;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.zlll-program-detail {
  isolation: isolate;
}

.detail-bg {
  position: absolute;
  inset: 0 38% 0 0;
  z-index: 0;
  opacity: 0.48;
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 25%;
  filter: saturate(0.9) contrast(1.05);
}

.zlll-program-detail .detail-grid {
  position: relative;
  z-index: 2;
}

.zlll-program-detail::before {
  display: none;
}

.zlll-panel-cta {
  width: 100%;
  margin-top: 24px;
}

.article-cover {
  width: 100%;
  max-height: 420px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  object-fit: cover;
}

.article-meta {
  margin-top: 0;
  color: var(--slate);
  font-size: 14px;
  font-weight: 800;
}

.zlll-detail-text img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.zlll-detail-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.zlll-detail-text th,
.zlll-detail-text td {
  padding: 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.zlll-detail-text th {
  background: var(--mist);
}

.price-hero .inner {
  padding-bottom: 42px;
}

.price-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
  gap: 28px;
  align-items: end;
}

.price-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 900;
}

.price-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.price-hero-stats div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.price-hero-stats div:last-child {
  border-right: 0;
}

.price-hero-stats strong,
.price-hero-stats span {
  display: block;
}

.price-hero-stats strong {
  color: var(--ink);
  font-size: 27px;
  line-height: 1;
  white-space: nowrap;
}

.price-hero-stats span {
  margin-top: 8px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 800;
}

.price-page {
  padding-top: 34px;
}

.price-toolbar {
  display: grid;
  gap: 16px;
  padding: 18px;
  margin-bottom: 20px;
}

.price-search-field span {
  color: var(--steel);
  font-size: 13px;
  font-weight: 900;
}

.price-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.price-chip {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--steel);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.price-chip span {
  font-size: 13px;
  font-weight: 900;
}

.price-chip small {
  min-width: 24px;
  min-height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--slate);
  font-size: 12px;
  font-weight: 900;
}

.price-chip.active {
  border-color: rgba(39, 174, 96, 0.5);
  background: var(--green-soft);
  color: var(--green-dark);
}

.price-chip.active small {
  background: var(--white);
  color: var(--green-dark);
}

.price-count {
  color: var(--slate);
  font-size: 14px;
  font-weight: 800;
}

.price-shell {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.price-aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.price-cta {
  display: grid;
  gap: 14px;
}

.price-cta > svg {
  width: 38px;
  height: 38px;
  color: var(--green);
}

.price-cta p,
.price-note-card .mini-item strong {
  color: var(--slate);
}

.price-note-card .mini-item strong {
  font-size: 14px;
}

.price-content {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.price-section {
  display: grid;
  gap: 14px;
  min-width: 0;
  scroll-margin-top: 96px;
}

.price-section-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 4px 0 2px;
}

.price-section-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}

.price-section-head p {
  margin: 7px 0 0;
  color: var(--slate);
  line-height: 1.45;
}

.price-section-head > strong {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green-dark);
}

.price-list {
  display: grid;
  gap: 10px;
}

.price-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 178px;
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.price-card:hover {
  transform: translateY(-1px);
  border-color: rgba(39, 174, 96, 0.38);
  box-shadow: 0 16px 42px rgba(15, 17, 19, 0.08);
}

.price-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.price-card .tag {
  gap: 6px;
}

.price-card .tag svg {
  width: 14px;
  height: 14px;
}

.price-card-side {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 6px;
  padding-left: 18px;
  border-left: 1px solid var(--mist);
  text-align: right;
}

.price-card-side span {
  color: var(--slate);
  font-size: 12px;
  font-weight: 900;
}

.price-card-side strong {
  color: var(--ink);
  font-size: 27px;
  line-height: 1;
  white-space: nowrap;
}

.note-text {
  margin: 14px 0 0;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.55;
}

.price-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 34px;
  text-align: center;
}

.price-empty[hidden] {
  display: none;
}

.price-empty svg {
  color: var(--green);
}

.price-empty h2,
.price-empty p {
  margin: 0;
}

.price-empty p {
  color: var(--slate);
}

.price-conditions {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 26px;
  padding: 24px;
}

.price-conditions h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.price-conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.price-conditions-grid p {
  margin: 0;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--off);
  color: var(--slate);
  line-height: 1.5;
}

.site-footer {
  color: rgba(255, 255, 255, 0.68);
  background: var(--graphite);
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--white);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.reveal-ready [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal-ready [data-reveal].is-visible,
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1200px) {
  .main-nav {
    gap: 16px;
  }

  .phone {
    display: none;
  }

  .hero-grid,
  .detail-grid,
  .request-grid,
  .catalog-shell,
  .price-shell {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 430px;
  }

  .finder-card {
    justify-self: stretch;
  }

  .direction-list,
  .aside-sticky,
  .price-aside {
    position: static;
  }

  .catalog-shell {
    gap: 18px;
  }

  .sidebar,
  .price-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .nav-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.18);
  }

  .mobile-menu {
    display: none;
    padding: 0 0 22px;
  }

  body.menu-open .mobile-menu {
    display: grid;
    gap: 10px;
  }

  .mobile-menu a,
  .mobile-menu .btn {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-grid {
    min-height: auto;
    padding: 42px 0 28px;
    gap: 24px;
  }

  .hero h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: clamp(42px, 12vw, 66px);
  }

  .hero-lead,
  .page-lead {
    font-size: 18px;
  }

  .hero-proof,
  .price-hero-grid,
  .price-hero-stats,
  .finder-facts,
  .direction-grid,
  .program-showcase,
  .notes-grid,
  .process-grid,
  .split-panel,
  .form-grid,
  .program-grid,
  .content-grid,
  .footer-grid,
  .catalog-toolbar,
  .price-conditions,
  .price-conditions-grid {
    grid-template-columns: 1fr;
  }

  .price-hero-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .price-hero-stats div:last-child {
    border-bottom: 0;
  }

  .process-step {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .notes-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }

  .note-card {
    min-width: 82%;
    scroll-snap-align: start;
  }

  .quick-list,
  .sidebar,
  .price-aside {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    border-radius: var(--radius);
    margin-bottom: 24px;
  }

  .detail-copy {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .brand-copy strong {
    font-size: 25px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .section {
    padding: 60px 0;
  }

  .hero h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 38px;
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .search-row,
  .section-tools,
  .catalog-head,
  .program-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .finder-card,
  .detail-panel,
  .request-form,
  .article-panel,
  .panel {
    padding: 20px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    grid-template-columns: 1fr;
  }

  .price-page {
    padding-top: 20px;
  }

  .price-chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .price-chip {
    flex: 0 0 auto;
    max-width: 260px;
  }

  .price-section-head {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .price-section-head > strong {
    grid-column: 2;
    justify-self: start;
  }

  .price-section-head h2,
  .price-conditions h2 {
    font-size: 24px;
  }

  .price-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .price-card-side {
    justify-items: start;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--mist);
    text-align: left;
  }

  .program-card:not(.vertical) .thumb {
    aspect-ratio: 16 / 10;
  }
}
