/* 官网样式（纯静态，直接修改即可）。由原 typography.css + globals.css + site-theme.css 合并 */
[hidden] { display: none !important; }
/* Shared typography only. Page layout belongs to each application's styles. */
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3VF-Upright.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --site-font:
    "Source Sans 3", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  /* D-119：标题不再用 Georgia 衬线，中英文都用无衬线粗体 */
  --site-display-font: var(--site-font);
  --display-tracking: -0.025em;
  --display-leading: 1.15;
  --hero-leading: 1.1;
  --weight-regular: 400;
  --weight-label: 500;
  --weight-emphasis: 600;
  --weight-heading: 700;
  --text-caption: 0.75rem;
  --text-help: 0.8125rem;
  --text-label: 0.875rem;
  --text-body: 1rem;
  --type-page-size: 1.5rem;
  --type-page-leading: 2rem;
  --type-section-size: 1.25rem;
  --type-section-leading: 1.75rem;
  --type-card-size: 1rem;
  --type-card-leading: 1.5rem;
  --type-auth-size: 2rem;
  --type-action-size: 0.875rem;
  --type-action-leading: 1.25rem;
  --type-input-size: 1rem;
  --type-input-leading: 1.5rem;
  --type-ink: #172b46;
  --type-secondary: #475569;
  --type-muted: #64748b;
}

:root:lang(zh),
[lang|="zh"] {
  --site-display-font: var(--site-font);
  --display-tracking: 0;
  --display-leading: 1.35;
  --hero-leading: 1.3;
}

@media (max-width: 700px) {
  :root {
    --type-page-size: 1.375rem;
    --type-page-leading: 1.875rem;
    --type-section-size: 1.125rem;
    --type-section-leading: 1.625rem;
    --type-auth-size: 1.5rem;
    --type-action-size: 0.9375rem;
    --type-action-leading: 1.375rem;
  }
}

:root {
  --navy-900: #071e34;
  --navy-800: #0b2e4f;
  --navy-700: #153f65;
  --blue-700: #1a4480;
  --blue-600: #005ea8;
  --blue-500: #0071bc;
  --blue-100: #d9eaf7;
  --blue-050: #eef7fd;
  --red-600: #c72c25;
  --red-500: #d83933;
  --red-100: #f8e3e2;
  --ink: #1b1b1b;
  --muted: #565c65;
  --line: #c9c9c9;
  --line-light: #e3e3de;
  --white: #ffffff;
  --off-white: #f6f6f3;
  --gold: #fdb81e;
  --shadow-sm: 0 1px 2px rgba(7, 30, 52, 0.05), 0 4px 12px -4px rgba(7, 30, 52, 0.08);
  --shadow-md: 0 14px 36px rgba(7, 30, 52, 0.12);
  --shadow-lg: 0 24px 64px rgba(7, 30, 52, 0.18);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);

  font-family: var(--site-font);

  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius-sm);
  font-weight: var(--weight-heading);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line-light);
}

.trust-strip {
  color: rgba(255, 255, 255, 0.88);
  background: var(--navy-900);
  font-size: 0.75rem;
}

.trust-strip-inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.trust-strip-right {
  display: flex;
  align-items: center;
  gap: 26px;
}

.trust-strip-right a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: var(--weight-emphasis);
}

.header-main {
  background: var(--white);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue-600);
  border: 3px solid var(--blue-100);
  border-radius: 50% 50% 48% 48%;
  font-size: 0.8125rem;
  font-weight: var(--weight-heading);
  letter-spacing: var(--display-tracking);
  box-shadow: inset 0 0 0 2px var(--blue-600);
}

.brand-name {
  color: var(--navy-900);
  font-size: 1.375rem;
  font-weight: var(--weight-heading);
  letter-spacing: var(--display-tracking);
}

.brand-name span {
  color: var(--blue-600);
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(17px, 2vw, 30px);
}

.desktop-nav a {
  position: relative;
  color: #333;
  font-size: 0.875rem;
  font-weight: 680;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 3px;
  background: var(--blue-600);
  transition: right 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}

.language-switch {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  color: #71767a;
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
}

.language-switch button,
.mobile-language-switch button {
  padding: 2px 3px;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: var(--weight-emphasis);
}

.language-switch button.active,
.mobile-language-switch button.active {
  color: var(--blue-600);
  font-weight: var(--weight-heading);
}

.language-switch button:focus-visible,
.mobile-language-switch button:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: 3px;
}

.mobile-language-switch {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding: 5px;
  background: var(--blue-050);
  border-radius: var(--radius-sm);
}

.mobile-language-switch button {
  flex: 1;
  min-height: 36px;
  border-radius: 4px;
  font-size: 0.8125rem;
}

.mobile-language-switch button.active {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);

  font-size: var(--type-action-size);

  font-weight: var(--weight-emphasis);

  line-height: var(--type-action-leading);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.text-link:focus-visible,
.inline-arrow:focus-visible,
.desktop-nav a:focus-visible,
.mobile-nav a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* D-119：去掉按钮下方的硬投影，改为轻微立体感；悬停时颜色加深 */
.button-red {
  color: var(--white);
  background: var(--red-500);
  box-shadow: 0 1px 2px rgba(7, 30, 52, 0.16), 0 6px 14px -6px rgba(168, 38, 33, 0.55);
}

.button-red:hover {
  background: var(--red-600);
}

.button-blue {
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 1px 2px rgba(7, 30, 52, 0.16), 0 6px 14px -6px rgba(0, 94, 168, 0.5);
}

.button-blue:hover {
  background: var(--blue-700);
}

.button-large {
  min-height: 56px;
  padding-inline: 26px;
  font-size: 1rem;
}

.header-cta {
  min-height: 43px;
  padding: 9px 17px;
  font-size: 0.8125rem;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-800);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 56%;
  background: var(--blue-600);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.93;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to right, black, transparent 75%);
}

