html,
body {
  overflow-x: clip;
}

.lp-page {
  min-height: 100vh;
  background: var(--lh-paper);
  color: var(--lh-ink);
  overflow-x: clip;
}

.lp-page main {
  color: var(--lh-ink);
}

.lp-top {
  background: var(--lh-paper);
  color: var(--lh-paper);
}

.lp-top .lh-header {
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  width: min(var(--lh-shell), calc(100% - 56px));
  margin: 0 auto;
  padding: 0 clamp(24px, 3vw, 40px);
}

.lp-top .lh-brand {
  justify-self: center;
  text-align: center;
}

.lp-top .lh-nav.is-left {
  justify-content: flex-start;
}

.lp-top .lh-nav.is-right {
  justify-content: flex-end;
}

.lp-header-spacer {
  height: 118px;
}

.lp-shell {
  width: min(var(--lh-shell), calc(100% - 56px));
  margin: 0 auto;
}

.lp-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: var(--lh-radius);
  padding: clamp(36px, 5vw, 72px);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.08), transparent 19rem),
    radial-gradient(circle at 20% 76%, rgba(227, 75, 54, 0.16), transparent 18rem),
    var(--lh-black);
  color: var(--lh-paper);
}

.lp-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 116px 116px;
  content: "";
  pointer-events: none;
}

.lp-hero--about {
  min-height: 620px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.08), transparent 19rem),
    radial-gradient(circle at 20% 76%, rgba(227, 75, 54, 0.16), transparent 18rem),
    linear-gradient(90deg, rgba(7, 7, 7, 0.98) 0%, rgba(7, 7, 7, 0.92) 48%, rgba(7, 7, 7, 0.72) 72%, rgba(7, 7, 7, 0.96) 100%),
    var(--lh-black);
}

.lp-hero--about::after {
  position: absolute;
  inset: -44px -52px -44px auto;
  z-index: 0;
  width: min(52vw, 660px);
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 1) 0%, rgba(7, 7, 7, 0.3) 30%, rgba(7, 7, 7, 0.14) 58%, rgba(7, 7, 7, 0.9) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.84) 0%, rgba(7, 7, 7, 0.06) 34%, rgba(7, 7, 7, 0.18) 68%, rgba(7, 7, 7, 0.92) 100%),
    url("/assets/brand/daniil-cherkesov.jpg") center 34% / cover no-repeat;
  content: "";
  filter: blur(7px) saturate(0.78) contrast(1.02);
  opacity: 0.56;
  pointer-events: none;
  transform: scale(1.035);
}

.lp-hero--about .lp-hero-inner {
  min-height: calc(620px - clamp(36px, 5vw, 72px) * 2);
  grid-template-columns: minmax(0, 1fr);
}

.lp-hero--about h1 {
  max-width: 980px;
  font-size: clamp(54px, 6.6vw, 96px);
  line-height: 0.94;
}

.lp-hero--about .lp-hero-copy {
  max-width: 760px;
}

.lp-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: calc(560px - clamp(36px, 5vw, 72px) * 2);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(32px, 4.5vw, 60px);
  align-items: end;
}

.lp-kicker {
  margin: 0 0 26px;
  color: var(--lh-accent-soft);
  font-size: 15px;
  font-weight: 950;
}

.lp-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--lh-paper);
  font-size: clamp(48px, 5.8vw, 82px);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
}

.lp-quote-credit {
  margin: 18px 0 0;
  color: var(--lh-accent-soft);
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.lp-quote-credit::before {
  color: var(--lh-accent);
  content: "/ ";
}

.lp-hero-copy {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  color: rgba(247, 244, 236, 0.76);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.35;
}

.lp-hero-copy p {
  max-width: 680px;
  margin: 0;
}

.lp-side-card,
.lp-search-card {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(247, 244, 236, 0.16);
  border-radius: 16px;
  padding: 22px;
  background: rgba(247, 244, 236, 0.08);
  backdrop-filter: blur(10px);
}

.lp-search-card label,
.lp-filter-group strong {
  color: var(--lh-paper);
  font-size: 13px;
  font-weight: 950;
}

.lp-search-box {
  min-height: 48px;
  border: 1px solid rgba(247, 244, 236, 0.16);
  border-radius: 999px;
  padding: 13px 16px;
  color: rgba(247, 244, 236, 0.7);
  font-size: 14px;
}

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

.lp-chip {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(247, 244, 236, 0.18);
  border-radius: 999px;
  padding: 6px 11px;
  color: rgba(247, 244, 236, 0.82);
  font-size: 12px;
  font-weight: 850;
}

.lp-section {
  scroll-margin-top: 128px;
  padding: clamp(72px, 8vw, 118px) 0;
}

.lp-section.is-dark {
  background: var(--lh-black);
  color: var(--lh-paper);
}

.lp-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
  gap: clamp(28px, 4vw, 48px);
  align-items: end;
  margin-bottom: 42px;
}

