.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--mist);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--dark {
  background: var(--steel-deep);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(61, 111, 150, 0.22);
}

.btn--dark:hover {
  background: var(--ink);
}

.btn--outline {
  background: transparent;
  color: var(--steel-deep);
  border-color: var(--steel);
}

.btn--outline:hover {
  background: var(--steel-deep);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero--short {
  min-height: 58vh;
}

.hero__media,
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img,
.hero__media video,
.page-hero__media img,
.page-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media img,
.page-hero__media img {
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero__media video,
.page-hero__media video {
  display: block;
  pointer-events: none;
}

.hero__veil,
.page-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__veil {
  background: var(--hero-veil);
}

.page-hero__veil {
  background: linear-gradient(120deg, rgba(30, 58, 82, 0.82), rgba(74, 127, 163, 0.55));
}

.hero__content,
.page-hero__content {
  width: min(100% - (var(--space-page) * 2), var(--max));
  margin: 0 auto;
  padding: 3.5rem 0;
}

.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.15s;
}

.hero__brand img {
  height: 3.25rem;
  width: auto;
}

.hero__brand span {
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  font-weight: 500;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.page-hero h1.page-hero__title--legal {
  max-width: min(36ch, 100%);
  font-size: clamp(1.75rem, 3.2vw, 2.85rem);
}

@media (min-width: 960px) {
  .page-hero h1.page-hero__title--legal {
    white-space: nowrap;
  }
}

.hero h1 {
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.35s;
}

.hero__lead,
.page-hero__lead {
  max-width: 38rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 2rem;
}

.hero__lead {
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.5s;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.65s;
}

.city-strip,
.jurisdiction-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.city-strip span,
.jurisdiction-chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel-deep);
  border: 0;
  background: var(--mist);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius);
}

.jurisdiction-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.jurisdiction-note__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-deep);
  margin-right: 0.25rem;
}

.jurisdiction-note [id] {
  scroll-margin-top: var(--scroll-offset-with-tabs);
}

.service-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.service-jump a {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--steel-deep);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
}

.service-jump a:hover {
  background: var(--ink);
  color: var(--white);
}

.split__media img {
  width: 100%;
  height: min(28rem, 70vw);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-panel {
  position: relative;
  min-height: 16rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  background: var(--ink) center / cover no-repeat;
  background-image: linear-gradient(to top, rgba(30, 58, 82, 0.9), rgba(74, 127, 163, 0.35)), var(--panel-image);
}

.service-panel::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--steel-soft);
  z-index: 1;
}

.service-panel h3 {
  font-size: 1.45rem;
  line-height: 1.3;
  margin-bottom: 0.55rem;
  min-height: calc(1.45rem * 1.3 * 2);
}

.service-panel p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  min-height: calc(0.92rem * 1.55 * 3);
}

