:root {
  --ink: #070b14;
  --ink-2: #0c1424;
  --ink-3: #121c30;
  --blue: #1a6cff;
  --blue-bright: #4d9aff;
  --cyan: #3dd6c6;
  --text: #e8eef8;
  --text-dim: #8b9bb8;
  --text-dark: #0b1220;
  --muted: #5a6a84;
  --paper: #f4f7fb;
  --paper-2: #e8eef6;
  --line: rgba(255, 255, 255, 0.08);
  --line-dark: rgba(15, 30, 60, 0.1);
  --radius: 14px;
  --font: "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Outfit", "IBM Plex Sans", "PingFang SC", sans-serif;
  --max: 1160px;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 2000;
  padding: 8px 12px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
}

.skip-link:focus {
  left: 8px;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 11, 20, 0.55);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}

.site-header.is-scrolled {
  background: rgba(7, 11, 20, 0.92);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--blue) 0%, #0a3d9e 55%, var(--cyan) 130%);
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  border-right-color: transparent;
  transform: rotate(45deg);
}

.logo-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.nav-desktop {
  display: flex;
  gap: 1.35rem;
  margin-left: auto;
}

.nav-desktop a {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: #fff;
}

.header-cta {
  display: flex;
  gap: 0.55rem;
  margin-left: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.8rem 1.45rem;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: #2a78ff;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-line {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-line:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(7, 11, 20, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem 1.5rem;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-mobile:not([hidden]) {
  display: flex;
}

.nav-mobile a {
  color: var(--text-dim);
  padding: 0.65rem 0;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.nav-mobile a:hover {
  color: #fff;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77, 154, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 154, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 70%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-orb-a {
  width: 420px;
  height: 420px;
  background: rgba(26, 108, 255, 0.28);
  top: 5%;
  right: 8%;
  animation: drift 12s ease-in-out infinite;
}

.hero-orb-b {
  width: 320px;
  height: 320px;
  background: rgba(61, 214, 198, 0.12);
  bottom: 8%;
  left: 5%;
  animation: drift 16s ease-in-out infinite reverse;
}

.hero-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(77, 154, 255, 0.06),
    transparent
  );
  animation: scan 8s linear infinite;
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-24px, 18px);
  }
}

@keyframes scan {
  0% {
    top: -10%;
  }
  100% {
    top: 110%;
  }
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.brand-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--cyan);
}