.hero-grid {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 76px;
  padding-block: 76px 70px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.review-pill {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 7px 12px;
  color: var(--navy-900);
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.75rem;
}

.review-pill span:last-child {
  color: var(--navy-900);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: #eaa300;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-family: var(--site-display-font);
  font-size: clamp(2.5rem, 4.4vw, 3.75rem);

  line-height: var(--hero-leading);
  letter-spacing: var(--display-tracking);
}

.hero h1 span {
  color: #a9d8f4;
}

.hero-lead {
  max-width: 610px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1875rem;
  line-height: 1.63;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.text-link,
.inline-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  font-weight: var(--weight-emphasis);
}

.text-link {
  color: var(--white);
}

.text-link svg,
.inline-arrow svg,
.card-link svg {
  transition: transform 160ms ease;
}

.text-link:hover svg,
.inline-arrow:hover svg,
.service-card:hover .card-link svg {
  transform: translateX(4px);
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
  font-weight: 620;
}

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

.hero-checks svg {
  color: #83c4ea;
}

.hero-visual {
  position: relative;
  z-index: 2;
  height: 540px;
}

.hero-card {
  position: absolute;
  inset: 0 14px 0 32px;
  overflow: hidden;
  background: #edf2f5;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-card-top {
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--navy-900);
  background: var(--white);
  border-bottom: 1px solid var(--line-light);
  font-size: 0.75rem;
  font-weight: var(--weight-emphasis);
}

.hero-card-top span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-card-top svg {
  color: var(--blue-600);
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1a7f45;
}

.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #2e9f5b;
  border-radius: 50%;
}

.hero-document {
  position: absolute;
  width: 80%;
  height: auto;
  left: 11%;
  top: 78px;
  filter: drop-shadow(0 16px 22px rgba(7, 30, 52, 0.18));
  transform: rotate(-3deg);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.floating-card svg {
  color: var(--blue-600);
}

.floating-card span {
  display: grid;
}

.floating-card strong {
  font-size: 0.75rem;
  line-height: 1.25;
}

.floating-card small {
  color: var(--muted);
  font-size: 0.625rem;
}

.floating-card-time {
  right: -16px;
  top: 94px;
}

.floating-card-cert {
  left: -6px;
  bottom: 70px;
}

.trust-bar {
  color: var(--white);
  background: var(--blue-700);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-grid {
  min-height: 118px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 23px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

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

.trust-item > svg {
  width: 29px;
  height: 29px;
  color: #9cd5f5;
}

.trust-item span {
  display: grid;
}

.trust-item strong {
  font-size: 1rem;
  line-height: 1.2;
}

.trust-item small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

.section {
  padding-block: 104px;
}

.section-heading {
  max-width: 650px;
}

.section-heading.centered {
  margin: 0 auto;
  text-align: center;
}




.section-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--navy-900);
  font-family: var(--site-display-font);
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);

  line-height: var(--display-leading);
  letter-spacing: var(--display-tracking);
}

.section-heading > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 80px;
}

.why-image-wrap {
  position: relative;
}


.why-image {
  position: relative;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.experience-card {
  position: absolute;
  right: -24px;
  bottom: 28px;
  min-width: 210px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 18px;
  background: var(--white);
  border-left: 5px solid var(--red-500);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.experience-card span:last-child {
  display: grid;
}

.experience-card strong {
  color: var(--navy-900);

  font-family: var(--site-font);
  font-size: 1.5625rem;
  line-height: 1.15;
}

.experience-card small {
  color: var(--muted);
  font-size: 0.75rem;
}

.experience-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue-600);
  border-radius: 50%;
}

.benefit-list {
  display: grid;
  gap: 23px;
  margin-top: 35px;
}

.benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-sm);
}

.benefit-icon svg {
  width: 23px;
}

.benefit h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 1.0625rem;
  line-height: 1.4;
}

.benefit p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.inline-arrow {
  margin-top: 32px;
  color: var(--blue-600);
  font-size: 0.875rem;
}

.pricing-section {
  background: var(--blue-050);
  border-block: 1px solid #d7e7f1;
}

.pricing-grid {
  max-width: 930px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 60px auto 0;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

.popular-label {
  position: absolute;
  left: 50%;
  top: 0;
  padding: 6px 17px;
  color: var(--white);
  background: var(--navy-800);
  border-radius: 0 0 7px 7px;
  font-size: 0.6875rem;
  font-weight: var(--weight-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.price-card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  margin-top: 9px;
}

.price-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: var(--blue-050);
  border-radius: var(--radius-sm);
}

.price-card h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 1.1875rem;
  line-height: 1.35;
}

.price-card-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.price {
  display: grid;
  margin-top: 26px;
  padding-block: 23px;
  border-block: 1px solid var(--line-light);
}

.price span {
  color: var(--navy-900);

  font-family: var(--site-font);
  font-size: 2.625rem;
  font-weight: var(--weight-heading);

  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.price small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.75rem;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #3d4551;
  font-size: 0.875rem;
}

.price-card li svg {
  width: 18px;
  flex: 0 0 18px;
  margin-top: 3px;
  color: var(--blue-600);
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 0.75rem;
}

.secure-note svg {
  color: var(--blue-600);
}

.process-section {
  background: var(--white);
}

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

.step {
  position: relative;
}

.step-number {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue-600);
  border: 7px solid var(--blue-100);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: var(--weight-heading);
}

.step-line {
  position: absolute;
  left: 52px;
  top: 25px;
  width: calc(100% + 24px - 52px);
  height: 2px;
  background: var(--blue-100);
}

.step h3 {
  margin: 22px 0 8px;
  color: var(--navy-900);
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.process-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 52px;
}

