.custom-solutions-page {
  background: #fff;
}

.custom-solutions-page .button {
  border-radius: 6px;
  box-shadow: none;
}

.custom-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 78%, #123a66 0, #081e38 30%, #040c18 64%),
    #040c18;
  color: #fff;
  padding: 105px 0 0;
}

.custom-hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

.custom-kicker,
.custom-section-label {
  color: #0868ed;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.custom-hero .custom-kicker {
  color: #84f0d4;
}

.custom-hero h1 {
  max-width: 20ch;
  margin: 20px auto 27px;
  font-size: clamp(48px, 5.7vw, 76px);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.custom-hero p {
  max-width: 790px;
  margin: 0 auto;
  color: #b8c8d9;
  font-size: 19px;
  line-height: 1.65;
}

.custom-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 34px;
}

.custom-text-link {
  color: #dcecff;
  font-size: 14px;
  font-weight: 700;
}

.custom-text-link::after {
  content: " →";
  color: #72e8ca;
}

.system-stage {
  position: relative;
  height: 590px;
  margin-top: 35px;
  perspective: 900px;
}

.system-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -24%;
  width: 72%;
  aspect-ratio: 1;
  transform: translateX(-50%) rotateX(72deg);
  border-radius: 50%;
  background: radial-gradient(circle, #7ef4d448 0 2%, #1678ed38 20%, transparent 64%);
  filter: blur(8px);
}

.system-grid {
  position: absolute;
  inset: 35px 7% 0;
  opacity: .28;
  transform: rotateX(63deg) translateY(80px);
  transform-origin: center bottom;
  background-image:
    linear-gradient(#6db7ef33 1px, transparent 1px),
    linear-gradient(90deg, #6db7ef33 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, #000 20%, transparent 72%);
}

.system-core {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 210px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #a7fff08a;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #9effe5, #168de7 35%, #071c3d 72%);
  box-shadow: inset -30px -30px 50px #020a18aa, 0 0 85px #37c8e55c;
}

.system-core::before,
.system-core::after {
  content: "";
  position: absolute;
  inset: -33px;
  border: 1px solid #8ceee466;
  border-radius: 50%;
}

.system-core::after {
  inset: -78px;
  border-color: #5f9edc52;
}

.system-core span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.system-core b {
  margin-top: 7px;
  color: #d7fff7;
  font-size: 11px;
  letter-spacing: .12em;
}

.system-orbit {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%) rotate(-18deg);
  width: 570px;
  height: 235px;
  border: 1px solid #84d8f55c;
  border-radius: 50%;
}

.system-orbit::after {
  content: "";
  position: absolute;
  width: 10px;
  aspect-ratio: 1;
  top: 30px;
  right: 64px;
  border-radius: 50%;
  background: #93ffe4;
  box-shadow: 0 0 22px #93ffe4;
}

.orbit-two {
  width: 415px;
  height: 415px;
  transform: translate(-50%, -50%) rotate(42deg);
}

.system-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 168px;
  padding: 12px 14px;
  border: 1px solid #7ba8d15c;
  border-radius: 8px;
  background: #0b2039c7;
  color: #dceaff;
  box-shadow: 0 16px 45px #0006;
  backdrop-filter: blur(14px);
}

.system-chip span {
  color: #77efd2;
  font-size: 12px;
  font-weight: 800;
}

.system-chip b {
  font-size: 13px;
}

.chip-data { left: 10%; top: 28%; }
.chip-model { right: 8%; top: 25%; }
.chip-output { left: 20%; bottom: 19%; }

.custom-section {
  padding-top: 125px;
  padding-bottom: 125px;
}

.custom-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 18px;
}

.custom-intro-grid h2,
.custom-heading-row h2,
.architecture-copy h2,
.principles-section > h2,
.custom-cta h2,
.rnd-copy h2 {
  margin: 0;
  font-size: clamp(40px, 4.8vw, 66px);
  line-height: .99;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.custom-intro-grid p,
.custom-heading-row > p,
.architecture-copy > p {
  margin: 0;
  color: #617287;
  font-size: 16px;
  line-height: 1.72;
}

.custom-intro-grid p {
  max-width: 690px;
  margin-left: auto;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 72px;
}

.capability-grid article {
  min-height: 330px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8ee;
  border-radius: 12px;
  background: #f7f9fb;
  transition: transform .25s ease, box-shadow .25s ease;
}

.capability-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px #1a38500d;
}

.capability-grid article > span {
  color: #52677c;
  font-size: 12px;
  font-weight: 700;
}

.capability-symbol {
  margin: 46px 0 auto;
  color: #0876ed;
  font-size: 52px;
  line-height: 1;
}

.capability-grid h3 {
  margin: 28px 0 10px;
  font-size: 23px;
  letter-spacing: -.04em;
}

