:root {
  --bg: #081021;
  --navy: #111b31;
  --navy-soft: #152139;
  --line: rgba(232, 180, 48, 0.22);
  --line-cool: rgba(222, 231, 245, 0.12);
  --gold: #e8b430;
  --gold-light: #e8ca7d;
  --cream: #f7f3ea;
  --muted: #9ca7ba;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  left: 50%;
  pointer-events: none;
  border: 1px solid rgba(232, 180, 48, 0.1);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
  z-index: -1;
}

body::before {
  bottom: 22vh;
  width: 30vw;
  height: 15vw;
}

body::after {
  bottom: -8vh;
  width: 20vw;
  height: 10vw;
}

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

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(17, 27, 49, 0.92);
  border-bottom: 1px solid rgba(222, 231, 245, 0.14);
  backdrop-filter: blur(18px);
}

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

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

.brand strong {
  display: block;
  color: var(--gold);
  font-size: 20px;
  line-height: 1.05;
  font-weight: 900;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: #a5adba;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(247, 243, 234, 0.78);
  font-weight: 700;
  font-size: 14px;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 128px 24px 90px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 78px 0 auto;
  width: 100%;
  height: min(68vh, 560px);
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(rgba(8, 16, 33, 0.9), rgba(8, 16, 33, 0.5), var(--bg)),
    radial-gradient(circle at 50% 58%, rgba(232, 180, 48, 0.22), transparent 28%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.44em;
  font-size: 16px;
}

.hero h1,
.hero h2 {
  margin: 0;
  font-weight: 900;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(68px, 10vw, 128px);
}

.hero h1 span {
  color: var(--gold-light);
}

.hero h2 {
  margin-top: 8px;
  font-size: clamp(42px, 5vw, 68px);
}

.chips {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.chips a,
.chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 12px 22px;
  border: 1px solid rgba(232, 180, 48, 0.42);
  border-radius: 999px;
  background: rgba(120, 88, 20, 0.72);
  color: var(--gold);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.chips a:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 202, 125, 0.86);
  background: rgba(150, 105, 18, 0.82);
}

.hero-copy {
  margin: 52px 0 0;
  color: rgba(247, 243, 234, 0.62);
  font-size: 19px;
  line-height: 1.7;
}

.hero-copy strong {
  color: var(--gold);
}

.scroll-cue {
  display: block;
  width: 34px;
  height: 58px;
  margin: 40px auto 0;
  border: 2px solid rgba(232, 180, 48, 0.65);
  border-radius: 999px;
  position: relative;
}

.scroll-cue::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  width: 6px;
  height: 12px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: pulse-down 1.5s infinite;
}

.section {
  position: relative;
  padding: 112px 24px;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 620px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
  opacity: 0.45;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 68px;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  color: var(--cream);
}

.section-head p {
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.stats-grid,
.value-grid,
.moat-grid,
.promise-grid,
.case-grid,
.contact-grid {
  max-width: 1232px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

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

.info-card {
  min-height: 184px;
  padding: 26px;
  text-align: left;
  border-radius: 14px;
  border: 1px solid var(--line-cool);
  background: rgba(21, 33, 57, 0.84);
  color: inherit;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  transition: border-color 180ms ease, transform 180ms ease;
}

.info-card:hover,
.info-card.open {
  transform: translateY(-4px);
  border-color: rgba(232, 180, 48, 0.5);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--gold);
  font-weight: 900;
  font-size: 15px;
  border: 2px solid var(--gold);
  border-radius: 9px;
}

.info-card h3 {
  margin: 22px 0 10px;
  color: var(--gold);
  font-size: 20px;
  font-weight: 900;
}

.info-card p,
.info-card em {
  margin: 0;
  color: #c8cfda;
  font-size: 14px;
  line-height: 1.7;
  font-style: normal;
}

.info-card small {
  display: block;
  margin-top: 14px;
  color: rgba(247, 243, 234, 0.5);
}

.info-card em {
  display: none;
  margin-top: 14px;
  color: var(--gold-light);
}

.info-card.open em {
  display: block;
}

.big-line {
  margin: 76px 0 0;
  text-align: center;
  color: #bac1ce;
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 900;
  line-height: 1.2;
}

.big-line span {
  color: var(--gold);
}

.value-grid {
  grid-template-columns: repeat(5, 1fr);
}

.value,
.promise-card,
.contact-item,
.case-grid p {
  border: 1px solid rgba(232, 180, 48, 0.2);
  background: linear-gradient(180deg, rgba(232, 180, 48, 0.12), rgba(21, 33, 57, 0.54));
  border-radius: 14px;
  padding: 30px 24px;
}

.value span,
.contact-item span {
  color: var(--gold);
  font-size: 21px;
  font-weight: 900;
}

.value p,
.promise-card p,
.contact-item p,
.case-grid p {
  margin: 14px 0 0;
  color: #c5ccd8;
  line-height: 1.8;
}

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

.panel {
  padding: 34px;
  border-radius: 16px;
  border: 1px solid var(--line-cool);
  background: rgba(17, 27, 49, 0.82);
}

.panel h3,
.promise-card h3,
.step h3 {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
}

.panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel li {
  position: relative;
  margin-top: 18px;
  padding-left: 26px;
  color: #c8cfda;
  line-height: 1.85;
}

.panel li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.promise-grid {
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
}

.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 34px;
  width: 1px;
  background: linear-gradient(var(--gold), transparent);
  opacity: 0.5;
}

.step {
  position: relative;
  min-height: 120px;
  margin-bottom: 28px;
  padding: 10px 0 20px 104px;
}

.step span {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(232, 180, 48, 0.5);
  border-radius: 50%;
  color: var(--gold);
  background: var(--bg);
  font-size: 22px;
  font-weight: 900;
}

.step p {
  margin: 0;
  color: #c5ccd8;
  line-height: 1.8;
}

.step-link {
  color: inherit;
  border-bottom: 1px solid rgba(232, 180, 48, 0.35);
  transition: color 180ms ease, border-color 180ms ease;
}

.step-link:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.subpage-main {
  min-height: 100svh;
  padding-top: 78px;
}

.program-hero {
  position: relative;
  padding: 132px 24px 78px;
  overflow: hidden;
}

.program-hero::before {
  content: "";
  position: absolute;
  inset: 78px 0 auto;
  height: 380px;
  background:
    linear-gradient(rgba(8, 16, 33, 0.62), var(--bg)),
    radial-gradient(circle at 50% 18%, rgba(232, 180, 48, 0.18), transparent 36%),
    url("dobby-ui-reference.jpg") center 34% / cover;
  opacity: 0.78;
}

.program-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: rgba(247, 243, 234, 0.68);
  font-weight: 800;
}

.back-link:hover {
  color: var(--gold);
}

.program-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 900;
  line-height: 1.05;
}

.program-hero p {
  max-width: 740px;
  margin: 24px auto 0;
  color: #c5ccd8;
  font-size: 18px;
  line-height: 1.8;
}

.program-meta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.program-meta span {
  padding: 9px 16px;
  border: 1px solid rgba(232, 180, 48, 0.32);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(21, 33, 57, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.program-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 118px;
}

.program-intro {
  max-width: 920px;
  margin: 0 auto 42px;
  padding: 34px;
  border: 1px solid rgba(232, 180, 48, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(232, 180, 48, 0.11), rgba(21, 33, 57, 0.56)),
    rgba(17, 27, 49, 0.82);
}

.program-intro p {
  margin: 0;
  color: #d4dae4;
  font-size: 19px;
  line-height: 1.9;
}

.program-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.program-highlights span {
  padding: 9px 15px;
  border: 1px solid rgba(232, 180, 48, 0.34);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(8, 16, 33, 0.52);
  font-size: 13px;
  font-weight: 900;
}

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

.content-block {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(222, 231, 245, 0.13);
  border-radius: 16px;
  background: rgba(17, 27, 49, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

.content-block::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--gold), rgba(232, 180, 48, 0));
}

.content-number {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(232, 180, 48, 0.5);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.content-block h2 {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 25px;
  font-weight: 900;
}

.content-block ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-block li {
  position: relative;
  padding-left: 24px;
  color: #c8cfda;
  line-height: 1.85;
}

.content-block li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 12px;
  line-height: 2.2;
}

.program-cta {
  max-width: 900px;
  margin: 42px auto 0;
  padding: 34px;
  text-align: center;
  border: 1px solid rgba(232, 180, 48, 0.24);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(232, 180, 48, 0.18), rgba(21, 33, 57, 0.74));
}

.program-cta p {
  margin: 0 auto 22px;
  color: var(--cream);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.75;
}