.process-cta > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.process-cta > span svg,
.process-cta > span a {
  color: var(--blue-600);
}

.process-cta > span a {
  font-weight: var(--weight-emphasis);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services-section {
  background: var(--off-white);
  border-block: 1px solid var(--line-light);
}

.heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 54px;
}

.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 29px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 51px;
  height: 51px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: var(--blue-050);
  border-radius: 50%;
}

.service-card h3 {
  margin: 23px 0 10px;
  color: var(--navy-900);
  font-size: 1.125rem;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--blue-600);
  font-size: 0.8125rem;
  font-weight: var(--weight-emphasis);
}

.testimonials-section {
  background: var(--navy-900);
  color: var(--white);
}

.testimonials-section .section-heading h2 {
  color: var(--white);
}

.testimonials-section .section-heading > p {
  color: rgba(255, 255, 255, 0.67);
}

.testimonials-section .eyebrow {
  color: #9bd5f5;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 55px;
}

.testimonial {
  position: relative;
  margin: 0;
  padding: 32px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.quote-icon {
  position: absolute;
  right: 23px;
  top: 23px;
  width: 31px;
  height: 31px;
  color: var(--blue-100);
  fill: var(--blue-100);
}

.testimonial blockquote {
  min-height: 106px;
  margin: 19px 0 25px;
  color: #2d3440;
  font-family: var(--site-display-font);
  font-size: 1.0625rem;
  line-height: 1.63;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 19px;
  border-top: 1px solid var(--line-light);
}

.avatar {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue-600);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: var(--weight-heading);
}

.testimonial figcaption span:nth-child(2) {
  display: grid;
  line-height: 1.25;
}

.testimonial figcaption strong {
  color: var(--navy-900);
  font-size: 0.8125rem;
}

.testimonial figcaption small {
  color: var(--muted);
  font-size: 0.6875rem;
}

.verified {
  width: 18px;
  margin-left: auto;
  color: var(--blue-600);
}

.review-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 35px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.8125rem;
}

.review-summary strong {
  color: var(--white);
}

.faq-section {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
}

.faq-intro {
  position: sticky;
  top: 142px;
  align-self: start;
}

.faq-help {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-top: 34px;
  padding: 20px;
  background: var(--blue-050);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius-sm);
}

.faq-help-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: var(--white);
  border-radius: 50%;
}

.faq-help-icon svg {
  width: 20px;
}

.faq-help strong {
  color: var(--navy-900);
  font-size: 0.875rem;
}

.faq-help p {
  margin: 2px 0 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

.faq-help a {
  color: var(--blue-600);
  font-size: 0.8125rem;
  font-weight: var(--weight-heading);
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 81px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--navy-900);
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: var(--weight-emphasis);
  list-style: none;
}

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

.faq-list summary svg {
  width: 20px;
  flex: 0 0 20px;
  color: var(--blue-600);
  transition: transform 180ms ease;
}

.faq-list details[open] summary svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 50px 24px 0;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.75;
}

.final-cta {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-800);
}

.cta-pattern {
  position: absolute;
  width: 560px;
  height: 560px;
  right: -170px;
  top: -240px;
  border: 90px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
}

.final-cta-inner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  padding-block: 65px;
}

.final-cta-inner > div:first-child {
  max-width: 690px;
}

.final-cta h2 {
  max-width: 670px;
  color: var(--white);
  font-size: clamp(2.375rem, 4vw, 3.25rem);
}

.final-cta p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.0625rem;
}

.final-cta-actions {
  display: grid;
  justify-items: stretch;
  gap: 20px;
  flex: none;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.875rem;
  font-weight: var(--weight-emphasis);
}

.footer {
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.1fr repeat(3, 1fr);
  gap: 62px;
  padding-block: 70px 55px;
}

.brand-light .brand-name,
.brand-light .brand-name span {
  color: var(--white);
}

.footer-brand > p {
  max-width: 380px;
  margin: 22px 0 0;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.75rem;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: #8bc8ec;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer h3 {
  margin: 7px 0 10px;
  color: var(--white);
  font-size: 0.875rem;
}

.footer-grid > div:not(:first-child) a {
  width: fit-content;
  font-size: 0.75rem;
}

.footer a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal {
  padding-block: 28px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.legal > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.6875rem;
  line-height: 1.7;
}

.legal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 23px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.6875rem;
}

.legal-bottom span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legal-bottom .footer-filings {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 16px;
}

.footer-filing-link {
  color: inherit;
  text-underline-offset: 3px;
}

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

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

  .menu-toggle {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--navy-900);
    background: var(--blue-050);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-sm);
    cursor: pointer;
  }

  .menu-toggle svg {
    width: 22px;
  }

  .mobile-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: block;
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid var(--line-light);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 240ms ease,
      opacity 180ms ease,
      visibility 180ms ease;
  }

  .mobile-nav.is-open {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav .container {
    display: grid;
    padding-block: 12px 22px;
  }

  .mobile-nav a:not(.button) {
    padding: 11px 2px;
    color: var(--navy-900);
    border-bottom: 1px solid var(--line-light);
    font-size: 0.875rem;
    font-weight: var(--weight-heading);
  }

  .mobile-nav .button {
    margin-top: 18px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(2.8125rem, 6vw, 3.75rem);
  }

  .hero-visual {
    height: 490px;
  }

  .why-grid {
    gap: 54px;
  }

  .why-image {
    height: 470px;
  }

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

  .service-card {
    min-height: 265px;
  }

  .faq-grid {
    gap: 55px;
  }
}

