:root {
    --red: #B93A4A;
    --rose: #D9828D;
    --ink: #2B2528;
    --paper: #FFF9F7;
    --soft: #F6ECEB;
    --text: #332D2F;
    --muted: #756B6E;
    --accent: #E45B4F;
    --white: #ffffff;
    --line: rgba(43, 37, 40, 0.12);
    --line-strong: rgba(43, 37, 40, 0.2);
    --shadow-sm: 0 10px 30px rgba(58, 37, 42, 0.08);
    --shadow-md: 0 24px 60px rgba(58, 37, 42, 0.12);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-pill: 999px;
    --container: 1180px;
    --reading: 780px;
    --header-height: 82px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-width: 0;
    background: var(--paper);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 17px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}

body.is-locked {
    overflow: hidden;
}

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

button,
input {
    font: inherit;
}

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

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--red);
}

button {
    cursor: pointer;
}

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

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

h1 {
    margin-bottom: 24px;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    font-weight: 760;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    font-weight: 740;
}

h3 {
    margin-bottom: 12px;
    font-size: 1.28rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.1em;
}

strong {
    color: var(--ink);
}

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

.content-narrow {
    width: min(100%, var(--reading));
    margin-inline: auto;
}

.content-narrow--inverse,
.content-narrow--inverse h2,
.content-narrow--inverse strong {
    color: var(--white);
}

.section-pad {
    padding-block: 96px;
}

.section-pad--top {
    padding-top: 46px;
}

.section-soft {
    background: var(--soft);
}

.section-rose {
    background: rgba(217, 130, 141, 0.16);
}

.section-ink {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.82);
}

.section-ink h1,
.section-ink h2,
.section-ink h3,
.section-ink strong {
    color: var(--white);
}

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

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 9999;
    transform: translateY(-180%);
    border-radius: var(--radius-pill);
    background: var(--ink);
    color: var(--white);
    padding: 10px 16px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

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

.eyebrow {
    margin-bottom: 10px;
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 760;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-ink .eyebrow,
.section-heading--inverse .eyebrow,
.image-copy-grid--inverse .eyebrow {
    color: #f3a7b0;
}

.lead,
.hero-lead {
    color: var(--muted);
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
    line-height: 1.75;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-height);
    border-bottom: 1px solid rgba(43, 37, 40, 0.08);
    background: rgba(255, 249, 247, 0.94);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--ink);
    text-decoration: none;
}

.brand-lockup:hover {
    color: var(--ink);
}

.brand-lockup img {
    flex: 0 0 auto;
    width: 48px;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 14px;
}

.brand-lockup__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-lockup__text strong {
    font-size: 1.12rem;
    line-height: 1.1;
}

.brand-lockup__text small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.74rem;
    white-space: nowrap;
}

.primary-nav {
    justify-self: center;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding-inline: 11px;
    border-radius: var(--radius-pill);
    color: var(--muted);
    font-size: 0.91rem;
    font-weight: 620;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.is-active {
    background: rgba(185, 58, 74, 0.09);
    color: var(--red);
}

.search-trigger {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--ink);
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 650;
}

.search-trigger:hover {
    border-color: rgba(185, 58, 74, 0.4);
    color: var(--red);
}

.search-trigger__icon {
    position: relative;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.search-trigger__icon::after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: -3px;
    width: 7px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: left center;
}

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

.menu-toggle > span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.search-modal[hidden] {
    display: none !important;
}

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: start center;
    padding: 9vh 24px 24px;
}

.search-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(43, 37, 40, 0.56);
    backdrop-filter: blur(8px);
}

.search-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 720px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: 0 32px 90px rgba(43, 37, 40, 0.26);
    padding: 42px;
}

.search-dialog h2 {
    margin-bottom: 10px;
}

.search-dialog > p:not(.eyebrow) {
    color: var(--muted);
}

.search-dialog__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-size: 1.6rem;
    line-height: 1;
}

