/* ==========================================================================
   文止云 EOFCloud · 官网样式
   设计：深墨蓝 + 品牌蓝，系统字体，零外部依赖
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --paper: #f5f8fe;
  --paper-2: #eef3fc;
  --ink: #070b1a;
  --ink-2: #0b1226;
  --text: #101828;
  --muted: #5a6579;
  --muted-2: #6b778c;
  --line: #e4eaf4;
  --line-2: #d5e0f0;
  --brand: #2563eb;
  --brand-2: #3b82f6;
  --brand-3: #60a5fa;
  --sky: #93c5fd;
  --brand-soft: #eaf1ff;
  --white: #fff;
  --wrap: 1200px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -32px rgba(15, 38, 84, 0.28);
  --shadow-hover: 0 30px 70px -30px rgba(15, 38, 84, 0.32);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
    sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

ul,
ol {
  padding: 0;
  list-style: none;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

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

button {
  cursor: pointer;
}

::selection {
  background: var(--brand);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

/* ---------- Layout ---------- */
.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

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

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

.section--tight {
  padding: clamp(48px, 6vw, 80px) 0;
}

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

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  line-height: 1.6;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

.eyebrow--light {
  color: var(--sky);
}

.h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.h2 em {
  font-style: normal;
  color: var(--brand);
}

.lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px 56px;
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.sec-head__aside {
  justify-self: end;
  max-width: 44ch;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--muted);
}

.sec-head__aside .link-arrow {
  margin-top: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand);
}

.link-arrow .icon {
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

.link-arrow--light {
  color: var(--sky);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.25s, border-color 0.25s, color 0.25s,
    transform 0.25s var(--ease), box-shadow 0.25s;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 12px 30px -14px rgba(37, 99, 235, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(37, 99, 235, 0.8);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.32);
}

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

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.5);
}

.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  color: #fff;
  background: rgba(7, 11, 26, 0.58);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: rgba(7, 11, 26, 0.94);
  box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.85);
}

.header-inner {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand__text span {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--sky);
  margin-top: 3px;
}

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

