/* Touch reading surfaces. Kept outside desktop styles so tablet proportions
   and readable phone type never depend on a desktop breakpoint. */
html.touch-viewport .about-page,
html.touch-viewport .resource-page,
html.touch-viewport .legal-document{
 width:100%;max-width:1120px;padding-left:var(--touch-gutter);padding-right:var(--touch-gutter);
 overflow-wrap:break-word;min-width:0;
}
html.touch-viewport .about-opening,
html.touch-viewport .resource-page,
html.touch-viewport .legal-document{
 padding-top:calc(var(--touch-top) + 22px);
}
html.touch-viewport .resource-page,
html.touch-viewport .legal-document{padding-bottom:var(--touch-bottom)}
html.touch-viewport .about-page h1,
html.touch-viewport .resource-page h1,
html.touch-viewport .legal-header h1{
 font-size:clamp(2.1rem,5.2vw,3.7rem);font-weight:200;line-height:1.2;letter-spacing:-.04em;
 margin:20px 0 26px;max-width:24ch;text-wrap:balance;overflow-wrap:break-word;
}
html.touch-viewport .about-page h2,
html.touch-viewport .resource-page h2{
 font-size:clamp(1.4rem,3.2vw,2.25rem);line-height:1.35;letter-spacing:-.025em;
 text-wrap:balance;overflow-wrap:break-word;
}
html.touch-viewport .about-page p,
html.touch-viewport .resource-page p,
html.touch-viewport .resource-page li,
html.touch-viewport .legal-document p{
 text-wrap:pretty;
}
html.touch-viewport .about-page :is(a,summary),
html.touch-viewport .resource-page :is(a,summary),
html.touch-viewport .legal-document a{touch-action:manipulation}
html.touch-viewport .resource-nav{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 18px;
 padding:0 0 14px;border-bottom:1px solid #b5ccdc24;margin:0 0 40px;
 font-size:.8125rem;line-height:1.5;
}
html.touch-viewport .resource-nav>a{min-height:48px;padding:10px 0;overflow-wrap:break-word}
html.touch-viewport .about-opening .resource-nav{margin:0 0 40px}
html.touch-viewport .resource-nav>a[aria-current]:after{bottom:-15px;width:26px}

/* About: editorial rhythm, with strategy steps aligned as a compact timeline. */
html.touch-viewport .about-opening{max-width:none;padding-bottom:62px}
html.touch-viewport .about-lead{font-size:clamp(1.15rem,2.6vw,1.5rem);line-height:1.7;max-width:40ch}
html.touch-viewport .about-identity{font-size:1rem;line-height:1.8;margin-top:24px;max-width:62ch}
html.touch-viewport .about-section{padding:56px 0}
html.touch-viewport .about-section.reveal{transition-duration:.6s;transform:translateY(12px)}
html.touch-viewport .about-section.reveal.visible{transform:none}
html.touch-viewport .about-mission{grid-template-columns:1fr;gap:20px}
html.touch-viewport .about-mission-copy{max-width:70ch}
html.touch-viewport .about-mission-copy>p,
html.touch-viewport .about-vision-copy{font-size:1rem;line-height:1.85;margin-top:20px;max-width:66ch}
html.touch-viewport .about-vision{padding:66px 0;text-align:center}
html.touch-viewport .about-vision h2{font-size:clamp(1.8rem,4.5vw,3rem);margin-top:22px;max-width:25ch}
html.touch-viewport .about-connection{width:100%;max-height:140px;margin:30px auto;min-height:65px}
html.touch-viewport .about-vision-copy{margin-left:auto;margin-right:auto}
html.touch-viewport .about-strategy h2{margin-top:20px;max-width:29ch}
html.touch-viewport .about-strategy-intro{font-size:.9375rem;line-height:1.8;margin-top:18px}
html.touch-viewport .about-steps{margin-top:28px}
html.touch-viewport .about-step{
 grid-template-columns:26px minmax(0,1fr);gap:8px 18px;padding:28px 0;
}
html.touch-viewport .about-step-index{font-size:.6875rem;padding-top:3px;line-height:1.8}
html.touch-viewport .about-step-index:before{display:none}
html.touch-viewport .about-step-name h3{font-size:1.2rem;line-height:1.4}
html.touch-viewport .about-step-name>a{min-height:48px;margin-top:2px;font-size:.875rem}
html.touch-viewport .about-step>p{grid-column:2;font-size:.9375rem;line-height:1.85;max-width:61ch}
html.touch-viewport .about-control{font-size:.875rem;line-height:1.8;margin:22px 0 0 44px;max-width:68ch}
html.touch-viewport .about-contact{padding:54px 0 var(--touch-bottom)}
html.touch-viewport .about-contact h2{margin-top:20px;max-width:29ch}
html.touch-viewport .about-contact-link{width:min(100%,500px);min-height:56px;font-size:.9375rem;gap:22px;line-height:1.6}
html.touch-viewport .about-contact-link .icon{flex:none}

