:root {
    --color-ink: #111111;
    --color-text: #1f242a;
    --color-heading: #0f1115;
    --color-muted: #626262;
    --color-muted-strong: #4a5159;
    --color-bg: #f7f6f3;
    --color-surface: #ffffff;
    --color-line: #e4e0d9;
    --color-accent: #ff6a00;
    --color-accent-soft: #ffffff;
    --color-dark: #0b0b0b;
    --color-dark-soft: #171717;
    --shadow-soft: 0 14px 30px rgba(17, 17, 17, 0.07);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 450;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1 0 auto;
    display: block;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: 12px;
    z-index: 20;
    padding: 10px 14px;
    border-radius: 12px;
    background: #ffffff;
    color: var(--color-ink);
    border: 1px solid rgba(17, 17, 17, 0.12);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

a {
    color: inherit;
}

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

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #111111;
    color: #fff;
    padding: 14px 0;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.site-header__inner > * {
    min-width: 0;
}

.logo {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0;
}

.logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    max-width: 34ch;
}

.nav-toggle,
.nav__drawer-header,
.nav-backdrop {
    display: none;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.nav a.is-active {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.nav a:focus-visible {
    color: var(--color-accent);
    border-color: var(--color-accent);
    outline: 2px solid rgba(255, 106, 0, 0.35);
    outline-offset: 3px;
}

.nav-toggle:focus-visible,
.nav__close:focus-visible {
    outline: 2px solid rgba(255, 106, 0, 0.72);
    outline-offset: 3px;
}

.section {
    padding: 48px 0;
}

.hero {
    padding: 46px 0 18px;
}

.hero-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--color-line);
    border-top: 4px solid var(--color-accent);
    border-radius: 18px;
    padding: 38px;
    box-shadow: var(--shadow-soft);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.018) 0%, rgba(17, 17, 17, 0) 34%);
    pointer-events: none;
}

.hero-card--portal {
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}

.hero-card__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
    gap: 28px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.hero-card__content,
.hero-card__panel {
    min-width: 0;
}

.hero-card__panel {
    display: flex;
}

.hero-stat-list {
    display: grid;
    gap: 14px;
    width: 100%;
}

.hero-stat {
    padding: 18px 18px 16px;
    border-radius: 14px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.045);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-stat:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 106, 0, 0.32);
    box-shadow: 0 16px 26px rgba(0, 0, 0, 0.08);
}

.hero-stat:focus-visible {
    outline: 2px solid rgba(255, 106, 0, 0.42);
    outline-offset: 3px;
}

.hero-stat strong {
    display: block;
    font-size: 20px;
    line-height: 1.15;
    margin-bottom: 6px;
}

.hero-stat p {
    color: var(--color-muted);
    font-size: 14px;
}

.hero-stat__label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff6ef;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-accent);
    border: 1px solid rgba(255, 106, 0, 0.25);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 14px;
}

.hero-card h1,
.hero-card .lead {
    max-width: 720px;
}

.hero-card h1 {
    color: var(--color-ink);
}

.hero-card .lead {
    color: #4d4d4d;
}

h1,
h2,
h3 {
    line-height: 1.15;
    overflow-wrap: anywhere;
    color: var(--color-heading);
    font-weight: 800;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(34px, 5vw, 52px);
    margin-bottom: 14px;
    line-height: 1.06;
}

h2 {
    font-size: clamp(28px, 4vw, 38px);
    margin-bottom: 14px;
    line-height: 1.12;
}

h3 {
    font-size: 24px;
    margin-bottom: 10px;
    line-height: 1.2;
}

h4 {
    color: var(--color-heading);
    font-size: 19px;
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.lead {
    font-size: 18px;
    color: var(--color-muted-strong);
    max-width: 760px;
    line-height: 1.65;
}

.section-copy {
    margin-bottom: 18px;
}

.section-copy--split {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: end;
}

.section-copy--split > * {
    min-width: 0;
}

.section-copy--split .lead {
    max-width: 460px;
    font-size: 16px;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid--three {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

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

.grid--promotions {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: stretch;
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: 16px;
    padding: 26px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card p {
    color: var(--color-muted-strong);
}

.card .button {
    margin-top: 18px;
}

.card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.card-link > .card {
    height: 100%;
}

.card-link:hover .card {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 106, 0, 0.4);
}

.card-link:focus-visible {
    outline: none;
}

.card-link:focus-visible .card {
    border-color: rgba(255, 106, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12);
}

.promo-list-stack {
    display: grid;
    gap: 22px;
}

.learning-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.learning-card__cover {
    position: relative;
    min-height: 210px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(135deg, rgba(255, 106, 0, 0.14) 0%, rgba(17, 17, 17, 0.04) 100%),
        linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
    border-bottom: 1px solid var(--color-line);
    background-size: cover;
    background-position: center;
}

.learning-card__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.02) 0%, rgba(17, 17, 17, 0.12) 100%);
    pointer-events: none;
}