.search-form label,
.search-page-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 700;
}

.search-form__row,
.search-page-form > div {
    display: flex;
    gap: 10px;
}

.search-form input,
.search-page-form input {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: var(--white);
    color: var(--text);
    padding: 0 16px;
    outline: none;
}

.search-form input:focus,
.search-page-form input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(185, 58, 74, 0.1);
}

.search-form button {
    flex: 0 0 auto;
    min-height: 52px;
    border: 0;
    border-radius: 14px;
    background: var(--red);
    color: var(--white);
    padding: 0 20px;
    font-weight: 700;
}

.search-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.search-quicklinks a {
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--muted);
    padding: 6px 12px;
    font-size: 0.84rem;
    text-decoration: none;
}

.search-quicklinks a:hover {
    border-color: rgba(185, 58, 74, 0.35);
    color: var(--red);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 84px;
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    top: -220px;
    border: 1px solid rgba(185, 58, 74, 0.16);
    border-radius: 50%;
    box-shadow: inset 0 0 0 80px rgba(217, 130, 141, 0.05), inset 0 0 0 160px rgba(185, 58, 74, 0.035);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 72px;
    align-items: center;
}

.hero-copy h1 {
    max-width: 760px;
    font-size: clamp(2.7rem, 5.4vw, 5.2rem);
}

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

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    padding: 10px 19px;
    font-size: 0.93rem;
    font-weight: 720;
    text-align: center;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button--primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 12px 30px rgba(185, 58, 74, 0.18);
}

.button--primary:hover {
    background: #a63140;
    color: var(--white);
}

.button--secondary {
    border-color: rgba(185, 58, 74, 0.22);
    background: rgba(185, 58, 74, 0.08);
    color: var(--red);
}

.button--secondary:hover {
    border-color: rgba(185, 58, 74, 0.38);
    color: var(--red);
}

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

.button--ghost:hover {
    border-color: rgba(185, 58, 74, 0.38);
    color: var(--red);
}

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

.button--light:hover {
    color: var(--red);
}

.button--outline-light {
    border-color: rgba(255, 255, 255, 0.28);
    background: transparent;
    color: var(--white);
}

.button--outline-light:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 34px 0 0;
}

.hero-facts div {
    min-width: 180px;
}

.hero-facts dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-facts dd {
    margin: 3px 0 0;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 650;
}

.hero-media {
    position: relative;
    min-width: 0;
}

.hero-media__frame {
    overflow: hidden;
    border: 1px solid rgba(185, 58, 74, 0.12);
    border-radius: 38px 38px 110px 38px;
    background: var(--soft);
    box-shadow: var(--shadow-md);
}

.hero-media__frame img {
    width: 100%;
    aspect-ratio: 1.18;
    object-fit: cover;
}

.hero-note {
    position: absolute;
    left: -34px;
    bottom: 28px;
    width: min(330px, 82%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    background: rgba(255, 249, 247, 0.94);
    box-shadow: var(--shadow-sm);
    padding: 18px 20px;
    backdrop-filter: blur(12px);
}

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

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

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

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

.section-heading--split > p,
.section-heading > p:last-child {
    color: var(--muted);
}

.section-heading--inverse {
    color: rgba(255, 255, 255, 0.72);
}

.section-heading--inverse h2 {
    color: var(--white);
}

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

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

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

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

.link-card {
    position: relative;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.74);
    padding: 26px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(185, 58, 74, 0.24);
    box-shadow: var(--shadow-sm);
}

.link-card h3 a {
    text-decoration: none;
}

.link-card > p:not(.eyebrow):not(.card-meta) {
    color: var(--muted);
    font-size: 0.95rem;
}

