:root {
  --ink: #0b1f1a;
  --deep: #123c3a;
  --teal: #1f6f78;
  --gold: #d8a84e;
  --paper: #f7f8f5;
  --quiet: #edf3ef;
  --graphite: #1e2422;
  --muted: #51615b;
  --border: #d9e2dc;
  --border-strong: #a8bab2;
  --white: #ffffff;
  --anchor-offset: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family:
    Arial,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}

html.qr-dialog-open {
  overflow: hidden;
}

body.qr-dialog-open {
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(247, 248, 245, 0.93);
  backdrop-filter: blur(16px);
}

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

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
}

.mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  color: var(--deep);
  font-size: 14px;
}

.nav a {
  flex: 0 0 auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button,
.button-secondary,
.language-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
}

.button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button-secondary,
.language-link {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.64);
  color: var(--deep);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 78svh;
  background: var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("../images/cedarspark-hero.png") center / cover no-repeat;
}

.company-hero::before {
  background-image: url("../images/company-hero.png");
  background-position: center;
}

.geo-hero::before {
  background-image: url("../images/cedarspark-hero.png");
  background-position: center;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(247, 248, 245, 0.96) 0%,
    rgba(247, 248, 245, 0.9) 38%,
    rgba(247, 248, 245, 0.45) 68%,
    rgba(247, 248, 245, 0.12) 100%
  );
}

.hero-inner {
  display: flex;
  min-height: 78svh;
  align-items: center;
  padding: 72px 0;
}

.hero-copy {
  max-width: 760px;
}

.company-hero .hero-copy {
  max-width: 900px;
}