.learning-card__cover--image::after {
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.06) 0%, rgba(17, 17, 17, 0.56) 100%);
}

.learning-card__cover--image {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, rgba(17, 17, 17, 0.02) 0%, rgba(17, 17, 17, 0.1) 100%),
        var(--cover-image),
        linear-gradient(135deg, #f4f4f4 0%, #e9e9e9 100%);
    background-repeat: no-repeat;
    background-size: auto, auto, contain, cover;
    background-position: top left, center, center 60%, center;
}

.learning-card__cover-top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.learning-card__type,
.learning-card__open {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-ink);
    backdrop-filter: blur(10px);
}

.learning-card__open {
    background: rgba(17, 17, 17, 0.78);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
}

.learning-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
}

.learning-card__body h3 {
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}

.learning-card__excerpt {
    color: var(--color-muted-strong);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 6.8em;
    font-weight: 500;
    line-height: 1.62;
}

.learning-card__chips {
    margin-top: auto;
    align-items: flex-start;
}

.learning-card__chips .chip {
    max-width: 100%;
}

.meta,
.chips,
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meta {
    color: var(--color-muted-strong);
    font-size: 14px;
    margin-bottom: 12px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f6f6f6;
    color: #222222;
    font-size: 14px;
    border: 1px solid #e5e5e5;
}

.chip--feature {
    background: #ffffff;
    color: var(--color-accent);
    border-color: rgba(255, 106, 0, 0.28);
}

.card .chips {
    margin-top: 16px;
}

.simple-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.simple-card h3,
.simple-card p {
    margin-bottom: 0;
}

.simple-card .button {
    margin-top: auto;
}

.simple-card__summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    min-height: 6.4em;
}

.news-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
}

.news-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 16px 0 0 16px;
    background: linear-gradient(180deg, var(--color-accent) 0%, rgba(255, 106, 0, 0.2) 100%);
}

.news-card > * {
    position: relative;
    z-index: 1;
}

.promo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.promo-card > * {
    min-width: 0;
}

.promo-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #fafafa 0%, #efefef 100%);
    border-bottom: 1px solid var(--color-line);
}

.promo-card__media-frame {
    width: min(100%, 180px);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.06);
}

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

.promo-card__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(255, 106, 0, 0.14), transparent 38%),
        linear-gradient(135deg, #f7f7f7 0%, #ececec 100%);
}

.promo-card__placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 18px;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-ink);
}

.promo-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 18px;
    padding: 24px;
    position: relative;
    z-index: 1;
    background: var(--color-surface);
}

.promo-card__meta {
    margin-bottom: 0;
}

.promo-card__content {
    display: grid;
    gap: 14px;
    align-content: start;
}

.promo-card__bottom {
    display: grid;
    gap: 14px;
    margin-top: auto;
    padding-top: 2px;
}

.promo-card--row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: stretch;
}

.promo-card--row .promo-card__media {
    height: 100%;
    min-height: 100%;
    border-bottom: none;
    border-right: 1px solid var(--color-line);
}

.promo-card__title,
.promo-card__excerpt,
.promo-inline-list .chip,
.promo-status-pill span,
.chips .chip,
.meta span {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.promo-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.45em;
    margin-bottom: 0;
}

.promo-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.8em;
    margin-bottom: 0;
}

.promo-card--preorder {
    border-top: 4px solid var(--color-accent);
}

.promo-card--featured {
    border-color: rgba(255, 106, 0, 0.28);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.08);
}

.promo-card--featured::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.012) 0%, rgba(17, 17, 17, 0) 32%);
    pointer-events: none;
}

.section-link-row {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.section-link-row > * {
    min-width: 0;
}

.section-link-row form {
    margin: 0;
    display: flex;
}

.promo-card__footer {
    margin-top: auto;
    padding-top: 2px;
}

.promo-offer-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fffaf6 0%, #ffffff 100%);
    border: 1px solid rgba(255, 106, 0, 0.14);
}

.promo-offer-box--detail {
    margin-top: 20px;
}

.promo-offer-box--detail-text {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.promo-offer-box--row {
    align-content: stretch;
}

.promo-offer-box__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 100px;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
}

.promo-offer-box__item--accent {
    background: rgba(255, 106, 0, 0.05);
    border-color: rgba(255, 106, 0, 0.22);
}

.promo-offer-box__label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-muted-strong);
    text-align: center;
}

