/* ==========================================================================
   Distributor Hunting landing page (AQSN-5090)
   Figma: c5P3Aw9p8CJqnqtcTjbeWR — TW section 106:3353

   Self-contained by design: no Bootstrap, no shared theme CSS. The three
   market themes each CDN-link a different Bootstrap major across their LPs,
   so depending on one here would drift between markets.

   Fonts are declared locally against the theme's already-committed .woff2
   files in src/fonts/ rather than the webpack SCSS pipeline: this page is a
   standalone document and never calls wp_head(), so nothing here can rely on
   an enqueued stylesheet.

   Han glyphs are not in SF Pro Display, so 'Noto Sans TC' (already loaded
   site-wide by this theme's header.php) follows it in every stack.
   ========================================================================== */

@font-face {
    font-family: 'DH SF Pro Display';
    src: url('../../../src/fonts/SFProDisplay-Regular.woff2') format('woff2'),
         url('../../../src/fonts/SFProDisplay-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DH SF Pro Display';
    src: url('../../../src/fonts/SFProDisplay-Medium.woff2') format('woff2'),
         url('../../../src/fonts/SFProDisplay-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DH SF Pro Display';
    src: url('../../../src/fonts/SFProDisplay-Bold.woff2') format('woff2'),
         url('../../../src/fonts/SFProDisplay-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */

.dh {
    /* Surfaces */
    --dh-bg: #1c173e;
    --dh-surface: rgba(79, 110, 247, 0.06);
    --dh-surface-strong: rgba(255, 255, 255, 0.1);
    --dh-border: rgba(94, 196, 255, 0.4);
    --dh-border-soft: rgba(255, 255, 255, 0.12);

    /* Brand */
    --dh-blue: #4f6ef7;
    --dh-cyan: #06b6d4;
    --dh-cyan-bright: #22d3ee;
    --dh-mint: #55ffad;
    --dh-sky: #14b9ff;

    /* Type */
    --dh-text: #ffffff;
    --dh-text-muted: #bec4d0;

    /* Gradients */
    --dh-grad-cta: linear-gradient(169.43deg, #4f6ef7 0%, #06b6d4 100%);
    --dh-grad-heading: linear-gradient(109.77deg, var(--dh-mint) 10.96%, var(--dh-sky) 105.47%);

    /* Geometry */
    --dh-radius-card: 16px;
    --dh-radius-pill: 64px;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */

body.dh-page {
    margin: 0;
    background: var(--dh-bg);
}

.dh {
    display: block;
    background: var(--dh-bg);
    color: var(--dh-text);
    font-family: 'DH SF Pro Display', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.dh *,
.dh *::before,
.dh *::after {
    box-sizing: border-box;
}

.dh h1,
.dh h2,
.dh h3,
.dh p,
.dh ul,
.dh ol,
.dh figure {
    margin: 0;
    padding: 0;
}

.dh ul,
.dh ol {
    list-style: none;
}

.dh img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/*
 * Content column is 1192px, matching the Figma sections (canvas 1440, px-124).
 * max-width has to be 1192 + 2*24 because `.dh *` sets box-sizing: border-box,
 * so max-width includes the padding. At a 1440 viewport this lands the gutters
 * at exactly 124px: (1440-1240)/2 + 24.
 */
.dh-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Mobile-only; the desktop Figma frame has no logo bar. Shown at <=991px. */
.dh-topbar {
    display: none;
}

/* Visually hidden but available to screen readers. */
.dh-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   Shared components
   -------------------------------------------------------------------------- */

/* Pill label above a section heading — Figma 95:9113 */
.dh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 21px;
    border: 0.667px solid rgba(79, 110, 247, 0.4);
    border-radius: 40px;
    background: rgba(79, 110, 247, 0.18);
    color: var(--dh-cyan-bright);
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dh-eyebrow__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dh-cyan);
    flex: 0 0 auto;
}

.dh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    border: 0;
    border-radius: var(--dh-radius-pill);
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    color: var(--dh-text);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.dh-btn img {
    flex: 0 0 auto;
}

.dh-btn--primary {
    background: var(--dh-grad-cta);
    box-shadow: 0 8px 16px rgba(79, 110, 247, 0.4);
}

.dh-btn--ghost {
    background: var(--dh-surface-strong);
    border: 1px solid rgba(16, 16, 16, 0.12);
}

.dh-btn:hover {
    transform: translateY(-2px);
}

.dh-btn--primary:hover {
    box-shadow: 0 12px 24px rgba(79, 110, 247, 0.5);
}

.dh-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
}

.dh-btn:focus-visible,
.dh a:focus-visible,
.dh button:focus-visible {
    outline: 2px solid var(--dh-cyan-bright);
    outline-offset: 3px;
}

.dh-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* --------------------------------------------------------------------------
   Hero — Figma 95:9105
   -------------------------------------------------------------------------- */

.dh-hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    /* Section-level ellipse glow, Figma: radial at (288, 613) radii 720x383 */
    background:
        radial-gradient(720px 383px at 288px 613px,
            rgba(124, 58, 237, 0.22) 0%,
            rgba(62, 29, 119, 0.11) 30%,
            rgba(0, 0, 0, 0) 60%),
        var(--dh-bg);
}

/*
 * Decorative glows. Figma applies filter: blur(80-120px) to solid radial
 * shapes; a soft-stopped radial-gradient is visually equivalent and avoids
 * forcing three large offscreen blur buffers on mobile, which matters for the
 * <3s target on this page.
 */
.dh-hero__glow {
    position: absolute;
    top: 103px;
    left: 50%;
    width: 1600px;
    height: 600px;
    margin-left: -800px;
    pointer-events: none;
    background:
        /* 95:9107 — purple, upper left */
        radial-gradient(250px 200px at 78px 200px,
            rgba(124, 58, 237, 0.28) 0%, rgba(62, 29, 119, 0.14) 35%, rgba(0, 0, 0, 0) 70%),
        /* 95:9108 — cyan, right */
        radial-gradient(200px 150px at 828px 354px,
            rgba(6, 182, 212, 0.18) 0%, rgba(3, 91, 106, 0.09) 35%, rgba(0, 0, 0, 0) 70%),
        /* 95:9109 — brand blue, lower centre */
        radial-gradient(350px 300px at 518px 629px,
            rgba(79, 110, 247, 0.35) 0%, rgba(40, 55, 124, 0.175) 35%, rgba(0, 0, 0, 0) 70%);
}

.dh-hero__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.dh-hero__content {
    width: 656px;
    flex: 0 1 656px;
}

.dh-hero__title {
    margin-top: 16px;
    font-size: 47px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -2px;
}

.dh-hero__title-accent,
.dh-hero__title-main {
    display: block;
}

.dh-hero__title-accent {
    font-size: 52px;
    font-weight: 500;
    background: var(--dh-grad-heading);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.dh-hero__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 32px;
}

.dh-hero__benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 322px;
    min-height: 73px;
    padding: 17px;
    border: 0.6px solid var(--dh-border);
    border-radius: var(--dh-radius-card);
    background: var(--dh-surface);
    font-size: 18px;
    line-height: 19.5px;
}

.dh-hero__benefit-icon {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
}

.dh-hero__actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.dh-hero__kv {
    width: 520px;
    flex: 0 0 520px;
}

.dh-hero__kv img {
    width: 100%;
    height: auto;
}

/* --------------------------------------------------------------------------
   Highlight numbers — Figma 95:9494
   Light card on the dark page, flush under the hero.
   -------------------------------------------------------------------------- */

.dh-stats__card {
    display: flex;
    align-items: stretch;
    min-height: 182px;
    border-top: 0.667px solid var(--dh-border-soft);
    border-bottom: 0.667px solid var(--dh-border-soft);
    border-radius: 137px;
    background: linear-gradient(to bottom, #ffffff 0%, #e7effe 100%);
    overflow: hidden;
}

.dh-stats__item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 24px 12px;
    text-align: center;
    border-right: 0.667px solid rgba(2, 35, 78, 0.24);
}

.dh-stats__item:last-child {
    border-right: 0;
}

.dh-stats__icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
}

.dh-stats__value {
    color: var(--dh-bg);
    font-size: 32px;
    font-weight: 700;
    line-height: 45px;
    white-space: nowrap;
}

.dh-stats__label {
    max-width: 194px;
    margin: 0;
    color: rgba(28, 23, 62, 0.7);
    font-size: 18px;
    line-height: 19.5px;
}

/* --------------------------------------------------------------------------
   Why ELSA — Figma 95:9533
   Darker section (#06041a) than the hero, per design.
   -------------------------------------------------------------------------- */

.dh-why {
    position: relative;
    padding: 76px 0 96px;
    overflow: hidden;
    background:
        radial-gradient(414px 605px at 1082px 620px,
            rgba(79, 110, 247, 0.28) 0%, rgba(6, 182, 212, 0.12) 40%, rgba(0, 0, 0, 0) 70%),
        radial-gradient(710px 712px at -61px 775px,
            rgba(124, 58, 237, 0.22) 0%, rgba(62, 29, 119, 0.11) 30%, rgba(0, 0, 0, 0) 60%),
        #06041a;
}

.dh-why__glow {
    position: absolute;
    top: 55px;
    left: 50%;
    width: 1600px;
    height: 600px;
    margin-left: -835px;
    pointer-events: none;
    background:
        radial-gradient(250px 200px at 40px 487px,
            rgba(124, 58, 237, 0.28) 0%, rgba(62, 29, 119, 0.14) 35%, rgba(0, 0, 0, 0) 70%),
        radial-gradient(200px 150px at 1311px 167px,
            rgba(6, 182, 212, 0.18) 0%, rgba(3, 91, 106, 0.09) 35%, rgba(0, 0, 0, 0) 70%),
        radial-gradient(350px 300px at 1534px 787px,
            rgba(79, 110, 247, 0.35) 0%, rgba(40, 55, 124, 0.175) 35%, rgba(0, 0, 0, 0) 70%);
}

.dh-why__inner {
    position: relative;
}

.dh-why__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

/* Variant without the leading dot — Figma 95:9540 */
.dh-eyebrow--plain {
    padding: 8px 16px;
    border: 1px solid rgba(79, 110, 247, 0.24);
    border-radius: 44px;
    background: rgba(79, 110, 247, 0.2);
    color: #c0ddff;
    letter-spacing: 1.5px;
}

.dh-why__title {
    max-width: 868px;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.dh-why__body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 79px;
    margin-top: 42px;
}

.dh-why__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 673px;
    flex: 0 1 673px;
}