/* Knowledge and applications: clear entry, full-width navigation, quiet body. */
html.touch-viewport .resource-opening{max-width:900px;padding-bottom:38px}
html.touch-viewport .resource-page h1{margin-top:0}
html.touch-viewport .resource-lead{font-size:1.0625rem;line-height:1.85;max-width:65ch}
html.touch-viewport .resource-connection{margin:10px 0 46px}
html.touch-viewport .resource-connection figcaption{font-size:.75rem;line-height:1.5;gap:12px}
html.touch-viewport .resource-connection figcaption span{gap:8px;min-width:0}
html.touch-viewport .resource-connection figcaption span:first-child,
html.touch-viewport .resource-connection figcaption span:last-child{transform:none}
html.touch-viewport .resource-connection small{font-size:.625rem;letter-spacing:.1em}
html.touch-viewport .resource-reading-item{grid-template-columns:24px minmax(0,1fr) 20px;gap:18px;padding:32px 0}
html.touch-viewport .resource-reading-item h2{font-size:clamp(1.3rem,2.7vw,1.8rem);line-height:1.4;text-wrap:pretty}
html.touch-viewport .resource-reading-item p{font-size:.9375rem;line-height:1.8;margin:15px 0 18px;max-width:64ch}
html.touch-viewport .resource-read{min-height:32px;font-size:.8125rem;gap:13px}
html.touch-viewport .resource-back{font-size:.8125rem;min-height:48px;margin-bottom:22px}
html.touch-viewport .resource-byline{flex-direction:row;font-size:.75rem;gap:8px 24px;margin-top:25px;line-height:1.7}
html.touch-viewport .resource-layout{display:block;padding-top:28px}
html.touch-viewport .resource-index{
 position:static;max-height:none;overflow:visible;padding:0 0 24px;margin:0 0 38px;
 border-bottom:1px solid #abcddd25;
}
html.touch-viewport .resource-index>p{font-size:.6875rem;letter-spacing:.1em;margin-bottom:14px}
html.touch-viewport .resource-index nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
html.touch-viewport .resource-index a{font-size:.8125rem;line-height:1.6;min-height:48px;padding:12px 0;align-items:flex-start}
html.touch-viewport .resource-index a>span{font-size:.625rem;line-height:1.8;min-width:18px;padding-top:2px}
html.touch-viewport .resource-body,
html.touch-viewport .resource-practice-body{min-width:0;max-width:780px}
html.touch-viewport .resource-section,
html.touch-viewport .resource-practice .resource-section{
 grid-template-columns:24px minmax(0,1fr);gap:16px;padding-bottom:42px;
 scroll-margin-top:calc(var(--touch-top) + 18px);
}
html.touch-viewport .resource-practice .resource-section{padding-top:32px;padding-bottom:28px}
html.touch-viewport .resource-section h2,
html.touch-viewport .resource-faq h2{font-size:clamp(1.3rem,2.5vw,1.75rem);line-height:1.4;margin-bottom:20px;text-wrap:pretty}
html.touch-viewport .resource-section p,
html.touch-viewport .resource-section li,
html.touch-viewport .resource-faq p,
html.touch-viewport .resource-product>p{font-size:1rem;line-height:1.85}
html.touch-viewport .resource-section p+p{margin-top:18px}
html.touch-viewport .resource-section ul{padding-left:18px;margin-top:20px}
html.touch-viewport .resource-section li{padding-left:3px;margin:13px 0}
html.touch-viewport .resource-example{margin-top:25px;padding:4px 0 4px 18px}
html.touch-viewport .resource-example h3{font-size:.875rem;line-height:1.6;margin-bottom:10px}
html.touch-viewport .resource-example p{font-size:.9375rem}
html.touch-viewport .resource-faq{margin-left:40px;padding:30px 0 38px;scroll-margin-top:calc(var(--touch-top) + 18px)}
html.touch-viewport .resource-faq summary{font-size:.9375rem;line-height:1.65;min-height:60px;padding:18px 0;gap:18px;align-items:flex-start}
html.touch-viewport .resource-faq summary .icon{margin-top:4px;margin-inline-end:4px}
html.touch-viewport .resource-faq details>p{font-size:.9375rem;padding:0 0 22px;line-height:1.85}
html.touch-viewport .resource-product{margin:0 0 38px 40px;padding:4px 0 4px 18px}
html.touch-viewport .resource-product>a,
html.touch-viewport .resource-section-link{font-size:.875rem;line-height:1.65;min-height:48px}
html.touch-viewport .resource-section-link{margin:-8px 0 26px 40px}
html.touch-viewport .resource-sources{margin-left:40px;padding:26px 0;scroll-margin-top:calc(var(--touch-top) + 18px)}
html.touch-viewport .resource-sources h2{font-size:.875rem;line-height:1.5}
html.touch-viewport .resource-sources ol{font-size:.8125rem;margin-top:15px;padding-left:18px}
html.touch-viewport .resource-sources li{padding:2px 0 2px 4px}
html.touch-viewport .resource-sources a{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:8px 0;line-height:1.65;overflow-wrap:anywhere}
html.touch-viewport .resource-sources .icon{flex:none;margin:0}
html.touch-viewport .resource-next{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px;margin-top:28px;padding-top:22px}
html.touch-viewport .resource-next a{min-width:0;max-width:none;min-height:56px;font-size:.875rem;line-height:1.65;justify-content:space-between;gap:16px;padding:6px 0}
html.touch-viewport .resource-invitation{padding:32px 0 12px;margin-left:40px}
html.touch-viewport .resource-invitation>p{font-size:1rem;line-height:1.85}
html.touch-viewport .resource-invitation-link{width:min(100%,500px);min-height:58px;font-size:1rem;line-height:1.6;gap:22px;margin-top:20px}
html.touch-viewport .resource-invitation-link .icon{flex:none}
html.touch-viewport .resource-legal-links{font-size:.8125rem;line-height:1.6;gap:4px 24px;margin-top:20px}
html.touch-viewport .resource-legal-links a{display:inline-flex;align-items:center;min-height:48px;padding:10px 0}

