/* Local product-language preview. Existing school-map styles remain isolated. */
html[data-product="cantobloom"] [data-for="fanhua"],
html:not([data-product="cantobloom"]) [data-for="cantobloom"] { display:none!important; }
.product-hero { padding:56px 0 64px; }
.product-hero .split { align-items:center; gap:80px; }
.product-hero .product-name { margin-bottom:16px; font-size:24px; letter-spacing:-.025em; }
.product-hero .product-name img { width:44px; height:44px; object-fit:contain; }
.platform-label { display:block; color:var(--muted); font-size:13px; letter-spacing:.04em; margin-bottom:24px; }
.product-hero h1 { font-size:clamp(40px,4vw,60px); line-height:1.25; margin-bottom:22px; letter-spacing:-.04em; }
.product-hero .lead { font-size:18px; line-height:1.85; max-width:37ch; margin-bottom:24px; }
.product-hero .feature-tabs { margin:24px 0 18px; }
.product-hero .feature-copy { min-height:112px; margin-bottom:24px; }
.product-hero .feature-copy h3 { font-size:20px; }
.product-hero .feature-copy p { font-size:15px; max-width:35ch; }
.product-hero .product-stage { height:600px; }
.product-hero .product-detail-link { display:inline-flex; margin-left:20px; font-size:14px; }
.product-hero .search-note { margin-top:12px; font-size:13px; }
.product-switch { display:flex; flex-wrap:wrap; align-items:center; gap:3px 8px; margin-top:24px; padding-top:20px; border-top:1px solid var(--line); font-size:13px; color:var(--muted); max-width:430px; }
.product-switch a { display:inline-flex; align-items:center; min-height:36px; gap:8px; color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
.product-switch svg { width:15px; height:15px; }
.cb-hero .product-name { font-family:Georgia,'Times New Roman',serif; font-weight:600; font-size:32px; margin-bottom:28px; }
html[lang="en"] .cb-hero h1 { font-size:clamp(42px,4.4vw,64px); line-height:1.12; }
.cb-hero .lead { max-width:39ch; }
.cb-kicker { font-size:13px; color:#526d64; margin-bottom:26px; }
.cb-actions { display:flex; align-items:center; flex-wrap:wrap; gap:20px; }
.store-link { display:flex; align-items:center; gap:14px; border:1px solid #cbd4d0; border-radius:10px; padding:12px 20px; background:#eff3f0; color:#3a5148; min-height:68px; cursor:pointer; text-decoration:none; transition:background-color 160ms ease,border-color 160ms ease; }
.store-link svg { width:27px; height:30px; fill:none; stroke:currentColor; stroke-width:1.4; }
.store-link span { display:flex; flex-direction:column; }
.store-link strong { font-weight:600; font-size:19px; line-height:1.4; }
.store-link small { font-size:12px; letter-spacing:.02em; }
.cb-explore { min-height:44px; display:inline-flex; align-items:center; gap:12px; font-size:14px; color:var(--brand); }
.cb-stage { position:relative; min-width:0; height:620px; display:flex; align-items:center; justify-content:center; border-radius:24px; background:#f3efe5; overflow:hidden; }
.cb-stage::before { content:''; position:absolute; width:480px; height:480px; border:1px solid #e3ddcf; border-radius:50%; }
.cb-stage::after { content:''; position:absolute; width:380px; height:380px; border:1px solid #e3ddcf; border-radius:50%; }
.cb-screen { position:relative; z-index:1; width:246px; padding:0; border:7px solid #fffdf7; border-radius:27px; overflow:hidden; box-shadow:0 20px 40px #3d493a20; cursor:zoom-in; line-height:0; }
.cb-screen img { width:100%; height:auto; }
.product-stage { padding-bottom:32px; }
.cb-feature-section { padding:72px 0; background:#f5f7f4; }
.eyebrow { color:var(--green); font-size:13px; margin-bottom:18px; letter-spacing:.035em; }
.cb-feature-head { display:flex; align-items:end; justify-content:space-between; gap:32px; margin-bottom:40px; }
.cb-feature-head h2 { font-size:40px; }
.cb-feature-head .product-detail-link { flex-shrink:0; font-size:14px; }
.cb-feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:48px; }
.cb-feature-grid article { border-top:1px solid #bdcec3; padding-top:20px; }
.feature-number { display:block; font-size:12px; color:var(--green); margin-bottom:18px; }
.cb-feature-grid h3 { font-size:23px; margin-bottom:12px; }
.cb-feature-grid p { color:var(--muted); font-size:15px; line-height:1.9; }
.cb-copybooks { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:48px; margin-top:40px; padding:32px; background:#fff; border:1px solid #d7dfd7; border-radius:16px; }
.cb-copybooks h3 { font-size:26px; margin-bottom:14px; }
.cb-copybooks p { max-width:50ch; color:var(--muted); font-size:15px; line-height:1.9; }
.copybook-steps { margin:0; padding:0; list-style:none; counter-reset:copybook-steps; }
.copybook-steps li { display:flex; align-items:center; gap:14px; padding:12px 0; font-size:15px; counter-increment:copybook-steps; }
.copybook-steps li+li { border-top:1px solid #e4ebe5; }
.copybook-steps li::before { content:counter(copybook-steps,decimal-leading-zero); color:var(--green); font-size:12px; flex:0 0 24px; }
.language-strip { margin-top:48px; padding-top:32px; border-top:1px solid #d7dfd7; display:grid; grid-template-columns:1fr 1fr; gap:16px 48px; align-items:center; }
.language-strip h3 { font-size:22px; margin-bottom:10px; }
.language-strip p { font-size:14px; color:var(--muted); max-width:48ch; }
.language-list { display:flex; flex-wrap:wrap; gap:8px; list-style:none; margin:0; padding:0; }
.language-list li { padding:5px 13px; border:1px solid #d3ddd3; border-radius:6px; background:#fff; color:#3f594b; font-size:14px; }
.city-story { padding:64px 0; }
.city-grid { display:grid; grid-template-columns:1.2fr 1fr; align-items:center; gap:64px; }
.city-story .harbour { height:280px; }
.city-story h2 { font-size:34px; margin-bottom:20px; }
.city-story p:not(.eyebrow) { font-size:16px; line-height:1.9; color:var(--muted); max-width:40ch; }
.cb-gallery { padding:72px 0; }
.cb-gallery> .wrap>p { margin-top:20px; }
.cb-gallery-grid { margin-top:36px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
.cb-gallery figure { margin:0; min-width:0; }
.cb-gallery figure>button { background:#f4f0e8; width:100%; padding:24px; border-radius:16px; cursor:zoom-in; }
.cb-gallery img { width:200px; max-width:100%; margin:0 auto; border-radius:12px; }
.cb-gallery figcaption { font-size:15px; margin-top:16px; }
.cb-review { padding:64px 0; background:var(--mist); }
.cb-review .split { align-items:center; }
.cb-review h2 { font-size:36px; margin-bottom:24px; }
.cb-review .lead { font-size:17px; }
.cb-review .faq { margin-top:48px; }
.product-page-switch { padding-bottom:36px; }
.product-page-switch .product-switch { max-width:none; }
@media(min-width:1400px) { .product-hero { padding-top:64px; padding-bottom:72px; } }
@media(max-width:1199px) { .product-hero .split { gap:40px; }.cb-stage { height:600px; }.product-hero h1 { font-size:44px; }.product-hero .product-detail-link { display:block; margin-left:0; }.cb-feature-grid { gap:32px; } }
@media(max-width:899px) { .product-hero .split { grid-template-columns:1fr 1fr; gap:28px; }.product-hero h1,html[lang="en"] .cb-hero h1 { font-size:38px; }.product-hero .lead { font-size:16px; }.product-hero .product-stage { height:570px; }.product-hero .screen-button { width:230px; }.cb-screen { width:220px; }.cb-stage { height:560px; }.city-grid { gap:32px; }.city-story h2 { font-size:28px; }.cb-feature-head h2 { font-size:34px; }.cb-feature-grid { gap:24px; }.cb-feature-grid h3 { font-size:20px; }.cb-gallery-grid { gap:16px; }.cb-gallery figure>button { padding:16px; }.language-strip { grid-template-columns:1fr; gap:24px; }.cb-review .split { grid-template-columns:1fr; gap:28px; } }
@media(max-width:639px) { .nav-tools select { max-width:106px; font-size:14px; }.product-hero { padding:32px 0 40px; }.product-hero .split { grid-template-columns:1fr; gap:32px; }.product-hero .product-name { margin-bottom:8px; font-size:24px; }.product-hero .product-name img { width:36px; height:36px; }.platform-label { margin-bottom:20px; font-size:12px; }.product-hero h1 { font-size:34px; margin-bottom:18px; }html[lang="en"] .cb-hero h1 { font-size:40px; line-height:1.14; }.product-hero .lead { font-size:17px; margin-bottom:20px; }.product-hero .feature-copy { min-height:0; margin-bottom:20px; }.product-hero .feature-copy p { min-height:0; }.product-hero .feature-tabs { margin-top:20px; gap:28px; }.product-hero .product-detail-link { display:block; margin-left:0; padding:10px 0 0; }.product-switch { margin-top:18px; padding-top:12px; font-size:12px; }.cb-hero .product-name { font-size:28px; }.cb-stage { height:540px; }.cb-screen { width:218px; }.cb-actions { gap:10px 18px; }.store-link { padding:10px 16px; min-height:64px; }.cb-kicker { font-size:12px; margin-bottom:20px; }.cb-feature-section,.cb-gallery { padding:48px 0; }.cb-feature-head { display:block; margin-bottom:28px; }.cb-feature-head h2 { font-size:30px; }.cb-feature-head .product-detail-link { margin-top:16px; }.cb-feature-grid { grid-template-columns:1fr; gap:28px; }.cb-feature-grid article { padding-top:16px; }.feature-number { margin-bottom:10px; }.cb-feature-grid h3 { font-size:22px; }.language-strip { margin-top:32px; padding-top:28px; }.language-strip h3 { font-size:22px; }.language-list { gap:8px; }.city-story { padding:48px 0; }.city-grid { grid-template-columns:1fr; gap:28px; }.city-story .harbour { height:210px; }.city-story h2 { font-size:30px; }.city-story .eyebrow { margin-bottom:12px; }.cb-gallery-grid { grid-template-columns:1fr; gap:32px; }.cb-gallery img { width:220px; }.cb-gallery figure>button { padding:24px; }.cb-review { padding:48px 0; }.cb-review h2 { font-size:30px; }.cb-explore { font-size:13px; }.product-hero .screen-button { width:244px; }.product-hero .product-stage { height:560px; }.product-hero .product-copy>.btn { width:auto; }.mobile-menu .secondary-product { font-size:15px; color:var(--muted); } }
@media(max-width:359px) { .nav-tools select { max-width:92px; font-size:13px; }.product-hero h1 { font-size:30px; }html[lang="en"] .cb-hero h1 { font-size:34px; }.cb-stage { height:520px; }.cb-screen { width:206px; }.product-hero .screen-button { width:228px; }.product-hero .product-stage { height:530px; }.cb-actions { gap:8px 14px; } }
@media(min-width:360px) and (max-width:639px) { html[lang="en"] .cb-hero h1 { font-size:36px; } }
@media(max-width:899px) { .cb-copybooks { gap:28px; padding:24px; }.cb-copybooks h3 { font-size:23px; } }
@media(max-width:639px) { .cb-hero .product-name { margin-bottom:24px; }.cb-copybooks { grid-template-columns:1fr; gap:20px; margin-top:32px; }.cb-copybooks h3 { font-size:23px; }.copybook-steps li { font-size:14px; }.product-hero .product-stage { padding-bottom:24px; } }
/* Product facts and ordinary language links are visible to readers and crawlers. */
.language-links { display:flex; flex-wrap:wrap; gap:12px 24px; padding-top:24px; padding-bottom:24px; font-size:13px; }
.language-links a { color:var(--muted); min-height:32px; display:inline-flex; align-items:center; }
.language-links a[aria-current="page"] { color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
.faq .faq-heading { font-size:26px; margin-bottom:24px; }
a.screen-button,a.cb-screen,.cb-gallery figure>a { display:block; }
.practice-media>a[data-image] { display:block; padding:0; height:100%; cursor:zoom-in; }
.cb-gallery figure>a { background:#f4f0e8; width:100%; padding:24px; border-radius:16px; cursor:zoom-in; }
@media(max-width:899px) and (min-width:640px) { .cb-gallery figure>a { padding:16px; } }

.store-link:hover { background:#e3eee6; border-color:#819e8b; }
.store-link:focus-visible { outline:3px solid var(--brand); outline-offset:4px; }