.lp-section-head > * {
  min-width: 0;
}

.lp-section-head h2 {
  margin: 0;
  color: var(--lh-ink);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 950;
  line-height: 0.96;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.is-dark .lp-section-head h2 {
  color: var(--lh-paper);
}

.lp-section-head p {
  margin: 0;
  color: var(--lh-ink-soft);
  font-size: 17px;
  line-height: 1.45;
}

.is-dark .lp-section-head p {
  color: rgba(247, 244, 236, 0.66);
}

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

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

.lp-card {
  display: grid;
  gap: 18px;
  min-height: 220px;
  border-radius: 16px;
  padding: 24px;
  background: var(--lh-card);
}

.is-dark .lp-card {
  border: 1px solid var(--lh-line-dark);
  background: rgba(247, 244, 236, 0.04);
}

.lp-card small {
  color: var(--lh-accent);
  font-size: 13px;
  font-weight: 950;
}

.lp-card h3 {
  margin: 0;
  color: var(--lh-ink);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.is-dark .lp-card h3 {
  color: var(--lh-paper);
}

.lp-card p {
  margin: 0;
  color: var(--lh-ink-soft);
  font-size: 16px;
  line-height: 1.45;
}

.is-dark .lp-card p {
  color: rgba(247, 244, 236, 0.66);
}

.lp-card .lh-text-link {
  align-self: end;
}

.lp-list {
  display: grid;
  border-top: 1px solid var(--lh-line);
}

.is-dark .lp-list {
  border-top-color: var(--lh-line-dark);
}

.lp-list-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  border-bottom: 1px solid var(--lh-line);
  padding: 42px 0;
}

.lp-list-item > * {
  min-width: 0;
}

.is-dark .lp-list-item {
  border-bottom-color: var(--lh-line-dark);
}

.lp-list-item small {
  color: var(--lh-accent);
  font-size: 15px;
  font-style: italic;
  font-weight: 850;
}

.lp-list-item h3 {
  max-width: 100%;
  margin: 0;
  color: var(--lh-ink);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 650;
  line-height: 1.02;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}

.is-dark .lp-list-item h3 {
  color: var(--lh-paper);
}

.lp-list-item p {
  margin: 0 0 14px;
  color: var(--lh-ink-soft);
  font-size: 15px;
  line-height: 1.45;
}

.is-dark .lp-list-item p {
  color: rgba(247, 244, 236, 0.64);
}

.lp-topics {
  margin-top: 12px;
  color: var(--lh-muted);
  font-size: 13px;
  line-height: 1.45;
}

.lp-filter-panel {
  display: grid;
  gap: 18px;
  border-radius: 18px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--lh-card);
}

.lp-filter-group {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--lh-line);
  padding-top: 16px;
}

.lp-filter-group:first-child {
  border-top: 0;
  padding-top: 0;
}

.lp-filter-group strong {
  color: var(--lh-ink);
}

.lp-filter-group p {
  margin: 0;
  color: var(--lh-ink-soft);
}

.lp-editorial {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(360px, 1.22fr);
  gap: clamp(56px, 8vw, 112px);
  align-items: start;
}

.lp-editorial > * {
  min-width: 0;
}

