:root {
  --ink: #172026;
  --muted: #64717c;
  --line: #dde4ea;
  --paper: #ffffff;
  --soft: #f5f8fa;
  --navy: #17324d;
  --teal: #0f766e;
  --gold: #b9822b;
  --radius: 8px;
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 40px;
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: grid;
  gap: 0;
}

.brand span,
.eyebrow {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #3a4650;
  font-size: 14px;
}

nav a:hover,
.text-link {
  color: var(--teal);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 14px;
}

.header-cta,
.button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.8);
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.button.outline {
  border-color: var(--line);
  color: var(--ink);
  background: white;
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 26, 38, 0.88), rgba(12, 26, 38, 0.55), rgba(12, 26, 38, 0.14));
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  color: white;
}

.hero h1 {
  max-width: 780px;
  margin: 12px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band div {
  min-height: 190px;
  padding: 34px;
  background: var(--soft);
}

.intro-band span {
  color: var(--gold);
  font-weight: 800;
}

.intro-band strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.section,
.page-shell,
.article-layout {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 34px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.section-head p:not(.eyebrow),
.split p,
.page-hero p,
.article-hero p {
  color: var(--muted);
}

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

.service-item,
.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.service-item {
  padding: 28px;
}

.service-item span {
  color: var(--gold);
  font-weight: 900;
}

.service-item h3 {
  margin-top: 18px;
  font-size: 23px;
}

.service-points {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}

.service-points li {
  position: relative;
  padding-left: 18px;
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal);
}

.service-points a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.check-list li {
  padding: 18px 18px 18px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 26px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}

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

.trust-strip {
  margin: 30px 0;
}

.trust-strip .section-head {
  margin-bottom: 18px;
}

.trust-grid,
.boundary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-grid article,
.boundary-grid > div,
.after-submit-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.trust-grid h3,
.boundary-grid h3,
.after-submit-box h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.trust-grid p,
.after-submit-box ol {
  margin: 0;
  color: var(--muted);
}

.boundary-grid {
  grid-template-columns: repeat(2, 1fr);
  margin: 20px 0 34px;
}

.after-submit-box {
  margin-top: 18px;
  background: white;
}

.after-submit-box ol {
  padding-left: 20px;
}

.after-submit-box li + li {
  margin-top: 8px;
}

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

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

.section-more {
  margin-top: 18px;
}

.article-card {
  overflow: hidden;
}

.article-card > div {
  padding: 22px;
}

.article-card h3 {
  font-size: 21px;
  margin: 8px 0 10px;
}

.article-card p {
  color: var(--muted);
  margin: 0 0 16px;
}

.video-preview-card {
  display: flex;
  flex-direction: column;
}

.video-preview-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #101820;
}

.video-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-preview-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.04), rgba(16, 24, 32, 0.32));
}

.video-preview-thumb .play-button {
  z-index: 1;
}

.article-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.faq-item h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

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

.faq-list.compact {
  margin-top: 18px;
}

.conversion-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.conversion-cta.flush {
  padding: 0;
  border: 0;
  background: transparent;
}

.conversion-cta.inline {
  margin: 28px 0 34px;
}

.conversion-cta h2 {
  margin: 6px 0 10px;
  font-size: 28px;
}

.conversion-cta p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.conversion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.contact-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.contact-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.contact-panel h2 {
  margin-top: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 18px;
}

.contact-note {
  margin-bottom: 0;
}

.consultation-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.consultation-form label,
.consultation-form fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.consultation-form textarea {
  resize: vertical;
}

.consultation-form input[name="_gotcha"] {
  position: absolute;
  left: -9999px;
}

.consultation-form fieldset {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.consultation-form legend {
  padding: 0 6px;
  font-weight: 800;
}

.field-marker {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
  vertical-align: middle;
}

.field-marker.required {
  color: #fff;
  background: var(--teal);
}

.field-marker.optional {
  color: var(--muted);
  background: var(--soft);
}

.consultation-form fieldset label,
.form-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #2d3942;
  font-weight: 600;
}

.consultation-form input[type="checkbox"] {
  width: auto;
  min-height: 0;
  margin-top: 5px;
}

