/* Küresel Patent family page system — lightweight, no external libraries */
.family-page{--fam-accent:#1d458c;--fam-accent2:#77a7f7;--fam-deep:#0b2852;--fam-soft:#f3f7ff;--fam-wash:#e8f0ff;--fam-warm:#f4c879;--fam-ink:#102d5c;--fam-line:rgba(29,69,140,.16);background:#fff}
.family-brand{--fam-accent:#2759b8;--fam-accent2:#7fa7ff;--fam-deep:#102d62;--fam-soft:#f3f6ff;--fam-wash:#e4edff;--fam-warm:#ad86ff}
.family-patent{--fam-accent:#147e98;--fam-accent2:#6fd1d4;--fam-deep:#092d45;--fam-soft:#effbfc;--fam-wash:#dff5f6;--fam-warm:#83abd8;--fam-ink:#0d4053;--fam-line:rgba(20,126,152,.18)}
.family-design{--fam-accent:#9657c6;--fam-accent2:#e59173;--fam-deep:#34204d;--fam-soft:#fff6f3;--fam-wash:#f5e8ff;--fam-warm:#ffbd7a;--fam-ink:#432657;--fam-line:rgba(150,87,198,.17)}
.family-global{--fam-accent:#27aebe;--fam-accent2:#e2aa4a;--fam-deep:#071f38;--fam-soft:#effbfb;--fam-wash:#dff3f3;--fam-warm:#e2aa4a;--fam-ink:#0c4550;--fam-line:rgba(39,174,190,.19)}
.family-class{--fam-accent:#5366c8;--fam-accent2:#9a82e7;--fam-deep:#172760;--fam-soft:#f5f4ff;--fam-wash:#ebe9ff;--fam-warm:#d6a96b;--fam-ink:#25316e;--fam-line:rgba(83,102,200,.17)}
.family-sector{--fam-accent:#167b75;--fam-accent2:#6fc6a3;--fam-deep:#0c3739;--fam-soft:#f1faf7;--fam-wash:#def2e9;--fam-warm:#e9a655;--fam-ink:#164d4b;--fam-line:rgba(22,123,117,.18)}
.family-guide{--fam-accent:#315b8c;--fam-accent2:#c98b42;--fam-deep:#142c49;--fam-soft:#fbf8f1;--fam-wash:#f0e8da;--fam-warm:#c98b42;--fam-ink:#243d5c;--fam-line:rgba(49,91,140,.18)}
.family-corporate{--fam-accent:#244f94;--fam-accent2:#6e99df;--fam-deep:#0b274c;--fam-soft:#f3f7fb;--fam-wash:#e7eff8;--fam-warm:#c79b5b;--fam-ink:#17365f;--fam-line:rgba(36,79,148,.17)}

.family-page .site-header{box-shadow:0 1px 0 rgba(15,43,81,.03)}
.family-page .page-hero{min-height:690px;padding-top:62px;background:linear-gradient(135deg,#fff 0%,var(--fam-soft) 55%,var(--fam-wash) 100%);isolation:isolate}
.family-page .page-hero:before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,transparent 0 49.85%,rgba(255,255,255,.6) 50%,transparent 50.15%);opacity:.25;pointer-events:none}
.family-page .page-hero:after{width:620px;height:620px;right:-120px;top:-190px;background:radial-gradient(circle,color-mix(in srgb,var(--fam-accent2) 26%,transparent),transparent 68%)}
.family-page .page-hero-shell{min-height:500px;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:70px}
.family-page .hero-copy{padding-bottom:62px;position:relative;z-index:5}
.family-page .eyebrow{color:var(--fam-accent)}
.family-page .hero-copy h1{color:var(--fam-ink);font-size:clamp(48px,5.6vw,78px)}
.family-page .hero-answer{color:color-mix(in srgb,var(--fam-ink) 72%,#6f7f96);max-width:760px}
.family-page .button{background:var(--fam-accent);border-color:var(--fam-accent);color:#fff;box-shadow:0 14px 36px color-mix(in srgb,var(--fam-accent) 20%,transparent)}
.family-page .text-link{color:var(--fam-accent)}
.family-page .chip{border-color:color-mix(in srgb,var(--fam-accent) 22%,#dfe7f1);color:var(--fam-ink);background:rgba(255,255,255,.66);transition:.22s ease}
.family-page .family-chip-link:hover{transform:translateY(-2px);background:#fff;border-color:var(--fam-accent);box-shadow:0 9px 22px color-mix(in srgb,var(--fam-accent) 10%,transparent)}
.family-page .hero-visual{height:470px;filter:drop-shadow(0 30px 48px color-mix(in srgb,var(--fam-accent) 12%,transparent));transition:transform .15s linear}
.family-page .hero-visual:before{width:320px;height:320px;background:radial-gradient(circle at 32% 27%,#fff,var(--fam-wash) 42%,color-mix(in srgb,var(--fam-accent2) 62%,#fff) 74%,var(--fam-accent));box-shadow:inset -34px -34px 70px color-mix(in srgb,var(--fam-deep) 18%,transparent),0 38px 95px color-mix(in srgb,var(--fam-accent) 18%,transparent)}
.family-page .hero-visual:after{width:252px;height:252px;opacity:.66}
.family-page .visual-icon{width:98px;height:98px;border-radius:29px;color:var(--fam-accent);background:rgba(255,255,255,.88);backdrop-filter:blur(10px)}
.family-page .visual-code{background:color-mix(in srgb,#fff 90%,var(--fam-soft));color:var(--fam-accent);right:5%;bottom:14%}
.family-page .orbit{border-color:color-mix(in srgb,var(--fam-accent) 28%,transparent)}
.family-page .orbit-one{animation:famOrbit1 13s linear infinite}.family-page .orbit-two{animation:famOrbit2 16s linear infinite reverse}
.family-visual-deco{position:absolute;inset:0;z-index:2;pointer-events:none}.family-node{position:absolute;width:9px;height:9px;border-radius:50%;background:var(--fam-accent2);box-shadow:0 0 0 7px color-mix(in srgb,var(--fam-accent2) 12%,transparent),0 0 24px color-mix(in srgb,var(--fam-accent2) 50%,transparent)}
.family-node.n1{left:13%;top:28%;animation:famFloat 5.2s ease-in-out infinite}.family-node.n2{right:14%;top:30%;animation:famFloat 6.3s ease-in-out infinite reverse}.family-node.n3{left:21%;bottom:20%;animation:famFloat 5.8s ease-in-out infinite reverse}.family-node.n4{right:22%;bottom:16%;animation:famFloat 7.1s ease-in-out infinite}.family-trace{position:absolute;height:1px;width:42%;background:linear-gradient(90deg,transparent,var(--fam-accent2),transparent);opacity:.38}.family-trace.t1{left:7%;top:45%;transform:rotate(18deg)}.family-trace.t2{right:4%;bottom:34%;transform:rotate(-22deg)}
.family-page .quick-facts{border-color:var(--fam-line);box-shadow:0 -14px 50px color-mix(in srgb,var(--fam-accent) 6%,transparent)}
.family-page .quick-facts>div{border-color:var(--fam-line)}.family-page .quick-facts strong{color:var(--fam-ink)}

/* Page-family visual signatures */
.family-brand .hero-visual:after{background:repeating-radial-gradient(circle,transparent 0 32px,rgba(255,255,255,.42) 33px 34px);mask:radial-gradient(circle,#000 64%,transparent 65%)}
.family-patent .hero-visual:after{background:repeating-linear-gradient(90deg,transparent 0 25px,rgba(255,255,255,.42) 26px 27px),repeating-linear-gradient(0deg,transparent 0 25px,rgba(255,255,255,.32) 26px 27px);mask:radial-gradient(circle,#000 64%,transparent 65%)}
.family-design .hero-visual:before{border-radius:39% 61% 62% 38%/48% 42% 58% 52%;animation:famMorph 11s ease-in-out infinite}.family-design .orbit{border-radius:38% 62% 47% 53%}
.family-global .page-hero{background:linear-gradient(135deg,#071f38 0%,#0c3851 52%,#eaf8f8 132%);color:#fff}.family-global .hero-copy h1,.family-global .hero-answer,.family-global .breadcrumbs,.family-global .breadcrumbs a{color:#fff}.family-global .eyebrow{color:#79dfe4}.family-global .text-link{color:#8ae5e9}.family-global .chip{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.23);color:#e6fbfc}.family-global .quick-facts{background:rgba(255,255,255,.94)}
.family-global .button:not(.conversion-primary):not(.conversion-secondary){color:var(--fam-deep)}
.family-class .hero-visual:before{border-radius:30px;transform:rotate(8deg);background:linear-gradient(145deg,#fff,var(--fam-wash) 40%,color-mix(in srgb,var(--fam-accent2) 55%,#fff));box-shadow:0 36px 80px rgba(44,57,129,.15)}.family-class .hero-visual:after{border:1px solid rgba(83,102,200,.2);background:repeating-linear-gradient(0deg,transparent 0 42px,rgba(83,102,200,.14) 43px 44px);mask:none;border-radius:24px}
.family-sector.variant-b{--fam-accent:#1b6fa9;--fam-accent2:#6cb6d5;--fam-deep:#0d3450;--fam-soft:#f0f8fb;--fam-wash:#dfeff7}.family-sector.variant-c{--fam-accent:#9a6241;--fam-accent2:#e0ab78;--fam-deep:#452e27;--fam-soft:#fcf6f1;--fam-wash:#f6e8dc}.family-guide .page-hero{background:linear-gradient(135deg,#fff 0%,#fbf8f1 56%,#efe7d8 100%)}
.family-corporate.variant-c{--fam-accent:#6a536e;--fam-accent2:#a98aac;--fam-deep:#382e42;--fam-soft:#faf6fb;--fam-wash:#eee3ef}

.variant-b .page-hero-shell{grid-template-columns:minmax(0,.88fr) minmax(400px,1.12fr)}.variant-b .hero-visual{transform:translateX(24px)}.variant-b .hero-visual:before{width:350px;height:350px}.variant-c .page-hero-shell{grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr)}.variant-c .hero-visual{transform:translateY(18px) rotate(-2deg)}

.family-layout{width:min(1360px,calc(100% - 40px));margin:0 auto;display:grid;grid-template-columns:minmax(0,1040px) 250px;gap:54px;align-items:start}.family-layout .content-shell{width:auto;margin:0}.family-toc{position:sticky;top:104px;margin-top:88px;padding:22px 19px;border:1px solid var(--fam-line);border-radius:20px;background:color-mix(in srgb,#fff 90%,var(--fam-soft));box-shadow:0 18px 50px color-mix(in srgb,var(--fam-accent) 7%,transparent)}.family-toc-label{display:block;margin-bottom:12px;color:var(--fam-accent);font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.family-toc nav{display:grid}.family-toc nav a{position:relative;padding:9px 4px 9px 15px;border-bottom:1px solid var(--fam-line);color:#5a6c84;text-decoration:none;font-size:12px;line-height:1.35}.family-toc nav a:before{content:"";position:absolute;left:0;top:15px;width:5px;height:5px;border-radius:50%;background:#c8d4e4;transition:.2s}.family-toc nav a.active{color:var(--fam-ink);font-weight:800}.family-toc nav a.active:before{background:var(--fam-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--fam-accent) 10%,transparent)}.family-toc-hub{display:block;margin-top:15px;color:var(--fam-accent);text-decoration:none;font-size:12px;font-weight:850}
.family-page .section{position:relative;padding:86px 0;border-color:var(--fam-line);scroll-margin-top:96px}.family-page .section-heading h2,.family-page .split-heading h2{color:var(--fam-ink)}.family-page .section-heading p,.family-page .split-heading p{color:#627188}.family-page .answer-section{padding-top:98px}.family-page .answer-section .prose{font-size:19px}.family-page .answer-section .answer-grid{grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr)}.family-page .side-card{border-color:var(--fam-line);background:var(--fam-soft);box-shadow:0 20px 60px color-mix(in srgb,var(--fam-accent) 6%,transparent)}.family-page .side-card strong{color:var(--fam-ink)}.family-page .side-card li{padding:0;border-color:var(--fam-line)}.family-page .side-card li:before{display:none}.family-page .side-card a{display:block;padding:10px 0;color:#50617a;text-decoration:none;font-size:13px}.family-page .side-card a:hover{color:var(--fam-accent)}
.family-page .family-tone-b{margin:24px 0;padding:62px 48px;border:0;border-radius:28px;background:linear-gradient(135deg,var(--fam-soft),color-mix(in srgb,var(--fam-wash) 68%,#fff));box-shadow:inset 0 0 0 1px var(--fam-line)}.family-page .family-tone-c{margin:18px 0;padding:62px 48px;border:0;border-radius:28px;background:linear-gradient(135deg,#fff,color-mix(in srgb,var(--fam-soft) 76%,#fff));box-shadow:0 22px 70px color-mix(in srgb,var(--fam-accent) 6%,transparent),inset 0 0 0 1px var(--fam-line)}
.family-global .family-tone-c{background:linear-gradient(135deg,#08243e,#0b354a);color:#fff}.family-global .family-tone-c h2,.family-global .family-tone-c h3,.family-global .family-tone-c .eyebrow{color:#fff}.family-global .family-tone-c p,.family-global .family-tone-c li{color:#cce1e6}.family-global .family-tone-c .card,.family-global .family-tone-c .check-card,.family-global .family-tone-c details{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.14)}
.family-page .card,.family-page .check-card,.family-page .related-card,.family-page .steps li,.family-page .faq-list details{border-color:var(--fam-line)}.family-page .card-icon{background:var(--fam-soft);color:var(--fam-accent)}.family-page .card h3,.family-page .check-card h3,.family-page .related-card strong,.family-page .steps h3,.family-page .faq-list summary{color:var(--fam-ink)}.family-page .steps li>span,.family-page .class-pill b{background:var(--fam-accent)}.family-page .risk-grid>div{border-color:var(--fam-accent2)}.family-page .risk-grid span{color:var(--fam-accent)}

.family-signal-stage{position:relative;margin:34px 0 12px;padding:34px 38px 38px;border-radius:28px;background:var(--fam-deep);color:#fff;overflow:hidden;box-shadow:0 28px 70px color-mix(in srgb,var(--fam-deep) 18%,transparent)}.family-signal-stage:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;right:-120px;top:-150px;border:1px solid rgba(255,255,255,.12);box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.018)}.family-signal-head{position:relative;z-index:2;display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:27px}.family-signal-kicker{color:color-mix(in srgb,var(--fam-accent2) 78%,#fff);font-size:10px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}.family-signal-head h2{max-width:640px;margin:0;font-size:clamp(25px,3vw,38px);line-height:1.05;letter-spacing:-.035em}.family-signal-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.family-signal-grid article{min-height:180px;padding:22px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:rgba(255,255,255,.055);backdrop-filter:blur(8px)}.family-signal-grid article>span{color:var(--fam-accent2);font-size:11px;font-weight:900;letter-spacing:.12em}.family-signal-grid h3{margin:21px 0 8px;color:#fff}.family-signal-grid p{margin:0;color:#becde0;font-size:13px;line-height:1.6}
.family-cluster-nav{width:min(1180px,calc(100% - 40px));margin:64px auto 0;display:grid;grid-template-columns:1fr .72fr 1fr;gap:10px}.family-cluster-nav a{min-height:105px;padding:20px 22px;border:1px solid var(--fam-line);border-radius:18px;text-decoration:none;background:#fff;display:flex;flex-direction:column;justify-content:center;transition:.22s}.family-cluster-nav a:hover{transform:translateY(-3px);border-color:var(--fam-accent);box-shadow:0 18px 44px color-mix(in srgb,var(--fam-accent) 9%,transparent)}.family-cluster-nav small{color:#7a899e;font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:800}.family-cluster-nav strong{margin-top:6px;color:var(--fam-ink);line-height:1.25}.family-cluster-center{text-align:center;background:var(--fam-soft)!important}.family-cluster-next{text-align:right}
.family-page .conversion-band{background:linear-gradient(135deg,var(--fam-deep),color-mix(in srgb,var(--fam-deep) 72%,var(--fam-accent)));box-shadow:0 30px 80px color-mix(in srgb,var(--fam-deep) 20%,transparent)}

/* motion */
.family-page [data-family-reveal]{opacity:0;transform:translateY(34px);filter:blur(4px);transition:opacity .75s cubic-bezier(.22,1,.36,1),transform .75s cubic-bezier(.22,1,.36,1),filter .75s}.family-page [data-family-reveal="left"]{transform:translateX(-42px)}.family-page [data-family-reveal="right"]{transform:translateX(42px)}.family-page [data-family-reveal].is-visible{opacity:1;transform:none;filter:none}.family-page [data-family-item]{opacity:0;transform:translateY(22px);transition:.58s cubic-bezier(.22,1,.36,1);transition-delay:calc(var(--item-index,0) * 60ms)}.family-page .is-visible [data-family-item],.family-page [data-family-item].is-visible{opacity:1;transform:none}
.family-progress{position:fixed;left:0;right:0;top:0;height:3px;z-index:300;pointer-events:none}.family-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--fam-accent),var(--fam-accent2));box-shadow:0 0 14px color-mix(in srgb,var(--fam-accent) 38%,transparent)}
@keyframes famOrbit1{to{transform:rotate(342deg)}}@keyframes famOrbit2{to{transform:rotate(378deg)}}@keyframes famFloat{0%,100%{transform:translateY(-8px)}50%{transform:translateY(9px)}}@keyframes famMorph{0%,100%{border-radius:39% 61% 62% 38%/48% 42% 58% 52%}50%{border-radius:60% 40% 38% 62%/42% 58% 42% 58%}}

@media(max-width:1200px){.family-layout{grid-template-columns:minmax(0,1fr) 220px;gap:30px}.family-page .page-hero-shell{gap:35px}.family-page .hero-visual{height:410px}}
@media(max-width:960px){.family-layout{display:block;width:min(100% - 32px,var(--shell))}.family-layout .content-shell{width:100%}.family-toc{position:relative;top:auto;margin:0 0 36px;order:-1}.family-toc nav{grid-template-columns:repeat(2,1fr);gap:0 16px}.family-page .page-hero-shell,.variant-b .page-hero-shell,.variant-c .page-hero-shell{grid-template-columns:1fr .7fr}.family-signal-grid{grid-template-columns:1fr 1fr}.family-cluster-nav{grid-template-columns:1fr 1fr}.family-cluster-center{display:none!important}}
@media(max-width:760px){.family-page .page-hero{min-height:0;padding-top:34px}.family-page .page-hero-shell,.variant-b .page-hero-shell,.variant-c .page-hero-shell{grid-template-columns:1fr}.family-page .hero-copy{padding-bottom:8px}.family-page .hero-copy h1{font-size:43px}.family-page .hero-visual,.variant-b .hero-visual,.variant-c .hero-visual{height:250px;transform:none!important}.family-page .hero-visual:before{width:200px;height:200px}.family-page .hero-visual:after{width:158px;height:158px}.family-page .orbit-one{width:270px;height:130px}.family-page .orbit-two{width:130px;height:270px}.family-layout{width:calc(100% - 28px)}.family-toc{margin-top:26px;padding:18px}.family-toc nav{grid-template-columns:1fr}.family-page .family-tone-b,.family-page .family-tone-c{margin:10px 0;padding:42px 20px;border-radius:20px}.family-signal-stage{padding:28px 20px}.family-signal-head{display:block}.family-signal-head h2{margin-top:8px}.family-signal-grid{grid-template-columns:1fr}.family-signal-grid article{min-height:0}.family-cluster-nav{width:calc(100% - 28px);grid-template-columns:1fr;margin-top:42px}.family-cluster-next{text-align:left}.family-page [data-family-reveal="left"],.family-page [data-family-reveal="right"]{transform:translateY(28px)}.family-global .page-hero .quick-facts strong{color:var(--fam-ink)}}
@media(prefers-reduced-motion:reduce){.family-page [data-family-reveal],.family-page [data-family-item]{opacity:1!important;transform:none!important;filter:none!important;transition:none!important}.family-page .orbit-one,.family-page .orbit-two,.family-node,.family-design .hero-visual:before{animation:none!important}}

/* === V9 MOBILE OVERHAUL ===================================================
   Fixes family-page responsive collisions caused by desktop family selectors
   overriding the base mobile grid rules. Mobile is intentionally single-column,
   compact and touch-first. ================================================= */
@media (max-width:760px){
  .family-page{overflow-x:hidden}
  .family-page main{overflow:clip}

  /* Header */
  .family-page .header-shell{width:calc(100% - 24px);height:68px;gap:12px}
  .family-page .site-brand{width:136px}
  .family-page .nav-toggle{width:44px;height:44px;border-radius:13px}
  .family-page .main-nav{left:12px;right:12px;top:74px;max-height:calc(100dvh - 88px);overflow:auto;-webkit-overflow-scrolling:touch}

  /* Hero */
  .family-page .page-hero{padding-top:26px}
  .family-page .page-hero:before{display:none}
  .family-page .page-hero:after{width:340px;height:340px;right:-170px;top:-80px;opacity:.72}
  .family-page .page-hero-shell,
  .family-page.variant-b .page-hero-shell,
  .family-page.variant-c .page-hero-shell{width:calc(100% - 28px);min-height:0;grid-template-columns:minmax(0,1fr);gap:18px}
  .family-page .hero-copy{min-width:0;padding:0 0 6px}
  .family-page .breadcrumbs{margin-bottom:18px;font-size:11px;line-height:1.45}
  .family-page .eyebrow{margin-bottom:12px;font-size:10px;letter-spacing:.15em}
  .family-page .hero-copy h1{max-width:none;font-size:clamp(36px,10.6vw,44px);line-height:1.01;letter-spacing:-.047em;overflow-wrap:break-word;text-wrap:balance}
  .family-page .hero-answer{max-width:none;margin-top:18px;font-size:16px;line-height:1.62}
  .family-page .hero-actions{display:grid;grid-template-columns:1fr;margin-top:22px;gap:10px}
  .family-page .hero-actions .button{width:100%;min-height:50px}
  .family-page .hero-actions .text-link{justify-self:center;padding:7px 10px}
  .family-page .chips{margin:18px -14px 0;padding:0 14px 5px;display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:none}
  .family-page .chips::-webkit-scrollbar{display:none}
  .family-page .chip{flex:0 0 auto;scroll-snap-align:start;min-height:34px;padding:6px 11px;white-space:nowrap}
  .family-page .hero-visual,
  .family-page.variant-b .hero-visual,
  .family-page.variant-c .hero-visual{height:216px;margin-top:2px;transform:none!important;filter:drop-shadow(0 22px 34px color-mix(in srgb,var(--fam-accent) 11%,transparent))}
  .family-page .hero-visual:before{width:172px;height:172px}
  .family-page .hero-visual:after{width:136px;height:136px}
  .family-page .visual-icon{width:70px;height:70px;padding:17px;border-radius:20px}
  .family-page .visual-code{right:8%;bottom:11%;font-size:9px;padding:5px 8px}
  .family-page .orbit-one{width:222px;height:104px}
  .family-page .orbit-two{width:104px;height:222px}
  .family-page .family-node{width:7px;height:7px}
  .family-page .quick-facts{width:calc(100% - 28px);grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--fam-line);border-radius:14px;margin-top:4px;overflow:hidden}
  .family-page .quick-facts>div{min-width:0;padding:12px 9px;border-right:1px solid var(--fam-line);border-bottom:0}
  .family-page .quick-facts>div:last-child{border-right:0}
  .family-page .quick-facts span{font-size:8px;line-height:1.35;letter-spacing:.09em}
  .family-page .quick-facts strong{font-size:11px;line-height:1.3;overflow-wrap:break-word}

  /* Layout + contents navigation */
  .family-layout{width:calc(100% - 28px);display:flex;flex-direction:column;gap:0;margin-inline:auto}
  .family-layout .content-shell{order:2;width:100%;min-width:0}
  .family-toc{order:1;position:relative;top:auto;width:100%;margin:28px 0 6px;padding:15px 14px 13px;border-radius:17px;overflow:hidden}
  .family-toc-label{margin-bottom:10px;font-size:9px}
  .family-toc nav{display:flex;grid-template-columns:none;gap:7px;margin:0 -14px;padding:0 14px 5px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .family-toc nav::-webkit-scrollbar{display:none}
  .family-toc nav a{flex:0 0 auto;max-width:250px;padding:9px 12px;border:1px solid var(--fam-line);border-radius:999px;background:#fff;font-size:11px;line-height:1.3;scroll-snap-align:start;white-space:normal}
  .family-toc nav a:before{display:none}
  .family-toc nav a.active{background:var(--fam-accent);border-color:var(--fam-accent);color:#fff}
  .family-toc-hub{margin-top:7px;font-size:11px}

  /* Sections */
  .family-page .section{padding:54px 0;scroll-margin-top:82px}
  .family-page .answer-section{padding-top:48px}
  .family-page .section-heading{max-width:none;margin-bottom:24px}
  .family-page .section-heading h2,
  .family-page .split-heading h2{font-size:clamp(31px,8.8vw,37px);line-height:1.06;letter-spacing:-.04em;overflow-wrap:break-word;text-wrap:balance}
  .family-page .section-heading p,
  .family-page .split-heading p{font-size:15px;line-height:1.6}

  /* Explicitly override more-specific desktop family grid */
  .family-page .answer-section .answer-grid,
  .family-page .answer-grid,
  .family-page .two-col,
  .family-page .split-heading,
  .family-page .check-grid,
  .family-page .source-section{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:20px}
  .family-page .answer-section .prose{min-width:0;font-size:17px;line-height:1.72}
  .family-page .prose{min-width:0;font-size:16px;line-height:1.72}
  .family-page .prose p{overflow-wrap:break-word}
  /* The same TOC exists above the content on mobile; remove the duplicate side card. */
  .family-page .answer-section .side-card{display:none}

  .family-page .family-tone-b,
  .family-page .family-tone-c{margin:8px 0;padding:34px 18px;border-radius:20px}
  .family-page .steps,
  .family-page .risk-grid,
  .family-page .related-grid,
  .family-page .cards.three,
  .family-page .check-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px}
  .family-page .steps li,.family-page .check-card,.family-page .card{padding:20px 18px}
  .family-page .risk-grid>div{padding:18px}
  .family-page .related-card{min-height:0;padding:19px}
  .family-page .related-card strong{font-size:17px}
  .family-page .faq-list summary{padding:17px 46px 17px 17px;font-size:14px;line-height:1.45}
  .family-page .faq-list summary:after{right:17px;top:13px}
  .family-page .faq-list details div{padding:0 17px 17px;font-size:14px}
  .family-page .source-section{gap:22px}
  .family-page .source-section h2{font-size:29px;line-height:1.08}
  .family-page .source-section ul{padding:16px 18px;border:1px solid var(--fam-line);border-radius:16px;background:#fff}

  /* Signal / editorial modules */
  .family-signal-stage{margin:26px 0 8px;padding:25px 18px 20px;border-radius:20px}
  .family-signal-stage:after{width:220px;height:220px;right:-105px;top:-110px}
  .family-signal-head{display:block;margin-bottom:20px}
  .family-signal-head h2{margin-top:7px;font-size:28px}
  .family-signal-grid{grid-template-columns:minmax(0,1fr);gap:10px}
  .family-signal-grid article{min-height:0;padding:18px}

  /* Context navigation + conversion */
  .family-cluster-nav{width:calc(100% - 28px);grid-template-columns:minmax(0,1fr);gap:8px;margin-top:38px}
  .family-cluster-nav a{min-height:82px;padding:16px 18px}
  .family-cluster-center{display:flex!important;text-align:left}
  .family-cluster-next{text-align:left}
  .family-page .conversion-band{width:calc(100% - 28px);margin:52px auto;padding:28px 20px;border-radius:20px;gap:22px}
  .family-page .conversion-band h2{font-size:32px}
  .family-page .conversion-band p{font-size:14px;line-height:1.6}

  /* Tables and long labels must never create page-level overflow. */
  .family-page .table-wrap{max-width:100%;-webkit-overflow-scrolling:touch}
  .family-page .class-row{display:grid;grid-template-columns:1fr}
  .family-page .class-pill{min-width:0;width:100%}
  .family-page h1,.family-page h2,.family-page h3,.family-page p,.family-page li,.family-page a{overflow-wrap:break-word}
}

@media (max-width:390px){
  .family-page .site-brand{width:128px}
  .family-page .hero-copy h1{font-size:clamp(34px,10.4vw,40px)}
  .family-page .quick-facts{grid-template-columns:1fr}
  .family-page .quick-facts>div{border-right:0;border-bottom:1px solid var(--fam-line);padding:10px 12px}
  .family-page .quick-facts>div:last-child{border-bottom:0}
  .family-page .quick-facts span{font-size:8px}.family-page .quick-facts strong{font-size:11px}
}

/* V9 tablet ordering: contents navigation must precede article content. */
@media (min-width:761px) and (max-width:960px){
  .family-layout{display:flex;flex-direction:column;width:min(100% - 32px,var(--shell));gap:0}
  .family-layout .content-shell{order:2;width:100%;min-width:0}
  .family-toc{order:1;position:relative;top:auto;width:100%;margin:34px 0 8px}
  .family-page .answer-section .answer-grid{grid-template-columns:minmax(0,1fr)!important}
  .family-page .answer-section .side-card{display:none}
}

@media(max-width:1180px){.family-page .conversion-band{align-items:flex-start}.family-page .conversion-actions{flex-wrap:wrap}.family-page .conversion-actions .button{min-width:220px}}