.lp-editorial h2 {
  margin: 0;
  color: var(--lh-ink);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 950;
  line-height: 1.06;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.is-dark .lp-editorial h2 {
  color: var(--lh-paper);
}

.lp-editorial-copy {
  display: grid;
  gap: 18px;
}

.lp-editorial-copy p {
  margin: 0;
  color: var(--lh-ink-soft);
  font-size: 18px;
  line-height: 1.52;
}

.lp-dash-list {
  display: grid;
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.lp-dash-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  color: var(--lh-ink-soft);
  font-size: 17px;
}

.lp-dash-list li::before {
  color: var(--lh-accent);
  content: "—";
  font-weight: 950;
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lp-step {
  border-radius: 16px;
  padding: 24px;
  background: var(--lh-card);
}

.lp-step small {
  color: var(--lh-accent);
  font-weight: 950;
}

.lp-step h3 {
  margin: 18px 0 12px;
  color: var(--lh-ink);
  font-size: 24px;
}

.lp-section:not(.is-dark) .markdown,
.lp-section:not(.is-dark) .markdown h2,
.lp-section:not(.is-dark) .markdown h3,
.lp-section:not(.is-dark) .markdown p,
.lp-section:not(.is-dark) .markdown li {
  color: var(--lh-ink-soft);
}

.lp-section:not(.is-dark) .markdown h2,
.lp-section:not(.is-dark) .markdown h3 {
  color: var(--lh-ink);
}

.lp-section:not(.is-dark) .lh-text-link {
  color: var(--lh-ink);
}

.lp-step p {
  margin: 0;
  color: var(--lh-ink-soft);
}

.lp-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(42px, 7vw, 92px);
  align-items: end;
  border-top: 1px solid var(--lh-line);
  border-bottom: 1px solid var(--lh-line);
  padding: clamp(44px, 6vw, 78px) 0;
}

.lp-contact h2 {
  max-width: 820px;
  margin: 0;
  color: var(--lh-ink);
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 950;
  line-height: 1;
}

.lp-contact p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--lh-ink-soft);
  font-size: 18px;
  line-height: 1.5;
}

.lp-contact-card {
  display: grid;
  gap: 16px;
  border-radius: 18px;
  padding: 24px;
  background: var(--lh-black);
  color: var(--lh-paper);
}

.lp-contact-card small {
  color: var(--lh-accent-soft);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.lp-contact-card h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.lp-contact-card p {
  margin: 0;
  color: rgba(247, 244, 236, 0.68);
  font-size: 15px;
}

.lp-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-radius: 18px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--lh-black);
  color: var(--lh-paper);
}

.lp-cta h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
}

.lp-cta p {
  margin: 12px 0 0;
  color: rgba(247, 244, 236, 0.68);
}

.lp-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--lh-shell), calc(100% - 56px));
  margin: 0 auto;
  border-top: 1px solid var(--lh-line);
  padding: 26px 0;
  color: var(--lh-muted);
  font-size: 13px;
  font-weight: 800;
}

.lp-main {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.lp-page .lp-main > .lp-hero.lp-shell {
  margin-top: clamp(8px, 1.5vw, 24px);
}

.lp-hero.has-cover {
  --lp-hero-surface: rgba(7, 7, 7, 0.82);
  background-image:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.08), transparent 19rem),
    radial-gradient(circle at 20% 76%, rgba(227, 75, 54, 0.16), transparent 18rem),
    linear-gradient(var(--lp-hero-surface), var(--lp-hero-surface)),
    var(--lp-hero-cover, linear-gradient(var(--lh-black), var(--lh-black)));
  background-position: center;
  background-size: auto, auto, auto, cover;
}

.lp-hero.has-cover-overlay::after {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 7, 0.28);
  content: "";
  pointer-events: none;
}

.lp-hero-inner--material {
  grid-template-columns: 1fr;
  min-height: auto;
  align-items: start;
}

.lp-hero-main {
  min-width: 0;
}

.lp-hero-lead {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin-top: 34px;
  color: rgba(247, 244, 236, 0.76);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.45;
}

.lp-hero-lead p {
  margin: 0;
}

.lp-hero-verdict {
  color: rgba(247, 244, 236, 0.9);
  font-style: italic;
}

.lp-hero-lead .lh-button {
  justify-self: start;
  margin-top: 8px;
}

.lp-passport-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 820px;
}

.lp-passport-item {
  border-radius: 14px;
  padding: 16px;
  background: var(--lh-card);
}