.program-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(232, 180, 48, 0.55);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(8, 16, 33, 0.54);
  font-weight: 900;
}

.program-cta a:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.case-grid {
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.case-grid p {
  margin: 0;
  color: var(--cream);
  font-weight: 800;
}

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

.closing {
  margin: 68px 0 0;
  text-align: center;
  color: var(--gold);
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.35;
}

footer {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 32px;
  border-top: 1px solid var(--line);
  color: rgba(247, 243, 234, 0.45);
  font-size: 14px;
}

footer .brand strong {
  font-size: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes pulse-down {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(-50%, 0);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, 10px);
  }
}

@media (max-width: 980px) {
  .nav {
    height: auto;
    min-height: 76px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px 22px;
  }

  .nav-links {
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    padding-top: 154px;
  }

  .hero-image,
  .hero-shade {
    inset: 0 0 auto;
    height: 68vh;
  }

  .stats-grid,
  .value-grid,
  .moat-grid,
  .content-grid,
  .case-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav {
    position: absolute;
  }

  .nav-links {
    font-size: 13px;
  }

  .eyebrow {
    letter-spacing: 0.26em;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero h2 {
    font-size: 36px;
  }

  .chips {
    gap: 10px;
  }

  .chips a,
  .chips span {
    min-width: 70px;
    padding: 10px 16px;
  }

  .section {
    padding: 82px 18px;
  }

  .stats-grid,
  .value-grid,
  .moat-grid,
  .promise-grid,
  .content-grid,
  .case-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .step {
    padding-left: 84px;
  }

  .subpage-main {
    padding-top: 0;
  }

  .program-hero {
    padding-top: 178px;
  }
}

/* Dobby brand refresh */
:root {
  --bg: #eef4ff;
  --navy: #15213d;
  --navy-soft: #f7faff;
  --line: rgba(112, 122, 255, 0.22);
  --line-cool: rgba(91, 114, 159, 0.16);
  --gold: #6557ff;
  --gold-light: #2f9cf4;
  --cream: #16213d;
  --muted: #64728d;
  --panel: rgba(255, 255, 255, 0.82);
  --cyan: #33b7ff;
  --violet: #7b61ff;
  --orange: #f7a649;
}

body {
  background:
    radial-gradient(circle at 16% 9%, rgba(115, 214, 255, 0.34), transparent 30vw),
    radial-gradient(circle at 82% 18%, rgba(126, 96, 255, 0.25), transparent 28vw),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 48%, #f7faff 100%);
  color: var(--cream);
}

body::before,
body::after {
  border-color: rgba(101, 87, 255, 0.14);
}

.nav {
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(91, 114, 159, 0.14);
  box-shadow: 0 18px 55px rgba(36, 51, 92, 0.08);
}

.brand img {
  width: 52px;
  height: 42px;
  padding: 6px;
  border-radius: 10px;
  background: linear-gradient(135deg, #14213d, #26375d);
  filter: drop-shadow(0 10px 18px rgba(101, 87, 255, 0.18));
}

.brand strong {
  width: max-content;
  max-width: 420px;
  color: var(--navy);
  background: linear-gradient(90deg, #14213d, var(--violet), var(--cyan));
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 20px;
}

.brand small {
  max-width: 520px;
  color: #61708b;
  letter-spacing: 0;
  font-weight: 800;
}

.nav-links {
  color: #31415f;
}

.nav-links a:hover {
  color: var(--violet);
}

.hero {
  align-items: center;
  justify-items: start;
  min-height: 96svh;
  padding: 118px max(24px, 6vw) 72px;
}

.hero::before {
  content: "";
  position: absolute;
  right: max(28px, 6vw);
  bottom: 12vh;
  width: min(360px, 46vw);
  height: 210px;
  border: 1px solid rgba(101, 87, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 255, 0.68)),
    repeating-linear-gradient(90deg, transparent 0 16px, rgba(101, 87, 255, 0.08) 16px 18px);
  box-shadow: 0 30px 90px rgba(42, 57, 104, 0.14);
  z-index: 1;
}

.hero::after {
  content: "NIW / EB1A / O1";
  position: absolute;
  right: max(54px, 8vw);
  bottom: calc(12vh + 128px);
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--violet);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 18px 50px rgba(42, 57, 104, 0.12);
  z-index: 2;
}

.hero-image,
.hero-shade {
  inset: 78px 0 0;
  height: auto;
}

.hero-image {
  object-fit: cover;
  opacity: 0.78;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.94) 0%, rgba(244, 248, 255, 0.82) 42%, rgba(238, 244, 255, 0.5) 100%),
    radial-gradient(circle at 72% 45%, rgba(101, 87, 255, 0.22), transparent 30%),
    radial-gradient(circle at 24% 35%, rgba(51, 183, 255, 0.2), transparent 28%);
}

.hero-content {
  max-width: 900px;
  text-align: left;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--violet);
  letter-spacing: 0.16em;
}

.hero h1 {
  color: #14213d;
  font-size: clamp(70px, 11vw, 138px);
  letter-spacing: 0;
}

.hero h1 span,
.hero h2,
.big-line span {
  color: transparent;
  background: linear-gradient(90deg, #2f9cf4, #6557ff 62%, #f7a649);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h2 {
  margin-top: 12px;
  font-size: clamp(36px, 5vw, 74px);
}

.chips {
  justify-content: flex-start;
}

.chips a,
.chips span,
.program-highlights span,
.program-meta span {
  border-color: rgba(101, 87, 255, 0.2);
  background: rgba(255, 255, 255, 0.68);
  color: #4b48d7;
  box-shadow: 0 14px 38px rgba(62, 82, 143, 0.12);
}

.chips a:hover {
  border-color: rgba(47, 156, 244, 0.48);
  background: rgba(255, 255, 255, 0.9);
}

.hero-copy {
  color: #52627e;
  font-size: 20px;
}

.hero-copy strong {
  color: #14213d;
}

.scroll-cue {
  margin-left: 0;
  border-color: rgba(101, 87, 255, 0.52);
}

.scroll-cue::before {
  background: var(--violet);
}

.section {
  padding-block: 106px;
}

.section::before {
  width: min(760px, 74vw);
  background: linear-gradient(90deg, transparent, rgba(101, 87, 255, 0.34), rgba(51, 183, 255, 0.34), transparent);
}

.section-head h2,
.program-hero h1 {
  color: #14213d;
}

.section-head p,
.step p,
.panel li,
.value p,
.promise-card p,
.contact-item p,
.case-grid p,
.program-hero p,
.program-intro p,
.content-block li {
  color: var(--muted);
}

.stats-grid,
.value-grid,
.moat-grid,
.promise-grid,
.case-grid,
.contact-grid {
  gap: 20px;
}

.info-card,
.value,
.panel,
.promise-card,
.contact-item,
.case-grid p,
.program-intro,
.content-block,
.program-cta {
  border: 1px solid rgba(91, 114, 159, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.76)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(42, 57, 104, 0.1);
  border-radius: 8px;
}

.info-card:hover,
.info-card.open,
.content-block:hover {
  border-color: rgba(101, 87, 255, 0.34);
  box-shadow: 0 28px 76px rgba(42, 57, 104, 0.14);
}

.icon {
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 12px 26px rgba(101, 87, 255, 0.24);
}

.info-card h3,
.value span,
.contact-item span,
.panel h3,
.promise-card h3,
.step h3,
.content-block h2 {
  color: #14213d;
}

.info-card p,
.info-card em {
  color: #586987;
}

.info-card small {
  color: #8b98ad;
}

.info-card em {
  color: #4b48d7;
}

.big-line {
  color: #253957;
}

.panel li::before {
  content: "";
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
}

.timeline::before {
  background: linear-gradient(var(--violet), rgba(51, 183, 255, 0.15), transparent);
}

.step span {
  border-color: rgba(101, 87, 255, 0.22);
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 16px 35px rgba(101, 87, 255, 0.2);
}

.step-link {
  border-color: rgba(101, 87, 255, 0.25);
}

.step-link:hover,
.back-link:hover {
  color: var(--violet);
  border-color: var(--violet);
}

.contact {
  background:
    radial-gradient(circle at 24% 10%, rgba(51, 183, 255, 0.16), transparent 34%),
    radial-gradient(circle at 80% 0%, rgba(101, 87, 255, 0.16), transparent 30%);
}

.closing {
  color: #14213d;
}

footer {
  border-top-color: rgba(91, 114, 159, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: #5c6a83;
}

.subpage-main {
  background:
    radial-gradient(circle at 10% 0%, rgba(51, 183, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.program-hero::before {
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.92), rgba(238, 244, 255, 0.62)),
    radial-gradient(circle at 72% 30%, rgba(101, 87, 255, 0.2), transparent 34%),
    url("dobby-ui-reference.jpg") center 45% / cover;
  opacity: 1;
}

.back-link {
  color: #586987;
}

.content-number {
  color: var(--violet);
}

.program-cta p {
  color: #253957;
}

.program-cta a {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #fff;
  box-shadow: 0 18px 46px rgba(101, 87, 255, 0.22);
}

@media (max-width: 920px) {
  .brand small {
    max-width: 260px;
  }

  .hero {
    justify-items: center;
    padding-inline: 22px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-content {
    text-align: center;
  }

  .chips {
    justify-content: center;
  }

  .scroll-cue {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .brand strong {
    font-size: 17px;
  }

  .brand small {
    max-width: 210px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 78px);
  }

  .hero h2 {
    font-size: clamp(30px, 10vw, 46px);
  }

  .eyebrow {
    letter-spacing: 0.08em;
    font-size: 12px;
  }
}

/* Hero refresh: transparent globe, immigration motifs and official updates */
.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.78fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  justify-items: stretch;
  padding: clamp(126px, 14vh, 168px) max(28px, 6vw) 72px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.92) 0%, rgba(245, 249, 255, 0.76) 44%, rgba(238, 244, 255, 0.22) 100%),
    url("hero-americas.png") center / cover no-repeat;
}

.hero::before {
  display: block;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(164, 157, 255, 0.24), transparent 30%),
    radial-gradient(circle at 58% 86%, rgba(51, 183, 255, 0.14), transparent 34%);
  transform: none;
  z-index: -2;
}