@media (max-width: 820px) {
  .trust-strip-inner > span:first-child,
  .trust-strip-right > span:first-child {
    display: none;
  }

  .trust-strip-inner {
    justify-content: flex-end;
  }

  .hero::before {
    inset: auto 0 0;
    height: 48%;
    clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 62px;
  }

  .hero-copy {
    max-width: 690px;
  }

  .hero-visual {
    width: min(580px, 100%);
    height: 530px;
    margin: 0 auto;
  }

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

  .trust-item {
    justify-content: flex-start;
  }

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

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .section {
    padding-block: 82px;
  }

  .why-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .why-image-wrap {
    width: calc(100% - 16px);
  }

  .why-image {
    height: 440px;
  }

  .faq-intro {
    position: static;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 620px;
    margin-inline: auto;
  }

  .step {
    min-height: 130px;
    padding-left: 78px;
  }

  .step-number {
    position: absolute;
    left: 0;
    top: 0;
  }

  .step-line {
    left: 25px;
    top: 52px;
    width: 2px;
    height: calc(100% - 6px);
  }

  .step h3 {
    margin-top: 0;
    padding-top: 4px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
    margin-top: 50px;
  }

  .testimonial blockquote {
    min-height: unset;
  }

  .final-cta-inner {
    display: grid;
  }

  .final-cta-actions {
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  html {
    scroll-padding-top: 82px;
  }

  .trust-strip {
    display: none;
  }

  .header-inner {
    height: 68px;
    gap: 10px;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
    font-size: 0.6875rem;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 52px 54px;
  }

  .review-pill {
    margin-bottom: 20px;
  }


  .hero h1 {
    font-size: clamp(2.5625rem, 13vw, 3.375rem);
  }

  .hero-lead {
    font-size: 1.0625rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .hero-actions .text-link {
    justify-content: center;
  }

  .hero-checks {
    display: grid;
  }

  .hero-visual {
    height: 430px;
    margin-top: 5px;
  }

  .hero-card {
    inset: 0 2px;
  }

  .hero-document {
    width: 88%;
    left: 7%;
  }

  .floating-card-time {
    right: -4px;
    top: 92px;
  }

  .floating-card-cert {
    left: -5px;
    bottom: 43px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    padding-block: 10px;
  }

  .trust-item {
    padding: 18px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .trust-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

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

  .section {
    padding-block: 67px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: 2.25rem;
  }

  .section-heading > p {
    font-size: 1rem;
  }

  .why-grid {
    gap: 55px;
  }

  .why-image-wrap {
    width: 100%;
  }

  .why-image {
    height: 330px;
  }

  .experience-card {
    right: 10px;
    bottom: -28px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 45px;
  }

  .price-card,
  .price-card.featured {
    padding: 34px 24px 28px;
  }

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

  .process-cta {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .process-cta > span {
    justify-content: center;
  }

  .heading-row {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .service-card {
    min-height: 250px;
  }

  .testimonial {
    padding: 27px 24px;
  }

  .review-summary {
    flex-wrap: wrap;
  }

  .review-summary span {
    width: 100%;
    text-align: center;
  }

  .faq-grid {
    gap: 47px;
  }

  .faq-list summary {
    min-height: 76px;
    font-size: 0.9375rem;
  }

  .faq-answer {
    padding-right: 12px;
  }

  .final-cta-inner {
    min-height: 450px;
    gap: 34px;
    padding-block: 58px;
  }

  .final-cta-actions,
  .final-cta-actions .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: 2;
  }

  .legal-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

html.lang-pending body {
  visibility: hidden;
}

/* ---------- 最新文章（数据来自业务系统 /api/public/blog） ---------- */
.articles-section { background: var(--off-white); }
.articles-grid { grid-template-columns: repeat(3, 1fr); }
.article-card { min-height: 0; }
.article-meta { display: flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--muted); font-size: var(--text-caption); font-weight: var(--weight-emphasis); text-transform: uppercase; letter-spacing: 0.04em; }
.article-card h3 { margin-top: 8px; }
.member-label { padding: 1px 7px; color: #7a4b00; background: #fdf0d5; border: 1px solid #f0d49b; border-radius: var(--radius-sm); text-transform: none; letter-spacing: 0; }
.articles-note { margin: 40px 0 0; color: var(--muted); }
.articles-note a { color: var(--blue-600); text-decoration: underline; }
.redirect-page { min-height: 50vh; padding-block: 80px; }
.redirect-page a { color: var(--blue-600); text-decoration: underline; }
@media (max-width: 1080px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .articles-grid { grid-template-columns: 1fr; } }

/* Shared koitin.com brand tokens. Keep functional layouts in portal.css. */
:root {
  background: #f6f6f3;
  --site-navy: #071e34;
  --site-blue: #005ea8;
  --site-hover: #1a4480;
  --site-line: #e3e3de;
  --site-background: #f6f6f3;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

body,
body.admin-body,
body.portal-body,
body.verify-body {
  font-family: var(--site-font);
}

body:is(.admin-body, .portal-body, .verify-body) {
  --canvas: var(--site-background);
  --surface: #fff;
  --surface-soft: #eef7fd;
  --ink: #1b1b1b;
  --muted: #565c65;
  --line: var(--site-line);
  --primary: var(--site-blue);
  --primary-dark: var(--site-hover);
  --primary-soft: #eef7fd;
  --red: #d83933;
  --shadow: 0 2px 8px rgb(7 30 52 / 6%);
  color: var(--ink);
  background: var(--canvas);
}

body:is(.admin-body, .portal-body, .verify-body)
  :is(button, input, select, textarea, h1, h2, h3, .eyebrow) {
  font-family: inherit;
}

body:is(.admin-body, .portal-body, .verify-body)
  :is(
    .panel,
    .auth-copy,
    .auth-panel,
    .work-panel,
    .summary-block,
    .info-cell,
    .generated-item,
    .identity-card,
    .review-card,
    .workflow-card,
    .form-section,
    .application-card,
    .admin-sidebar,
    .admin-overview-card
  ) {
  border-radius: 0;
  box-shadow: none;
}

body:is(.admin-body, .portal-body, .verify-body)
  :is(input, select, textarea, button, .button-link, .ghost-btn) {
  border-radius: 3px;
}

body:is(.admin-body, .portal-body, .verify-body)
  :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--site-blue);
  outline-offset: 2px;
}

body:is(.admin-body, .portal-body, .verify-body) :is(button, a):focus-visible {
  outline: 3px solid #fdb81e;
  outline-offset: 3px;
}

body:is(.admin-body, .portal-body, .verify-body) :is(.topbar, .verify-header) {
  background: #fff;
  border-bottom: 3px solid #d83933;
  box-shadow: none;
}

body:is(.admin-body, .portal-body) .topbar::after {
  display: none;
}

body:is(.admin-body, .portal-body) .auth-copy {
  color: #fff;
  background: #071e34;
  border: 0;
  border-top: 4px solid #005ea8;
}

body:is(.admin-body, .portal-body) .auth-copy :is(h2, p, strong, .eyebrow) {
  color: inherit;
}

body:is(.admin-body, .portal-body) .auth-copy .auth-route > div {
  border-color: #153f65;
  background: transparent;
}

body.admin-body .admin-sidebar {
  background: #071e34;
}

body.admin-body .admin-primary-navigation > button {
  border-radius: 0;
}

body.admin-body .admin-primary-navigation > button.active {
  background: #005ea8;
  color: #fff;
}

body.admin-body .topbar .notification-indicator {
  color: #005ea8;
  background: #eef7fd;
  border: 1px solid #d9eaf7;
}

body.admin-body .topbar .notification-indicator svg {
  stroke: currentColor;
  fill: none;
}

.site-home-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #071e34;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: var(--weight-heading);
  letter-spacing: -0.03em;
}

.site-home-link > span:last-child > span {
  color: #005ea8;
}

body .site-logo,
body.admin-body .sidebar-brand-mark,
body .portal-brand-mark,
body .admin-trust-logo {
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border: 3px solid #d9eaf7;
  border-radius: 50%;
  color: #fff;
  background: #005ea8;
  font-size: var(--text-help);
  line-height: 1;
  font-weight: var(--weight-heading);
  letter-spacing: -0.02em;
  transform: none;
}

body .portal-heading > div {
  padding-left: 18px;
  border-left: 1px solid #dfe1e2;
}

body .portal-heading h1 {
  font-size: var(--type-page-size);
  line-height: var(--type-page-leading);
}

body .verify-header {
  flex-wrap: wrap;
  gap: 16px;
}

body .verify-header > div {
  flex: 1 1 260px;
  min-width: 0;
}

/* Match the existing website without changing its unclassified body. */
body:is(.admin-body, .portal-body) .topbar {
  border-bottom-width: 4px;
}

body:is(.admin-body, .portal-body) .auth-layout {
  border-top: 4px solid #005ea8;
}

/* Match the website service-card accent's small curved end caps. */
body.admin-body #admin-login-view,
body.portal-body #auth-view {
  border-top-left-radius: var(--radius-sm);
  border-top-right-radius: var(--radius-sm);
}

body:is(.admin-body, .portal-body) .auth-copy {
  border-top: 0;
  background: #0b2e4f;
}

body:is(.admin-body, .portal-body) .auth-copy h2 {
  font-family: var(--site-font);
  font-weight: var(--weight-heading);
  line-height: 1.4;
  letter-spacing: 0;
}

body:is(.admin-body, .portal-body) .auth-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.63;
}

body:is(.admin-body, .portal-body) .site-home-link {
  font-size: 1.375rem;
  font-weight: var(--weight-heading);
  letter-spacing: -0.035em;
}

body:is(.admin-body, .portal-body) .site-logo,
body.admin-body .sidebar-brand-mark {
  border-radius: 50% 50% 48% 48%;
  box-shadow: inset 0 0 0 2px #005ea8;
}

@media (max-width: 980px) {
  body.portal-body .topbar {
    margin-inline: 0;
    padding-inline: 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  body .portal-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
  body .portal-heading > div {
    border-left: 0;
    padding-left: 0;
  }
  body .topbar .site-home-link {
    font-size: 1.125rem;
  }
  body .admin-toolbar-main {
    min-width: 0;
  }
}

/* Account and operations workspace */
body:is(.portal-body, .admin-body) {
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --site-line: #e1e7ed;
  --shadow: 0 8px 28px rgb(18 42 66 / 5%);
  background: #f3f6f9;
}

body:is(.portal-body, .admin-body) .topbar {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--site-line);
}

body:is(.portal-body, .admin-body) .panel {
  box-shadow: var(--shadow);
  border-radius: 16px;
}

body:is(.portal-body, .admin-body) :is(input, select, textarea) {
  border-radius: 8px;
  background-color: #fcfdfe;
}

body:is(.portal-body, .admin-body) :is(button, .button-link, .ghost-btn) {
  border-radius: 8px;
}

body:is(.portal-body, .admin-body)
  :is(button, a, input, select, summary):focus-visible {
  outline: 3px solid #66a9dc;
  outline-offset: 3px;
}

.admin-body .list-row:not(.active):hover {
  background: #f5f9fc;
}

.admin-body .info-cell {
  border-radius: 10px;
  padding: 18px;
}

.membership-panel {
  overflow: hidden;
  padding: 0;
  scroll-margin-top: 24px;
}

.membership-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 30px;
  color: #f3f7fc;
  background: linear-gradient(115deg, #0c273d, #194966);
}

.membership-card.is-member {
  background: linear-gradient(115deg, #102c3e, #264f56);
}

.membership-card .eyebrow {
  color: #c7dfed;
  font-size: var(--text-caption);
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  font-weight: var(--weight-label);
  line-height: 1.5;
}

.membership-card h2 {
  color: #fff;
  font-size: var(--type-section-size);
  line-height: var(--type-section-leading);
  margin: 0 0 12px;
  font-weight: var(--weight-emphasis);
}

.membership-card p:not(.eyebrow) {
  color: #d0e0ec;
  line-height: 1.8;
  max-width: 540px;
  margin: 0;
}

.membership-perks {
  display: flex;
  gap: 10px 18px;
  flex-wrap: wrap;
  font-size: var(--text-caption);
  color: #e8cf9d;
  margin-top: 22px;
}

.membership-perks span::before {
  content: "✓ ";
}

.membership-card-action {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 160px;
}

.membership-card-action > strong {
  font-size: 1.875rem;
  font-weight: var(--weight-emphasis);
}

.membership-card-action small {
  display: block;
  text-align: center;
  color: #d0e0ec;
  font-size: var(--text-caption);
  font-weight: var(--weight-regular);
}

.membership-card-action a {
  color: #f0d7aa;
  font-size: var(--text-label);
}

.membership-card-action .button-link {
  background: #ebd2a4;
  color: #173044;
  border-color: #ebd2a4;
  padding: 12px 20px;
  font-weight: var(--weight-heading);
}

.membership-seal {
  border: 1px solid #afbdac;
  color: #f0d7aa;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.9375rem;
}

.membership-badge {
  display: inline-block;
  font-size: var(--text-caption);
  padding: 3px 8px;
  border-radius: 20px;
  background: #edf1f5;
  color: #526274;
  line-height: 1.4;
}

.membership-badge.is-member {
  color: #6b4c15;
  background: #f5ecd7;
}

.member-library {
  padding: 20px 28px;
}

.member-library summary {
  cursor: pointer;
  color: #173a52;
  font-weight: var(--weight-emphasis);
}

.member-library summary span {
  margin-left: 8px;
  color: #617487;
  font-size: var(--text-caption);
  font-weight: var(--weight-regular);
}

.member-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

button.member-article-link {
  display: grid;
  gap: 12px;
  padding: 18px;
  text-align: left;
  color: #193b52;
  background: #f6f9fb;
  border: 1px solid #e0e8ef;
  white-space: normal;
}

button.member-article-link:hover {
  background: #eaf2f8;
  color: #193b52;
}

.member-article-link small {
  color: #66798a;
  font-size: var(--text-caption);
}

.member-article-link span {
  font-size: var(--text-caption);
  color: #31648a;
}

.member-reader {
  min-width: 0;
  scroll-margin-top: 24px;
}

.member-reader .cherry {
  box-shadow: none;
  border: 0;
}

.member-reader .cherry-previewer {
  position: relative;
  max-height: none;
  padding: 16px 0;
  line-height: 1.9;
}

.member-reader img {
  max-width: 100%;
}

.membership-settings {
  min-width: 0;
  padding: 24px;
  border: 1px solid #ccdae6;
  border-radius: 12px;
  background: #f6f9fc;
}

.membership-settings legend {
  padding: 0 10px;
  font-size: 1.125rem;
  font-weight: var(--weight-heading);
  color: #163b56;
}

.membership-settings p,
.membership-settings > small {
  color: #566b7d;
  line-height: 1.8;
}

@media (max-width: 700px) {
  .membership-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 24px;
  }
  .membership-card-action {
    justify-items: start;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
  }
  .membership-card-action small {
    text-align: left;
  }
  .member-library {
    padding: 18px 20px;
  }
  .member-article-grid {
    grid-template-columns: 1fr;
  }
  .membership-settings {
    padding: 16px;
  }
}

body:is(.portal-body, .admin-body) .account-actions .ghost-btn {
  color: #285772;
  background: #eef4f8;
  border-color: #d3e0e9;
}

body:is(.portal-body, .admin-body) .account-actions .ghost-btn:hover {
  color: #153e5a;
  background: #dceaf4;
}

body.portal-body .summary-block {
  border-radius: 14px;
}

.portal-body .status-steps:empty {
  display: none;
}

.member-reader {
  padding: 28px;
  scroll-margin-top: 110px;
  overflow-wrap: anywhere;
}

.member-reader .cherry-toolbar,
.member-reader .cherry-floatmenu,
.member-reader .cherry-bubble,
.member-reader .cherry-sidebar {
  display: none;
}

@media (max-width: 700px) {
  .member-reader {
    padding: 20px;
  }
}

@media (max-width: 700px) {
  .portal-body .account-only .workspace {
    order: -1;
  }
}

.member-reader .cherry,
.member-reader .cherry-previewer {
  height: auto;
  min-height: 0;
}

/* Settings use independent tab panels and forms. */
body:is(.admin-body, .portal-body) {
  min-width: 0;
}

body.portal-body .topbar {
  margin-inline: 0;
  padding-inline: 24px;
}

.admin-body #admin-settings-view,
.admin-body #admin-settings-view > *,
.admin-body #integration-panel {
  min-width: 0;
  max-width: 100%;
}