.brand-name {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-line {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  color: rgba(232, 238, 248, 0.92);
  max-width: 18em;
}

.hero-sub {
  margin: 0 0 1.75rem;
  color: var(--text-dim);
  font-size: 0.98rem;
  max-width: 32em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Dashboard mock */
.dash-frame {
  background: linear-gradient(160deg, rgba(18, 28, 48, 0.95), rgba(10, 16, 28, 0.98));
  border: 1px solid rgba(77, 154, 255, 0.22);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.dash-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.dash-top .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.dash-top .dot:first-child {
  background: #ff5f57;
}
.dash-top .dot:nth-child(2) {
  background: #febc2e;
}
.dash-top .dot:nth-child(3) {
  background: #28c840;
}

.dash-label {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.dash-body {
  display: grid;
  grid-template-columns: 48px 1fr;
  min-height: 280px;
}

.dash-side {
  border-right: 1px solid var(--line);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.side-item {
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.side-item.on {
  background: rgba(26, 108, 255, 0.35);
  border: 1px solid rgba(77, 154, 255, 0.35);
}

.dash-main {
  padding: 18px 18px 20px;
}

.metric-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.metric {
  flex: 1;
}

.metric-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.metric-value {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.metric-value.up {
  color: var(--cyan);
}

.progress-track {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  animation: fillBar 1.6s 0.4s ease forwards;
}

@keyframes fillBar {
  to {
    width: 78%;
  }
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.flow-row i {
  width: 18px;
  height: 1px;
  background: rgba(77, 154, 255, 0.45);
  display: block;
}

.flow-row span:nth-child(odd) {
  color: rgba(255, 255, 255, 0.85);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 88px;
}

.chart-bars div {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(77, 154, 255, 0.85), rgba(26, 108, 255, 0.25));
  transform-origin: bottom;
  animation: barUp 0.9s ease both;
}

.chart-bars div:nth-child(2) {
  animation-delay: 0.08s;
}
.chart-bars div:nth-child(3) {
  animation-delay: 0.16s;
}
.chart-bars div:nth-child(4) {
  animation-delay: 0.24s;
}
.chart-bars div:nth-child(5) {
  animation-delay: 0.32s;
}
.chart-bars div:nth-child(6) {
  animation-delay: 0.4s;
}

@keyframes barUp {
  from {
    transform: scaleY(0.2);
    opacity: 0.4;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* —— Sections —— */
.block {
  padding: 5.5rem 0;
  background: var(--paper);
  color: var(--text-dark);
}

.block-ink {
  background: var(--ink-2);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.block-ink::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -120px;
  top: -80px;
  background: radial-gradient(circle, rgba(26, 108, 255, 0.18), transparent 65%);
  pointer-events: none;
}

.block-soft {
  background: var(--paper-2);
  color: var(--text-dark);
}

.block-contact {
  background: var(--ink);
  color: var(--text);
  padding-bottom: 4rem;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.75rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-head-light h2 {
  color: #fff;
}

.section-head-light p {
  color: var(--text-dim);
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-head-light .eyebrow,
.block-ink .eyebrow,
.block-contact .eyebrow {
  color: var(--cyan);
}

/* Services as numbered rail — not generic cards */
.service-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.service-item {
  padding: 1.75rem 1.35rem 2rem;
  border-right: 1px solid var(--line-dark);
  transition: background 0.25s;
}

.service-item:last-child {
  border-right: none;
}

.service-item:hover {
  background: rgba(26, 108, 255, 0.04);
}

.service-idx {
  display: block;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1.1rem;
  letter-spacing: 0.08em;
}

.service-item h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
}

.service-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Cases */
.case-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  padding: 2rem;
  border: 1px solid rgba(77, 154, 255, 0.2);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(18, 28, 48, 0.9), rgba(12, 20, 36, 0.95));
}

.case-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 0.65rem;
}

.case-feature-meta h3 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
}

.case-feature-meta > p {
  margin: 0 0 1rem;
  color: var(--text-dim);
  font-size: 0.98rem;
}

.case-feature-meta ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: rgba(232, 238, 248, 0.75);
  font-size: 0.9rem;
}

.case-feature-meta li {
  margin-bottom: 0.35rem;
}

.text-link {
  font-family: var(--display);
  font-weight: 600;
  color: var(--blue-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(77, 154, 255, 0.35);
  padding-bottom: 2px;
}

.text-link:hover {
  color: #fff;
  border-bottom-color: #fff;
  text-decoration: none;
}

.panel-glass {
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.panel-row {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--text-dim);
}

.panel-row b {
  color: #fff;
  font-weight: 600;
}

.panel-row b.ok {
  color: var(--cyan);
}

.panel-gauge {
  position: relative;
  width: 120px;
  margin: 1.25rem auto 0.25rem;
}

.panel-gauge svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.g-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.g-fg {
  fill: none;
  stroke: url(#none);
  stroke: var(--blue-bright);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 301;
  stroke-dashoffset: 301;
  animation: gauge 1.5s 0.3s ease forwards;
}

@keyframes gauge {
  to {
    stroke-dashoffset: 66;
  }
}

.g-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.g-text strong {
  font-family: var(--display);
  font-size: 1.4rem;
  color: #fff;
}

.g-text span {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.case-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.case-tile {
  padding: 1.5rem 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.case-tile:hover {
  border-color: rgba(77, 154, 255, 0.35);
  background: rgba(26, 108, 255, 0.06);
  transform: translateY(-3px);
}

.case-tile h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.1rem;
  color: #fff;
}

.case-tile p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Platform */
.platform-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.platform-split h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
}

.platform-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 32em;
}

.platform-steps {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: ps;
}

.platform-steps li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2.5rem;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted);
  font-size: 0.95rem;
  counter-increment: ps;
}

.platform-steps li::before {
  content: counter(ps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.85rem;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
}

.platform-steps strong {
  color: var(--text-dark);
  margin-right: 0.35rem;
}

.shot-window {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--ink);
  box-shadow: 0 20px 60px rgba(15, 40, 100, 0.12);
}

.shot-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: var(--ink-3);
  border-bottom: 1px solid var(--line);
}

.shot-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.shot-content {
  padding: 1.5rem;
  color: var(--text);
}

.shot-title {
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fff;
}

.shot-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.shot-step {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  border: 1px solid transparent;
}

.shot-step.done {
  color: var(--cyan);
  background: rgba(61, 214, 198, 0.1);
}

.shot-step.active {
  color: #fff;
  background: rgba(26, 108, 255, 0.25);
  border-color: rgba(77, 154, 255, 0.4);
}

.shot-note {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Process */
.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-node {
  padding: 1.5rem 1.15rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line-dark);
}

.process-node span {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
}

.process-node h3 {
  margin: 0.65rem 0 0.4rem;
  font-family: var(--display);
  font-size: 1.1rem;
}

.process-node p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line-dark);
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 1.15rem 0;
  color: var(--text-dark);
  position: relative;
  padding-right: 2rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: end;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(26, 108, 255, 0.2), transparent),
    var(--ink-2);
}

.contact-panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
}

.contact-panel > div > p:last-child {
  margin: 0;
  color: var(--text-dim);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.contact-big {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.contact-big:hover {
  color: var(--blue-bright);
  text-decoration: none;
}

.contact-mail {
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  background: #05080f;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

.footer-links a,
.footer-icp a {
  color: var(--text-dim);
}

.footer-links a:hover,
.footer-icp a:hover {
  color: var(--blue-bright);
}

.footer-icp p {
  margin: 0 0 0.35rem;
}

/* Reveal: never hide text if JS fails — only enhance when .is-in */
.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js-ready .reveal-delay {
  transition-delay: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal,
  .js-ready .reveal-delay {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-orb,
  .hero-scan,
  .progress-fill,
  .chart-bars div,
  .g-fg {
    animation: none !important;
  }

  .progress-fill {
    width: 78%;
  }

  .g-fg {
    stroke-dashoffset: 66;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-layout,
  .case-feature,
  .platform-split,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-rail,
  .case-strip,
  .process-line {
    grid-template-columns: 1fr 1fr;
  }

  .service-item:nth-child(2) {
    border-right: none;
  }

  .service-item:nth-child(1),
  .service-item:nth-child(2) {
    border-bottom: 1px solid var(--line-dark);
  }
}

@media (max-width: 720px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .service-rail,
  .case-strip,
  .process-line {
    grid-template-columns: 1fr;
  }

  .service-item {
    border-right: none;
    border-bottom: 1px solid var(--line-dark);
  }

  .service-item:last-child {
    border-bottom: none;
  }

  .brand-name {
    font-size: 2.4rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 1.5rem);
  }

  .contact-panel {
    padding: 1.75rem;
  }
}