.hero::after {
  display: none;
}

.hero-image,
.hero-shade {
  display: none;
}

.hero-content {
  grid-column: 1;
  max-width: 760px;
  text-align: left;
  z-index: 2;
}

.hero-title-lockup {
  display: grid;
  width: fit-content;
  gap: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-feature-settings: "kern" 1;
}

.hero h1 {
  margin: 0;
  color: #14213d;
  font-family: inherit;
  font-size: clamp(62px, 8.3vw, 116px);
  font-weight: 900;
  letter-spacing: -0.095em;
  line-height: 0.98;
  white-space: nowrap;
}

.hero h2 {
  margin: 6px 0 0 0.08em;
  color: transparent;
  background: linear-gradient(90deg, #2f9cf4 0%, #6557ff 68%, #f7a649 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: inherit;
  font-size: clamp(32px, 4.2vw, 62px);
  font-weight: 850;
  letter-spacing: -0.08em;
  line-height: 1.05;
  white-space: nowrap;
}

.hero-side {
  min-width: 0;
  display: grid;
  gap: 18px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.globe-stage {
  position: relative;
  min-height: 286px;
  display: grid;
  place-items: center;
}

.globe-halo {
  display: none;
}

.hero-globe {
  display: none;
}

.globe-orbit {
  display: none;
}

.orbit-secondary {
  display: none;
}

.globe-pin {
  display: none;
}

.pin-one {
  top: 29%;
  left: 19%;
}

.pin-two {
  right: 17%;
  bottom: 27%;
  background: linear-gradient(135deg, #f7a649, #6557ff);
}

.hero-visa-card {
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(91, 114, 159, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(42, 57, 104, 0.13);
  backdrop-filter: blur(14px);
}

.hero-visa-card {
  top: 9%;
  right: -1%;
  width: min(200px, 42%);
  padding: 15px;
  border-radius: 12px;
  transform: rotate(5deg);
}

.visa-card-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 25px;
  margin-bottom: 14px;
  border: 1px solid rgba(18, 109, 90, 0.32);
  border-radius: 5px;
  color: #126d5a;
  background: linear-gradient(135deg, #9cebd7, #c8f4ff);
  font-size: 15px;
}

.hero-visa-card strong {
  display: block;
  color: #14213d;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-visa-card small {
  display: block;
  margin-top: 7px;
  color: #64728d;
  font-size: 11px;
  line-height: 1.5;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #25c990;
  box-shadow: 0 0 0 5px rgba(37, 201, 144, 0.12);
}

.hero-footsteps {
  position: absolute;
  right: 19%;
  bottom: 1%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: rotate(-10deg);
}

.hero-footsteps span {
  display: block;
  width: 12px;
  height: 22px;
  border-radius: 58% 42% 48% 52%;
  background: linear-gradient(160deg, rgba(101, 87, 255, 0.68), rgba(51, 183, 255, 0.48));
  box-shadow: 6px -5px 0 -3px rgba(101, 87, 255, 0.4), 9px -8px 0 -5px rgba(101, 87, 255, 0.32);
  font-size: 0;
  transform: rotate(18deg);
}

.hero-footsteps span:nth-of-type(2) {
  margin-top: 18px;
  transform: rotate(-18deg);
}

.hero-footsteps span:nth-of-type(3) {
  margin-top: 34px;
}

.hero-footsteps i {
  width: 16px;
  height: 1px;
  background: rgba(101, 87, 255, 0.22);
}

.hero-updates {
  overflow: hidden;
  border: 1px solid rgba(91, 114, 159, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 20px 55px rgba(42, 57, 104, 0.1);
  backdrop-filter: blur(16px);
}

.updates-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 12px;
}

.updates-heading .eyebrow {
  margin: 0 0 6px;
  color: #5149bd;
  font-size: 10px;
  letter-spacing: 0.09em;
}

.updates-heading h3 {
  margin: 0;
  color: #14213d;
  font-size: 24px;
  font-weight: 900;
}

.updates-heading a {
  color: #5149bd;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.updates-marquee {
  max-height: 304px;
  overflow: hidden;
  padding: 4px 14px 12px;
}

.updates-track {
  display: flex;
  flex-direction: column;
  gap: 9px;
  animation: immigration-feed-scroll 28s linear infinite;
  will-change: transform;
}

.updates-group {
  display: grid;
  gap: 9px;
}

.update-card {
  display: grid;
  gap: 7px;
  padding: 11px 12px;
  border: 1px solid rgba(91, 114, 159, 0.14);
  border-radius: 10px;
  color: #14213d;
  background: rgba(255, 255, 255, 0.83);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.update-card:hover,
.update-card:focus-visible {
  border-color: rgba(101, 87, 255, 0.42);
  transform: translateY(-2px);
}

.update-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #8b98ad;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.update-meta strong {
  color: #126d5a;
}

.update-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.update-link {
  color: #5149bd;
  font-size: 10px;
  font-weight: 800;
}

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

@keyframes globe-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes immigration-feed-scroll {
  to {
    transform: translateY(calc(-50% - 5px));
  }
}

.hero-updates:hover .updates-track,
.hero-updates:focus-within .updates-track {
  animation-play-state: paused;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 128px;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-title-lockup {
    margin: 0 auto;
  }

  .hero-side {
    grid-template-columns: minmax(260px, 0.92fr) minmax(320px, 1.08fr);
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
  }

  .globe-stage {
    min-height: 286px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 0;
    padding: 114px 18px 62px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 74px);
  }

  .hero h2 {
    margin-left: 0.04em;
    font-size: clamp(28px, 8.5vw, 43px);
  }

  .hero-side {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .globe-stage {
    min-height: 250px;
  }

  .hero-visa-card {
    right: 0;
  }

  .hero-footsteps {
    right: 12%;
  }

  .updates-marquee {
    max-height: 304px;
  }

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

/* Keep the mobile hero decorative layer present without leaving a full blank panel. */
@media (max-width: 640px) {
  .hero-side {
    gap: 12px;
  }

  .globe-stage {
    min-height: 124px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-globe,
  .updates-track {
    animation: none;
  }

  .updates-marquee {
    overflow: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Fixed pathway shortcuts requested for quick navigation on long pages. */
.floating-path-nav {
  position: fixed;
  z-index: 18;
  top: 50%;
  right: 16px;
  display: grid;
  gap: 7px;
  width: 86px;
  padding: 8px;
  border: 1px solid rgba(104, 113, 208, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(71, 82, 156, 0.14);
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
}

.floating-path-nav a {
  display: grid;
  min-height: 32px;
  place-items: center;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #4e50c8;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.floating-path-nav a:hover,
.floating-path-nav a:focus-visible {
  border-color: rgba(87, 94, 216, 0.24);
  background: rgba(235, 234, 255, 0.86);
  transform: translateX(-2px);
}

.floating-path-nav .floating-path-home {
  color: #1a2947;
  border-bottom-color: rgba(87, 94, 216, 0.18);
  border-radius: 10px 10px 6px 6px;
}

@media (max-width: 720px) {
  .floating-path-nav {
    top: auto;
    right: 8px;
    bottom: 92px;
    width: 68px;
    padding: 6px;
    gap: 4px;
    border-radius: 14px;
    transform: none;
  }

  .floating-path-nav a {
    min-height: 27px;
    padding: 3px 4px;
    font-size: 9px;
  }
}

/* Homepage entry points for the interactive surfaces. */
.nav-active {
  color: #5149bd !important;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-primary-cta,
.hero-secondary-cta,
.inline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hero-primary-cta,
.inline-cta {
  color: #fff;
  background: linear-gradient(135deg, #6557ff, #33b7ff);
  box-shadow: 0 14px 30px rgba(101, 87, 255, 0.2);
}

.hero-secondary-cta {
  border: 1px solid rgba(101, 87, 255, 0.2);
  color: #5149bd;
  background: rgba(255, 255, 255, 0.66);
}

.hero-primary-cta:hover,
.hero-secondary-cta:hover,
.inline-cta:hover {
  transform: translateY(-2px);
}

.assessment-preview {
  max-width: 1232px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  border: 1px solid rgba(91, 114, 159, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 18%, rgba(164, 157, 255, 0.25), transparent 32%),
    radial-gradient(circle at 12% 86%, rgba(156, 235, 215, 0.26), transparent 34%),
    rgba(255, 255, 255, 0.42);
}

.assessment-preview-copy h2 {
  margin: 0;
  color: #14213d;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1.12;
}

.assessment-preview-copy h2 span {
  color: transparent;
  background: linear-gradient(90deg, #2f9cf4, #6557ff 62%, #f7a649);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.assessment-preview-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 20px 0 27px;
  color: #64728d;
  font-size: 16px;
  line-height: 1.85;
}

.assessment-preview-visual {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
}

.assessment-preview-visual > img {
  width: min(74%, 340px);
  opacity: 0.68;
  filter: drop-shadow(0 20px 30px rgba(65, 78, 152, 0.11));
  animation: preview-orb-pulse 6s ease-in-out infinite;
}

.assessment-route-card {
  position: absolute;
  z-index: 2;
  min-width: 144px;
  display: grid;
  gap: 3px;
  padding: 13px 15px;
  border: 1px solid rgba(91, 114, 159, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 15px 32px rgba(42, 57, 104, 0.1);
  backdrop-filter: blur(12px);
}

.assessment-route-card span {
  color: #6557ff;
  font-size: 11px;
  font-weight: 900;
}

.assessment-route-card strong {
  color: #14213d;
  font-size: 14px;
}

.assessment-route-card small {
  color: #64728d;
  font-size: 10px;
}

.route-card-one {
  top: 8%;
  left: 2%;
  transform: rotate(-5deg);
}

.route-card-two {
  right: 1%;
  top: 37%;
  transform: rotate(5deg);
}

.route-card-three {
  bottom: 5%;
  left: 15%;
  transform: rotate(-3deg);
}

.assessment-route-line {
  position: absolute;
  z-index: 1;
  width: 70%;
  height: 48%;
  border: 1px dashed rgba(101, 87, 255, 0.26);
  border-left: 0;
  border-bottom: 0;
  border-radius: 50%;
  transform: rotate(18deg);
}

@keyframes preview-orb-pulse {
  0%,
  100% {
    transform: scale(0.98) rotate(0deg);
  }

  50% {
    transform: scale(1.03) rotate(1deg);
  }
}

/* Floating human support shortcut, shared by every page. */
.human-assistant {
  position: fixed;
  right: max(18px, calc((100vw - 1320px) / 2));
  bottom: 22px;
  z-index: 40;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #14213d;
  text-decoration: none;
  filter: drop-shadow(0 16px 24px rgba(23, 27, 75, 0.16));
  animation: assistant-attention 8.5s ease-in-out infinite;
}

.human-assistant-label {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 24px rgba(23, 27, 75, 0.1);
  backdrop-filter: blur(14px);
  text-align: center;
}

.human-assistant-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 9px;
  height: 9px;
  border-right: 1px solid rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.82);
  transform: translateX(-50%) rotate(45deg);
}

.human-assistant-label strong {
  color: #5149bd;
  font-size: 12px;
}

.human-assistant-label small {
  color: #64728d;
  font-size: 10px;
  font-weight: 750;
}

.human-assistant-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(156, 235, 215, 0.95), rgba(173, 221, 255, 0.95) 58%, rgba(164, 157, 255, 0.82));
  box-shadow: 0 10px 26px rgba(23, 27, 75, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.human-assistant-avatar::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(164, 157, 255, 0.36);
  border-radius: 50%;
  animation: assistant-halo 3.8s ease-out infinite;
}

.human-assistant-avatar::after {
  content: "✦";
  position: absolute;
  top: -13px;
  right: -5px;
  color: #f7a649;
  font-size: 17px;
}

.human-assistant-avatar img {
  width: 42px;
  height: 42px;
  padding: 5px;
  border-radius: 11px;
  background: linear-gradient(135deg, #14213d, #26375d);
}

.human-assistant:hover .human-assistant-avatar,
.human-assistant:focus-visible .human-assistant-avatar {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 34px rgba(23, 27, 75, 0.22);
}

.human-assistant:focus-visible {
  outline: 3px solid rgba(105, 96, 202, 0.5);
  outline-offset: 5px;
  border-radius: 24px;
}

@keyframes assistant-attention {
  0%,
  69%,
  100% { transform: translateY(0) rotate(0); }

  73% { transform: translateY(-8px) rotate(-3deg); }
  77% { transform: translateY(1px) rotate(2deg); }
  81% { transform: translateY(-4px) rotate(-1deg); }
  85% { transform: translateY(0) rotate(0); }
}

@keyframes assistant-halo {
  0%,
  58%,
  100% { opacity: 0.25; transform: scale(0.96); }

  72% { opacity: 0.72; transform: scale(1.08); }
  84% { opacity: 0.25; transform: scale(1.12); }
}

@media (max-width: 900px) {
  .assessment-preview {
    grid-template-columns: 1fr;
  }

  .assessment-preview-visual {
    min-height: 290px;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    justify-content: center;
  }

  .hero-primary-cta,
  .hero-secondary-cta {
    min-width: 150px;
  }

  .assessment-preview {
    padding: 74px 18px 54px;
  }

  .assessment-preview-visual {
    min-height: 270px;
  }

  .assessment-route-card {
    min-width: 120px;
    padding: 10px 11px;
  }

  .human-assistant {
    right: 12px;
    bottom: 14px;
  }

  .human-assistant-label {
    padding: 8px 10px;
  }

  .human-assistant-avatar {
    width: 58px;
    height: 58px;
  }

  .human-assistant-avatar img {
    width: 37px;
    height: 37px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .assessment-preview-visual > img,
  .human-assistant,
  .human-assistant-avatar::before {
    animation: none;
  }
}

/* Contact section details: QR, legible email, local landmark and clear CTA. */
.section-title-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.section-title-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #6557ff, #33b7ff);
  box-shadow: 0 12px 24px rgba(101, 87, 255, 0.22);
  font-size: 18px;
}

.contact-item {
  position: relative;
  min-height: 232px;
}

.contact-item-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #14213d;
  font-size: 21px;
  font-weight: 900;
}

.contact-item-label > span:last-child {
  color: #14213d;
}

.contact-item-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  color: #fff !important;
  background: linear-gradient(135deg, #6557ff, #33b7ff);
  font-size: 13px !important;
  font-weight: 900 !important;
}

.contact-item p {
  margin-top: 14px;
}

.wechat-qr-wrap {
  position: absolute;
  right: 20px;
  bottom: 19px;
  display: grid;
  justify-items: center;
  gap: 4px;
  margin: 0;
}

.wechat-qr {
  width: 83px;
  height: 83px;
  padding: 4px;
  border: 1px solid rgba(101, 87, 255, 0.16);
  border-radius: 9px;
  background: #fff;
  object-fit: contain;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.wechat-qr:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 24px rgba(101, 87, 255, 0.18);
}

.wechat-qr-wrap figcaption {
  color: #64728d;
  font-size: 9px;
  font-weight: 800;
}

.contact-email p {
  max-width: 100%;
  color: #405172;
  font-family: "SF Mono", "Roboto Mono", "Cascadia Mono", "Noto Sans Mono", monospace;
  font-size: clamp(14px, 1.45vw, 17px);
  font-weight: 700;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.contact-item-note {
  display: block;
  margin-top: 18px;
  color: #8b98ad;
  font-size: 11px;
}

.golden-gate-icon {
  display: block;
  width: 92%;
  height: auto;
  margin: 18px auto 0;
  opacity: 0.78;
}

.contact-cta {
  max-width: 1030px;
  margin: 26px auto 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(101, 87, 255, 0.18);
  border-radius: 15px;
  background: linear-gradient(110deg, rgba(224, 255, 246, 0.74), rgba(231, 228, 255, 0.72));
  box-shadow: 0 16px 38px rgba(42, 57, 104, 0.08);
}

.contact-cta-copy {
  display: flex;
  align-items: center;
  gap: 13px;
}

.contact-cta-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #6557ff, #33b7ff);
  font-size: 19px;
  font-weight: 900;
}

.contact-cta strong {
  display: block;
  color: #14213d;
  font-size: 15px;
  font-weight: 900;
}

.contact-cta p {
  margin: 4px 0 0;
  color: #64728d;
  font-size: 12px;
  line-height: 1.6;
}

.contact-cta > a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 0 17px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #6557ff, #33b7ff);
  box-shadow: 0 12px 24px rgba(101, 87, 255, 0.18);
  font-size: 12px;
  font-weight: 900;
  transition: transform 180ms ease;
}

.contact-cta > a:hover {
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .section-title-with-icon {
    gap: 10px;
  }

  .section-title-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 15px;
  }

  .contact-item {
    min-height: 210px;
  }

  .wechat-qr {
    width: 73px;
    height: 73px;
  }

  .contact-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-cta > a {
    width: 100%;
  }
}

/* Section icon system: a quiet visual signpost for each information layer. */
.section-head-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border: 1px solid rgba(101, 87, 255, 0.18);
  border-radius: 14px;
  color: #5149bd;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(226, 244, 255, 0.8));
  box-shadow: 0 12px 26px rgba(42, 57, 104, 0.09);
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
}

.section-head-icon--globe {
  color: #208fda;
}

.section-head-icon--spark,
.section-head-icon--trust {
  color: #6557ff;
}

.section-head-icon--layers,
.section-head-icon--steps {
  color: #126d5a;
}

.section-head-icon--cases {
  color: #d7862b;
}

.assessment-preview-copy > .section-head-icon {
  margin: 0 0 19px;
}

.panel,
.promise-card {
  position: relative;
}

.panel-icon,
.promise-icon,
.case-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(101, 87, 255, 0.15);
  border-radius: 11px;
  color: #5149bd;
  background: linear-gradient(135deg, rgba(224, 255, 246, 0.9), rgba(226, 222, 255, 0.9));
  box-shadow: 0 9px 20px rgba(42, 57, 104, 0.08);
  font-size: 16px;
  font-weight: 900;
}

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

.panel h3 {
  margin-bottom: 18px;
}

.promise-card {
  min-height: 168px;
}

.promise-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #126d5a;
  background: rgba(156, 235, 215, 0.48);
}

.promise-card h3 {
  margin-bottom: 14px;
}

.case-grid p {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 78px;
  text-align: left;
}

.case-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 13px;
}

.case-grid p > span:last-child {
  flex: 1;
}

@media (max-width: 640px) {
  .section-head-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 13px;
    border-radius: 11px;
    font-size: 19px;
  }

  .assessment-preview-copy > .section-head-icon {
    margin-bottom: 15px;
  }

  .case-grid p {
    min-height: 62px;
  }
}

/* Editorial layout pass: stronger hierarchy, tighter sections, and headings that read as one unit. */
.section {
  padding-block: 76px;
}

.section-head {
  max-width: 1232px;
  margin: 0 auto 40px;
  text-align: left;
}

.section-title-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
}

.section-head .section-title-with-icon {
  margin: 0;
}

.section-head-icon {
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 12px;
  font-size: 20px;
}

.section-head h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.section-head p {
  max-width: 820px;
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.85;
}

.about-approach {
  max-width: 1232px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(26px, 5vw, 76px);
  padding: 26px 30px;
  border: 1px solid rgba(91, 114, 159, 0.14);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.86), rgba(232, 247, 255, 0.66));
  box-shadow: 0 20px 52px rgba(42, 57, 104, 0.08);
}

.about-approach-lede .eyebrow {
  margin: 0 0 9px;
  color: #5149bd;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.about-approach h3 {
  max-width: 420px;
  margin: 0;
  color: #14213d;
  font-size: clamp(21px, 2.4vw, 30px);
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.about-approach > p {
  margin: 0;
  color: #64728d;
  font-size: 15px;
  line-height: 1.9;
}

.about-approach-link {
  display: inline-block;
  margin-top: 7px;
  color: #5149bd;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.01em;
  transition: color 180ms ease, transform 180ms ease;
}

.about-approach-link:hover,
.about-approach-link:focus-visible {
  color: #2f9cf4;
  transform: translateX(2px);
}

.about-approach-points {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(91, 114, 159, 0.12);
}

.about-approach-points span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(101, 87, 255, 0.16);
  border-radius: 999px;
  color: #5149bd;
  background: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  font-weight: 850;
}

.about .big-line {
  max-width: 1232px;
  margin: 46px auto 0;
  text-align: left;
  font-size: clamp(30px, 4vw, 48px);
}

.assessment-preview-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
}