.dh-why__item {
    border: 1px solid var(--dh-border-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease;
}

.dh-why__item.is-active {
    border-color: var(--dh-blue);
}

.dh-why__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 20px;
    border: 0;
    background: none;
    font-family: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.dh-why__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border: 1.5px solid #ffffff;
    border-radius: 10px;
    transition: border-color 0.2s ease;
}

.dh-why__item.is-active .dh-why__icon {
    border-color: #42e4bf;
}

.dh-why__icon img {
    width: 32px;
    height: 32px;
}

.dh-why__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

.dh-why__item-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.dh-why__item.is-active .dh-why__item-title {
    background: linear-gradient(178.56deg, #42e4bf 13.17%, #4196ff 101.99%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.dh-why__item-subtitle {
    color: var(--dh-text-muted);
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}

.dh-why__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    padding: 6.4px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease;
}

.dh-why__item.is-active .dh-why__chevron {
    transform: rotate(180deg);
}

.dh-why__panel {
    /* Aligns the body copy with the title: icon (64) + gap (12). */
    padding: 0 20px 20px 96px;
    color: var(--dh-text-muted);
    font-size: 16px;
    font-style: italic;
    line-height: 24px;
}

.dh-why__panel[hidden] {
    display: none;
}

.dh-why__phone {
    position: relative;
    width: 320px;
    height: 652px;
    flex: 0 0 320px;
}

