:root {
    --brand: #E85D75;
    --brand-strong: #D93F63;
    --accent: #F2A65A;
    --ink: #332D34;
    --ink-strong: #2F2530;
    --muted: #756A73;
    --paper: #FFF9F6;
    --paper-alt: #F8EEF0;
    --paper-warm: #FFF2E9;
    --line: rgba(47, 37, 48, 0.12);
    --line-strong: rgba(47, 37, 48, 0.2);
    --shadow-soft: 0 18px 45px rgba(73, 47, 57, 0.10);
    --shadow-card: 0 12px 28px rgba(73, 47, 57, 0.08);
    --shadow-float: 0 24px 60px rgba(87, 49, 63, 0.16);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 34px;
    --shell: min(1180px, calc(100vw - 40px));
    --header-h: 82px;
    --ease: cubic-bezier(.22,.61,.36,1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

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

button,
select {
    cursor: pointer;
}

::selection {
    background: rgba(232, 93, 117, 0.18);
    color: var(--ink-strong);
}

:focus-visible {
    outline: 3px solid rgba(217, 63, 99, 0.36);
    outline-offset: 3px;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    left: 18px;
    top: 14px;
    z-index: 1000;
    transform: translateY(-140%);
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--ink-strong);
    color: #fff;
    transition: transform .2s var(--ease);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--header-h);
    border-bottom: 1px solid transparent;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: blur(16px);
    transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 9px 28px rgba(62, 39, 48, 0.06);
    background: color-mix(in srgb, var(--paper) 95%, transparent);
}

.header-shell {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

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

.brand-mark img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 18px rgba(217, 63, 99, .18);
}

.brand-mark__text {
    display: grid;
    gap: 1px;
    line-height: 1.15;
}

.brand-mark__text strong {
    font-size: 19px;
    letter-spacing: .02em;
    color: var(--ink-strong);
}

.brand-mark__text small {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .04em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.54);
}

.site-nav a {
    position: relative;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    transition: color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}

.site-nav a:hover {
    color: var(--ink-strong);
    background: #fff;
}

.site-nav a.is-active {
    color: #fff;
    background: var(--brand-strong);
    box-shadow: 0 7px 18px rgba(217, 63, 99, .22);
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 10px 13px 10px 15px;
    background: var(--paper-alt);
    color: var(--ink-strong);
    font-weight: 700;
}

.menu-toggle__bars {
    width: 20px;
    display: grid;
    gap: 4px;
}

.menu-toggle__bars i {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.page-main {
    overflow: clip;
}

.page-main--inner {
    padding-top: 20px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--brand-strong);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    align-items: center;
    gap: clamp(42px, 6vw, 84px);
    min-height: calc(100svh - var(--header-h));
    padding-block: clamp(60px, 9vw, 110px);
}

.hero::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: -180px;
    top: 50px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(242,166,90,.30), rgba(232,93,117,.08) 62%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    left: -260px;
    bottom: 40px;
    width: 420px;
    height: 220px;
    border-radius: 50%;
    background: rgba(248, 238, 240, .8);
    filter: blur(10px);
    transform: rotate(-14deg);
    pointer-events: none;
}

.hero__copy,
.hero__visual {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 740px;
    margin: 18px 0 20px;
    color: var(--ink-strong);
    font-size: clamp(42px, 5.4vw, 74px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.hero__lead {
    max-width: 690px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.9;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid var(--brand-strong);
    border-radius: 999px;
    background: var(--brand-strong);
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 10px 22px rgba(217, 63, 99, .18);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(217, 63, 99, .23);
}

.button--ghost {
    border-color: var(--line-strong);
    background: transparent;
    color: var(--ink-strong);
    box-shadow: none;
}

.button--ghost:hover {
    background: #fff;
    box-shadow: var(--shadow-card);
}

.button--light {
    border-color: #fff;
    background: #fff;
    color: var(--ink-strong);
    box-shadow: 0 12px 28px rgba(47,37,48,.15);
}

.hero__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 42px 0 0;
    padding: 0;
    list-style: none;
}

.hero__facts li {
    min-width: 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.hero__facts strong,
.hero__facts span {
    display: block;
}

.hero__facts strong {
    color: var(--ink-strong);
    font-size: 13px;
}

.hero__facts span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.hero__visual {
    min-height: 610px;
    display: grid;
    place-items: center;
}

.hero__image-wrap {
    position: relative;
    width: min(100%, 520px);
    border-radius: 38px 38px 90px 38px;
    overflow: hidden;
    background: var(--paper-alt);
    box-shadow: var(--shadow-float);
    transform: rotate(2deg);
}

.hero__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(47,37,48,.15));
    pointer-events: none;
}

