:root {
  --blue-950: #071d44;
  --blue-900: #0a2c68;
  --blue-800: #0d4194;
  --blue-700: #0e5bcc;
  --blue-600: #1476e8;
  --cyan-400: #45d6f5;
  --ink: #15233b;
  --muted: #5d6b82;
  --line: #dce6f3;
  --surface: #f5f9ff;
  --white: #ffffff;
  --success: #0a8f68;
  --warning: #bf6a12;
  --shadow: 0 24px 60px rgba(19, 67, 128, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue-800);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(210, 225, 243, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 248px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

.brand span {
  line-height: 1.3;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--blue-900);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: currentColor;
  transition: 0.2s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  color: #40516c;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue-700);
  background: #eaf3ff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 74px;
  background:
    radial-gradient(circle at 85% 12%, rgba(69, 214, 245, 0.25), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #ecf5ff 45%, #f7fbff 100%);
}

.hero::after {
  position: absolute;
  right: -180px;
  bottom: -220px;
  width: 560px;
  height: 560px;
  content: "";
  border: 90px solid rgba(20, 118, 232, 0.06);
  border-radius: 50%;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--blue-700), var(--cyan-400));
  border-radius: 3px;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
}

.lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: #455875;
  font-size: clamp(17px, 2vw, 21px);
}

.highlight {
  color: var(--blue-700);
}

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

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  box-shadow: 0 14px 30px rgba(14, 91, 204, 0.22);
}

.btn-secondary {
  color: var(--blue-800);
  background: rgba(255, 255, 255, 0.82);
  border-color: #c8daf0;
}

.hero-media img,
.media-panel img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-media::before {
  position: absolute;
  z-index: -1;
  inset: -16px 28px 28px -16px;
  content: "";
  background: linear-gradient(135deg, var(--blue-700), var(--cyan-400));
  border-radius: var(--radius-lg);
  opacity: 0.22;
}

.hero-badge {
  position: absolute;
  right: -18px;
  bottom: -24px;
  max-width: 235px;
  padding: 18px 20px;
  color: var(--white);
  background: rgba(7, 29, 68, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero-badge strong {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
}

.hero-badge span {
  color: #c7d9f4;
  font-size: 13px;
}

.trust-strip {
  border-top: 1px solid #e6eef8;
  border-bottom: 1px solid #e6eef8;
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 24px 28px;
  border-right: 1px solid #e6eef8;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--blue-800);
  font-size: 18px;
}

.trust-item span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 88px 0;
}

.section-compact {
  padding: 58px 0;
}

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

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 86% 15%, rgba(69, 214, 245, 0.18), transparent 32%),
    linear-gradient(135deg, var(--blue-950), #0a326f 70%, #073c72);
}

.section-dark .lead,
.section-dark .section-head p,
.section-dark .muted {
  color: #c9d8ef;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head p,
.muted {
  color: var(--muted);
}

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

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.feature-card,
.metric-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.feature-card:hover {
  border-color: #b7d3f5;
  box-shadow: 0 18px 40px rgba(14, 91, 204, 0.1);
  transform: translateY(-4px);
}

.card-number,
.icon-box {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--blue-700);
  background: #eaf3ff;
  border-radius: 12px;
  font-weight: 900;
}

.card p,
.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--blue-700);
  font-weight: 800;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.18s ease;
}

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

.media-panel {
  position: relative;
}

.media-caption {
  margin: 12px 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.bullet-list,
.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.bullet-list li,
.check-list li {
  position: relative;
  padding-left: 26px;
}

.bullet-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--blue-600);
  font-weight: 900;
  content: "◆";
}

.check-list li::before {
  color: var(--success);
  content: "✓";
}

.page-hero {
  padding: 62px 0 54px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(69, 214, 245, 0.22), transparent 28%),
    linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.page-hero h1 {
  max-width: 860px;
  margin-bottom: 16px;
  font-size: clamp(38px, 5vw, 60px);
}

.page-hero .lead {
  color: #d5e2f4;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  color: #a9c1e2;
  font-size: 13px;
}

.breadcrumb a:hover {
  color: var(--white);
}

.architecture-panel {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.architecture-panel button {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.architecture-panel img {
  width: 100%;
  border-radius: 18px;
}

.architecture-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 10px 4px;
  color: var(--muted);
  font-size: 13px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.pill {
  padding: 7px 11px;
  color: var(--blue-800);
  background: #eaf3ff;
  border: 1px solid #d3e5fa;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  counter-reset: steps;
}

.process-step {
  position: relative;
  min-height: 152px;
  padding: 22px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  counter-increment: steps;
}

.process-step::before {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 50%;
  content: counter(steps, decimal-leading-zero);
  font-size: 11px;
  font-weight: 900;
}

.process-step strong {
  display: block;
  margin-bottom: 7px;
}

.process-step span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  color: var(--warning);
  background: #fff4e9;
  border: 1px solid #ffe0bd;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

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

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

.solution-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 250px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-card > div {
  padding: 24px;
}

.solution-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.case-visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-950);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.case-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(4, 18, 42, 0.08) 25%, rgba(4, 18, 42, 0.94) 100%);
}

.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.case-visual > div {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 32px;
}

