:root {
  --brand: #E85D75;
  --brand-strong: #D93F63;
  --warm: #F2A65A;
  --ink: #2F2530;
  --text: #332D34;
  --muted: #756A73;
  --paper: #FFF9F6;
  --soft: #F8EEF0;
  --white: #FFFFFF;
  --line: rgba(47, 37, 48, 0.12);
  --line-strong: rgba(47, 37, 48, 0.2);
  --shadow-sm: 0 12px 30px rgba(80, 51, 60, 0.08);
  --shadow-md: 0 24px 70px rgba(80, 51, 60, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --shell: 1180px;
  --ease: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

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

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

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

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

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

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

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

h1 {
  font-size: clamp(2.45rem, 5vw, 5rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
}

h3 {
  font-size: clamp(1.06rem, 1.6vw, 1.34rem);
}

::selection {
  color: var(--white);
  background: var(--brand-strong);
}

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

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

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

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

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

.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(217, 63, 99, 0.18);
}

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

.brand-mark__text strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

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

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
  transition: color var(--ease), background-color var(--ease), transform var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-strong);
  background: rgba(232, 93, 117, 0.1);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: var(--white);
}

.menu-toggle__label {
  font-weight: 700;
  font-size: 0.9rem;
}

.menu-toggle__icon {
  display: grid;
  gap: 3px;
  width: 18px;
}

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

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

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

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

.eyebrow {
  margin-bottom: 12px;
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 800;
  line-height: 1;
  transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), border-color var(--ease), color var(--ease);
}

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

.button--primary {
  color: var(--white);
  background: var(--brand-strong);
  box-shadow: 0 14px 28px rgba(217, 63, 99, 0.18);
}

.button--primary:hover {
  color: var(--white);
  background: #C83356;
  box-shadow: 0 16px 36px rgba(217, 63, 99, 0.24);
}

.button--ghost {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.76);
}

.button--ghost:hover {
  color: var(--brand-strong);
  border-color: rgba(217, 63, 99, 0.3);
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-strong);
  font-weight: 760;
}

.text-link::after {
  content: "→";
  transition: transform var(--ease);
}

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

.text-link--strong {
  font-weight: 850;
}

.text-link--light {
  color: #FFD9E1;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 9vw, 122px) 0 74px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -15% auto auto -12%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(242, 166, 90, 0.16);
  filter: blur(6px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: 0;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(232, 93, 117, 0.12);
  filter: blur(8px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.97fr);
  align-items: center;
  gap: clamp(46px, 7vw, 92px);
}

.hero__copy h1 {
  max-width: 760px;
  margin-bottom: 24px;
}

.hero__lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.22rem);
}

.hero__actions,
.subhero__actions,
.inline-actions,
.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

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

.hero__facts li {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

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

.hero__facts strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.93rem;
}

.hero__facts span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.hero-poster {
  position: relative;
  margin: 0;
  border-radius: 36px;
  background: var(--soft);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-poster::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to top, rgba(47, 37, 48, 0.72), transparent 52%);
  pointer-events: none;
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 1.16 / 1;
  object-fit: cover;
}

.hero-poster figcaption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: var(--white);
  background: rgba(47, 37, 48, 0.5);
  backdrop-filter: blur(10px);
}

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

.hero-poster figcaption span {
  margin-bottom: 5px;
  color: #FFE6EB;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hero-poster figcaption strong {
  font-size: 1.04rem;
}

.section {
  padding: clamp(70px, 8vw, 112px) 0;
}

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

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

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

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

.section-heading h2 {
  margin-bottom: 14px;
}

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

.section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section-heading--split > div {
  max-width: 760px;
}

.section-heading--split h2 {
  margin-bottom: 0;
}

.section-heading--split > div > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.section-heading--light > div > p:last-child,
.section-heading--light > p:last-child {
  color: rgba(255, 255, 255, 0.66);
}

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

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

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

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

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

.work-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 63, 99, 0.2);
  box-shadow: var(--shadow-sm);
}

.work-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--soft);
}

.work-card__media img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  transition: transform 320ms ease;
}

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

.work-card__status,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  color: var(--white);
  background: rgba(47, 37, 48, 0.82);
  font-size: 0.74rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.work-card__status {
  position: absolute;
  top: 12px;
  left: 12px;
}

.work-card__body {
  padding: 19px 19px 21px;
}

.work-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.work-card__meta span + span::before {
  content: "·";
  margin-right: 8px;
  color: var(--warm);
}

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

.work-card h3 a:hover {
  color: var(--brand-strong);
}

.work-card p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.work-card .text-link {
  font-size: 0.82rem;
}