.hero__image-wrap img {
    width: 100%;
    aspect-ratio: .91;
    object-fit: cover;
}

.hero__note {
    position: absolute;
    left: 0;
    bottom: 52px;
    width: min(310px, 72%);
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 18px;
    background: rgba(255,249,246,.92);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
}

.hero__note span,
.hero__note strong {
    display: block;
}

.hero__note span {
    color: var(--brand-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.hero__note strong {
    margin-top: 4px;
    color: var(--ink-strong);
    line-height: 1.45;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin: 11px 0 10px;
    color: var(--ink-strong);
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.18;
    letter-spacing: -.028em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

.section-heading--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    align-items: end;
    gap: 50px;
}

.section-heading--split > p,
.section-heading--split > .text-link {
    justify-self: end;
    max-width: 380px;
}

.section-heading--narrow {
    max-width: 760px;
}

.content-strip {
    padding-block: 90px 110px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr .85fr;
    gap: 20px;
}

.highlight-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.64);
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(65,44,52,.05);
}

.highlight-card img {
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
}

.highlight-card:first-child img {
    aspect-ratio: 1.7;
}

.highlight-card > div {
    padding: 24px 25px 27px;
}

.highlight-card h3 {
    margin: 0;
    color: var(--ink-strong);
    font-size: 21px;
    line-height: 1.35;
}

.highlight-card p {
    margin: 12px 0 16px;
    color: var(--muted);
    font-size: 14px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--brand-strong);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.text-link:hover {
    color: var(--ink-strong);
}

.feature-band {
    margin-block: 20px 110px;
    background: var(--ink-strong);
    color: #fff;
}

.feature-band__inner {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 54px;
    padding-block: 68px;
}

.feature-band__intro {
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.feature-band__intro .eyebrow {
    color: #ffc0ca;
}

.feature-band__intro h2 {
    margin: 13px 0 18px;
    font-size: 34px;
    line-height: 1.23;
    letter-spacing: -.025em;
}

.feature-band__intro p {
    margin: 0 0 24px;
    color: rgba(255,255,255,.67);
}

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

.work-card {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.work-card__visual {
    position: relative;
    overflow: hidden;
    background: var(--paper-alt);
}

.work-card__visual::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    background: linear-gradient(180deg, transparent, rgba(47,37,48,.18));
}

.work-card__visual img {
    width: 100%;
    aspect-ratio: 1.15;
    object-fit: cover;
    transition: transform .45s var(--ease);
}

.work-card:hover .work-card__visual img {
    transform: scale(1.025);
}

.work-card__body {
    padding: 22px 22px 24px;
}

.work-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.work-card__meta > span:not(.badge) {
    padding-left: 7px;
    border-left: 1px solid var(--line);
}

.work-card h3 {
    margin: 0;
    color: var(--ink-strong);
    font-size: 20px;
    line-height: 1.38;
}

.work-card p {
    margin: 11px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.72;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--paper-alt);
    color: var(--ink-strong);
    font-size: 10px;
    font-weight: 800;
}

.badge-live {
    background: rgba(217, 63, 99, .11);
    color: var(--brand-strong);
}

.badge-complete {
    background: rgba(242, 166, 90, .18);
    color: #9c5d18;
}

.badge-short {
    background: rgba(95, 67, 105, .10);
    color: #614869;
}

.micro-list {
    display: grid;
    gap: 6px;
    margin: 17px 0 0;
    padding: 0;
    list-style: none;
}

.micro-list li {
    position: relative;
    padding-left: 16px;
    color: #63585f;
    font-size: 12px;
    line-height: 1.58;
}

.micro-list li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: .76em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

.work-card--compact {
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-rows: none;
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.12);
    box-shadow: none;
}

.work-card--compact .work-card__visual img {
    height: 100%;
    aspect-ratio: auto;
}

.work-card--compact .work-card__body {
    padding: 17px 17px 18px;
}

.feature-band .work-card--compact h3 {
    color: #fff;
    font-size: 16px;
}

.feature-band .work-card--compact p,
.feature-band .work-card--compact .work-card__meta,
.feature-band .work-card--compact .micro-list li {
    color: rgba(255,255,255,.63);
}

