:root {
    --berry: #E85D75;
    --berry-deep: #D93F63;
    --orange: #F2A65A;
    --ink: #2F2530;
    --text: #332D34;
    --muted: #756A73;
    --paper: #FFF9F6;
    --paper-2: #F8EEF0;
    --white: #FFFFFF;
    --line: rgba(47, 37, 48, 0.12);
    --line-strong: rgba(47, 37, 48, 0.2);
    --shadow-sm: 0 10px 30px rgba(57, 34, 46, 0.08);
    --shadow-md: 0 24px 70px rgba(57, 34, 46, 0.12);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 44px;
    --shell: 1180px;
    --header-h: 78px;
    --transition: 180ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--paper);
    color: var(--text);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 8% 4%, rgba(242, 166, 90, 0.14), transparent 23rem),
        radial-gradient(circle at 92% 10%, rgba(232, 93, 117, 0.10), transparent 27rem),
        var(--paper);
    color: var(--text);
}

body.nav-open {
    overflow: hidden;
}

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

img {
    height: auto;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
dd,
figure {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    line-height: 1.18;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.35rem, 6vw, 5.3rem);
    margin-bottom: 1.25rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3.3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.16rem, 2vw, 1.45rem);
    margin-bottom: 0.7rem;
}

p {
    color: var(--muted);
}

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 200;
    left: 18px;
    top: 14px;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--ink);
    color: var(--white);
    transition: transform var(--transition);
}

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

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    min-height: var(--header-h);
    border-bottom: 1px solid rgba(47, 37, 48, 0.08);
    background: rgba(255, 249, 246, 0.92);
    backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
    box-shadow: 0 12px 34px rgba(47, 37, 48, 0.08);
}

.site-header__inner {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.brand-mark img {
    width: 48px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

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

.brand-mark__text strong {
    color: var(--ink);
    font-size: 1.06rem;
    letter-spacing: 0.04em;
}

.brand-mark__text small {
    color: var(--muted);
    font-size: 0.76rem;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.primary-nav > a {
    position: relative;
    padding: 10px 12px;
    border-radius: 10px;
    color: #544a52;
    font-size: 0.94rem;
    transition: background var(--transition), color var(--transition);
}

.primary-nav > a:hover,
.primary-nav > a[aria-current="page"] {
    color: var(--berry-deep);
    background: rgba(232, 93, 117, 0.09);
}

.header-search {
    display: flex;
    align-items: stretch;
    margin-left: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: var(--white);
}

.header-search input {
    width: 168px;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 9px 3px 9px 14px;
    background: transparent;
    color: var(--ink);
}

.header-search button {
    border: 0;
    padding: 8px 14px;
    background: transparent;
    color: var(--berry-deep);
    cursor: pointer;
    font-weight: 700;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--white);
    cursor: pointer;
}

.nav-toggle > span[aria-hidden="true"] {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 99px;
    background: var(--ink);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(3) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
}

.eyebrow {
    margin-bottom: 0.75rem;
    color: var(--berry-deep);
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.eyebrow--light {
    color: #ffbdc8;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 19px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 800;
    line-height: 1.2;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--berry-deep), var(--berry));
    box-shadow: 0 13px 30px rgba(217, 63, 99, 0.22);
}

.button--primary:hover {
    box-shadow: 0 18px 34px rgba(217, 63, 99, 0.28);
}

.button--soft {
    color: var(--berry-deep);
    border-color: rgba(217, 63, 99, 0.18);
    background: rgba(232, 93, 117, 0.08);
}

.button--light {
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.button--small {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 0.9rem;
}

.text-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--berry-deep);
    font-weight: 800;
}

.text-link span {
    transition: transform var(--transition);
}

.text-link:hover span {
    transform: translateX(4px);
}

.section {
    padding: clamp(70px, 9vw, 116px) 0;
}

.section--tight {
    padding: clamp(52px, 7vw, 82px) 0;
}

.section--rose {
    background:
        linear-gradient(120deg, rgba(232, 93, 117, 0.08), rgba(242, 166, 90, 0.08)),
        var(--paper-2);
    border-block: 1px solid rgba(217, 63, 99, 0.08);
}