.case-visual span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  color: #dff7ff;
  background: rgba(48, 178, 232, 0.2);
  border: 1px solid rgba(136, 223, 255, 0.35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.case-visual h2 {
  max-width: 620px;
  margin-bottom: 10px;
  font-size: clamp(24px, 2.4vw, 34px);
}

.case-visual p {
  max-width: 620px;
  margin-bottom: 0;
  color: #d2e1f5;
}

.case-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 18px;
}

.case-filter {
  padding: 10px 14px;
  color: #435570;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: 0.18s ease;
}

.case-filter:hover,
.case-filter.active {
  color: var(--white);
  background: var(--blue-700);
  border-color: var(--blue-700);
}

.case-filter span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 11px;
}

.case-filter:not(.active) span {
  color: var(--blue-700);
  background: #eaf3ff;
}

.case-count {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

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

.case-card {
  display: flex;
  min-height: 292px;
  flex-direction: column;
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(15, 69, 132, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.case-card:hover {
  border-color: #b7d3f5;
  box-shadow: 0 18px 40px rgba(14, 91, 204, 0.1);
  transform: translateY(-4px);
}

.case-card[hidden] {
  display: none;
}

.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
}

.case-meta span:last-child {
  color: #9badc4;
  font-size: 18px;
}

.case-card h3 {
  font-size: 22px;
}

.case-card p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.case-tags span {
  padding: 5px 8px;
  color: #53647c;
  background: #f3f7fc;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 34px;
}

.timeline-step {
  position: relative;
  padding: 62px 18px 20px;
  border-top: 3px solid #cfe0f5;
}

.timeline-step::before {
  position: absolute;
  top: -10px;
  left: 20px;
  width: 17px;
  height: 17px;
  content: "";
  background: var(--white);
  border: 4px solid var(--blue-600);
  border-radius: 50%;
}

.timeline-step b {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--blue-700);
  font-size: 12px;
}

.timeline-step span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

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

.metric-card {
  padding: 22px;
  text-align: center;
}

.metric-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-700);
  font-size: 20px;
}

.metric-card span {
  color: var(--muted);
  font-size: 13px;
}

.notice {
  padding: 18px 20px;
  color: #6e4b1d;
  background: #fff8e8;
  border: 1px solid #f4dca7;
  border-radius: 14px;
}

.notice strong {
  color: #8a5713;
}

.cta-band {
  padding: 56px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
}

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

.cta-inner h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.cta-inner p {
  margin-bottom: 0;
  color: #d8e7fb;
}

.cta-band .btn-secondary {
  flex: 0 0 auto;
  color: var(--blue-800);
  border-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 34px;
  align-items: stretch;
}

.contact-card,
.qr-card {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
}

.contact-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8eef6;
}

.contact-row:last-child {
  border-bottom: 0;
}

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

.contact-row dd {
  margin: 0;
  font-weight: 700;
}

.qr-placeholder {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  padding: 34px;
  color: var(--blue-800);
  background: #f0f6ff;
  border: 2px dashed #9cbfe8;
  border-radius: 18px;
  text-align: center;
}

.qr-placeholder strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.qr-placeholder span {
  color: var(--muted);
  font-size: 13px;
}

.qr-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.phone-link {
  color: var(--blue-700);
  font-size: 20px;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion details {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.accordion summary {
  cursor: pointer;
  font-weight: 800;
}

.accordion details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 44px 0 26px;
  color: #b8cae3;
  background: #061936;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 12px;
}

.footer-title {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 7px;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-note {
  margin-top: 18px;
  color: #8fa7c7;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 20px;
  color: #8299b9;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 12px;
}

.icp-link {
  color: #a9c3e6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.icp-link:hover,
.icp-link:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--blue-700);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(14, 91, 204, 0.3);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

dialog.image-dialog {
  width: min(94vw, 1400px);
  max-height: 92vh;
  padding: 14px;
  background: var(--white);
  border: 0;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

dialog.image-dialog::backdrop {
  background: rgba(4, 17, 38, 0.75);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: rgba(7, 29, 68, 0.9);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.image-dialog img {
  width: 100%;
  max-height: calc(92vh - 28px);
  object-fit: contain;
  border-radius: 12px;
}

@media (max-width: 1040px) {
  .site-nav a {
    padding-inline: 8px;
    font-size: 13px;
  }

  .brand {
    min-width: auto;
  }

  .brand small {
    display: none;
  }

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

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

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

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

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

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand span {
    font-size: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 14px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(20, 55, 98, 0.12);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 14px;
    font-size: 15px;
  }

  .hero {
    padding: 56px 0 68px;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-badge {
    right: 10px;
    bottom: -18px;
  }

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

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

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid #e6eef8;
  }

  .section {
    padding: 68px 0;
  }

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

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 20px;
  }

  .timeline-step {
    padding: 14px 20px 28px 40px;
    border-top: 0;
    border-left: 3px solid #cfe0f5;
  }

  .timeline-step::before {
    top: 16px;
    left: -10px;
  }

  .timeline-step b {
    position: static;
  }

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

  .case-showcase-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .qr-card {
    max-width: 420px;
  }

  .cta-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 40px;
  }

  .card-grid.four,
  .process,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    padding: 18px;
  }

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

  .solution-card img {
    height: 190px;
  }

  .case-visual {
    min-height: 360px;
  }

  .case-visual > div {
    padding: 24px;
  }

  .contact-card,
  .qr-card {
    padding: 24px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
