:root {
  --bg: #f6fbff;
  --surface: #ffffff;
  --surface-soft: #eef7ff;
  --ink: #102033;
  --muted: #5d6d7f;
  --line: #d9e7f5;
  --primary: #1267d8;
  --primary-dark: #0b3d8c;
  --teal: #10a99a;
  --cyan: #25b7f0;
  --navy: #0a2447;
  --max: 1920px;
  --page-pad: clamp(20px, 4vw, 96px);
  --radius: 8px;
  --shadow: 0 18px 48px rgba(14, 51, 89, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  background:
    linear-gradient(rgba(18, 103, 216, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 103, 216, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fbfdff 0%, #f6fbff 52%, #eef7ff 100%);
  background-size: 36px 36px, 36px 36px, auto;
  min-height: 100vh;
}

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

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

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

.container {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-inline: var(--page-pad);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(217, 231, 245, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

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

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

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.wvvw-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  color: var(--primary-dark);
  font-weight: 950;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex: 0 0 auto;
}

.wvvw-mark .v {
  color: var(--teal);
}

.wvvw-mark span {
  display: inline-block;
}

.domain-link {
  width: max-content;
  max-width: 100%;
  display: inline-flex !important;
  align-items: center;
  flex-wrap: nowrap;
  gap: 3px;
  padding: 7px 10px;
  border: 1px solid #b9daf8;
  border-radius: var(--radius);
  color: var(--primary-dark) !important;
  background: #eef8ff;
  font-weight: 900;
  white-space: nowrap;
}

.domain-link .domain-dot {
  color: var(--navy);
  font-weight: 850;
}

.email-link {
  display: inline-flex !important;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 1px;
  color: var(--primary-dark) !important;
  font-weight: 850;
  white-space: nowrap;
  max-width: 100%;
  font-size: clamp(15px, 2vw, 18px) !important;
}

.email-link .email-name,
.email-link .email-at,
.email-link .domain-dot {
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: #34465a;
  font-size: 15px;
  font-weight: 650;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-dark);
  background: #e8f3ff;
}

.nav-links .nav-cta {
  margin-left: 4px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  box-shadow: 0 12px 28px rgba(18, 103, 216, 0.2);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--teal));
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: #fff;
  cursor: pointer;
}

.banner {
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: block;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #f8fcff 0%, #ffffff 58%, #f2f9ff 100%),
    linear-gradient(rgba(18, 103, 216, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 103, 216, 0.04) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 112px;
  background:
    linear-gradient(90deg, rgba(18, 103, 216, 0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 169, 154, 0.12) 1px, transparent 1px);
  background-size: 64px 24px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 100%);
  pointer-events: none;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, transparent 54%, rgba(18, 103, 216, 0.16) 54.2%, transparent 54.8%),
    linear-gradient(120deg, transparent 0%, transparent 66%, rgba(16, 169, 154, 0.18) 66.2%, transparent 66.8%),
    radial-gradient(circle at 78% 36%, rgba(37, 183, 240, 0.2), transparent 24%);
  pointer-events: none;
}

.banner.home {
  min-height: auto;
}

.banner > .container {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(var(--max), 100%);
  max-width: var(--max);
  padding-inline: var(--page-pad);
  grid-template-columns: 1fr;
  grid-template-areas:
    "media"
    "copy";
  gap: 0;
}

.banner-copy {
  position: relative;
  grid-area: copy;
  width: min(1280px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 34px 0 66px;
  text-align: center;
}

.banner-media {
  position: relative;
  grid-area: media;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eaf5ff;
  box-shadow: none;
}

.banner-media img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.banner-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  pointer-events: none;
}

.media-badge {
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #b9daf8;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(16, 169, 154, 0.14);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.banner h1 {
  margin: 18px auto 18px;
  max-width: 1080px;
  color: var(--navy);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.banner p {
  margin: 0 auto;
  max-width: 980px;
  color: #334963;
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--primary-dark);
  background: #fff;
  font-weight: 850;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(14, 51, 89, 0.12);
}

.btn.primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--teal));
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.8);
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(
    calc(var(--max) - var(--page-pad) - var(--page-pad)),
    calc(100% - var(--page-pad) - var(--page-pad))
  );
  margin: -48px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
}