.section--paper {
    background: rgba(255, 255, 255, 0.56);
    border-block: 1px solid var(--line);
}

.section--dark {
    color: var(--white);
    background:
        radial-gradient(circle at 75% 15%, rgba(232, 93, 117, 0.28), transparent 26rem),
        linear-gradient(135deg, #291f2b, #3a2a39);
}

.section--dark h2,
.section--dark h3 {
    color: var(--white);
}

.section--dark p {
    color: rgba(255, 255, 255, 0.74);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 32px;
}

.section-heading > p:last-child {
    max-width: 720px;
    margin-bottom: 0;
}

.section-heading--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 48px;
    align-items: end;
}

.section-heading--split > p {
    margin-bottom: 0.4rem;
}

.home-hero {
    padding: clamp(46px, 8vw, 92px) 0 58px;
}

.home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: clamp(38px, 6vw, 84px);
    align-items: center;
}

.home-hero h1 {
    max-width: 760px;
}

.home-hero__lead {
    max-width: 690px;
    font-size: clamp(1.04rem, 2vw, 1.2rem);
}

.home-hero .button-row {
    margin-top: 28px;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 34px 0 0;
}

.hero-facts > div {
    padding: 16px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
}

.hero-facts dt {
    color: var(--ink);
    font-weight: 900;
}

.hero-facts dd {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.hero-image-wrap {
    position: relative;
    max-width: 610px;
    margin-left: auto;
}

.hero-image-wrap::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 7% -7% -5% 8%;
    border-radius: 38px;
    background: linear-gradient(145deg, rgba(232, 93, 117, 0.18), rgba(242, 166, 90, 0.18));
    transform: rotate(4deg);
}

.hero-image-wrap > img {
    width: 100%;
    aspect-ratio: 1.15;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.hero-note {
    position: absolute;
    right: 20px;
    bottom: 18px;
    max-width: 320px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 18px;
    background: rgba(255, 249, 246, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

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

.hero-note strong {
    color: var(--ink);
    font-size: 0.93rem;
}

.hero-note span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.82rem;
}

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

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

.work-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 30px rgba(57, 34, 46, 0.045);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.work-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 63, 99, 0.24);
    box-shadow: 0 20px 42px rgba(57, 34, 46, 0.09);
}

.work-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--paper-2);
}

.work-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}

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

.work-card__status {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(47, 37, 48, 0.84);
    backdrop-filter: blur(7px);
    font-size: 0.72rem;
    font-weight: 800;
}

.work-card__body {
    padding: 19px 18px 20px;
}

.work-card__eyebrow {
    margin-bottom: 6px;
    color: var(--berry-deep);
    font-size: 0.77rem;
    font-weight: 800;
}

.work-card h3 {
    margin-bottom: 9px;
}

.work-card h3 a:hover {
    color: var(--berry-deep);
}

.work-card p {
    display: -webkit-box;
    margin-bottom: 15px;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 0.93rem;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.chip-list li {
    padding: 5px 9px;
    border-radius: 999px;
    color: #685d66;
    background: var(--paper-2);
    font-size: 0.73rem;
}

.chip-list--large {
    gap: 9px;
}

.chip-list--large li {
    padding: 7px 11px;
    font-size: 0.82rem;
}

.section-action {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.split-feature {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(36px, 6vw, 78px);
    align-items: center;
}

.split-feature__media img {
    width: 100%;
    aspect-ratio: 1.15;
    object-fit: cover;
    border-radius: 34px;
    box-shadow: var(--shadow-md);
}

.split-feature__content > p:not(.eyebrow) {
    font-size: 1.02rem;
}

.check-list {
    display: grid;
    gap: 11px;
    padding: 0;
    margin: 26px 0 30px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: #5f555d;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--berry);
    font-size: 0.73rem;
    font-weight: 900;
}

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

.format-panel {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
}

.format-panel--wide {
    grid-column: 1 / -1;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    padding: 22px;
}

.format-panel img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    border-radius: 18px;
}

.format-panel--wide img {
    min-height: 310px;
}

.mini-label {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--berry-deep);
    font-size: 0.76rem;
    font-weight: 800;
}

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