.nav a {
  position: relative;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1.5px;
  background: var(--brand-3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  flex: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
}

.nav-toggle .icon {
  width: 20px;
  height: 20px;
}

.nav-toggle__close {
  display: none;
}

body.nav-open .nav-toggle__open {
  display: none;
}

body.nav-open .nav-toggle__close {
  display: block;
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 104px 28px 36px;
  background: rgba(6, 10, 22, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  overflow-y: auto;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .mobile-nav {
  visibility: visible;
  opacity: 1;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  font-weight: 500;
}

.mobile-nav a[aria-current="page"] {
  color: var(--sky);
}

.mobile-nav .btn {
  justify-content: center;
  margin-top: 28px;
  padding: 0 24px;
  width: 100%;
  height: 54px;
  border-bottom: 0;
  font-size: 16px;
  color: #fff;
}

.mobile-nav__meta {
  margin-top: auto;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.9;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #070b1a;
  color: #fff;
  padding-top: 146px;
}

.hero__glow,
.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__glow {
  background:
    radial-gradient(720px 460px at 78% 6%, rgba(37, 99, 235, 0.42), transparent 68%),
    radial-gradient(620px 420px at 8% 92%, rgba(96, 165, 250, 0.16), transparent 65%),
    radial-gradient(500px 380px at 55% 55%, rgba(29, 78, 216, 0.12), transparent 70%);
}

.hero__grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 58% 26%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 58% 26%, #000 10%, transparent 78%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(56px, 7vw, 92px);
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(38px, 4.5vw, 66px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.hero-title__sub {
  display: block;
  margin-top: 18px;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.55;
  letter-spacing: 0;
  font-weight: 500;
  color: #c8d6ec;
}

.hero-title__sub em {
  font-style: normal;
  background: linear-gradient(92deg, #60a5fa, #bfdbfe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin-top: 24px;
  max-width: 37em;
  font-size: 16.5px;
  line-height: 1.85;
  color: #a6b6d0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  font-size: 13.5px;
  color: #8b9cb8;
}

.hero__proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__proof .icon {
  width: 15px;
  height: 15px;
  color: var(--brand-3);
}

/* Dashboard mockup */
.hero-visual {
  position: relative;
  z-index: 1;
}

.dash {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, #0d1529, #0a1122);
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.85),
    0 0 90px -30px rgba(37, 99, 235, 0.45), 0 0 0 1px rgba(59, 130, 246, 0.06);
  overflow: hidden;
}

.dash__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.dash__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27324c;
}

.dash__url {
  margin-left: auto;
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: #5c6b85;
}

.dash__body {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  min-height: 336px;
}

.dash__side {
  padding: 16px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: #dbe6fa;
}

.dash__brand svg {
  width: 16px;
  height: 16px;
}

.dash__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 10px;
  color: #7383a0;
}

.dash__nav span {
  padding: 6px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash__nav span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.dash__nav .is-on {
  background: rgba(59, 130, 246, 0.16);
  color: #bfdbfe;
}

.dash__nav .is-on::before {
  background: #60a5fa;
  opacity: 1;
}

.dash__side-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  border: 1px solid rgba(96, 165, 250, 0.21);
  border-radius: 6px;
  font-size: 8.5px;
  color: #93c5fd;
}

.dash__side-foot svg {
  width: 10px;
  height: 10px;
}

.dash__main {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.dash__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dash__head b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #eaf1fc;
  line-height: 1.4;
}

.dash__head small {
  font-size: 9px;
  color: #64748b;
}

.dash__pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  font-size: 8.5px;
}

.dash__pill::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

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

.dash__kpi {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.dash__kpi small {
  display: block;
  font-size: 8.5px;
  color: #6b7c98;
}

.dash__kpi b {
  display: block;
  margin-top: 3px;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 600;
  color: #f1f6ff;
  letter-spacing: -0.02em;
}

.dash__kpi b em {
  font-style: normal;
  font-size: 9px;
  color: #7f90ac;
  font-weight: 400;
  margin-left: 2px;
}

.dash__kpi i {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 8.5px;
  color: #6b7c98;
}

.dash__kpi i.up {
  color: #4ade80;
}

.dash__chart {
  padding: 11px 12px 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.dash__chart-head {
  display: flex;
  justify-content: space-between;
  font-size: 8.5px;
  color: #6b7c98;
  margin-bottom: 4px;
}

.dash__chart svg {
  width: 100%;
  height: 64px;
}

.dash__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dash__list div {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-size: 9px;
  color: #93a4bf;
}

.dash__list b {
  margin-left: auto;
  color: #dbe6fa;
  font-weight: 600;
}

.dash__list .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #60a5fa;
  flex: none;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(11, 18, 38, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  font-size: 11.5px;
  color: #d7e2f5;
  animation: float 7s ease-in-out infinite;
}

.float-card .icon {
  width: 17px;
  height: 17px;
  color: var(--brand-3);
}

.float-card b {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.float-card small {
  display: block;
  font-size: 9.5px;
  color: #8b9cb8;
}

.float-card--a {
  top: -22px;
  right: -14px;
}

.float-card--b {
  bottom: 24px;
  left: -30px;
  animation-delay: -3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #070b1a;
  padding: 15px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 7%, #000 18%, #000 82%, transparent 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 7%, #000 18%, #000 82%, transparent 93%, transparent 100%);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.ticker__group {
  display: flex;
  flex: none;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #6f7f9c;
  white-space: nowrap;
}

.ticker__item::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #26334d;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Cards / grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s,
    border-color 0.35s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #cfddf5;
  box-shadow: var(--shadow-hover);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(150deg, #e9f1ff, #d9e6ff);
  color: var(--brand);
  border: 1px solid #d2e0fa;
}

.icon-tile .icon {
  width: 23px;
  height: 23px;
}

.icon-tile--dark {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(96, 165, 250, 0.22);
  color: var(--sky);
}

/* Platform cards */
.plat-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s,
    border-color 0.35s;
}

.plat-card:hover {
  transform: translateY(-4px);
  border-color: #cfddf5;
  box-shadow: var(--shadow-hover);
}

.plat-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.plat-card__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

.plat-card h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.plat-card h3 small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted-2);
}

.plat-card p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.plat-card .tags {
  margin-top: 20px;
}

.plat-card__note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.7;
}

.plat-card__note strong {
  color: var(--text);
  font-weight: 600;
}

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