.promo-offer-box__value {
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.05;
    color: var(--color-ink);
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

.promo-offer-box__value--benefit {
    font-size: clamp(18px, 1.8vw, 26px);
    line-height: 1.1;
}

.promo-offer-box__value--text {
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.25;
    font-weight: 700;
    white-space: normal;
    text-wrap: balance;
}

.promo-offer-box__item--text {
    justify-content: flex-start;
}

.promo-offer-box__item--wide {
    align-items: flex-start;
    text-align: left;
}

.promo-offer-box__item--text-detail {
    min-height: 140px;
}

.promo-offer-box__text {
    font-size: clamp(18px, 2vw, 30px);
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-ink);
    white-space: normal;
    text-wrap: balance;
    width: 100%;
}

.promo-inline-list--compact {
    margin-top: 0;
}

.promo-card__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.promo-stat,
.preorder-summary-card {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--color-line);
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.promo-stat strong,
.preorder-summary-card strong {
    display: block;
    font-size: 24px;
    line-height: 1.1;
    color: var(--color-ink);
}

.promo-stat span,
.preorder-summary-card span {
    display: block;
    margin-top: 6px;
    color: var(--color-muted);
    font-size: 13px;
}

.promo-inline-list,
.promo-status-list {
    display: grid;
    gap: 10px;
}

.promo-inline-list {
    margin-top: 16px;
}

.promo-inline-list .chip {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: 18px;
}

.promo-status-list {
    margin-top: 14px;
}

.promo-status-pill {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255, 106, 0, 0.18);
    background: #ffffff;
    color: var(--color-ink);
    overflow: hidden;
}

.promo-status-pill strong {
    display: inline-flex;
    min-width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 106, 0, 0.1);
    color: var(--color-accent);
    font-size: 14px;
}

.promo-status-pill span {
    color: var(--color-muted);
    font-size: 14px;
    min-width: 0;
}

.promotion-detail-cover {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--color-line);
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.promotion-detail-cover img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    display: block;
}

.promo-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
    padding: 14px 16px;
    border: 1px solid var(--color-line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.04);
}

.promo-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid #e1e1e1;
    background: #ffffff;
    color: var(--color-ink);
    text-decoration: none;
    font-weight: 700;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-tab:hover {
    color: var(--color-accent);
    border-color: rgba(255, 106, 0, 0.45);
    background: #ffffff;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.promo-tab.is-active {
    background: #ffffff;
    border-color: rgba(255, 106, 0, 0.42);
    color: var(--color-accent);
    box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 0.08);
}

.promo-tab__count {
    display: inline-flex;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    color: #444444;
    font-size: 13px;
}

.promo-tab.is-active .promo-tab__count {
    background: rgba(255, 106, 0, 0.12);
    color: var(--color-accent);
}

.filters {
    margin: 22px 0 30px;
    align-items: end;
}

.filter-panel {
    margin: 22px 0 30px;
}

.filter-panel__summary {
    display: none;
}

.filter-panel > .filters {
    margin: 0;
}

.filters__actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-field {
    min-width: 190px;
    flex: 1 1 220px;
    display: grid;
    gap: 6px;
}

.filter-field label {
    font-weight: 600;
    font-size: 14px;
}

.filter-field select,
.filter-field input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: #fff;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-field select:focus,
.filter-field input:focus,
.search-bar input:focus {
    outline: none;
    border-color: rgba(255, 106, 0, 0.65);
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12);
}

.filter-field select:focus-visible,
.filter-field input:focus-visible,
.search-bar input:focus-visible {
    outline: 2px solid rgba(255, 106, 0, 0.16);
    outline-offset: 1px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 11px 16px;
    border: none;
    border-radius: 12px;
    background: var(--color-dark);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    max-width: 100%;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    background: var(--color-accent);
    transform: translateY(-1px);
}

.button:focus-visible,
.promo-tab:focus-visible,
.filter-panel__summary:focus-visible,
.quiz-step:focus-visible,
.image-slider__button:focus-visible,
.image-slider__dot:focus-visible {
    outline: 2px solid rgba(255, 106, 0, 0.45);
    outline-offset: 3px;
}

.button--ghost {
    background: #fff;
    color: var(--color-ink);
    border: 1px solid #cfcfcf;
}

.button--ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: #ffffff;
}

.filters .button,
.filters .button--ghost {
    min-height: 46px;
}

.stream-content > * + * {
    margin-top: 18px;
}

.stream-content {
    color: var(--color-text);
}

.stream-content ul,
.stream-content ol {
    margin: 14px 0 14px 24px;
    padding-left: 24px;
    list-style-position: outside;
}