.assessment-preview-kicker .eyebrow {
  margin: 0;
}

.assessment-preview-kicker .section-head-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 16px;
}

.values,
.moat,
.promise,
.process,
.cases {
  padding-block: 68px;
}

.values .section-head,
.moat .section-head,
.promise .section-head,
.process .section-head,
.cases .section-head {
  margin-bottom: 32px;
}

.value-grid {
  max-width: 1232px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.value {
  min-height: 136px;
  padding: 22px 19px;
}

.value span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
}

.value span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6557ff, #33b7ff);
}

.value p {
  margin-top: 11px;
  font-size: 13px;
  line-height: 1.7;
}

.moat-grid {
  max-width: 1232px;
  gap: 16px;
}

.moat .panel {
  min-height: 310px;
  padding: 24px 25px 26px;
}

.moat .panel li {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.75;
}

.promise-grid {
  max-width: 920px;
  gap: 16px;
}

.promise-card {
  min-height: 145px;
  padding: 22px 24px;
}

.promise-icon {
  width: 27px;
  height: 27px;
  margin-bottom: 12px;
}

.promise-card h3 {
  font-size: 19px;
}

.promise-card p {
  font-size: 13px;
  line-height: 1.7;
}

.timeline {
  max-width: 1232px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding-top: 0;
}

