:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-muted: #eef2f4;
  --ink: #17202a;
  --ink-muted: #5f6b76;
  --line: #dfe5ea;
  --red: #b58a4b;
  --red-dark: #8a6838;
  --green: #177c68;
  --gold: #d8b778;
  --blue: #2868a8;
  --coal: #07131f;
  --shadow: 0 18px 48px rgba(15, 21, 27, 0.12);
  --radius: 8px;
  --section-pad: 88px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 86px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 36px;
  color: var(--ink);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: var(--radius);
  overflow: hidden;
  background: #07131f;
}

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

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  font-size: 0.78rem;
  color: currentColor;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(700px, 88svh, 820px);
  overflow: hidden;
  color: var(--ink);
  background: #f8fafc;
}

.hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-callouts {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.hero-callout {
  position: absolute;
  display: grid;
  gap: 3px;
  color: var(--red-dark);
  font-size: 0.84rem;
  line-height: 1.35;
}

.hero-callout strong {
  font-size: 0.88rem;
}

.hero-callout span {
  color: #886a3d;
}

.hero-callout-device {
  top: 19%;
  right: 5%;
}

.hero-callout-edge {
  bottom: 18%;
  left: 34%;
}

.hero-callout-data {
  right: 3%;
  bottom: 11%;
  text-align: right;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  width: min(1320px, calc(100% - 72px));
  margin: 0 auto;
  padding: 138px 0 84px;
}

.hero-content {
  width: min(47%, 610px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 610px;
  margin: 0;
  color: #0b1e33;
  font-size: 4rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-title-main,
.hero-title-action {
  display: block;
}

.hero-title-main {
  white-space: nowrap;
}

.hero-copy {
  max-width: 570px;
  margin: 22px 0 0;
  color: var(--ink-muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--red);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-dark);
}

.button-secondary {
  border-color: #cbd8e4;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.button-icon {
  margin-left: 10px;
  font-size: 1.05rem;
  line-height: 1;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1060px;
  margin: 46px 0 0;
}

.hero-metrics div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-metrics dt {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.proof-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

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

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.proof-grid p {
  display: grid;
  min-height: 72px;
  margin: 0;
  padding: 16px;
  place-items: center;
  background: var(--surface);
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.45;
}

.section {
  padding: var(--section-pad) 0;
}

.section-heading {
  max-width: 820px;
  text-align: center;
}

.section-heading.align-left {
  max-width: none;
  text-align: left;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.18;
}

.section-heading p:not(.section-kicker),
.contact-copy p {
  margin: 18px 0 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.product-card,
.audience-panel,
.case-card,
.tech-card,
.capability-grid article,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.audience-panel {
  min-height: 360px;
  padding: 30px;
}

.audience-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: rgba(201, 54, 44, 0.1);
  color: var(--red);
  font-weight: 800;
}

.accent-personal .audience-label {
  background: rgba(40, 104, 168, 0.1);
  color: var(--blue);
}

.audience-panel h3 {
  margin: 26px 0 0;
  font-size: 1.7rem;
  line-height: 1.25;
}

.audience-panel p {
  margin: 16px 0 0;
  color: var(--ink-muted);
  line-height: 1.78;
}

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

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.feature-list li::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.product-card {
  min-height: 398px;
  padding: 26px;
}

.product-card-illustrated {
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.product-illustration {
  aspect-ratio: 7 / 10;
  border-bottom: 1px solid var(--line);
  background-image: url("./assets/service-illustration-triptych-v2.png");
  background-repeat: no-repeat;
  background-size: 300% 100%;
}

.product-illustration-software {
  background-position: left center;
}

.product-illustration-ai {
  background-position: center center;
}

.product-illustration-hardware {
  background-position: right center;
}

.product-card-body {
  padding: 24px;
}

.product-card-illustrated h3 {
  margin-top: 20px;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 800;
}

.card-icon,
.solution-index,
.timeline span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(201, 54, 44, 0.1);
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 800;
}

.accent-green .card-topline,
.accent-green .card-icon {
  color: var(--green);
}

.accent-green .card-icon {
  background: rgba(23, 124, 104, 0.1);
}

.accent-gold .card-topline,
.accent-gold .card-icon {
  color: var(--gold);
}

.accent-gold .card-icon {
  background: rgba(155, 106, 25, 0.12);
}

.accent-blue .card-topline,
.accent-blue .card-icon {
  color: var(--blue);
}

.accent-blue .card-icon {
  background: rgba(40, 104, 168, 0.1);
}

.product-card h3,
.solution-list h3,
.delivery-panel h3,
.capability-grid h3 {
  margin: 24px 0 0;
  font-size: 1.35rem;
  line-height: 1.3;
}

.product-card p,
.solution-list p,
.capability-grid p,
.timeline p {
  margin: 14px 0 0;
  color: var(--ink-muted);
  line-height: 1.75;
}

.product-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.product-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: currentColor;
}

.crm-product {
  border-block: 1px solid var(--line);
  background: var(--surface-muted);
}

.crm-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 52px;
  align-items: center;
}

.crm-product-logo {
  display: block;
  width: min(286px, 100%);
  height: auto;
  margin-bottom: 30px;
}

.crm-product-copy h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.18;
}