.admin-body #admin-settings-view [hidden],
.portal-body .captcha-field [hidden] {
  display: none !important;
}

.admin-body .settings-tabs {
  display: flex;
  gap: 6px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid #dce5ed;
  border-radius: 12px;
  background: #eaf0f5;
  scrollbar-width: thin;
}

.admin-body .settings-tabs [role="tab"] {
  flex: 1 0 auto;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #536a7e;
  padding: 11px 16px;
  font-size: var(--text-label);
  white-space: nowrap;
  box-shadow: none;
}

.admin-body .settings-tabs [aria-selected="true"] {
  background: #fff;
  border-color: #d9e3ec;
  color: #163e5c;
  box-shadow: 0 2px 5px rgb(18 42 66 / 6%);
}

.admin-body .settings-tabs [role="tab"]:hover {
  background: #f8fbfd;
  color: #163e5c;
}

.admin-body #admin-integration-settings-panel {
  padding: 0;
  overflow: clip;
}

.settings-config-form {
  gap: 0;
  display: grid;
}

.settings-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  padding: 28px 32px 22px;
  border-bottom: 1px solid #e4ebf1;
}

.settings-section-heading h2 {
  margin: 4px 0 8px;
  color: #183b55;
  font-size: var(--type-section-size);
  line-height: var(--type-section-leading);
}