.timeline::before {
  top: 29px;
  right: 9%;
  bottom: auto;
  left: 9%;
  width: auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(101, 87, 255, 0.2), #6557ff, rgba(51, 183, 255, 0.18));
}

.step {
  min-height: 0;
  margin: 0;
  padding: 70px 14px 0;
  text-align: center;
}

.step span {
  left: 50%;
  top: 0;
  width: 58px;
  height: 58px;
  transform: translateX(-50%);
  font-size: 15px;
}

.step h3 {
  margin-bottom: 9px;
  font-size: 17px;
  line-height: 1.35;
}

.step p {
  font-size: 12px;
  line-height: 1.75;
}

.case-grid {
  max-width: 1120px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.case-grid p {
  min-height: 72px;
  padding: 16px 17px;
  font-size: 13px;
}

.contact .section-head {
  max-width: 780px;
  text-align: center;
}

.contact .section-head .section-title-with-icon {
  justify-content: center;
}

/* Give the USCIS panel a crisp surface so it does not dissolve into the globe image. */
.hero-updates {
  border-color: rgba(63, 87, 145, 0.28);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 66px rgba(42, 57, 104, 0.19), 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.hero-updates .update-card {
  border-color: rgba(63, 87, 145, 0.2);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 18px rgba(42, 57, 104, 0.045);
}

.hero-footsteps {
  display: none;
}

/* Keep the brand lockup on one measured axis across the home and inner pages. */
.hero-title-lockup {
  width: max-content;
  max-width: 100%;
  align-items: start;
  text-align: left;
}

.hero h1 {
  margin-left: -0.1em;
  letter-spacing: -0.085em;
  line-height: 0.98;
}

.hero h2 {
  margin: 5px 0 0;
  padding: 0;
  letter-spacing: -0.075em;
  line-height: 1.02;
}

.hero-actions {
  align-items: stretch;
  gap: 12px;
}

.hero-primary-cta,
.hero-secondary-cta {
  min-height: 48px;
  padding-inline: 22px;
}

/* Program pages use compact editorial cards instead of a large empty hero-to-content gap. */
.program-hero {
  min-height: 350px;
  padding: 104px 24px 48px;
}

.program-hero::before {
  inset: 78px 0 0;
  height: auto;
  opacity: 0.72;
}

.program-hero-inner {
  max-width: 1232px;
  text-align: left;
}

.program-hero-inner .back-link {
  justify-content: flex-start;
  margin-bottom: 22px;
}

.program-hero h1 {
  max-width: 1050px;
  font-size: clamp(42px, 6.6vw, 78px);
  letter-spacing: -0.075em;
  line-height: 1.06;
}

.program-content {
  max-width: 1280px;
  padding: 0 24px 86px;
}

.program-intro {
  max-width: 1232px;
  margin: 0 auto 20px;
  padding: 25px 30px;
  border-radius: 16px;
}

.program-intro p {
  font-size: 16px;
  line-height: 1.8;
}

.program-highlights {
  gap: 8px;
  margin-top: 18px;
}

.program-highlights span {
  padding: 8px 13px;
  font-size: 11px;
}

.content-grid {
  max-width: 1232px;
  gap: 16px;
}

.content-block {
  padding: 23px 25px 25px;
  border-radius: 14px;
}

.content-block-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}

.content-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid rgba(101, 87, 255, 0.18);
  border-radius: 11px;
  color: #5149bd;
  background: linear-gradient(135deg, rgba(224, 255, 246, 0.9), rgba(226, 222, 255, 0.9));
  font-size: 12px;
  font-weight: 900;
}