.feature-band .work-card--compact .work-card__meta > span:not(.badge) {
    border-left-color: rgba(255,255,255,.14);
}

.feature-band .work-card--compact .badge {
    background: rgba(255,255,255,.12);
    color: #fff;
}

.work-card--compact .micro-list {
    display: none;
}

.split-story {
    display: grid;
    grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(50px, 8vw, 110px);
    padding-block: 60px 120px;
}

.split-story__visual {
    position: relative;
}

.split-story__visual::before {
    content: "";
    position: absolute;
    inset: -24px 30% 24px -24px;
    z-index: -1;
    border-radius: 42px;
    background: var(--paper-alt);
}

.split-story__visual img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: var(--shadow-card);
}

.split-story__copy h2 {
    margin: 14px 0 18px;
    color: var(--ink-strong);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.18;
    letter-spacing: -.03em;
}

.split-story__copy > p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

.definition-list {
    display: grid;
    gap: 0;
    margin: 27px 0 22px;
}

.definition-list > div {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    padding: 15px 0;
    border-top: 1px solid var(--line);
}

.definition-list > div:last-child {
    border-bottom: 1px solid var(--line);
}

.definition-list dt {
    color: var(--ink-strong);
    font-weight: 800;
}

.definition-list dd {
    margin: 0;
    color: var(--muted);
}

.topic-panel {
    padding-block: 20px 115px;
}

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

.topic-card {
    position: relative;
    min-height: 260px;
    padding: 27px 25px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #fff, rgba(248,238,240,.55));
    overflow: hidden;
}

.topic-card::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -36px;
    bottom: -36px;
    border-radius: 50%;
    background: rgba(232,93,117,.08);
}

.topic-card:nth-child(2)::after {
    background: rgba(242,166,90,.13);
}

.topic-card:nth-child(3)::after {
    background: rgba(47,37,48,.08);
}

.topic-card:nth-child(4)::after {
    background: rgba(217,63,99,.11);
}

.topic-card h3 {
    margin: 0;
    color: var(--ink-strong);
    font-size: 20px;
    line-height: 1.35;
}

.topic-card p {
    margin: 13px 0 20px;
    color: var(--muted);
    font-size: 14px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag-row span {
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: #63585f;
    font-size: 11px;
    font-weight: 700;
}

.reading-section {
    padding-block: 100px;
    background: var(--paper-alt);
}

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

.editorial-card {
    padding: 0 24px 0 0;
    border-right: 1px solid var(--line-strong);
}

.editorial-card:last-child {
    border-right: 0;
}

.editorial-card h3 {
    margin: 0 0 15px;
    color: var(--ink-strong);
    font-size: 21px;
    line-height: 1.42;
}

.editorial-card p {
    margin: 0 0 13px;
    color: var(--muted);
    font-size: 14px;
}

.desktop-teaser {
    display: grid;
    grid-template-columns: 1fr minmax(360px, .85fr);
    gap: 70px;
    align-items: center;
    padding-block: 120px;
}

.desktop-teaser > div h2 {
    margin: 12px 0 18px;
    color: var(--ink-strong);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
    letter-spacing: -.03em;
}

.desktop-teaser > div p {
    margin: 0;
    color: var(--muted);
}

.desktop-teaser img {
    width: 100%;
    border-radius: var(--radius-lg);
    aspect-ratio: 1.35;
    object-fit: cover;
    box-shadow: var(--shadow-card);
}

.faq-preview {
    padding-block: 20px 120px;
}

.faq-list {
    border-top: 1px solid var(--line-strong);
}

.faq-item {
    border-bottom: 1px solid var(--line-strong);
}

.faq-item summary {
    position: relative;
    list-style: none;
    padding: 20px 48px 20px 0;
    color: var(--ink-strong);
    font-weight: 800;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transform: translateY(-50%);
    background: var(--paper-alt);
    color: var(--brand-strong);
    font-size: 20px;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item > div {
    padding: 0 48px 22px 0;
}

.faq-item p {
    max-width: 860px;
    margin: 0;
    color: var(--muted);
}

.breadcrumbs {
    padding: 12px 0 4px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 12px;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #b9adb3;
}

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

.inner-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    align-items: center;
    gap: clamp(50px, 8vw, 100px);
    padding-block: 70px 100px;
}

.inner-hero--reverse {
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
}

.inner-hero h1,
.library-hero h1 {
    margin: 14px 0 18px;
    color: var(--ink-strong);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.1;
    letter-spacing: -.038em;
}

.inner-hero p,
.library-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.inner-hero > img {
    width: 100%;
    border-radius: 34px;
    aspect-ratio: 1.15;
    object-fit: cover;
    box-shadow: var(--shadow-float);
}

.page-grid {
    display: grid;
    gap: 50px;
}

.page-grid--aside {
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    padding-block: 40px 100px;
}

.step-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line-strong);
}