.service-panel a {
  font-weight: 600;
  color: var(--steel-soft);
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.service-panel h3,
.service-panel p {
  position: relative;
  z-index: 1;
}

.service-panel a:hover {
  color: var(--white);
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.office-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.office-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.office-card__body {
  padding: 1.35rem 1.35rem 1.5rem;
}

.office-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.office-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.office-card__role {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--steel-deep);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.sister-band {
  background: var(--ink-band);
  color: var(--white);
  padding: 3rem 0;
}

.sister-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.sister-band p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
}

.sister-band .section__title {
  max-width: none;
}

.empty-state {
  border: 1px dashed var(--line);
  background: var(--paper);
  padding: 2rem 1.5rem;
  color: var(--muted);
}

.empty-state strong {
  display: block;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.insights-feed {
  margin: 0;
}

.insights-feed__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.wx-article {
  display: grid;
  grid-template-columns: 7.25rem minmax(0, 1fr);
  gap: 0.9rem 1rem;
  align-items: stretch;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}

.wx-article:hover {
  background: rgba(238, 244, 249, 0.55);
}

.wx-article__cover {
  display: block;
  width: 7.25rem;
  height: 7.25rem;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(145deg, #d7e2ec, #eef4f9);
}

.wx-article__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wx-article__cover.is-empty::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, transparent 46%, rgba(61, 111, 150, 0.18) 46%, rgba(61, 111, 150, 0.18) 54%, transparent 54%),
    linear-gradient(145deg, #d7e2ec, #eef4f9);
}

.wx-article__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.1rem 0;
}

.wx-article__title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wx-article:hover .wx-article__title {
  color: var(--steel-deep);
}

.wx-article__digest {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wx-article__meta {
  margin-top: auto;
  font-size: 0.8rem;
  color: #8a96a5;
  letter-spacing: 0.02em;
}

@media (max-width: 560px) {
  .wx-article {
    grid-template-columns: 5.75rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .wx-article__cover {
    width: 5.75rem;
    height: 5.75rem;
  }

  .wx-article__title {
    font-size: 0.98rem;
  }
}

.insights-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.insights-pager__summary {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.insights-pager__controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.insights-pager__pages {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.insights-pager__nav,
.insights-pager__page {
  appearance: none;
  box-sizing: border-box;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.insights-pager__nav {
  font-size: 1.15rem;
  font-weight: 400;
}

.insights-pager__page.is-active {
  border-color: var(--steel-deep);
  background: var(--steel-deep);
  color: var(--white);
  cursor: default;
}

.insights-pager__nav:hover:not(:disabled),
.insights-pager__page:hover:not(.is-active) {
  border-color: var(--steel);
  color: var(--steel-deep);
}

.insights-pager__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.insights-pager__ellipsis {
  min-width: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  user-select: none;
}

@media (max-width: 560px) {
  .insights-pager {
    flex-direction: column;
    align-items: stretch;
  }

  .insights-pager__controls {
    margin-left: 0;
    justify-content: center;
  }

  .insights-pager__summary {
    text-align: center;
  }
}

/* legacy class hooks kept for older markup */
.insights-list,
.insights-list__items,
.insights-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-block {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
}

.faq-block h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.faq-block p {
  color: var(--muted);
}

.anchor-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1.25rem;
  padding: 0.85rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.anchor-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel-deep);
}

.anchor-nav a:hover {
  color: var(--ink);
}

.services-page .module-block,
.services-page #business-lines {
  scroll-margin-top: var(--scroll-offset-with-tabs);
}

.services-page #values.module-block {
  border-top: 0;
  padding-top: 0.75rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-list dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.25rem;
}

.contact-list dt:first-child {
  margin-top: 0;
}

.contact-list dd {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.contact-list a {
  color: var(--steel-deep);
  font-weight: 600;
}

.module-block {
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--scroll-offset);
}

.module-block h3 {
  font-size: 1.65rem;
  margin-bottom: 0.85rem;
}

.module-block p {
  color: var(--ink-soft);
  max-width: 48rem;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img,
  .page-hero__media img {
    animation: none;
    transform: none;
  }

  .hero__brand,
  .hero h1,
  .hero__lead,
  .hero__actions {
    opacity: 1;
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}

@media (max-width: 980px) {
  .service-grid,
  .office-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ── FAQ / Client Memo library ─────────────────────────── */
.faq-library {
  padding-top: 0.5rem;
}

.faq-library .section__title {
  max-width: none;
  white-space: nowrap;
}

.memo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.memo-tabs a {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel-deep);
  background: var(--white);
}

.memo-tabs a:hover {
  border-color: var(--steel);
  color: var(--ink);
}

.memo-group {
  margin-bottom: 3.25rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.memo-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.memo-group__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  margin: 0;
}

.memo-group__head span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.memo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: 1.25rem;
}

.memo-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.memo-card:hover {
  border-color: var(--steel);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.memo-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.memo-card__title {
  margin: 0.65rem 0 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.memo-card__intro {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.memo-card__qs {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.memo-card__qs li {
  border-bottom: 1px dashed var(--line);
}

.memo-card__qs button {
  display: flex;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 0.855rem;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}

.memo-card__qs button::before {
  content: "›";
  color: var(--steel);
  font-weight: 600;
}

.memo-card__qs button:hover {
  color: var(--steel-deep);
}

.memo-card__open {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--steel-deep);
  cursor: pointer;
}

.memo-card__open:hover {
  color: var(--ink);
}

.memo-cta {
  margin-top: 1rem;
  padding: 2.25rem 0 0.5rem;
  border-top: 1px solid var(--line);
}

.memo-cta .section__title {
  white-space: nowrap;
}

.memo-cta p {
  color: var(--ink-soft);
  max-width: 46rem;
}

.memo-note {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Reader ───────────────────────────────────────────── */
.reader[hidden] {
  display: none;
}

.reader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  background: #0e1720;
  color: #e8eef4;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.reader__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: #0a1118;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reader__title {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reader__count {
  margin-left: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #8fa3b6;
  white-space: nowrap;
}

.reader__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: transparent;
  color: #e8eef4;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.reader__icon:hover {
  background: rgba(255, 255, 255, 0.08);
}

.reader__body {
  flex: 1;
  display: flex;
  min-height: 0;
}

.reader__toc {
  width: 19rem;
  flex-shrink: 0;
  overflow-y: auto;
  padding: 1.25rem 1rem 2rem;
  background: #111c26;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.reader__toc h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fa3b6;
}

.reader__toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reader__toc li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.reader__toc button {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.4rem;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.reader__toc button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.reader__stage {
  position: relative;
  flex: 1;
  overflow-y: auto;
  padding: 0;
  background: #0e1720;
}

.reader__qa-list {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 3rem 4rem;
}

.reader-qa {
  position: relative;
  padding: 1.75rem 0 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reader-qa:first-child {
  padding-top: 0.25rem;
}

.reader-qa__q {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.reader-qa__no {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: #6f93ae;
  width: 1.8rem;
  line-height: 1.4;
}

.reader-qa__text {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  color: #fff;
}

.reader-qa__a {
  padding-left: 2.55rem;
  font-size: 0.93rem;
  line-height: 1.75;
  color: #c5d3df;
}

.reader-qa__a p {
  margin: 0 0 0.75rem;
}

.reader-qa__a p:last-child {
  margin-bottom: 0;
}

.reader-qa__a ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
}

.reader-qa__a li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.4rem;
}

.reader-qa__a li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #6f93ae;
}

.reader-qa__a li:last-child {
  margin-bottom: 0;
}

.reader-qa__up {
  position: absolute;
  right: 0;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: transparent;
  color: #8fa3b6;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.reader-qa__up:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.reader__toc .toc-qno {
  color: #6f93ae;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.reader__toc .toc-qtext {
  color: #c5d3df;
  font-size: 0.82rem;
  line-height: 1.5;
}

.reader__toc button::before {
  display: none;
}

.reader__toc button.is-active .toc-qtext {
  color: #fff;
}

.reader__toc button.is-active .toc-qno {
  color: var(--steel);
}

.reader__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  background: #0a1118;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #8fa3b6;
}

.reader__cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 600;
}

.reader__cta:hover {
  background: rgba(255, 255, 255, 0.1);
}

.reader__backdrop {
  position: absolute;
  inset: 0;
  display: none;
  background: rgba(6, 10, 15, 0.6);
}

@media (max-width: 640px) {
  .memo-cta .section__title {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .reader__toc {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: min(85vw, 20rem);
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.35);
  }

  .reader.is-toc-open .reader__toc {
    transform: none;
  }

  .reader.is-toc-open .reader__backdrop {
    display: block;
  }

  .reader__qa-list {
    padding: 1.25rem 1.25rem 3rem;
  }

  .reader-qa__up {
    width: 1.9rem;
    height: 1.9rem;
  }

  .reader__footer {
    flex-wrap: wrap;
  }

  .memo-cards {
    grid-template-columns: 1fr;
  }
}
