:root {
  color-scheme: light;
  --ink: #152238;
  --muted: #5f6b7a;
  --line: #d9e0e8;
  --paper: #f6f8fb;
  --white: #ffffff;
  --navy: #433361;
  --blue: #6c5ae0;
  --blue-dark: #5439b6;
  --cyan: #947eea;
  --yellow: #e6dcfa;
  --todo: #ede7fa;
  --success: #6548c5;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(16, 43, 78, 0.11);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(35, 103, 209, 0.35);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-shell,
.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border: 8px solid var(--navy);
  border-right-color: var(--cyan);
  border-radius: 50% 50% 12% 50%;
  transform: rotate(-18deg);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.55rem 0.62rem;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: 8px;
}

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

.nav-links .nav-cta {
  margin-left: 0.35rem;
  color: var(--white);
  background: var(--navy);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta[aria-current="page"] {
  color: var(--white);
  background: var(--blue-dark);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6.5rem);
  background:
    radial-gradient(circle at 82% 20%, rgba(58, 183, 198, 0.16), transparent 26rem),
    linear-gradient(145deg, #f8fbff 0%, #eef5ff 68%, #f8fafc 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--blue-dark);
  font-size: 0.875rem;
  font-weight: 760;
  letter-spacing: 0.06em;
}

.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 3px;
  background: var(--cyan);
  border-radius: 99px;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 16ch;
  margin-bottom: 1.3rem;
  font-size: clamp(2.25rem, 8vw, 4.8rem);
  font-weight: 820;
}

.subpage h1 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 4.2vw, 2.8rem);
  font-weight: 790;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
  font-weight: 760;
}

.lede {
  max-width: 680px;
  margin: 0 0 1.75rem;
  color: #445066;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.1rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #aebed1;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 740;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  color: var(--blue-dark);
  border-color: var(--blue);
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 12px 26px rgba(35, 103, 209, 0.22);
}

.button.primary:hover {
  color: var(--white);
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.hero-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.visual-panel {
  position: relative;
  min-height: 320px;
  padding: 1.25rem;
  background: var(--navy);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-panel::before,
.visual-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.visual-panel::before {
  width: 220px;
  height: 220px;
  top: -70px;
  right: -50px;
  background: rgba(58, 183, 198, 0.32);
}

.visual-panel::after {
  width: 100px;
  height: 100px;
  bottom: -35px;
  left: 28%;
  border: 22px solid rgba(255, 214, 107, 0.72);
}

.visual-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  min-height: 275px;
}

.visual-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
}

.visual-card:first-child {
  grid-row: span 2;
}

.visual-card strong {
  display: block;
  font-size: 1.05rem;
}

.visual-card span {
  color: #c6d9ed;
  font-size: 0.85rem;
}

.metrics {
  position: relative;
  z-index: 3;
  margin-top: -2rem;
}