.link-card .card-meta {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.link-card-grid--dark .link-card {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.link-card-grid--dark .link-card h3,
.link-card-grid--dark .link-card h3 a,
.link-card-grid--dark .link-card .text-link {
    color: var(--white);
}

.link-card-grid--dark .link-card > p:not(.eyebrow):not(.card-meta),
.link-card-grid--dark .link-card .card-meta {
    color: rgba(255, 255, 255, 0.66);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--red);
    font-size: 0.9rem;
    font-weight: 680;
    text-decoration: none;
}

.text-link--strong {
    font-size: 0.96rem;
    font-weight: 730;
}

.split-feature {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
    gap: 68px;
    align-items: center;
}

.split-feature__media {
    position: relative;
}

.split-feature__media::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 26px;
    bottom: -18px;
    width: 45%;
    border-radius: 28px;
    background: rgba(217, 130, 141, 0.22);
}

.split-feature__media img {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 1.05;
    object-fit: cover;
}

.feature-list {
    display: grid;
    gap: 0;
    margin: 30px 0 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.feature-list li {
    display: grid;
    grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
    gap: 28px;
    padding: 21px 0;
    border-bottom: 1px solid var(--line);
}

.feature-list strong {
    font-size: 0.98rem;
}

.feature-list span {
    color: var(--muted);
    font-size: 0.93rem;
}

.editorial-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 60px;
    align-items: center;
}

.editorial-band--reverse {
    grid-template-columns: minmax(420px, 1.1fr) minmax(0, 0.9fr);
}

.editorial-band--reverse .editorial-band__copy {
    order: 2;
}

.editorial-band img {
    width: 100%;
    border-radius: 22px 70px 22px 22px;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 1.35;
    object-fit: cover;
}

.editorial-band--reverse img {
    border-radius: 70px 22px 22px 22px;
}

.image-copy-grid {
    display: grid;
    grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr);
    gap: 62px;
    align-items: center;
}

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

.image-copy-grid img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
}

.image-copy-grid--inverse .image-copy-grid__copy,
.image-copy-grid--inverse .image-copy-grid__copy h2 {
    color: var(--white);
}

.image-copy-grid--inverse .image-copy-grid__copy p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.72);
}

.faq-home-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    gap: 64px;
    align-items: start;
}

.faq-home-grid__intro {
    position: sticky;
    top: calc(var(--header-height) + 32px);
}

.faq-home-grid__intro img {
    width: 100%;
    margin: 28px 0 18px;
    border-radius: var(--radius-md);
    aspect-ratio: 1.35;
    object-fit: cover;
}

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

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 0;
    background: transparent;
    color: var(--ink);
    padding: 23px 0;
    text-align: left;
    font-weight: 690;
}

.faq-question:hover {
    color: var(--red);
}

.faq-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--red);
    transition: transform 0.18s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 54px 22px 0;
}

.faq-answer p {
    margin: 0;
    color: var(--muted);
}

.about-strip {
    display: grid;
    grid-template-columns: minmax(330px, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: center;
}

.about-strip img {
    width: 100%;
    border-radius: 50px 20px 50px 20px;
    aspect-ratio: 1.25;
    object-fit: cover;
}

.about-strip--compact {
    grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
}

.inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 24px;
}

.inline-links a {
    color: var(--red);
    font-weight: 690;
    text-decoration: none;
}

.inline-links--boxed a {
    border: 1px solid rgba(185, 58, 74, 0.18);
    border-radius: var(--radius-pill);
    background: rgba(185, 58, 74, 0.06);
    padding: 8px 13px;
}

.breadcrumbs {
    margin-bottom: 34px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.83rem;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    color: rgba(117, 107, 110, 0.6);
}

.breadcrumbs a {
    text-decoration: none;
}

.page-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    gap: 66px;
    align-items: center;
    padding-bottom: 54px;
    border-bottom: 1px solid var(--line);
}