.settings-section-heading p:not(.eyebrow) {
  margin: 0;
  color: #657a8c;
  font-size: var(--text-label);
  line-height: 1.7;
}

.settings-save-state {
  padding: 6px 10px;
  border-radius: 20px;
  background: #eef4f7;
  color: #526b7d;
  font-size: var(--text-caption);
  white-space: nowrap;
}

[data-dirty="true"] .settings-save-state {
  background: #fff3dc;
  color: #85621d;
}

.settings-fields {
  display: grid;
  gap: 24px;
  min-width: 0;
  border: 0;
  padding: 28px 32px;
  margin: 0;
}

.settings-fields .info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
  margin: 0;
}

.settings-fields :is(label, input, select, textarea, .key-diagnostic) {
  min-width: 0;
  max-width: 100%;
}

.settings-fields label {
  gap: 8px;
}

.settings-fields :is(p, small) {
  overflow-wrap: anywhere;
  line-height: 1.7;
}

.settings-fields textarea {
  min-height: 112px;
  resize: vertical;
}

.settings-group {
  display: grid;
  gap: 18px;
  min-width: 0;
  border: 1px solid #e2e9ef;
  border-radius: 12px;
  padding: 24px;
}

.settings-group h3,
.settings-group summary {
  margin: 0;
  color: #254960;
  font-size: var(--type-card-size);
  font-weight: var(--weight-emphasis);
  line-height: var(--type-card-leading);
}