.metric-grid {
  display: grid;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.metric {
  padding: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  display: block;
  color: var(--navy);
  font-size: 1.12rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.875rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section.muted {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.section.dark {
  color: #e3ddf3;
  background: var(--navy);
}

.section.dark h2,
.section.dark h3 {
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

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

.section.dark .section-head p,
.section.dark .muted-text {
  color: #b9cade;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card.accent {
  border-top: 5px solid var(--cyan);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card-link {
  display: inline-block;
  margin-top: 0.55rem;
  font-weight: 730;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--navy);
  background: #f0eafb;
  border-radius: 12px;
  font-weight: 820;
}

.check-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.8rem;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.86rem;
  color: var(--success);
  font-weight: 900;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.35rem;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 2px;
}

.check-list li:last-child,
.plain-list li:last-child {
  border-bottom: 0;
}

.step-grid {
  display: grid;
  gap: 1rem;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 1.4rem 1.4rem 1.4rem 4.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: steps;
}

.step::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 820;
}

.data-band {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background: #f3eefb;
  border: 1px solid #bfd6f4;
  border-radius: 22px;
}

.data-band .number {
  color: var(--blue-dark);
  font-size: clamp(1.7rem, 5vw, 2.7rem);
  font-weight: 840;
  line-height: 1.1;
}

.todo {
  display: inline-block;
  padding: 0.06rem 0.3rem;
  color: #5b4700;
  background: var(--todo);
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

form.todo {
  display: block;
  padding: 0;
  color: inherit;
  background: transparent;
  border-radius: 0;
}

.faq-list {
  max-width: 860px;
}

.faq-item {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

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

.faq-item h3 {
  margin-bottom: 0.4rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  padding: clamp(2rem, 6vw, 4rem);
  color: #e3ddf3;
  background: var(--navy);
  border-radius: 24px;
}

.cta-band h2 {
  max-width: 18ch;
  color: var(--white);
}

.cta-band p {
  max-width: 680px;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
}

.inline-links a {
  color: inherit;
  font-weight: 720;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.95rem;
}

caption {
  padding: 1rem;
  font-weight: 760;
  text-align: left;
}

th,
td {
  min-width: 130px;
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--navy);
  background: #f3eefb;
  font-weight: 760;
}

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

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow);
}

.price {
  margin: 0.4rem 0 1rem;
  color: var(--navy);
  font-size: 1.65rem;
  font-weight: 840;
}

.tag {
  align-self: flex-start;
  padding: 0.22rem 0.55rem;
  color: var(--blue-dark);
  background: #f3eefb;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 780;
}

.form-layout {
  display: grid;
  gap: 2rem;
}

.form-card {
  padding: clamp(1.3rem, 4vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  gap: 1rem;
}

label,
legend {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 720;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #aeb9c8;
  border-radius: 9px;
  font: inherit;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 52%,
    calc(100% - 12px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

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

.form-help {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.qr-placeholder,
.portrait-placeholder,
.credential-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 1.5rem;
  color: var(--navy);
  background:
    linear-gradient(45deg, #f3eefb 25%, transparent 25%) 0 0 / 24px 24px,
    linear-gradient(-45deg, #f3eefb 25%, transparent 25%) 0 0 / 24px 24px,
    #f8fbff;
  border: 2px dashed #9fb7d4;
  border-radius: 18px;
  text-align: center;
  font-weight: 760;
}

.qr-placeholder::before {
  content: "";
  width: 120px;
  height: 120px;
  margin-bottom: 0.8rem;
  background:
    linear-gradient(90deg, var(--navy) 14px, transparent 14px) 0 0 / 28px 28px,
    linear-gradient(var(--navy) 14px, transparent 14px) 0 0 / 28px 28px;
  border: 8px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}

.portrait-placeholder {
  min-height: 320px;
  background:
    radial-gradient(circle at 50% 34%, #b8c8dc 0 46px, transparent 47px),
    radial-gradient(ellipse at 50% 87%, #7f98b6 0 95px, transparent 96px),
    #e8eef6;
}

.portrait-placeholder span {
  align-self: end;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
}

.split {
  display: grid;
  align-items: center;
  gap: 2rem;
}

.callout {
  padding: 1.2rem 1.3rem;
  background: #f4f0fb;
  border-left: 5px solid var(--yellow);
  border-radius: 0 12px 12px 0;
}

.callout p {
  margin: 0;
}

.site-footer {
  padding: 3.5rem 0 2rem;
  color: #b9cade;
  background: #433361;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer p {
  margin: 0.55rem 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.site-footer a {
  color: #e3ddf3;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

@media (min-width: 700px) {
  .hero-grid,
  .split,
  .form-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .metric-grid,
  .card-grid.three,
  .step-grid.four {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid.two,
  .field-grid,
  .data-band,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

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

@media (min-width: 960px) {
  .card-grid.four,
  .step-grid.four {
    grid-template-columns: repeat(4, 1fr);
  }

  .step-grid.four .step {
    padding: 4.8rem 1.3rem 1.3rem;
  }

  .step-grid.four .step::before {
    left: 1.3rem;
  }
}

@media (max-width: 960px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 0.8rem;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
  }
}

@media (max-width: 520px) {
  .nav-shell,
  .container {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border-width: 7px;
  }

  .visual-panel {
    min-height: 270px;
  }

  .visual-grid {
    min-height: 225px;
  }

  .button {
    width: 100%;
  }
}

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

@media print {
  .site-header,
  .button,
  .skip-link {
    display: none;
  }

  body {
    color: #000;
  }

  .section,
  .hero {
    padding: 1.5rem 0;
  }
}

.review-note{padding:.55rem 1rem;background:#f4f0fb;text-align:center;font-size:.875rem}.hero h1{max-width:19ch;font-size:clamp(2.2rem,5vw,4rem)}.hero{padding:4rem 0}.section{padding:3.5rem 0}.nav-links a{font-size:1rem}.tag{font-size:.875rem}.section-head{max-width:850px}.case-meta{color:#5f6b7a;font-size:.9rem}.button-row{display:flex;flex-wrap:wrap;gap:.75rem}button{font:inherit}.request-output{white-space:pre-wrap;padding:1rem;background:#f7f4fc;border-radius:12px}.form-grid{display:grid;gap:1rem}.form-grid label{font-size:1rem}h1{overflow-wrap:anywhere}@media(max-width:520px){.hero{padding:2.5rem 0}.nav-links{flex-wrap:wrap;overflow:visible}.hero h1{font-size:2.25rem}}

[hidden]{display:none!important}
:root{--ink:#28233b;--muted:#686176;--line:#e5dff1;--paper:#f7f4fc;--navy:#433361;--blue:#6c5ae0;--blue-dark:#5439b6;--cyan:#947eea;--yellow:#e6dcfa;--shadow:0 16px 44px rgba(76,49,135,.09)}
.brand-logo{display:block;width:40px;height:40px;object-fit:contain;flex-shrink:0}
.review-note{background:#f4f0fb;color:#6a5e7c;border-bottom:1px solid #e5dff1}
.hero{background:linear-gradient(130deg,#fff 0%,#f5f0fd 100%)}
.eyebrow,.nav-links a:hover,.nav-links a[aria-current="page"]{color:#6548c5}
.nav-links a{color:#50475f}.nav-links a:hover,.nav-links a[aria-current="page"]{background:#f0eafb}
.nav-links .nav-cta,.nav-links .nav-cta:hover{color:#fff;background:#6c5ae0}
.lede{color:#686176}.button{color:#5a409f;border-color:#d8cceb;background:#fff}
.button.primary,.button.primary:hover{background:#6c5ae0;border-color:#6c5ae0;color:#fff;box-shadow:0 8px 22px rgba(113,86,223,.16)}
.visual-panel{background:#ede7fa;box-shadow:0 18px 45px rgba(84,57,182,.09);border:1px solid #ded3f4}
.visual-panel::before,.visual-panel::after{display:none}
.visual-card{background:rgba(255,255,255,.87);border:1px solid #ddd2f2;color:#433361}
.visual-card strong{color:#5439b6}.visual-card span{color:#736581}
.icon-box,.data-band,.tag{background:#f0eafb;color:#6548c5;border-color:#ded3f4}
.site-footer{background:#f2edf9;color:#655873;border-top:1px solid #e5dff1}
.site-footer a,.site-footer .brand{color:#5439b6}.footer-bottom{border-color:#e0d5ee}
.section.dark,.cta-band{background:#6c5ae0;color:#f5efff}.section.dark h2,.section.dark h3,.cta-band h2{color:#fff}
.card,.form-card{box-shadow:0 6px 24px rgba(76,49,135,.035)}
.callout{background:#f3eefb;border-color:#b49ae8;color:#655873}
.request-output{background:#f4effb;color:#433361}
input,select,textarea{border-color:#d7cce7}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bba5ee}