.step-card {
    display: grid;
    grid-template-columns: 64px minmax(0,1fr);
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line-strong);
}

.step-card__index {
    color: var(--brand-strong);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .08em;
}

.step-card h3 {
    margin: 0 0 7px;
    color: var(--ink-strong);
    font-size: 20px;
}

.step-card p {
    margin: 0;
    color: var(--muted);
}

.sticky-note {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.sticky-note img {
    width: 100%;
    border-radius: 18px;
    aspect-ratio: 1.32;
    object-fit: cover;
}

.sticky-note h2 {
    margin: 20px 6px 8px;
    color: var(--ink-strong);
    font-size: 19px;
}

.sticky-note ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0 6px 8px 21px;
    color: var(--muted);
    font-size: 13px;
}

.sticky-note strong {
    color: var(--ink-strong);
}

.web-context {
    padding-block: 90px;
    background: var(--ink-strong);
    color: #fff;
}

.web-context__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
    gap: 80px;
    align-items: start;
}

.web-context .eyebrow {
    color: #ffc1cb;
}

.web-context h2 {
    margin: 14px 0 18px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
}

.web-context p {
    color: rgba(255,255,255,.67);
}

.fact-stack {
    display: grid;
    gap: 12px;
}

.fact-stack article {
    padding: 22px 24px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 17px;
    background: rgba(255,255,255,.05);
}

.fact-stack strong {
    font-size: 16px;
}

.fact-stack p {
    margin: 6px 0 0;
    font-size: 13px;
}

.web-context + .shell {
    padding-top: 100px;
}

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

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

.browser-matrix {
    padding-block: 110px;
}

.matrix-table {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.matrix-row {
    display: grid;
    grid-template-columns: .65fr 1.05fr 1.3fr;
    gap: 0;
    border-top: 1px solid var(--line);
}

.matrix-row:first-child {
    border-top: 0;
}

.matrix-row > * {
    min-width: 0;
    padding: 18px 20px;
    border-left: 1px solid var(--line);
}

.matrix-row > *:first-child {
    border-left: 0;
}

.matrix-row--head {
    background: var(--paper-alt);
    color: var(--ink-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
}

.matrix-row:not(.matrix-row--head) {
    color: var(--muted);
    font-size: 14px;
}

.matrix-row strong {
    color: var(--ink-strong);
}

.library-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: center;
    gap: 70px;
    padding-block: 58px 88px;
}

.library-hero img {
    width: 100%;
    aspect-ratio: 1.32;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.filter-section {
    padding-block: 15px 50px;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 8px 22px rgba(65,44,52,.04);
}

.filter-group {
    min-width: 170px;
    display: grid;
    gap: 6px;
}

.filter-group--wide {
    flex: 1 1 260px;
}

.filter-group label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
}

.filter-group select,
.filter-group input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 10px 13px;
    background: var(--paper);
    color: var(--ink-strong);
    outline: none;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(232,93,117,.10);
}

.library-results {
    padding-block: 20px 70px;
}

.empty-state {
    padding: 60px 32px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    text-align: center;
    background: rgba(255,255,255,.52);
}

.empty-state h2 {
    margin: 0 0 10px;
    color: var(--ink-strong);
}

.empty-state p {
    margin: 0;
    color: var(--muted);
}

.empty-state .button {
    margin-top: 22px;
}

.browse-notes {
    padding-block: 55px 120px;
}

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

.note-grid article {
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--paper-alt);
}

.note-grid h3 {
    margin: 0 0 10px;
    color: var(--ink-strong);
    font-size: 18px;
}

.note-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.desktop-section {
    padding-block: 90px;
    background: var(--paper-alt);
}

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

.desktop-note {
    padding: 28px;
    border: 1px solid rgba(47,37,48,.08);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.66);
}

.desktop-note h3 {
    margin: 0 0 12px;
    color: var(--ink-strong);
    font-size: 20px;
}

