:root {
  --warm-white: #fafafa;
  --cream: #fff4d2;
  --peach: #ffd3d3;
  --mint: #e2f5ed;
  --coral: #ff7e67;
  --coral-dark: #d95543;
  --ink: #2c2725;
  --muted: #6f625e;
  --line: rgba(122, 92, 78, 0.18);
  --panel: rgba(255, 255, 255, 0.78);
  --shadow: 0 18px 44px rgba(82, 61, 49, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 211, 211, 0.55), transparent 28rem),
    linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 42%, #fff 100%);
  line-height: 1.75;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 126, 103, 0.2);
  background: rgba(250, 250, 250, 0.88);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(255, 126, 103, 0.24);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
}

.nav-links a {
  padding: 0.58rem 0.52rem;
  border-radius: 8px;
  color: #4b403d;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 126, 103, 0.12);
  color: var(--coral-dark);
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.12rem;
  border: 0;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(255, 126, 103, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--coral-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(217, 85, 67, 0.28);
}

.btn.secondary {
  border: 1px solid rgba(255, 126, 103, 0.34);
  background: rgba(255, 255, 255, 0.72);
  color: var(--coral-dark);
  box-shadow: none;
}

.icon {
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 68px);
  display: grid;
  align-items: center;
  padding: 58px 0 38px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 250, 250, 0.96) 0%, rgba(250, 250, 250, 0.78) 42%, rgba(255, 244, 210, 0.4) 100%),
    url("img/seo-5.webp") center right / cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--warm-white));
  z-index: -1;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 126, 103, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--coral-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  line-height: 1.22;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 1.1rem 0 1rem;
  font-size: clamp(2.25rem, 6vw, 4.15rem);
}

.nowrap {
  white-space: nowrap;
}

.hero-lead {
  max-width: 720px;
  margin: 0;
  color: #564843;
  font-size: clamp(1.02rem, 2.1vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.65rem 0 1.4rem;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.72rem;
  border-radius: 8px;
  background: rgba(226, 245, 237, 0.8);
  color: #31584a;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-panel {
  align-self: stretch;
  min-height: 500px;
  display: grid;
  align-content: end;
  padding: 1rem;
}

.status-board {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.status-image {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.status-copy {
  padding: 1rem;
}

.status-copy strong {
  display: block;
  font-size: 1.04rem;
}

.status-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(226, 245, 237, 0.62), rgba(255, 244, 210, 0.28));
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 790px;
  margin-bottom: 2rem;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 0.6rem;
  color: var(--coral-dark);
  font-size: 0.88rem;
  font-weight: 900;
}

.section h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.section-head p,
.feature-copy p,
.timeline-card p,
.guide-card p,
.faq-answer {
  color: var(--muted);
}

.intro-grid,
.content-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 2rem;
  align-items: center;
}

.prose-block {
  padding: 0;
}

.prose-block p {
  margin: 0 0 1rem;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: #fff;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-caption {
  padding: 0.8rem 0.95rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.stat-item {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.stat-item strong {
  display: block;
  color: var(--coral-dark);
  font-size: 1.6rem;
  line-height: 1.1;
}

.stat-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.content-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.content-card,
.feature-card,
.guide-card,
.timeline-card,
.faq-item,
.link-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(82, 61, 49, 0.08);
}

.content-card {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 0.95rem;
  padding: 0.85rem;
}

.content-card img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
}

.content-card h3,
.feature-card h3,
.guide-card h3,
.timeline-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.content-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.feature-card {
  padding: 1.1rem;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--mint), #fff);
  color: #3a7868;
}

.guide-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 1.2rem;
}

.guide-tabs {
  display: grid;
  gap: 0.6rem;
  align-self: start;
}

.guide-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  text-align: left;
}

.guide-tab[aria-selected="true"] {
  border-color: rgba(255, 126, 103, 0.5);
  background: var(--coral);
  color: #fff;
}

.guide-panels {
  min-height: 360px;
}

.guide-card {
  display: none;
  padding: 1.2rem;
}

.guide-card.active {
  display: block;
}

.guide-card ol {
  margin: 0.8rem 0 0;
  padding-left: 1.25rem;
}

.guide-card li {
  margin: 0.45rem 0;
}

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

.timeline-card {
  padding: 1.1rem;
}

.timeline-card time {
  display: inline-flex;
  margin-bottom: 0.55rem;
  padding: 0.24rem 0.55rem;
  border-radius: 8px;
  background: var(--cream);
  color: var(--coral-dark);
  font-weight: 900;
}

.gallery {
  position: relative;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 34%);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.2rem 0 1rem;
  scroll-snap-type: x mandatory;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  scroll-snap-align: start;
  box-shadow: 0 10px 24px rgba(82, 61, 49, 0.08);
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery figcaption {
  min-height: 72px;
  padding: 0.8rem 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  margin: 0;
  padding: 0 1rem 1rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.link-item {
  padding: 0.82rem 0.9rem;
  text-decoration: none;
  font-weight: 800;
}

.link-item span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.cta-band {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--peach), var(--cream) 48%, var(--mint));
}

.cta-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.cta-inner p {
  margin: 0;
  color: #574844;
}

