/* Shared page system for the audience pages: one type scale, one container, one set of edges.
   Load after section stylesheets; page files (coaches-system.css, org-system.css) build on it. */
:root{
  --c-gutter:var(--mk-container-gutter);
  --c-max:var(--mk-container-max);
  --c-col-gap:var(--mk-column-gap);
  --c-h1:var(--mk-type-h1-size);
  --c-h2:var(--mk-type-h2-size);
  --c-h3-lg:var(--mk-type-h3-large-size);
  --c-h3:var(--mk-type-h3-size);
  --c-body:var(--mk-type-body-size);
  --c-body-lg:var(--mk-type-lead-size);
  --c-eyebrow:.8125rem;
  /* Depth: one radius scale and three navy-tinted elevations. */
  --r-control:var(--mk-radius-control);
  --r-card:var(--mk-radius-card);
  --r-panel:var(--mk-radius-panel);
  --r-device:var(--mk-radius-device);
  --line-light:#dfe6f1;
  --line-dark:var(--mk-color-line-dark);
  --e1:0 1px 2px color-mix(in srgb, var(--sp-color-ink) 4%, transparent),0 8px 24px -12px color-mix(in srgb, var(--sp-color-ink) 14%, transparent);
  --e2:0 24px 48px -24px color-mix(in srgb, var(--sp-color-ink) 28%, transparent);
  --e3:var(--mk-elevation-deep-field); --e2-dark:var(--mk-elevation-dark-card);
}

/* One container edge: header, sections and footer share the same gutter and width. */
/* The header pill's content (logo, nav, button) sits on the same edge as the page content;
   the pill's 25px padding extends past it. Applies to Home's header and the shared chrome. */
@media(min-width:801px){html body>header,html .home-header-slot>header{left:max(calc(var(--c-gutter) - 25px),calc((100% - var(--c-max)) / 2 - 25px));right:max(calc(var(--c-gutter) - 25px),calc((100% - var(--c-max)) / 2 - 25px));width:auto;max-width:none;transform:none;padding-left:25px;padding-right:25px}}
@media(max-width:600px){html body>header,html .home-header-slot>header{left:16px;right:16px;padding-left:calc(7vw - 16px);padding-right:calc(7vw - 16px)}}
.home-footer .footer-shell{max-width:var(--c-max);margin-left:auto;margin-right:auto}
html .home-footer{padding-left:var(--c-gutter);padding-right:var(--c-gutter)}
@media(max-width:600px){html .home-footer{padding-left:7%;padding-right:7%}}

/* Footer store badges: one size, trimmed art, no negative margins. */
.footer-store-badges .footer-google-badge{margin:0!important}
.footer-store-badges .footer-apple-badge,.footer-store-badges .footer-google-badge,.home-footer .footer-store-badges .footer-apple-badge,.home-footer .footer-store-badges .footer-google-badge{height:40px!important;border:0;border-radius:7px;outline:0;box-shadow:none}
.footer-store-badges{display:flex;align-items:center;gap:12px}

/* Skip link: off-screen until focused, on every page. */
.skip{position:absolute;left:16px;top:-80px;z-index:100;padding:10px 16px;border-radius:var(--r-control);background:var(--sp-color-surface-high);color:var(--sp-color-ink);font-weight:600;text-decoration:none}
.skip:focus{top:16px}
/* One card padding for the challenge cards on Home and Organizations. */
html .pressure-card{padding:28px 30px 30px}
@media(max-width:600px){html .pressure-card{padding:24px 22px 26px}}
@media(max-width:600px){html .footer-links{row-gap:0}}

/* Tablet rhythm and footer (spacing sign-off). */
@media(max-width:900px){html .footer-legal{flex-direction:column;align-items:flex-start;gap:10px}html .footer-legal p{order:0;width:auto}}

