:root {
  --bg-0: #eef2f8;
  --bg-1: #f7f9fd;
  --bg-2: #ffffff;
  --text: #151a23;
  --text-soft: #4f5969;
  --text-dim: #6f7886;
  --brand: #0a67ff;
  --brand-soft: #5ba4ff;
  --line: rgba(14, 21, 34, 0.1);
  --line-strong: rgba(14, 21, 34, 0.16);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.74);
  --glass-dark: rgba(19, 25, 39, 0.78);
  --shadow-1: 0 12px 28px rgba(16, 24, 40, 0.08);
  --shadow-2: 0 22px 48px rgba(16, 24, 40, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: min(1160px, 92vw);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.72;
  letter-spacing: 0.01em;
  background:
    radial-gradient(900px 460px at 84% -8%, rgba(91, 164, 255, 0.24), transparent 62%),
    radial-gradient(900px 460px at -5% 8%, rgba(193, 208, 233, 0.56), transparent 66%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 28%, var(--bg-2));
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.22));
  backdrop-filter: blur(2px);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-sans);
  color: #11161e;
  letter-spacing: 0.005em;
  line-height: 1.26;
}

h1 {
  font-size: clamp(1.72rem, 2.55vw, 2.55rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.42rem, 2.15vw, 2.15rem);
  font-weight: 650;
}

h3 {
  font-size: 1.08rem;
  font-weight: 620;
}

p {
  margin: 0;
  color: var(--text-soft);
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(14px) saturate(130%);
}

.topbar-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.86rem;
  color: var(--text-dim);
}

.topbar-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.topbar strong {
  color: var(--text);
  font-weight: 650;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 252, 255, 0.64);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(145%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #111827;
  font-weight: 660;
  font-size: 1.01rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #4a95ff, #125eff 54%, #1644b5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 10px 22px rgba(28, 89, 208, 0.35);
}

.brand-mark svg {
  width: 19px;
  height: 19px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: #5a6272;
  font-size: 0.94rem;
  font-weight: 560;
  padding: 5px 0;
  position: relative;
  cursor: pointer;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f9dff, #0a67ff);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  color: #0f1726;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.pill-btn,
.btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 620;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.pill-btn.primary,
.btn.primary {
  color: #fff;
  background: linear-gradient(120deg, #1872ff, #3b95ff);
  box-shadow: 0 10px 22px rgba(24, 114, 255, 0.28);
}

.pill-btn.dark,
.btn.dark {
  color: #f3f7ff;
  background: rgba(17, 24, 39, 0.86);
  border-color: rgba(255, 255, 255, 0.12);
}

.pill-btn.ghost,
.btn.ghost {
  background: var(--glass);
  border-color: var(--line);
  color: #1b2331;
  backdrop-filter: blur(10px);
}

.pill-btn:hover,
.pill-btn:focus-visible,
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0 44px;
}

main > section {
  padding: 0;
}

main > section:not(.hero) .container {
  background: var(--glass);
  border: 1px solid rgba(14, 21, 34, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.06);
  backdrop-filter: blur(18px) saturate(130%);
  padding: clamp(18px, 2.2vw, 28px);
}

main > section.hero .container {
  padding: 0;
}

.manifesto-banner .container {
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(10, 103, 255, 0.24);
  background: linear-gradient(118deg, rgba(32, 123, 255, 0.14), rgba(123, 179, 255, 0.24));
  box-shadow: 0 10px 24px rgba(24, 114, 255, 0.16);
  backdrop-filter: blur(14px) saturate(125%);
}

.manifesto-banner p {
  text-align: center;
  color: #144394;
  font-size: clamp(1.06rem, 1.55vw, 1.58rem);
  line-height: 1.28;
  font-weight: 680;
  letter-spacing: 0.01em;
}

@media (min-width: 980px) {
  .manifesto-banner p {
    white-space: nowrap;
  }
}

.hero {
  margin-top: 4px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 14px;
  align-items: stretch;
}

.hero-card,
.card,
.panel {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(18px) saturate(130%);
}

.hero-copy {
  padding: clamp(24px, 3vw, 38px);
}

.eyebrow {
  min-height: 32px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(10, 103, 255, 0.24);
  background: rgba(123, 179, 255, 0.16);
  color: #1b5fcb;
  font-size: 0.82rem;
  font-weight: 620;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(1.58rem, 2.35vw, 2.3rem);
  max-width: 12.8em;
}

.hero p {
  margin-top: 14px;
  max-width: 44em;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-side {
  display: grid;
  gap: 12px;
}

.metric-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 22px;
  min-height: 258px;
  color: #f4f7ff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(480px 200px at 95% -20%, rgba(135, 196, 255, 0.45), transparent 72%),
    linear-gradient(150deg, rgba(21, 33, 53, 0.86), rgba(28, 45, 74, 0.84) 50%, rgba(22, 57, 120, 0.82));
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(16px) saturate(135%);
}

.metric-title {
  color: #f5f8ff;
  font-weight: 620;
  position: relative;
  z-index: 1;
}

.metrics {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  position: relative;
  z-index: 1;
}

.metric {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  padding: 10px;
  backdrop-filter: blur(6px);
}

.metric strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.metric span {
  font-size: 0.82rem;
  color: rgba(241, 247, 255, 0.92);
}

.contact-strip {
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--glass-strong);
  box-shadow: var(--shadow-1);
  color: #4f5a69;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.section-head {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(14, 21, 34, 0.08);
}