.compact-work {
    display: grid;
    grid-template-columns: minmax(210px, 1.3fr) minmax(110px, 0.6fr) minmax(220px, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    transition: color var(--transition), padding-left var(--transition);
}

.compact-work:hover {
    padding-left: 8px;
    color: var(--ink);
}

.compact-work__title {
    color: var(--ink);
    font-weight: 900;
}

.compact-work strong {
    color: var(--berry-deep);
    font-size: 0.83rem;
}

.device-bridge,
.keyboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: clamp(42px, 7vw, 90px);
    align-items: center;
}

.device-bridge img,
.keyboard-layout img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.bottom-index {
    display: grid;
    grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
    gap: 60px;
}

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

.bottom-index__links a {
    padding: 17px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.68);
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.bottom-index__links a:hover {
    transform: translateY(-2px);
    border-color: rgba(217, 63, 99, 0.22);
    background: var(--white);
}

.bottom-index__links strong,
.bottom-index__links span {
    display: block;
}

.bottom-index__links strong {
    color: var(--ink);
    font-size: 0.94rem;
}

.bottom-index__links span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.82rem;
}

.page-intro {
    padding: 34px 0 clamp(56px, 8vw, 90px);
}

.page-intro__grid,
.watch-hero,
.desktop-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    gap: clamp(36px, 6vw, 78px);
    align-items: center;
}

.page-intro img,
.watch-hero img,
.desktop-hero img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: var(--shadow-md);
}

.page-intro h1,
.watch-hero h1,
.desktop-hero h1 {
    font-size: clamp(2.45rem, 6vw, 4.6rem);
}

.breadcrumb {
    margin: 14px 0 34px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.82rem;
}

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

.breadcrumb a:hover {
    color: var(--berry-deep);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.filter-bar fieldset {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 0;
    margin: 0;
    border: 0;
}

.filter-bar legend {
    width: 100%;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 900;
}

.filter-pill {
    position: relative;
    cursor: pointer;
}

.filter-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter-pill span {
    display: inline-flex;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--muted);
    transition: all var(--transition);
}

.filter-pill input:checked + span {
    border-color: var(--berry);
    background: rgba(232, 93, 117, 0.11);
    color: var(--berry-deep);
    font-weight: 800;
}

.filter-pill input:focus-visible + span {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

.result-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.result-heading h2,
.result-heading p {
    margin-bottom: 0;
}

.result-heading h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.reading-key {
    display: grid;
    gap: 34px;
}

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

.reading-key__grid article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
}

.reading-key__grid article > span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--berry-deep);
    font-weight: 900;
}

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

.note-card {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
}

.note-card__index {
    display: inline-flex;
    margin-bottom: 17px;
    color: var(--berry);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.note-card p {
    margin-bottom: 0;
}

.browser-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 7vw, 84px);
    align-items: center;
}

.browser-layout__visual img {
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-md);
}

.detail-list {
    display: grid;
    gap: 0;
    margin: 24px 0 0;
}

.detail-list > div {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.detail-list dt {
    color: var(--ink);
    font-weight: 900;
}

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

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

.route-grid a {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(232, 93, 117, 0.06), rgba(242, 166, 90, 0.06)),
        var(--white);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.route-grid a:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 63, 99, 0.26);
    box-shadow: var(--shadow-sm);
}

.route-grid a > span {
    margin-bottom: auto;
    color: var(--berry-deep);
    font-size: 0.8rem;
    font-weight: 900;
}

.route-grid strong {
    color: var(--ink);
    font-size: 1.28rem;
}

.route-grid p {
    margin: 5px 0 0;
}

.faq-block {
    display: grid;
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(40px, 7vw, 86px);
    align-items: start;
}

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

.faq-list details {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    overflow: clip;
}

.faq-list summary {
    position: relative;
    padding: 18px 50px 18px 19px;
    color: var(--ink);
    cursor: pointer;
    font-weight: 900;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--berry-deep);
}

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

.faq-list details p {
    padding: 0 19px 19px;
    margin: 0;
}

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

.key-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.78);
}

