@font-face {
  font-family: "Douyin Sans";
  src: url("assets/fonts/DouyinSansBold.ttf") format("truetype");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --ink: #020d14;
  --green: #006d59;
  --deep-green: #004c3e;
  --muted: #728279;
  --page-bg: #eaf8ef;
  --frame-width: min(76vw, 1440px);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--page-bg);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { touch-action: manipulation; }
button { border: 0; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure { margin: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; }
.frame { width: var(--frame-width); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 12px; transform: translateY(-150%); background: white; padding: 12px; }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 5; left: 0; right: 0; top: 6.3vh; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { width: clamp(150px, 12vw, 225px); flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: clamp(26px, 3vw, 52px); }
.main-nav > a, .nav-account-trigger { position: relative; padding: 14px 0; color: #214d43; font-size: clamp(15px, 1.17vw, 20px); font-weight: 750; white-space: nowrap; }
.main-nav > a::after, .nav-account-trigger::after { content: ""; position: absolute; bottom: 0; height: 3px; left: 4%; right: 4%; background: var(--green); transform: scaleX(0); transition: transform 180ms; }
.main-nav > a[aria-current]::after, .main-nav > a:hover::after, .nav-account-trigger:hover::after, .nav-account-trigger[aria-expanded="true"]::after { transform: scaleX(1); }

.screen { position: relative; height: 100svh; min-height: 760px; scroll-snap-align: start; scroll-snap-stop: always; overflow: clip; display: flex; align-items: center; }
.about { background: #eaf8ef; }
.community { background: #e7f5fa; }
.brothers { background: #fdfae1; }
.stickers { background: #fef5ec; }
.cooperation { background: #efeffa; }
.scene { position: relative; height: min(68vh, 780px); }
.scene-blob { position: absolute; z-index: 0; pointer-events: none; object-fit: contain; }
.display-title, h1, .member h3 { font-family: "Douyin Sans", "PingFang SC", "Microsoft YaHei", sans-serif; font-weight: 900; letter-spacing: -0.035em; -webkit-text-stroke: 1.5px currentColor; }
.display-title { font-size: clamp(48px, 5.15vw, 96px); line-height: 1.12; }
.eyebrow { margin-bottom: 15px; font-size: clamp(21px, 1.7vw, 30px); line-height: 1.4; font-weight: 750; }
.section-description { font-size: clamp(21px, 1.76vw, 31px); line-height: 1.45; font-weight: 550; }
.icon { width: 32px; height: 32px; flex-shrink: 0; object-fit: contain; }
.small-icon { width: 16px; height: 16px; }
.button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 66px; padding: 16px 40px; border-radius: 50px; background: var(--deep-green); color: white; font-size: clamp(18px, 1.4vw, 24px); font-weight: 700; letter-spacing: 0.025em; transition: background 180ms, transform 180ms; }
.button-primary:hover { background: #006650; transform: translateY(-2px); }
.text-action { display: inline-flex; align-items: center; gap: 12px; padding: 5px 0; border-bottom: 2px solid currentColor; color: var(--deep-green); background: none; font-size: clamp(17px, 1.3vw, 22px); font-weight: 700; line-height: 1.4; }
.text-action:hover { color: var(--green); }
.home-blob { left: -4%; width: 59%; height: 100%; top: 0; transform: rotate(-13deg); }
.home-art { position: absolute; width: 57%; left: -2%; top: 53%; transform: translateY(-50%); }
.home-copy { position: relative; top: 50%; margin-left: 57.5%; transform: translateY(-41%); }
h1 { font-size: clamp(48px, 5.15vw, 94px); line-height: 1.12; }
.home-description { margin-top: 27px; font-size: clamp(17px, 1.45vw, 26px); line-height: 1.6; white-space: nowrap; }
.home-actions { display: flex; align-items: center; gap: 36px; margin-top: 32px; white-space: nowrap; }
.home-actions .button-primary { padding-inline: 38px; }

.community-copy { position: relative; z-index: 2; top: 8.5%; left: 3%; width: 43%; }
.community .eyebrow { color: var(--deep-green); }
.community .section-description { margin-top: 16px; }
.feature-list { margin: 25px 0 12px; padding: 0; list-style: none; max-width: 400px; }
.feature-list li { display: flex; gap: 22px; padding: 16px 0; border-bottom: 1px solid #acc6cd; }
.feature-list li:first-child { padding-top: 0; }
.feature-list li:last-child { border: 0; }
.feature-number { color: var(--deep-green); font-weight: 850; font-size: 38px; line-height: 1.15; }
.feature-list h3 { font-size: 20px; line-height: 1.4; margin-bottom: 2px; }
.feature-list p { color: #3f5265; font-size: 15px; line-height: 1.6; white-space: nowrap; }
.community-rules { position: relative; width: fit-content; }
.community-rules summary { list-style: none; cursor: pointer; border: 0; }
.community-rules summary::-webkit-details-marker { display: none; }
.rules-content { position: absolute; z-index: 4; bottom: calc(100% + 12px); left: 0; width: 340px; max-width: 78vw; padding: 22px; border-radius: 16px; color: #214d43; background: #fff; box-shadow: 0 12px 40px #18483b22; font-size: 16px; line-height: 1.9; }
.rules-content ul { margin: 8px 0 0; padding-left: 20px; }
.community-visual { position: absolute; left: 35%; right: -1%; top: 5%; height: 100%; }
.community-visual .scene-blob { width: 110%; height: 110%; top: -4%; right: -5%; }
.community-character { position: absolute; z-index: 2; width: 51%; left: 0; bottom: -2%; }
.app-preview { position: absolute; z-index: 1; height: 89%; aspect-ratio: 0.53; top: 2%; right: 11%; padding: 16px; border-radius: 36px; background: #fff; box-shadow: 0 12px 30px #46718112; transform: rotate(-1deg); }
.app-preview-screen { width: 100%; height: 100%; overflow: hidden; border-radius: 24px; }
.app-preview-screen img { width: calc(100% + 32px); max-width: none; margin: -48px 0 0 -16px; }

.brothers .scene { transform: translateY(30px); }
.brothers-heading { text-align: center; }
.brothers-heading .display-title { font-size: clamp(40px, 4.9vw, 86px); white-space: nowrap; }
.brothers-heading .section-description { margin-top: 20px; }
.member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.member { display: grid; grid-template-columns: 60% 40%; align-items: center; min-width: 0; }
.member-art { position: relative; }
.member-art .scene-blob { top: 0; width: 140%; height: 100%; max-width: none; left: -20%; }
.member-character { position: relative; width: 115%; max-width: none; margin-left: -13%; }
.member-info { position: relative; z-index: 1; }
.member h3 { font-size: clamp(32px, 3vw, 54px); line-height: 1.2; }
.member-role { margin: 6px 0 18px; font-size: clamp(15px, 1.35vw, 23px); line-height: 1.5; white-space: nowrap; }
.douyin-code { display: block; width: min(200px, 100%); border: 2px solid #8b9f6a; padding: 2px; border-radius: 15px; background: #fff; }
.douyin-code img { width: 100%; border-radius: 10px; }
.douyin-tip { margin: 12px 0 19px; font-size: clamp(14px, 1.25vw, 22px); line-height: 1.6; white-space: nowrap; }
.douyin-tip span { font-size: .97em; }
.profile-trigger { font-size: 23px; }

.stickers-copy { position: relative; z-index: 2; top: 10%; width: 44%; }
.stickers .display-title { font-size: clamp(44px, 4.8vw, 88px); }
.stickers .section-description { margin-top: 20px; }
.sticker-links { list-style: none; padding: 0; margin: 22px 0 18px; width: 73%; }
.sticker-links li:not(:last-child) { border-bottom: 1px solid #8e9392; }
.sticker-links a { display: flex; width: fit-content; align-items: center; gap: 15px; padding: 18px 0; font-size: clamp(17px, 1.45vw, 25px); font-weight: 550; }
.sticker-links a:hover { color: var(--green); }
.sticker-note { font-size: clamp(15px, 1.25vw, 22px); }
.sticker-visual { position: absolute; width: 66%; right: -3%; top: 3%; height: 100%; }
.sticker-visual .scene-blob { width: 116%; max-width: none; height: 120%; top: -9%; left: -8%; }
.sticker-gallery { position: absolute; width: 94%; left: 3%; top: 54%; transform: translateY(-50%); }

.cooperation-copy { position: relative; z-index: 2; top: 7%; width: 44%; }
.cooperation .display-title { font-size: clamp(56px, 6.3vw, 112px); line-height: 1.1; }
.license-list { margin: 32px 0; list-style: none; padding: 0; max-width: 465px; }
.license-list li { display: flex; align-items: baseline; gap: 24px; padding: 23px 0; }
.license-list li:first-child { padding-top: 0; border-bottom: 1px solid #d3d0e6; }
.license-list li:last-child { padding-bottom: 0; }
.license-list li > span { font-size: 30px; font-weight: 800; }
.license-list h3 { font-size: clamp(20px, 1.8vw, 30px); line-height: 1.4; margin-bottom: 3px; }
.license-list p { font-size: clamp(16px, 1.25vw, 22px); color: #52576d; line-height: 1.5; }
.contact-link { min-width: 320px; }
.cooperation-visual { position: absolute; width: 61%; height: 100%; right: -3%; top: 5%; }
.cooperation-visual .scene-blob { width: 110%; height: 110%; top: -10%; left: -4%; max-width: none; }
.cooperation-art { position: absolute; width: 100%; top: 50%; transform: translateY(-48%); }

.page-dots { position: fixed; z-index: 4; right: 6.8%; top: 40%; display: flex; flex-direction: column; }
.page-dots a { display: grid; place-items: center; width: 32px; height: 31px; }
.page-dots img { width: 19px; height: 19px; }
.site-footer { position: fixed; z-index: 4; bottom: 34px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; color: #214d43; pointer-events: none; }
.site-footer a { pointer-events: auto; }
.scroll-prompt { display: flex; align-items: center; gap: 6px; font-size: 17px; }
.page-count { display: flex; align-items: baseline; gap: 18px; padding-right: 28px; margin-right: 16px; border-right: 1px solid #b7c9c0; }
.page-count strong { font-size: 21px; }
.page-count span { font-size: 16px; }
.copyright { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 15px; line-height: 1.4; }
.copyright a { text-decoration: underline; text-underline-offset: 3px; }

#character-dialog { width: min(900px, calc(100vw - 48px)); max-width: none; max-height: min(90svh, 800px); min-height: 600px; margin: auto; padding: 42px 48px 60px; border: 0; border-radius: 28px; color: #214d43; background: white; }
#character-dialog::backdrop, #contact-dialog::backdrop { background: #24371255; }
#contact-dialog { width: min(440px, calc(100vw - 32px)); max-width: none; max-height: 90svh; margin: auto; padding: 32px; border: 0; border-radius: 28px; color: #214d43; background: white; }
#contact-title { margin: 0 32px 20px 0; font-size: 24px; line-height: 1.4; }
.contact-qr { width: 100%; max-width: 320px; max-height: 65svh; object-fit: contain; margin-inline: auto; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-shell { position: relative; }
.dialog-close { position: absolute; right: -20px; top: -14px; display: grid; place-items: center; width: 44px; height: 44px; background: none; border-radius: 50%; }
.dialog-close img { width: 32px; height: 32px; opacity: .6; }
#dialog-title { font-size: 28px; line-height: 1.4; margin-bottom: 22px; }
.profile-tabs { display: flex; gap: 16px; margin-bottom: 36px; }
.profile-tabs button { width: 112px; min-height: 38px; padding: 7px 12px; border-radius: 24px; color: #7d8b83; background: transparent; font-size: 18px; font-weight: 750; }
.profile-tabs [aria-selected="true"] { color: white; background: var(--green); }
.profile-panel { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 55px; }
.profile-panel[hidden] { display: none; }
.profile-figure { padding-top: 6px; }
.profile-portrait { position: relative; height: 230px; overflow: hidden; border-radius: 24px; background: #eff5e3; }
.profile-portrait img { position: absolute; width: 260%; max-width: none; right: -28%; top: -24%; }
.profile-figure figcaption { text-align: center; color: #85917e; font-size: 16px; margin-top: 22px; }
.profile-copy h3 { font-size: 32px; line-height: 1.3; margin-bottom: 10px; }
.profile-role { color: #7d8b83; font-size: 16px; }
.profile-copy dl { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 32px 16px; margin: 36px 0 0; font-size: 16px; line-height: 1.6; }
.profile-copy dt { font-weight: 700; }
.profile-copy dd { margin: 0; color: #667a6e; }

/* Keep wide desktop layouts inside the space between the header and footer. */
@media (min-width: 901px) and (min-height: 821px) {
  :root { --frame-width: min(76vw, 1440px, 145vh); }
  .scene { height: min(66vh, 740px); }
  .display-title, h1 { font-size: clamp(48px, min(5.15vw, 8.2vh), 94px); }
  .eyebrow { font-size: clamp(21px, min(1.7vw, 2.8vh), 30px); }
  .section-description { font-size: clamp(21px, min(1.76vw, 2.8vh), 31px); }
  .home-art { height: 100%; top: 50%; object-fit: contain; }
  .home-description { font-size: clamp(17px, min(1.45vw, 2.4vh), 26px); }

  .community-copy, .stickers-copy, .cooperation-copy { top: 0; }
  .feature-list li { padding-block: 12px; }
  .feature-list li:first-child { padding-top: 0; }
  .feature-list h3 { font-size: 18px; }
  .feature-list p { font-size: 14px; }

  .brothers .scene { transform: none; }
  .brothers-heading .display-title { font-size: clamp(40px, min(4.9vw, 7.6vh), 86px); }
  .member-grid { margin-top: 30px; }
  .member-character { max-height: 48vh; width: auto; max-width: 115%; }
  .member h3 { font-size: clamp(32px, min(3vw, 4.8vh), 54px); }
  .member-role { font-size: clamp(15px, min(1.35vw, 2vh), 23px); }
  .douyin-code { width: min(200px, 19vh, 100%); }
  .douyin-tip { font-size: clamp(14px, min(1.25vw, 2vh), 22px); }
  .profile-trigger { font-size: 20px; }

  .stickers .display-title { font-size: clamp(44px, min(4.8vw, 7.7vh), 88px); }
  .sticker-links a { padding-block: 14px; font-size: clamp(17px, min(1.45vw, 2.4vh), 25px); }
  .sticker-gallery, .cooperation-art { height: 100%; object-fit: contain; }

  .cooperation .display-title { font-size: clamp(56px, min(6.3vw, 9.5vh), 112px); }
  .license-list { margin-block: 26px; }
  .license-list li { padding-block: 18px; }
  .license-list li:first-child { padding-top: 0; }
  .license-list li:last-child { padding-bottom: 0; }
  .license-list h3 { font-size: clamp(20px, min(1.8vw, 3vh), 30px); }
  .license-list p { font-size: clamp(16px, min(1.25vw, 2.2vh), 22px); }
}

@media (min-width: 901px) and (max-height: 820px) {
  .screen { min-height: 680px; }
  .scene { height: 72vh; min-height: 490px; }
  .site-header { top: 30px; }
  .brand { width: 150px; }
  .display-title { font-size: min(4.6vw, 64px); }
  h1 { font-size: min(4.6vw, 66px); }
  .community-copy { top: 4%; }
  .community .section-description { font-size: 22px; }
  .feature-list { margin-top: 16px; }
  .feature-list li { padding-block: 10px; }
  .feature-list p { font-size: 13px; }
  .feature-list h3 { font-size: 18px; }
  .brothers .scene { transform: translateY(12px); }
  .brothers-heading .display-title { font-size: 4vw; }
  .member-grid { margin-top: 20px; }
  .member-character { max-height: 48vh; width: auto; max-width: 115%; }
  .member h3 { font-size: 36px; }
  .member-role { font-size: 16px; margin-bottom: 10px; }
  .douyin-code { width: 150px; }
  .douyin-tip { font-size: 15px; margin: 8px 0; }
  .profile-trigger { font-size: 18px; }
  .stickers .display-title { font-size: 4.4vw; }
  .stickers .section-description { font-size: 23px; }
  .sticker-links { margin-top: 12px; }
  .sticker-links a { padding-block: 12px; font-size: 20px; }
  .cooperation .display-title { font-size: 5.2vw; }
  .license-list { margin: 24px 0; }
  .license-list li { padding-block: 15px; }
  .license-list h3 { font-size: 23px; }
  .license-list p { font-size: 16px; }
  .button-primary { min-height: 54px; padding-block: 13px; }
  .site-footer { bottom: 24px; }
}

@media (max-width: 1100px) and (min-width: 901px) {
  :root { --frame-width: 84vw; }
  .main-nav { gap: 20px; }
  .page-dots { right: 2.5%; }
  .home-actions { gap: 20px; }
  .home-actions .button-primary { padding-inline: 20px; }
  .member-role { white-space: normal; }
  .douyin-tip { font-size: 14px; }
  .feature-list p { white-space: normal; }
}

@media (max-width: 900px) {
  :root { --frame-width: calc(100% - 40px); }
  html { scroll-snap-type: y proximity; }
  .site-header { top: 0; width: 100%; padding: 18px 20px 12px; flex-wrap: wrap; gap: 12px; background: var(--page-bg); }
  .brand { width: 130px; }
  .main-nav { width: 100%; justify-content: space-between; gap: 10px; }
  .main-nav > a, .nav-account-trigger { padding: 8px 0; font-size: 14px; }
  .screen { height: auto; min-height: 100svh; padding: 148px 0 110px; }
  .scene { height: auto; }
  .display-title, h1 { font-size: clamp(40px, 7vw, 66px); -webkit-text-stroke: 1px currentColor; }
  .member h3 { -webkit-text-stroke: 1px currentColor; }
  .eyebrow { font-size: 20px; margin-bottom: 14px; }
  .section-description { font-size: 22px; }
  .icon { width: 23px; height: 23px; }
  .home-art { position: relative; width: min(100%, 560px); left: auto; top: auto; transform: none; margin: 0 auto 18px; }
  .home-blob { top: -2%; left: 0; width: 100%; height: 55%; }
  .home-copy { top: auto; margin: 0 auto; transform: none; max-width: 560px; }
  h1 { line-height: 1.15; }
  .home-description { white-space: normal; font-size: 18px; margin-top: 20px; }
  .home-description br { display: none; }
  .home-actions { flex-wrap: wrap; gap: 20px; margin-top: 24px; }
  .home-actions .button-primary { padding-inline: 28px; }
  .button-primary { min-height: 56px; padding: 15px 28px; font-size: 18px; }
  .community-copy { top: auto; left: auto; width: 100%; }
  .feature-list { max-width: none; }
  .feature-list p { white-space: normal; font-size: 15px; }
  .community-visual { position: relative; top: auto; left: auto; right: auto; width: 100%; height: 530px; margin-top: 25px; }
  .app-preview { right: 6%; height: 92%; }
  .community-character { width: 52%; bottom: 0; }
  .community-visual .scene-blob { width: 100%; right: 0; }
  .brothers .scene { transform: none; }
  .brothers-heading .display-title { font-size: 38px; white-space: normal; line-height: 1.25; }
  .brothers-heading .section-description { font-size: 20px; }
  .member-grid { grid-template-columns: 1fr; gap: 48px; margin-top: 36px; }
  .member { grid-template-columns: 55% 45%; max-width: 600px; margin: auto; width: 100%; }
  .member-character { width: 108%; margin-left: -7%; }
  .member-art .scene-blob { width: 130%; left: -15%; }
  .member h3 { font-size: 36px; }
  .member-role { font-size: 16px; white-space: normal; margin-bottom: 12px; }
  .douyin-code { width: min(170px, 100%); }
  .douyin-tip { font-size: 15px; white-space: normal; }
  .douyin-tip span { overflow-wrap: anywhere; }
  .profile-trigger { font-size: 19px; }
  .stickers-copy { top: auto; width: 100%; }
  .stickers .display-title { font-size: clamp(38px, 7vw, 64px); }
  .sticker-links { width: 100%; max-width: 420px; }
  .sticker-links a { width: 100%; justify-content: space-between; font-size: 20px; }
  .sticker-note { font-size: 17px; }
  .sticker-visual { position: relative; width: 100%; height: auto; right: auto; top: auto; margin-top: 35px; }
  .sticker-gallery { position: relative; width: 100%; left: auto; top: auto; transform: none; }
  .cooperation-copy { width: 100%; top: auto; }
  .cooperation .display-title { font-size: 64px; }
  .license-list { max-width: none; }
  .license-list h3 { font-size: 23px; }
  .license-list p { font-size: 17px; }
  .license-list p br { display: none; }
  .contact-link { min-width: 0; }
  .cooperation-visual { position: relative; width: 100%; right: auto; height: auto; margin-top: 32px; }
  .cooperation-art { position: relative; top: auto; transform: none; }
  .page-dots { display: none; }
  .site-footer { width: 100%; bottom: 0; padding: 10px 20px; background: var(--page-bg); gap: 15px; }
  .page-count { border: 0; margin: 0; padding: 0; gap: 8px; }
  .page-count strong { font-size: 18px; }
  .page-count span { font-size: 13px; }
  .scroll-hint { display: none; }
  .copyright { font-size: 11px; gap: 4px; }
  #character-dialog { padding: 28px; min-height: 0; max-height: 88svh; border-radius: 24px; }
  #dialog-title { font-size: 24px; }
  .dialog-close { top: -12px; right: -15px; }
  .profile-tabs { margin-bottom: 24px; gap: 8px; }
  .profile-panel { grid-template-columns: 1fr; gap: 24px; }
  .profile-figure { width: 160px; margin-inline: auto; padding: 0; }
  .profile-portrait { height: 160px; border-radius: 18px; }
  .profile-figure figcaption { font-size: 14px; margin-top: 12px; }
  .profile-copy h3 { font-size: 28px; }
  .profile-role { font-size: 14px; }
  .profile-copy dl { margin-top: 22px; gap: 18px 12px; grid-template-columns: 64px minmax(0, 1fr); font-size: 14px; }
}

@media (max-width: 360px) {
  .main-nav > a, .nav-account-trigger { font-size: 12px; }
  .member h3 { font-size: 30px; }
  .member-role { font-size: 14px; }
  .douyin-tip { font-size: 13px; }
  .profile-trigger { font-size: 17px; }
  .license-list li { gap: 14px; }
  .license-list h3 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Official account: an anchored, non-modal QR panel shared by both pages. */
.nav-official-account { position: relative; flex-shrink: 0; }
.nav-account-trigger { display: flex; align-items: center; gap: 5px; background: transparent; }
.nav-chevron { width: 12px; height: 12px; transition: transform 180ms; }
.nav-account-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.official-account-popover { position: absolute; z-index: 20; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: 224px; max-width: calc(100vw - 40px); padding: 18px; border: 1px solid #d8e8df; border-radius: 22px; color: #214d43; background: #fff; box-shadow: 0 16px 48px #18483b24; text-align: center; }
.official-account-popover[hidden] { display: none; }
.official-account-popover strong { display: block; font-size: 16px; line-height: 1.5; font-weight: 750; }
.official-account-code { display: block; width: 180px; max-width: 100%; margin: 12px auto; padding: 0; }
.official-account-code img { width: 100%; height: auto; }
.official-account-popover p { font-size: 12px; line-height: 1.6; color: #728279; }

/* Open services is an independent document with normal page scrolling. */
html.services-document { scroll-snap-type: none; }
.services-page { background: #eaf8ef; }
.services-page .site-header { position: relative; top: auto; padding-block: 32px; }
.services-main { padding-top: 26px; }
.services-hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 36px; min-height: min(590px, 65vh); padding-bottom: 64px; }
.services-hero .eyebrow { color: var(--green); font-size: 18px; }
.services-hero h1 { font-size: clamp(40px, 3.9vw, 70px); line-height: 1.2; -webkit-text-stroke: 1px currentColor; }
.services-hero h1 span { color: var(--deep-green); }
.services-intro { max-width: 620px; margin: 26px 0 30px; color: #526b60; font-size: clamp(16px, 1.25vw, 21px); line-height: 1.85; }
.services-hero .contact-link { min-width: 0; }
.services-hero-visual { position: relative; min-width: 0; }
.services-hero-blob { position: absolute; top: -8%; left: -5%; width: 110%; max-width: none; height: 108%; object-fit: contain; }
.services-hero-art { position: relative; width: 100%; }
.services-hero-note { position: relative; display: block; color: #526b60; font-size: 14px; line-height: 1.6; text-align: center; }
.services-partners { padding: 48px 0 70px; border-top: 1px solid #cfe1d5; }
.services-section-heading { max-width: 760px; margin-bottom: 34px; }
.services-section-heading .eyebrow { color: var(--green); font-size: 16px; margin-bottom: 10px; }
.services-section-heading h2, .services-contact h2 { font-size: clamp(28px, 2.6vw, 44px); line-height: 1.35; letter-spacing: -.025em; }
.services-section-heading > p:last-child { margin-top: 14px; color: #526b60; font-size: 17px; line-height: 1.8; }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.partner-card { min-width: 0; padding: clamp(26px, 2.7vw, 46px); border: 1px solid #d1e3d9; border-radius: 30px; background: #f8fcf9; }
.partner-tackle { background: #fffaf0; border-color: #e9dfc5; }
.partner-number { display: block; color: var(--green); font-size: 14px; font-weight: 750; letter-spacing: .04em; }
.partner-card h3 { margin-top: 22px; font-size: clamp(27px, 2.4vw, 40px); line-height: 1.35; }
.partner-card > p { margin-top: 20px; color: #526b60; font-size: 16px; line-height: 1.85; }
.partner-card ul { margin: 24px 0 28px; padding-left: 20px; color: #36574a; font-size: 15px; line-height: 1.9; }
.partner-card li { padding-left: 3px; margin-bottom: 10px; }
.partner-tag { display: block; padding-top: 20px; border-top: 1px solid #d7e4db; color: #6b8174; font-size: 13px; line-height: 1.8; }
.partner-tackle .partner-tag { border-color: #e9dfc5; }
.services-contact { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px; border-radius: 30px; background: #dcefe2; }
.services-contact .eyebrow { font-size: 15px; color: var(--green); margin-bottom: 14px; }
.services-contact p:last-child { margin-top: 14px; color: #526b60; font-size: 16px; line-height: 1.85; }
.services-contact .contact-link { flex-shrink: 0; min-width: 0; }
.services-page .site-footer { position: static; margin-top: 64px; padding-block: 28px; border-top: 1px solid #cfe1d5; }
.services-page .site-footer .text-action { font-size: 15px; }

@media (max-width: 1100px) and (min-width: 901px) {
  .site-header { gap: 24px; }
  .main-nav { gap: 16px; }
  .services-contact { padding: 32px; }
}
@media (max-width: 900px) {
  .official-account-popover { left: auto; right: 0; transform: none; }
  .services-page .site-header { padding-block: 18px 12px; }
  .services-main { padding-top: 28px; }
  .services-hero { grid-template-columns: 1fr; min-height: 0; gap: 32px; padding-bottom: 44px; }
  .services-hero h1 { font-size: clamp(37px, 7vw, 60px); }
  .services-intro { font-size: 17px; margin: 20px 0 24px; }
  .services-hero-visual { width: min(100%, 440px); margin-inline: auto; }
  .services-partners { padding-block: 36px 44px; }
  .partner-grid { gap: 20px; }
  .partner-card { padding: 28px; }
  .partner-card h3 { font-size: 28px; }
  .services-contact { flex-direction: column; align-items: flex-start; padding: 30px; }
  .services-contact p br { display: none; }
  .services-page .site-footer { margin-top: 40px; }
}
@media (max-width: 600px) {
  .main-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 10px; }
  .main-nav > a, .nav-account-trigger { width: fit-content; font-size: 13px; }
  .screen { padding-top: 184px; }
  .partner-grid { grid-template-columns: 1fr; }
  .services-hero-note { font-size: 12px; }
  .services-page .site-footer { align-items: flex-start; gap: 20px; }
  .services-page .site-footer .text-action { font-size: 13px; }
}