.dh-why__phone-img {
    position: absolute;
    inset: 0;
    width: 320px;
    height: 652px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.dh-why__phone-img.is-active {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Steps — Figma 95:9558. Light section.
   -------------------------------------------------------------------------- */

.dh-steps {
    position: relative;
    padding: 78px 0;
    background: #ffffff;
    overflow: hidden;
}

.dh-steps__pattern {
    position: absolute;
    top: -248px;
    left: 50%;
    width: 1825px;
    max-width: none;
    height: 1194px;
    margin-left: -1119px;
    pointer-events: none;
}

.dh-steps__inner {
    position: relative;
}

.dh-steps__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

/* Light-section variant of the pill — Figma 95:9560 */
.dh-eyebrow--light {
    padding: 8px 16px;
    border: 1px solid rgba(54, 185, 255, 0.24);
    border-radius: 44px;
    background: rgba(54, 185, 255, 0.2);
    color: #2376d5;
    letter-spacing: 1.5px;
}

.dh-steps__title {
    max-width: 922px;
    margin-top: 0;
    color: var(--dh-bg);
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

.dh-steps__lead {
    color: rgba(24, 16, 72, 0.8);
    font-size: 18px;
    line-height: 25.5px;
}

.dh-steps__grid {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 24px;
    margin-top: 42px;
}

.dh-steps__card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 570px;
    max-width: 100%;
    padding: 25px 29px;
    border: 0.6px solid rgba(94, 169, 255, 0.32);
    border-radius: 20px;
    background: rgba(94, 169, 255, 0.08);
    box-shadow: 0 6px 4px rgba(189, 230, 255, 0.16);
}

.dh-steps__card-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dh-steps__icon {
    width: 94px;
    height: 94px;
    flex: 0 0 94px;
}

.dh-steps__card-heading {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dh-steps__step {
    color: #2376d5;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.dh-steps__card-title {
    color: var(--dh-bg);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.dh-steps__body {
    color: rgba(24, 16, 72, 0.6);
    font-size: 18px;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Who is it for — Figma 95:9657
   -------------------------------------------------------------------------- */

.dh-who {
    padding: 78px 0;
    background:
        radial-gradient(720px 442px at 720px 0,
            rgba(79, 110, 247, 0.2) 0%, rgba(40, 55, 124, 0.1) 30%, rgba(0, 0, 0, 0) 60%),
        #0b0826;
}

.dh-who__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 42px;
}

.dh-who__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.dh-who__title {
    max-width: 764px;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.dh-who__lead {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    line-height: 25.5px;
}

.dh-who__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    width: 100%;
}

.dh-who__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 357.333px;
    max-width: 100%;
    padding: 33px;
    border: 0.667px solid var(--dh-border-soft);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
}

.dh-who__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 17.231px;
    background: rgba(79, 110, 247, 0.2);
}

.dh-who__icon img {
    width: 34.462px;
    height: 34.462px;
}

/* Five-layer composed icon: children are absolutely inset, so the stack
   establishes the positioning context at the icon's own size. */
.dh-who__icon-stack {
    position: relative;
    display: block;
    width: 34.462px;
    height: 34.462px;
}

.dh-who__icon-stack img {
    width: auto;
    height: auto;
}

.dh-who__card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 27px;
}

.dh-who__card-body {
    max-width: 292px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    line-height: 22.4px;
}

.dh-who__requirements {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 1120px;
    padding: 36px;
    border: 0.667px solid rgba(79, 110, 247, 0.3);
    border-radius: 20px;
    background: rgba(79, 110, 247, 0.1);
}

.dh-who__requirements-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.dh-who__requirements-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.dh-who__requirements-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 21px;
}