.work-card--featured:nth-child(1) {
  grid-column: span 2;
}

.work-card--featured:nth-child(1) .work-card__media img {
  aspect-ratio: 2.1 / 1;
}

.work-card--featured:nth-child(1) .work-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 28px;
}

.work-card--featured:nth-child(1) .work-card__meta,
.work-card--featured:nth-child(1) h3,
.work-card--featured:nth-child(1) p {
  grid-column: 1;
}

.work-card--featured:nth-child(1) .text-link {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
  white-space: nowrap;
}

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

.path-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(217, 63, 99, 0.12);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(80, 51, 60, 0.05);
  overflow: hidden;
}

.path-card__number {
  display: block;
  margin-bottom: 42px;
  color: rgba(217, 63, 99, 0.2);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
}

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

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

.split-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}

.split-feature__visual {
  position: relative;
}

.split-feature__visual::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 45%;
  height: 45%;
  border-radius: 26px;
  background: var(--soft);
  z-index: -1;
}

.split-feature__visual img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.split-feature__content h2 {
  margin-bottom: 18px;
}

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

.mini-steps {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.mini-steps > div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.mini-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: var(--brand-strong);
  background: rgba(232, 93, 117, 0.1);
  font-weight: 900;
}

.mini-steps p {
  margin: 0;
  color: var(--muted);
}

.mini-steps strong {
  display: block;
  color: var(--ink);
}

.compact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.compact-story {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.compact-story__index {
  color: var(--warm);
  font-size: 2rem;
  line-height: 0.8;
}

.compact-story__meta {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  font-weight: 700;
}

.compact-story h3 {
  margin-bottom: 6px;
  color: var(--white);
}

.compact-story h3 a:hover {
  color: #FFD7DF;
}

.compact-story p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
}

.editorial-lead {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
}

.editorial-lead img {
  width: 100%;
  aspect-ratio: 1.8 / 1;
  object-fit: cover;
}

.editorial-lead > div {
  padding: 28px 30px 32px;
}

.editorial-lead h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
}

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

.editorial-side {
  display: grid;
  gap: 16px;
}

.side-story {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--soft);
}

.side-story > span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  color: var(--brand-strong);
  background: rgba(232, 93, 117, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
}

.side-story h3 {
  margin-bottom: 8px;
}

.side-story p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.device-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 86px);
}

.device-band__copy h2 {
  margin-bottom: 16px;
}

.device-band__copy p:not(.eyebrow) {
  color: var(--muted);
}

.device-band__visual img {
  width: 100%;
  border: 10px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
}

.index-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.index-panel__heading h2 {
  margin-bottom: 0;
}

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

.index-links a,
.browse-links__grid a,
.aside-links a {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  transition: transform var(--ease), border-color var(--ease), background-color var(--ease);
}

.index-links a:hover,
.browse-links__grid a:hover,
.aside-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 63, 99, 0.25);
  background: var(--white);
}

.index-links strong,
.browse-links__grid strong,
.aside-links strong {
  color: var(--ink);
}

.index-links span,
.browse-links__grid span,
.aside-links span {
  color: var(--muted);
  font-size: 0.82rem;
}

.subhero {
  padding: 52px 0 72px;
  background: linear-gradient(180deg, rgba(248, 238, 240, 0.8), rgba(255, 249, 246, 0));
}

.subhero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.subhero__copy h1 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4.7vw, 4.45rem);
}

.subhero__lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.06rem;
}

.subhero__visual img {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.subhero__visual--frame {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.subhero__visual--frame img {
  box-shadow: none;
}

.breadcrumbs {
  margin-bottom: 26px;
}

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

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.breadcrumbs li + li::before {
  content: "/";
  color: rgba(117, 106, 115, 0.55);
}

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

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

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

.guide-card__number {
  display: inline-block;
  margin-bottom: 38px;
  color: rgba(217, 63, 99, 0.24);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.guide-card h3 {
  min-height: 2.6em;
  margin-bottom: 12px;
}

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

.article-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

.article-split__main h2 {
  margin-bottom: 18px;
}

.article-split__main h3 {
  margin: 36px 0 13px;
}

.article-split__main > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.01rem;
}

.article-split__aside {
  position: sticky;
  top: 104px;
}

.article-split__aside img {
  width: 100%;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

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

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

.notice {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.notice strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

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

.notice--accent {
  border-color: rgba(217, 63, 99, 0.18);
  background: rgba(248, 238, 240, 0.82);
}

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

.type-panel {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  transition: transform var(--ease), background-color var(--ease), border-color var(--ease);
}

.type-panel:hover {
  transform: translateY(-4px);
  color: inherit;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.type-panel span {
  display: block;
  margin-bottom: 44px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
}

.type-panel strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.35;
}

.type-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
}

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

.faq-layout__heading {
  position: sticky;
  top: 108px;
}

.faq-layout__heading img {
  margin-top: 26px;
  border-radius: var(--radius-md);
}

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

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

.faq-item h3 {
  margin: 0;
}

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

.faq-item button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--brand-strong);
  background: rgba(232, 93, 117, 0.09);
  font-size: 1.2rem;
  transition: transform var(--ease);
}

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

.faq-item__panel {
  padding: 0 52px 22px 0;
}

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

.catalog-hero {
  padding: 48px 0 30px;
}

.catalog-hero__inner {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--soft);
}