.stream-content .rt-list {
    margin: 14px 0 14px 24px;
    padding-left: 24px;
    list-style-position: outside;
}

.stream-content li {
    margin: 8px 0;
    padding-left: 8px;
}

.stream-content .rt-list-item {
    margin: 8px 0;
    padding-left: 8px;
}

.stream-content ul ul,
.stream-content ul ol,
.stream-content ol ul,
.stream-content ol ol {
    margin-top: 8px;
    margin-bottom: 8px;
}

.stream-content img {
    border-radius: 18px;
}

.stream-content a:not(.button) {
    color: var(--color-accent);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.15em;
}

.rich-copy {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 450;
    letter-spacing: 0;
}

.rich-copy p,
.rich-copy li {
    font-size: inherit;
    line-height: inherit;
}

.rich-copy span,
.rich-copy strong,
.rich-copy em {
    color: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.rich-copy strong {
    color: var(--color-heading);
    font-weight: 800 !important;
}

.rich-copy p + p {
    margin-top: 12px;
}

.rich-copy--summary {
    font-size: 18px;
}

.rich-copy--summary p,
.rich-copy--summary li {
    font-size: inherit;
}

.rich-copy img {
    display: block;
    max-width: min(100%, 620px) !important;
    max-height: 420px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    object-position: center;
    margin: 22px auto !important;
    border-radius: 20px;
    border: 1px solid var(--color-line);
    background: #fafafa;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.content-block + .content-block {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-line);
}

.stream-content .content-block--untitled {
    margin-top: 12px;
    padding-top: 0;
    border-top: 0;
}

.article-section h2 {
    margin-bottom: 16px;
}

.article-image {
    margin: 0;
}

.article-image--single {
    max-width: 680px;
    margin: 0 auto;
}

.article-image img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    object-position: center;
    border-radius: 22px;
    border: 1px solid var(--color-line);
    background: #fafafa;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.image-slider {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

.image-slider__viewport {
    overflow: hidden;
    border-radius: 24px;
    background: #fafafa;
    border: 1px solid var(--color-line);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.image-slider__track {
    display: flex;
    transition: transform 0.35s ease;
    will-change: transform;
}

.image-slider__slide {
    min-width: 100%;
    flex: 0 0 100%;
    margin: 0;
    padding: 24px 24px 18px;
    display: grid;
    justify-items: center;
}

.image-slider__slide img {
    width: auto;
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    border-radius: 18px;
}

.image-slider__slide .meta {
    margin-top: 12px;
    justify-content: center;
}

.image-slider__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.84);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.image-slider__button:hover {
    background: var(--color-accent);
    transform: translateY(-50%) scale(1.04);
}

.image-slider__button--prev {
    left: 16px;
}

.image-slider__button--next {
    right: 16px;
}

.image-slider__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.image-slider__dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: none;
    background: #c8c8c8;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.image-slider__dot.is-active,
.image-slider__dot:hover {
    background: var(--color-accent);
    transform: scale(1.15);
}

.article-stack {
    display: grid;
    gap: 22px;
}

.material-toc {
    display: grid;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.05);
}

.material-toc__title,
.article-note__label,
.instruction-step__eyebrow {
    color: var(--color-muted-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.material-toc__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.material-toc__links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 11px;
    border: 1px solid rgba(255, 106, 0, 0.24);
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.material-toc__links a:hover {
    border-color: rgba(255, 106, 0, 0.48);
    color: var(--color-accent);
}

.related-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.related-card__meta {
    align-items: center;
}

.related-card h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}

.related-card__summary {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 6.4em;
}

.compare-product-grid,
.compare-summary-section .grid {
    align-items: stretch;
}

.compare-product-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.compare-product-card p {
    overflow-wrap: anywhere;
}

.compare-product-card .section-link-row {
    margin-top: auto;
}

.compare-section-subtitle {
    color: var(--color-muted-strong);
    margin-bottom: 18px;
}

.compare-highlight-list,
.compare-feature-stack {
    display: grid;
    gap: 16px;
}

.compare-highlight {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.compare-highlight strong {
    display: block;
    margin-bottom: 8px;
}

.compare-feature-card {
    display: grid;
    gap: 16px;
}

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

.compare-side-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-muted-strong);
    margin-bottom: 8px;
}

.compare-empty {
    color: var(--color-muted);
}

.compare-spec-table thead th {
    width: auto;
}

.compare-spec-table tbody th {
    width: 30%;
}

.comparison-block-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-surface);
}