.dh-who__star {
    color: var(--dh-cyan);
    font-size: 14px;
    line-height: 21px;
    flex: 0 0 auto;
}

.dh-who__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.dh-who__note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    line-height: 21px;
}

/* --------------------------------------------------------------------------
   FAQs — Figma 95:9728. Light section.
   -------------------------------------------------------------------------- */

.dh-faq {
    position: relative;
    padding: 78px 0;
    background: #ffffff;
    overflow: hidden;
}

.dh-faq__pattern {
    position: absolute;
    top: -248px;
    left: 50%;
    width: 1825px;
    max-width: none;
    height: 1194px;
    margin-left: -1119px;
    pointer-events: none;
}

.dh-faq__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}

.dh-faq__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.dh-faq__title {
    max-width: 922px;
    color: var(--dh-bg);
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

.dh-faq__lead {
    color: rgba(24, 16, 72, 0.8);
    font-size: 18px;
    line-height: 25.5px;
}

.dh-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 838px;
    max-width: 100%;
}

.dh-faq__item {
    border-radius: 16px;
    background: #ffffff;
}

.dh-faq__item.is-active {
    border: 1px solid rgba(94, 169, 255, 0.4);
}

.dh-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 68px;
    padding: 21px;
    border: 1px solid rgba(94, 169, 255, 0.3);
    border-radius: 16px;
    background: rgba(94, 169, 255, 0.08);
    box-shadow: 0 6px 4px rgba(189, 230, 255, 0.16);
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 22.5px;
    color: #242a4f;
    text-align: left;
    cursor: pointer;
}

