/* Home proportions follow the 846 × 1859 approved mobile composition. */
:root {
  --discover-width: 100%;
  --tab-height: clamp(48px, 12.4vw, 64px);
  --tab-inset: clamp(8px, 2.4vw, 14px);
  --tab-space: calc(var(--tab-height) + var(--tab-inset) + env(safe-area-inset-bottom));
}
@media (min-width: 600px) {
  :root { --discover-width: clamp(460px, 55dvh, 620px); }
}

body { padding-bottom: calc(var(--tab-space) + 8px); }
body[data-view="home"] { background: #f3f6fc; }
.discover-home {
  --ink: #081637;
  --link: #104fe8;
  --card-surface: linear-gradient(115deg, #fbfcff, #e9f0fc);
  --card-shadow: 0 1px 2px #2c47781a, 0 4px 11px #2b467915;
  container-type: inline-size;
  width: min(100%, var(--discover-width));
  min-height: calc(100dvh - var(--tab-space) - 8px);
  margin-inline: auto;
  padding: env(safe-area-inset-top) 0 1px;
  background: linear-gradient(115deg, #fbfcff, #f2f6fd 76%, #f7f9fd);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
.discover-home :is(h1,h2,h3,p) { margin: 0; }
.discover-home a { color: inherit; text-decoration: none; }
.discover-home button, .discover-event-list button, .discover-topic-list button {
  padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: inherit; cursor: pointer;
}
.discover-home img, .discover-media-card img, .discover-feature img { display: block; }
.discover-home :is(a,button):focus-visible, .discover-dialog :is(a,button):focus-visible {
  outline: 2px solid #2267fc; outline-offset: 2px;
}
.discover-home [hidden] { display: none; }

.discover-mast {
  display: flex; align-items: center; justify-content: space-between; gap: 1cqw;
  min-height: 12.1cqw; padding-inline: 6.1cqw 3.8cqw;
}
.discover-brand { display: flex; align-items: center; min-width: 0; gap: 3.55cqw; }
.discover-brand > img { width: 20.55cqw; height: auto; flex: none; }
.discover-brand__copy {
  min-width: 0;
  padding: .3cqw 0 .3cqw 3.05cqw; border-left: 1px solid #34446b;
  font-size: clamp(12.5px,4cqw,16px); line-height: 1.3; letter-spacing: .02em;
}
.discover-brand__slogan { width: 9.18em; max-width: 100%; height: auto; }
html:not(:lang(en)) .discover-brand__copy strong {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.discover-brand__copy strong { font-weight: 750; }
html:lang(en) .discover-brand__slogan { display: none; }
.discover-tools { display: flex; align-items: center; gap: 1.2cqw; }
.discover-tools a { display: grid; width: 8.45cqw; min-height: 42px; place-items: center; }
.discover-tools .connect-icon { font-size: max(19px,5.15cqw); }
.discover-tools .discover-language {
  display: inline-flex; flex: none; align-items: center; justify-content: center;
  width: 50px; min-height: 44px; gap: 3px; border-radius: 8px; font-size: 13px; line-height: 1;
}
.discover-tools .discover-language [data-language] { color: #526276; font-weight: 400; }
.discover-tools .discover-language:not(.is-english) [data-language="zh"],
.discover-tools .discover-language.is-english [data-language="en"] { color: #104fe8; font-weight: 650; }
.discover-tools .discover-language i { color: #8191aa; }
.discover-tools .discover-language:hover { background: #e7eefb; }

.discover-hero {
  position: relative; isolation: isolate; overflow: hidden;
  width: calc(100% - 4.2cqw); max-width: calc(100% - 4.2cqw); min-width: 0;
  margin-inline: 2.1cqw; aspect-ratio: 809 / 317; border-radius: 2.9cqw;
  background: #06295a; color: white; box-shadow: var(--card-shadow); touch-action: pan-y pinch-zoom;
}
.discover-slide, .discover-slide > img, .discover-slide__picture, .discover-slide__picture > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.discover-slide > img, .discover-slide__picture > img { object-fit: cover; }
.discover-slide__copy { position: relative; margin: 4.8cqw 5.55cqw 0; overflow-wrap: anywhere; }
.discover-kicker {
  display: flex; width: fit-content; max-width: 100%; align-items: center; padding: .4cqw 1.75cqw; border-radius: 100px;
  background: #bce934; color: #142700; font-size: 2.72cqw; font-weight: 710; line-height: 1.4;
}
.discover-slide__copy :is(h1,h2) {
  margin-top: .9cqw; color: white; font-size: 6.12cqw; font-weight: 780; line-height: 1.1; letter-spacing: -.035em;
}
.discover-banner-line { display: block; }
.discover-slide--product-title .discover-slide__copy :is(h1,h2) { max-width: 60%; }
.discover-slide--product-title .discover-banner-line:nth-child(2) {
  margin-top: .18em; font-size: .68em; line-height: 1.25; letter-spacing: -.015em;
}
.discover-slide__copy p { margin-top: 1cqw; font-size: 2.65cqw; line-height: 1.35; }
.discover-home .discover-hero-cta, .discover-home .discover-consult-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 1.3cqw; min-height: 6.45cqw;
  margin-top: 2.95cqw; padding: .2cqw 3.55cqw; border-radius: 100px; color: #101e40;
  background: #fcfdff; font-size: 2.9cqw; font-weight: 680; line-height: 1.25;
}
.discover-hero-cta .connect-icon, .discover-consult-cta .connect-icon { font-size: 3cqw; }
.discover-home .discover-hero-cta { max-width: 100%; }
.discover-slide--poster { background: #deebf8; }
.discover-slide--poster > img, .discover-slide--poster .discover-slide__picture > img { object-fit: contain; }
.discover-slide--poster .discover-slide__copy { position: static; margin: 0; }
.discover-slide--poster .discover-slide__copy :is(h1,h2,p) {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.discover-slide--poster .discover-kicker {
  position: absolute; top: 2.2cqw; right: 2.8cqw; font-size: max(11px, 2.72cqw);
}
.discover-home .discover-slide--poster .discover-hero-cta {
  position: absolute; right: 3.1cqw; bottom: 5.8cqw; min-height: 28px;
  margin-top: 0; font-size: max(11px, 2.9cqw);
}
.discover-slide--recap { isolation: isolate; background: #071f46; }
.discover-slide--recap > img { z-index: 0; object-position: center -35% !important; }
.discover-slide--recap::before {
  content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #041b3c66, #041b3c00 75%), linear-gradient(180deg, #071f46fa 0%, #071f46d9 36%, #071f4633 65%, transparent 82%);
}
.discover-slide--recap .discover-slide__copy { z-index: 2; margin: 2.8cqw 4.5cqw 0; }
.discover-slide--recap .discover-kicker { font-size: max(11px, 2.72cqw); }
.discover-slide--recap .discover-slide__copy :is(h1,h2) {
  max-width: 72%; margin-top: 1cqw; font-size: clamp(17px, 4.8cqw, 26px); line-height: 1.12; letter-spacing: -.02em;
}
.discover-slide--recap .discover-banner-description {
  position: absolute; top: .45cqw; left: 24cqw; margin: 0;
  font-size: max(11px, 2.3cqw); line-height: 1.4; white-space: nowrap;
}
.discover-home .discover-slide--recap .discover-hero-cta {
  position: absolute; top: -5px; right: -1.4cqw; min-height: 28px;
  margin: 0; font-size: max(11px, 2.9cqw);
}
@media (max-width: 359px) {
  html:lang(en) .discover-slide--recap .discover-hero-cta { padding-inline: 2.3cqw; }
}
.discover-hero-cta > span { min-width: 0; white-space: normal; }
.discover-hero-cta .connect-icon { flex: none; }
.discover-dots { position: absolute; left: 50%; bottom: 0; display: flex; max-width: 88%; overflow-x: auto; scrollbar-width: none; transform: translateX(-50%); }
.discover-dots::-webkit-scrollbar { display: none; }
.discover-dots button { display: grid; place-items: center; min-width: 3.65cqw; height: 3.7cqw; padding: 0 .7cqw; }
.discover-dots button::after { content: ""; width: 1.65cqw; height: 1.65cqw; border-radius: 100px; background: #dce6f6cf; }
.discover-dots button[aria-current="true"]::after { width: 5.55cqw; background: white; }
.discover-banner-status { display: grid; height: 100%; margin: 0; align-content: center; justify-items: center; gap: 12px; padding: 16px; color: white; font-size: 14px; text-align: center; }
.discover-home .discover-banner-retry { min-height: 36px; padding: 6px 16px; border: 1px solid #b9cde8; border-radius: 100px; color: white; }
#bannerDetailBody p + p { margin-top: 12px; }

.discover-quick {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: start;
  margin: 3.65cqw 3.55cqw 0;
}
.discover-quick :is(button,a) {
  display: flex; flex-direction: column; align-items: center; gap: 1.25cqw;
  font-size: max(12px,3.25cqw); line-height: 1.26; font-weight: 710;
}
.discover-quick-icon {
  display: grid; flex: none; place-items: center;
  width: 9.15cqw; aspect-ratio: 58 / 55; border-radius: 2.25cqw;
  color: #fff;
}
.discover-quick-icon--products,
.discover-quick-icon--feedback {
  background: linear-gradient(145deg, #83caff 0%, #4a9bff 45%, #2469ed 100%);
  box-shadow: 0 .3cqw .7cqw #286ed524;
}
.discover-quick-icon--ai {
  background: linear-gradient(145deg, #9780e8 0%, #8b70ef 45%, #7052df 100%);
  box-shadow: 0 .3cqw .7cqw #6356bd24;
}
.discover-quick-icon--events {
  background: linear-gradient(145deg, #a6df76 0%, #75cc55 45%, #43ac48 100%);
  box-shadow: 0 .3cqw .7cqw #429b3624;
}
.discover-quick-glyph { display: block; width: 5.4cqw; height: 5.4cqw; }
.discover-section { margin-inline: 2.9cqw; }
.discover-picks { margin-top: 6.5cqw; }
.discover-heading { display: flex; justify-content: space-between; align-items: center; gap: 1.1cqw; }
.discover-heading h2 {
  display: flex; align-items: center; gap: 1.95cqw; padding-left: .45cqw;
  font-size: max(16px,4.26cqw); line-height: 1.2; font-weight: 780; letter-spacing: -.025em;
}
.discover-heading h2::before { content: ""; width: 1.15cqw; height: 1em; flex: none; border-radius: 8px; background: #155bff; }
.discover-heading :is(a,button) {
  display: inline-flex; align-items: center; gap: .65cqw; min-height: max(22px,5.1cqw);
  color: var(--link); font-size: max(12px,3.12cqw); line-height: 1.25; font-weight: 630;
}
.discover-heading .connect-icon { font-size: 2.85cqw; }

.discover-home .discover-media-card, .discover-event-list .discover-media-card {
  position: relative; display: grid; width: 100%; align-items: stretch; overflow: hidden;
  margin-top: 2.15cqw; border: 1px solid #d9e4f6; border-radius: 2.8cqw;
  background: var(--card-surface, #eef3fc); box-shadow: var(--card-shadow, 0 3px 10px #273c7217);
  color: #0b1532; text-align: left;
}
.discover-media-card__image { position: relative; display: block; align-self: stretch; min-width: 0; overflow: hidden; }
.discover-media-card__image > img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.discover-media-card__body {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0;
  padding: 2.75cqw 2.8cqw 2.75cqw 3.05cqw;
}
.discover-media-card__label {
  padding: .55cqw 1.4cqw; border-radius: 1cqw; background: #d5e6ff; color: #13356a;
  font-size: max(10px,2.5cqw); font-weight: 640; line-height: 1.25;
}
.discover-media-card strong {
  margin-top: 1.3cqw; font-size: max(15px,3.78cqw); line-height: 1.26; font-weight: 740; letter-spacing: -.025em;
}
.discover-media-card strong > span { display: block; }
.discover-pick { grid-template-columns: 55.7% 1fr; min-height: 26.55cqw; }
.discover-pick .discover-media-card__body { padding-right: 5cqw; justify-content: flex-start; }
html:lang(zh) .discover-pick strong { max-inline-size: 8.5em; }
.discover-pick > .connect-icon {
  position: absolute; right: 1.3cqw; top: 50%; transform: translateY(-50%); font-size: 3cqw; color: #485774;
}
.discover-feature__runtime {
  position: absolute; right: 1.6cqw; bottom: 1.45cqw; padding: .65cqw 1.2cqw;
  border-radius: 100px; background: #101929df; color: #fff; font-size: max(9px,2.16cqw); line-height: 1.2;
}
.discover-feature__runtime > span { font-size: .8em; }

.discover-advisor {
  margin: 3.1cqw 2.4cqw 0; padding: 2.7cqw 4.95cqw 2.15cqw;
  min-height: 23.6cqw; border-radius: 2.9cqw; border: 1px solid #d8e3f4;
  background: #e5ecff url("/discover/advisor-spheres.webp") center / cover no-repeat; box-shadow: var(--card-shadow);
}
.discover-advisor h2 { display: flex; align-items: center; gap: 1.5cqw; font-size: 4.65cqw; font-weight: 750; line-height: 1.25; }
.discover-advisor h2 img { width: 5.35cqw; height: auto; }
.discover-advisor p { margin-top: 1.05cqw; font-size: max(11px,2.95cqw); color: #334164; line-height: 1.3; }
.discover-home .discover-consult-cta { margin-top: 1.75cqw; min-height: 6.55cqw; }
.discover-industries { margin-top: 3.65cqw; }
.discover-industry-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.55cqw; margin-top: 1.85cqw; }
.discover-industry-grid button {
  position: relative; overflow: hidden; aspect-ratio: 391 / 172; border-radius: 2.1cqw; background: #24384c;
  box-shadow: 0 2px 6px #283f6414;
}
.discover-industry-grid img { width: 100%; height: 100%; object-fit: cover; }
.discover-industry-grid button > span {
  position: absolute; inset: auto 0 0; padding: 2.6cqw 3.2cqw 1.6cqw;
  color: white; background: linear-gradient(transparent,#0c182b80);
  font-size: max(12px,3.28cqw); font-weight: 710; line-height: 1.25; text-align: left;
}
.discover-agenda { margin-top: 3.65cqw; margin-bottom: .7cqw; }
.discover-recap { grid-template-columns: 49.7% 1fr; min-height: 26.15cqw; }
.discover-recap .discover-media-card__body { padding: 2cqw 1.6cqw 2cqw 4.3cqw; }
.discover-recap strong { font-size: max(15px,4.22cqw); }
.discover-media-card__link {
  display: inline-flex; align-items: center; gap: 1.1cqw; margin-top: 1.6cqw;
  color: #536485; font-size: max(11px,2.65cqw); font-weight: 600;
}
.discover-event-list { max-width: 540px; container-type: inline-size; }

.discover-tabs {
  right: 0; left: 0; bottom: calc(var(--tab-inset) + env(safe-area-inset-bottom));
  width: calc(min(100%,var(--discover-width)) - clamp(22px,6.2vw,32px));
  margin-inline: auto; padding: 0; border: 1px solid #ffffffdb; border-radius: 100px;
  background: #fffffff2; box-shadow: 0 6px 20px #223b631f, 0 1px 4px #2540670d;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.discover-tabs .connect-tabs__inner { width: 100%; padding-inline: 1.3%; }
.discover-tabs a {
  position: relative; min-height: calc(var(--tab-height) - 2px); gap: 2px; padding: 5px 1px;
  border-radius: 100px; color: #667087; font-size: clamp(11px,2.8vw,14px); font-weight: 570;
  text-align: center; line-height: 1.2;
}
.discover-tabs .discover-tab-icon, .discover-tabs a .connect-icon {
  display: block; width: clamp(21px,4.9vw,26px); height: clamp(21px,4.9vw,26px); flex: none;
}
.discover-tab-icon { background: currentColor; mask: var(--tab-icon) center / contain no-repeat; }
.discover-tabs a[href="#home"] { --tab-icon: url("/discover/nav-home.webp"); }
.discover-tabs a[href="#consult"] { --tab-icon: url("/discover/nav-advisor.webp"); }
.discover-tabs a[href="#events"] { --tab-icon: url("/discover/nav-events.webp"); }
.discover-tabs a.is-current { color: #145dff; font-weight: 690; }
.discover-tabs .is-current::after {
  content: ""; position: absolute; top: 3px; left: 36%; right: 36%; height: 2px;
  background: #2263ff; border-radius: 5px;
}
body[data-view="consult"] { --advisor-tabs-height: calc(var(--tab-space) + 6px); }
body[data-view="consult"] .discover-tabs {
  top: calc(var(--advisor-viewport-top, 0px) + var(--advisor-viewport-height,100dvh) - var(--tab-space));
  bottom: auto;
}

.discover-dialog {
  width: min(92vw,410px); padding: 26px 22px 22px; border: 1px solid #d9e4f5; border-radius: 18px;
  background: #fcfdff; color: #101e3f; box-shadow: 0 18px 70px #0d255b3d;
  max-height: min(84dvh, 760px); overscroll-behavior: contain;
}
.discover-dialog::backdrop { background-color: #10204066; }
.discover-dialog form { position: sticky; top: 0; z-index: 1; float: right; margin: -10px -7px 0 8px; }
.discover-dialog form button { width: 36px; height: 36px; border: 0; border-radius: 50%; color: #465574; background: #eaf0f9; font: 22px/1 sans-serif; cursor: pointer; }
.discover-dialog h2 { margin: 0 0 10px; font-size: 20px; line-height: 1.4; }
.discover-dialog p { color: #455574; font-size: 14px; line-height: 1.65; }
#discoverDialogActions { display: flex; flex-wrap: wrap; gap: 9px; }
#discoverDialogActions :is(a,button) { text-decoration: none; cursor: pointer; }
.discover-dialog.is-application-directory { width: min(94vw,480px); }
.is-application-directory #discoverDialogActions { display: grid; gap: 20px; }
.discover-application-group h3 { margin: 0 0 8px; color: #5d6b84; font-size: 13px; font-weight: 600; }
.discover-application-group > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.discover-application-group button {
  min-width: 0; min-height: 44px; padding: 9px 10px; border: 1px solid #d9e4f5; border-radius: 10px;
  background: #f0f5fc; color: #173d75; text-align: left; font: inherit; font-size: 14px;
  line-height: 1.35; cursor: pointer;
}
.discover-application-group button:hover { border-color: #91b6f8; background: #e6effd; }
.discover-topics { container-type: inline-size; }
.discover-topic-list { display: grid; gap: 16px; }
.discover-topic-list .discover-feature { display: grid; grid-template-columns: 34% 1fr; align-items: end; column-gap: 16px; }
.discover-topic-list .discover-feature__photo { position: relative; grid-row: span 2; overflow: hidden; border-radius: 10px; }
.discover-topic-list .discover-feature__photo img { width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; }
.discover-topic-list .discover-feature__tag, .discover-topic-list .discover-feature__runtime { font-size: 10px; padding: 3px 5px; }
.discover-topic-list .discover-feature__tag {
  position: absolute; top: 6px; left: 6px; color: #193555; background: #e4ecf4e8; border-radius: 5px;
}
.discover-topic-list .discover-feature strong { font-size: 16px; line-height: 1.3; }
.discover-topic-list .discover-feature small { align-self: start; padding-top: 5px; color: #455570; font-size: 12px; }

html:lang(en) .discover-brand__copy { font-size: max(10px,2.65cqw); line-height: 1.15; letter-spacing: -.025em; }
html:lang(en) .discover-slide__copy :is(h1,h2) { font-size: 4.8cqw; }
html:lang(en) .discover-quick :is(a,button) { font-size: max(11px,2.5cqw); }
html:lang(en) .discover-media-card strong { font-size: max(13px,3.45cqw); }
html:lang(en) .discover-industry-grid button > span { font-size: max(11px,2.8cqw); }
@media (min-width: 600px) {
  body[data-view="home"] { background: radial-gradient(ellipse at 18% 5%,#edf4ff,transparent 61%), #e1ebf7; }
  .discover-home { box-shadow: 0 0 70px #56729618; }
}