.content-block h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.content-block ul {
  gap: 10px;
}

.content-block li {
  padding-left: 17px;
  font-size: 13px;
  line-height: 1.75;
}

.content-block li::before {
  top: 0.78em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6557ff, #33b7ff);
  font-size: 0;
  line-height: 1;
}

.program-cta {
  max-width: 1232px;
  margin-top: 24px;
  padding: 23px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.program-cta p {
  margin: 0;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.6;
}

.program-cta a {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }

  .timeline::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 29px;
    width: 1px;
    height: auto;
    background: linear-gradient(var(--violet), rgba(51, 183, 255, 0.12), transparent);
  }

  .step {
    min-height: 98px;
    padding: 8px 12px 18px 84px;
    text-align: left;
  }

  .step span {
    left: 0;
    top: 0;
    transform: none;
  }

  .program-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 58px;
  }

  .section-head,
  .values .section-head,
  .moat .section-head,
  .promise .section-head,
  .process .section-head,
  .cases .section-head {
    margin-bottom: 26px;
  }

  .section-title-with-icon {
    gap: 10px;
  }

  .section-head-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 17px;
  }

  .about-approach {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 20px;
  }

  .about-approach-points {
    grid-column: auto;
    padding-top: 14px;
  }

  .about .big-line {
    margin-top: 34px;
  }

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

  .moat .panel {
    min-height: 0;
  }

  .program-hero {
    min-height: 310px;
    padding: 150px 18px 34px;
  }

  .program-content {
    padding-inline: 18px;
  }

  .program-intro,
  .content-block {
    padding: 20px;
  }

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

  .program-cta {
    padding: 21px;
  }
}

/* Narrow hero lockup: one left edge for the eyebrow, title, copy, and actions. */
@media (max-width: 920px) {
  .hero-content {
    width: 100%;
    max-width: 760px;
    margin: 0;
    text-align: left;
  }

  .hero-title-lockup {
    width: 100%;
    margin: 0;
    align-items: flex-start;
  }

  .hero .eyebrow,
  .hero-copy {
    text-align: left;
  }

  .hero .chips {
    justify-content: flex-start;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero .scroll-cue {
    margin-left: 0;
  }
}

/* Hero information hierarchy: strategy first, brand signature second, action last. */
.hero-title-lockup {
  width: 100%;
  max-width: 620px;
  gap: 0;
}

.hero-strategy-title {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  width: 100%;
  margin: 0;
  color: #14213d;
  font-size: clamp(30px, 3.55vw, 48px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1.16;
  white-space: nowrap;
}

.hero h1.hero-strategy-title {
  margin-left: 0;
  font-size: clamp(23px, 2.35vw, 32px);
  letter-spacing: -0.18em;
  line-height: 1.16;
  white-space: nowrap;
}

.hero-strategy-title span {
  color: transparent;
  background: linear-gradient(90deg, #14213d 0%, #5149bd 56%, #2f9cf4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-strategy-title i {
  margin-inline: 0.2em;
  color: #f7a649;
  font-style: normal;
  font-weight: 700;
}

.hero-brand-line {
  margin: 9px 0 0;
  padding: 0;
  color: transparent;
  background: linear-gradient(90deg, #2f9cf4, #6557ff 70%, #f7a649);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(22px, 2.45vw, 34px);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 1.16;
  white-space: nowrap;
}

.hero-brand-line b {
  color: #14213d;
  font-weight: 900;
}

.hero h2.hero-brand-line {
  margin: 9px 0 0;
  color: #14213d;
  background: none;
  -webkit-text-fill-color: #14213d;
  font-size: clamp(32px, 3.3vw, 46px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1.16;
  white-space: nowrap;
}

.hero-copy {
  max-width: 610px;
  margin-top: 29px;
  font-size: 18px;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .hero-title-lockup {
    max-width: 100%;
  }

  .hero-strategy-title {
    flex-wrap: wrap;
    font-size: clamp(29px, 7.8vw, 42px);
    line-height: 1.18;
    white-space: normal;
  }

  .hero h1.hero-strategy-title {
    font-size: clamp(21px, 4.8vw, 27px);
    letter-spacing: -0.18em;
    line-height: 1.18;
    white-space: normal;
  }

  .hero-strategy-title span {
    white-space: nowrap;
  }

  .hero-brand-line {
    font-size: clamp(22px, 6.8vw, 32px);
    white-space: normal;
  }

  .hero h2.hero-brand-line {
    font-size: clamp(27px, 7.1vw, 38px);
    white-space: normal;
  }
}

/* Final spacing pass for the homepage hierarchy and contact band. */
.hero h2.hero-brand-line {
  color: #273142;
  -webkit-text-fill-color: #273142;
  font-size: clamp(35px, 3.55vw, 49px);
  letter-spacing: -0.035em;
}

.hero-brand-line b {
  color: #273142;
}

.section-head {
  text-align: center;
}

.section-head .section-title-with-icon {
  justify-content: center;
}

.section-head p {
  margin-inline: auto;
}

.about-closing {
  max-width: 1232px;
  margin: 46px auto 0;
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  max-width: 920px;
  text-align: left;
}

.guide-tips {
  width: 280px;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(42, 57, 104, 0.1));
}

.about .big-line {
  max-width: none;
  margin: 0;
  text-align: left;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.3;
}

.assessment-preview-copy h2 {
  line-height: 1.28;
}

.contact-grid {
  max-width: 1232px;
  gap: 14px;
}

.contact-item {
  min-height: 176px;
  padding: 20px;
}

.contact-item-label {
  gap: 8px;
  font-size: 18px;
}

.contact-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 12px !important;
}

.contact-item p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
}

.wechat-qr-wrap {
  right: 16px;
  bottom: 13px;
}

.wechat-qr {
  width: 66px;
  height: 66px;
  padding: 3px;
  border-radius: 8px;
}

.wechat-qr-wrap figcaption {
  font-size: 8px;
}

.contact-email p {
  font-size: 14px;
  letter-spacing: 0.015em;
}

.contact-item-note {
  margin-top: 12px;
  font-size: 10px;
}

.golden-gate-icon {
  width: 82%;
  height: 54px;
  object-fit: contain;
  margin-top: 10px;
}

.contact-cta {
  width: 100%;
  max-width: 1232px;
  margin-top: 28px;
}

@media (max-width: 760px) {
  .contact-item {
    min-height: 176px;
  }

  .wechat-qr {
    width: 62px;
    height: 62px;
  }

  .about-closing {
    margin-top: 34px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }

  .guide-tips {
    width: 220px;
  }

  .about .big-line {
    text-align: center;
  }
}

/* Move the guide character into the assessment entry point. */
.assessment-preview-visual > img.assessment-agent {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 4px;
  z-index: 3;
  width: min(68.6%, 377px);
  opacity: 1;
  filter: drop-shadow(0 18px 26px rgba(42, 57, 104, 0.16));
  pointer-events: none;
  animation: assessment-agent-float 6.8s ease-in-out infinite;
}

.assessment-agent-bubble {
  position: absolute;
  top: 15%;
  left: 60%;
  right: auto;
  z-index: 5;
  padding: 11px 15px;
  border: 1px solid rgba(101, 87, 255, 0.16);
  border-radius: 14px;
  color: #5149bd;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(42, 57, 104, 0.12);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  white-space: nowrap;
  animation: assessment-bubble-float 6.8s ease-in-out infinite;
}

.assessment-agent-bubble::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -6px;
  width: 11px;
  height: 11px;
  border-right: 1px solid rgba(101, 87, 255, 0.16);
  border-bottom: 1px solid rgba(101, 87, 255, 0.16);
  background: rgba(255, 255, 255, 0.92);
  transform: rotate(45deg);
}

@keyframes assessment-agent-float {
  0%,
  100% {
    transform: translate(-50%, 3px) rotate(-1deg);
  }

  50% {
    transform: translate(-50%, -8px) rotate(1deg);
  }
}

@keyframes assessment-bubble-float {
  0%,
  100% {
    transform: translateY(1px);
  }

  50% {
    transform: translateY(-5px);
  }
}

@media (max-width: 900px) {
  .assessment-preview-visual > img.assessment-agent {
    width: min(59.4%, 328px);
    left: 50%;
  }

  .assessment-agent-bubble {
    left: 59%;
  }
}

@media (max-width: 640px) {
  .assessment-preview-visual > img.assessment-agent {
    width: min(62.7%, 290px);
    left: 50%;
    bottom: 2px;
  }

  .assessment-agent-bubble {
    top: 13%;
    left: 56%;
    padding: 9px 11px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .assessment-preview-visual > img.assessment-agent,
  .assessment-agent-bubble {
    animation: none;
  }
}

/* Icon cleanup: keep only functional signposts and draw them as light line icons. */
.panel-heading,
.promise-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.panel-heading h3,
.promise-heading h3 {
  margin: 0;
}

.panel-icon,
.promise-icon,
.case-icon,
.contact-item-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #5149bd;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: none;
}

.panel-icon {
  width: 34px;
  height: 34px;
  margin: 0;
  border: 1px solid rgba(81, 73, 189, 0.25);
  border-radius: 11px;
}

.promise-icon {
  width: 30px;
  height: 30px;
  margin: 0;
  border: 1px solid rgba(18, 109, 90, 0.22);
  border-radius: 50%;
  color: #126d5a;
  background: rgba(224, 255, 246, 0.68);
}

.panel-icon svg,
.promise-icon svg,
.case-icon svg,
.contact-item-icon svg {
  width: 19px;
  height: 19px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.case-icon {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(81, 73, 189, 0.2);
  border-radius: 9px;
}

.case-icon svg {
  width: 16px;
  height: 16px;
}

.contact-item-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(81, 73, 189, 0.2);
  border-radius: 8px;
  color: #5149bd !important;
  font-size: 0 !important;
}

.contact-item-icon svg {
  width: 16px;
  height: 16px;
}

.value span::before {
  display: none;
}

.panel li::before {
  content: "";
  top: 0.88em;
  width: 9px;
  height: 1px;
  border-radius: 99px;
  background: linear-gradient(90deg, #6557ff, #33b7ff);
  font-size: 0;
}

/* Give each information layer a little more breathing room. */
.section {
  padding-block: 92px;
}

.section-head {
  margin-bottom: 64px;
}

.values,
.moat,
.promise,
.process,
.cases {
  padding-block: 84px;
}

.values .section-head,
.moat .section-head,
.promise .section-head,
.process .section-head,
.cases .section-head {
  margin-bottom: 58px;
}

.about-approach {
  padding: 34px 38px;
  gap: clamp(32px, 5vw, 84px);
}

.about-closing {
  margin-top: 64px;
}

.assessment-preview {
  padding-block: 96px;
}

.moat .panel {
  min-height: 338px;
  padding: 30px 28px 32px;
}

.promise-card {
  min-height: 164px;
  padding: 26px 28px;
}

.case-grid p {
  min-height: 88px;
  padding: 20px 19px;
}

.timeline {
  gap: 22px;
}

.step p {
  line-height: 1.9;
}

@media (max-width: 640px) {
  .section {
    padding-block: 72px;
  }

  .values,
  .moat,
  .promise,
  .process,
  .cases,
  .assessment-preview {
    padding-block: 70px;
  }

  .section-head {
    margin-bottom: 46px;
  }

  .about-approach {
    padding: 28px 22px;
  }

  .about-closing {
    margin-top: 46px;
  }
}

/* The globe is the logo: keep it direct, crisp, and free of the old rounded frame. */
.brand img {
  width: 52px;
  height: 48px;
  flex: 0 0 52px;
  aspect-ratio: auto;
  object-fit: fill;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 2px 0 rgba(20, 33, 61, 0.26)) drop-shadow(0 6px 10px rgba(101, 87, 255, 0.16));
}

/* About closing: make the guide and statement one horizontal information group. */
.about-closing {
  margin-top: 44px;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 3vw, 38px);
  max-width: 920px;
  text-align: left;
}