.page-intro h1 {
    max-width: 840px;
    font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.page-intro__media img {
    width: 100%;
    border-radius: 28px 28px 82px 28px;
    aspect-ratio: 1.2;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.notice {
    margin-top: 28px;
    border: 1px solid var(--line);
    border-left-width: 4px;
    border-radius: var(--radius-sm);
    background: var(--white);
    padding: 18px 20px;
}

.notice strong {
    display: block;
    margin-bottom: 4px;
}

.notice p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.notice--accent {
    border-left-color: var(--accent);
    background: rgba(228, 91, 79, 0.05);
}

.two-column-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 68px;
    align-items: start;
}

.two-column-layout--wide {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}

.sticky-media-card {
    position: sticky;
    top: calc(var(--header-height) + 28px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.sticky-media-card img {
    width: 100%;
    aspect-ratio: 1.22;
    object-fit: cover;
}

.sticky-media-card p {
    margin: 0;
    padding: 20px 22px 22px;
    color: var(--muted);
    font-size: 0.9rem;
}

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

.metric-card-stack article {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    align-items: baseline;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    padding: 22px 24px;
}

.metric-card-stack strong {
    color: var(--red);
}

.metric-card-stack span {
    color: var(--muted);
    font-size: 0.9rem;
}

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

.step-list li {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.7);
    padding: 22px;
}

.step-number {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 34px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 760;
}

.step-list h3 {
    font-size: 1.05rem;
}

.step-list p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

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

.comparison-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    padding: 34px;
}

.comparison-panel--accent {
    border-color: rgba(185, 58, 74, 0.26);
    background: rgba(217, 130, 141, 0.11);
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 24px 0 28px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 27px;
    color: var(--muted);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--red);
    font-weight: 800;
}

.guide-flow {
    display: grid;
    gap: 0;
}

.guide-flow__item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 28px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
}

.guide-flow__item:first-child {
    border-top: 1px solid var(--line);
}

.guide-flow__index {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--red);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
}

.guide-flow__content h2 {
    font-size: clamp(1.45rem, 2.5vw, 2.2rem);
}

.guide-flow__content > p {
    color: var(--muted);
}

.compact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.compact-list li {
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--muted);
    padding: 6px 11px;
    font-size: 0.82rem;
}

.centered-action {
    margin-top: 34px;
    text-align: center;
}

.faq-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 74px;
    align-items: start;
}

.faq-layout__aside {
    position: sticky;
    top: calc(var(--header-height) + 32px);
}

.faq-layout__aside h2 {
    font-size: 1.55rem;
}

.topic-link-list {
    display: grid;
    gap: 10px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.topic-link-list a {
    display: block;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    padding: 15px 16px;
    text-decoration: none;
}

.topic-link-list strong,
.topic-link-list span {
    display: block;
}

.topic-link-list span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.8rem;
}

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

.editorial-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    padding: 30px;
}

.editorial-card--large {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
}

.editorial-card p:not(.eyebrow) {
    color: var(--muted);
}

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

.safety-card {
    min-width: 0;
    border-top: 3px solid rgba(185, 58, 74, 0.65);
    background: var(--soft);
    padding: 26px;
}

.safety-card__index {
    display: block;
    margin-bottom: 24px;
    color: var(--rose);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.safety-card h2 {
    font-size: 1.28rem;
}

.safety-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.privacy-card {
    min-width: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.58);
    padding: 34px;
}

.privacy-card h2 {
    font-size: 1.35rem;
}

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

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

.contact-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    padding: 30px;
}

.contact-card h2 {
    font-size: 1.4rem;
}

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

.card-meta {
    color: var(--muted);
    font-size: 0.8rem;
}

.numbered-copy-list {
    display: grid;
    gap: 0;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: feedback;
}

.numbered-copy-list li {
    position: relative;
    counter-increment: feedback;
    display: grid;
    gap: 4px;
    padding: 20px 0 20px 54px;
    border-bottom: 1px solid var(--line);
}

.numbered-copy-list li::before {
    content: counter(feedback, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 19px;
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 800;
}

.numbered-copy-list span {
    color: var(--muted);
    font-size: 0.9rem;
}

.search-page-head {
    max-width: 860px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--line);
}