.catalog-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 36px;
  align-items: center;
}

.catalog-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.catalog-hero p {
  margin-bottom: 0;
  color: var(--muted);
}

.catalog-hero img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.section--catalog {
  padding-top: 44px;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.filter-panel__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.filter-panel__heading h2,
.filter-panel__heading p {
  margin-bottom: 0;
}

.filter-panel__heading h2 {
  font-size: 1.25rem;
}

.filter-panel__heading p {
  color: var(--muted);
  font-size: 0.88rem;
}

.catalog-filter {
  display: grid;
  grid-template-columns: 170px 180px minmax(240px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.field-group {
  display: grid;
  gap: 7px;
}

.field-group label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

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

.field-group input:focus,
.field-group select:focus {
  border-color: rgba(217, 63, 99, 0.52);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(217, 63, 99, 0.08);
}

.filter-actions {
  display: flex;
  gap: 8px;
}

.filter-actions .button {
  min-height: 46px;
  white-space: nowrap;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.active-filters span {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  color: var(--brand-strong);
  background: rgba(232, 93, 117, 0.09);
  font-size: 0.76rem;
  font-weight: 800;
}

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

.empty-state {
  padding: 70px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  text-align: center;
}

.empty-state__mark {
  margin-bottom: 12px;
  color: rgba(217, 63, 99, 0.28);
  font-size: 4rem;
  line-height: 1;
}

.empty-state h2 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.empty-state p {
  max-width: 540px;
  margin: 0 auto 22px;
  color: var(--muted);
}

.browse-links {
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) minmax(0, 1.5fr);
  gap: 38px;
}

.browse-links h2 {
  margin-bottom: 0;
}

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

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

.desktop-feature-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.desktop-feature-card > span {
  display: block;
  margin-bottom: 44px;
  color: rgba(217, 63, 99, 0.26);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.desktop-feature-card h3 {
  margin-bottom: 10px;
}

.desktop-feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.desktop-flow {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 7vw, 82px);
  align-items: center;
}

.desktop-flow__visual img {
  width: 100%;
  aspect-ratio: 1.26 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.desktop-flow__copy h2 {
  margin-bottom: 26px;
}

.numbered-flow {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
}

.numbered-flow li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.numbered-flow li:last-child {
  border-bottom: 1px solid var(--line);
}

.numbered-flow span {
  color: var(--brand-strong);
  font-weight: 900;
}

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

.numbered-flow p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.keyboard-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: center;
}

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

.keyboard-section > div:first-child > p:last-child {
  color: rgba(255, 255, 255, 0.64);
}

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

.key-grid > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.key-grid kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom-width: 3px;
  border-radius: 9px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.key-grid span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}

.work-hero {
  padding: 46px 0 34px;
}

.work-hero__grid {
  display: grid;
  grid-template-columns: minmax(350px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
}

.work-hero__media {
  position: relative;
}

.work-hero__media img {
  width: 100%;
  aspect-ratio: 1.24 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.status-pill--large {
  position: absolute;
  top: 18px;
  left: 18px;
  min-height: 34px;
  padding-inline: 14px;
}

.work-hero__content h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

.work-hero__tagline {
  color: var(--muted);
  font-size: 1.08rem;
}

.work-meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0;
}

.work-meta-row > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.work-meta-row span,
.work-meta-row strong {
  display: block;
}

.work-meta-row span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.work-meta-row strong {
  color: var(--ink);
  font-size: 0.88rem;
}

.work-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.prose-card {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.prose-card h2 {
  margin-bottom: 18px;
}

.prose-card h3 {
  margin: 34px 0 12px;
}

.prose-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.01rem;
  line-height: 1.9;
}

.work-reading-layout__aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
}

.highlight-card {
  padding: 24px;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--ink);
}

.highlight-card__label {
  display: block;
  margin-bottom: 18px;
  color: var(--warm);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.highlight-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin-bottom: 0;
}

.highlight-card li {
  color: rgba(255, 255, 255, 0.76);
}

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

.error-page {
  min-height: 64vh;
  display: grid;
  align-items: center;
  padding: 84px 0;
}

.error-page__inner {
  max-width: 760px;
  text-align: center;
}

.error-page__code {
  display: block;
  margin-bottom: 12px;
  color: rgba(217, 63, 99, 0.24);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.error-page h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.error-page p {
  max-width: 620px;
  margin: 0 auto 26px;
  color: var(--muted);
}

.error-page__actions {
  justify-content: center;
}

.site-footer {
  padding: 58px 0 26px;
  border-top: 1px solid var(--line);
  background: #FFF5F2;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.5fr) minmax(240px, 0.7fr);
  gap: 46px;
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer__brand p,
.site-footer__note p {
  max-width: 500px;
  margin-bottom: 0;
}

.site-footer__nav ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

body.menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero__grid,
  .subhero__grid,
  .work-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
  }

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

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

  .catalog-filter {
    grid-template-columns: 150px 160px minmax(220px, 1fr);
  }

  .filter-actions {
    grid-column: 1 / -1;
  }
}

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

  .site-header__inner {
    min-height: 70px;
  }

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

  .site-nav {
    position: fixed;
    z-index: 99;
    top: 70px;
    right: 15px;
    left: 15px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--ease), visibility var(--ease), transform var(--ease);
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav ul {
    display: grid;
    gap: 4px;
  }

  .site-nav a {
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
  }

  .hero,
  .subhero,
  .work-hero {
    padding-top: 44px;
  }

  .hero__grid,
  .subhero__grid,
  .split-feature,
  .device-band,
  .desktop-flow,
  .work-hero__grid,
  .article-split,
  .faq-layout,
  .work-reading-layout,
  .keyboard-section,
  .index-panel,
  .browse-links {
    grid-template-columns: 1fr;
  }

  .hero__visual,
  .subhero__visual {
    max-width: 680px;
  }

  .hero__facts {
    max-width: 680px;
  }

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

  .work-card--featured:nth-child(1) {
    grid-column: span 2;
  }

  .path-grid,
  .type-panels {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: 0;
  }

  .path-card__number {
    margin-bottom: 22px;
  }

  .compact-list,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .article-split__aside,
  .faq-layout__heading,
  .work-reading-layout__aside {
    position: static;
  }

  .catalog-hero__grid {
    grid-template-columns: 1fr;
  }

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

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

  .field-group--grow {
    grid-column: 1 / -1;
  }

  .filter-actions {
    grid-column: 1 / -1;
  }

  .site-footer__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .site-footer__note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

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

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

  .brand-mark__text small {
    display: none;
  }

  .menu-toggle__label {
    display: none;
  }

  .hero {
    padding-bottom: 56px;
  }

  .hero__copy h1,
  .subhero__copy h1,
  .work-hero__content h1 {
    letter-spacing: -0.04em;
  }

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

  .hero__actions,
  .subhero__actions,
  .inline-actions,
  .error-page__actions {
    align-items: stretch;
  }

  .hero__actions .button,
  .subhero__actions .button,
  .error-page__actions .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading--split,
  .filter-panel__heading {
    display: block;
  }

  .section-heading--split .text-link,
  .filter-panel__heading p {
    margin-top: 12px;
  }

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

  .work-card--featured:nth-child(1) {
    grid-column: auto;
  }

  .work-card--featured:nth-child(1) .work-card__media img,
  .work-card__media img {
    aspect-ratio: 1.5 / 1;
  }

  .work-card--featured:nth-child(1) .work-card__body {
    display: block;
  }

  .work-card--featured:nth-child(1) .text-link {
    white-space: normal;
  }

  .compact-list {
    gap: 0;
  }

  .guide-grid,
  .desktop-feature-grid,
  .key-grid,
  .index-links,
  .browse-links__grid {
    grid-template-columns: 1fr;
  }

  .catalog-hero__inner {
    padding: 22px;
  }

  .catalog-filter {
    grid-template-columns: 1fr;
  }

  .field-group--grow,
  .filter-actions {
    grid-column: auto;
  }

  .filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .work-meta-row {
    grid-template-columns: 1fr;
  }

  .prose-card {
    border-radius: 20px;
  }

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

  .site-footer__note {
    grid-column: auto;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

@media print {
  .site-header,
  .site-footer,
  .hero__actions,
  .subhero__actions,
  .button,
  .menu-toggle {
    display: none !important;
  }

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

  .section,
  .hero,
  .subhero,
  .work-hero {
    padding: 24px 0;
  }

  .work-card,
  .prose-card,
  .highlight-card {
    break-inside: avoid;
    box-shadow: none;
  }
}
