/* ==========================================================================
   上海名誉侵权维权 · 全站视觉系统
   色系取自小红书品牌红，辅以暖纸色与墨色；最大圆角 3px
   ========================================================================== */

:root {
  --brand: #ff2442;
  --brand-700: #d81b38;
  --brand-800: #b01229;
  --brand-100: #ffdfe5;
  --brand-50: #fff5f7;
  --ink: #1c1a19;
  --ink-soft: #3a3533;
  --muted: #6e6663;
  --muted-2: #948a86;
  --line: #ece5e0;
  --line-strong: #ddd2cc;
  --paper: #ffffff;
  --canvas: #faf7f5;
  --sand: #f3ece7;
  --gold: #9c7242;
  --green: #2f6b4f;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --max: 1180px;
  --radius: 3px;
  --shadow: 0 1px 2px rgba(28, 20, 17, 0.03), 0 10px 24px -18px rgba(28, 20, 17, 0.18);
  --shadow-hover: 0 1px 2px rgba(28, 20, 17, 0.04), 0 18px 40px -22px rgba(28, 20, 17, 0.26);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  --material: rgba(255, 255, 255, 0.82);
  --header-h: 70px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--brand-100);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

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

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

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

h1,
h2,
h3,
summary {
  word-break: auto-phrase;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 36, 66, 0.18), 0 0 0 1px var(--brand);
  border-radius: var(--radius);
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 18px;
  z-index: 200;
  padding: 10px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* ---------- Top bar ---------- */

.topbar {
  position: relative;
  z-index: 61;
  color: var(--muted);
  background: rgba(250, 247, 245, 0.92);
  border-bottom: 1px solid rgba(28, 20, 17, 0.05);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  font-size: 12.5px;
  letter-spacing: 0.015em;
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 18px;
}

.topbar__loc {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
}

.topbar__loc::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  background: var(--brand);
  border-radius: 50%;
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted-2);
}