.site-footer {
  padding: 36px 0;
  background: #2d2725;
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.footer-inner p {
  margin: 0.25rem 0;
}

.footer-note {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 0.9rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

@media (max-width: 1320px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-links .btn {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-inner,
  .intro-grid,
  .content-row,
  .guide-layout,
  .cta-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
    padding: 0;
  }

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

@media (max-width: 680px) {
  .nowrap {
    white-space: normal;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(250, 250, 250, 0.98), rgba(250, 250, 250, 0.82)),
      url("img/seo-5.webp") center / cover no-repeat;
  }

  .section {
    padding: 52px 0;
  }

  .stat-strip,
  .content-list,
  .feature-grid,
  .timeline,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .content-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .content-card img {
    width: 76px;
    height: 76px;
  }

  .gallery-track {
    grid-auto-columns: minmax(260px, 86%);
  }

  .cta-inner {
    display: grid;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
/* Whitehat protocol surfaces: isolated from the original visual system. */
[data-seo-managed="download-link"] { text-decoration: none; }
.seo-home-news, body.seo-news-page { --seo-accent: var(--coral); }
.seo-home-news { padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem); border-top: 1px solid var(--line); }
.seo-home-news-shell { width: min(100%, 1180px); margin: 0 auto; }
.seo-home-news-header { max-width: 720px; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.seo-home-news-kicker { margin: 0 0 .65rem; color: var(--seo-accent); font-size: .85rem; font-weight: 800; }
.seo-home-news-header h2 { margin: 0; }.seo-home-news-header > p:last-child { margin: .8rem 0 0; color: var(--muted, var(--ink-soft)); }
.seo-home-news-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; margin-top: 1.5rem; }.seo-home-news-list > * { min-width: 0; }
.seo-home-news-card, .seo-home-news-empty { margin: 0; padding: 1.35rem; border: 1px solid var(--line); border-radius: 8px; background: var(--panel, rgba(255,255,255,.82)); box-shadow: var(--shadow); }.seo-home-news-card h3 { margin: 0; }.seo-home-news-card time { display: block; margin-top: .65rem; color: var(--seo-accent); font-size: .9rem; }.seo-home-news-card p { margin: .75rem 0 1rem; color: var(--muted, var(--ink-soft)); }.seo-home-news-card a { color: var(--seo-accent); font-weight: 800; text-underline-offset: .2em; }.seo-home-news-list:has(.seo-home-news-card) + .seo-home-news-empty { display: none; }.seo-home-news-empty { margin-top: 1.5rem; color: var(--muted, var(--ink-soft)); text-align: center; }
body.seo-news-page { min-height: 100vh; display: flex; flex-direction: column; }.seo-news-sitebar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 4vw, 4rem); border-bottom: 1px solid var(--line); background: var(--panel, rgba(255,255,255,.82)); }.seo-news-sitebar a { color: inherit; font-weight: 800; text-decoration: none; }.seo-news-sitebar-nav { display: flex; align-items: center; gap: 1rem; }.seo-news-sitebar-nav a:last-child { padding: .55rem .9rem; border: 1px solid var(--seo-accent); border-radius: 8px; color: var(--seo-accent); }.seo-news-main { width: min(100%, 1100px); flex: 1; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) 1rem; }.seo-news-header { max-width: 720px; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }.seo-news-kicker { margin: 0 0 .65rem; color: var(--seo-accent); font-size: .85rem; font-weight: 800; }.seo-news-header h1, .seo-news-detail h1 { margin: 0; }.seo-news-header p { margin: .8rem 0 0; color: var(--muted, var(--ink-soft)); }.seo-news-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; margin-top: 1.5rem; }.seo-news-card, .seo-news-empty-state, .seo-news-detail { border: 1px solid var(--line); border-radius: 8px; background: var(--panel, rgba(255,255,255,.82)); box-shadow: var(--shadow); }.seo-news-card { padding: 1.35rem; }.seo-news-card h2 { margin: 0; font-size: 1.25rem; }.seo-news-card time { display: block; margin-top: .65rem; color: var(--seo-accent); font-size: .9rem; }.seo-news-card p { margin: .75rem 0 1rem; color: var(--muted, var(--ink-soft)); }.seo-news-card a, .seo-news-back a { color: var(--seo-accent); font-weight: 800; text-underline-offset: .2em; }.seo-news-empty-state { margin: 1.5rem 0 0; padding: 2rem 1.25rem; color: var(--muted, var(--ink-soft)); text-align: center; }.seo-news-list:has(.seo-news-card) + .seo-news-empty-state { display: none; }.seo-news-detail { width: min(100%, 860px); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem); }.seo-news-date { margin: .75rem 0 1.5rem; color: var(--muted, var(--ink-soft)); }.seo-news-plain-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; }.seo-news-back { margin: 2rem 0 0; }
.seo-download-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(0,0,0,.58); }.seo-download-dialog { width: min(430px,100%); padding: 1.35rem; border: 1px solid var(--line); border-radius: 8px; background: var(--panel,rgba(255,255,255,.95)); color: var(--text,var(--ink)); box-shadow: var(--shadow); }.seo-download-dialog h3 { margin: 0 0 .7rem; }.seo-download-dialog p { margin: 0; }.seo-download-actions { display: flex; justify-content: flex-end; gap: .75rem; margin-top: 1.1rem; }.seo-download-actions button { padding: .6rem .95rem; border: 1px solid var(--line); border-radius: 6px; color: var(--text,var(--ink)); background: var(--panel,rgba(255,255,255,.95)); cursor: pointer; }.seo-download-actions button:last-child { border-color: var(--seo-accent); color: var(--seo-accent); }
@media (max-width: 640px) { .seo-news-sitebar { align-items: flex-start; flex-direction: column; }.seo-news-sitebar-nav { width: 100%; justify-content: space-between; }.seo-home-news, .seo-news-main { padding-left: .75rem; padding-right: .75rem; }.seo-home-news-list, .seo-news-list { grid-template-columns: 1fr; } }