.dh-faq__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.dh-faq__toggle img {
    width: 16px;
    height: 16px;
}

.dh-faq__toggle-open {
    display: none;
}

.dh-faq__item.is-active .dh-faq__toggle-open {
    display: block;
}

.dh-faq__item.is-active .dh-faq__toggle-closed {
    display: none;
}

.dh-faq__a {
    padding: 10px 24px 12px;
    color: rgba(36, 42, 79, 0.7);
    font-size: 16px;
    line-height: 22.5px;
}

.dh-faq__a[hidden] {
    display: none;
}

/* --------------------------------------------------------------------------
   Registration form — Figma 95:9781
   -------------------------------------------------------------------------- */

.dh-form {
    position: relative;
    padding: 78px 0;
    background: var(--dh-bg);
    overflow: hidden;
}

.dh-form__glow {
    position: absolute;
    top: 0;
    left: 50%;
    width: 600px;
    height: 400px;
    margin-left: -180px;
    pointer-events: none;
    background: radial-gradient(300px 200px at 300px 200px,
        rgba(79, 110, 247, 0.28) 0%, rgba(62, 29, 119, 0.14) 35%, rgba(0, 0, 0, 0) 70%);
}

.dh-form__inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 84px;
}

.dh-form__intro {
    position: relative;
    flex: 1 1 455px;
    padding-top: 24px;
}

/*
 * max-width forces the two-line heading in the design. 460px rather than the
 * Figma's 420: English is the only market whose longest word ("REGISTRATION",
 * 436px at 64px uppercase) cannot be broken by the browser, so a 420px box
 * pushed it out over the form card. Vietnamese and Chinese fit comfortably, and
 * Thai has no spaces but Chrome line-breaks it internally.
 *
 * overflow-wrap is the backstop: whatever a future locale throws at this
 * heading, it wraps instead of spilling across the card next to it.
 */
.dh-form__title {
    max-width: 460px;
    overflow-wrap: break-word;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
    text-transform: uppercase;
    background: var(--dh-grad-heading);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.dh-form__lead {
    max-width: 455px;
    margin-top: 14px;
    color: var(--dh-text-muted);
    font-size: 24px;
    line-height: 36px;
}

.dh-form__mascot {
    display: block;
    width: 735px;
    max-width: none;
    margin: 8px 0 0 -180px;
    pointer-events: none;
}

.dh-form__card {
    flex: 0 0 614.667px;
    max-width: 100%;
    padding: 32px 24px;
    border: 0.667px solid var(--dh-border-soft);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
}

.dh-form__form {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.dh-form__row {
    display: flex;
    gap: 20px;
}

.dh-form__row .dh-form__field {
    flex: 1 1 0;
    min-width: 0;
}

.dh-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dh-form__label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 700;
    line-height: 19.5px;
}

.dh-form__control {
    width: 100%;
    height: 46px;
    padding: 12px 16px;
    border: 0.667px solid var(--dh-border-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--dh-text);
    font-family: inherit;
    font-size: 14px;
    line-height: normal;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dh-form__control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.dh-form__control:focus {
    outline: none;
    border-color: var(--dh-blue);
    background: rgba(255, 255, 255, 0.1);
}

.dh-form__control--select {
    /* Native select for accessibility and mobile pickers; chevron is the
       exported Figma asset, so no OS-default arrow. */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 44px;
    background-image: url('../images/form-select-chevron.svg');
    background-repeat: no-repeat;
    background-position: right 7px center;
    background-size: 26px 26px;
    cursor: pointer;
}

.dh-form__control--select option {
    color: #1c173e;
    background: #ffffff;
}

.dh-form__control--textarea {
    height: 109.333px;
    padding-top: 12px;
    line-height: 21px;
    resize: vertical;
}

/* Inline validation state, applied by scripts.js */
.dh-form__control.is-invalid {
    border-color: #ff6b6b;
}

.dh-form__field-error {
    color: #ff9b9b;
    font-size: 12px;
    line-height: 18px;
}

.dh-form__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 5px;
}

.dh-form__submit {
    min-width: 264px;
}

.dh-form__secure {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dh-text-muted);
    font-size: 13px;
    line-height: 19.5px;
    text-align: center;
}