.comparison-block-table {
    min-width: 720px;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-block-table th,
.comparison-block-table td {
    min-width: 180px;
    text-align: center;
    vertical-align: top;
}

.comparison-block-table thead th {
    background: var(--color-dark);
    color: #fff;
}

.comparison-block-table tbody th {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 220px;
    background: #fbfaf7;
    text-align: left;
    box-shadow: 10px 0 18px -20px rgba(17, 17, 17, 0.7);
}

.comparison-block-table tbody tr:nth-child(even) th,
.comparison-block-table tbody tr:nth-child(even) td {
    background: #fbfaf7;
}

.manual-block-table-wrap {
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-surface);
}

.manual-block-table {
    border: 0;
}

.manual-block-table thead th {
    width: auto;
    background: #f7f7f7;
    color: var(--color-ink);
}

.manual-block-table tbody th {
    width: 42%;
    background: #fff;
    font-weight: 400;
}

.manual-block-table tbody td {
    text-align: right;
}

.manual-block-table tbody tr:nth-child(even) th,
.manual-block-table tbody tr:nth-child(even) td {
    background: #fbfaf7;
}

.article-note {
    padding: 18px 20px;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
    box-shadow: 0 10px 22px rgba(17, 17, 17, 0.045);
}

.article-note:last-child {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-line);
}

.article-note__part {
    display: grid;
    gap: 7px;
    margin-top: 12px;
}

.article-note__text {
    color: var(--color-text);
    font-weight: 650;
}

.article-note__text.rich-copy,
.article-note__text.rich-copy p,
.article-note__text.rich-copy li,
.article-note__text.rich-copy span,
.article-note__text.rich-copy strong,
.article-note__text.rich-copy em {
    color: var(--color-text);
    font-weight: 650 !important;
}

.article-quote {
    margin-top: 14px;
    background: #fffdfb;
    border-radius: 14px;
    border-left: 4px solid var(--color-accent);
    padding: 16px 18px;
    color: var(--color-ink);
    font-style: normal;
    box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 0.12);
}

.article-quote--compact {
    margin-top: 0;
    padding: 12px 14px;
    font-size: 0.95rem;
}

.article-quote--compact.rich-copy,
.article-quote--compact.rich-copy p,
.article-quote--compact.rich-copy li,
.article-quote--compact.rich-copy span,
.article-quote--compact.rich-copy strong,
.article-quote--compact.rich-copy em {
    color: var(--color-heading);
    font-weight: 650 !important;
}

.instruction-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    gap: 18px;
    align-items: start;
}

.instruction-step__content {
    display: grid;
    gap: 10px;
}

.instruction-step__content h3 {
    margin-bottom: 0;
}

.instruction-step__media {
    margin: 0;
}

.instruction-step__media img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
    border: 1px solid var(--color-line);
    background: #fafafa;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.07);
}

.instruction-step__media .meta {
    margin-top: 10px;
}

.video-embed {
    max-width: 860px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid #242424;
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.16);
    background: #000;
}

.video-embed iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.spec-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 16px;
    overflow: hidden;
}

.spec-table th,
.spec-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-line);
    vertical-align: top;
    overflow-wrap: anywhere;
}

.spec-table th {
    width: 36%;
    background: #f7f7f7;
    font-weight: 700;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: none;
}

.learning-card__quiz-note {
    margin-top: 10px;
    color: #2f6a4f;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.learning-card__quiz-note::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #2f6a4f;
    box-shadow: 0 0 0 5px rgba(47, 106, 79, 0.12);
}

.quiz-preview-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quiz-preview-card .section-link-row {
    margin-top: auto;
}

.quiz-progress-card {
    display: grid;
    gap: 10px;
    align-content: start;
    position: sticky;
    top: 24px;
}

.quiz-progress-card__eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
}

.quiz-progress-card__score {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
}

.quiz-progress-card__meta,
.quiz-progress-card__status {
    color: var(--color-muted);
}

.quiz-step-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.quiz-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--color-line);
    background: #fff;
    text-decoration: none;
    font-weight: 700;
}

.quiz-step.is-current {
    border-color: var(--color-accent);
    box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 0.18);
}

.quiz-step.is-correct {
    border-color: rgba(36, 132, 78, 0.32);
    background: #eef9f1;
    color: #1d6d3f;
}

.quiz-step.is-answered {
    border-color: rgba(180, 105, 0, 0.28);
    background: #fff4e8;
    color: #9a5f06;
}

.quiz-intro,
.quiz-completion-note {
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff8f1 0%, #fffdf9 100%);
    border: 1px solid rgba(255, 106, 0, 0.16);
}

.quiz-question-meta {
    margin-top: 6px;
}

.quiz-question-card {
    display: grid;
    gap: 18px;
}

.quiz-option-list {
    display: grid;
    gap: 12px;
}