.capability-grid p {
  margin: 0;
  color: #52677c;
  font-size: 14px;
  line-height: 1.62;
}

.rnd-band {
  overflow: hidden;
  background: #050d18;
  color: #fff;
}

.rnd-layout {
  min-height: 710px;
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(0, 1.22fr);
  gap: 80px;
  align-items: center;
}

.rnd-city {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #5c7e9c55;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 53px, #4a81aa2b 54px 55px),
    radial-gradient(circle at 50% 50%, #113958 0, #071625 58%, #050d18 74%);
  box-shadow: 0 0 100px #1883bd24;
}

.rnd-city::before,
.rnd-city::after {
  content: "";
  position: absolute;
  background: #7bdac78a;
}

.rnd-city::before { width: 1px; height: 82%; }
.rnd-city::after { width: 82%; height: 1px; }

.rnd-city strong {
  position: relative;
  z-index: 2;
  font-size: clamp(58px, 7vw, 94px);
  letter-spacing: -.07em;
}

.rnd-city span,
.rnd-city small {
  position: relative;
  z-index: 2;
  color: #7eb4ca;
  font-size: 12px;
  letter-spacing: .18em;
}

.rnd-city i {
  position: absolute;
  z-index: 3;
  width: 13px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #8ff8da;
  box-shadow: 0 0 28px #8ff8da;
}

.rnd-copy .custom-section-label { color: #7ff0d2; }

.rnd-copy h2 {
  margin: 18px 0 25px;
  font-size: clamp(38px, 3.8vw, 50px);
}

.rnd-copy > p {
  max-width: 650px;
  margin: 0;
  color: #adbdcc;
  font-size: 17px;
  line-height: 1.75;
}

.rnd-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid #ffffff24;
}

.rnd-meta span { display: flex; flex-direction: column; gap: 6px; }
.rnd-meta b { font-size: 14px; }
.rnd-meta small { color: #9eb0c1; font-size: 12px; }

.custom-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 50px;
  align-items: end;
}

.custom-heading-row h2 {
  margin-top: 14px;
  font-size: clamp(38px, 3.8vw, 52px);
  text-wrap: balance;
}

.custom-process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 70px;
  border-top: 1px solid #cfd9e1;
}

.custom-process article {
  position: relative;
  min-height: 270px;
  padding: 22px 20px 22px 0;
  border-right: 1px solid #dce4ea;
}

