/* Shared visual layer for the November 2026 Figma page set. */
:root {
  --brand-yellow: #fdcf00;
  --brand-gold: #a97628;
  --brand-ink: #0a0e10;
  --brand-paper: #fbfbf9;
  --brand-sand: #f7f4ed;
  --brand-border: #e7dfd2;
  --metal: #fdcf00;
  --gold: #fdcf00;
  --focus: #fdcf00;
}

body { font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif; }
.scroll-smooth { scroll-padding-top: 88px; }
.site-header__inner { height: 88px; }
.brand { width: 56px; height: 40px; }
.site-header__actions, .home-page .site-header__actions { gap: 24px; }
.desktop-nav, .home-page .desktop-nav { gap: 40px; }
.desktop-nav a, .desktop-nav button { color: #fbfbf9; }
.desktop-nav a:hover, .desktop-nav button:hover, .desktop-nav a[aria-current="page"] { color: var(--brand-yellow); }
.desktop-nav a::after, .desktop-nav button::after { background: var(--brand-yellow); }
.site-header.is-scrolled .desktop-nav :is(a, button):is(:hover, :focus-visible),
.site-header.is-scrolled .desktop-nav a[aria-current="page"] { color: var(--brand-gold); }
.site-header.is-scrolled .desktop-nav :is(a, button)::after { background: var(--brand-gold); }
.site-header--light:not(.is-scrolled) { background: #080909; }
.site-header--light.is-scrolled { background: #fff; box-shadow: none; }
.site-header--light:not(.is-scrolled) .desktop-nav :is(a, button) { color: #fbfbf9; }
.site-header--light:not(.is-scrolled) .desktop-nav :is(a, button):is(:hover, :focus-visible),
.site-header--light:not(.is-scrolled) .desktop-nav a[aria-current="page"] { color: var(--brand-yellow); }
.site-header--light .desktop-nav a[aria-current="page"]::after { width: 24px; }
.site-header--light:not(.is-scrolled) .brand img { filter: none; }
.site-header--light.is-scrolled .brand img { filter: brightness(0); }
.site-header--light:not(.is-scrolled) .button--outline { border-color: var(--brand-yellow); background: transparent; color: var(--brand-yellow); }
.site-header--light.is-scrolled .button--outline { border-color: var(--brand-gold); background: transparent; color: var(--brand-gold); }
.site-header--light .button--outline:hover { background: transparent; }
.header-button, .home-page .header-button { min-width: 100px; min-height: 48px; height: 48px; padding: 0 12px; font-size: 16px; }
.button--outline { border-color: var(--brand-yellow); color: var(--brand-yellow); }
.button--metal { border-color: var(--brand-yellow); background: var(--brand-yellow); background-image: none; color: var(--brand-ink); box-shadow: none; }
.button--metal:hover { box-shadow: 0 8px 24px rgba(253,207,0,.2); }
.announcement-search .button { color: var(--brand-ink); }
.site-header .button--outline,
.site-header.is-scrolled .button--outline { background: transparent; }
.site-header.is-scrolled .button--outline { color: var(--brand-gold); border-color: currentColor; }
.site-header.is-scrolled .button--outline:hover { background: transparent; }
.site-header.is-scrolled .button--metal { color: var(--brand-ink); }
.support-actions { right: 20px; bottom: 32px; gap: 16px; }
.support-actions a { width: 54px; height: 54px; border: 0; border-radius: 8px; background: var(--brand-yellow); }
.support-actions img { width: 28px; height: 28px; }
.support-actions a:first-child img { width: 28px; height: 21px; }
.support-actions__tooltip { right: calc(100% + 10px); border-color: #e7dfd2; background: #fff; color: var(--brand-ink); }
.support-actions__to-top { position: relative; isolation: isolate; width: 54px; height: 54px; display: grid; place-items: center; padding: 12px; overflow: visible; border: 0; border-radius: 8px; background: var(--brand-yellow); box-shadow: 0 6px 18px rgba(0,0,0,.2); cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.support-actions__to-top[hidden] { display: none; }
.support-actions__to-top:is(:hover, :focus-visible, :active) { transform: translateY(-4px) scale(1.04); box-shadow: 0 12px 28px rgba(169,118,40,.34); }
.support-actions__to-top img { position: relative; z-index: 1; display: block; width: 28px; height: 28px; filter: brightness(0); }
.support-actions__to-top:is(:hover, :focus-visible) img { animation: support-icon-bob .48s ease-out both; }
.support-actions__to-top::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.75) 50%, transparent 70%); background-size: 250% 100%; background-position: 100% 0; opacity: 0; pointer-events: none; }
@media (hover: hover) { .support-actions__to-top:is(:hover, :focus-visible)::before { opacity: 1; animation: metal-sweep .8s ease-out 1; } }

/* Home: the exported Figma layers remain separate so the existing motion can continue. */
.hero { height: 700px; min-height: 700px; padding-top: 0; background: linear-gradient(130deg, #080909 8%, #17140e 54%, #080909 92%); }
.hero__visual { z-index: 0; }
.hero-scene { position: absolute; top: 0; left: 50%; width: 1440px; height: 700px; transform: translateX(-50%); transform-origin: left top; }
.hero-scene img { position: absolute; display: block; height: auto; pointer-events: none; }
.hero-scene__particles { left: 758px; top: 61px; width: 582px; opacity: .75; animation: figma-particles 7s ease-in-out infinite; }
.hero-scene__podium { left: 531px; bottom: 0; width: 757px; }
.hero-scene__phone { left: 953px; top: 191px; width: 286px; filter: drop-shadow(0 24px 24px rgba(0,0,0,.3)); animation: figma-phone-float 5.5s ease-in-out infinite; }
.hero-scene__card { filter: drop-shadow(5px 12px 26px rgba(0,0,0,.3)); animation: figma-card-float 5s ease-in-out infinite; }
.hero-scene__card--left { left: 861px; top: 366px; width: 160px; animation-delay: -.8s; }
.hero-scene__card--right { left: 1139px; top: 292px; width: 151px; animation-delay: -1.8s; }
.hero-scene__coin { position: absolute; display: block; overflow: hidden; pointer-events: none; animation: figma-card-float 5s ease-in-out infinite; }
.hero-scene__coin img { position: absolute; max-width: none; height: auto; }
.hero-scene__coin--small { left: 861px; top: 568px; width: 36px; height: 27px; transform: rotate(17.5deg); animation-name: figma-small-coin; }
.hero-scene__coin--small img { left: -349px; top: -137px; width: 399px; }
.hero-scene__coin--large { left: 1253px; top: 461px; width: 43px; height: 45px; opacity: .4; animation-delay: -1.3s; }
.hero-scene__coin--large img { left: -207px; top: -45px; width: 266px; }
@keyframes figma-phone-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes figma-card-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes figma-small-coin { 0%,100% { transform: rotate(17.5deg) translateY(0); } 50% { transform: rotate(17.5deg) translateY(-7px); } }
@keyframes figma-particles { 0%,100% { opacity: .5; } 50% { opacity: .9; } }
.hero__body { align-items: flex-start; padding-top: 205px; }
.hero__copy { position: relative; width: 620px; transform: none; }
.hero h1 { color: #fff; font-size: 54px; line-height: 1.25; letter-spacing: .02em; white-space: nowrap; }
.hero h1 span { background: none; -webkit-text-fill-color: var(--brand-yellow); color: var(--brand-yellow); }
.hero__description { width: 560px; margin: 16px 0 60px; color: rgba(247,244,237,.8); }
.hero__copy :is(h1, .hero__description) { transition: opacity .18s ease-in-out, transform .18s ease-in-out; }
.hero__copy.is-changing :is(h1, .hero__description) { opacity: 0; transform: translateY(6px); }
.download-card { position: relative; min-height: 140px; color: var(--brand-yellow); }
.download-card::before { content: "扫码下载"; display: grid; place-items: center; width: 28px; height: 140px; border-radius: 16px 0 0 16px; background: var(--brand-yellow); color: #0a0e10; font-size: 12px; font-weight: 600; writing-mode: vertical-rl; }
.qr-trigger { width: 140px; height: 140px; margin-left: -16px; border-radius: 0 16px 16px 0; }
.qr-trigger img { width: 100%; height: 100%; padding: 0; background: #fff; }
.download-card__copy { display: none; }

.experience { background: var(--brand-paper); }
.experience__inner { padding: 120px 0; }
.experience__heading h2, .why__heading h2, .safety__heading h2 { font-size: 36px; line-height: 40px; }
.experience__heading p, .why__heading p, .safety__heading p { display: none; }
.experience__cards { margin-top: 40px; }
.experience-card { padding: 36px 24px 24px; }
.experience-card h3 { font-size: 24px; line-height: 32px; }
.experience-card:hover h3 { color: #8e6d00; }
.experience-card p { margin-top: 8px; font-size: 14px; line-height: 20px; }
.experience-card__art, .experience-card__art--muted { right: -78px; bottom: -87px; width: 280px; height: 280px; }

.why { padding: 120px 0 80px; background: #fff6e6; }
.why-carousel { margin-top: 60px; --why-card-width: min(1000px, calc(100vw - 64px)); --why-gap: 48px; }
.why-slide { height: 420px; border-radius: 24px; }
.why-slide:not(.is-current) { cursor: pointer; }
.why-slide__base, .why-slide__art { display: none; }
.why-slide__copy, .why-slide.is-current .why-slide__copy { align-items: flex-start; justify-content: center; gap: 8px; width: 62%; padding: 60px; text-align: left; opacity: 1; transform: none; }
.why-slide__copy h3 { font-size: 32px; line-height: 1.6; }
.why-slide__copy h3 strong { color: #8e6d00; }
.why-slide__copy p { max-width: 510px; font-size: 14px; }
.why-carousel__arrow { display: none; }
.why-carousel__dot { width: 8px; height: 8px; background: #a6a9af; }
.why-carousel__dot[aria-current="true"] { width: 24px; background: #d2a400; }
.why-slide__mockups { display: none; }
.why-slide__svg { position: absolute; display: block; height: auto; pointer-events: none; }
.why-slide__svg--one { top: 56.5px; right: 168px; width: 153px; }
.why-slide__svg--two { top: 37px; right: 60px; width: 265px; }
.why-slide__svg--three { top: 85.5px; right: 60px; width: 317px; }
.why-slide__phone { position: absolute; width: 127px; height: 297px; }
.why-slide__phone img { position: absolute; display: block; width: 100%; height: 100%; object-fit: fill; }
.why-slide__phone img + img { width: 89%; height: 97%; left: 3%; top: 1%; border-radius: 16px; }
.why-slide__phone--single { width: 153px; height: 307px; left: 70px; top: 12px; }
.why-slide__phone--single img + img { width: 90%; height: 96.5%; left: 2%; top: 2%; }
.why-slide__phone--left { left: 0; top: 0; }
.why-slide__phone--right { left: 138px; top: 49px; }
.why-slide__phone--wide { left: 0; top: 55px; width: 215px; height: 227px; }
.why-slide__phone--back { left: 212px; top: 0; width: 98px; height: 235px; }

.safety { background: var(--brand-paper); }
.safety__inner { padding: 120px 0; }
.safety__layout { margin-top: 40px; }
.safety-step { min-height: 82px; padding: 20px 32px; }
.safety-step__number { flex-basis: 28px; font-family: "DIN Alternate", sans-serif; font-size: 28px; font-weight: 700; }
.safety-step__description { display: none; }
.safety-step:is(:hover, :focus-visible, [aria-selected="true"], [aria-expanded="true"]) { border-color: var(--brand-ink); background: var(--brand-ink); color: #fff; }
.safety-step:is(:hover, :focus-visible, [aria-selected="true"], [aria-expanded="true"]) .safety-step__number,
.safety-step:is(:hover, :focus-visible, [aria-selected="true"], [aria-expanded="true"]) .safety-step__title { color: #fff; }
.safety-step__title { font-size: 20px; }
.safety-step__arrow { display: none; flex: none; width: 32px; height: 32px; margin-left: auto; }
.safety-step:is(:hover, :focus-visible, [aria-selected="true"]) .safety-step__arrow { display: block; }
.safety__detail { justify-content: center; padding: 40px; }
.safety__detail h3 { color: var(--brand-ink); font-size: 24px; }
.safety__detail-copy { font-size: 14px; line-height: 1.7; }
.safety__guide { min-height: 52px; border-color: #8e6d00; color: #8e6d00; font-size: 16px; }
.home-resources { display: none; }

.cta { background: var(--brand-paper); }
.cta__inner { padding: 120px 0; }
.cta__card { min-height: 364px; justify-content: center; background: linear-gradient(117deg, #080909 8%, #17140e 54%, #080909 92%); }
.cta__content, .cta__copy { align-items: center; width: 100%; text-align: center; }
.cta__content { gap: 48px; }
.cta__copy h2 { background-image: linear-gradient(105deg, transparent 43%, #fff9de 50%, transparent 57%), linear-gradient(95deg, #ffdd56, #ffe6a3); font-size: 36px; font-weight: 700; }
.cta__actions { justify-content: center; }
.cta__button { min-width: 201px; min-height: 58px; }
.cta__art { display: none; }

/* Page templates, lists and footer. */
.announcements-hero, .help-hero, .tutorial-hero, .page-hero { background: #080909; }
.announcements-hero, .tutorial-hero, .help-hero { margin-top: 88px; }
.announcements-page .announcements-hero__breadcrumb,
.faq-page .announcements-hero__breadcrumb,
.guide-page .announcements-hero__breadcrumb { display: none; }
.announcements-hero h1, .help-hero h1, .tutorial-hero h1, .page-hero h1 { background: none; -webkit-text-fill-color: var(--brand-yellow); color: var(--brand-yellow); font-size: 48px; line-height: 1.25; }
.announcements-page .announcements-hero h1,
.faq-page .announcements-hero h1 { margin: 16px auto 0; font-size: 48px; font-weight: 500; line-height: 1.4; }
.announcements-page .announcements-hero h1 { font-weight: 700; }
.announcements-hero__breadcrumb, .tutorial-breadcrumb { color: #a7a9ad; }
.announcements-hero__breadcrumb a:hover, .tutorial-breadcrumb a:hover { color: var(--brand-yellow); }
.announcements-hero { min-height: 339px; }
.announcements-hero__inner { padding: 56px 0 64px; }
.announcement-search { border-radius: 12px; }
.announcement-search .button { background: var(--brand-yellow); color: var(--brand-ink); font-size: 16px; font-weight: 600; }
.announcements-note { display: none; }
.announcements-content, .announcements-page, .faq-page .announcements-content, .secondary-page { background: var(--brand-paper); }
.announcement-filters { margin: 0 0 24px; }
.announcement-filter { min-height: 46px; padding: 11px 23px; border-color: #e7dfd2; color: #2c3137; font-size: 16px; line-height: 22px; }
.announcement-filter[aria-pressed="true"] { border-color: #090806; background: #090806; color: #fff; font-weight: 700; }
.announcement-filter:is(:hover, :focus-visible):not([aria-pressed="true"]) { border-color: var(--brand-gold); color: var(--brand-gold); }
.announcement-pagination button { border-color: #e7dfd2; border-radius: 8px; color: #0a0e10; }
.announcement-pagination button[aria-current="page"] { border-color: #0a0e10; background: #0a0e10; color: #fff; font-weight: 700; }
.announcement-pagination button:is(:hover, :focus-visible):not(:disabled):not([aria-current="page"]) { border-color: var(--brand-yellow); color: #8e6d00; }
.announcement-download { flex-direction: column; justify-content: center; gap: 0; min-height: 364px; margin-top: 120px; padding: 60px; border: 0; background: linear-gradient(117deg, #080909, #17140e 54%, #080909); text-align: center; }
.announcement-download h2 { color: #ffe075; -webkit-text-fill-color: #ffe075; font-size: 36px; }
.announcement-download p, .announcement-download small { display: none; }
.announcement-download .button { min-width: 201px; min-height: 58px; margin: 40px auto 0; }
.announcement-download h2 { margin: 0; background-image: linear-gradient(95deg, #ffdd56, #ffe6a3); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.announcements-page .announcements-hero { min-height: 325px; }
.announcements-page .announcements-content { margin-top: 50px; padding: 60px 0; }
.announcements-page .announcements-content__inner { padding: 0; }
.announcement-download-section { margin-top: 50px; padding: 80px 0; background: #fff; }
.announcement-download-section__inner { width: min(1200px, calc(100% - 80px)); margin: auto; }
.announcements-page .announcement-download { margin-top: 0; }
.faq-contact, .help-contact { display: none; }
.help-hero { min-height: 478px; padding: 64px 0 72px; }
.help-hero__art { width: 112px; height: 112px; }
.help-hero h1 { margin: 12px 0 32px; }
.help-section h2 { font-size: 36px; line-height: 44px; }
.help-tutorials { padding-top: 60px; }
.help-tutorials__grid { gap: 24px; }
.help-reads, .help-announcements { margin-top: 64px; }
.help-section__heading a, .help-reads__heading a { color: #8e6d00; font-size: 16px; }
.help-topic:is(:hover, :focus-visible), .help-tutorial:is(:hover, :focus-visible) { border-color: #d7ad64; color: #8e6d00; }
.help-tutorial:is(:hover, :focus-visible) .help-tutorial__tile { background: #8e6d00; }
.help-tutorial:is(:hover, :focus-visible) .help-tutorial__icon--deposit::before { background: #8e6d00; }
.help-reads__list { min-height: 415px; margin-top: 32px; padding: 28px 24px; border: 0; }
.help-announcements { padding-bottom: 60px; }
.help-page .help-reads { padding-bottom: 60px; }
.tutorial-hero { min-height: 230px; }
.tutorial-hero__inner { padding: 40px 0 64px; }
.tutorial-hero__inner > p { display: none; }
.tutorial-content__inner { padding-top: 40px; }
.tutorial-categories h2 { display: none; }
.tutorial-categories__list { margin-top: 0; }
.tutorial-categories__list a { justify-content: center; gap: 12px; min-height: 124px; height: auto; font-size: 24px; }
.tutorial-categories__list a[aria-current="page"] { border-color: #8e6d00; color: #8e6d00; }
.tutorial-categories__list a[aria-current="page"] .tutorial-category__tile { background: #8e6d00; }
.tutorial-step__number { background: var(--brand-yellow); color: var(--brand-ink); }
.tutorial-guide { margin-top: 40px; }
.tutorial-steps__list { gap: 24px; }
.tutorial-step { box-shadow: 0 12px 32px rgba(45,32,16,.04); }
.tutorial-related__grid :is(a, button):is(:hover, :focus-visible) { border-color: #d7ad64; color: #8e6d00; }
.page-hero { margin-top: 88px; min-height: 288px; background: #080909; }
.page-hero p { color: #b8b0a3; font-size: 20px; }
.feature-section, .join-section { background: var(--brand-paper); }
.feature-card h3 { color: var(--brand-ink); }
.about-page .feature-section { padding-block: 120px; }
.about-page .feature-section h2 { margin-bottom: 80px; }
.about-page .feature-card img { width: 158px; height: 158px; margin-bottom: 32px; }
.join-page .page-hero p, .join-page .join-section__subtitle, .join-page .join-cta > p { display: none; }
.join-page .join-cta { min-height: 377px; padding-block: 80px; }
.join-page .join-cta > img { width: 72px; height: 72px; }
.join-page .join-cta h3 { font-size: 32px; }
.join-page .join-cta__links { gap: 24px; }
.join-page .join-cta__links :is(a, button) { min-height: 48px; padding: 8px 20px; border-radius: 8px; background: #fff; font-size: 20px; text-decoration: none; }
.join-page .join-cta__links :is(a, button):is(:hover, :focus-visible) { background: #fff8e6; }
.join-cta { min-height: 380px; background: var(--brand-sand); }
.join-cta__links :is(a, button) { color: var(--brand-ink); }
.announcement-detail { margin-top: 88px; }
.site-footer { background: #fff; }
.site-footer__brand p { display: none; }
.site-footer__column h2 { color: #8e6d00; }
.site-footer__column :is(a, button):is(:hover, :focus-visible) { color: #8e6d00; }
.site-footer__copyright { justify-content: center; }
.site-footer__copyright p + p { display: none; }

/* Download and brick page layouts. */
.brick-page .site-header:not(.is-scrolled) { background: #090806; }
.download-page__hero { min-height: 728px; margin-top: 88px; padding: 0; background: #100f09; }
.download-page__hero::before { content: ""; position: absolute; inset: 220px 0 -80px; z-index: 0; background: radial-gradient(ellipse 560px 330px at 50% 62%, rgba(253,207,0,.14), transparent 76%); pointer-events: none; }
.download-page__inner { z-index: 1; }
.download-page__inner { display: flex; flex-direction: column; align-items: center; width: 100%; min-height: 728px; gap: 0; }
.download-page__copy { position: relative; z-index: 2; padding-top: 76px; text-align: center; }
.download-page__copy h1 { margin: 0; background: none; -webkit-text-fill-color: var(--brand-yellow); color: var(--brand-yellow); font-size: 48px; line-height: 1.25; }
.download-page__copy p { margin: 16px 0 40px; color: #b8b0a3; }
.download-page__qr { width: 140px; height: 140px; margin: 0 auto; overflow: hidden; border-radius: 16px; }
.download-page__qr img { width: 140px; height: 140px; padding: 0; background: #fff; }
.download-page__phones { position: absolute; top: 360px; left: 50%; width: 1091px; height: 832px; transform: translateX(-50%); pointer-events: none; }
.download-page__phone { position: absolute; width: 259px; height: 529px; }
.download-page__phone img { position: absolute; display: block; width: 100%; height: 100%; object-fit: fill; }
.download-page__phone img + img { left: 10px; top: 9px; width: 238px; height: 511px; border-radius: 28px; }
.download-page__phone--left { left: 177px; top: 75px; }
.download-page__phone--right { left: 662px; top: 75px; }
.download-page__phone--center { left: 395px; top: 26px; z-index: 2; width: 307px; height: 628px; }
.download-page__phone--center img + img { left: 12px; top: 11px; width: 282px; height: 607px; border-radius: 34px; }
.brick-hero { min-height: 483px; margin-top: 88px; padding: 84px 0; background: #0a0e10; }
.brick-hero__inner { min-height: 315px; }
.brick-hero h1 { margin: 0; font-size: 54px; line-height: 76px; }
.brick-hero__copy > p { max-width: 748px; margin: 12px 0 36px; }
.brick-hero h1 span { -webkit-text-fill-color: var(--brand-yellow); background: none; }
.brick-hero__art { flex: 0 0 432px; width: 432px; height: 315px; max-height: 315px; aspect-ratio: auto; }
.brick-hero__actions .button { background: var(--brand-yellow); }
.brick-hero__actions > a:last-child { color: var(--brand-yellow); }
.brick-yield { padding: 120px 0; background: rgba(247,244,237,.8); }
.brick-yield__inner { display: flex; flex-direction: column; gap: 48px; }
.brick-yield__detail { flex-direction: row; align-items: center; gap: 146px; }
.brick-yield__detail > p { flex: 0 1 507px; }
.brick-yield__rate { flex: 1 1 547px; min-height: 194px; justify-content: center; }
.brick-heading { font-size: 36px; }
.brick-heading img { display: none; }
.brick-yield__detail > p { font-size: 16px; }
.brick-yield__rate { background: #1d1a16; }
.brick-yield__rate span { font-size: 24px; }
.brick-yield__rate strong { color: var(--brand-yellow); font-size: 48px; }
.brick-process { padding: 120px 0; background: #0a0e10; }
.brick-process .brick-heading { line-height: 43px; }
.brick-process .brick-heading { color: #fff; }
.brick-process__step h3 { color: #fff; }
.brick-process__step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.brick-process__art { width: 150px; margin-bottom: 32px; }
.brick-process__step h3 { margin: 0 0 12px; font-weight: 500; }
.brick-process__step p { max-width: 303px; color: rgba(247,244,237,.8); font-size: 16px; line-height: 1.4; text-align: center; }
.brick-process__step:not(:last-child)::after { top: 120px; }
.brick-process__number { color: var(--brand-yellow); }
.brick-agreement { padding: 120px 0; background: #fff; }
.brick-agreement__inner { display: flex; flex-direction: column; gap: 48px; }
.brick-agreement .brick-heading { font-weight: 600; }
.brick-agreement__copy { display: flex; flex-direction: column; gap: 0; }
.brick-agreement__copy article { border-top-width: 1px; }
.brick-agreement__copy article:last-child { border-bottom-width: 1px; }
.brick-agreement__copy h3 { color: #0a0e10; font-weight: 600; line-height: 34px; }
.brick-agreement__copy p { margin-bottom: 0; line-height: 20px; }
.brick-agreement__copy article:not(:last-child) p { min-height: 28px; }
.brick-agreement__copy p + p { margin-top: 20px; }
.brick-help { padding: 80px 0; background: var(--brand-sand); }
.brick-help h2 { margin-bottom: 16px; font-size: 36px; font-weight: 500; }
.brick-help__grid { margin-bottom: 0; }
.brick-help__grid :is(a, button) { min-height: 127px; border-radius: 16px; background: #fff; }
.brick-cta { padding: 80px 0; background: #fff; }
.brick-cta__card { display: flex; align-items: center; justify-content: center; min-height: 364px; background: linear-gradient(117deg, #080909, #17140e 54%, #080909); }
.brick-cta__copy { align-items: center; gap: 48px; width: 100%; text-align: center; }
.brick-cta h2 { background-image: linear-gradient(95deg, #ffdd56, #ffe6a3); font-size: 36px; }
.brick-cta .button { min-width: 201px; min-height: 58px; margin: 0; background: var(--brand-yellow); }

@media (max-width: 1100px) {
  .site-header__inner { height: 72px; }
  .announcements-hero, .help-hero, .tutorial-hero, .page-hero, .download-page__hero { margin-top: 72px; }
  .announcement-detail { margin-top: 72px; }
  .hero-scene { transform: translateX(-50%) scale(.82); transform-origin: center top; }
  .hero__body { padding-top: 170px; }
  .hero h1 { font-size: 44px; }
  .hero__description { max-width: 450px; }
  .experience__inner, .safety__inner { padding-block: 80px; }
}

@media (max-width: 700px) {
  .site-header__inner { height: 72px; }
  .site-header__inner { position: relative; }
  .site-header__actions, .home-page .site-header__actions { position: absolute; top: 14px; right: 0; gap: 8px; margin: 0; }
  .site-header__actions .menu-toggle { display: grid; flex: 0 0 44px; }
  .site-header .menu-toggle { border-color: var(--brand-yellow); }
  .site-header .menu-toggle span { background: var(--brand-yellow); }
  .site-header .menu-toggle span { transform-origin: center; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .18s ease; }
  .site-header .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .site-header .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.45); }
  .site-header .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .site-header.is-scrolled .menu-toggle { border-color: var(--brand-yellow); }
  .site-header.is-scrolled .menu-toggle span { background: var(--brand-yellow); }
  .site-header--light:not(.is-scrolled) .menu-toggle { background: #080909; border-color: var(--brand-yellow); }
  .site-header--light:not(.is-scrolled) .menu-toggle span { background: var(--brand-yellow); }
  .site-header--light:not(.is-scrolled) .mobile-menu:not([hidden]) { background: #11120f; }
  .site-header--light:not(.is-scrolled) .mobile-menu :is(a, button) { color: #fbfbf9; }
  .site-header.is-scrolled .mobile-menu:not([hidden]) { background: #fff; }
  .site-header.is-scrolled .mobile-menu :is(a, button) { color: #36312a; }
  .site-header .mobile-menu a[aria-current="page"] { color: var(--brand-yellow); font-weight: 600; }
  .site-header.is-scrolled .mobile-menu a[aria-current="page"] { color: var(--brand-gold); }
  .site-header .mobile-menu a:is(:hover, :focus-visible) { color: var(--brand-yellow); }
  .site-header.is-scrolled .mobile-menu a:is(:hover, :focus-visible) { color: var(--brand-gold); }
  .hero { height: 630px; min-height: 630px; }
  .hero__visual { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; margin: 0; }
  .hero__body { position: relative; z-index: 2; order: initial; flex: none; height: auto; margin: 0 auto; padding-top: 132px; align-items: flex-start; }
  .hero__copy { width: 100%; text-align: center; }
  .hero h1 { min-height: 1.25em; font-size: clamp(31px, 8vw, 44px); white-space: normal; }
  .hero__description { width: min(100%, 360px); min-height: 3.5em; margin: 16px auto 24px; font-size: 14px; overflow-wrap: anywhere; }
  .home-page .hero .download-card { display: none; }
  .support-actions a { width: 54px; height: 54px; }
  .hero-scene { top: 140px; left: calc(50% - 240px); transform: translateX(-50%) scale(.68); }
  .experience__inner, .safety__inner { padding-block: 64px; }
  .experience__heading h2, .why__heading h2, .safety__heading h2 { font-size: clamp(24px, 6vw, 28px); line-height: 1.3; text-wrap: balance; }
  .experience-card { height: 300px; }
  .why { padding: 64px 0; }
  .why-carousel { margin-top: 32px; --why-card-width: calc(100vw - 40px); --why-gap: 16px; }
  .why-carousel__viewport { touch-action: pan-y pinch-zoom; }
  .why-slide { height: 448px; }
  .why-slide__copy, .why-slide.is-current .why-slide__copy { align-items: center; justify-content: flex-start; width: 100%; padding: 36px 28px; text-align: center; }
  .why-slide__copy h3 { font-size: 22px; line-height: 1.35; }
  .why-slide__copy p { font-size: 12px; }
  .why-slide__svg { top: 172px; left: 50%; right: auto; transform: translateX(-50%) scale(.72); transform-origin: center top; }
  .why-slide__svg--three { top: 196px; }
  .brick-hero__line-break { display: none; }
  .safety__layout { gap: 24px; }
  .safety-step { min-height: 70px; padding: 16px; }
  .safety-step__title { font-size: 16px; }
  .safety-step:is(:hover, :focus-visible, [aria-selected="true"]) .safety-step__arrow { display: none; }
  .safety__detail { padding: 24px; }
  .safety__steps .safety__detail { padding: 12px 18px 20px; border-color: var(--brand-ink); background: var(--brand-ink); color: #fff; box-shadow: none; }
  .safety__steps .safety__detail-copy { color: #fff; }
  .safety__steps .safety__guide { background: transparent; color: var(--brand-yellow); border-color: var(--brand-yellow); }
  .safety-step[aria-expanded="true"] { border-color: var(--brand-ink); background: var(--brand-ink); }
  .cta__inner { padding: 64px 0; }
  .cta__card { min-height: 280px; padding: 32px 20px; }
  .cta__copy h2, .brick-cta h2, .announcement-download h2 { font-size: 24px; }
  .cta__content { gap: 28px; }
  .announcements-hero h1, .help-hero h1, .tutorial-hero h1, .page-hero h1 { font-size: 36px; }
  .announcements-page .announcements-hero h1, .faq-page .announcements-hero h1 { font-size: 36px; }
  .announcements-hero { min-height: 0; }
  .announcements-hero__inner { padding: 36px 0 56px; }
  .help-hero { min-height: 0; padding: 48px 0 56px; }
  .help-hero__art { width: 96px; height: 96px; }
  .help-section h2 { font-size: 28px; }
  .help-tutorials__grid { gap: 10px; }
  .announcement-download { min-height: 280px; margin-top: 64px; padding: 32px 20px; }
  .announcement-download-section__inner { width: calc(100% - 40px); }
  .announcements-page .announcements-hero { min-height: 0; }
  .announcements-page .announcements-content { margin-top: 0; padding: 40px 0; }
  .announcement-download-section { margin-top: 32px; padding: 48px 0; }
  .tutorial-hero { min-height: 190px; }
  .tutorial-categories__list a { min-height: 112px; height: auto; font-size: 20px; }
  .page-hero { min-height: 220px; }
  .page-hero p { font-size: 14px; }
  .about-page .feature-section { padding-block: 64px; }
  .about-page .feature-section h2 { margin-bottom: 40px; }
  .join-page .join-cta { min-height: 0; padding-block: 48px; }
  .join-page .join-cta__links :is(a, button) { font-size: 16px; }
  .download-page__hero, .download-page__inner { min-height: 740px; }
  .download-page__copy { padding-top: 64px; }
  .download-page__copy h1 { font-size: 36px; }
  .download-page__phones { top: 350px; transform: translateX(-50%) scale(.68); transform-origin: center top; }
  .brick-hero { min-height: 0; margin-top: 72px; padding: 48px 0; }
  .brick-hero h1 { font-size: 40px; line-height: 1.25; }
  .brick-hero__art { flex-basis: auto; width: min(100%, 500px); max-height: none; }
  .brick-yield, .brick-process, .brick-agreement, .brick-help { padding: 64px 0; }
  .brick-yield__detail { flex-direction: column; align-items: stretch; gap: 24px; }
  .brick-yield__detail > p, .brick-yield__rate { flex-basis: auto; }
  .brick-yield__rate { min-height: 160px; }
  .brick-process__step:not(:last-child)::after { display: none; }
  .brick-help h2 { font-size: 28px; }
  .brick-help { padding-bottom: 24px; }
  .brick-help__grid { margin-bottom: 0; }
  .brick-cta { padding: 64px 0; }
  .brick-cta__card { min-height: 280px; padding: 32px 20px; }
  .site-footer__copyright { align-items: flex-start; }
}

@media (max-width: 600px) {
  .safety__steps .safety__detail { overflow: hidden; }
  .safety__steps .safety__detail { padding: 24px 18px 28px; border-color: var(--brand-border); border-top: 1px solid var(--brand-border); background: #fff; color: var(--brand-ink); }
  .safety__steps .safety__detail-copy { color: var(--brand-ink); }
  .safety__steps .safety__guide { align-self: center; border-color: #8e6d00; color: #8e6d00; }
  .safety__steps .safety-step:is(:hover, :focus-visible, [aria-expanded="true"]) { border-color: var(--brand-border); background: #fff; color: var(--brand-ink); }
  .safety__steps .safety-step:is(:hover, :focus-visible, [aria-expanded="true"]) .safety-step__number { color: #946424; }
  .safety__steps .safety-step:is(:hover, :focus-visible, [aria-expanded="true"]) .safety-step__title { color: var(--brand-ink); }
  .safety__steps .safety-step[aria-expanded="true"] { border-bottom-color: transparent; }
}

@media (max-width: 380px) {
  .hero { height: 670px; min-height: 670px; }
  .hero h1 { min-height: 2.5em; }
  .hero__description { min-height: 5.25em; }
  .hero-scene { top: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene__particles, .hero-scene__phone, .hero-scene__card, .hero-scene__coin { animation: none; }
}

/* The Hero's product layers stay in place while the Figma background moves. */
.home-page .hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(ellipse 45% 60% at 70% 50%, rgba(135, 106, 47, .28), transparent 72%),
    radial-gradient(ellipse 35% 50% at 46% 80%, rgba(135, 106, 47, .16), transparent 75%);
  animation: hero-ambient-shift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero__shader { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .4s ease; }
.hero__shader.is-ready { opacity: 1; }
.hero-scene { z-index: 1; }
@keyframes hero-ambient-shift {
  from { transform: translate3d(-4%, 2%, 0) scale(1); }
  to { transform: translate3d(4%, -2%, 0) scale(1.08); }
}

/* Match the current Figma solid button fills while keeping hover motion. */
.site-header .button--metal,
.cta .button--metal,
.announcement-download .button--metal,
.support-actions a {
  background-color: var(--brand-yellow);
  background-image: none;
}
.button--metal::after,
.support-actions a::before { opacity: 0; }
@media (hover: hover) {
  .button--metal:is(:hover, :focus-visible)::after,
  .support-actions a:is(:hover, :focus-visible)::before { opacity: 1; }
}
@media (max-width: 700px) {
  .button--metal::after,
  .support-actions a::before,
  .support-actions__to-top::before { display: none; }

  .site-header .mobile-menu button[data-preview="H5 登录"] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 8px;
    padding: 10px 16px;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: transparent;
    color: var(--brand-yellow);
    text-align: center;
    font-weight: 700;
  }
  .site-header.site-header--light:not(.is-scrolled) .mobile-menu button[data-preview="H5 登录"] { color: var(--brand-yellow); }
  .site-header.is-scrolled .mobile-menu button[data-preview="H5 登录"] { color: var(--brand-gold); }
}

/* Tutorial contents use short chapter names and a borderless panel. */
.tutorial-toc__panel { gap: 16px; border: 0; }
.tutorial-toc a { font-size: 16px; }
.tutorial-toc a[aria-current="location"] { background: rgba(247, 244, 237, .8); }
.tutorial-toc a[aria-current="location"] span:first-child { color: var(--brand-yellow); }
.tutorial-step { border: 0; box-shadow: 0 4px 12px rgba(186, 192, 200, .16); }

/* The updated pages share the same footer spacing. */
.site-footer__inner { padding-top: 120px; }
.announcement-detail-page .site-footer__brand p { display: block; }
.announcement-detail-page .site-footer__copyright { justify-content: space-between; }
.announcement-detail-page .site-footer__copyright p + p { display: block; }

@media (max-width: 700px) {
  .help-tutorials__grid,
  .tutorial-categories__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .help-tutorial { height: 116px; gap: 10px; padding: 12px 6px; border-radius: 14px; font-size: 14px; }
  .help-tutorial__icon, .help-tutorial__icon > img { width: 40px; height: 40px; }
  .help-tutorial__label { white-space: nowrap; }
  .tutorial-categories__list a { min-height: 100px; gap: 7px; padding: 10px 4px; font-size: 16px; }
  .tutorial-category__icon { flex-basis: 36px; width: 36px; height: 36px; }
  .tutorial-category__icon > img { width: 36px; height: 36px; }
  .tutorial-step { border: 0; }

  .home-page .experience-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(96px, 30vw, 130px);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 8px;
    height: 160px;
    padding: 16px 14px 16px 20px;
    border: 0;
    box-shadow: none;
  }
  .home-page .experience-card:hover { border: 0; box-shadow: none; }
  .home-page .experience-card h3 { grid-column: 1; grid-row: 1; align-self: end; color: #8e6d00; font-size: 20px; line-height: 1.3; }
  .home-page .experience-card p { grid-column: 1; grid-row: 2; align-self: start; margin-top: 8px; font-size: 13px; line-height: 1.45; }
  .home-page .experience-card__art,
  .home-page .experience-card__art--muted {
    position: relative;
    right: auto;
    bottom: auto;
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    width: 100%;
    height: auto;
    max-height: 130px;
    mix-blend-mode: normal;
    opacity: 1;
  }
  .site-footer__inner { padding-top: 64px; }
}

@media (max-width: 600px) {
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero::before { animation: none; }
  .hero__shader { transition: none; }
  .site-header .menu-toggle span { transition: none; }
}