.lp-passport-item dt {
  margin: 0 0 7px;
  color: var(--lh-muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.lp-passport-item dd {
  margin: 0;
  color: var(--lh-ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.lp-section--passport .lp-section-head {
  margin-bottom: 28px;
}

@media (max-width: 1180px) {
  .lp-section-head,
  .lp-list-item,
  .lp-editorial,
  .lp-contact,
  .lp-cta {
    grid-template-columns: 1fr;
  }

  .lp-list-item {
    gap: 20px;
    align-items: start;
  }

  .lp-card-grid.is-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .lp-top .lh-header {
    grid-template-columns: 1fr;
    width: min(100% - 32px, var(--lh-shell));
    padding: 18px 22px 0;
  }

  .lp-top .lh-brand {
    justify-self: start;
    text-align: left;
  }

  .lp-top .lh-nav.is-left {
    display: none;
  }

  .lp-top .lh-nav.is-right {
    grid-column: 1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .lp-header-spacer {
    height: 148px;
  }

  .lp-hero-inner {
    grid-template-columns: 1fr;
  }

  .lp-hero--about::after {
    inset: auto -64px -38px 20%;
    width: min(86vw, 620px);
    height: min(70vw, 520px);
    opacity: 0.34;
  }

  .lp-card-grid,
  .lp-card-grid.is-three,
  .lp-steps,
  .lp-passport-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .lp-header-spacer {
    height: 132px;
  }

  .lp-shell,
  .lp-footer {
    width: min(100% - 32px, var(--lh-shell));
  }

  .lp-hero {
    width: 100%;
    border-radius: 0 0 20px 20px;
    padding: 28px 18px 34px;
  }

  .lp-hero h1 {
    font-size: clamp(48px, 16vw, 76px);
  }

  .lp-hero--about {
    min-height: 620px;
  }

  .lp-hero--about h1 {
    font-size: clamp(48px, 14vw, 68px);
    line-height: 0.96;
  }

  .lp-hero--about::after {
    inset: auto -54px -32px 12%;
    width: min(98vw, 460px);
    height: 380px;
    filter: blur(9px) saturate(0.72) contrast(1.02);
    opacity: 0.24;
  }

  .lp-section {
    padding: 64px 0;
  }

  .lp-cta {
    align-items: start;
  }

  .lp-footer {
    flex-direction: column;
  }
}

/* AI Navigator tool */
.ai-nav-page section[id] {
  scroll-margin-top: 132px;
}

.ai-hero-actions,
.ai-anchor-nav,
.ai-form-grid,
.ai-step-grid,
.ai-material-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ai-hero-actions {
  margin-top: 30px;
}

.ai-anchor-section {
  padding-top: clamp(42px, 5vw, 72px);
  padding-bottom: clamp(42px, 5vw, 72px);
}

.ai-section-title {
  max-width: 920px;
  margin: 0 0 26px;
  color: var(--lh-ink);
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 950;
  line-height: 0.98;
}

.ai-anchor-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--lh-line);
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--lh-card);
  color: var(--lh-ink);
  font-size: 13px;
  font-weight: 900;
}

.ai-anchor-nav a:hover,
.ai-anchor-nav a:focus-visible {
  border-color: var(--lh-accent);
  color: var(--lh-accent);
}

.ai-four-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ai-privacy-notice {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
  border: 1px solid color-mix(in srgb, var(--lh-accent) 42%, var(--lh-line));
  border-radius: 18px;
  padding: 20px 22px;
  background: color-mix(in srgb, var(--lh-accent) 9%, var(--lh-card));
}

.is-dark .ai-privacy-notice {
  border-color: rgba(227, 75, 54, 0.42);
  background: rgba(227, 75, 54, 0.09);
}

.ai-privacy-notice strong {
  color: var(--lh-accent);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.ai-privacy-notice p {
  margin: 0;
  color: var(--lh-ink-soft);
  font-size: 17px;
  line-height: 1.45;
}

.is-dark .ai-privacy-notice p {
  color: rgba(247, 244, 236, 0.72);
}

.ai-step-grid,
.ai-material-grid,
.ai-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-step-card,
.ai-form-card,
.ai-material-card,
.ai-faq-item {
  min-width: 0;
  border-radius: 16px;
  padding: 22px;
  background: var(--lh-card);
  color: var(--lh-ink);
}

.is-dark .ai-step-card,
.is-dark .ai-form-card,
.is-dark .ai-material-card,
.is-dark .ai-faq-item {
  border: 1px solid var(--lh-line-dark);
  background: rgba(247, 244, 236, 0.045);
  color: var(--lh-paper);
}

.ai-step-card small {
  color: var(--lh-accent);
  font-size: 13px;
  font-weight: 950;
}

.ai-step-card h3,
.ai-form-card h3,
.ai-material-card h3,
.ai-school-card h3,
.ai-faq-item h3,
.ai-material-group h3,
.ai-form-group h3 {
  margin: 0;
  line-height: 1.05;
}

.ai-step-card h3,
.ai-form-card h3,
.ai-material-card h3,
.ai-faq-item h3 {
  font-size: clamp(22px, 2.2vw, 30px);
}

.ai-step-card p,
.ai-form-card p,
.ai-material-card p,
.ai-faq-item p {
  margin: 12px 0 0;
  color: var(--lh-ink-soft);
  line-height: 1.48;
}

.is-dark .ai-step-card p,
.is-dark .ai-form-card p,
.is-dark .ai-material-card p,
.is-dark .ai-faq-item p {
  color: rgba(247, 244, 236, 0.68);
}

.ai-form-wrap,
.ai-material-group + .ai-material-group {
  margin-top: clamp(34px, 5vw, 64px);
}

.ai-form-group {
  display: grid;
  gap: 16px;
}

.ai-form-group > h3,
.ai-material-group > h3 {
  color: inherit;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
}

.ai-form-group > p {
  max-width: 760px;
  margin: 0;
  color: var(--lh-ink-soft);
}

.is-dark .ai-form-group > p {
  color: rgba(247, 244, 236, 0.68);
}

.ai-form-card {
  display: grid;
  gap: 16px;
  align-content: space-between;
}

.ai-disabled-button,
.ai-disabled-button:hover {
  border-color: var(--lh-line);
  background: transparent;
  color: var(--lh-muted);
  cursor: not-allowed;
  opacity: 0.76;
}

.ai-form-unavailable {
  color: var(--lh-muted);
  font-size: 13px;
  font-weight: 850;
}

.ai-material-card {
  display: grid;
  gap: 12px;
}

.ai-material-card strong {
  color: var(--lh-accent);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.ai-material-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--lh-ink-soft);
}

.is-dark .ai-material-card ul {
  color: rgba(247, 244, 236, 0.68);
}

.ai-task-box {
  border-radius: 12px;
  padding: 14px;
  background: color-mix(in srgb, var(--lh-accent) 8%, var(--lh-paper));
}

.is-dark .ai-task-box {
  background: rgba(227, 75, 54, 0.1);
}

.ai-task-box span {
  color: var(--lh-accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.ai-task-box p {
  margin-top: 6px;
}

.ai-faq-list {
  display: grid;
  gap: 12px;
}

.ai-faq-item {
  border: 1px solid var(--lh-line-dark);
}

@media (max-width: 1180px) {
  .ai-four-grid,
  .ai-step-grid,
  .ai-material-grid,
  .ai-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .ai-nav-page section[id] {
    scroll-margin-top: 148px;
  }

  .ai-anchor-nav a,
  .ai-hero-actions .lh-button {
    width: 100%;
  }

  .ai-step-card,
  .ai-form-card,
  .ai-material-card,
  .ai-faq-item {
    padding: 18px;
  }
}

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

.ai-resource-panel.is-compact,
.ai-resource-panel.is-dark-panel {
  grid-template-columns: 1fr;
  margin-top: 28px;
}

.ai-resource-panel article {
  min-width: 0;
  border-radius: 16px;
  padding: 22px;
  background: var(--lh-card);
  color: var(--lh-ink);
}

.is-dark .ai-resource-panel article,
.ai-resource-panel.is-dark-panel article {
  border: 1px solid var(--lh-line-dark);
  background: rgba(247, 244, 236, 0.045);
  color: var(--lh-paper);
}

.ai-resource-panel h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.05;
}

.ai-resource-panel p,
.ai-resource-panel li {
  color: var(--lh-ink-soft);
  line-height: 1.48;
}

.is-dark .ai-resource-panel p,
.is-dark .ai-resource-panel li,
.ai-resource-panel.is-dark-panel p,
.ai-resource-panel.is-dark-panel li {
  color: rgba(247, 244, 236, 0.7);
}

.ai-resource-panel ol,
.ai-resource-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.ai-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-mini-tags span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--lh-line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--lh-ink);
  font-size: 13px;
  font-weight: 850;
}

@media (max-width: 980px) {
  .ai-resource-panel {
    grid-template-columns: 1fr;
  }
}