.quiz-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--color-line);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.quiz-option:hover {
    border-color: rgba(17, 17, 17, 0.18);
    transform: translateY(-1px);
}

.quiz-option input {
    margin-top: 4px;
}

.quiz-option.is-selected {
    border-color: rgba(255, 106, 0, 0.28);
    background: #fff8f1;
}

.quiz-option.is-correct {
    border-color: rgba(36, 132, 78, 0.28);
    background: #eef9f1;
}

.quiz-option.is-incorrect {
    border-color: rgba(183, 28, 28, 0.22);
    background: #fff2f2;
}

.quiz-feedback {
    display: grid;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid var(--color-line);
}

.quiz-feedback--correct {
    background: #eef9f1;
    border-color: rgba(36, 132, 78, 0.28);
}

.quiz-feedback--incorrect {
    background: #fff2f2;
    border-color: rgba(183, 28, 28, 0.22);
}

.quiz-summary-header {
    display: grid;
    gap: 10px;
}

.quiz-summary-list {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.quiz-summary-item {
    display: grid;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid var(--color-line);
    background: #fff;
}

.quiz-summary-item--correct {
    background: #f4fbf6;
    border-color: rgba(36, 132, 78, 0.22);
}

.quiz-summary-item--incorrect {
    background: #fff8f1;
    border-color: rgba(255, 106, 0, 0.18);
}

.quiz-summary-item__header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.quiz-summary-item__number {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.quiz-summary-item__status {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f1f1;
    font-size: 12px;
    font-weight: 700;
}

.quiz-summary-item__status--correct {
    background: #e4f5e9;
    color: #1d6d3f;
}

.quiz-summary-item__status--incorrect {
    background: #fff0dc;
    color: #9a5f06;
}

blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: 16px;
    color: var(--color-ink);
    font-style: italic;
}

.page-header {
    padding: 32px 0 14px;
}

.page-layout {
    display: grid;
    gap: 26px;
}

.page-layout > * {
    min-width: 0;
}

.preorder-hero {
    margin-top: 28px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--color-line);
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.05);
}

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

.preorder-summary-section {
    margin-top: 20px;
}

.preorder-summary-section h2 {
    font-size: 18px;
    margin-bottom: 12px;
}

.page-cover {
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid var(--color-line);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.08);
    background: #fafafa;
}

.page-cover img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

.empty-state {
    padding: 28px;
    border: 1px dashed var(--color-line);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
    color: var(--color-muted);
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.grid > .empty-state,
.promo-list-stack > .empty-state {
    grid-column: 1 / -1;
}

.search-bar {
    display: flex;
    gap: 10px;
    margin: 18px 0 24px;
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.search-bar input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--color-line);
    font: inherit;
}

.search-summary {
    padding: 24px 26px;
}

.search-summary h2 {
    margin-bottom: 8px;
}