/* Legal text is a reading experience, never shrunk to fit a panel. */
html.touch-viewport .legal-document{font-size:1rem;line-height:1.85}
html.touch-viewport .legal-header{max-width:860px;padding-bottom:30px}
html.touch-viewport .legal-intro{font-size:1.0625rem;line-height:1.8;max-width:66ch}
html.touch-viewport .legal-version{font-size:.6875rem;line-height:1.7;letter-spacing:.09em;margin-top:24px}
html.touch-viewport .legal-layout{display:block}
html.touch-viewport .legal-toc{
 position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;
 margin:0 0 38px;padding:24px 0;border-top:1px solid #ffffff18;border-bottom:1px solid #ffffff18;
 font-size:.8125rem;line-height:1.6;
}
html.touch-viewport .legal-toc>p{grid-column:1/-1;font-size:.6875rem;line-height:1.7;letter-spacing:.12em;margin-bottom:14px}
html.touch-viewport .legal-toc>a{display:flex;align-items:center;min-height:48px;padding:12px 0;line-height:1.65;overflow-wrap:break-word}
html.touch-viewport .legal-reading{max-width:760px;overflow-wrap:break-word}
html.touch-viewport .legal-reading section{margin-bottom:36px;scroll-margin-top:calc(var(--touch-top) + 18px)}
html.touch-viewport .legal-reading h2{font-size:1.125rem;line-height:1.5;margin-bottom:16px}
html.touch-viewport .legal-reading p{font-size:1rem;line-height:1.85;margin-bottom:18px}
html.touch-viewport .legal-contact{margin-top:36px;padding-top:24px}
html.touch-viewport .legal-contact>a{display:inline-flex;align-items:center;min-height:48px;max-width:100%;font-size:.9375rem;overflow-wrap:anywhere}
html.touch-viewport .legal-related{gap:4px 24px;margin-top:38px;padding-top:22px;font-size:.8125rem}
html.touch-viewport .legal-related a{display:inline-flex;align-items:center;min-height:48px;padding:10px 0}