.crm-product-copy > p:not(.section-kicker) {
  margin: 18px 0 0;
  color: var(--ink-muted);
  line-height: 1.85;
}

.crm-product-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.crm-product-points li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-muted);
  line-height: 1.65;
}

.crm-product-points li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.crm-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.crm-product-actions .button-primary {
  background: var(--green);
}

.crm-product-actions .button-primary:hover,
.crm-product-actions .button-primary:focus-visible {
  background: #116754;
}

.crm-product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  font-size: 0.92rem;
  font-weight: 800;
}

.crm-product-links a {
  color: var(--green);
}

.crm-product-links a::after {
  margin-left: 6px;
  content: "→";
}

.crm-product-preview {
  margin: 0;
  overflow: hidden;
  border: 1px solid #cfdce5;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.crm-product-preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f7fafb;
}

.crm-product-preview-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c6d3dc;
}

.crm-product-preview-bar strong {
  margin-left: 8px;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.crm-product-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: top center;
}

.crm-product-preview figcaption {
  padding: 14px 16px;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.solutions {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 58px;
  align-items: start;
}

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

.solution-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  min-height: 118px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
}

.solution-list h3 {
  margin-top: 0;
}

.cases {
  background: var(--bg);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.case-card {
  min-height: 560px;
  overflow: hidden;
  padding: 18px;
  box-shadow: none;
}

.case-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  margin: 0 0 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease;
}

.case-card:hover .case-media img {
  transform: scale(1.025);
}

.case-media-action {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 6px;
  color: #fff;
  background: rgba(7, 19, 31, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.case-media:focus-visible {
  outline: 3px solid rgba(40, 104, 168, 0.34);
  outline-offset: 3px;
}

.case-card > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-card.accent-green > span {
  color: var(--green);
}

.case-card.accent-gold > span {
  color: var(--gold);
}

.case-card.accent-blue > span {
  color: var(--blue);
}

.case-card h3 {
  margin: 10px 0 0;
  font-size: 1.28rem;
  line-height: 1.35;
}

.case-card p,
.case-card dd {
  color: var(--ink-muted);
  line-height: 1.72;
}

.case-card p {
  margin: 14px 0 0;
}

.case-card dl {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
}

.case-card dt {
  margin-bottom: 6px;
  font-weight: 800;
}

.case-card dd {
  margin: 0;
}

.delivery-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  margin-top: 38px;
}

.delivery-panel {
  min-height: 520px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}

.timeline {
  display: grid;
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
}

.timeline p {
  color: var(--ink-muted);
}

.timeline .timeline-output {
  margin-top: 8px;
  color: var(--red-dark);
  font-size: 0.88rem;
}

.timeline-output strong {
  color: var(--ink);
}

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

.capability-grid article {
  min-height: 250px;
  padding: 26px;
  box-shadow: none;
}

.capability-grid h3 {
  margin-top: 0;
}

.launch {
  background: var(--surface-muted);
  color: var(--ink);
}

.launch .section-kicker {
  color: var(--red);
}

.launch .section-heading p:not(.section-kicker) {
  color: var(--ink-muted);
}

.launch-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: start;
}

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