.consultation-form .button {
  width: 100%;
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.consultation-form .button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.page-hero,
.article-hero {
  padding: 86px 0 42px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1,
.article-hero h1 {
  max-width: 920px;
  margin-top: 10px;
  font-size: clamp(36px, 5vw, 60px);
}

.page-hero p,
.article-hero p {
  max-width: 780px;
  font-size: 18px;
}

.article-layout {
  max-width: 920px;
}

.featured-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  margin: 34px 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.content-body {
  max-width: 820px;
  padding: 44px 0 90px;
  font-size: 18px;
}

.page-shell .content-body {
  margin: 0;
}

.article-summary-box,
.article-toc {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.article-summary-box {
  margin-bottom: 22px;
}

.article-summary-box h2,
.article-toc h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.article-summary-box ul,
.article-toc ol {
  margin: 0;
}

.article-summary-box li + li,
.article-toc li + li {
  margin-top: 8px;
}

.article-toc {
  margin-bottom: 34px;
  background: white;
}

.article-toc a {
  text-decoration: none;
}

.content-body h2 {
  margin-top: 44px;
  font-size: 32px;
}

.content-body .video-title {
  margin-top: 30px;
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.35;
}

.content-body h3 {
  margin-top: 34px;
  font-size: 24px;
}

.content-body h4 {
  margin-top: 28px;
  font-size: 20px;
}

.content-body p,
.content-body li {
  color: #2d3942;
}

.content-body a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-body ul,
.content-body ol {
  padding-left: 24px;
}

.content-body iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.video-intro {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.video-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.video-index a {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.video-index span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--teal);
  font-weight: 800;
}

.video-detail {
  padding-top: 30px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.video-index + .video-detail {
  border-top: 0;
}

.video-detail > p {
  margin-top: 16px;
}

.video-notes {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.video-notes > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.video-notes h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.video-notes ul {
  margin: 0;
  padding-left: 20px;
}

.video-notes li + li {
  margin-top: 8px;
}

.video-notes p {
  margin: 0;
}

.video-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.video-related a {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--teal);
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
}

.article-endcap {
  padding-bottom: 90px;
}

.article-cta-box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.article-cta-box h2 {
  margin-top: 8px;
  font-size: 30px;
}

.article-cta-box p {
  color: var(--muted);
}

.article-disclaimer {
  margin-bottom: 0;
  font-size: 14px;
}

.related-articles {
  margin-top: 36px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.related-articles .section-head {
  margin-bottom: 22px;
}

.related-articles .section-head p:not(.eyebrow) {
  color: var(--muted);
}

.related-articles h2 {
  font-size: 30px;
}

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

.related-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.related-card h3 {
  margin: 8px 0 10px;
  font-size: 20px;
}

.related-card p {
  margin: 0;
  color: var(--muted);
}

.video-grid {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.video-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  color: inherit;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(27, 41, 55, 0.08);
}

.video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(27, 41, 55, 0.12);
}

.video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #101820;
  aspect-ratio: 16 / 9;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  min-width: 78px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(160, 50, 38, 0.92);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.video-card strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.video-card > span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 42px 40px;
  color: white;
  background: var(--navy);
}

.site-footer p {
  margin: 4px 0;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 22px;
  }

  nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .header-cta {
    width: fit-content;
  }

  .hero {
    min-height: 610px;
  }

  .hero-shade {
    background: rgba(12, 26, 38, 0.72);
  }

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

  .conversion-cta {
    grid-template-columns: 1fr;
  }

  .conversion-actions {
    justify-content: flex-start;
  }

  .consultation-form fieldset {
    grid-template-columns: 1fr;
  }

  .intro-band,
  .service-grid,
  .article-grid,
  .trust-grid,
  .boundary-grid,
  .video-index,
  .video-notes,
  .related-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .section,
  .page-shell,
  .article-layout {
    width: min(100% - 32px, 1120px);
  }

  .section {
    padding: 64px 0;
  }

  .site-footer {
    flex-direction: column;
    padding: 34px 24px;
  }
}
