/* =========================================================
   太原超联动文化传媒有限公司
   Editorial layout system
   ========================================================= */

:root {
  --paper: #f2f3ef;
  --paper-2: #e7e9e3;
  --white: #ffffff;
  --ink: #111315;
  --ink-2: #1a1d20;
  --muted: #676c6f;
  --line: #d3d7d0;
  --line-dark: rgba(242, 243, 239, 0.16);
  --cobalt: #2447f0;
  --cobalt-dark: #1a36c5;
  --cobalt-tint: #e6e9ff;
  --font-sans: "Noto Sans CJK SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --container: 1240px;
  --footer-h: 52px;
  --ease: cubic-bezier(0.22, 0.72, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(var(--footer-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: var(--footer-h);
}

main {
  flex: 1 0 auto;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--cobalt);
  color: var(--white);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h2 {
  text-wrap: balance;
}

.mobile-break {
  display: none;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
}

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

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--cobalt);
  color: var(--white);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(17, 19, 21, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 72px;
}

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

.brand-footer {
  color: var(--paper);
}

.nav-mobile-cta {
  display: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-name small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

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

.nav a {
  position: relative;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #4d5154;
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--cobalt);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav a.is-active::after,
.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  background: var(--cobalt);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s var(--ease);
}

.header-cta:hover {
  background: var(--cobalt-dark);
}

.header-cta.is-active {
  background: var(--ink);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span:first-child {
  top: 15px;
}

.nav-toggle span:last-child {
  top: 21px;
}

body.menu-open .nav-toggle span:first-child {
  top: 18px;
  transform: rotate(45deg);
}

body.menu-open .nav-toggle span:last-child {
  top: 18px;
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------
   Typography / shared
   --------------------------------------------------------- */

.section {
  padding: clamp(64px, 8vw, 108px) 0;
}

.section-soft {
  background: var(--paper-2);
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-head h2 {
  max-width: 720px;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.section-deck {
  max-width: 400px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.section-dark .section-deck {
  color: rgba(242, 243, 239, 0.55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary {
  background: var(--cobalt);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--cobalt-dark);
}

.btn-secondary {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--white);
}

.link-underline {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.link-underline:hover {
  color: var(--cobalt);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags li {
  padding: 3px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

/* ---------------------------------------------------------
   Home hero
   --------------------------------------------------------- */

.home-hero {
  padding: clamp(64px, 8vw, 112px) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
}

.home-location {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cobalt);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.home-location::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.home-copy h1 {
  margin-top: 24px;
  font-size: clamp(2.6rem, 4.7vw, 4.05rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.home-deck {
  max-width: 560px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 16px);
  line-height: 1.85;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.home-mark {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
  padding-left: 34px;
}

.mark-line {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 1px;
  background: var(--cobalt);
  transform-origin: top;
  animation: draw-line 0.9s 0.15s both var(--ease);
}

.mark-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: 0;
  animation: mark-in 0.7s both var(--ease);
}

.mark-row::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -38px;
  width: 7px;
  height: 7px;
  background: var(--cobalt);
  border-radius: 50%;
  transform: translateY(-50%);
}

.mark-row:nth-child(2) {
  animation-delay: 0.25s;
}

.mark-row:nth-child(3) {
  animation-delay: 0.38s;
}

.mark-row:nth-child(4) {
  animation-delay: 0.51s;
}

.mark-char {
  font-size: clamp(4.4rem, 7vw, 6.2rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.mark-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

@keyframes draw-line {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes mark-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------------
   Home service index
   --------------------------------------------------------- */

.home-index {
  padding-top: clamp(56px, 7vw, 88px);
}

.service-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.service-index a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease);
}

.service-index a:hover {
  color: var(--cobalt);
}

.index-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.index-note {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: right;
}

.home-index-foot {
  margin-top: 26px;
}

/* ---------------------------------------------------------
   Page head
   --------------------------------------------------------- */

.page-head {
  padding: clamp(44px, 5vw, 64px) 0 clamp(32px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.page-head + .section {
  padding-top: clamp(40px, 5vw, 64px);
}

.page-head-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 40px;
}

.page-head h1 {
  max-width: 900px;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.page-deck {
  max-width: 390px;
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
}

.about-title h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.035em;
}

.about-copy {
  color: #3f4346;
  font-size: 15px;
  line-height: 2;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-copy .lead {
  color: var(--ink);
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
  font-weight: 600;
  line-height: 1.8;
}

.facts {
  margin-top: 36px;
  border-top: 1px solid var(--ink);
}

.fact-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.fact-row dt {
  color: var(--muted);
}

.fact-row dd {
  font-weight: 600;
  text-align: right;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 64px);
}

.value-item {
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.value-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.value-item p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* ---------------------------------------------------------
   Services
   --------------------------------------------------------- */

.service-list {
  border-top: 1px solid var(--ink);
}

.service-item {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(26px, 3.5vw, 38px) 0;
  border-bottom: 1px solid var(--line);
}

.service-item h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.2s var(--ease);
}

.service-item:hover h3 {
  color: var(--cobalt);
}

.service-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.service-item .tags {
  margin-top: 16px;
}

.scope {
  margin-top: 44px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.scope summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}

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

.scope-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.scope-icon::before,
.scope-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

.scope-icon::after {
  transform: rotate(90deg);
}

.scope[open] .scope-icon::after {
  transform: rotate(0);
}

.scope-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  padding-bottom: 14px;
  border-top: 1px solid var(--line);
}

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

.scope-item-wide {
  grid-column: 1 / -1;
}

.scope-item h3 {
  font-size: 13px;
  font-weight: 700;
}

.scope-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

/* ---------------------------------------------------------
   Advantages
   --------------------------------------------------------- */

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(40px, 7vw, 90px);
}

.advantage-item {
  padding: 26px 0 32px;
  border-top: 1px solid var(--line-dark);
}

.advantage-item h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
}

.advantage-item p {
  max-width: 460px;
  margin-top: 10px;
  color: rgba(242, 243, 239, 0.58);
  font-size: 14px;
  line-height: 1.9;
}

/* ---------------------------------------------------------
   Process
   --------------------------------------------------------- */

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: start;
}

.process-intro h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.035em;
}

.process-intro p {
  max-width: 360px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.timeline {
  position: relative;
  padding-top: 2px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 15px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.timeline-body {
  padding-top: 3px;
}

.timeline-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.timeline-body p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.process-note {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

.contact-lead {
  max-width: 560px;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.85;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-note {
  max-width: 520px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.contact-layout .facts {
  margin-top: 0;
}

/* ---------------------------------------------------------
   Cooperation
   --------------------------------------------------------- */

.coop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(40px, 7vw, 90px);
  border-top: 1px solid var(--ink);
}

.coop-item {
  padding: 26px 0 32px;
  border-bottom: 1px solid var(--line);
}

.coop-item h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
}

.coop-item p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.coop-item .tags {
  margin-top: 16px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.process-step {
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}

.step-num {
  color: var(--cobalt);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process-step h3 {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
}

.process-step p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.cta-band {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--cobalt);
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

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

.site-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  height: var(--footer-h);
  background: var(--ink);
  color: rgba(242, 243, 239, 0.5);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  font-size: 11.5px;
  line-height: 1.5;
}

.footer-legal a {
  transition: color 0.2s var(--ease);
}

.footer-legal a:hover {
  color: var(--paper);
}

/* ---------------------------------------------------------
   Back to top
   --------------------------------------------------------- */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: calc(var(--footer-h) + 16px);
  z-index: 95;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background 0.2s var(--ease);
}

.back-to-top svg {
  width: 15px;
  height: 15px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: var(--white);
}

/* ---------------------------------------------------------
   RustDesk page
   --------------------------------------------------------- */

.rd-doc {
  max-width: 920px;
  margin: 0 auto;
}

.rd-doc h2 {
  margin: 56px 0 16px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.rd-doc h3 {
  margin: 28px 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
}

.rd-doc p,
.rd-doc li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

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

.rd-doc ul,
.rd-doc ol {
  margin: 12px 0 0;
  padding-left: 1.2em;
}

.rd-doc li {
  margin: 7px 0;
}

.rd-doc code {
  padding: 2px 5px;
  background: var(--paper-2);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
  word-break: break-all;
}

.rd-download {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.rd-doc .rd-download h2 {
  margin: 8px 0 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.rd-doc p.rd-eyebrow {
  color: var(--cobalt);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rd-meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  word-break: break-all;
}

.rd-doc p.rd-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.rd-table td.rd-meta {
  font-size: 11px;
  line-height: 1.7;
}

.rd-actions {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  gap: 10px;
}

.rd-doc p.rd-note {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--cobalt);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
}

.rd-doc ol.rd-steps {
  counter-reset: rdstep;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.rd-doc ol.rd-steps li {
  position: relative;
  margin: 0;
  padding: 16px 0 16px 52px;
  border-bottom: 1px solid var(--line);
}

.rd-doc ol.rd-steps li::before {
  counter-increment: rdstep;
  content: counter(rdstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  color: var(--cobalt);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.rd-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 0;
  font-size: 14px;
}

.rd-table th,
.rd-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.rd-table th {
  color: var(--ink);
  font-weight: 700;
}

.rd-table td {
  color: var(--muted);
}

@media (max-width: 720px) {
  .rd-download {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .rd-actions {
    width: 100%;
  }

  .rd-actions .btn {
    flex: 1 1 auto;
  }

  .rd-doc h2 {
    margin-top: 44px;
  }

  .rd-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

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

@media (max-width: 1080px) {
  .nav {
    gap: 22px;
  }

  .home-hero-inner {
    gap: 48px;
  }

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

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 96px 28px 48px;
    background: var(--ink);
    color: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .nav a {
    padding: 8px 0;
    color: rgba(242, 243, 239, 0.75);
    font-size: clamp(1.4rem, 5vw, 2rem);
    font-weight: 700;
  }

  .nav a::after {
    display: none;
  }

  .nav a.is-active,
  .nav a:hover {
    color: var(--white);
  }

  .nav-mobile-cta {
    display: block;
    margin-top: 14px;
    color: var(--cobalt-tint) !important;
  }

  body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  body.menu-open .site-header {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
  }

  .site-header .brand,
  .site-header .nav-toggle {
    position: relative;
    z-index: 2;
  }

  body.menu-open .brand {
    color: var(--paper);
  }

  body.menu-open .brand-name strong,
  body.menu-open .brand-name small {
    color: var(--paper);
  }

  body.menu-open .nav-toggle {
    border-color: rgba(242, 243, 239, 0.3);
  }

  body.menu-open .nav-toggle span {
    background: var(--paper);
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .home-mark {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 22px 0 0;
    border-top: 1px solid var(--line);
  }

  .mark-line,
  .mark-row::before {
    display: none;
  }

  .mark-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    opacity: 1;
    animation: none;
  }

  .mark-char {
    font-size: clamp(3rem, 10vw, 4rem);
  }

  .mark-label {
    font-size: 10px;
  }

  .page-head-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .page-deck {
    justify-self: start;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .values {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .value-item {
    padding: 22px 0;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  :root {
    --footer-h: 58px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
    font-size: 11px;
  }

  .container {
    width: min(100% - 36px, var(--container));
  }

  .home-hero {
    padding-top: 48px;
  }

  .home-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .service-index {
    grid-template-columns: 1fr;
  }

  .service-index a {
    padding: 16px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .page-head h1 {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .mobile-break {
    display: inline;
  }

  .advantage-grid,
  .coop-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-step {
    padding: 16px 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }

  .scope-body {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .fact-row {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

}

@media (max-width: 420px) {
  .fact-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .fact-row dd {
    text-align: left;
  }
}

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