:root {
  --ink: #171717;
  --muted: #66645f;
  --paper: #f7f5f0;
  --surface: #ffffff;
  --line: #dedbd3;
  --soft: #efede7;
  --red: #f44321;
  --red-deep: #c92e16;
  --yellow: #ffd900;
  --black: #111111;
  --max: 1160px;
  --reading: 780px;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(28, 24, 17, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red-deep); }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.reading { width: min(100%, var(--reading)); }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 99; background: var(--black); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(222, 219, 211, .9);
  background: rgba(247, 245, 240, .92);
  backdrop-filter: blur(14px);
}
.header-row { min-height: 126px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 160px; height: 118px; object-fit: contain; object-position: left center; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-group { position: relative; }
.nav-link, .nav-button {
  display: inline-flex; align-items: center; gap: 5px; min-height: 40px;
  padding: 8px 10px; border: 0; border-radius: 9px; background: transparent;
  color: #373530; font-size: 14px; font-weight: 650; cursor: pointer;
}
.nav-link:hover, .nav-button:hover, .nav-link.active, .nav-button.active { background: #fff; color: var(--black); }
.nav-button::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-2px); }
.dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow);
}
.dropdown a { display: block; padding: 9px 11px; border-radius: 8px; color: #44413c; font-size: 14px; }
.dropdown a:hover, .dropdown a.active { background: var(--soft); color: var(--black); }
.nav-group:hover .dropdown, .nav-group:focus-within .dropdown { display: block; }
.menu-toggle { display: none; margin-left: auto; padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }

.hero { position: relative; overflow: hidden; padding: 82px 0 72px; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; width: 360px; height: 360px; right: -80px; top: -150px; border-radius: 50%; background: var(--yellow); opacity: .72; }
.hero::after { content: ""; position: absolute; width: 160px; height: 160px; right: 17%; bottom: -110px; transform: rotate(18deg); background: var(--red); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 64px; align-items: end; }
.eyebrow { margin: 0 0 16px; color: var(--red-deep); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--black); line-height: 1.22; letter-spacing: -.025em; }
h1 { max-width: 900px; font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 20px; }
.hero .lead { max-width: 760px; margin: 22px 0 0; color: #4c4943; font-size: clamp(17px, 2vw, 20px); }
.hero-note { padding: 22px; border: 1px solid rgba(17,17,17,.1); border-radius: var(--radius); background: rgba(255,255,255,.78); }
.hero-note strong { display: block; margin-bottom: 6px; font-size: 14px; }
.hero-note p { margin: 0; color: var(--muted); font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 17px; border: 1px solid var(--black); border-radius: 10px; font-weight: 750; font-size: 14px; }
.button.primary { background: var(--black); color: #fff; }
.button.primary:hover { background: var(--red); border-color: var(--red); color: #fff; }
.button.secondary { background: rgba(255,255,255,.8); }

.content-hero { padding: 58px 0 44px; border-bottom: 1px solid var(--line); background: #fff; }
.content-hero h1 { max-width: 880px; font-size: clamp(32px, 4.4vw, 48px); }
.content-hero .lead { max-width: 780px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.breadcrumbs { margin-bottom: 18px; color: #85817a; font-size: 13px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }

.section { padding: 72px 0; }
.section.compact { padding: 54px 0; }
.section.white { background: #fff; }
.section.dark { background: var(--black); color: #f4f1ea; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .section-intro, .section.dark .muted { color: #bdb8ae; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 32px; }
.section-intro { max-width: 650px; margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
.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)); }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card.accent { border-top: 4px solid var(--red); }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); }
.card p + p { margin-top: 10px; }
.card .number { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 20px; border-radius: 50%; background: var(--yellow); color: var(--black); font-size: 13px; font-weight: 850; }
.tag { display: inline-flex; margin-bottom: 12px; padding: 4px 9px; border-radius: 999px; background: var(--soft); color: #524f49; font-size: 12px; font-weight: 750; }
.statement { max-width: 980px; font-size: clamp(25px, 3.2vw, 38px); line-height: 1.35; font-weight: 720; letter-spacing: -.025em; }
.statement em { color: var(--red); font-style: normal; }

.prose { width: min(100%, var(--reading)); }
.prose h2 { margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 12px 0 22px; padding-left: 1.25em; }
.prose li { margin: 7px 0; }
.prose blockquote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--red); background: #fff; font-size: 18px; font-weight: 650; }
.muted { color: var(--muted); }
.callout { margin: 28px 0; padding: 24px; border: 1px solid #e6d24b; border-radius: var(--radius); background: #fffbe0; }
.callout p:last-child { margin-bottom: 0; }
.split { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr); gap: 60px; align-items: start; }
.split > aside { position: sticky; top: 100px; }
.side-index { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.side-index strong { display: block; margin-bottom: 10px; }
.side-index a { display: block; padding: 7px 0; color: var(--muted); font-size: 14px; }
.side-index a:hover { color: var(--red-deep); }
.steps { counter-reset: step; display: grid; gap: 14px; }
.step { position: relative; padding: 22px 22px 22px 70px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 20px; top: 20px; color: var(--red); font-weight: 850; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }
.comparison { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.comparison th, .comparison td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { background: var(--soft); font-size: 13px; }
.comparison tr:last-child td { border-bottom: 0; }
.quote { padding: 34px; border-radius: var(--radius); background: var(--black); color: #fff; font-size: clamp(21px, 2.5vw, 30px); line-height: 1.5; font-weight: 700; }
.quote small { display: block; margin-top: 14px; color: #bdb8ae; font-size: 13px; font-weight: 500; }

.cta-band { padding: 42px 0; background: var(--yellow); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-row p { margin: 8px 0 0; color: #4a4315; }
.channel-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.channel { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.channel strong { display: block; }
.channel span { color: var(--muted); font-size: 14px; }
.channel.disabled { opacity: .62; }
.disabled-note { display: inline-block; margin-top: 8px; padding: 3px 7px; border-radius: 6px; background: var(--soft); color: var(--muted); font-size: 12px; }

.site-footer { padding: 48px 0 28px; border-top: 1px solid #2d2d2d; background: var(--black); color: #d4d0c8; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 34px; }
.footer-brand img {
  width: 160px;
  height: 118px;
  margin: -8px 0 12px -6px;
  object-fit: contain;
  object-position: left top;
  filter: none;
}
.footer-brand p { max-width: 330px; margin: 0; color: #aaa59c; font-size: 14px; }
.footer-col strong { display: block; margin-bottom: 11px; color: #fff; font-size: 13px; }
.footer-col a { display: block; margin: 6px 0; color: #aaa59c; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid #2d2d2d; color: #77736d; font-size: 12px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 20px; right: 20px; top: 62px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav-group { border-bottom: 1px solid var(--soft); }
  .nav-link, .nav-button { width: 100%; justify-content: space-between; }
  .dropdown { display: block; position: static; min-width: 0; padding: 0 8px 8px 18px; border: 0; box-shadow: none; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .split > aside { position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 58px 0 52px; }
  .hero::before { width: 260px; height: 260px; }
  .content-hero { padding: 42px 0 34px; }
  .section { padding: 54px 0; }
  .section-head, .cta-row, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .grid-2, .grid-3, .grid-4, .channel-list, .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 21px; }
  .comparison { font-size: 14px; }
  .comparison th, .comparison td { padding: 11px; }
  .header-row { min-height: 114px; }
  .brand img { width: 144px; height: 106px; }
  .footer-brand img { width: 144px; height: 106px; margin-left: -5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