.company-hero h1 {
  max-width: 880px;
  font-size: 64px;
  line-height: 1.06;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

html[lang="en-US"] .company-hero h1 {
  max-width: 820px;
  font-size: 58px;
}

.geo-hero .hero-copy {
  max-width: 920px;
}

.geo-hero h1 {
  max-width: 900px;
  font-size: 60px;
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

html[lang="en-US"] .geo-hero h1 {
  max-width: 860px;
  font-size: 52px;
}

.geo-hero .hero-subtitle {
  max-width: 780px;
}

.geo-hero .fit-note {
  max-width: 760px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.breadcrumb a {
  color: var(--deep);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  text-decoration-color: currentColor;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  border: 1px solid #ead7a5;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.74);
  padding: 9px 12px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.06;
}

.hero-subtitle {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.fit-note {
  max-width: 690px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 34px;
}

.proof-card,
.card,
.check-card,
.step-card,
.faq-list {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.proof-card {
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
}

.proof-value {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.proof-label,
.card p,
.check-card li,
.step-card p,
.faq-answer,
.legal-list li,
.section-body,
.about-body,
.contact-body,
.contact-note,
.footer {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.band {
  padding: 76px 0;
}

.anchor-section {
  scroll-margin-top: var(--anchor-offset);
}

.band-white {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.band-quiet {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--quiet);
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.14;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

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

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

.card-grid-single {
  display: grid;
  gap: 14px;
}

.card,
.check-card,
.step-card {
  padding: 22px;
}

.capability-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
}

.status-pill {
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid #ead7a5;
  border-radius: 999px;
  background: #fff8e7;
  padding: 6px 10px;
  color: var(--deep);
  font-size: 12px;
  font-weight: 800;
}

.service-feature .split {
  align-items: end;
}

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

.service-feature .button {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.service-feature .button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  color: var(--white);
}

.principles-grid .card {
  background: var(--paper);
}

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

.check-card ul,
.deliverable-list,
.boundary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-card li {
  position: relative;
  padding-left: 20px;
}

.check-card li + li {
  margin-top: 12px;
}

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

.check-card-caution li::before {
  background: var(--gold);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-number {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.dark-band {
  background: var(--ink);
  color: var(--white);
}

.dark-band h2,
.dark-band h3 {
  color: var(--white);
}

.dark-band .section-kicker {
  color: var(--gold);
}

.dark-band .section-body {
  color: rgba(255, 255, 255, 0.78);
}

.deliverable-list,
.boundary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.deliverable-list li {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.65;
}

.verification-band {
  background: var(--quiet);
}

.verification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin-top: 34px;
}

.verification-item {
  border-top: 1px solid var(--border-strong);
  padding: 22px 0 26px;
}

.verification-item h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.verification-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.verification-note {
  max-width: 920px;
  margin-top: 10px;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.boundary-list li {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  padding: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

@media (min-width: 600px) and (max-width: 1099px) {
  .company-hero h1 {
    font-size: 52px;
  }

  html[lang="en-US"] .company-hero h1 {
    font-size: 46px;
  }

  .geo-hero h1 {
    font-size: 48px;
  }

  html[lang="en-US"] .geo-hero h1 {
    font-size: 42px;
  }

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

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

@media (max-width: 599px) {
  #process .steps,
  .principles-grid,
  .boundary-list {
    grid-template-columns: 1fr;
  }
}

.faq-wrap {
  width: min(calc(100% - 40px), 860px);
  min-width: 0;
  margin: 0 auto;
}

.faq-list {
  overflow: hidden;
}

.faq-item {
  padding: 22px;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--border);
}

.faq-question {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.faq-directory-link {
  margin: 22px 0 0;
  text-align: right;
}

.faq-directory-link a {
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 4px;
}

.faq-directory-link a:focus-visible {
  border-radius: 2px;
  outline: 3px solid rgba(31, 111, 120, 0.24);
  outline-offset: 4px;
}

.faq-page-hero {
  background: var(--quiet);
}

.faq-page-hero h1 {
  width: 100%;
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.faq-page-hero .hero-subtitle {
  overflow-wrap: anywhere;
}

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

.faq-topic-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  padding: 24px;
}

.faq-topic-card h2 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.28;
}

.faq-topic-card h2 a:focus-visible,
.faq-topic-link:focus-visible,
.faq-related-pages a:focus-visible {
  border-radius: 2px;
  outline: 3px solid rgba(31, 111, 120, 0.24);
  outline-offset: 4px;
}

.faq-topic-card > p:not(.section-kicker) {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.faq-topic-link {
  width: fit-content;
  margin-top: auto;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 4px;
}

.faq-document {
  width: 100%;
  min-width: 0;
  border-top: 1px solid var(--border-strong);
}

.faq-document-item {
  display: grid;
  min-width: 0;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0 20px;
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}

.faq-document-item:last-of-type {
  border-bottom: 0;
}

.faq-document-number {
  grid-row: 1 / span 2;
  margin: 4px 0 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.faq-document-item h2 {
  min-width: 0;
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.faq-document-item > p:last-child {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.82;
  overflow-wrap: anywhere;
}

.faq-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
}

.faq-boundary h2,
.faq-related-pages h2 {
  font-size: 28px;
  line-height: 1.25;
}

.faq-boundary ul,
.faq-related-pages ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-boundary li,
.faq-related-pages li {
  border-top: 1px solid var(--border-strong);
  padding-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.faq-related-pages a {
  color: var(--deep);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 4px;
}

.faq-keywords {
  border: 0;
  border-top: 1px solid var(--border);
  background: transparent;
}

.faq-keywords summary {
  padding: 22px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.faq-keywords summary:focus-visible {
  border-radius: 2px;
  outline: 3px solid rgba(31, 111, 120, 0.24);
  outline-offset: 3px;
}

.keyword-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  border-top: 1px solid var(--border);
  padding: 18px 0 24px;
  list-style: none;
}

.keyword-tag {
  display: inline-flex;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  padding: 7px 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.featured-case-band {
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}

.featured-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 56px;
  align-items: center;
}

.featured-case-visual,
.case-page figure {
  min-width: 0;
  margin: 0;
}

.featured-case-visual > a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  aspect-ratio: 8 / 5;
  background: var(--ink);
}

.featured-case-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-case-visual figcaption,
.case-page figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.featured-case-copy {
  min-width: 0;
}

.featured-case-copy h2 {
  overflow-wrap: anywhere;
}

.featured-case-copy .cta-row {
  margin: 26px 0 0;
}

.case-page {
  min-width: 0;
  overflow: clip;
}

.case-page h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.case-narrow {
  max-width: 940px;
}

.case-index-hero,
.case-detail-hero {
  background: var(--quiet);
}

.case-index-hero .hero-subtitle {
  max-width: 820px;
}

.case-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.case-index-grid > .case-card:only-child {
  grid-column: 1 / -1;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
}

.case-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 8 / 5;
  background: var(--ink);
}

.case-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.case-card-media:hover img,
.case-card-media:focus-visible img {
  transform: scale(1.015);
}

.case-card-media:focus-visible,
.case-card h2 a:focus-visible {
  outline: 3px solid rgba(31, 111, 120, 0.35);
  outline-offset: -3px;
}

.case-card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.case-card-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  overflow-wrap: anywhere;
}

.case-card-copy > p:not(.case-authorization, .case-industry) {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.case-authorization {
  width: fit-content;
  margin-bottom: 14px;
  border-left: 3px solid var(--gold);
  padding-left: 10px;
  color: var(--deep);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.case-industry {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.case-note {
  max-width: 820px;
}

.case-note h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.case-note > p:last-child,
.case-body,
.case-evidence-intro p,
.case-outcome {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, 0.96fr);
  gap: 52px;
  align-items: center;
}

.case-hero-copy {
  min-width: 0;
}

.case-detail-hero h1 {
  max-width: 660px;
  font-size: clamp(40px, 4.2vw, 54px);
  text-wrap: pretty;
}

@media (min-width: 1200px) {
  .case-hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(440px, 0.88fr);
  }

  .case-detail-hero h1 {
    max-width: none;
    font-size: 48px;
    white-space: nowrap;
  }
}

.case-hero-copy .hero-subtitle {
  max-width: 700px;
}

.case-hero-visual {
  min-width: 0;
}

.case-hero-visual > figure:first-child img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  object-fit: cover;
}

.case-client-logo {
  display: block;
  width: min(190px, 42%);
  height: auto;
  margin: 16px 0 0 auto;
  mix-blend-mode: multiply;
}

.case-client-logo-figure figcaption {
  text-align: right;
}

.case-reading-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  gap: 56px;
  align-items: start;
}

.case-supporting-media {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.55fr);
  gap: 14px;
  align-items: start;
}

.case-supporting-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--quiet);
}

.case-supporting-media figure:first-child img {
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

.case-supporting-media figure:last-child img {
  aspect-ratio: 0.96 / 1;
  object-fit: cover;
}

.case-scope-band {
  border-bottom: 1px solid var(--border);
  background: var(--quiet);
}

.case-scope-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-scope-list li {
  border-top: 1px solid var(--border-strong);
  padding: 18px 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.4;
}

.case-scope-list li:last-child {
  border-bottom: 1px solid var(--border-strong);
}

.case-outcome {
  max-width: 860px;
  color: var(--graphite);
  font-size: 18px;
}

.case-evidence-intro {
  max-width: 820px;
  margin: 30px 0 24px;
}

.case-evidence-intro h3 {
  font-size: 24px;
}

.case-evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.case-evidence-grid img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.case-evidence-note {
  max-width: 820px;
  margin: 18px 0 0;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.case-client-cta .split {
  align-items: end;
}

.case-client-cta .button {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.legal-list {
  margin: 0;
  padding-left: 20px;
}

.legal-list li + li {
  margin-top: 8px;
}

.floating-customer-service-entry {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 45;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(237, 243, 239, 0.72);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(11, 31, 26, 0.22);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.floating-customer-service-entry img {
  display: block;
  width: 64px;
  height: 64px;
}

.floating-customer-service-entry span {
  position: absolute;
  right: 78px;
  max-width: min(220px, calc(100vw - 118px));
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--ink);
  padding: 8px 10px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  white-space: nowrap;
}

.floating-customer-service-entry:hover,
.floating-customer-service-entry:focus-visible {
  box-shadow: 0 20px 52px rgba(11, 31, 26, 0.28);
  transform: translateY(-2px);
}

.floating-customer-service-entry:hover span,
.floating-customer-service-entry:focus-visible span {
  opacity: 1;
  transform: translateX(0);
}

.floating-customer-service-entry:focus-visible {
  outline: 3px solid rgba(216, 168, 78, 0.55);
  outline-offset: 4px;
}

.customer-service-hero {
  background: var(--quiet);
}

.customer-service-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 68px);
}

.customer-service-split {
  align-items: start;
}

.customer-service-notice {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
}

.customer-service-notice h2 {
  margin-bottom: 18px;
  font-size: 24px;
  line-height: 1.22;
}

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

.notice-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.notice-list li::before {
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.chat-module-band {
  padding-top: 58px;
}

.chat-module-heading {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 22px;
}

.chat-module-heading h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.chat-frame-wrap {
  --chat-frame-height: 780px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 24px;
  height: var(--chat-frame-height);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.chat-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: var(--white);
}

.chat-resize-handle {
  position: relative;
  display: grid;
  width: 100%;
  height: 24px;
  place-items: center;
  border-top: 1px solid var(--border);
  background: var(--paper);
  color: var(--muted);
  cursor: ns-resize;
  outline: none;
  touch-action: none;
}

.chat-resize-handle span,
.chat-resize-handle span::before,
.chat-resize-handle span::after {
  display: block;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.chat-resize-handle span {
  position: relative;
}

.chat-resize-handle span::before {
  position: absolute;
  top: -5px;
}

.chat-resize-handle span::after {
  position: absolute;
  top: 5px;
}

.chat-resize-handle:hover,
.chat-resize-handle:focus-visible {
  color: var(--teal);
  background: var(--quiet);
}

.chat-resize-handle:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(31, 111, 120, 0.18);
}

body.chat-resizing {
  cursor: ns-resize;
  user-select: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 44px;
}

.contact-band {
  background: var(--teal);
  color: var(--white);
}

.contact-band h2 {
  color: var(--white);
}

.contact-band .section-kicker {
  color: var(--gold);
}

.contact-body,
.contact-note {
  color: rgba(255, 255, 255, 0.82);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 40px;
  align-items: center;
}

.contact-copy {
  max-width: 760px;
}

.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 20px;
  font-style: normal;
}

.contact-channel {
  display: inline-flex;
  min-width: 0;
  align-items: baseline;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
}

.contact-channel-label {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-channel-value {
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-channel:hover .contact-channel-value,
.contact-channel:focus-visible .contact-channel-value {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-channel:focus-visible {
  border-radius: 2px;
  outline: 3px solid rgba(216, 168, 78, 0.64);
  outline-offset: 4px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 18px;
  gap: 12px;
  justify-content: flex-start;
}

.contact-band .button {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.contact-band .button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  color: var(--white);
}

.contact-qr-card {
  width: 112px;
  margin: 0;
  justify-self: end;
  align-self: center;
}

.contact-qr-trigger {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: var(--white);
  padding: 3px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.contact-qr-trigger:hover,
.contact-qr-trigger:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(11, 31, 26, 0.22);
  transform: translateY(-1px);
}

.contact-qr-trigger:focus-visible {
  outline: 3px solid rgba(216, 168, 78, 0.64);
  outline-offset: 4px;
}

.contact-qr-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-qr-card figcaption {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.contact-qr-dialog {
  position: relative;
  width: min(92vw, 400px);
  max-height: min(86vh, 620px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 0;
  color: var(--ink);
  box-shadow: 0 24px 72px rgba(11, 31, 26, 0.36);
}

.contact-qr-dialog[open] {
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}

.contact-qr-dialog::backdrop {
  background: rgba(11, 31, 26, 0.58);
}

.contact-qr-dialog-body {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-height: min(86vh, 620px);
  overflow-y: auto;
  padding: 28px;
  text-align: center;
}

.contact-qr-dialog h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.contact-qr-dialog p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-qr-dialog-image {
  display: block;
  width: min(72vw, 280px);
  height: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.contact-qr-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.contact-qr-close:hover,
.contact-qr-close:focus-visible {
  border-color: var(--border-strong);
  outline: 3px solid rgba(216, 168, 78, 0.34);
  outline-offset: 2px;
}

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
}

.footer .filing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer .filing-link {
  color: inherit;
  text-decoration: none;
}

.footer .filing-link:hover,
.footer .filing-link:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  :root {
    --anchor-offset: 142px;
  }

  .header-inner {
    align-items: flex-start;
  }

  .nav {
    order: 3;
    width: 100%;
    padding-bottom: 2px;
  }

  .header-actions .button {
    display: none;
  }

  .hero::after {
    background: rgba(247, 248, 245, 0.9);
  }

  .hero::before {
    background-position: 62% center;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: calc(100svh - 142px);
    padding: 48px 0;
  }

  .card-grid,
  .check-grid,
  .deliverable-list,
  .verification-grid,
  .faq-index-grid,
  .faq-support-grid,
  .split,
  .chat-module-heading,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .featured-case-grid,
  .case-index-grid,
  .case-card,
  .case-hero-grid,
  .case-reading-grid,
  .case-evidence-grid {
    grid-template-columns: 1fr;
  }

  .case-card-media {
    border-bottom: 1px solid var(--border);
  }

  .case-client-logo {
    margin-left: 0;
  }

  .case-client-logo-figure figcaption {
    text-align: left;
  }

  .chat-frame-wrap {
    grid-template-rows: minmax(0, 1fr);
    height: calc(100svh - 96px);
    min-height: 560px;
  }

  .chat-resize-handle {
    display: none;
  }

  .floating-customer-service-entry {
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: 64px;
    height: 64px;
  }

  .floating-customer-service-entry img {
    width: 56px;
    height: 56px;
  }

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

  .contact-qr-card {
    width: 112px;
    justify-self: start;
  }

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

@media (max-width: 520px) {
  :root {
    --anchor-offset: 152px;
  }

  .nav {
    gap: 14px;
    font-size: 13px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .header-inner,
  .container,
  .faq-wrap {
    width: min(calc(100% - 28px), 1180px);
  }

  .brand span:last-child {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  .band {
    padding: 58px 0;
  }

  .hero-inner {
    min-height: auto;
    padding: 36px 0 40px;
  }

  .geo-hero .hero-inner {
    padding-bottom: 24px;
  }

  .hero-subtitle {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.58;
  }

  .fit-note {
    font-size: 13px;
    line-height: 1.55;
  }

  .cta-row {
    gap: 8px;
    margin-bottom: 14px;
  }

  .geo-hero .cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .geo-hero .button,
  .geo-hero .button-secondary {
    width: auto;
    padding-inline: 8px;
  }

  .faq-page-hero h1 {
    font-size: 36px;
  }

  .company-hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  html[lang="en-US"] .company-hero h1 {
    font-size: 34px;
  }

  .geo-hero h1 {
    font-size: 36px;
    line-height: 1.1;
  }

  html[lang="en-US"] .geo-hero h1 {
    font-size: 32px;
  }

  .proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 20px;
  }

  .proof-card {
    min-width: 0;
    padding: 10px 6px;
    text-align: center;
  }

  .proof-value {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .proof-label {
    display: none;
  }

  .capability-card {
    min-height: 0;
  }

  .faq-document-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 0 12px;
    padding: 24px 0;
  }

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

  .faq-topic-card {
    min-height: 0;
  }

  .case-page h1 {
    font-size: 36px;
  }

  html[lang="en-US"] .case-page h1 {
    font-size: 34px;
  }

  .case-card-copy {
    padding: 24px 20px;
  }

  .case-supporting-media {
    grid-template-columns: 1fr;
  }

  .floating-customer-service-entry span {
    display: none;
  }
}

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

  .floating-customer-service-entry,
  .floating-customer-service-entry span {
    transition: none;
  }
}