.settings-group summary {
  cursor: pointer;
}

.settings-group[open] > :not(summary) {
  margin-top: 18px;
}

.settings-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 32px;
  border-top: 1px solid #e1e9ef;
  background: #f7fafc;
}

.settings-save-bar .message {
  margin: 0;
  overflow-wrap: anywhere;
}

.settings-save-bar button {
  flex-shrink: 0;
  min-width: 140px;
}

.admin-body #admin-settings-view .service-config-row,
.admin-body #admin-settings-view .service-order-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 22px;
  border: 1px solid #e0e8ef;
  border-radius: 12px;
  background: #fafcfe;
}

#admin-settings-view .service-config-row > strong,
#admin-settings-view .service-config-row > small,
#admin-settings-view .settings-row-message {
  grid-column: 1 / -1;
  margin: 0;
}

#admin-settings-view :is(.service-config-row, .service-order-row) label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #526b7d;
  font-size: var(--text-help);
}

#admin-settings-view :is(.service-config-row, .service-order-row) button {
  align-self: end;
}

#admin-settings-view .settings-subheading {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

#admin-settings-view .service-config-list {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.portal-body
  :is(
    .auth-panel,
    .auth-form,
    .captcha-field,
    .register-code-row,
    .auth-form label
  ) {
  min-width: 0;
  max-width: 100%;
}

.captcha-field {
  display: grid;
  gap: 8px;
}

.turnstile-slot[data-size="compact"] {
  min-height: 140px;
}

.captcha-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.captcha-status-row p {
  margin: 0;
  font-size: var(--text-caption);
  color: #617587;
  line-height: 1.6;
}

.captcha-status-row p:empty {
  display: none;
}

.portal-body .captcha-status-row button {
  min-height: 32px;
  padding: 4px 10px;
  font-size: var(--text-caption);
}

@media (max-width: 720px) {
  .settings-section-heading {
    flex-direction: column;
    padding: 22px 20px;
    gap: 12px;
  }
  .settings-fields {
    padding: 22px 20px;
    gap: 20px;
  }
  .settings-fields .info-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .settings-group {
    padding: 18px 14px;
  }
  .settings-save-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
    gap: 8px;
  }
  .admin-body #admin-settings-view .service-config-row,
  .admin-body #admin-settings-view .service-order-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }
  .admin-body .settings-tabs [role="tab"] {
    padding: 10px 12px;
  }
}

@media (max-width: 380px) {
  .portal-body .register-code-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .portal-body .register-code-row button {
    justify-self: stretch;
  }
}

