@font-face {
  font-family: 'Source Sans 3';
  src: url('assets/source-sans-3.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #101113;
  --surface: #17191c;
  --raised: #202226;
  --text: #f2f3f5;
  --muted: #b5b8bf;
  --line: #34373d;
  --accent: #c6383c;
  --accent-hover: #b12b30;
  --focus: #f89598;
  --radius: 8px;
  --font: 'Source Sans 3', sans-serif;
  --container-width: 1160px;
  --transition: 160ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--font); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; text-wrap: balance; }
h1 { font-size: 32px; letter-spacing: -.02em; }
h2 { font-size: 26px; letter-spacing: -.012em; }
h3 { font-size: 20px; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 3px; }
::selection { color: #fff; background: #923036; }
.container { width: min(var(--container-width), calc(100% - 40px)); margin-inline: auto; }
.section-space { padding-block: 44px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; color: var(--background); background: #fff; }
.skip-link:focus { top: 12px; }
.eyebrow { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Navigation and the existing Dante CLI promotion. */
.site-header { border-bottom: 1px solid #292c31; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; min-height: 80px; padding-block: 12px; }
.brand { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: max-content; gap: 1px; }
.brand img { width: 130px; height: 40px; object-fit: contain; }
.brand > span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid #61656d; border-radius: 6px; color: var(--text); background: transparent; font-size: 16px; }
.js .nav-toggle { display: flex; }
.site-nav { flex-basis: 100%; }
.nav-sections, .nav-account { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.site-nav a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.site-nav a:not(.button):hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-account { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); justify-content: space-between; }
.js .site-nav { display: none; position: absolute; inset-inline: 0; top: 100%; z-index: 40; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 8px 8px; }
.js .site-nav.is-open { display: block; }
.header-inner:has(#navToggle[aria-expanded='true']) .site-nav { display: block; }

/* Shared actions use restrained contrast and comfortable touch targets. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 6px; font-size: 16px; line-height: 1.25; font-weight: 600; text-align: center; transition: background-color var(--transition), border-color var(--transition); }
.button--primary { color: #fff; background: var(--accent); }
.button--primary:hover { background: var(--accent-hover); }
.button--secondary { border-color: #62666e; background: transparent; }
.button--secondary:hover { background: #282b30; border-color: #969ba5; }
.button--small { min-height: 44px; padding: 10px 14px; font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link > span[aria-hidden] { font-size: 18px; }

/* Original artwork introduces the Academy; the real presentation stays opt-in. */
.hero {
  display: grid;
  gap: 32px;
  padding-block: 32px;
}
.hero-copy, .hero-media { min-width: 0; }
.hero h1 { max-width: 620px; margin-top: 12px; }
.hero-description { max-width: 580px; margin-top: 18px; font-size: 18px; line-height: 1.6; color: #c7cbd2; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-note { max-width: 520px; color: var(--muted); font-size: 16px; line-height: 1.55; margin-top: 14px; }
.hero-media {
  display: grid;
  gap: 16px;
  width: 100%;
}
.hero-art {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #19191b;
  overflow: hidden;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 7px;
}
.hero-video {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-width: 0;
  width: 100%;
  padding-top: 2px;
}
.video-link {
  display: block;
  position: relative;
  margin-top: 3px;
  background: #0b0c0e;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.video-link > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 5px;
}
.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: rgb(12 13 15 / .9);
  border: 1px solid #d0d3d8;
  border-radius: 50%;
  color: #fff;
}
.play-button svg { margin-left: 1px; }
.video-link:hover .play-button { background: #30333a; }
.hero-video figcaption { min-width: 0; }
.hero-video figcaption strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; }
.hero-video figcaption > span { display: block; margin-top: 3px; color: var(--muted); font-size: 16px; line-height: 1.4; }
.hero-video figcaption > a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 16px; font-weight: 600; text-decoration: underline; text-decoration-color: #777b83; text-underline-offset: 4px; }
.hero-video figcaption > a:hover { text-decoration-color: var(--text); }

/* A compact, fully rendered catalog with progressive filters. */
.section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.section-heading p { margin-top: 8px; color: var(--muted); font-size: 18px; }
.section-heading > .text-link { flex-shrink: 0; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-block: 24px; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-filters button { min-height: 44px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 6px; color: #cbd0d7; background: transparent; font-size: 16px; line-height: 1.2; }
.catalog-filters button:hover { border-color: #7e838d; background: var(--surface); }
.catalog-filters button[aria-pressed='true'] { color: #fff; background: #33363d; border-color: #777c86; font-weight: 600; }
#catalog-status { color: var(--muted); font-size: 14px; }
.product-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: stretch; }
.product-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.product-image { display: block; background: #0d0e10; border-radius: 7px 7px 0 0; }
.product-image img { width: 100%; aspect-ratio: 16/9; object-fit: contain; border-radius: 7px 7px 0 0; }
.product-content { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.product-category { font-size: 14px; line-height: 1.5; color: var(--muted); }
.product-card h3 { margin-top: 8px; font-size: 20px; line-height: 1.3; }
.product-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-description { margin-top: 10px; margin-bottom: 20px; font-size: 18px; line-height: 1.55; color: #c6cad1; }
.product-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.price { font-size: 20px; line-height: 1.3; font-weight: 600; white-space: nowrap; }
.product-footer a { min-height: 44px; display: flex; align-items: center; font-size: 16px; font-weight: 600; }
.product-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.catalog-note { margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* Community is a readable feed; paid guidance remains clearly separate. */
.community-support { display: grid; gap: 36px; border-top: 1px solid var(--line); }
.community-feed { margin-top: 20px; border-top: 1px solid var(--line); }
.community-item { display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 16px; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--line); }
.community-image { display: block; align-self: center; border: 1px solid var(--line); border-radius: 5px; background: #0c0d0f; }
.community-image img { width: 100%; aspect-ratio: 16/9; object-fit: contain; border-radius: 4px; }
.community-category { font-size: 14px; line-height: 1.4; color: var(--muted); }
.community-item h3 { margin-top: 4px; font-size: 20px; line-height: 1.3; }
.community-item h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.community-author { margin-top: 5px; font-size: 16px; line-height: 1.4; color: var(--muted); }
.community-open { display: none; }
.community-links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 24px; margin-top: 16px; }
.community-links .text-link { font-size: 16px; }
.mentorship { align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.mentorship h2 { margin-top: 10px; font-size: 26px; }
.mentorship > p:not(.eyebrow):not(.mentorship-note) { margin-top: 16px; color: #c7cbd2; font-size: 18px; line-height: 1.6; }
.mentorship ul { margin: 20px 0 24px; padding-left: 20px; color: #d3d6dc; font-size: 16px; line-height: 1.6; }
.mentorship li + li { margin-top: 8px; }
.mentorship > .button { width: 100%; }
.mentorship > .text-link { width: 100%; justify-content: center; margin-top: 6px; }
.mentorship-note { margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.testimonial { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.testimonial h2 { font-size: 23px; }
.testimonial p { margin-top: 8px; font-size: 18px; color: var(--muted); }
.testimonial > .button { flex-shrink: 0; }

/* Native disclosure elements preserve keyboard and no-JS behavior. */
.faq { display: grid; gap: 24px; }
.faq > div:first-child > p { color: var(--muted); margin-top: 8px; font-size: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding-block: 18px; font-size: 18px; line-height: 1.4; font-weight: 600; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { font-size: 24px; line-height: 1; font-weight: 400; flex-shrink: 0; color: var(--muted); }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list summary:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.faq-list details > p { max-width: 700px; padding: 0 24px 20px 0; color: #c4c9d1; font-size: 18px; line-height: 1.65; }
.faq-list p a { text-decoration: underline; text-underline-offset: 4px; }
.final-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 28px; border: 1px solid #484c55; border-radius: var(--radius); background: var(--surface); margin-bottom: 48px; }
.final-cta h2 { font-size: 26px; }
.final-cta p { margin-top: 8px; color: var(--muted); font-size: 18px; }
.final-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.final-actions .text-link { font-size: 16px; }
.site-footer { border-top: 1px solid var(--line); padding-top: 32px; }
.footer-main { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.footer-main > p { font-size: 16px; color: var(--muted); }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 4px 24px; width: 100%; }
.footer-main nav a { display: flex; align-items: center; min-height: 44px; font-size: 16px; }
.footer-legal { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-legal nav a { display: flex; align-items: center; min-height: 44px; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.prototype-note { padding-block: 16px 24px; border-top: 1px solid #292c31; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Discovery makes the different products understandable before filtering. */
.hero-quicklinks { display: flex; align-items: center; flex-wrap: wrap; gap: 0 20px; margin-top: 14px; }
.hero-quicklinks a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.hero-quicklinks a:hover { color: #fff; }
.cli-feature { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; border: 1px solid #515661; border-left: 3px solid var(--accent); border-radius: var(--radius); background: var(--surface); }
.cli-feature h2 { font-size: 22px; }
.cli-feature p { font-size: 18px; line-height: 1.5; color: #d0d4db; margin-top: 6px; }
.cli-feature__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cli-feature__actions .button { font-size: 16px; }
.explore.section-space { padding-bottom: 24px; }
.category-guide { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.category-guide > a { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px 20px; align-content: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.category-guide h3 { font-size: 20px; grid-row: span 2; }
.category-guide p { color: #c8ccd3; font-size: 16px; line-height: 1.55; }
.category-guide > a > span { display: inline-flex; align-items: center; gap: 12px; min-height: 36px; font-size: 16px; font-weight: 600; }
.category-guide > a:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.download-shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; }
.download-shortcuts > span { color: var(--muted); }
.download-shortcuts a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.catalog.section-space { padding-top: 24px; }
.small-label { color: var(--muted); font-size: 14px; line-height: 1.5; }
.next-session { margin-block: 24px; padding: 18px; background: #21242a; border: 1px solid #4b505b; border-radius: 6px; }
.next-session h3 { margin-top: 8px; font-size: 20px; line-height: 1.35; }
.next-session > p:not(.small-label) { margin-top: 10px; color: #d1d5dd; font-size: 16px; line-height: 1.5; }
.next-session .text-link { font-size: 16px; margin-top: 6px; }
.mentorship-plans { margin-bottom: 24px; }
.mentorship-plans h3 { font-size: 20px; }
.mentorship-plans dl { margin: 16px 0 0; }
.mentorship-plans dl > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.mentorship-plans dt { font-size: 18px; line-height: 1.4; }
.mentorship-plans dt > span { display: block; margin-top: 2px; color: var(--muted); font-size: 16px; }
.mentorship-plans dd { margin: 0; font-size: 18px; font-weight: 600; white-space: nowrap; }
.updates { border-top: 1px solid var(--line); }
.updates-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
.updates-grid article { padding-top: 20px; border-top: 1px solid var(--line); }
.updates-grid h3 { font-size: 20px; }
.updates-grid p { font-size: 18px; line-height: 1.6; color: #c5cad3; margin-top: 10px; }
.updates-grid .text-link { font-size: 16px; margin-top: 8px; }
.news.section-space { padding-top: 0; }
.news-grid { display: grid; gap: 24px; margin-top: 28px; }
.news-card { display: flex; flex-direction: column; min-width: 0; }
.news-card img { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #0a0b0d; border: 1px solid var(--line); border-radius: 6px; }
.news-card time { display: block; font-size: 14px; color: var(--muted); margin-top: 16px; }
.news-card h3 { font-size: 20px; line-height: 1.4; margin-top: 8px; }
.news-card a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.news-card p { font-size: 18px; line-height: 1.6; color: #c5cad3; margin-block: 12px; }
.news-card > .text-link { margin-top: auto; align-self: flex-start; font-size: 16px; }
.track-controls { display: none; gap: 8px; }
.js .track-controls { display: flex; }
.track-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #666d79; border-radius: 6px; color: var(--text); background: transparent; font-size: 20px; }
.track-controls button:hover { background: var(--raised); border-color: #a7adba; }
.testimonials-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-color: #5f6570 #23262b; padding: 6px 4px 20px; margin-top: 22px; }
.testimonial-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; scroll-snap-align: start; }
.testimonial-person { display: flex; align-items: center; gap: 16px; }
.testimonial-person img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; }
.testimonial-person h3 { font-size: 20px; line-height: 1.3; }
.testimonial-person p { color: var(--muted); font-size: 16px; margin-top: 4px; line-height: 1.4; }
.testimonial-card blockquote { font-size: 18px; line-height: 1.65; color: #d2d6dd; margin: 24px 0 20px; }
.testimonial-card > .text-link { font-size: 16px; margin-top: auto; align-self: flex-start; }
.partners.section-space { padding-top: 0; }
.partners-track { display: grid; grid-auto-flow: column; grid-auto-columns: 164px; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-color: #5f6570 #23262b; padding: 6px 4px 20px; margin-top: 22px; }
.partner-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 12px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 6px; min-height: 152px; scroll-snap-align: start; }
.partner-card img { width: 136px; height: 72px; object-fit: contain; }
.partner-card > span { font-size: 16px; line-height: 1.4; text-align: center; }
.partner-card:hover { border-color: #999fac; background: #20242a; }
.partner-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 12px; }
.partner-footer p { color: var(--muted); font-size: 16px; }
.partner-footer .text-link { font-size: 16px; }
.testimonials-track:focus-visible, .partners-track:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
#privacy-open { display: inline-flex; align-items: center; min-height: 44px; padding: 0; font-size: 16px; color: inherit; background: transparent; border: 0; text-align: left; }
#privacy-open:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 600px) {
  .cli-feature { padding: 28px; }
  .category-guide { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .category-guide > a { display: flex; flex-direction: column; gap: 12px; }
  .category-guide > a > span { margin-top: auto; }
  .updates-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
  .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
  .testimonials-track { grid-auto-columns: calc((100% - 20px)/2); }
  .partners-track { grid-auto-columns: calc((100% - 32px)/3); }

  .container { width: min(var(--container-width), calc(100% - 64px)); }
  .hero { padding-block: 40px; }
  .hero h1 { font-size: 40px; }
  .hero-media { max-width: 680px; }
  .hero-video { grid-template-columns: 116px minmax(0, 1fr); gap: 18px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .community-item { grid-template-columns: 120px minmax(0,1fr) 44px; gap: 20px; }
  .community-open { display: grid; place-items: center; min-width: 44px; min-height: 44px; color: var(--muted); font-size: 20px; }
  .community-open:hover { color: var(--text); }
  .mentorship { padding: 28px; }
  .testimonial { padding: 28px; }
  .final-cta { padding: 32px; }
  .final-actions { flex-direction: row; align-items: center; gap: 24px; }
  .footer-legal { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 1000px) {
  .cli-feature { flex-direction: row; justify-content: space-between; align-items: center; gap: 32px; }
  .cli-feature__actions { flex-shrink: 0; }
  .category-guide { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 24px; }
  .category-guide > a { border-bottom: 0; padding-block: 20px 12px; }
  .category-guide h3 { min-height: 48px; }
  .updates-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .news-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .testimonials-track { grid-auto-columns: calc((100% - 40px)/3); }
  .partners-track { grid-auto-columns: calc((100% - 80px)/6); }

  .container { width: min(var(--container-width), calc(100% - 80px)); }
  h2 { font-size: 30px; }
  .section-space { padding-block: 52px; }
  .header-inner { flex-wrap: nowrap; gap: 32px; min-height: 82px; padding-block: 12px; }
  .brand img { width: 142px; height: 42px; }
  .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav, .js .site-nav.is-open, .header-inner:has(#navToggle[aria-expanded='true']) .site-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 20px; position: static; padding: 0; background: transparent; border: 0; }
  .nav-sections { gap: 20px; }
  .nav-account { flex-shrink: 0; gap: 16px; padding: 0; margin: 0; border: 0; }
  .site-nav a:not(.button) { font-size: 16px; }
  .site-nav .button { font-size: 14px; padding-inline: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 40px; }
  .hero h1 { font-size: 42px; }
  .hero-media { justify-self: end; max-width: none; }
  .section-heading { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; }
  .catalog-toolbar { margin-top: 24px; margin-bottom: 24px; }
  .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
  .product-content { padding: 16px; }
  .product-category { font-size: 14px; }
  .product-card h3 { font-size: 20px; }
  .product-description { font-size: 18px; }
  .product-footer { align-items: flex-start; flex-direction: column; gap: 4px; }
  .product-footer a { font-size: 16px; }
  .community-support { grid-template-columns: 1.35fr 1fr; gap: 40px; }
  .community h2 { font-size: 28px; }
  .community-item { grid-template-columns: 100px minmax(0,1fr) 32px; gap: 16px; padding-block: 18px; }
  .community-open { min-width: 32px; }
  .mentorship h2 { font-size: 28px; }
  .mentorship { padding: 28px; }
  .testimonial { flex-direction: row; justify-content: space-between; align-items: center; gap: 32px; }
  .testimonial h2 { font-size: 24px; }
  .faq { grid-template-columns: .75fr 1.25fr; gap: 48px; }
  .final-cta { flex-direction: row; justify-content: space-between; align-items: center; gap: 40px; }
  .final-cta h2 { font-size: 28px; }
  .final-actions { flex-direction: column; align-items: center; flex-shrink: 0; gap: 2px; }
  .footer-main { gap: 32px; }
  .footer-main nav { width: auto; margin-left: auto; }
}

@media (min-width: 1200px) {
  .header-inner { gap: 40px; }
  .nav-sections { gap: 28px; }
  .site-nav a:not(.button), .site-nav .button { font-size: 16px; }
  .site-nav .button { padding-inline: 16px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; padding-block: 48px; }
  .hero h1 { font-size: 44px; }
  .hero-art { padding: 0; }
  .product-grid { gap: 24px; }
  .product-content { padding: 18px; }
  .product-category { font-size: 14px; }
  .product-footer { flex-direction: row; align-items: center; gap: 10px; }
  .price { font-size: 20px; }
  .product-footer a { font-size: 14px; }
  .community-support { grid-template-columns: 1.45fr 1fr; gap: 48px; }
  .community-item { grid-template-columns: 120px minmax(0,1fr) 44px; gap: 20px; }
  .community-open { min-width: 44px; }
}

@media (max-width: 359px) {
  .cli-feature { padding: 20px; }
  .cli-feature__actions { flex-direction: column; width: 100%; }
  .category-guide > a { grid-template-columns: 1fr; }
  .category-guide h3 { grid-row: auto; }
  .next-session { padding: 14px; }
  .mentorship-plans dl > div { gap: 10px; }
  .mentorship-plans dt, .mentorship-plans dd { font-size: 18px; }
  .testimonial-card { padding: 20px; }

  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 30px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-video { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .product-content { padding: 18px; }
  .community-item { grid-template-columns: 72px minmax(0,1fr); gap: 12px; }
  .community-category { font-size: 14px; }
  .community-author { font-size: 16px; }
  .mentorship { padding: 20px; }
  .testimonial, .final-cta { padding: 24px; }
  .testimonial .button { width: 100%; }
  .faq-list summary { font-size: 18px; }
  .footer-main nav, .footer-legal nav { gap: 4px 16px; }
}

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