/* Colour roles (colour audit). Palette only: navy #101b32, blue #326bee, ink #2a61d8, light blue #98baff. */
/* Focus: brand blue on light surfaces, light blue on navy. */
html :focus-visible{outline:var(--sp-focus-width) solid var(--sp-focus-color);outline-offset:var(--sp-focus-offset)}
html :is(header,.home-footer,.hero,.coach-hero,.people-section,.app-purpose,.development,.practical-support,.ab-hero,.ab-seats,.ab-missed,.org-faq,.product-stage,#connected-system .system-chapter:not(:nth-child(2))) :focus-visible{outline-color:var(--sp-focus-color-inverse)}
/* Navigation: legible over photos; the current page is white and underlined. */
html header nav a,html .home-chrome header nav a{color:var(--sp-color-canvas)}
html header nav a:hover,html header nav a[aria-current="page"],html .home-chrome header nav a[aria-current="page"],html .home-chrome header nav a:hover{color:var(--sp-color-inverse-ink)}
@media(min-width:801px){html .home-chrome header{background:color-mix(in srgb, var(--sp-color-ink) 92%, transparent)}}
@media(max-width:800px){html body>header,html .home-header-slot>header{background:color-mix(in srgb, var(--sp-color-ink) 94%, transparent)}}
/* Primary buttons: #326bee at rest, #2a61d8 on hover, everywhere. */
html :is(.button,.nav-cta,.hero-cta,.org-close-button,.close-button,.contact-submit,.ab-route-primary .ab-route-cta){background-color:var(--sp-color-accent-strong)}
html :is(.button,.nav-cta,.hero-cta,.org-close-button,.close-button,.contact-submit):hover,html .ab-route-primary:hover .ab-route-cta,html .audience-actions .audience-primary:not(:disabled):hover{background-color:var(--sp-color-accent-ink)}
/* Placeholder links (Blog, Newsletter, Media Centre, Privacy, Terms): dimmer but still AA. */
html .home-footer .footer-pending,html .home-footer .footer-legal .footer-pending{opacity:1;color:var(--sp-color-ink-decorative)}
/* Eyebrows: ink blue on light, light blue on navy. Card labels are a quieter grey. */
html :is(.contact-eyebrow,.life-eyebrow,.pressure-eyebrow,.oc-eyebrow){color:var(--sp-color-accent-ink)}
html :is(.hero .eyebrow,.coach-hero .eyebrow,.purpose-eyebrow,.system-eyebrow,.ab-hero .ab-eyebrow){color:var(--sp-color-inverse-accent)}
html :is(.pressure-label,.life-audience){color:#526078}
html .pressure-stakes .pressure-label{color:var(--sp-color-inverse-accent)}

/* Type scale (font-size audit): every role on the shared tokens. Deliberate exceptions:
   Home's "Sport doesn't run itself." display statement and About's two-line hero. */
html :is(h1,h2,h3){text-wrap:balance}
html :is(.hero h1,.coach-hero h1,.organizations-hero h1){font-size:var(--c-h1);line-height:1.06}
@media(max-width:600px){html :is(.hero h1,.coach-hero h1,.organizations-hero h1,.ab-hero h1){font-size:2.75rem;line-height:1.06}}
html :is(#challenge-title,#product-system-title,#why .pressure-heading h2,.ab-seats h2){font-size:var(--c-h2);line-height:1.06;letter-spacing:-.045em}
html :is(.pressure-card h3,.life-outcomes h3){font-size:var(--c-h3);line-height:1.22;letter-spacing:-.025em}
html :is(#the-reality .reality-weight h3,#connected-system .system-chapter h3){font-size:var(--c-h3-lg);line-height:1.18;letter-spacing:-.035em}
html :is(.hero-copy>p:not(.eyebrow),#why .pressure-intro,.org-problem .pressure-intro){font-size:var(--c-body-lg);line-height:1.6}
html :is(.pressure-card p,.life-outcomes p,.home-faq details p){font-size:var(--c-body);line-height:1.55}
/* Eyebrows and labels: 13px, 600, tracked with --sp-tracking-caps (.14em). Nothing readable under 12px. */
html :is(.hero .eyebrow,.hero-eyebrow,.contact-eyebrow,.ab-card-label,.life-audience,.pressure-label,.org-num){font-size:13px;font-weight:600;letter-spacing:var(--sp-tracking-caps);line-height:1.4}
html .sys-pill{font-size:12px}
html .frame-bar p{font-size:12px}
html .step-num{font-size:13px}
@media(max-width:600px){html .step-title{font-size:1.125rem}}
/* Buttons and text links: 16px (the Home hero button keeps 18px). */
html :is(.audience-actions .audience-primary,.audience-learn,.development-cta,.sys-cta a,.hero-link,.oc-link){font-size:16px;line-height:1.5}
@media(max-width:800px){html header nav a{font-size:17px}}
html .home-faq-group h3{font-size:var(--c-h3)}
@media(min-width:1001px){html .ab-hero h1{font-size:clamp(3rem,1rem + 3.9vw,3.75rem)}}
/* Colour sign-off: the Home hero eyebrow sits over a bright photo; white keeps it legible. Footer icons match the links. */
html .hero .hero-eyebrow,html .hero .eyebrow{color:var(--sp-color-inverse-ink)}
html .footer-socials{color:var(--sp-color-inverse-ink-secondary)}
/* Type sign-off: the display statement always stays above the H2 size; one caption and small-body size. */
html .people-section .people-inner h2{font-size:clamp(2.5rem,1.6rem + 2.6vw,3.69rem)}
html :is(.system-sign,.development-sign){font-size:15px}
html :is(.step-desc,.org-steps p){font-size:16px;line-height:1.55}
html .step-title{font-size:var(--c-h3)}

/* Depth system (depth audit). Light cards: hairline + e1. Dark cards: hairline, no shadow.
   Photos and devices: e2. Dialog and phone menu: e3. */
html :is(.audience-panel,.reality-card,.ab-route,.life-composition){border:1px solid var(--line-light);box-shadow:var(--e1);border-radius:var(--r-card)}
html .org-steps>li{border:1px solid var(--line-light);box-shadow:var(--e1);border-radius:var(--r-card)}
html .pressure-card:is(.pressure-person,.pressure-program){border:1px solid var(--line-light);box-shadow:var(--e1);border-radius:var(--r-card)}
html #the-reality .reality-card{border:1px solid var(--line-light);box-shadow:var(--e1);border-radius:var(--r-card)}
html :is(.audience-panel,.life-composition){border-radius:var(--r-panel)}
/* The one dark card that sits on a light section keeps e1 so it lifts like its light siblings. */
html .pressure-card.pressure-stakes{border-radius:var(--r-card);box-shadow:var(--e1)}
html :is(.oc-photo,.ab-stakes-photo,#connected-system .system-photo,#connected-system .system-chapter .system-photo,#connected-system .system-chapter:nth-child(2) .system-photo,.practical-photo){border-radius:var(--r-card);box-shadow:var(--e2)}
html :is(.oc-photo,.ab-stakes-photo,#connected-system .system-photo,.practical-photo) img{border-radius:inherit}
html :is(.phone,.hq-frame,.session-overview .moment-screen){box-shadow:var(--e2)}
html :is(.phone,.session-overview .moment-screen){border-radius:var(--r-device)}
html .ab-card{border-radius:var(--r-card)}
html .ab-card-need{box-shadow:none;border:1px solid var(--line-dark)}
html .ab-card-built{border:1px solid var(--line-dark)}
html .ab-route-primary{border:1.5px solid var(--sp-color-accent-strong);box-shadow:var(--e1)}
html .ab-route:hover{box-shadow:var(--e2)}
html .ab-route-primary:hover{border-color:var(--sp-color-accent-strong)}
/* Controls: 12px corners; hover keeps the inset highlight and adds a quiet e1. */
html :is(.button,.nav-cta,.hero-cta,.org-close-button,.close-button,.contact-submit,.audience-actions .audience-primary,.audience-learn,.contact-form input,.contact-form textarea,.role-trigger){border-radius:var(--r-control)}
html :is(.button,.nav-cta,.hero-cta,.org-close-button,.close-button,.contact-submit):hover{box-shadow:inset 0 1px 0 color-mix(in srgb, var(--sp-color-surface-high) 19%, transparent),0 10px 22px -12px color-mix(in srgb, var(--sp-color-ink) 45%, transparent)}
html header .nav-cta:hover{box-shadow:inset 0 1px 0 color-mix(in srgb, var(--sp-color-surface-high) 19%, transparent)}
/* Dialog and phone menu. */
html .contact-dialog{border-radius:var(--r-panel);box-shadow:var(--e3)}
@media(max-width:800px){html body>header,html .home-header-slot>header{border-radius:var(--r-card)}html header nav.open{border-radius:var(--r-card);box-shadow:var(--e3);border:1px solid var(--line-dark)}}
html .sport-option{box-shadow:var(--e1)}
html #connected-system .system-chapter:nth-child(2) .sys-handoff{box-shadow:var(--e1)}
html .sport-option:hover,html .sport-option[aria-pressed="true"]{box-shadow:var(--e2)}
html .product-stage .hq-frame{border-radius:var(--r-panel)}
@media(min-width:601px) and (max-width:1000px){html .ab-hero h1{font-size:3rem}}
/* Depth sign-off fixes. */
html :is(.hq-frame,.product-stage .hq-frame){border:1px solid var(--line-dark)}
html :is(.button,.nav-cta,.hero-cta,.org-close-button,.close-button,.contact-submit):not(:hover){box-shadow:inset 0 1px 0 color-mix(in srgb, var(--sp-color-surface-high) 19%, transparent)}
html .nav-cta,html header .nav-cta{border-color:transparent}
html .audience-actions .audience-primary{box-shadow:inset 0 1px 0 color-mix(in srgb, var(--sp-color-surface-high) 19%, transparent)}
html .audience-actions .audience-primary:not(:disabled):hover{box-shadow:inset 0 1px 0 color-mix(in srgb, var(--sp-color-surface-high) 19%, transparent),0 10px 22px -12px color-mix(in srgb, var(--sp-color-ink) 45%, transparent)}
html .audience-panel-copy .audience-learn:hover{box-shadow:none}
html .session-overview .moment-screen{border-width:8px}
html .contact-dialog{border-color:var(--line-light)}
html #role-options{border-color:var(--line-light);box-shadow:var(--e2)}
html .contact-feedback{border-radius:var(--r-control)}
@media(max-width:600px){html .contact-submit-row{position:static;margin:0;padding:0;background:none}}
@media(max-width:800px){html .step-bar{display:none}html header nav.open{left:-1px;right:-1px}}
html :is(.phone,.practical-photo,#connected-system .system-chapter:not(:nth-child(2)) .system-photo){box-shadow:var(--e2-dark)}
html :is(.hq-frame,.product-stage .hq-frame){box-shadow:0 30px 60px -24px rgba(0,0,0,.6)}