/* Uploaded brand artwork keeps its natural proportions across all surfaces. */
[data-site-brand] {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  line-height: 1;
}
.brand-wordmark {
  font-size: 1.25rem;
  font-weight: var(--weight-emphasis);
  letter-spacing: -0.6px;
  color: inherit;
  white-space: nowrap;
}
body .configured-brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(180px, 100%);
  max-height: 42px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body .admin-toolbar-identity [data-site-brand] {
  max-width: 120px;
}
.branding-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.branding-upload-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #dde3ed;
  border-radius: 14px;
  background: #fff;
}
.branding-upload-card h4,
.branding-upload-card p {
  margin: 0;
}
.branding-upload-card input[type="file"] {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 10px;
  font-size: var(--type-input-size);
}
.branding-upload-card > button {
  align-self: flex-start;
  margin-top: auto;
}
.branding-preview {
  display: grid;
  place-items: center;
  height: 110px;
  overflow: hidden;
  padding: 16px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: repeating-conic-gradient(#f1f5f9 0% 25%, #fff 0% 50%) 0 0 / 16px
    16px;
}
.branding-preview img {
  max-width: 100%;
  max-height: 76px;
  object-fit: contain;
}
.branding-preview-icon img {
  max-width: 48px;
  max-height: 48px;
}
.branding-preview [hidden] {
  display: none;
}
.branding-preview span {
  padding: 4px 8px;
  color: #334155;
  background: #fff;
}
@media (max-width: 600px) {
  .branding-settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  body .configured-brand-logo {
    max-width: min(140px, 100%);
    max-height: 34px;
  }
  body .admin-toolbar-identity [data-site-brand] {
    max-width: 90px;
  }
  body .admin-toolbar-identity .brand-wordmark {
    font-size: var(--text-label);
  }
}

/* ==========================================================================
   D-119 柔和化（2026-10-11）：去掉政府网站式的硬朗感
   - 首屏为 IRS ITIN 分配通知（CP565）样式示意（虚构内容 + SAMPLE 水印）；“为什么选择我们”配图为电脑上的申请表界面
   - 去掉英文大写小标签与红色装饰线，红色只用于“开始申请”按钮
   - 其他服务改为两列横向条目，不再是四张一样的卡片
   ========================================================================== */
.hero::before { opacity: 0.88; }
/* 首屏示意文件：IRS ITIN 分配通知（CP565）样式，纯 HTML/CSS 绘制，内容虚构，带 SAMPLE 水印 */
.hero-notice {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  margin: 0 0 0 auto;
}
.notice-stack { position: relative; container-type: inline-size; }
.notice-sheet {
  position: relative;
  aspect-ratio: 8.5 / 11;
  padding: 7.5cqw 7.5cqw 6cqw;
  overflow: hidden;
  color: #1f2328;
  background: #fdfdfb;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(3, 14, 26, 0.2), 0 28px 60px -18px rgba(3, 14, 26, 0.65);
  transform: rotate(-2.5deg);
  font-family: var(--site-font);
  font-size: 2.6cqw;
  line-height: 1.45;
  text-align: left;
}
.notice-sheet-back {
  position: absolute;
  inset: 0;
  padding: 0;
  background: #e9ecef;
  transform: rotate(3deg) translate(3%, 1.5%);
  box-shadow: 0 20px 40px -20px rgba(3, 14, 26, 0.6);
}
.notice-watermark {
  position: absolute;
  left: 50%;
  top: 56%;
  color: rgba(0, 94, 168, 0.08);
  font-size: 19cqw;
  font-weight: 800;
  letter-spacing: 0.06em;
  transform: translate(-50%, -50%) rotate(-24deg);
  pointer-events: none;
}
.notice-head { display: flex; justify-content: space-between; gap: 4cqw; padding-bottom: 3cqw; border-bottom: 0.4cqw solid #1f2328; }
.notice-agency { display: grid; gap: 0.4cqw; }
.notice-agency strong { font-size: 3.1cqw; font-weight: 700; }
.notice-agency span { font-size: 2.6cqw; }
.notice-meta { margin: 0; display: grid; gap: 0.6cqw; font-size: 2.3cqw; }
.notice-meta div { display: grid; grid-template-columns: 13cqw auto; }
.notice-meta dt { color: #5b6168; }
.notice-meta dd { margin: 0; font-weight: 600; }
.notice-to { margin: 4.5cqw 0 0; font-size: 2.4cqw; letter-spacing: 0.02em; }
.notice-kicker { margin: 5cqw 0 0; color: #5b6168; font-size: 2.3cqw; }
.notice-title { margin: 1cqw 0 0; font-size: 4.3cqw; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.notice-cols { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4cqw; margin-top: 4cqw; }
.notice-body p { margin: 0 0 2.2cqw; }
.notice-table { width: 100%; border-collapse: collapse; font-size: 2.4cqw; align-self: start; }
.notice-table caption { padding-bottom: 1.4cqw; text-align: left; font-weight: 700; border-bottom: 0.3cqw solid #1f2328; }
.notice-table th, .notice-table td { padding: 1.5cqw 0; text-align: left; border-bottom: 0.15cqw solid #c9ccd0; vertical-align: top; }
.notice-table th { width: 42%; color: #5b6168; font-weight: 600; }
.notice-table .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.04em; }
.notice-lines { display: grid; gap: 1.8cqw; margin-top: 5cqw; }
.notice-lines i { display: block; height: 1cqw; border-radius: 1cqw; background: #e4e6e9; }
.notice-lines i:nth-child(2) { width: 92%; }
.notice-lines i:nth-child(3) { width: 84%; }
.notice-lines i:nth-child(4) { width: 58%; }
.hero-notice figcaption {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  text-align: right;
}
@media (max-width: 820px) {
  .hero-notice { max-width: 420px; margin: 20px auto 0; padding: 0 12px; }
  .hero-notice figcaption { text-align: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .notice-sheet:not(.notice-sheet-back) { transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1); }
  .hero-notice:hover .notice-sheet:not(.notice-sheet-back) { transform: rotate(-1deg) translateY(-4px); }
}

/* 电脑界面配图：简洁的浏览器外框 */
.browser-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.browser-bar {
  display: flex;
  gap: 6px;
  padding: 11px 14px;
  background: #efefea;
  border-bottom: 1px solid var(--line-light);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d3cc; }
.browser-frame .why-image {
  width: 100%;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 15% 0;
  border-radius: 0;
  box-shadow: none;
}

/* 其他服务：两列横向条目 */
.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.service-card {
  min-height: 0 !important;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 20px;
  padding: 24px 26px;
}
.service-card .service-icon { grid-row: 1 / span 3; width: 48px; height: 48px; border-radius: var(--radius-md); }
.service-card h3 { margin: 2px 0 6px; }
.service-card .card-link { padding-top: 12px; }
@media (max-width: 820px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* 小节标题：去掉小标签后，标题下方的说明与标题拉开一点 */
.section-heading p { margin-top: 14px; }
.process-section .section-heading.centered,
.pricing-section .section-heading.centered { max-width: 720px; }