kbd {
    display: inline-flex;
    min-width: 38px;
    justify-content: center;
    padding: 4px 8px;
    border: 1px solid rgba(255,255,255,0.28);
    border-bottom-width: 3px;
    border-radius: 7px;
    color: var(--white);
    background: rgba(255,255,255,0.08);
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 800;
}

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

.flow-list li {
    display: flex;
    gap: 15px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
}

.flow-list li > span {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--berry);
    color: var(--white);
    font-weight: 900;
}

.flow-list strong {
    color: var(--ink);
}

.flow-list p {
    margin: 4px 0 0;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        linear-gradient(120deg, rgba(232, 93, 117, 0.08), rgba(242, 166, 90, 0.08)),
        var(--white);
}

.cta-panel h2 {
    max-width: 760px;
    font-size: clamp(1.6rem, 3.2vw, 2.7rem);
}

.cta-panel p:last-child {
    margin-bottom: 0;
}

.detail-hero {
    padding: 26px 0 54px;
}

.detail-hero__grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(36px, 7vw, 84px);
    align-items: center;
}

.detail-cover {
    max-width: 520px;
}

.detail-cover img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 34px;
    box-shadow: var(--shadow-md);
}

.work-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.status-badge {
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--white);
    background: var(--berry-deep);
    font-weight: 900;
}

.detail-hero__copy h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
}

.detail-lead {
    max-width: 780px;
    color: #625660;
    font-size: clamp(1.03rem, 2vw, 1.16rem);
}

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

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: clamp(42px, 7vw, 90px);
    align-items: start;
}

.detail-article {
    min-width: 0;
}

.detail-article > h2 {
    max-width: 780px;
}

.detail-intro {
    max-width: 820px;
    color: #5d535b;
    font-size: 1.08rem;
}

.story-section {
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid var(--line);
}

.story-section h2 {
    font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.story-section p {
    max-width: 840px;
    font-size: 1rem;
}

.detail-aside {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: grid;
    gap: 16px;
}

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

.aside-panel h2 {
    margin-bottom: 8px;
    font-size: 1.12rem;
}

.aside-panel--soft {
    background: var(--paper-2);
}

.search-shell {
    max-width: 880px;
}

.search-form {
    margin-top: 30px;
}

.search-form > label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-weight: 900;
}

.search-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.search-form input {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    padding: 12px 14px;
    background: var(--white);
    color: var(--ink);
    outline: 0;
}

.search-form input:focus {
    border-color: var(--berry);
    box-shadow: 0 0 0 4px rgba(232, 93, 117, 0.10);
}

.search-suggestions {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
}

.search-suggestions h2 {
    font-size: 1.35rem;
}

.suggestion-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.suggestion-links a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--berry-deep);
    background: var(--paper-2);
    font-weight: 800;
    font-size: 0.86rem;
}

.empty-state {
    max-width: 760px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--white);
}

.empty-state h2 {
    font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.error-hero {
    padding: clamp(58px, 9vw, 110px) 0;
}

.error-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
    gap: 56px;
    align-items: center;
}

.error-hero img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #2b222c;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(170px, 0.6fr) minmax(170px, 0.6fr);
    gap: 48px;
    padding-top: 58px;
    padding-bottom: 46px;
}

.brand-mark--footer .brand-mark__text strong {
    color: var(--white);
}

.brand-mark--footer .brand-mark__text small {
    max-width: 400px;
    color: rgba(255,255,255,0.65);
}

.footer-brand > p {
    max-width: 560px;
    margin: 20px 0 0;
    color: rgba(255,255,255,0.62);
}

.footer-title {
    margin-bottom: 16px;
    color: var(--white);
    font-size: 0.92rem;
    letter-spacing: 0.06em;
}

.footer-links {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 26px;
    border-top: 1px solid rgba(255,255,255,0.10);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
}

@media (max-width: 1080px) {
    :root {
        --header-h: 72px;
    }

    .header-search {
        display: none;
    }

    .home-hero__grid,
    .page-intro__grid,
    .watch-hero,
    .desktop-hero {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
        gap: 42px;
    }

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

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

    .format-panel {
        grid-template-columns: 145px minmax(0, 1fr);
    }

    .compact-work {
        grid-template-columns: minmax(200px, 1.2fr) 110px minmax(170px, 1fr) auto;
    }
}