.section-head p {
  margin-top: 8px;
  max-width: 62ch;
}

.grid-3,
.grid-2,
.flow {
  gap: 12px;
}

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

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

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

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.07);
  backdrop-filter: blur(12px) saturate(120%);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card {
  min-height: 272px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(10, 103, 255, 0.24);
  box-shadow: 0 16px 30px rgba(16, 24, 40, 0.1);
}

.card p,
.card li {
  color: #4f5969;
  font-size: 0.93rem;
}

.card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}

.card .inline-link {
  margin-top: auto;
  font-size: 0.92rem;
  color: #1b5fcb;
  font-weight: 620;
}

.card .inline-link:hover,
.card .inline-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.badge {
  width: fit-content;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  font-size: 0.81rem;
  font-weight: 640;
}

.badge.warn {
  background: rgba(245, 158, 11, 0.14);
  color: #9a5a03;
}

.badge.ok {
  background: rgba(16, 185, 129, 0.14);
  color: #0f766e;
}

.step {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 660;
  color: #1b5fcb;
  background: rgba(91, 164, 255, 0.2);
  border: 1px solid rgba(10, 103, 255, 0.22);
}

.form-card {
  display: grid;
  gap: 12px;
}

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

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

label {
  color: #596274;
  font-size: 0.87rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(14, 21, 34, 0.14);
  background: rgba(255, 255, 255, 0.76);
  color: #18202d;
  font: inherit;
  padding: 10px 12px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: rgba(10, 103, 255, 0.44);
  box-shadow: 0 0 0 4px rgba(10, 103, 255, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.notice {
  font-size: 0.84rem;
  color: var(--text-dim);
}

.success-tip {
  color: #0f766e;
  font-weight: 620;
}

.error-tip {
  color: #b42318;
  font-weight: 620;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(460px 220px at 92% -20%, rgba(142, 199, 255, 0.36), transparent 70%),
    linear-gradient(140deg, rgba(20, 30, 47, 0.86), rgba(24, 39, 67, 0.84) 48%, rgba(18, 61, 138, 0.8));
  color: #eef4ff;
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(16px) saturate(130%);
  padding: clamp(22px, 3vw, 34px);
}

.cta-band h2 {
  color: #f6f9ff;
}

.cta-band p {
  margin-top: 8px;
  color: rgba(239, 246, 255, 0.9);
  max-width: 62ch;
}

.cta-band .actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

th,
td {
  border-bottom: 1px solid rgba(14, 21, 34, 0.08);
  text-align: left;
  padding: 11px 13px;
  font-size: 0.91rem;
}

th {
  color: #1c2638;
  font-weight: 640;
  background: rgba(232, 239, 250, 0.82);
}

tr:last-child td {
  border-bottom: none;
}

.footer {
  padding: 18px 0 32px;
}

.footer-inner {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(12px) saturate(120%);
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.floating {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 80;
  display: grid;
  gap: 8px;
}

.floating a,
.floating button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 0 12px;
  line-height: 1;
  text-align: center;
  color: #eef4ff;
  font-size: 0.84rem;
  font-weight: 620;
  cursor: pointer;
  background: rgba(17, 24, 39, 0.84);
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.2);
  backdrop-filter: blur(12px);
}

.floating .brand-btn {
  background: linear-gradient(120deg, #207bff, #3ea2ff);
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(10, 103, 255, 0.5);
  outline-offset: 2px;
}

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

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

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

@media (max-width: 780px) {
  .topbar-inner {
    min-height: auto;
    padding: 8px 0;
  }

  .header-inner {
    min-height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
  }

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

  .header-actions {
    margin-left: auto;
  }

  main {
    gap: 12px;
    padding-top: 12px;
  }

  main > section:not(.hero) .container {
    padding: 18px;
    border-radius: 20px;
  }

  .hero-copy {
    padding: 22px 18px;
  }

  .grid-3,
  .grid-2,
  .flow,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

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