.dh-form__error {
    color: #ff9b9b;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
}

.dh-form__error[hidden] {
    display: none;
}

/* Submit spinner — mirrors .btn-spinner in pages/b2c2b/css/style.css */
.dh-form__submit.is-loading .dh-form__submit-label::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 10px;
    vertical-align: -2px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: dh-spin 0.7s linear infinite;
}

@keyframes dh-spin {
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Footer — Figma 95:9928
   -------------------------------------------------------------------------- */

.dh-footer {
    padding: 52.667px 0 24px;
    border-top: 0.667px solid var(--dh-border-soft);
    background: #12093a;
    color: var(--dh-text);
    font-family: 'DH SF Pro Display', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Footer content column is 1200px (Figma px-120); + 2*24 for border-box. */
.dh-footer__inner {
    width: 100%;
    max-width: 1248px;
    margin: 0 auto;
    padding: 0 24px;
}

.dh-footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.dh-footer__brand-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.dh-footer__brand-programme {
    background: linear-gradient(to right, var(--dh-blue), var(--dh-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 24px;
}

.dh-footer__tagline {
    max-width: 320px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 20.8px;
}

.dh-footer__contact {
    text-align: right;
}

.dh-footer__contact-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dh-footer__contact-email {
    margin-top: 10px;
    color: var(--dh-cyan);
    font-size: 14px;
    line-height: 21px;
}

.dh-footer__rule {
    height: 1px;
    margin: 36px 0 25px;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
}

.dh-footer__copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12.5px;
    line-height: 18.75px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive — theme breakpoints (576 / 768 / 992 / 1200)
   Mobile reference frame: Figma 95:9960 (375 wide)
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
    /*
     * The intro column narrows to ~420px here while the heading is still 64px,
     * which is narrower than the longest English word. Scale the heading down
     * rather than let it break mid-word.
     */
    .dh-form__title {
        font-size: 52px;
    }

    .dh-hero__content {
        width: auto;
        flex: 1 1 auto;
    }

    .dh-hero__benefit {
        width: calc(50% - 6px);
    }

    .dh-hero__kv {
        width: 42%;
        flex: 0 0 42%;
    }
}

@media (max-width: 991px) {
    /* Mobile-only logo bar — Figma 95:9961 (absent from the desktop frame). */
    .dh-topbar {
        display: flex;
        align-items: center;
        height: 72px;
        padding: 0 16px;
        background: var(--dh-bg);
    }

    .dh-topbar__logo img {
        width: 110px;
        height: 38px;
    }

    .dh-hero {
        padding: 72px 0 56px;
    }

    /* Mobile order is header -> phone -> accordion (Figma 95:10395). */
    .dh-why__body {
        flex-direction: column;
        gap: 32px;
        margin-top: 32px;
    }

    /*
     * order: -1 puts the mockup above the accordion. flex must be reset too:
     * .dh-why__body is now column, so the desktop `flex: 0 0 320px` would apply
     * that 320px to the phone's HEIGHT (flex-basis is main-axis), squashing the
     * box to 320px while its absolutely positioned 652px images kept their size
     * and overlapped the accordion below.
     */
    .dh-why__phone {
        order: -1;
        flex: 0 0 auto;
        margin: 0 auto;
    }

    .dh-why__list {
        width: 100%;
        flex: 1 1 auto;
    }

    .dh-why__title {
        font-size: 34px;
        letter-spacing: -0.5px;
    }

    .dh-steps__title,
    .dh-faq__title,
    .dh-who__title {
        font-size: 34px;
        letter-spacing: -0.5px;
    }

    .dh-steps__card,
    .dh-who__card {
        width: 100%;
    }

    .dh-who__requirements-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .dh-form__inner {
        flex-direction: column;
        gap: 40px;
    }

    .dh-form__card {
        flex: 1 1 auto;
        width: 100%;
    }

    .dh-form__intro {
        flex: 1 1 auto;
        width: 100%;
        text-align: center;
    }

    .dh-form__title,
    .dh-form__lead {
        max-width: none;
    }

    .dh-form__mascot {
        width: 100%;
        max-width: 460px;
        margin: 16px auto 0;
    }

    .dh-footer__top {
        flex-direction: column;
        gap: 24px;
    }

    .dh-footer__contact {
        text-align: left;
    }

    /* The 137px pill radius only reads right on a single wide row. */
    .dh-stats__card {
        flex-wrap: wrap;
        min-height: 0;
        border-radius: 32px;
    }

    .dh-stats__item {
        flex: 0 0 50%;
        padding: 24px 16px;
    }

    .dh-stats__item:nth-child(2n) {
        border-right: 0;
    }

    .dh-stats__item:nth-child(-n + 2) {
        border-bottom: 0.667px solid rgba(2, 35, 78, 0.24);
    }

    .dh-hero__inner {
        flex-direction: column;
        gap: 40px;
    }

    .dh-hero__kv {
        width: 100%;
        max-width: 460px;
        flex: 0 0 auto;
        order: -1;
    }

    .dh-hero__title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .dh-hero__title-accent {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    .dh-container {
        padding: 0 16px;
    }

    .dh-hero {
        padding: 48px 0;
    }

    .dh-hero__title {
        font-size: 28px;
        letter-spacing: -0.5px;
    }

    .dh-hero__title-accent {
        font-size: 30px;
    }

    .dh-hero__benefits {
        gap: 8px;
    }

    .dh-hero__benefit {
        width: 100%;
        min-height: 0;
        padding: 14px;
        font-size: 16px;
    }

    .dh-hero__actions {
        flex-direction: column;
        gap: 12px;
    }

    .dh-btn {
        width: 100%;
        padding: 15px 24px;
        font-size: 16px;
    }

    .dh-hero__glow {
        width: 900px;
        margin-left: -450px;
    }

    .dh-why {
        padding: 48px 0 56px;
    }

    .dh-why__title {
        font-size: 26px;
    }

    .dh-why__head {
        padding: 16px;
        gap: 10px;
    }

    .dh-why__icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .dh-why__icon img {
        width: 24px;
        height: 24px;
    }

    .dh-why__item-title {
        font-size: 18px;
        line-height: 24px;
    }

    .dh-why__item-subtitle {
        font-size: 15px;
        line-height: 21px;
    }

    .dh-why__panel {
        /* icon (48) + gap (10) + left padding (16) */
        padding: 0 16px 16px 74px;
        font-size: 15px;
    }

    .dh-why__phone,
    .dh-why__phone-img {
        width: 221px;
        height: 450px;
    }

    /*
     * flex-basis must stay auto: .dh-why__body is column below 991px, so a
     * length here would size the phone's HEIGHT, not its width (the width is
     * set by the rule above), collapsing the box under its 450px image.
     */
    .dh-why__phone {
        flex-basis: auto;
        margin: 0 auto;
    }

    .dh-steps,
    .dh-faq,
    .dh-who,
    .dh-form {
        padding: 48px 0;
    }

    .dh-steps__title,
    .dh-faq__title,
    .dh-who__title {
        font-size: 26px;
    }

    .dh-steps__lead,
    .dh-faq__lead,
    .dh-who__lead {
        font-size: 15px;
        line-height: 22px;
    }

    .dh-steps__card {
        padding: 20px;
    }

    .dh-steps__icon {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .dh-steps__card-title {
        font-size: 20px;
    }

    .dh-steps__body,
    .dh-who__card-body {
        font-size: 15px;
    }

    .dh-who__card {
        padding: 24px 20px;
    }

    .dh-faq__q {
        padding: 16px;
        font-size: 15px;
        line-height: 21px;
    }

    .dh-faq__inner {
        gap: 32px;
    }

    .dh-faq__a {
        padding: 8px 16px 14px;
        font-size: 15px;
    }

    /* Two-up rows collapse to one column on phones. */
    .dh-form__row {
        flex-direction: column;
        gap: 19px;
    }

    .dh-form__card {
        padding: 20px 16px;
    }

    .dh-form__title {
        font-size: 40px;
    }

    .dh-form__lead {
        font-size: 18px;
        line-height: 27px;
    }

    .dh-form__submit {
        width: 100%;
    }

    .dh-stats__card {
        border-radius: 24px;
    }

    .dh-stats__value {
        font-size: 26px;
        line-height: 34px;
        white-space: normal;
    }

    .dh-stats__label {
        font-size: 15px;
    }

    .dh-stats__icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dh * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}