html.touch-viewport .error-page{
 display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
 min-height:var(--touch-section,100svh);max-width:1000px;margin:auto;
 padding:var(--touch-top,80px) var(--touch-gutter,24px) var(--touch-bottom,48px);
}
html.touch-viewport .error-page h1{font-size:clamp(2rem,6.5vw,3.75rem);line-height:1.2;font-weight:200;letter-spacing:-.035em;margin:20px 0;overflow-wrap:break-word}
html.touch-viewport .error-page p{font-size:1rem;line-height:1.8;max-width:60ch;margin:12px 0}
html.touch-viewport .error-page .button{min-height:52px;max-width:100%;margin-top:24px;font-size:.9375rem;line-height:1.5;padding:14px 20px}

@media(max-width:699px){
 html.touch-viewport .about-page h1,
 html.touch-viewport .resource-page h1,
 html.touch-viewport .legal-header h1{font-size:clamp(1.9rem,8.5vw,3rem);line-height:1.23;margin-bottom:24px}
 html.touch-viewport .resource-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;font-size:.8125rem;margin-bottom:32px;padding-bottom:12px}
 html.touch-viewport .resource-nav>a[aria-current]:after{bottom:4px;width:20px}
 html.touch-viewport .about-opening .resource-nav{margin-bottom:32px}
 html.touch-viewport .about-opening{padding-bottom:46px}
 html.touch-viewport .about-lead{font-size:1.125rem;line-height:1.75}
 html.touch-viewport .about-identity{font-size:.9375rem;line-height:1.85}
 html.touch-viewport .about-section{padding:42px 0}
 html.touch-viewport .about-mission{gap:17px}
 html.touch-viewport .about-mission-copy>p,
 html.touch-viewport .about-vision-copy{font-size:.9375rem}
 html.touch-viewport .about-vision{padding:50px 0}
 html.touch-viewport .about-vision h2{font-size:clamp(1.65rem,7vw,2.4rem);line-height:1.35}
 html.touch-viewport .about-connection{margin:24px auto;min-height:72px;object-fit:cover}
 html.touch-viewport .about-step{gap:6px 14px;padding:25px 0}
 html.touch-viewport .about-step-name h3{font-size:1.125rem}
 html.touch-viewport .about-step>p{font-size:.9375rem;line-height:1.8}
 html.touch-viewport .about-control{margin-left:40px;font-size:.8125rem;line-height:1.85}
 html.touch-viewport .about-contact{padding-bottom:var(--touch-bottom)}
 html.touch-viewport .resource-lead{font-size:1rem;line-height:1.85}
 html.touch-viewport .resource-opening{padding-bottom:30px}
 html.touch-viewport .resource-connection{margin:0 0 34px}
 html.touch-viewport .resource-connection figcaption{font-size:.6875rem;gap:8px}
 html.touch-viewport .resource-reading-item{grid-template-columns:20px minmax(0,1fr);gap:13px;padding:27px 0}
 html.touch-viewport .resource-reading-item h2{font-size:1.3rem}
 html.touch-viewport .resource-reading-item p{font-size:.9375rem;line-height:1.8}
 html.touch-viewport .resource-byline{flex-direction:column;gap:6px;font-size:.6875rem}
 html.touch-viewport .resource-index nav{grid-template-columns:1fr;gap:0}
 html.touch-viewport .resource-index{margin-bottom:32px;padding-bottom:20px}
 html.touch-viewport .resource-index a{font-size:.875rem;min-height:48px;padding:12px 0}
 html.touch-viewport .resource-section,
 html.touch-viewport .resource-practice .resource-section{grid-template-columns:1fr;gap:10px;padding-bottom:32px}
 html.touch-viewport .resource-section h2,
 html.touch-viewport .resource-faq h2{font-size:1.375rem;line-height:1.4;margin-bottom:18px}
 html.touch-viewport .resource-section p,
 html.touch-viewport .resource-section li{font-size:.9375rem;line-height:1.85}
 html.touch-viewport .resource-faq,
 html.touch-viewport .resource-product,
 html.touch-viewport .resource-sources,
 html.touch-viewport .resource-section-link,
 html.touch-viewport .resource-invitation{margin-left:0}
 html.touch-viewport .resource-faq{padding:26px 0 30px}
 html.touch-viewport .resource-faq summary{font-size:.9375rem;line-height:1.7}
 html.touch-viewport .resource-faq details>p{font-size:.9375rem}
 html.touch-viewport .resource-product>p{font-size:.9375rem}
 html.touch-viewport .resource-next{grid-template-columns:1fr;gap:4px;margin-top:22px;padding-top:16px}
 html.touch-viewport .resource-next a{min-height:56px;padding:10px 0;max-width:none}
 html.touch-viewport .legal-header h1{font-weight:300}
 html.touch-viewport .legal-intro{font-size:1rem;line-height:1.8}
 html.touch-viewport .legal-toc{grid-template-columns:1fr;padding:20px 0;gap:0;margin-bottom:30px}
 html.touch-viewport .legal-toc>a{font-size:.875rem;min-height:48px;padding:12px 0}
 html.touch-viewport .legal-reading h2{font-size:1.1rem;line-height:1.55}
 html.touch-viewport .legal-reading p{font-size:.9375rem;line-height:1.85}
 html.touch-viewport .legal-reading section{margin-bottom:30px}
}