.tags span {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 10px;
  border-radius: 7px;
  background: var(--paper);
  border: 1px solid #e8eef8;
  font-size: 11.5px;
  color: #5d6b84;
  letter-spacing: 0.02em;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.bento .card {
  grid-column: span 2;
  padding: 28px;
  overflow: hidden;
}

.bento .card--wide {
  grid-column: span 3;
}

.bento .card--feature {
  background: linear-gradient(150deg, #0c1730 0%, #0a1024 58%, #0b1428 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.bento .card--feature::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -90px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.5), transparent 65%);
  pointer-events: none;
}

.bento h3 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.bento p {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.bento .card--feature p {
  color: #9fb0ca;
}

.bento .card__num {
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: var(--mono);
  font-size: 11px;
  color: #a7b4c9;
  letter-spacing: 0.08em;
}

.bento .card--feature .card__num {
  color: #3f5a86;
}

/* Solutions */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sol {
  display: flex;
  flex-direction: column;
  min-height: 216px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.sol:hover {
  transform: translateY(-3px);
  border-color: #c9d9f4;
  box-shadow: 0 20px 40px -30px rgba(15, 38, 84, 0.4);
}

.sol__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sol .icon-tile {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.sol .icon {
  width: 21px;
  height: 21px;
}

.sol__arrow {
  color: #b9c6da;
  transition: color 0.25s, transform 0.25s var(--ease);
}

.sol__arrow .icon {
  width: 17px;
  height: 17px;
}

.sol:hover .sol__arrow {
  color: var(--brand);
  transform: translate(2px, -2px);
}

.sol h3 {
  margin-top: 18px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
}

.sol h3 small {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

.sol p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.sol .tags {
  margin-top: auto;
  padding-top: 14px;
}

.sol .tags span {
  height: 22px;
  padding: 0 8px;
  font-size: 10.5px;
  background: transparent;
  border-color: var(--line);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 26px;
  right: 26px;
  height: 1px;
  background: var(--line-2);
}

.step {
  position: relative;
  padding-top: 0;
}

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #fff;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--brand);
  box-shadow: 0 0 0 8px var(--bg);
}

.section--paper .step__num {
  box-shadow: 0 0 0 8px var(--paper);
}

.step h3 {
  margin-top: 22px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.step__meta {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--brand);
}

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

/* Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.case-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s,
    border-color 0.35s;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: #cfddf5;
  box-shadow: var(--shadow-hover);
}

.case-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}

.case-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.case-card:hover .case-card__media img {
  transform: scale(1.035);
}

.case-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(7, 11, 26, 0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.case-card__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 20px;
}

.case-card__body h3 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.45;
}

.case-card__body p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.case-card__go {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted-2);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.case-card__go .icon {
  width: 16px;
  height: 16px;
}

.case-card:hover .case-card__go {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13.5px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter:hover {
  border-color: #b9cae5;
  color: var(--text);
}

.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filter__count {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  opacity: 0.6;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 26px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted-2);
}

.notice .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex: none;
}

/* ---------- Stats ---------- */
.stats {
  position: relative;
  overflow: hidden;
  background: #070b1a;
  color: #fff;
  padding: clamp(56px, 7vw, 92px) 0;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 340px at 82% 10%, rgba(37, 99, 235, 0.28), transparent 70%),
    radial-gradient(420px 300px at 10% 100%, rgba(96, 165, 250, 0.1), transparent 70%);
  pointer-events: none;
}

.stats__head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.stats__head h2 {
  margin-top: 12px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.stats__head p {
  max-width: 40ch;
  font-size: 14.5px;
  color: #95a6c0;
  line-height: 1.8;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat {
  padding: 28px 26px 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}

.stat b span {
  margin-left: 6px;
  font-size: 0.4em;
  font-weight: 500;
  color: var(--sky);
  letter-spacing: 0;
}

.stat p {
  margin-top: 10px;
  font-size: 13.5px;
  color: #93a5c1;
}

.stats__note {
  position: relative;
  margin-top: 26px;
  font-size: 12px;
  color: #7e8fad;
  line-height: 1.8;
}

/* ---------- EOF / about block ---------- */
.eof {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.eof__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(360px 300px at 70% 20%, rgba(37, 99, 235, 0.3), transparent 70%),
    linear-gradient(155deg, #0c1730, #080d1c 65%);
  box-shadow: 0 40px 80px -50px rgba(10, 25, 60, 0.8);
}

.eof__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 50% 45%, #000, transparent 72%);
}

.eof__word {
  position: relative;
  font-family: var(--mono);
  font-size: clamp(84px, 12vw, 156px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(147, 197, 253, 0.06);
  -webkit-text-stroke: 1px rgba(147, 197, 253, 0.45);
  user-select: none;
}

.eof__caption {
  position: absolute;
  bottom: 10%;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #5d769f;
}

.eof__mark {
  position: absolute;
  top: 10%;
  right: 12%;
  width: 46px;
  height: 46px;
  opacity: 0.9;
}

.eof__copy .h2 {
  max-width: 18em;
}

.eof__copy p {
  max-width: 36em;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.eof__copy .link-arrow {
  margin-top: 26px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 880px;
  margin-inline: auto;
}

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

.faq__item:first-child {
  border-top: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.6;
  transition: color 0.2s;
}

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

.faq__item summary:hover {
  color: var(--brand);
}

.faq__icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.faq__item p {
  padding: 0 52px 24px 4px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.faq__item p a {
  color: var(--brand);
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
}

/* ---------- CTA ---------- */
.cta {
  padding: 0 0 clamp(64px, 8vw, 104px);
}

.cta__box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 40px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  background:
    radial-gradient(520px 320px at 88% 0%, rgba(37, 99, 235, 0.42), transparent 66%),
    linear-gradient(140deg, #0b1730, #070b1a 62%);
  color: #fff;
}

.cta__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
  mask-image: linear-gradient(90deg, #000, transparent 70%);
  pointer-events: none;
}

.cta__copy {
  position: relative;
}

.cta__copy h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.cta__copy p {
  margin-top: 14px;
  max-width: 46ch;
  font-size: 15px;
  color: #a8b9d3;
  line-height: 1.8;
}

.cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.cta__actions--stack {
  flex-direction: column;
  align-items: stretch;
}

.cta__actions--stack .btn {
  width: 100%;
}

.cta__meta {
  position: relative;
  margin-top: 22px;
  font-size: 12.5px;
  color: #6f819f;
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 148px 0 clamp(48px, 6vw, 72px);
  background: #070b1a;
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 82% 0%, rgba(37, 99, 235, 0.32), transparent 68%),
    radial-gradient(460px 300px at 4% 100%, rgba(96, 165, 250, 0.1), transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 65% 20%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 80% at 65% 20%, #000 20%, transparent 78%);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #5f718e;
  letter-spacing: 0.02em;
}

.crumbs a:hover {
  color: var(--sky);
}

.crumbs span[aria-current="page"] {
  color: #93a4bf;
}

.crumbs .sep {
  color: #33415c;
}

.page-hero h1 {
  max-width: 20em;
  margin-top: 14px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.page-hero__sub {
  max-width: 58ch;
  margin-top: 20px;
  font-size: 16.5px;
  line-height: 1.85;
  color: #a9b9d2;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  font-size: 13px;
  color: #8b9db8;
}

.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-hero__meta .icon {
  width: 15px;
  height: 15px;
  color: var(--brand-3);
}

/* ---------- Anchor nav ---------- */
.anchor-nav {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.anchor-nav__inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.anchor-nav__inner::-webkit-scrollbar {
  display: none;
}

.anchor-nav a {
  flex: none;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.anchor-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

/* ---------- Solution detail ---------- */
.solution-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#delivery {
  scroll-margin-top: 140px;
}

.sd {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  scroll-margin-top: 140px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.sd:hover {
  border-color: #cfddf5;
  box-shadow: 0 24px 50px -40px rgba(15, 38, 84, 0.5);
}

.sd__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sd__head .icon-tile {
  width: 46px;
  height: 46px;
  flex: none;
}

.sd__head h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.sd__head h3 small {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted-2);
  letter-spacing: 0.06em;
}

.sd p {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

.sd ul {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
}

.sd ul li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: #4e5b70;
}

.sd ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-3);
}

/* ---------- Deliver / promise ---------- */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.promise {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.promise h3 {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.promise p {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.promise ul {
  margin-top: 14px;
  display: grid;
  gap: 6px;
}

.promise li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #4e5b70;
  line-height: 1.7;
}

.promise li .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--brand);
  flex: none;
}

/* ---------- About ---------- */
.story {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.story__copy p {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--muted);
}

.story__copy p strong {
  color: var(--text);
  font-weight: 600;
}

.story__art {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(420px 320px at 75% 18%, rgba(37, 99, 235, 0.34), transparent 70%),
    linear-gradient(155deg, #0c1730, #080d1c 62%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
}

.story__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
}

.story__logo {
  position: relative;
  width: 34%;
  max-width: 190px;
  filter: drop-shadow(0 30px 60px rgba(37, 99, 235, 0.35));
}

.story__tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6f88b0;
}

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

.value {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.value h3 {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 700;
}

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

/* Vertical timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin-inline: 0;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--brand-3), var(--line-2));
}

.timeline__item {
  position: relative;
  padding: 0 0 34px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand-2);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.timeline__item h3 {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.timeline__item h3 span {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--brand);
  letter-spacing: 0.06em;
}

.timeline__item p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}

.timeline__item p strong {
  color: var(--text);
  font-weight: 600;
}

/* Company card */
.company-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.company-card__cell {
  padding: 26px 30px;
  border-bottom: 1px solid var(--line);
}

.company-card__cell:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.company-card__cell:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.company-card__cell small {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.company-card__cell p {
  margin-top: 5px;
  font-size: 15px;
  line-height: 1.7;
}

.company-card__cell a {
  color: var(--brand);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-item:hover {
  border-color: #c9d9f4;
  box-shadow: 0 20px 40px -34px rgba(15, 38, 84, 0.5);
}

.contact-item .icon-tile {
  width: 44px;
  height: 44px;
  flex: none;
}

.contact-item h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.contact-item p {
  margin-top: 3px;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
}

.contact-item p small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted-2);
  margin-top: 2px;
}

.contact-item a:hover {
  color: var(--brand);
}

.contact-grid .qr-card {
  margin: 0 0 12px;
}

.qr-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
}

.qr-card img {
  width: 128px;
  height: 128px;
  border-radius: 10px;
  border: 1px solid var(--line);
  flex: none;
}

.qr-card h3 {
  font-size: 15.5px;
  font-weight: 700;
}

.qr-card p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* Form */
.form-card {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.form-card > p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: #3f4b5f;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fbfcfe;
  font-size: 14.5px;
  line-height: 1.6;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-2);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.form__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form__status {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

.form__status.is-error {
  color: #dc2626;
}

.form__fallback {
  margin-top: 16px;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--paper);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.form__fallback a {
  color: var(--brand);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.footer {
  background: #060a16;
  color: #93a3bc;
  padding: clamp(48px, 6vw, 72px) 0 26px;
  font-size: 14px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
}

.footer .brand {
  color: #fff;
}

.footer__tagline {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.85;
  color: #7f90ab;
}

.footer__contact {
  margin-top: 20px;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #93a3bc;
}

.footer__contact a:hover {
  color: #fff;
}

.footer h4 {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7c97;
}

.footer__links {
  display: grid;
  gap: 9px;
  font-size: 13.5px;
}

.footer__links a {
  color: #a4b3ca;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #7b8aa1;
}

.footer__bottom a {
  color: #8494ad;
}

.footer__bottom a:hover {
  color: #fff;
}

.beian {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.beian a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  line-height: 1.5;
}

.beian img {
  flex: none;
  width: 15px;
  height: auto;
  opacity: 0.85;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 14px 30px -16px rgba(15, 38, 84, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.to-top.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top .icon {
  width: 18px;
  height: 18px;
  transform: rotate(-90deg);
}

/* ---------- Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js .stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .stagger.is-in > * {
  opacity: 1;
  transform: none;
}

.js .stagger.is-in > *:nth-child(2) {
  transition-delay: 0.06s;
}

.js .stagger.is-in > *:nth-child(3) {
  transition-delay: 0.12s;
}

.js .stagger.is-in > *:nth-child(4) {
  transition-delay: 0.18s;
}

.js .stagger.is-in > *:nth-child(5) {
  transition-delay: 0.24s;
}

.js .stagger.is-in > *:nth-child(6) {
  transition-delay: 0.3s;
}

.js .stagger.is-in > *:nth-child(7) {
  transition-delay: 0.36s;
}

html:not(.js) .filters {
  display: none;
}

.js .stagger.is-in > *:nth-child(8) {
  transition-delay: 0.42s;
}

/* ---------- Utilities ---------- */
.link-row {
  margin-top: 32px;
}

.map-link {
  margin-top: 16px;
}

.footer__note {
  color: #7f90ab;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner {
    gap: 44px;
  }

  .dash__body {
    grid-template-columns: 92px minmax(0, 1fr);
  }

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

  .footer__grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    row-gap: 34px;
  }

  .footer__grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .anchor-nav__inner {
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }

  .hero {
    padding-top: 124px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__copy {
    max-width: 640px;
  }

  .hero-visual {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .float-card--a {
    right: 6px;
    top: -18px;
  }

  .float-card--b {
    left: 6px;
  }

  .sec-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sec-head__aside {
    justify-self: start;
    max-width: 56ch;
  }

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

  .bento .card,
  .bento .card--wide {
    grid-column: span 3;
  }

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

  .steps::before {
    display: none;
  }

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

  .stats__head {
    display: block;
  }

  .stats__head p {
    margin-top: 14px;
  }

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

  .stat {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(4) {
    border-right: 0;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-bottom: 0;
  }

  .stat:first-child {
    padding-left: 26px;
  }

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

  .eof__visual {
    max-width: 420px;
    width: 100%;
  }

  .cta__box {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta__actions {
    justify-content: flex-start;
  }

  .solution-detail {
    grid-template-columns: 1fr;
  }

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

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

  .story__art {
    max-width: 480px;
    width: 100%;
    order: -1;
  }

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

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

  .footer__grid > :last-child {
    grid-column: auto;
  }

  .company-card {
    grid-template-columns: 1fr;
  }

  .company-card__cell:nth-child(odd) {
    border-right: 0;
  }

  .company-card__cell:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .company-card__cell:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 36px, var(--wrap));
  }

  .header-inner {
    width: min(100% - 36px, 1240px);
  }

  .bento .card,
  .bento .card--wide {
    grid-column: span 6;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-title {
    font-size: clamp(34px, 9vw, 46px);
  }

  .hero__proof {
    gap: 8px 18px;
  }

  .dash__body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .dash__side {
    display: none;
  }

  .dash__main {
    padding: 16px;
  }

  .float-card {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .step__num {
    box-shadow: none;
  }

  .stat {
    padding: 22px 18px 4px;
  }

  .stat:first-child {
    padding-left: 18px;
  }

  .stat b {
    font-size: 30px;
  }

  .eof__copy .h2 {
    font-size: clamp(24px, 6.4vw, 32px);
  }

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

  .contact-item {
    padding: 20px;
  }

  .qr-card {
    flex-direction: row;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .page-hero {
    padding-top: 124px;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 560px) {
  .sol-grid {
    grid-template-columns: 1fr;
  }

  .beian {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .footer {
    padding-bottom: 64px;
  }

  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta__actions .btn {
    width: 100%;
  }

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

  .cases-grid .case-card {
    display: grid;
    grid-template-columns: 42% 1fr;
    align-items: stretch;
  }

  .cases-grid .case-card__media {
    aspect-ratio: auto;
    height: 100%;
  }

  .cases-grid .case-card__body {
    flex-direction: column;
    gap: 6px;
    padding: 16px;
  }

  .cases-grid .case-card__go {
    display: none;
  }

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

  .dash__kpis .dash__kpi:last-child {
    display: none;
  }

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

  .stat {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding-left: 0;
  }

  .stat:first-child {
    padding-left: 0;
  }

  .stat:last-child {
    border-bottom: 0 !important;
  }

  .qr-card {
    flex-direction: row;
    align-items: center;
  }

  .qr-card img {
    width: 112px;
    height: 112px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal],
  .js .stagger > * {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .mobile-nav,
  .to-top,
  .ticker,
  .cta__box,
  .float-card {
    display: none !important;
  }

  body {
    color: #000;
  }

  .hero,
  .page-hero,
  .stats,
  .footer {
    background: #fff !important;
    color: #000 !important;
  }
}