.desktop-note p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.desktop-note__tip {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: #6c5e65;
    font-size: 12px;
}

.keyboard-section {
    display: grid;
    grid-template-columns: 1fr minmax(360px, .8fr);
    gap: 80px;
    align-items: center;
    padding-block: 110px;
}

.keyboard-section h2 {
    margin: 13px 0 16px;
    color: var(--ink-strong);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
}

.keyboard-section p {
    color: var(--muted);
}

.keyboard-section img {
    width: 100%;
    border-radius: var(--radius-lg);
    aspect-ratio: 1.2;
    object-fit: cover;
    box-shadow: var(--shadow-card);
}

.key-row {
    display: grid;
    grid-template-columns: 66px minmax(0,1fr);
    gap: 14px;
    align-items: center;
    padding: 11px 0;
    border-top: 1px solid var(--line);
}

.key-row:last-child {
    border-bottom: 1px solid var(--line);
}

kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 5px 8px;
    border: 1px solid var(--line-strong);
    border-bottom-width: 3px;
    border-radius: 8px;
    background: #fff;
    color: var(--ink-strong);
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
}

.key-row span {
    color: var(--muted);
    font-size: 13px;
}

.compare-section {
    padding-block: 10px 100px;
}

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

.compare-grid article {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.compare-grid__label {
    color: var(--brand-strong);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
}

.compare-grid h3 {
    margin: 8px 0 15px;
    color: var(--ink-strong);
    font-size: 23px;
}

.compare-grid ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 19px;
    color: var(--muted);
    font-size: 14px;
}

.desktop-picks {
    padding-bottom: 120px;
}

.not-found {
    min-height: 66vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 90px;
}

.not-found h1 {
    max-width: 780px;
    margin: 15px 0;
    color: var(--ink-strong);
    font-size: clamp(44px, 7vw, 80px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.not-found p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
}

.site-footer {
    padding-block: 54px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .7fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-brand strong {
    color: var(--ink-strong);
    font-size: 24px;
}

.footer-brand p,
.footer-note p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: var(--ink-strong);
    font-size: 13px;
    font-weight: 700;
}

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

.footer-note {
    text-align: right;
}

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 50%;
    background: var(--ink-strong);
    color: #fff;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s var(--ease), visibility .2s var(--ease), transform .2s var(--ease);
}

.back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    :root {
        --shell: min(100% - 36px, 1000px);
    }

    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr);
        gap: 50px;
    }

    .hero h1 {
        font-size: clamp(40px, 5.2vw, 60px);
    }

    .hero__visual {
        min-height: 540px;
    }

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

    .highlight-card:first-child {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1.1fr .9fr;
    }

    .highlight-card:first-child img {
        height: 100%;
        aspect-ratio: auto;
    }

    .feature-band__inner {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 34px;
    }

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

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

    .library-hero {
        grid-template-columns: minmax(0,1fr) 350px;
        gap: 44px;
    }

    .footer-grid {
        grid-template-columns: 1.1fr .6fr 1fr;
        gap: 34px;
    }
}