.hero-stats strong {
  display: block;
  color: var(--primary-dark);
  font-size: 24px;
  line-height: 1.1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section {
  padding: 78px 0;
}

.section.compact {
  padding: 52px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(217, 231, 245, 0.75);
  border-bottom: 1px solid rgba(217, 231, 245, 0.75);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading.center {
  display: block;
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading h2,
.panel h2,
.story h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading p,
.panel p,
.story p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
  font-size: 16px;
}

.section-heading h2 + p {
  margin-top: 14px;
}

.cards {
  display: grid;
  gap: 18px;
}

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

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

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

.cards.five {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(14, 51, 89, 0.08);
}

.card:hover {
  border-color: #bad7f5;
  box-shadow: var(--shadow);
}

.card .num,
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  font-size: 14px;
  font-weight: 900;
}

.card h3,
.step h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.3;
}

.card p,
.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #c8e0f7;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #f5fbff;
  font-size: 14px;
  font-weight: 750;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
}

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

.panel {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(14, 51, 89, 0.08);
}

.panel h2 {
  margin-bottom: 16px;
}

.panel .btn {
  margin-top: 22px;
}

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

.check-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #34465a;
  line-height: 1.62;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(16, 169, 154, 0.12);
}

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

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

.story {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(18, 103, 216, 0.08), rgba(16, 169, 154, 0.06)),
    #fff;
}

.story p + p {
  margin-top: 14px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.timeline-item strong {
  color: var(--primary-dark);
  font-size: 20px;
}

.timeline-item h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 18px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 14px;
}

.contact-row {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.contact-row > span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.contact-row a,
.contact-row strong {
  display: inline-block;
  margin-top: 6px;
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 850;
}

.contact-note {
  display: block;
  margin-top: 6px;
  color: #7b8da1;
  font-size: 13px;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: #34465a;
  font-weight: 750;
}

.form-grid input,
.form-grid textarea,
.admin-form textarea,
.admin-output {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.form-grid textarea,
.admin-form textarea,
.admin-output {
  min-height: 128px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid textarea:focus,
.admin-form textarea:focus,
.admin-output:focus {
  border-color: #8fc4f6;
  box-shadow: 0 0 0 4px rgba(18, 103, 216, 0.1);
}

.admin-form {
  display: grid;
  gap: 18px;
}

.admin-form textarea {
  min-height: 190px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.6;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.notice {
  padding: 16px 18px;
  border: 1px solid #b9daf8;
  border-radius: var(--radius);
  color: #21496d;
  background: #eef8ff;
  line-height: 1.7;
}

.cta-band {
  padding: 42px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(9, 36, 71, 0.98), rgba(18, 103, 216, 0.92)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 42px 42px;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
}

.cta-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.cta-band .btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.28fr repeat(3, 1fr);
  gap: 28px;
}

.footer p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.footer h4 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 15px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

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

.copyright {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1020px) {
  .nav-links {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-cta {
    margin-left: 0;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .section-heading,
  .split,
  .split.equal,
  .contact-layout,
  .banner > .container,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .banner-media {
    height: auto;
  }

  .banner-media img {
    min-height: 0;
  }

  .cards.three,
  .cards.four,
  .cards.two {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .container {
    width: min(var(--max), 100%);
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

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

  .brand small {
    display: none;
  }

  .banner,
  .banner.home {
    min-height: auto;
  }

  .banner > .container {
    padding-inline: 14px;
    row-gap: 1px;
  }

  .banner-copy {
    width: 100%;
    padding: 28px 0 48px;
  }

  .banner-media {
    width: 100%;
    border-radius: 0;
  }

  .banner h1 {
    font-size: 32px;
  }

  .banner p {
    font-size: 16px;
  }

  .hero-actions,
  .actions,
  .admin-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-stats,
  .cards.three,
  .cards.four,
  .cards.two,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    margin-top: -24px;
    width: calc(100% - 28px);
  }

  .section {
    padding: 56px 0;
  }

  .panel,
  .story,
  .cta-band {
    padding: 24px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}