.topbar__tel {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.topbar__tel:hover {
  color: var(--brand-700);
}

.topbar__hours {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar__hours::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--brand);
  border-radius: 50%;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(28, 20, 17, 0.07);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  transition: background-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 rgba(28, 20, 17, 0.04), 0 14px 32px -28px rgba(28, 20, 17, 0.3);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: var(--ink);
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  color: #fff;
  background: linear-gradient(160deg, #ff3b57, var(--brand) 62%, #ec1735);
  border-radius: var(--radius);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(176, 18, 41, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand__text strong {
  font-family: var(--serif);
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__text small {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav__list > li {
  position: static;
}

.nav__list > li.has-mega {
  display: flex;
  align-items: center;
  height: var(--header-h);
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 11px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav__link:hover {
  color: var(--ink);
  background: rgba(28, 20, 17, 0.045);
}

.nav__link[aria-current="page"] {
  color: var(--brand-700);
  background: var(--brand-50);
  font-weight: 600;
}

.nav__chev {
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.22s var(--ease);
}

.has-mega.is-open > .nav__link {
  color: var(--brand-700);
  background: var(--brand-50);
}

.has-mega.is-open .nav__chev {
  transform: rotate(225deg) translate(-1px, -1px);
}

.mega {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  background: #fff;
  border-top: 1px solid rgba(28, 20, 17, 0.06);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 32px 64px -36px rgba(28, 20, 17, 0.32);
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}

.has-mega.is-open > .mega {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mega__in {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.9fr;
  gap: 36px;
  padding-top: 26px;
  padding-bottom: 30px;
}

.mega__col + .mega__col {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.mega__label {
  margin-bottom: 10px;
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.mega__link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: background-color 0.18s var(--ease);
}

.mega__link:hover {
  background: rgba(28, 20, 17, 0.04);
}

.mega__link strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.mega__link:hover strong {
  color: var(--brand-700);
}

.mega__link span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.55;
}

.mega__feature {
  padding: 22px;
  background: linear-gradient(150deg, var(--brand-50), #fff 78%);
  border: 1px solid #f6d7dd;
  border-top: 2px solid var(--brand);
  border-radius: var(--radius);
}

.mega__feature p {
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.6;
}

.mega__feature strong {
  display: block;
  margin: 7px 0 15px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
}

.mega__feature a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-700);
  font-size: 13.5px;
  font-weight: 600;
}

.mega__feature a:hover {
  gap: 9px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.nav-toggle:hover {
  background: var(--canvas);
  border-color: var(--ink-soft);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.drawer-open .nav-toggle span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

body.drawer-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.drawer-open .nav-toggle span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease-spring), box-shadow 0.18s var(--ease);
}

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

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn--brand {
  color: #fff;
  background: linear-gradient(180deg, #ff3b57, var(--brand) 55%, #f01535);
  box-shadow: 0 1px 2px rgba(176, 18, 41, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--brand:hover {
  color: #fff;
  background: linear-gradient(180deg, #ff4a64, var(--brand-700) 58%, #d31531);
  box-shadow: 0 6px 18px -8px rgba(216, 27, 56, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn--ink {
  color: #fff;
  background: linear-gradient(180deg, #302b29, var(--ink));
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn--ink:hover {
  color: #fff;
  background: #000;
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.6);
}

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

.btn--ghost:hover {
  color: var(--brand-700);
  background: #fff;
  border-color: rgba(255, 36, 66, 0.42);
  box-shadow: 0 1px 2px rgba(28, 20, 17, 0.04);
}

.btn--light {
  color: var(--ink);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(28, 20, 17, 0.12);
}

.btn--light:hover {
  color: var(--brand-700);
  background: #fff;
  box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.4);
}

.btn--sm {
  min-height: 38px;
  padding: 0 15px;
  font-size: 13.5px;
}

.btn__arrow {
  font-family: var(--sans);
  font-weight: 400;
}

.tel-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--brand-700);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 8%, rgba(255, 36, 66, 0.075), transparent 38%),
    radial-gradient(circle at 6% 96%, rgba(156, 114, 66, 0.06), transparent 36%),
    var(--canvas);
  border-bottom: 1px solid var(--line);
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(28, 20, 17, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 20, 17, 0.028) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 74%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 74%);
}

.hero__watermark {
  position: absolute;
  top: 82px;
  right: -20px;
  color: rgba(255, 36, 66, 0.035);
  font-family: var(--serif);
  font-size: 208px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.06em;
}

.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  gap: 62px;
  align-items: start;
  padding-top: 66px;
  padding-bottom: 52px;
}

.hero__copy {
  padding-top: 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: var(--brand);
}

.hero h1 {
  max-width: 700px;
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 53px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--brand);
  font-style: normal;
}

.hero__lede {
  max-width: 630px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.85;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__actions .btn {
  min-height: 50px;
  padding: 0 24px;
}

.hero__notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 640px;
  margin-top: 17px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.65;
}

.hero__notice::before {
  content: "";
  flex: none;
  width: 2px;
  height: 14px;
  margin-top: 5px;
  background: var(--brand);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 650px;
  margin-top: 32px;
  border-top: 1px solid var(--line-strong);
}

.hero__fact {
  padding: 15px 18px 0 0;
}

.hero__fact + .hero__fact {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero__fact dt {
  color: var(--brand-700);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.hero__fact dd {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.5;
}

/* Quick check */

.quickcheck {
  position: relative;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(28, 20, 17, 0.09);
  border-top: 2px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(28, 20, 17, 0.04), 0 30px 60px -34px rgba(28, 20, 17, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 24px 24px 22px;
}

.quickcheck__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.quickcheck__head p {
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.quickcheck__head h2 {
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.quickcheck__badge {
  flex: none;
  padding: 3px 8px;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.qc-step {
  margin-top: 16px;
}

.qc-step__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.qc-step__label span {
  color: var(--brand);
  font-family: var(--serif);
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

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

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

.seg button {
  min-height: 37px;
  padding: 6px 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.35;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.seg button:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: #fff;
}

.seg button.is-active {
  color: var(--brand-700);
  background: #fff;
  border-color: rgba(255, 36, 66, 0.55);
  box-shadow: 0 0 0 2px rgba(255, 36, 66, 0.08);
  font-weight: 600;
}

.quickcheck__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.quickcheck__actions .btn {
  flex: 1;
}

.quickcheck__hint {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.55;
}

.qc-result {
  margin-top: 16px;
  padding: 16px;
  background: var(--canvas);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  scroll-margin-bottom: 24px;
}

.qc-result[hidden] {
  display: none;
}

.qc-result__label {
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.qc-result h3 {
  margin: 4px 0 6px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
}

.qc-result p {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
}

.qc-result__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
}

.qc-result__links a {
  color: var(--brand-700);
}

.qc-result__links a:hover {
  background: var(--brand-50);
}

/* Hero stats */

.hero__strip {
  position: relative;
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid var(--line-strong);
}

.hero__strip-in {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero__stat {
  padding: 18px 24px 20px 0;
}

.hero__stat + .hero__stat {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.hero__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.hero__stat span {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 12.5px;
}

.hero__stat em {
  color: var(--brand);
  font-style: normal;
}

/* ---------- Sections ---------- */

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--canvas {
  background: var(--canvas);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--sand {
  background: var(--sand);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--ink {
  color: #f6efea;
  background: var(--ink);
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.sec-head__main {
  max-width: 780px;
}

.sec-head h2 {
  margin-top: 11px;
  font-family: var(--serif);
  font-size: clamp(25px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.no-break {
  white-space: nowrap;
}

.sec-head__lead {
  max-width: 700px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  text-wrap: pretty;
}

.sec-head__link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), gap 0.18s var(--ease);
}

.sec-head__link:hover {
  color: var(--brand-700);
  border-color: var(--brand);
  gap: 10px;
}

.sec-head--light .sec-head__lead,
.sec-head--light .eyebrow {
  color: #cdbfb7;
}

.sec-head--light h2 {
  color: #fff;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

/* Scene cards */

.scene-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 226px;
  padding: 24px 23px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}

.scene-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.28s var(--ease);
}

.scene-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.scene-card:hover::before {
  width: calc(100% + 2px);
}

.scene-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.scene-card__no {
  color: var(--muted-2);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 1px 7px;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.tag--ink {
  color: var(--ink-soft);
  background: var(--canvas);
  border-color: var(--line);
}

.tag--green {
  color: var(--green);
  background: #f0f7f3;
  border-color: #d6e8dd;
}

.tag--gold {
  color: var(--gold);
  background: #fbf5ec;
  border-color: #eadcc7;
}

.scene-card h3 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
}

.scene-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.scene-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--brand-700);
  font-size: 13.5px;
  font-weight: 600;
}

.scene-card__foot span {
  font-weight: 400;
  transition: transform 0.2s ease;
}

.scene-card:hover .scene-card__foot span {
  transform: translateX(4px);
}

/* Path steps */

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

.path__step {
  position: relative;
  padding: 28px 20px 0 0;
  border-right: 1px solid var(--line);
}

.path__step:last-child {
  border-right: 0;
}

.path__step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--brand);
}

.path__time {
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.path__step h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
}

.path__step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.path__step ul {
  margin-top: 12px;
}

.path__step li {
  position: relative;
  padding-left: 12px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
}

.path__step li + li {
  margin-top: 5px;
}

.path__step li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--brand);
}

.callout {
  padding: 20px 22px;
  background: var(--brand-50);
  border-left: 3px solid var(--brand);
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.8;
}

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

.callout--canvas {
  background: var(--canvas);
  border-left-color: var(--gold);
}

.callout--ink {
  color: #e9dfd9;
  background: #262221;
  border-left-color: var(--brand);
}

.callout--ink strong {
  color: #fff;
}

/* Deep dive */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr);
  gap: 54px;
  align-items: start;
}

.split > * {
  min-width: 0;
}

.prose h2 {
  margin: 42px 0 14px;
  padding-left: 14px;
  border-left: 2px solid var(--brand);
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.46;
  letter-spacing: -0.005em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
}

.prose p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.85;
}

.prose p:first-child {
  margin-top: 0;
}

.inline-link {
  color: var(--brand-700);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 36, 66, 0.28);
}

.inline-link:hover {
  background: var(--brand-50);
  border-color: var(--brand);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}

th,
td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  padding: 12px 16px 11px;
  background: linear-gradient(180deg, #fcf9f7 0%, #f5efe9 100%);
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

thead th + th {
  border-left: 1px solid rgba(28, 26, 25, 0.06);
}

thead th:first-child {
  position: relative;
}

thead th:first-child::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7px;
  width: 2px;
  height: 11px;
  margin-top: -5px;
  background: var(--brand);
}

tbody td {
  color: var(--muted);
}

td:first-child {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

tbody tr {
  transition: background-color 0.16s var(--ease);
}

tbody tr:hover {
  background: #fdfaf8;
}

tr:last-child td {
  border-bottom: 0;
}

td strong {
  font-weight: 600;
}

.table-note {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.65;
}

.example {
  margin-top: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
}

.example__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.example__head strong {
  font-family: var(--serif);
  font-size: 16px;
}

.example__head span {
  color: var(--muted-2);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.example__body {
  padding: 20px;
}

.example__body p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.8;
}

.example__body p + p {
  margin-top: 10px;
}

.example__body .label {
  color: var(--brand-700);
  font-weight: 700;
}

.side-note {
  padding: 24px;
  background: var(--canvas);
  border-top: 2px solid var(--brand);
}

.side-note h3 {
  font-family: var(--serif);
  font-size: 18px;
}

.side-note ul {
  margin-top: 14px;
}

.side-note li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
}

.side-note li + li {
  margin-top: 9px;
}

.side-note li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-size: 12px;
}

/* Compensation */

.comp-example {
  padding: 26px;
  color: #f4ece6;
  background: var(--ink);
}

.comp-example h3 {
  color: #fff;
  font-family: var(--serif);
  font-size: 18px;
}

.comp-example__rows {
  margin-top: 16px;
}

.comp-example__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #373130;
  font-size: 13.5px;
}

.comp-example__row span {
  color: #bdb0aa;
}

.comp-example__row strong {
  color: #fff;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.comp-example__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  color: #fff;
  font-family: var(--serif);
  font-size: 20px;
}

.comp-example__total em {
  color: #ff9aa8;
  font-style: normal;
  font-size: 15px;
}

.comp-example__note {
  margin-top: 12px;
  color: #8f827c;
  font-size: 12px;
  line-height: 1.65;
}

/* Case cards */

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}

.case-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.case-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 12px;
}

.case-card h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  text-wrap: balance;
}

.case-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.case-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--brand-700);
  font-size: 13.5px;
  font-weight: 600;
}