@media (max-width: 900px) {
    :root {
        --header-h: 72px;
        --shell: calc(100vw - 32px);
    }

    .header-shell {
        position: relative;
    }

    .brand-mark img {
        width: 44px;
        height: 44px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 10px);
        display: grid;
        gap: 5px;
        padding: 10px;
        border-radius: 18px;
        background: rgba(255,249,246,.98);
        box-shadow: var(--shadow-float);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .2s var(--ease), visibility .2s var(--ease), transform .2s var(--ease);
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-nav a {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-block: 70px 90px;
    }

    .hero__copy {
        max-width: 760px;
    }

    .hero__visual {
        min-height: 0;
        padding-inline: 6vw;
    }

    .hero__image-wrap {
        width: 100%;
        transform: none;
        border-radius: 34px;
    }

    .hero__note {
        left: 0;
        bottom: -24px;
    }

    .section-heading--split {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .section-heading--split > p,
    .section-heading--split > .text-link {
        justify-self: start;
        max-width: none;
    }

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

    .feature-band__intro {
        position: static;
        max-width: 700px;
    }

    .split-story,
    .desktop-teaser,
    .inner-hero,
    .inner-hero--reverse,
    .keyboard-section {
        grid-template-columns: 1fr;
    }

    .split-story__visual {
        max-width: 640px;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .editorial-card {
        padding: 24px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line-strong);
    }

    .editorial-card:last-child {
        border-bottom: 0;
    }

    .desktop-teaser img {
        order: -1;
    }

    .page-grid--aside {
        grid-template-columns: 1fr;
    }

    .sticky-note {
        position: static;
    }

    .web-context__grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

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

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

    .library-hero img {
        max-width: 620px;
    }

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

    .footer-note {
        grid-column: 1 / -1;
        text-align: left;
    }
}

@media (max-width: 640px) {
    :root {
        --shell: calc(100vw - 24px);
    }

    body {
        font-size: 15px;
    }

    .brand-mark__text small {
        display: none;
    }

    .hero {
        padding-block: 52px 82px;
        gap: 42px;
    }

    .hero h1 {
        font-size: clamp(38px, 11.8vw, 54px);
    }

    .hero__lead {
        font-size: 16px;
    }

    .hero__facts {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 32px;
    }

    .hero__facts li {
        display: grid;
        grid-template-columns: 118px minmax(0,1fr);
        gap: 10px;
    }

    .hero__visual {
        padding: 0;
    }

    .hero__note {
        width: calc(100% - 28px);
        left: 14px;
    }

    .content-strip,
    .topic-panel,
    .faq-preview,
    .browse-notes,
    .desktop-picks {
        padding-block: 72px;
    }

    .section-heading h2 {
        font-size: 31px;
    }

    .highlight-grid,
    .feature-band__cards,
    .topic-grid,
    .work-grid,
    .work-grid--three,
    .note-grid,
    .desktop-note-grid,
    .compare-grid {
        grid-template-columns: 1fr;
    }

    .highlight-card:first-child {
        grid-column: auto;
        display: block;
    }

    .highlight-card:first-child img {
        height: auto;
        aspect-ratio: 1.45;
    }

    .feature-band {
        margin-bottom: 70px;
    }

    .feature-band__inner {
        padding-block: 58px;
    }

    .work-card--compact {
        grid-template-columns: 92px minmax(0,1fr);
    }

    .split-story {
        padding-block: 30px 80px;
    }

    .split-story__copy h2 {
        font-size: 33px;
    }

    .definition-list > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .reading-section {
        padding-block: 70px;
    }

    .desktop-teaser {
        padding-block: 80px;
        gap: 34px;
    }

    .inner-hero {
        padding-block: 48px 76px;
        gap: 40px;
    }

    .inner-hero h1,
    .library-hero h1 {
        font-size: 40px;
    }

    .page-grid--aside {
        padding-block: 20px 76px;
    }

    .step-card {
        grid-template-columns: 42px minmax(0,1fr);
        gap: 13px;
    }

    .web-context {
        padding-block: 70px;
    }

    .web-context + .shell {
        padding-top: 72px;
    }

    .browser-matrix {
        padding-block: 80px;
    }

    .matrix-table {
        border: 0;
        overflow: visible;
    }

    .matrix-row {
        grid-template-columns: 1fr;
        margin-bottom: 12px;
        border: 1px solid var(--line);
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
    }

    .matrix-row--head {
        display: none;
    }

    .matrix-row > * {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 13px 15px;
    }

    .matrix-row > *:first-child {
        border-top: 0;
        background: var(--paper-alt);
    }

    .library-hero {
        padding-block: 44px 68px;
    }

    .filter-form {
        padding: 15px;
    }

    .filter-group,
    .filter-group--wide {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .filter-form .button {
        flex: 1 1 auto;
    }

    .keyboard-section {
        padding-block: 78px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-note {
        grid-column: auto;
    }

    .back-top {
        right: 14px;
        bottom: 14px;
    }
}

@media (max-width: 420px) {
    .menu-toggle__label {
        display: none;
    }

    .hero h1 {
        font-size: 37px;
    }

    .action-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .action-row .button {
        width: 100%;
    }

    .hero__facts li {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .work-card--compact {
        grid-template-columns: 84px minmax(0,1fr);
    }

    .work-card--compact .work-card__body {
        padding: 14px;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

@media print {
    .site-header,
    .site-footer,
    .back-top,
    .menu-toggle,
    .action-row,
    .filter-form {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .page-main,
    .shell {
        width: 100%;
        max-width: none;
        overflow: visible;
    }

    .work-card,
    .highlight-card,
    .topic-card,
    .desktop-note,
    .compare-grid article {
        break-inside: avoid;
        box-shadow: none;
    }
}