.search-page-head h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.search-page-head > p:not(.eyebrow) {
    color: var(--muted);
}

.search-page-form {
    margin-top: 28px;
}

.search-page-form .button {
    flex: 0 0 auto;
}

.results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.results-head h2 {
    margin-bottom: 0;
    font-size: 1.6rem;
}

.results-head p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.search-results {
    display: grid;
    gap: 14px;
}

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

.search-result h2 {
    font-size: 1.45rem;
}

.search-result h2 a {
    text-decoration: none;
}

.search-result > p:not(.eyebrow) {
    color: var(--muted);
}

.empty-state {
    max-width: 760px;
    margin-bottom: 36px;
    border-left: 4px solid var(--rose);
    background: var(--soft);
    padding: 24px 26px;
}

.empty-state h2 {
    margin-bottom: 8px;
    font-size: 1.45rem;
}

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

.not-found {
    min-height: calc(100vh - var(--header-height) - 320px);
    display: grid;
    align-items: center;
}

.not-found__inner {
    max-width: 820px;
    text-align: center;
}

.not-found__code {
    margin-bottom: 10px;
    color: rgba(185, 58, 74, 0.18);
    font-size: clamp(5.5rem, 18vw, 12rem);
    font-weight: 850;
    line-height: 0.9;
    letter-spacing: -0.08em;
}

.not-found h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
}

.not-found__inner > p:not(.eyebrow) {
    color: var(--muted);
}

.button-row--center {
    justify-content: center;
}

.site-footer {
    border-top: 1px solid rgba(43, 37, 40, 0.08);
    background: #efe2e1;
    padding: 70px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1.4fr) repeat(3, minmax(130px, 0.6fr));
    gap: 48px;
}