.custom-process article:not(:first-child) { padding-left: 20px; }
.custom-process article:last-child { border-right: 0; }
.custom-process span { color: #0868ed; font-size: 12px; font-weight: 800; }
.custom-process h3 { margin: 72px 0 13px; font-size: 19px; letter-spacing: -.035em; }
.custom-process p { margin: 0; color: #52677c; font-size: 14px; line-height: 1.65; }

.case-band { background: #f2f5f7; }
.case-heading { margin-bottom: 72px; }

.case-study {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 610px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 25px 70px #16334d0e;
}

.case-study.reverse { grid-template-columns: 1.08fr .92fr; }
.case-study.reverse .case-image { order: 2; }
.case-study.reverse .case-copy { order: 1; }

.case-image { min-width: 0; overflow: hidden; }
.case-image img { width: 100%; height: 100%; display: block; object-fit: cover; }

.case-copy {
  padding: clamp(44px, 6vw, 78px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-number { color: #52677c; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.case-copy .custom-section-label { margin-top: 32px; }
.case-copy h3 { margin: 16px 0 23px; font-size: clamp(36px, 3.7vw, 50px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.case-copy > p { margin: 0; color: #617386; font-size: 15px; line-height: 1.72; }
.case-copy ul { margin: 28px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid #e0e6eb; }
.case-copy li { position: relative; padding: 8px 0 8px 20px; color: #354b5f; font-size: 13px; line-height: 1.5; }
.case-copy li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; aspect-ratio: 1; border-radius: 50%; background: #1684ec; }

.architecture-band {
  color: #fff;
  background: linear-gradient(135deg, #071b31, #0a2d51);
}

.architecture-layout {
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  gap: 80px;
  align-items: center;
}

.architecture-copy .custom-section-label { color: #79efd1; }
.architecture-copy h2 { margin: 16px 0 24px; }
.architecture-copy > p { color: #aebfd0; }

.architecture-flow {
  overflow: hidden;
  border: 1px solid #ffffff25;
  border-radius: 12px;
  background: #ffffff09;
}

.architecture-flow article {
  display: grid;
  grid-template-columns: 44px 1fr 1.2fr;
  gap: 17px;
  align-items: center;
  padding: 23px 25px;
  border-bottom: 1px solid #ffffff1c;
}

.architecture-flow article:last-child { border-bottom: 0; }
.architecture-flow span { color: #7cefd2; font-size: 12px; font-weight: 800; }
.architecture-flow h3 { margin: 0; font-size: 17px; }
.architecture-flow p { margin: 0; color: #aebfd0; font-size: 13px; line-height: 1.55; }

.principles-section > h2 {
  margin-top: 16px;
  font-size: clamp(42px, 4.8vw, 65px);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 65px;
}

.principles-grid article {
  min-height: 275px;
  padding: 25px;
  border-top: 2px solid #122b43;
  background: #f7f9fb;
}

.principles-grid b { color: #0868ed; font-size: 12px; }
.principles-grid h3 { margin: 78px 0 12px; font-size: 21px; letter-spacing: -.035em; }
.principles-grid p { margin: 0; color: #52677c; font-size: 14px; line-height: 1.65; }

.custom-cta {
  margin-top: 15px;
  margin-bottom: 100px;
  padding: 70px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  border-radius: 16px;
  background: radial-gradient(circle at 86% 15%, #aaf4e4 0, #d8f7ee 19%, transparent 43%), linear-gradient(135deg, #e6f1ff, #f7fbff);
}

.custom-cta h2 { margin: 16px 0; font-size: clamp(39px, 4.5vw, 61px); }
.custom-cta p { max-width: 670px; margin: 0; color: #607287; line-height: 1.65; }
.custom-cta .button { flex: 0 0 auto; }

:lang(zh-cn) .custom-hero h1,
:lang(zh-tw) .custom-hero h1 { letter-spacing: 0; line-height: 1.08; }

:lang(th) .custom-hero h1 { font-size: clamp(38px, 4.2vw, 54px); letter-spacing: 0; line-height: 1.12; }
:lang(ms) .custom-hero h1 { font-size: clamp(43px, 4.8vw, 64px); }
:lang(ms) .rnd-copy h2 { font-size: clamp(35px, 3.35vw, 44px); }
:lang(th) .rnd-copy h2 { font-size: clamp(34px, 3.2vw, 42px); line-height: 1.14; }
:lang(ms) .case-copy h3 { font-size: clamp(34px, 3.3vw, 44px); }
:lang(th) .case-copy h3 { font-size: clamp(33px, 3.15vw, 42px); line-height: 1.14; }
:lang(ms) .architecture-copy h2 { font-size: clamp(36px, 4vw, 52px); }
:lang(th) .architecture-copy h2 { font-size: clamp(34px, 3.7vw, 48px); line-height: 1.14; }
:lang(th) .custom-section-label { letter-spacing: .06em; }
:lang(th) .custom-heading-row h2 { font-size: clamp(33px, 3.2vw, 42px); }
:lang(th) .case-copy > p,
:lang(th) .custom-intro-grid p,
:lang(th) .rnd-copy > p { line-height: 1.85; }

@media (max-width: 980px) {
  .capability-grid,
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .custom-process { grid-template-columns: repeat(3, 1fr); }
  .custom-process article:nth-child(3) { border-right: 0; }
  .rnd-layout { grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 45px; }
  .case-study,
  .case-study.reverse { grid-template-columns: 1fr; }
  .case-study.reverse .case-image,
  .case-study.reverse .case-copy { order: initial; }
  .case-image { aspect-ratio: 16 / 9; }
  .architecture-layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 780px) {
  .custom-hero { padding-top: 70px; }
  .custom-hero h1,
  :lang(th) .custom-hero h1,
  :lang(ms) .custom-hero h1 { max-width: 18ch; font-size: clamp(40px, 11.5vw, 54px); white-space: normal; }
  .custom-hero p { font-size: 17px; }
  .custom-hero-actions { flex-direction: column; gap: 18px; }
  .system-stage { height: 460px; margin-top: 28px; }
  .system-core { width: 150px; }
  .system-orbit { width: 340px; height: 170px; }
  .orbit-two { width: 285px; height: 285px; }
  .system-chip { min-width: 0; padding: 10px; }
  .system-chip b { font-size: 11px; }
  .chip-data { left: 1%; top: 25%; }
  .chip-model { right: 1%; top: 22%; }
  .chip-output { left: 5%; bottom: 16%; }
  .custom-section { padding-top: 82px; padding-bottom: 82px; }
  .custom-intro-grid,
  .custom-heading-row,
  .rnd-layout { grid-template-columns: 1fr; gap: 30px; }
  .custom-intro-grid h2,
  .custom-heading-row h2,
  .architecture-copy h2,
  .principles-section > h2,
  .custom-cta h2,
  .rnd-copy h2 { font-size: clamp(37px, 10vw, 51px); }
  .custom-heading-row h2 { white-space: normal; }
  .custom-intro-grid p { margin-left: 0; }
  .capability-grid,
  .principles-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 285px; }
  .rnd-layout { padding-top: 80px; padding-bottom: 82px; }
  .rnd-city { width: min(420px, 100%); margin: auto; }
  .rnd-copy { padding-bottom: 20px; }
  .custom-process { grid-template-columns: 1fr; }
  .custom-process article,
  .custom-process article:not(:first-child) { min-height: 0; padding: 22px 0 28px; border-right: 0; border-bottom: 1px solid #dce4ea; }
  .custom-process h3 { margin-top: 32px; }
  .case-heading { margin-bottom: 45px; }
  .case-study { border-radius: 12px; }
  .case-copy { padding: 36px 25px 42px; }
  .case-copy h3 { font-size: 40px; }
  .architecture-flow article { grid-template-columns: 34px 1fr; }
  .architecture-flow p { grid-column: 2; }
  .custom-cta { margin-bottom: 70px; padding: 38px 28px; display: block; }
  .custom-cta .button { margin-top: 28px; }
}

@media (max-width: 560px) {
  .custom-hero h1,
  :lang(ms) .custom-hero h1,
  :lang(th) .custom-hero h1 { font-size: clamp(37px, 10.8vw, 47px); }
  .custom-intro-grid h2,
  .custom-heading-row h2,
  .architecture-copy h2,
  .principles-section > h2,
  .custom-cta h2,
  .rnd-copy h2,
  :lang(ms) .rnd-copy h2,
  :lang(th) .rnd-copy h2,
  :lang(ms) .architecture-copy h2,
  :lang(th) .architecture-copy h2 { font-size: clamp(32px, 8.8vw, 41px); }
  .case-copy h3,
  :lang(ms) .case-copy h3,
  :lang(th) .case-copy h3 { font-size: clamp(31px, 8.5vw, 39px); }
}

@media (prefers-reduced-motion: reduce) {
  .custom-solutions-page *,
  .custom-solutions-page *::before,
  .custom-solutions-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Locale resilience for long custom-solution terminology. */
:where(:lang(vi),:lang(id),:lang(fil),:lang(tet)) .custom-hero h1 { font-size: clamp(41px, 4.4vw, 58px); }
:where(:lang(lo),:lang(my),:lang(km)) .custom-hero h1 { font-size: clamp(37px, 4vw, 51px); }
:where(:lang(vi),:lang(id),:lang(fil),:lang(tet)) :is(.rnd-copy h2,.architecture-copy h2,.custom-heading-row h2,.custom-intro-grid h2,.principles-section>h2,.custom-cta h2) { font-size: clamp(33px, 3.2vw, 43px); }
:where(:lang(lo),:lang(my),:lang(km)) :is(.rnd-copy h2,.architecture-copy h2,.custom-heading-row h2,.custom-intro-grid h2,.principles-section>h2,.custom-cta h2) { font-size: clamp(30px, 2.9vw, 39px); }
:where(:lang(vi),:lang(id),:lang(fil),:lang(tet)) .case-copy h3 { font-size: clamp(32px, 3.1vw, 42px); }
:where(:lang(lo),:lang(my),:lang(km)) .case-copy h3 { font-size: clamp(29px, 2.8vw, 38px); }
:where(:lang(vi),:lang(id),:lang(fil),:lang(tet),:lang(lo),:lang(my),:lang(km)) .system-chip {
  min-width: 150px;
  max-width: 220px;
}
:where(:lang(vi),:lang(id),:lang(fil),:lang(tet),:lang(lo),:lang(my),:lang(km)) :is(.system-chip b,.system-core span,.system-core b) {
  letter-spacing: .04em;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: center;
  word-break: normal;
}
:where(:lang(lo),:lang(my),:lang(km)) :is(.system-chip b,.system-core span,.system-core b) { letter-spacing: 0; }

@media (max-width: 780px) {
  :where(:lang(vi),:lang(id),:lang(fil),:lang(tet)) .custom-hero h1 { max-width: 20ch; font-size: clamp(37px, 10.4vw, 49px); }
  :where(:lang(lo),:lang(my),:lang(km)) .custom-hero h1 { max-width: 22ch; font-size: clamp(34px, 9.5vw, 44px); }
  :where(:lang(vi),:lang(id),:lang(fil),:lang(tet),:lang(lo),:lang(my),:lang(km)) .system-chip { max-width: 160px; }
}
@media (max-width: 560px) {
  :where(:lang(vi),:lang(id),:lang(fil),:lang(tet),:lang(lo),:lang(my),:lang(km)) :is(.rnd-copy h2,.architecture-copy h2,.custom-heading-row h2,.custom-intro-grid h2,.principles-section>h2,.custom-cta h2) { font-size: clamp(29px, 8.1vw, 37px); }
  :where(:lang(vi),:lang(id),:lang(fil),:lang(tet),:lang(lo),:lang(my),:lang(km)) .case-copy h3 { font-size: clamp(28px, 7.8vw, 35px); }
}