@media(min-width:700px){
 html.touch-viewport .about-page,
 html.touch-viewport .resource-page,
 html.touch-viewport .legal-document{padding-left:max(var(--touch-gutter),5.5vw);padding-right:max(var(--touch-gutter),5.5vw)}
 html.touch-viewport .about-opening{padding-bottom:72px}
 html.touch-viewport .about-opening h1{max-width:20ch}
 html.touch-viewport .about-section{padding:64px 0}
 html.touch-viewport .about-mission{grid-template-columns:minmax(115px,.55fr) minmax(0,2fr);gap:30px}
 html.touch-viewport .about-step{grid-template-columns:30px minmax(0,.85fr) minmax(0,1.35fr);gap:22px;padding:30px 0}
 html.touch-viewport .about-step>p{grid-column:auto}
 html.touch-viewport .about-control{margin-left:52px}
 html.touch-viewport .about-vision{padding:76px 0}
 html.touch-viewport .about-contact{padding-bottom:var(--touch-bottom)}
 html.touch-viewport .resource-practice-body{max-width:none}
 html.touch-viewport .resource-practice .resource-section{grid-template-columns:30px minmax(0,1fr);gap:22px;padding-top:40px;padding-bottom:30px}
 html.touch-viewport .resource-practice .resource-section>div:last-child{max-width:68ch}
 html.touch-viewport .resource-section-link,
 html.touch-viewport .resource-invitation{margin-left:52px}
}

@media(min-width:1100px) and (min-aspect-ratio:6/5){
 html.touch-viewport .about-page,
 html.touch-viewport .resource-page,
 html.touch-viewport .legal-document{max-width:1240px}
 html.touch-viewport .resource-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:38px;padding-top:36px}
 html.touch-viewport .resource-index{position:sticky;top:var(--touch-top);max-height:calc(100dvh - var(--touch-top) - 30px);overflow:auto;overscroll-behavior:contain;scrollbar-width:none;border-bottom:0;margin:0;padding:0 12px 0 0}
 html.touch-viewport .resource-index nav{grid-template-columns:1fr;gap:0}
 html.touch-viewport .legal-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:40px;padding-top:12px}
 html.touch-viewport .legal-toc{position:sticky;top:var(--touch-top);max-height:calc(100dvh - var(--touch-top) - 30px);overflow:auto;overscroll-behavior:contain;scrollbar-width:none;grid-template-columns:1fr;padding:0 12px 0 0;margin:0;border:0;font-size:.8125rem}
}

@media(max-height:500px) and (min-aspect-ratio:6/5){
 html.touch-viewport .about-opening,
 html.touch-viewport .resource-page,
 html.touch-viewport .legal-document{padding-top:calc(var(--touch-top) + 16px)}
 html.touch-viewport .about-opening{padding-bottom:40px}
 html.touch-viewport .about-page h1,
 html.touch-viewport .resource-page h1,
 html.touch-viewport .legal-header h1{font-size:2rem;max-width:34ch}
 html.touch-viewport .about-section{padding:40px 0}
 html.touch-viewport .resource-index,
 html.touch-viewport .legal-toc{position:static;max-height:none;overflow:visible}
 html.touch-viewport .error-page{min-height:100svh;justify-content:flex-start}
}

@media(prefers-reduced-motion:reduce){
 html.touch-viewport .about-section.reveal{opacity:1;transform:none;transition:none}
}