.guide-tips {
  width: 240px;
}

.assessment-preview-copy {
  margin-left: clamp(18px, 3.5vw, 48px);
}

.contact-cta-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.human-assistant-avatar img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  transform: translateY(2px) scale(1.28);
}

/* Let the generated support character float directly on the page. */
.human-assistant-avatar {
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.human-assistant-avatar::before,
.human-assistant-avatar::after {
  display: none;
}

.human-assistant-avatar img {
  width: 94px;
  height: 94px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 8px 10px rgba(23, 27, 75, 0.15));
  transform: translateY(5px) scale(1.34);
}

.human-assistant:hover .human-assistant-avatar,
.human-assistant:focus-visible .human-assistant-avatar {
  box-shadow: none;
}

.about .big-line {
  text-align: left;
}

.hero-copy {
  display: grid;
  gap: 8px;
  line-height: 1.65;
}

.hero-copy span {
  display: block;
}

.hero-copy span:first-child {
  color: #273142;
  font-weight: 800;
  letter-spacing: 0.015em;
}

.hero-copy span:last-child {
  color: #556789;
}

.contact .closing + .contact-cta {
  margin-top: 44px;
}

@media (max-width: 640px) {
  .about-closing {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
    margin-top: 38px;
  }

  .assessment-preview-copy {
    margin-left: 0;
  }

  .about .big-line {
    text-align: center;
  }
}

/* Homepage assessment visual: stack the three steps on the left and keep the guide on the right. */
.assessment-preview-visual .route-card-one,
.assessment-preview-visual .route-card-two,
.assessment-preview-visual .route-card-three {
  left: 4%;
  right: auto;
  width: min(42%, 190px);
}

.assessment-preview-visual .route-card-one {
  top: 7%;
}

.assessment-preview-visual .route-card-two {
  top: 37%;
}

.assessment-preview-visual .route-card-three {
  bottom: 7%;
}

.assessment-preview-visual .assessment-route-line {
  display: none;
}

.assessment-preview-visual > img.assessment-agent {
  left: auto;
  right: 5%;
}

.assessment-preview-visual .assessment-agent-bubble {
  left: auto;
  right: 2%;
  top: 13%;
}