.launch-steps article {
  min-height: 198px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.launch-steps span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: var(--red-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.launch-steps h3 {
  margin: 18px 0 0;
  font-size: 1.24rem;
}

.launch-steps p {
  margin: 12px 0 0;
  color: var(--ink-muted);
  line-height: 1.72;
}

.tech {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.tech-card {
  min-height: 250px;
  padding: 26px;
  box-shadow: none;
}

.tech-card h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.35;
}

.tech-card p {
  margin: 14px 0 0;
  color: var(--ink-muted);
  line-height: 1.75;
}

.faq {
  background: var(--bg);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 38px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  font-size: 1.05rem;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-muted);
  line-height: 1.78;
}

.contact {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: start;
}

.contact-copy {
  padding-top: 16px;
}

.contact-copy h2 {
  max-width: 620px;
}

.contact-qr {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.contact-qr img {
  display: block;
  width: 156px;
  height: 156px;
  object-fit: contain;
  border: 8px solid var(--surface);
  background: var(--surface);
}

.contact-qr div {
  display: grid;
  gap: 6px;
}

.contact-qr strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.contact-qr span,
.contact-qr small {
  color: var(--ink-muted);
  line-height: 1.6;
}

.contact-qr span {
  font-weight: 700;
}

.contact-notes {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.contact-methods a,
.contact-chat-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
}

.contact-chat-action {
  grid-column: 1 / -1;
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.contact-methods a {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
}

.contact-notes p {
  margin: 0;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.form-heading {
  display: grid;
  gap: 8px;
  padding-bottom: 2px;
}

.form-heading .section-kicker {
  margin-bottom: 0;
}

.form-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.35;
}

.form-heading p:not(.section-kicker) {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-muted);
  font-weight: 700;
}

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

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: none;
}

.lead-form input,
.lead-form select {
  height: 46px;
  padding: 0 12px;
}

.lead-form textarea {
  min-height: 138px;
  resize: vertical;
  padding: 12px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(201, 54, 44, 0.12);
}

.form-button {
  width: fit-content;
}

.form-output {
  display: none;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(23, 124, 104, 0.1);
  color: var(--green);
  line-height: 1.7;
  white-space: pre-wrap;
}

.form-output.is-visible {
  display: block;
}

.mail-action {
  display: none;
  width: fit-content;
  color: var(--blue);
  font-weight: 800;
}

.mail-action.is-visible {
  display: inline-flex;
}

.site-footer {
  background: var(--coal);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer span {
  margin-left: 12px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
  line-height: 1.6;
}

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

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

body.simple-page .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.legal-page {
  padding-top: 72px;
  background: var(--surface);
}

.legal-content {
  max-width: 860px;
}

.legal-content h1 {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.15;
}

.legal-content h2 {
  margin: 34px 0 0;
  font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-muted);
  line-height: 1.85;
}

.legal-content a {
  color: var(--red);
  font-weight: 800;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
}

@media (max-width: 980px) {
  :root {
    --section-pad: 70px;
  }

  .site-header {
    padding: 0 24px;
  }

  .hero-inner {
    width: min(100% - 48px, 1180px);
  }

  .hero-content {
    width: min(54%, 540px);
  }

  .hero-scene img {
    object-position: 36% center;
  }

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

  .hero-callout-device {
    right: 3%;
  }

  .hero-callout-edge {
    left: 35%;
  }

  .hero-callout-data {
    right: 2%;
  }

  .nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: var(--radius);
    color: currentColor;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle-line {
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
  }

  .site-nav.is-open {
    display: grid;
    gap: 10px;
  }

  .site-nav a {
    padding: 14px 0;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .hero-title-main {
    display: contents;
    white-space: normal;
  }

  .hero-title-prefix {
    display: block;
  }

  .hero-title-subject,
  .hero-title-action {
    display: inline;
  }

  .hero-metrics,
  .product-grid,
  .audience-grid,
  .case-grid,
  .crm-product-layout,
  .solution-layout,
  .delivery-grid,
  .launch-layout,
  .tech-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .launch-steps {
    grid-template-columns: 1fr 1fr;
  }

  .proof-grid {
    gap: 1px;
    background: transparent;
  }

  .proof-grid p {
    border-bottom: 1px solid var(--line);
  }

  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }

  .crm-product-copy {
    max-width: 680px;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .product-grid,
  .case-grid,
  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-illustrated:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 18px) / 2);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 52px;
  }

  .site-header {
    height: 66px;
    padding: 0 16px;
  }

  .brand-text span {
    display: none;
  }

  .site-nav {
    top: 66px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: 66px;
  }

  .hero-inner,
  .section-shell {
    width: min(100% - 32px, 1180px);
  }

  .hero-inner {
    z-index: 2;
    order: 1;
    padding-top: 52px;
    padding-bottom: 28px;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    font-size: 2.42rem;
    line-height: 1.12;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-actions,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-scene {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: clamp(300px, 58vw, 370px);
    margin-top: -8px;
  }

  .hero-callouts {
    position: relative;
    inset: auto;
    order: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    padding: 14px 16px 16px;
    border-top: 1px solid var(--line);
    background: var(--surface);
  }

  .hero-callout {
    position: static;
    gap: 2px;
    padding: 0 8px;
    text-align: center;
  }

  .hero-callout + .hero-callout {
    border-left: 1px solid var(--line);
  }

  .hero-scene img {
    object-position: 67% center;
  }

  .case-media img {
    object-position: center 48%;
  }

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

  .hero-metrics {
    gap: 10px;
    margin-top: 30px;
  }

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

  .hero-metrics div {
    min-height: auto;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 1.82rem;
    line-height: 1.28;
  }

  .product-card,
  .audience-panel,
  .case-card,
  .tech-card,
  .lead-form,
  .delivery-panel,
  .capability-grid article {
    padding: 22px;
  }

  .audience-panel,
  .product-card,
  .case-card,
  .delivery-panel,
  .capability-grid article,
  .launch-steps article,
  .tech-card {
    min-height: auto;
  }

  .capability-grid,
  .launch-steps,
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-qr {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .contact-qr img {
    width: 118px;
    height: 118px;
    border-width: 6px;
  }

  .contact-qr small {
    display: none;
  }

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

  .contact-chat-action {
    grid-column: auto;
  }

  .lead-form {
    gap: 16px;
    padding: 18px;
  }

  .form-heading h3 {
    font-size: 1.28rem;
  }

  .lead-form textarea {
    min-height: 118px;
  }

  .footer-links {
    width: 100%;
  }
}

.contact-chat-action {
  font: inherit;
  cursor: pointer;
}

.contact-chat-action:hover,
.contact-chat-action:focus-visible {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.crm-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.crm-chat-panel {
  width: min(390px, calc(100vw - 32px));
  height: min(620px, calc(100dvh - 108px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 64px rgba(7, 19, 31, 0.22);
}

.crm-chat-panel[hidden] {
  display: none;
}

.crm-chat-head {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.crm-chat-head > div {
  display: grid;
  gap: 2px;
}

.crm-chat-head strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.crm-chat-head span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.crm-chat-head i,
.crm-chat-status {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #20a474;
  box-shadow: 0 0 0 3px rgba(32, 164, 116, 0.14);
}

.crm-chat-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-muted);
  background: var(--surface);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.crm-chat-close:hover,
.crm-chat-close:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
}

.crm-chat-panel iframe {
  display: block;
  width: 100%;
  height: calc(100% - 58px);
  border: 0;
  background: var(--surface);
}

.crm-chat-launcher {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #fff;
  background: var(--coal);
  box-shadow: 0 12px 30px rgba(7, 19, 31, 0.2);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.crm-chat-launcher:hover,
.crm-chat-launcher:focus-visible,
.crm-chat.is-open .crm-chat-launcher {
  background: var(--green);
}

@media (max-width: 640px) {
  .crm-chat:not(.is-open) {
    display: none;
  }

  .crm-chat {
    right: 12px;
    bottom: 12px;
  }

  .crm-chat-panel {
    width: calc(100vw - 24px);
    height: calc(100dvh - 82px);
  }

  .crm-chat-launcher {
    min-width: 132px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .crm-chat-panel {
    animation: crm-chat-enter 180ms ease-out;
  }
}

@media (min-width: 641px) and (prefers-reduced-motion: no-preference) {
  .hero-scene {
    animation: hero-scene-enter 820ms ease-out both;
  }

  .hero-scene img {
    animation: hero-scene-drift 14s ease-in-out 900ms infinite alternate;
  }

  .hero-content {
    animation: hero-content-enter 620ms ease-out 120ms both;
  }
}

@keyframes hero-scene-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes hero-scene-drift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.012) translate3d(-3px, 0, 0);
  }
}

@keyframes hero-content-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes crm-chat-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