.case-card__outcome {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 400;
}

/* News cards */

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}

.news-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-2);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.news-card__meta time {
  letter-spacing: 0.03em;
}

.news-card h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  text-wrap: balance;
}

.news-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.72;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 600;
}

.news-card:hover .news-card__link {
  gap: 10px;
}

/* FAQ */

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

.faq-list details {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.faq-list summary {
  position: relative;
  display: block;
  padding: 20px 52px 20px 0;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.65;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "＋";
  position: absolute;
  top: 18px;
  right: 4px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

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

.faq-list details[open] summary {
  color: var(--brand-700);
}

.faq-list__body {
  padding: 0 56px 22px 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.85;
}

.faq-list__body p + p {
  margin-top: 10px;
}

.faq-list__body ul {
  margin-top: 10px;
}

.faq-list__body li {
  position: relative;
  padding-left: 14px;
}

.faq-list__body li + li {
  margin-top: 6px;
}

.faq-list__body li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--brand);
}

/* Pitfalls & quick answers */

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

.pit-card {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(28, 20, 17, 0.02), 0 14px 30px -26px rgba(28, 20, 17, 0.3);
  overflow: hidden;
}

.pit-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pit-card__top span {
  color: var(--brand-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pit-card__top i {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.pit-card h3 {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.pit-card__why {
  flex: 1;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13.2px;
  line-height: 1.75;
}

.pit-card__ok {
  margin: 16px -22px 0;
  padding: 13px 22px 16px;
  background: #f3f8f4;
  border-top: 1px solid #e3eee6;
}

.pit-card__ok-label {
  color: var(--green);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.pit-card__ok-label::before {
  content: "✓";
  margin-right: 5px;
  font-size: 11px;
}

.pit-card__ok-text {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.qa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.qa-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 8px;
  padding: 24px 24px 26px;
  background: var(--paper);
}

.qa-item__no {
  padding-top: 3px;
  color: var(--brand-700);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
}

.qa-item h3 {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.qa-item__a {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.2px;
  line-height: 1.75;
}

@media (max-width: 1120px) {
  .pit-grid,
  .qa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .pit-grid,
  .qa-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pit-grid {
    gap: 12px;
  }
}

/* CTA band */

.cta-band {
  position: relative;
  overflow: hidden;
  color: #f4ece6;
  background: var(--ink);
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  background:
    linear-gradient(90deg, transparent, rgba(255, 36, 66, 0.12)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 52px);
  pointer-events: none;
}

.cta-band__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.4;
}

.cta-band p {
  max-width: 680px;
  margin-top: 14px;
  color: #bdb0aa;
  font-size: 15px;
  line-height: 1.8;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cta-band .btn--ghost {
  color: #f4ece6;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.cta-band .btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-card {
  padding: 25px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 2px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cta-card__label {
  color: #a99b94;
  font-size: 11.5px;
  letter-spacing: 0.14em;
}

.cta-card__tel {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.cta-card__tel:hover {
  color: #ffb3be;
}

.cta-card__meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 14px;
  color: #bdb0aa;
  font-size: 13px;
  line-height: 1.65;
}

.cta-card__meta span {
  display: inline-flex;
  gap: 8px;
}

.cta-card__meta span::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  margin-top: 9px;
  background: var(--brand);
}

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 36, 66, 0.065), transparent 40%),
    var(--canvas);
  border-bottom: 1px solid var(--line);
}

.page-hero__in {
  position: relative;
  padding-top: 28px;
  padding-bottom: 44px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.6;
}

.breadcrumb a:hover {
  color: var(--brand-700);
}

.breadcrumb__sep {
  color: var(--line-strong);
}

.breadcrumb [aria-current="page"] {
  color: var(--ink-soft);
}

.page-hero h1 {
  max-width: 900px;
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(29px, 3.4vw, 43px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.page-hero__lede {
  max-width: 820px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.85;
  text-wrap: pretty;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 16px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 12px;
}

.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-hero__meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--brand);
  border-radius: 50%;
}

.page-hero__meta .no-dot::before {
  display: none;
}

.page-hero__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.page-hero__fact {
  padding: 15px 20px 0 0;
}

.page-hero__fact + .page-hero__fact {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.page-hero__fact dt {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.page-hero__fact dd {
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

/* ---------- Article layout ---------- */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 54px;
  align-items: start;
  padding-top: 42px;
  padding-bottom: 72px;
}

.article {
  min-width: 0;
  font-size: 16px;
  line-height: 1.9;
}

.article > p {
  margin-bottom: 18px;
  color: var(--ink-soft);
}

.article > section {
  scroll-margin-top: 108px;
}

.article > section + section {
  margin-top: 6px;
}

.article h2 {
  margin: 46px 0 16px;
  padding-left: 14px;
  border-left: 2px solid var(--brand);
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 700;
  line-height: 1.46;
  letter-spacing: -0.005em;
}

.article h2:first-child {
  margin-top: 0;
}

.article h3 {
  margin: 28px 0 9px;
  font-family: var(--serif);
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.55;
}

.article h4 {
  margin: 22px 0 8px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
}

.article p {
  margin: 0 0 17px;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.article a:not(.btn) {
  color: var(--brand-700);
  font-weight: 600;
}

.article a:not(.btn):hover {
  background: var(--brand-50);
}

.article ul,
.article ol {
  margin: 0 0 18px;
}

.article li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
}

.article li + li {
  margin-top: 7px;
}

.article ul > li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--brand);
}

.article ol {
  counter-reset: art;
}

.article ol > li {
  padding-left: 28px;
  counter-increment: art;
}

.article ol > li::before {
  content: counter(art, decimal-leading-zero);
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--brand-700);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
}

.article blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--canvas);
  border-left: 3px solid var(--line-strong);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.article .table-wrap {
  margin: 18px 0 10px;
}

.cause-table-wrap {
  margin: 20px 0 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cause-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13.5px;
}

.cause-table thead th {
  padding: 11px 18px;
  background: linear-gradient(180deg, #fcf9f7 0%, #f5efe9 100%);
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.cause-table thead th + th {
  border-left: 1px solid rgba(28, 26, 25, 0.06);
}

.cause-table thead th:nth-child(1) {
  width: 27%;
}

.cause-table thead th:nth-child(2) {
  width: 37%;
}

.cause-table thead th:nth-child(3) {
  width: 36%;
}

.cause-table tbody th {
  padding: 17px 18px;
  background: transparent;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.6;
  text-wrap: balance;
  white-space: normal;
  word-break: keep-all;
}

.cause-table__no {
  display: inline-block;
  min-width: 22px;
  margin-right: 6px;
  color: var(--brand-700);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  vertical-align: 1px;
}

.cause-table tbody td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.4px;
  line-height: 1.75;
  white-space: normal;
  text-wrap: pretty;
  word-break: auto-phrase;
}

.cause-table tbody td:last-child {
  color: var(--ink-soft);
}

.cause-table__points {
  display: block;
  text-wrap: balance;
}

.cause-table__points span {
  white-space: nowrap;
}

.cause-table__points span + span::before {
  content: "·";
  margin: 0 7px;
  color: var(--brand);
  font-weight: 700;
}

.cause-table tbody tr:last-child th,
.cause-table tbody tr:last-child td {
  border-bottom: 0;
}

.cause-table tbody tr:hover {
  background: #fdfbfa;
}

.article .callout {
  margin: 22px 0;
}

.article .keybox {
  margin-bottom: 30px;
}

.keybox {
  padding: 23px 25px;
  background: linear-gradient(140deg, var(--brand-50), #fff 74%);
  border: 1px solid #f5d8dd;
  border-left: 2px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.keybox__label {
  color: var(--brand-700);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.keybox h2 {
  margin: 6px 0 10px;
  padding: 0;
  border: 0;
  font-family: var(--serif);
  font-size: 18.5px;
  line-height: 1.55;
}

.keybox ul {
  margin: 0;
}

.keybox li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.75;
}

.keybox li + li {
  margin-top: 7px;
}

.keybox li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--brand);
}

.article .example {
  margin: 24px 0;
}

.article .example__body p {
  font-size: 14.5px;
}

.article .checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  margin: 18px 0 22px;
}

.article .checklist li {
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.7;
}

.article .checklist li::before {
  content: "✓";
  top: 1px;
  width: auto;
  height: auto;
  color: var(--brand);
  background: none;
  font-size: 14px;
  font-weight: 700;
}

.template {
  margin: 20px 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 2;
}

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

.article__foot {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.article__disclaimer {
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.8;
}

.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.article__tags a,
.article__tags span {
  display: inline-flex;
  padding: 4px 9px;
  color: var(--muted);
  background: var(--canvas);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 400;
}

.article__tags a:hover {
  color: var(--brand-700);
  border-color: var(--brand);
}

.article__share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.copy-link {
  padding: 5px 12px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 12.5px;
}

.copy-link:hover {
  color: var(--brand-700);
  border-color: var(--brand);
}

/* Sidebar */

.article-side {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - 112px);
  margin-right: -6px;
  padding-right: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.article-side::-webkit-scrollbar {
  width: 4px;
}

.article-side::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 3px;
}

.article-side::-webkit-scrollbar-track {
  background: transparent;
}

.side-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.side-card--canvas {
  background: var(--canvas);
}

.side-card--brand {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(160deg, #ff3a56, var(--brand) 55%, #ec1735);
  border-color: rgba(216, 27, 56, 0.55);
  color: #fff;
  box-shadow: 0 2px 4px rgba(216, 27, 56, 0.14), 0 22px 44px -28px rgba(216, 27, 56, 0.6);
}

.side-card__label {
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.side-card--brand .side-card__label {
  color: rgba(255, 255, 255, 0.72);
}

.side-card h3 {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
}

.side-card--brand h3 {
  color: #fff;
}

.side-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.7;
}

.side-card--brand p {
  color: rgba(255, 255, 255, 0.82);
}

.side-card .btn {
  width: 100%;
  margin-top: 14px;
}

.side-card__tel {
  display: block;
  margin-top: 7px;
  color: var(--brand-700);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.side-card--brand .side-card__tel {
  color: #fff;
  text-shadow: 0 1px 1px rgba(140, 12, 32, 0.18);
}

.toc__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.toc__title {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.toc__count {
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.toc__list {
  position: relative;
  list-style: none;
  margin-top: 12px;
}

.toc__list::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 1px;
  background: var(--line);
}

.toc__list li {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.toc__list a {
  position: relative;
  display: block;
  padding: 6px 0 6px 14px;
  border: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
  transition: color 0.16s var(--ease);
}

.toc__list a::before {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 2px;
  background: transparent;
  transition: background-color 0.16s var(--ease);
}

.toc__list a:hover {
  color: var(--ink);
}

.toc__list a:hover::before {
  background: var(--line-strong);
}

.toc__list a.is-active {
  color: var(--brand-700);
  font-weight: 600;
}

.toc__list a.is-active::before {
  background: var(--brand);
}

.toc__list .toc-h3 a {
  padding-left: 26px;
  color: var(--muted-2);
  font-size: 12px;
}

.toc__list .toc-h3 a::before {
  left: 12px;
}

.article .toc__list a {
  color: var(--muted);
  font-weight: 400;
}

.article .toc__list a:hover {
  background: none;
}

.article .toc__list a.is-active {
  color: var(--brand-700);
  font-weight: 600;
}

.side-links li + li {
  margin-top: 2px;
}

.side-links a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.side-links a:hover {
  color: var(--brand-700);
}

.side-links span {
  color: var(--muted-2);
}

.toc-mobile {
  display: none;
  margin-bottom: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(28, 20, 17, 0.03);
}

.toc-mobile summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.toc-mobile summary::-webkit-details-marker {
  display: none;
}

.toc-mobile summary::before {
  content: "";
  flex: none;
  width: 14px;
  height: 1.5px;
  background: var(--brand);
}

.toc-mobile summary::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 1.5px solid var(--muted-2);
  border-bottom: 1.5px solid var(--muted-2);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s var(--ease);
}

.toc-mobile[open] summary {
  border-bottom: 1px solid var(--line);
}

.toc-mobile[open] summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.toc-mobile .toc__count {
  margin-left: auto;
  font-size: 11px;
}

.toc-mobile .toc__list {
  margin-top: 0;
  padding: 8px 16px 14px;
}

.toc-mobile .toc__list::before {
  top: 14px;
  bottom: 14px;
}

.toc-mobile .toc__list a {
  padding: 8px 0 8px 14px;
  font-size: 13.5px;
}

.toc-mobile .toc__list .toc-h3 a {
  padding-left: 26px;
  font-size: 13px;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.article-nav a {
  padding: 16px;
  background: var(--canvas);
  border: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.6;
}

.article-nav a:hover {
  border-color: var(--brand);
}

.article-nav span {
  display: block;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.article-nav strong {
  display: block;
  margin-top: 4px;
  font-weight: 600;
}

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 0;
  height: 2px;
  background: var(--brand);
}

/* ---------- List pages ---------- */

.page-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-strong);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.filter-btn {
  min-height: 34px;
  padding: 3px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12.5px;
  line-height: 1.4;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.filter-btn:hover {
  color: var(--ink);
  background: #fff;
  border-color: var(--line-strong);
}

.filter-btn.is-active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 1px 2px rgba(28, 20, 17, 0.18);
}

.search-box {
  position: relative;
  min-width: 230px;
}

.search-box input {
  width: 100%;
  min-height: 38px;
  padding: 8px 38px 8px 13px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 13px;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease), background-color 0.16s var(--ease);
}

.search-box input:focus {
  outline: none;
  background: #fff;
  border-color: rgba(255, 36, 66, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 36, 66, 0.1);
}

.search-box input::placeholder {
  color: var(--muted-2);
}

.search-box::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23948a86' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

.list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 50px;
  align-items: start;
  padding-top: 38px;
  padding-bottom: 72px;
}

.list-main {
  min-width: 0;
}

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

.news-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 22px;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.news-item__date {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.news-item__date span {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.news-item h3 {
  font-family: var(--serif);
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.55;
  transition: color 0.16s var(--ease);
}

.news-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
  text-wrap: pretty;
}

.news-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 9px;
  color: var(--muted-2);
  font-size: 11.5px;
}

.news-item__arrow {
  padding-top: 4px;
  color: var(--brand);
  font-size: 18px;
  transition: transform 0.2s ease;
}

.news-item:hover h3 {
  color: var(--brand-700);
}

.news-item:hover .news-item__arrow {
  transform: translateX(4px);
}

.case-list {
  display: grid;
  gap: 16px;
}

.case-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 176px;
  gap: 18px;
  align-items: start;
  padding: 22px 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.case-row:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.case-row__no {
  padding-top: 3px;
  color: var(--muted-2);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.case-row h3 {
  font-family: var(--serif);
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.55;
}

.case-row p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
  text-wrap: pretty;
}

.case-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

.case-row__outcome {
  padding: 2px 0 0 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.case-row__outcome strong {
  display: block;
  margin-bottom: 2px;
  color: var(--brand-700);
  font-size: 12.5px;
  font-weight: 600;
  text-wrap: balance;
}

.list-empty {
  padding: 40px 20px;
  color: var(--muted);
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.list-count {
  color: var(--muted-2);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.side-sticky {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hot-list li {
  counter-increment: hot;
}

.hot-list {
  counter-reset: hot;
}

.hot-list a {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.hot-list a::before {
  content: counter(hot, decimal-leading-zero);
  color: var(--brand);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
}

.hot-list a:hover {
  color: var(--brand-700);
}

/* ---------- FAQ page ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 50px;
  align-items: start;
  padding-top: 36px;
  padding-bottom: 72px;
}

.faq-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 14px;
  align-items: center;
  margin-bottom: 24px;
}

.faq-tools .filters {
  grid-column: 1 / -1;
}

.faq-tools .search-box {
  width: 100%;
  max-width: 300px;
}

.faq-tools .list-count {
  justify-self: end;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

.faq-group + .faq-group {
  margin-top: 42px;
}

.faq-group h2 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.5;
}

.faq-group h2 span {
  margin-right: 8px;
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.faq-item[hidden] {
  display: none;
}

/* ---------- Laws page ---------- */

.law-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.law-jump a {
  padding: 6px 11px;
  background: rgba(250, 247, 245, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 12.5px;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.law-jump a:hover {
  color: var(--brand-700);
  background: #fff;
  border-color: rgba(255, 36, 66, 0.45);
}

.law-group {
  scroll-margin-top: 108px;
}

.law-group + .law-group {
  margin-top: 50px;
}

.law-group__head {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--ink);
}

.law-group__head h2 {
  font-family: var(--serif);
  font-size: 24px;
}

.law-group__head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.law-item {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 24px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.law-item__no {
  color: var(--brand-700);
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.01em;
  word-break: keep-all;
}

.law-item h3 {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
}

.law-item__text {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
  text-wrap: pretty;
}

.law-item__use {
  margin-top: 9px;
  padding: 10px 13px;
  background: var(--canvas);
  border-left: 2px solid var(--line-strong);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.law-item__use strong {
  color: var(--brand-700);
}

/* ---------- About / Contact ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 340px;
  gap: 54px;
  align-items: start;
}

.about-grid > * {
  min-width: 0;
}

.editorial {
  padding: 26px;
  background: var(--canvas);
  border: 1px solid var(--line);
}

.editorial h3 {
  font-family: var(--serif);
  font-size: 18px;
}

.editorial p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.principle-list {
  counter-reset: p;
}

.principle-list li {
  position: relative;
  padding: 16px 0 16px 44px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.8;
  counter-increment: p;
}

.principle-list li::before {
  content: "0" counter(p);
  position: absolute;
  top: 16px;
  left: 0;
  color: var(--brand);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
}

.principle-list strong {
  display: block;
  color: var(--ink);
}

.contact-hero {
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 36, 66, 0.09), transparent 35%),
    var(--canvas);
  border-bottom: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 50px;
  align-items: start;
  padding-top: 50px;
  padding-bottom: 72px;
}

.contact-block {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-block h2 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.5;
}

.contact-phone {
  display: block;
  margin-top: 12px;
  color: var(--brand-700);
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 700;
  line-height: 1.18;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.005em;
}

.contact-phone:hover {
  color: var(--brand-800);
}

.contact-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 5px 10px;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  font-size: 13px;
  font-weight: 600;
}

.contact-hours::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--brand);
}

.address-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.address-box__label,
.prep__label {
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.address-box address {
  margin-top: 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.address-box p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.process {
  counter-reset: step;
  border-top: 1px solid var(--line-strong);
}

.process li {
  position: relative;
  padding: 20px 0 20px 46px;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 0;
  color: var(--brand);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
}

.process strong {
  display: block;
  font-size: 15.5px;
}

.process span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.prep {
  padding: 23px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prep h3 {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 18px;
}

.prep ul {
  margin-top: 13px;
}

.prep li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
}

.prep li + li {
  margin-top: 7px;
}

.prep li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--brand);
}

.contact-side .prep + .prep,
.contact-side .editorial + .prep {
  margin-top: 16px;
}

/* ---------- Footer ---------- */

.site-footer {
  color: #cfc3bc;
  background:
    radial-gradient(600px 220px at 12% 0%, rgba(255, 36, 66, 0.08), transparent 70%),
    #181514;
  border-top: 1px solid #2d2725;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr 1.1fr;
  gap: 44px;
  padding-top: 54px;
  padding-bottom: 38px;
}

.footer__brand .brand {
  color: #fff;
}

.footer__brand .brand:hover {
  color: #fff;
}

.footer__brand .brand__mark {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.footer__brand .brand__text small {
  color: #9d9089;
}

.footer__desc {
  max-width: 340px;
  margin-top: 15px;
  color: #9d9089;
  font-size: 13px;
  line-height: 1.8;
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 4px 9px;
  color: #ffc2cb;
  background: rgba(255, 36, 66, 0.11);
  border: 1px solid rgba(255, 36, 66, 0.3);
  font-size: 11.5px;
  font-weight: 600;
}

.footer__badge::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--brand);
}

.footer__col h2,
.footer__contact h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.footer__col li + li {
  margin-top: 7px;
}

.footer__col a {
  color: #a99b94;
  font-size: 13px;
  line-height: 1.7;
  transition: color 0.16s var(--ease);
}

.footer__col a:hover {
  color: #fff;
}

.footer__contact .footer__label {
  color: #8f827c;
  font-size: 11.5px;
  letter-spacing: 0.12em;
}

.footer__tel {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.footer__tel:hover {
  color: #ffb3be;
}

.footer__contact address {
  margin-top: 12px;
  color: #b5a8a1;
  font-size: 13px;
  line-height: 1.75;
}

.footer__contact p {
  margin-top: 6px;
  color: #8f827c;
  font-size: 12.5px;
  line-height: 1.7;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 18px;
  padding-bottom: 26px;
  border-top: 1px solid #2d2827;
  color: #7e726c;
  font-size: 11.5px;
  line-height: 1.7;
}

.footer__bottom a:hover {
  color: #d6c9c2;
}

.footer__disclaimer {
  max-width: 720px;
  margin-top: 6px;
  color: #6f6560;
  font-size: 11px;
  line-height: 1.7;
}

/* ---------- Drawer ---------- */

.drawer-mask {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(20, 17, 16, 0.48);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

body.drawer-open .drawer-mask {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: min(88vw, 390px);
  padding: 0 22px 40px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: -24px 0 60px -30px rgba(28, 20, 17, 0.4);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.28s var(--ease), visibility 0.28s;
}

body.drawer-open .drawer {
  transform: none;
  visibility: visible;
}

.drawer__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.drawer__close {
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 21px;
  line-height: 1;
}

.drawer__nav {
  padding-top: 10px;
}

.drawer__nav > a {
  display: block;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  font-weight: 600;
}

.drawer__nav details {
  border-bottom: 1px solid var(--line);
}

.drawer__nav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.drawer__nav summary::after {
  content: "＋";
  color: var(--brand);
  font-weight: 400;
}

.drawer__nav details[open] summary::after {
  content: "－";
}

.drawer__sub {
  padding: 0 0 12px 12px;
}

.drawer__sub a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.drawer__cta {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.drawer__cta .btn {
  width: 100%;
  margin-top: 10px;
}

.drawer__meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

/* ---------- Utilities ---------- */

.mobile-cta {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(28, 20, 17, 0.08);
  box-shadow: 0 -12px 32px -24px rgba(28, 20, 17, 0.4);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

.mobile-cta__in {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 8px;
}

.mobile-cta .btn {
  min-height: 46px;
  padding: 0 10px;
  font-size: 14px;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(29, 26, 25, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  color: var(--brand-700);
  border-color: var(--brand);
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.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;
}

.notice-strip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  color: var(--muted);
  background: var(--canvas);
  border: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
}

.notice-strip strong {
  flex: 0 0 auto;
  color: var(--brand-700);
  font-weight: 600;
  white-space: nowrap;
}

.page-hero h1,
.sec-head h2,
.case-row h3,
.news-item h3,
.news-card h3,
.scene-card h3,
.article h2,
.article h3 {
  text-wrap: balance;
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .nav__link {
    padding: 0 9px;
    font-size: 14.5px;
  }

  .header__actions .btn--ghost {
    display: none;
  }

  .hero__in {
    gap: 40px;
  }

  .footer__grid {
    grid-template-columns: 1.1fr 0.8fr 0.8fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 1020px) {
  .nav,
  .header__actions .btn--ghost {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header__actions .btn--brand {
    display: none;
  }

  .hero__in {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 50px;
    padding-bottom: 42px;
  }

  .hero__watermark {
    font-size: 160px;
  }

  .hero__copy {
    max-width: 820px;
  }

  .quickcheck {
    max-width: 680px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article-layout,
  .list-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .article-side,
  .side-sticky {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-height: none;
    margin-right: 0;
    padding-right: 0;
    overflow: visible;
  }

  .article-side .side-card--toc {
    display: none;
  }

  .toc-mobile {
    display: block;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

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

  .contact-side .prep + .prep,
  .contact-side .editorial + .prep {
    margin-top: 0;
  }

  .cta-band__in {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cta-card {
    max-width: 500px;
  }

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

@media (max-width: 820px) {
  .hero__strip-in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero__stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

  .path__step {
    padding: 24px 20px 24px 0;
    border-bottom: 1px solid var(--line);
  }

  .path__step:nth-child(2n) {
    padding-left: 22px;
    border-right: 0;
  }

  .path__step:nth-child(4) {
    border-bottom: 0;
  }

  .path__step:last-child {
    padding-left: 22px;
    border-bottom: 0;
  }

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

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

  .page-hero__fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 14px;
  }

  .page-hero__fact:nth-child(4) {
    border-top: 1px solid var(--line);
    margin-top: 14px;
  }

  .law-item {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    font-size: 16px;
    line-height: 1.8;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .wrap {
    padding: 0 18px;
  }

  .topbar__in {
    min-height: 34px;
  }

  .topbar__loc {
    display: none;
  }

  .topbar__meta {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .topbar {
    font-size: 12px;
  }

  .header__in {
    min-height: 64px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  .brand__text strong {
    font-size: 16.5px;
  }

  .brand__text small {
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero__grid-bg {
    background-size: 40px 40px;
  }

  .hero__watermark {
    top: 40px;
    right: -16px;
    font-size: 110px;
  }

  .hero__in {
    padding-top: 38px;
    padding-bottom: 32px;
    gap: 26px;
  }

  .eyebrow {
    font-size: 11.5px;
    letter-spacing: 0.12em;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: clamp(29px, 8.4vw, 38px);
    line-height: 1.32;
  }

  .hero__lede {
    margin-top: 16px;
    font-size: 15.5px;
    line-height: 1.8;
  }

  .hero__actions {
    margin-top: 22px;
    gap: 9px;
  }

  .hero__actions .btn {
    flex: 1;
    min-width: 144px;
    min-height: 48px;
    padding: 0 14px;
    font-size: 14.5px;
  }

  .hero__notice {
    font-size: 12.5px;
    margin-top: 14px;
  }

  .hero__facts {
    margin-top: 26px;
  }

  .hero__fact dt {
    font-size: 21px;
  }

  .hero__fact dd {
    font-size: 11.5px;
    line-height: 1.5;
  }

  .hero__fact + .hero__fact {
    padding-left: 12px;
  }

  .quickcheck {
    padding: 20px 18px 18px;
  }

  .qc-result {
    scroll-margin-bottom: 88px;
  }

  .quickcheck__head h2 {
    font-size: 19px;
  }

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

  .seg button {
    min-height: 40px;
    padding: 6px 4px;
    font-size: 12.5px;
  }

  .quickcheck__actions .btn {
    min-height: 46px;
  }

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

  .hero__stat {
    padding: 15px 12px 16px 0;
  }

  .hero__stat + .hero__stat {
    padding-left: 15px;
  }

  .hero__stat strong {
    font-size: 20px;
  }

  .hero__stat span {
    font-size: 11.5px;
  }

  .section {
    padding: 54px 0;
  }

  .section--tight {
    padding: 44px 0;
  }

  .sec-head {
    display: block;
    margin-bottom: 26px;
  }

  .sec-head h2 {
    margin-top: 9px;
    font-size: 27px;
  }

  .sec-head__lead {
    margin-top: 9px;
    font-size: 14.5px;
  }

  .sec-head__link {
    display: inline-flex;
    margin-top: 14px;
    font-size: 13.5px;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .scene-card {
    min-height: 0;
    padding: 21px 19px 18px;
  }

  .scene-card h3 {
    margin-top: 13px;
    font-size: 19px;
  }

  .scene-card p {
    font-size: 13.5px;
  }

  .scene-card__foot {
    padding-top: 14px;
  }

  .path {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .path__step,
  .path__step:nth-child(2n),
  .path__step:last-child {
    padding: 20px 0 20px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .path__step::before {
    top: 25px;
    left: -4px;
  }

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

  .path__step:last-child {
    border-bottom: 0;
  }

  .path__step h3 {
    margin-top: 4px;
    font-size: 18px;
  }

  .callout {
    padding: 16px 17px;
    font-size: 13.5px;
  }

  .split {
    gap: 24px;
  }

  .pit-card {
    padding: 18px 18px 0;
  }

  .pit-card__ok {
    margin: 14px -18px 0;
    padding: 12px 18px 15px;
  }

  .qa-item {
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 6px;
    padding: 20px 18px 22px;
  }

  .prose p {
    font-size: 15px;
  }

  .example__head {
    padding: 12px 15px;
  }

  .example__body {
    padding: 16px;
  }

  .comp-example {
    padding: 20px;
  }

  .cta-band__in {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .cta-band h2 {
    font-size: 27px;
  }

  .cta-band p {
    font-size: 14px;
  }

  .cta-band__actions .btn {
    width: 100%;
  }

  .cta-card {
    padding: 20px;
  }

  .page-hero__in {
    padding-top: 22px;
    padding-bottom: 32px;
  }

  .page-hero h1 {
    margin-top: 15px;
    font-size: clamp(26px, 7.4vw, 33px);
    line-height: 1.4;
  }

  .page-hero__lede {
    margin-top: 10px;
    font-size: 14.5px;
    line-height: 1.8;
  }

  .page-hero__meta {
    gap: 6px 12px;
    margin-top: 14px;
    font-size: 11.5px;
  }

  .page-hero__facts {
    margin-top: 20px;
  }

  .page-hero__fact {
    padding-top: 12px;
  }

  .page-hero__fact dd {
    font-size: 13px;
  }

  .article-layout,
  .list-layout,
  .faq-layout {
    padding-top: 28px;
    padding-bottom: 46px;
    gap: 30px;
  }

  .article {
    font-size: 16px;
  }

  .article h2 {
    margin-top: 36px;
    margin-bottom: 14px;
    font-size: 23px;
  }

  .article h3 {
    margin-top: 24px;
    font-size: 18px;
  }

  .article p {
    margin-bottom: 15px;
  }

  .article li {
    font-size: 15px;
  }

  .keybox {
    padding: 18px;
  }

  .keybox h2 {
    font-size: 18px;
  }

  .keybox li {
    font-size: 14px;
  }

  .article .checklist {
    grid-template-columns: 1fr;
  }

  .template {
    padding: 16px;
    font-size: 13.5px;
    line-height: 1.9;
  }

  table {
    font-size: 13.5px;
    min-width: 560px;
  }

  .table-wrap table th:first-child,
  .table-wrap table td:first-child {
    white-space: nowrap;
  }

  .table-wrap {
    position: relative;
    box-shadow: inset -14px 0 14px -14px rgba(28, 20, 17, 0.16), var(--shadow);
  }

  .article-side,
  .side-sticky {
    grid-template-columns: 1fr;
  }

  .side-card {
    padding: 18px;
  }

  .side-card--brand {
    order: -1;
  }

  .article-side .side-card--brand {
    order: -1;
  }

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

  .page-tools {
    align-items: stretch;
    gap: 10px;
  }

  .filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    flex: none;
    min-height: 38px;
  }

  .search-box {
    min-width: 0;
  }

  .page-tools .search-box {
    flex: 1 1 190px;
  }

  .page-tools .list-count {
    align-self: center;
  }

  .search-box input {
    min-height: 44px;
    font-size: 14px;
  }

  .news-item {
    grid-template-columns: 1fr 18px;
    gap: 6px 10px;
    padding: 19px 0;
  }

  .news-item__date {
    display: flex;
    gap: 8px;
    align-items: center;
    grid-column: 1 / -1;
    font-family: var(--sans);
    font-size: 11.5px;
    color: var(--muted-2);
  }

  .news-item__date span {
    display: inline;
    margin: 0;
    font-size: 11px;
  }

  .news-item h3 {
    font-size: 17.5px;
  }

  .news-item p {
    font-size: 13px;
  }

  .news-item__arrow {
    grid-column: 2;
    grid-row: 2;
  }

  .case-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    padding: 19px;
  }

  .case-row__no {
    padding-top: 4px;
    font-size: 11.5px;
  }

  .case-row__outcome {
    grid-column: 1 / -1;
    margin-top: 2px;
    padding: 8px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .faq-tools {
    align-items: center;
  }

  .faq-tools .search-box {
    min-width: 0;
  }

  .faq-list summary {
    padding: 17px 40px 17px 0;
    font-size: 14.5px;
  }

  .faq-list summary::after {
    top: 15px;
  }

  .faq-list__body {
    padding: 0 12px 18px 0;
    font-size: 14px;
  }

  .faq-group h2 {
    font-size: 21px;
  }

  .law-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 0;
  }

  .law-item__no {
    font-size: 12.5px;
  }

  .law-item__text {
    font-size: 14px;
  }

  .contact-grid {
    padding-top: 32px;
    padding-bottom: 46px;
  }

  .contact-block {
    padding: 21px 18px;
  }

  .contact-block h2 {
    font-size: 22px;
  }

  .contact-phone {
    font-size: 38px;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 38px;
    padding-bottom: 28px;
  }

  .footer__col {
    padding-top: 18px;
    border-top: 1px solid #2d2827;
  }

  .footer__contact {
    padding-top: 18px;
    border-top: 1px solid #2d2827;
  }

  .footer__bottom {
    display: block;
    padding-bottom: 22px;
  }

  .footer__bottom p + p {
    margin-top: 4px;
  }

  .mobile-cta {
    display: block;
  }

  .to-top {
    display: none;
  }

  .article__share {
    flex-wrap: wrap;
  }

  .breadcrumb {
    font-size: 11.5px;
  }

  .notice-strip {
    font-size: 12px;
  }
}

@media (max-width: 400px) {
  .hero .eyebrow {
    font-size: 11px;
    letter-spacing: 0.08em;
    gap: 8px;
  }

  .brand__text small {
    display: none;
  }

  .brand__text strong {
    font-size: 15.5px;
  }

  .hero__fact dt {
    font-size: 19px;
  }

  .hero__fact dd {
    font-size: 11px;
  }

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

  .seg button:last-child {
    grid-column: 1 / -1;
  }

  .hero__actions .btn {
    width: 100%;
    flex: none;
  }

  .mobile-cta__in {
    grid-template-columns: 1.4fr 1fr;
  }
}

@media (max-width: 640px) {
  .side-card__label,
  .keybox__label,
  .quickcheck__badge,
  .quickcheck__head p,
  .pit-card__ok-label,
  .toc__count {
    font-size: 11px;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .cause-table thead th {
    padding: 11px 14px;
  }

  .cause-table tbody th,
  .cause-table tbody td {
    padding: 16px 14px;
  }

  .cause-table tbody th {
    font-size: 13.5px;
  }

  .cause-table__no {
    min-width: 20px;
    margin-right: 4px;
  }

  .cause-table tbody td {
    font-size: 13px;
  }

  .cause-table thead th:nth-child(1) {
    width: 29%;
  }

  .cause-table thead th:nth-child(2) {
    width: 35%;
  }

  .cause-table thead th:nth-child(3) {
    width: 36%;
  }
}

@media (max-width: 760px) {
  .cause-table-wrap {
    margin: 16px 0 10px;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .cause-table {
    display: block;
  }

  .cause-table thead {
    display: none;
  }

  .cause-table tbody,
  .cause-table tr,
  .cause-table th,
  .cause-table td {
    display: block;
    width: 100%;
  }

  .cause-table tbody tr {
    padding: 16px 18px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .cause-table tbody tr + tr {
    margin-top: 10px;
  }

  .cause-table tbody th {
    display: flex;
    align-items: baseline;
    gap: 2px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--line);
  }

  .cause-table__no {
    flex: none;
    min-width: 26px;
  }

  .cause-table tbody td {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 8px;
    padding: 10px 0 0;
    border: 0;
  }

  .cause-table tbody td + td {
    padding-top: 6px;
  }

  .cause-table tbody td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.7;
  }

  .cause-table tbody tr:hover {
    background: #fff;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  @page {
    margin: 14mm;
  }

  .topbar,
  .site-header,
  .drawer,
  .drawer-mask,
  .mobile-cta,
  .to-top,
  .article-side,
  .toc-mobile,
  .read-progress,
  .site-footer,
  .cta-band,
  .article-nav {
    display: none !important;
  }

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

  .wrap {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .article-layout,
  .list-layout,
  .faq-layout {
    display: block;
    padding-top: 18px;
    padding-bottom: 0;
  }

  .page-hero {
    background: #fff;
    border-bottom: 1px solid #ccc;
  }

  .page-hero__in {
    padding-top: 0;
    padding-bottom: 16px;
  }

  .page-hero h1 {
    font-size: 22pt;
    line-height: 1.35;
  }

  .page-hero__lede,
  .page-hero__meta,
  .breadcrumb,
  .breadcrumb a {
    color: #000;
  }

  .page-hero__facts {
    border-color: #ccc;
  }

  .page-hero__fact {
    border-color: #ccc;
  }

  .page-hero__fact dt {
    color: #444;
  }

  .article {
    max-width: none;
    font-size: 10.5pt;
    line-height: 1.75;
    color: #000;
  }

  .article > p,
  .article li,
  .article td,
  .article th,
  .article dd,
  .article dt {
    color: #000;
  }

  .article a {
    color: #000;
    text-decoration: underline;
  }

  .article h2,
  .article h3 {
    break-after: avoid;
    page-break-after: avoid;
    color: #000;
  }

  .article h2 {
    margin-top: 20px;
    font-size: 15pt;
  }

  .article h3 {
    font-size: 12pt;
  }

  .article table,
  .article blockquote,
  .article .callout,
  .article .keybox,
  .article pre {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .article .callout,
  .article .keybox {
    background: #fff;
    border: 1px solid #bbb;
  }

  .table-wrap,
  .cause-table-wrap {
    box-shadow: none;
  }

  table thead th,
  .cause-table thead th {
    background: #fff;
    color: #000;
    border-bottom-color: #999;
  }

  table thead th + th {
    border-left-color: #ccc;
  }

  table thead th:first-child::before {
    display: none;
  }

  .cause-table tbody th,
  .cause-table tbody td {
    color: #000;
    border-color: #ccc;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .article::after {
    content: "上海名誉侵权维权 · 7×24 小时电话 158-2183-2774 · 本页仅供一般参考，具体案件请结合证据判断";
    display: block;
    margin-top: 18px;
    padding-top: 8px;
    border-top: 1px solid #ccc;
    color: #444;
    font-size: 9pt;
    line-height: 1.6;
  }
}