@keyframes assessment-agent-float-right {
  0%,
  100% {
    transform: translateY(3px) rotate(-1deg);
  }

  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

.assessment-preview-visual > img.assessment-agent {
  animation-name: assessment-agent-float-right;
}

@media (max-width: 900px) {
  .assessment-preview-visual .route-card-one,
  .assessment-preview-visual .route-card-two,
  .assessment-preview-visual .route-card-three {
    left: 2%;
    width: min(45%, 170px);
  }

  .assessment-preview-visual > img.assessment-agent {
    right: 0;
  }
}

/* Align the short dash with the first text line instead of the top of the line box. */
.panel li::before {
  top: 8px;
  width: 10px;
  height: 2px;
  transform: translateY(-50%);
}

/* Keep the strategy headline at the earlier natural scale. */
.hero h1.hero-strategy-title {
  font-size: clamp(23px, 2.35vw, 32px);
  letter-spacing: -0.18em;
  line-height: 1.16;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero h1.hero-strategy-title {
    font-size: clamp(21px, 4.8vw, 27px);
    letter-spacing: -0.18em;
    line-height: 1.18;
    white-space: normal;
  }
}

/* Restore the earlier compact, content-led hero rail. */
.hero h1.hero-strategy-title {
  max-width: 100%;
  flex-wrap: nowrap;
  letter-spacing: 0.04em;
  transform: translateX(0.2em);
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

/* Tighten the desktop navigation without changing the mobile navigation scale. */
@media (min-width: 981px) {
  .nav-links {
    gap: 27px;
    font-size: 11.2px;
  }
}

.hero-strategy-title span {
  min-width: 0;
  white-space: nowrap;
}

.hero-title-lockup {
  width: 100%;
  max-width: 620px;
}

.hero-strategy-title {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0;
  text-align: left;
  text-align-last: auto;
}

.hero-strategy-title span {
  display: block;
  min-width: 0;
  white-space: nowrap;
}

.hero h2.hero-brand-line {
  display: block;
  width: auto;
  text-align: left;
  text-align-last: auto;
}

.hero-brand-line span {
  display: inline;
  white-space: nowrap;
}

.hero .chips {
  width: auto;
  max-width: none;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .chips a {
  min-width: 86px;
  flex: 0 0 auto;
  padding-inline: 22px;
}

@media (max-width: 640px) {
  .hero-strategy-title,
  .hero h2.hero-brand-line {
    text-align: left;
    text-align-last: auto;
  }

  .hero-strategy-title {
    justify-content: flex-start;
    gap: 0;
  }

  .hero h1.hero-strategy-title {
    letter-spacing: 0.02em;
    transform: translateX(0.2em);
  }

  .hero h2.hero-brand-line {
    font-size: clamp(27px, 7.1vw, 38px);
  }

  .hero .chips {
    display: flex;
    width: 100%;
    grid-template-columns: none;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: clamp(6px, 2vw, 10px);
  }

  .hero .chips a {
    min-width: 0;
    width: auto;
    padding: 10px clamp(10px, 3vw, 14px);
    font-size: clamp(13px, 3.5vw, 16px);
    white-space: nowrap;
  }

  body.locale-en .hero .chips {
    flex-wrap: wrap;
  }
}

/* Section titles share the same blue–violet–orange visual language as the hero. */
.section-head h2 {
  color: transparent;
  background: linear-gradient(90deg, #2f9cf4 0%, #6557ff 58%, #f7a649 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Detail-page titles use the same compact gradient treatment as the homepage. */
.program-hero h1 {
  max-width: 1050px;
  color: transparent;
  background: linear-gradient(90deg, #2f9cf4 0%, #6557ff 58%, #f7a649 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(36px, 5.2vw, 62px);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

@media (max-width: 640px) {
  .program-hero h1 {
    font-size: clamp(32px, 9vw, 44px);
    letter-spacing: -0.055em;
  }
}

/* Let the service cards end with their content instead of reserving a tall empty base. */
.moat .panel {
  min-height: 0;
}

/* Treat the promise cards as a secondary layer inside the values section. */
.values-promise {
  max-width: 1232px;
  margin: 76px auto 0;
  padding-top: 64px;
  border-top: 1px solid rgba(91, 114, 159, 0.14);
}

.values-promise .section-head {
  justify-content: center;
  margin-bottom: 42px;
  text-align: center;
}

.values-promise .section-title-with-icon {
  justify-content: center;
}

.values-promise .promise-grid {
  max-width: none;
  gap: 16px;
}

@media (max-width: 640px) {
  .values-promise {
    margin-top: 54px;
    padding-top: 46px;
  }

  .values-promise .section-head {
    margin-bottom: 30px;
  }
}

/* EB1A prototype: one aligned hero card for the eyebrow, title, copy, and tags. */
body[data-program="eb1a"] .program-hero {
  min-height: 520px;
  padding: 108px 24px 58px;
}

body[data-program="eb1a"] .program-hero-inner {
  max-width: 1232px;
  padding: 30px 38px 36px;
  border: 1px solid rgba(91, 114, 159, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.82)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(42, 57, 104, 0.12);
  backdrop-filter: blur(12px);
}

body[data-program="eb1a"] .program-hero-inner .back-link {
  margin-bottom: 30px;
}

body[data-program="eb1a"] .program-hero-inner > .eyebrow {
  margin: 0 0 10px;
  color: #53627f;
  font-family: "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

body[data-program="eb1a"] .program-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(50px, 7.2vw, 84px);
  letter-spacing: -0.065em;
  line-height: 1.1;
}

body[data-program="eb1a"] .program-intro--hero {
  max-width: none;
  margin: 26px 0 0;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid rgba(91, 114, 159, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-program="eb1a"] .program-intro--hero p {
  max-width: 1080px;
  margin: 0;
  color: #52627e;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.85;
}

body[data-program="eb1a"] .program-intro--hero .program-highlights {
  justify-content: flex-start;
  gap: 10px;
  margin-top: 20px;
}

body[data-program="eb1a"] .program-content {
  padding-top: 24px;
}

@media (max-width: 640px) {
  body[data-program="eb1a"] .program-hero {
    min-height: 0;
    padding: 132px 18px 42px;
  }

  body[data-program="eb1a"] .program-hero-inner {
    padding: 24px 20px 26px;
    border-radius: 16px;
  }

  body[data-program="eb1a"] .program-hero-inner .back-link {
    margin-bottom: 24px;
  }

  body[data-program="eb1a"] .program-hero-inner > .eyebrow {
    font-size: 17px;
    letter-spacing: 0.04em;
  }

  body[data-program="eb1a"] .program-hero h1 {
    font-size: clamp(40px, 12vw, 58px);
    letter-spacing: -0.07em;
  }

body[data-program="eb1a"] .program-intro--hero {
    margin-top: 20px;
    padding-top: 20px;
  }
}

/* Influence page title: mirror the brand lockup's smaller navy-to-violet-to-cyan gradient. */
body[data-program="influence"] .program-hero h1 {
  max-width: 900px;
  color: transparent;
  background: linear-gradient(90deg, #14213d 0%, var(--violet) 52%, var(--cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(34px, 4.5vw, 54px);
  letter-spacing: -0.05em;
  line-height: 1.12;
}

/* EB1A hero: center the complete hierarchy and use the brand lockup gradient. */
body[data-program="eb1a"] .program-hero-inner {
  text-align: center;
}

body[data-program="eb1a"] .program-hero-inner .back-link {
  justify-content: center;
}

body[data-program="eb1a"] .program-hero-inner > .eyebrow {
  font-size: clamp(16px, 1.65vw, 21px);
  letter-spacing: 0.06em;
}

body[data-program="eb1a"] .program-hero h1 {
  max-width: 900px;
  margin-inline: auto;
  color: transparent;
  background: linear-gradient(90deg, #14213d 0%, var(--violet) 52%, var(--cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(34px, 4.6vw, 54px);
  letter-spacing: -0.05em;
  line-height: 1.12;
}

body[data-program="eb1a"] .program-intro--hero p {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.8;
}

body[data-program="eb1a"] .program-intro--hero .program-highlights {
  justify-content: center;
}

/* Apply the approved EB1A hero treatment to the other program detail pages. */
.program-page--unified .program-hero {
  min-height: 520px;
  padding: 108px 24px 58px;
}

.program-page--unified .program-hero-inner {
  max-width: 1232px;
  padding: 30px 38px 36px;
  text-align: center;
  border: 1px solid rgba(91, 114, 159, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.82)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(42, 57, 104, 0.12);
  backdrop-filter: blur(12px);
}

.program-page--unified .program-hero-inner .back-link {
  justify-content: center;
  margin-bottom: 30px;
}

.program-page--unified .program-hero h1 {
  max-width: 900px;
  margin-inline: auto;
  color: transparent;
  background: linear-gradient(90deg, #14213d 0%, var(--violet) 52%, var(--cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(34px, 4.6vw, 54px);
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.program-page--unified .program-intro--hero {
  max-width: none;
  margin: 26px 0 0;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid rgba(91, 114, 159, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.program-page--unified .program-intro--hero p {
  max-width: 980px;
  margin-inline: auto;
  color: #52627e;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.8;
}

.program-page--unified .program-intro--hero .program-highlights {
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.program-page--unified .program-content {
  padding-top: 24px;
}

@media (max-width: 640px) {
  .program-page--unified .program-hero {
    min-height: 0;
    padding: 132px 18px 42px;
  }

  .program-page--unified .program-hero-inner {
    padding: 24px 20px 26px;
    border-radius: 16px;
  }

  .program-page--unified .program-hero h1 {
    font-size: clamp(32px, 10vw, 48px);
  }

  .program-page--unified .program-intro--hero {
    margin-top: 20px;
    padding-top: 20px;
  }
}

/* Present the promise block as two centered lines below the value system. */
.values-promise .promise-grid {
  max-width: 900px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-inline: auto;
}

.values-promise {
  margin-top: 30px;
  padding-top: 0;
  border-top: 0;
}

.values-promise .promise-card {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.values-promise .promise-heading {
  flex: 0 0 auto;
  margin: 0;
}

.values-promise .promise-card h3,
.values-promise .promise-card p {
  margin: 0;
}

.values-promise .promise-card h3 {
  font-size: 16px;
  line-height: 1.6;
}

.values-promise .promise-card p {
  min-width: 0;
  flex: 0 1 auto;
  color: #586987;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .values-promise {
    margin-top: 24px;
  }

  .values-promise .promise-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .values-promise .promise-card {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px;
    padding-inline: 0;
  }

  .values-promise .promise-heading {
    justify-content: center;
  }

  .values-promise .promise-card p {
    flex: 0 1 auto;
    max-width: 250px;
    text-align: center;
  }
}