.filters {
    padding: 18px;
    border: 1px solid var(--color-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.search-result-group {
    display: grid;
    gap: 18px;
}

.search-result-group h2 {
    margin-bottom: 0;
}

.page-header .section-link-row {
    margin-top: 18px;
}

.stream-content {
    overflow: hidden;
}

.compare-form {
    margin-bottom: 0;
}

.compare-feedback {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 106, 0, 0.16);
    background: linear-gradient(180deg, #fffaf6 0%, #ffffff 100%);
    color: var(--color-ink);
}

.compare-feedback--error {
    border-color: rgba(187, 33, 36, 0.18);
    background: linear-gradient(180deg, #fff7f7 0%, #ffffff 100%);
}

.compare-feedback p + p {
    margin-top: 8px;
}

.footer {
    margin-top: 0;
    background: #0b0b0b;
    color: rgba(255, 255, 255, 0.72);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    flex-wrap: wrap;
}

@media (min-width: 1440px) {
    .container {
        width: min(1320px, calc(100% - 96px));
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 64px 0 24px;
    }

    .hero-card {
        padding: 48px;
    }

    .hero-card__grid {
        grid-template-columns: minmax(0, 1.65fr) minmax(360px, 1fr);
        gap: 40px;
    }

    .hero-stat {
        padding: 22px;
    }

    .grid {
        gap: 28px;
    }

    .grid--three {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .grid--promotions {
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    }

    .promo-card--row {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .learning-card__cover {
        min-height: 240px;
    }

    .page-layout {
        gap: 34px;
    }

    .search-result-group {
        gap: 22px;
    }
}

@media (min-width: 1680px) {
    .container {
        width: min(1440px, calc(100% - 128px));
    }

    .hero-card__grid {
        grid-template-columns: minmax(0, 1.75fr) minmax(390px, 0.95fr);
    }

    .page-cover img,
    .rich-copy img,
    .article-image img,
    .image-slider__slide img {
        max-height: 520px !important;
    }
}

@media (min-width: 721px) and (max-width: 1040px) {
    .section {
        padding: 42px 0;
    }

    .hero {
        padding: 42px 0 18px;
    }

    .hero-stat-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-stat {
        padding: 16px;
    }

    .hero-stat strong {
        font-size: 18px;
    }

    .hero-stat p {
        font-size: 13px;
    }

    .filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: end;
    }

    .filters__actions {
        grid-column: 1 / -1;
    }

    .search-bar {
        max-width: 760px;
    }

    .learning-card__cover {
        min-height: 190px;
    }

    .simple-card__summary,
    .related-card__summary {
        min-height: auto;
    }

    .promo-card__title,
    .promo-card__excerpt {
        min-height: auto;
    }
}

@media (max-width: 1040px) {
    .container {
        width: min(1120px, calc(100% - 28px));
    }

    .grid--two,
    .grid--three,
    .grid--promotions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promo-card--row {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .promo-card__media-frame {
        width: min(100%, 156px);
    }

    .hero-card {
        padding: 36px 32px;
    }

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

    .preorder-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .site-header {
        padding: 9px 0;
    }

    .site-header__inner {
        align-items: center;
        flex-direction: row;
        gap: 12px;
    }

    .site-brand {
        display: flex;
        align-items: center;
        min-width: 0;
    }

    .logo {
        font-size: 26px;
        line-height: 1.1;
    }

    .logo-subtitle {
        display: none;
    }

    .nav-toggle {
        display: grid;
        width: 42px;
        height: 42px;
        margin-left: auto;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff;
        cursor: pointer;
        align-content: center;
        gap: 4px;
    }

    .nav-toggle__line {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 2;
        display: flex;
        width: min(84vw, 320px);
        height: 100vh;
        height: 100dvh;
        padding: 16px;
        overflow-y: auto;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 2px;
        background: #111111;
        box-shadow: -18px 0 42px rgba(0, 0, 0, 0.28);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform 0.24s ease, visibility 0.24s ease;
    }

    .nav.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .nav__drawer-header {
        display: flex;
        min-height: 48px;
        margin-bottom: 10px;
        padding-bottom: 10px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        color: rgba(255, 255, 255, 0.68);
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .nav__close {
        display: grid;
        width: 38px;
        height: 38px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff;
        cursor: pointer;
        place-items: center;
        font: inherit;
        font-size: 28px;
        line-height: 1;
    }

    .nav a {
        min-height: 48px;
        padding: 12px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

    .nav a:hover,
    .nav a.is-active {
        border-color: rgba(255, 106, 0, 0.35);
        background: rgba(255, 106, 0, 0.09);
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 40;
        display: block;
        border: 0;
        background: rgba(0, 0, 0, 0.48);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.24s ease, visibility 0.24s ease;
    }

    .nav-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.nav-drawer-open {
        overflow: hidden;
    }

    .promo-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 12px;
    }

    .promo-tab {
        flex: 0 0 auto;
    }

    .page-cover img {
        max-height: 340px;
    }

    .quiz-progress-card {
        position: static;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(1120px, calc(100% - 22px));
    }

    .section {
        padding: 34px 0;
    }

    .hero {
        padding: 34px 0 16px;
    }

    .hero-card,
    .card {
        padding: 22px;
    }

    .hero-card {
        padding: 28px 24px;
    }

    .section-copy--split {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-copy--split .lead {
        max-width: none;
    }

    .image-slider__slide {
        padding: 18px 18px 14px;
    }

    .grid,
    .grid--two,
    .grid--three,
    .grid--promotions {
        gap: 18px;
        grid-template-columns: 1fr;
    }

    .learning-card {
        border-radius: 22px;
    }

    .learning-card__cover {
        min-height: 170px;
        padding: 14px 16px;
    }

    .promo-card__body {
        padding: 20px;
    }

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

    .promo-card--row .promo-card__media {
        border-right: none;
        border-bottom: 1px solid var(--color-line);
    }

    .promo-card__media {
        min-height: 220px;
    }

    .promo-offer-box__item {
        min-height: 0;
    }

    .promo-card__media-frame {
        width: min(100%, 150px);
    }

    .learning-card__body {
        padding: 18px;
        gap: 14px;
    }

    .learning-card__excerpt {
        min-height: auto;
        -webkit-line-clamp: 5;
    }

    .rich-copy img,
    .article-image img,
    .image-slider__slide img,
    .page-cover img {
        max-height: 320px !important;
    }

    .image-slider__button {
        width: 42px;
        height: 42px;
    }

    .material-toc {
        padding: 14px;
        border-radius: 16px;
    }

    .material-toc__links {
        flex-direction: column;
    }

    .material-toc__links a {
        width: 100%;
    }

    .instruction-step {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .promo-card__stats,
    .preorder-summary-grid,
    .promo-offer-box {
        grid-template-columns: 1fr;
    }

    .filters,
    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-panel {
        margin: 16px 0 22px;
    }

    .filter-panel__summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 48px;
        padding: 13px 14px;
        border: 1px solid var(--color-line);
        border-radius: 16px;
        background: #ffffff;
        box-shadow: var(--shadow-soft);
        color: var(--color-ink);
        font-weight: 800;
        cursor: pointer;
        list-style: none;
    }

    .filter-panel__summary::-webkit-details-marker {
        display: none;
    }

    .filter-panel__summary::after {
        content: "";
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-2px);
        transition: transform 0.2s ease;
    }

    .filter-panel[open] .filter-panel__summary::after {
        transform: rotate(225deg) translate(-2px, -1px);
    }

    .filter-panel__state::before {
        content: "Показать";
        color: var(--color-muted);
        font-size: 13px;
        font-weight: 700;
    }

    .filter-panel[open] .filter-panel__state::before {
        content: "Скрыть";
    }

    .filter-panel:not([open]) > .filters {
        display: none;
    }

    .filter-panel > .filters {
        margin-top: 10px;
    }

    .filters,
    .search-bar {
        padding: 14px;
        border-radius: 18px;
    }

    .compare-feature-card__grid {
        grid-template-columns: 1fr;
    }

    .filters__actions {
        flex-direction: column;
    }

    .promo-tabs {
        padding: 12px;
    }

    .filter-field {
        min-width: unset;
        flex: 0 0 auto;
    }

    .filters .button,
    .filters .button--ghost,
    .search-bar .button {
        width: 100%;
    }

    .section-link-row,
    .section-link-row form {
        width: 100%;
    }

    .video-embed {
        border-radius: 18px;
    }

    .page-cover {
        border-radius: 22px;
    }

    .spec-table th,
    .spec-table td {
        padding: 12px 14px;
    }

    .quiz-summary-item__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__inner {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .site-header {
        padding: 9px 0;
    }

    .site-header__inner {
        gap: 14px;
    }

    .container {
        width: min(1120px, calc(100% - 20px));
    }

    .hero-card,
    .card,
    .search-summary {
        border-radius: 14px;
        padding: 18px;
    }

    .hero-card {
        padding: 22px 18px;
    }

    .hero-card__grid,
    .hero-stat-list,
    .page-layout,
    .article-stack {
        gap: 16px;
    }

    .hero-stat-list {
        grid-template-columns: 1fr;
    }

    .section-copy {
        margin-bottom: 14px;
    }

    .meta,
    .chips,
    .filters {
        gap: 8px;
    }

    .promo-card__media {
        min-height: 190px;
    }

    .promo-card__body,
    .learning-card__body {
        padding: 16px;
    }

    .promo-tabs {
        margin-inline: -4px;
    }

    .promo-tab {
        padding: 10px 12px;
    }

    .search-bar input,
    .filter-field select,
    .filter-field input {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(1120px, calc(100% - 18px));
    }

    .logo {
        font-size: 24px;
    }

    .logo-subtitle {
        font-size: 13px;
        max-width: 26ch;
    }

    h1 {
        font-size: clamp(30px, 10vw, 38px);
    }

    h2 {
        font-size: clamp(24px, 8vw, 30px);
    }

    .page-header {
        padding: 24px 0 14px;
    }

    .nav {
        gap: 14px;
    }

    .hero-stat {
        padding: 16px;
    }

    .learning-card__type,
    .learning-card__open {
        padding: 7px 10px;
        font-size: 12px;
    }

    .chip {
        padding: 6px 10px;
        font-size: 13px;
    }

    .image-slider__button {
        width: 38px;
        height: 38px;
        font-size: 26px;
    }

    .section-link-row .button,
    .card .button,
    .section-link-row form .button {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .container {
        width: min(1120px, calc(100% - 14px));
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 23px;
    }

    h3 {
        font-size: 20px;
    }

    .logo {
        font-size: 23px;
    }

    .logo-subtitle {
        max-width: 22ch;
    }

    .nav {
        gap: 12px;
    }

    .hero-card,
    .card,
    .filters,
    .search-bar,
    .search-summary {
        padding: 14px;
    }

    .button {
        padding-inline: 12px;
    }

    .chip {
        max-width: 100%;
    }

    .spec-table th,
    .spec-table td {
        padding: 10px;
    }
}