.footer-brand p {
    max-width: 500px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.brand-lockup--footer small {
    color: var(--muted);
}

.footer-group h2 {
    margin-bottom: 14px;
    font-size: 0.93rem;
    letter-spacing: 0;
}

.footer-group ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-group a {
    color: var(--muted);
    font-size: 0.86rem;
    text-decoration: none;
}

.footer-group a:hover {
    color: var(--red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    margin-top: 52px;
    padding-top: 20px;
    border-top: 1px solid rgba(43, 37, 40, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 800;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(185, 58, 74, 0.18);
    border-radius: 50%;
    background: rgba(255, 249, 247, 0.94);
    color: var(--red);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 1200px) {
    :root {
        --container: 1080px;
    }

    .site-header__inner {
        gap: 18px;
    }

    .nav-link {
        padding-inline: 8px;
        font-size: 0.86rem;
    }

    .search-trigger span:last-child {
        display: none;
    }

    .hero-grid {
        gap: 50px;
    }

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

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

@media (max-width: 1024px) {
    :root {
        --header-height: 74px;
    }

    .site-header__inner {
        grid-template-columns: auto auto 1fr auto;
    }

    .menu-toggle {
        display: block;
        grid-column: 4;
        grid-row: 1;
    }

    .search-trigger {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .primary-nav {
        position: absolute;
        left: 24px;
        right: 24px;
        top: calc(100% + 8px);
        display: none;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        background: var(--paper);
        box-shadow: var(--shadow-md);
        padding: 14px;
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
    }

    .hero-grid,
    .page-intro,
    .split-feature,
    .editorial-band,
    .editorial-band--reverse,
    .image-copy-grid,
    .image-copy-grid--balanced,
    .about-strip,
    .about-strip--compact,
    .two-column-layout,
    .two-column-layout--wide {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 46px;
    }

    .hero-copy h1 {
        max-width: 900px;
    }

    .hero-media {
        max-width: 760px;
        margin-inline: auto;
    }

    .hero-note {
        left: 20px;
    }

    .split-feature__media,
    .editorial-band img,
    .about-strip img,
    .page-intro__media {
        max-width: 760px;
        margin-inline: auto;
    }

    .editorial-band--reverse .editorial-band__copy {
        order: initial;
    }

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

    .faq-home-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .faq-home-grid__intro,
    .faq-layout__aside,
    .sticky-media-card {
        position: static;
    }

    .faq-home-grid__intro img {
        max-width: 580px;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

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

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

    .footer-grid {
        grid-template-columns: 1.4fr repeat(2, minmax(150px, 0.6fr));
    }

    .footer-brand {
        grid-row: span 2;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

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

    .section-pad {
        padding-block: 72px;
    }

    .section-pad--top {
        padding-top: 30px;
    }

    .brand-lockup__text small {
        display: none;
    }

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

    .hero-section {
        padding-top: 58px;
    }

    .hero-actions,
    .button-row {
        align-items: stretch;
    }

    .hero-actions .button {
        flex: 1 1 220px;
    }

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

    .hero-facts div {
        min-width: 0;
        border-top: 1px solid var(--line);
        padding-top: 12px;
    }

    .hero-note {
        position: relative;
        left: auto;
        bottom: auto;
        width: calc(100% - 28px);
        margin: -30px auto 0;
    }

    .link-card-grid--two,
    .link-card-grid--three,
    .link-card-grid--four,
    .comparison-grid,
    .editorial-grid,
    .privacy-grid {
        grid-template-columns: 1fr;
    }

    .feature-list li {
        grid-template-columns: 1fr;
        gap: 5px;
    }

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

    .editorial-card--large {
        grid-row: auto;
        padding: 30px;
    }

    .guide-flow__item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 18px;
    }

    .guide-flow__index {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .safety-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
        grid-row: auto;
    }

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

    .search-dialog {
        padding: 34px 24px 26px;
    }

    .search-form__row,
    .search-page-form > div {
        flex-direction: column;
    }

    .search-form button,
    .search-page-form .button {
        width: 100%;
    }
}

@media (max-width: 600px) {
    :root {
        --header-height: 68px;
    }

    .site-header__inner {
        grid-template-columns: auto 1fr auto;
    }

    .brand-lockup {
        grid-column: 1;
    }

    .search-trigger {
        grid-column: 2;
        justify-self: end;
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
    }

    .menu-toggle {
        grid-column: 3;
    }

    .primary-nav {
        left: 16px;
        right: 16px;
    }

    .primary-nav ul {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .page-intro h1 {
        font-size: clamp(2.2rem, 12vw, 3.6rem);
    }

    .hero-media__frame {
        border-radius: 26px 26px 72px 26px;
    }

    .hero-actions .button,
    .button-row .button {
        flex: 1 1 100%;
    }

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

    .link-card,
    .comparison-panel,
    .privacy-card,
    .contact-card,
    .safety-card {
        padding: 22px;
    }

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

    .step-list li {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 16px;
        align-items: start;
    }

    .step-number {
        margin-bottom: 0;
    }

    .guide-flow__item {
        grid-template-columns: 1fr;
    }

    .guide-flow__index {
        margin-bottom: 2px;
    }

    .topic-link-list {
        grid-template-columns: 1fr;
    }

    .results-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

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

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

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 375px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .brand-lockup__text strong {
        font-size: 1rem;
    }

    .brand-lockup img {
        width: 38px;
    }

    .search-trigger,
    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .section-pad {
        padding-block: 60px;
    }

    .search-modal {
        padding-inline: 12px;
    }

    .search-dialog {
        padding: 32px 18px 22px;
        border-radius: 22px;
    }

    .hero-copy h1,
    .page-intro h1 {
        font-size: 2.15rem;
    }

    .hero-note {
        width: calc(100% - 14px);
    }

    .link-card,
    .comparison-panel,
    .privacy-card,
    .contact-card,
    .safety-card,
    .editorial-card,
    .editorial-card--large {
        padding: 20px;
    }

    .faq-question {
        gap: 12px;
    }

    .faq-answer {
        padding-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