@media (max-width: 820px) {
    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .site-header__inner {
        min-height: var(--header-h);
    }

    .brand-mark__text small {
        display: none;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .primary-nav {
        position: fixed;
        z-index: 90;
        inset: var(--header-h) 0 auto 0;
        max-height: calc(100dvh - var(--header-h));
        display: grid;
        align-content: start;
        gap: 4px;
        padding: 14px;
        overflow: auto;
        background: rgba(255, 249, 246, 0.98);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 30px 60px rgba(47, 37, 48, 0.14);
        transform: translateY(-115%);
        opacity: 0;
        pointer-events: none;
        transition: transform 220ms ease, opacity 180ms ease;
    }

    .primary-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .primary-nav > a {
        padding: 13px 14px;
    }

    .header-search {
        display: flex;
        width: 100%;
        margin: 8px 0 0;
        border-radius: 14px;
    }

    .header-search input {
        width: 100%;
    }

    .home-hero__grid,
    .page-intro__grid,
    .watch-hero,
    .desktop-hero,
    .split-feature,
    .device-bridge,
    .keyboard-layout,
    .browser-layout,
    .detail-hero__grid,
    .detail-layout,
    .error-hero__inner {
        grid-template-columns: 1fr;
    }

    .home-hero__visual {
        max-width: 660px;
    }

    .hero-image-wrap {
        margin-left: 0;
    }

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

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

    .format-panel--wide {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .format-panel {
        grid-template-columns: 170px minmax(0, 1fr);
    }

    .format-panel--wide img {
        min-height: 260px;
    }

    .compact-work {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px 18px;
    }

    .compact-work > span:nth-child(2),
    .compact-work > span:nth-child(3) {
        font-size: 0.82rem;
    }

    .compact-work > span:nth-child(3) {
        grid-column: 1 / 2;
    }

    .compact-work strong {
        grid-column: 2;
        grid-row: 1;
    }

    .bottom-index {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .reading-key__grid,
    .flow-list,
    .route-grid {
        grid-template-columns: 1fr;
    }

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

    .detail-cover {
        max-width: 460px;
    }

    .detail-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }

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

@media (max-width: 620px) {
    .home-hero {
        padding-top: 34px;
    }

    h1,
    .page-intro h1,
    .watch-hero h1,
    .desktop-hero h1,
    .detail-hero__copy h1 {
        font-size: clamp(2.2rem, 11vw, 3.45rem);
    }

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

    .hero-note {
        position: static;
        max-width: none;
        margin-top: 12px;
    }

    .work-grid,
    .work-grid--featured {
        grid-template-columns: 1fr;
    }

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

    .work-card__media {
        aspect-ratio: auto;
        min-height: 100%;
    }

    .work-card__body {
        padding: 16px;
    }

    .work-card p {
        -webkit-line-clamp: 2;
        font-size: 0.88rem;
    }

    .chip-list {
        display: none;
    }

    .format-panel,
    .format-panel--wide {
        grid-template-columns: 1fr;
    }

    .format-panel img,
    .format-panel--wide img {
        min-height: 220px;
        max-height: 320px;
    }

    .bottom-index__links,
    .note-grid,
    .detail-aside {
        grid-template-columns: 1fr;
    }

    .detail-list > div {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    .search-form__row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 7px;
    }
}

@media (max-width: 440px) {
    .shell {
        width: min(calc(100% - 22px), var(--shell));
    }

    .brand-mark img {
        width: 42px;
    }

    .button-row {
        align-items: stretch;
        flex-direction: column;
    }

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

    .work-card {
        grid-template-columns: 112px minmax(0, 1fr);
        border-radius: 18px;
    }

    .work-card__status {
        top: 8px;
        left: 8px;
    }

    .work-card__body {
        padding: 14px;
    }

    .work-card h3 {
        font-size: 1.05rem;
    }

    .work-card__eyebrow {
        font-size: 0.69rem;
    }

    .section,
    .section--tight {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .route-grid a {
        min-height: 175px;
    }

    .cta-panel,
    .empty-state {
        padding: 22px;
        border-radius: 22px;
    }
}

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