/* movemed.us: the Movemed company site. One stylesheet, no scripts.
   1. Brand route: the Movemed Design System tokens (Route 2b, "Stride with a figure"), light and dark.
      The source of truth is the Design System's tokens.json; change a value there first, then here.
   2. Fonts: Sora (display) and Manrope (text), self-hosted in /fonts because the CSP blocks other hosts.
   3. Components.
   Text never goes under 14 px. Body copy is 18 px. Every text pair is 4.5:1 or more in both themes. */

:root{
  /* 1. Brand route: colors, light theme (the default) */
  --bg:#FFFFFF; --surface-raised:#F5F7FC; --surface-tint:#E8EEFF;
  --ink:#131C3A; --ink-muted:#4B5568;
  --accent:#2F62EA; --accent-strong:#2350C8; --on-accent:#FFFFFF;
  --line:#DCE3F5; --line-strong:#7A86A8; --focus:var(--accent);
  --brand-navy:#131C3A; --brand-blue:#2F62EA; --brand-cyan:#2BB3D3; --brand-sky:#E8EEFF; --tagline-on-navy:#7FA2FF;
  --bar-1:#B9CAF8; --bar-2:#6E93F1;
  --success:#18794E; --warning:#9A5B00; --danger:#B42318;
  /* families */
  --font-display:Sora,"Segoe UI",system-ui,sans-serif;
  --font-text:Manrope,"Segoe UI",system-ui,sans-serif;
  /* scale: base 16, ratio 1.25. display 61, figure 48, h1 39, h2 31, h3 25, lead 20, body 18, body-sm 16, label and caption 14 */
  --t-display:3.8125rem; --t-figure:3rem; --t-h1:2.4375rem; --t-h2:1.9375rem; --t-h3:1.5625rem;
  --t-lead:1.25rem; --t-body:1.125rem; --t-body-sm:1rem; --t-label:.875rem; --t-caption:.875rem;
  /* spacing, 4 px base */
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-6:24px; --space-8:32px; --space-12:48px; --space-18:72px;
  /* radii */
  --radius-sm:8px; --radius-md:14px; --radius-lg:22px; --radius-pill:999px;
  /* focus: a 2 px ring in --focus, 2 px away from the element */
  --focus-ring:2px solid var(--focus); --focus-offset:2px;
  /* BORT supplies its photos on this near-white ground; they always sit on it, in both themes */
  --photo-ground:#F7F7F7;
  --wrap:1120px;
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#0F1630; --surface-raised:#182248; --surface-tint:#1F2B58;
    --ink:#F2F5FF; --ink-muted:#B4BED8;
    --accent:#7FA2FF; --accent-strong:#A6C0FF; --on-accent:#0F1630;
    --line:#2A3560; --line-strong:#6B78A8;
    --bar-1:#34478F; --bar-2:#2F62EA;
    --success:#4CC38A; --warning:#E9A23B; --danger:#FF8A75;
  }
}

/* 2. Fonts (OFL 1.1, licenses in /fonts). Latin subset; only the weights the site uses. */
@font-face{font-family:Sora;src:url(/fonts/sora-600.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Sora;src:url(/fonts/sora-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url(/fonts/manrope-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url(/fonts/manrope-500.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url(/fonts/manrope-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}

/* 3. Components */
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 var(--t-body)/1.55 var(--font-text)}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-underline-offset:3px}
a:hover{color:var(--accent-strong)}
:focus-visible{outline:var(--focus-ring);outline-offset:var(--focus-offset);border-radius:4px}
.skip{position:absolute;left:-999px;top:0;background:var(--accent);color:var(--on-accent);padding:10px 16px;z-index:20;font-weight:700}
.skip:focus{left:8px;top:8px}
.wrap{max-width:calc(var(--wrap) + 2 * var(--space-18));margin:0 auto;padding:0 var(--space-18)}
h1,h2,h3{font-family:var(--font-display);color:var(--ink);margin:0 0 var(--space-4)}
h1{font-size:var(--t-h1);font-weight:700;line-height:1.1;letter-spacing:-.03em}
h2{font-size:var(--t-h2);font-weight:700;line-height:1.15;letter-spacing:-.025em}
h3{font-size:var(--t-h3);font-weight:600;line-height:1.2;letter-spacing:-.02em}
.display{font-size:var(--t-display);font-weight:700;line-height:1.04;letter-spacing:-.04em}
p{margin:0 0 var(--space-4)}
.lead{font-size:var(--t-lead);font-weight:500;line-height:1.5;color:var(--ink-muted);max-width:33em}
.muted{color:var(--ink-muted)}
.small{font-size:var(--t-body-sm)}
.eyebrow{display:block;margin:0 0 var(--space-3);font-size:var(--t-label);font-weight:700;line-height:1.4;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-muted)}
.link{display:inline-block;padding:6px 0;font-weight:700;text-decoration:none}
.link:hover{text-decoration:underline}

/* dark brand panels (hero, wholesale call to action, footer): brand-navy in both themes, text tokens from the dark theme */
.on-navy{--ink:#F2F5FF;--ink-muted:#B4BED8;--line:#2A3560;--link:var(--tagline-on-navy);--focus:var(--tagline-on-navy);background:var(--brand-navy);color:var(--ink)}
.on-navy a:not(.btn){color:var(--link)}
.on-navy a:not(.btn):hover{color:#FFFFFF}

/* header */
.site-header{position:sticky;top:0;z-index:10;background:var(--bg);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;gap:var(--space-4);min-height:72px}
.logo{display:block;flex:none;padding:var(--space-2) 0;border-radius:var(--radius-sm)}
.logo img{height:32px;width:auto}
.endorse{margin:0 auto 0 0;padding-left:var(--space-4);border-left:1px solid var(--line);font-size:var(--t-label);font-weight:500;line-height:1.4;color:var(--ink-muted)}
.main-nav{display:flex;align-items:center;gap:var(--space-1)}
.main-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:var(--radius-pill);color:var(--ink);text-decoration:none;font-size:var(--t-body-sm);font-weight:700}
.main-nav a:hover{background:var(--surface-raised);color:var(--ink)}
.main-nav a[aria-current]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px;text-decoration-color:var(--accent)}
.main-nav a.cta{margin-left:var(--space-2);padding:0 20px;border:2px solid var(--line-strong)}
.main-nav a.cta:hover,.main-nav a.cta[aria-current]{border-color:var(--ink);background:transparent}
.main-nav a.cta[aria-current]{text-decoration:none}

/* buttons: pill, 44 px or taller; one primary per view */
.actions{display:flex;flex-wrap:wrap;gap:var(--space-3);margin-top:var(--space-6)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:48px;padding:0 24px;border:2px solid transparent;border-radius:var(--radius-pill);background:var(--accent);color:var(--on-accent);font:700 var(--t-body-sm)/1.2 var(--font-text);text-decoration:none;text-align:center}
.btn:hover{background:var(--accent-strong);color:var(--on-accent)}
.btn.ghost{background:transparent;color:var(--ink);border-color:var(--line-strong)}
.btn.ghost:hover{background:transparent;border-color:var(--ink);color:var(--ink)}
.on-navy .btn.ghost{color:#FFFFFF;border-color:#FFFFFF}
.on-navy .btn.ghost:hover{background:rgba(255,255,255,.08);color:#FFFFFF}
.ext{font-weight:400}

/* sections */
.section{padding:var(--space-18) 0}
.section.alt{background:var(--surface-raised)}
.sec-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:var(--space-3) var(--space-6);margin-bottom:var(--space-6)}
.sec-head h2{margin:0}
.section-lead{margin:-6px 0 var(--space-6)}
section[id]{scroll-margin-top:84px}

/* hero */
.hero{padding:var(--space-18) 0 var(--space-12)}
.hero-tight{padding-top:var(--space-8)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:var(--space-12);align-items:center}
.hero.on-navy .eyebrow{color:var(--brand-cyan)}
.hero.on-navy h1{color:#FFFFFF}
.hero.on-navy .lead{color:var(--ink-muted)}
.hero-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3);align-items:start}
.ph{display:block;border-radius:var(--radius-md);color:#131C3A;text-decoration:none}
.ph:nth-child(1){margin-top:var(--space-12)}
.ph:nth-child(2){margin-top:var(--space-6)}
.ph figure{margin:0;overflow:hidden;border-radius:var(--radius-md);background:#FFFFFF}
.ph-img{display:block;aspect-ratio:1;background:var(--photo-ground)}
.ph-img img{width:100%;height:100%;object-fit:contain}
/* captions hold two lines so the three tiles keep one height and step up evenly, like the bars of the symbol */
.ph figcaption{min-height:calc(2.7em + var(--space-2) + var(--space-3));padding:var(--space-2) var(--space-3) var(--space-3);font:700 var(--t-label)/1.35 var(--font-text);color:#131C3A}
.ph:hover figcaption{text-decoration:underline;text-underline-offset:3px}
.facts{list-style:none;margin:var(--space-12) 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}
.fact{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-6) var(--space-6) 0 0}
.fact + .fact{padding-left:var(--space-6);border-left:1px solid var(--line)}
.fact b{font:700 var(--t-figure)/1 var(--font-display);letter-spacing:-.03em;color:var(--ink);font-variant-numeric:tabular-nums}
.fact span{font-size:var(--t-body);font-weight:700;line-height:1.3;color:var(--ink)}
.fact small{display:block;margin-top:2px;font-size:var(--t-caption);font-weight:400;color:var(--ink-muted)}

/* audience cards */
.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-6)}
.aud{display:flex;flex-direction:column;padding:var(--space-8);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--bg);color:var(--ink);text-decoration:none;transition:border-color .15s}
.aud:hover{border-color:var(--line-strong);color:var(--ink)}
.aud h3{margin:var(--space-4) 0 var(--space-2)}
.aud p{margin:0;font-size:var(--t-body-sm);color:var(--ink-muted)}
.go{margin-top:auto;padding-top:var(--space-6);font-size:var(--t-body-sm);font-weight:700;color:var(--accent)}
.aud:hover .go{text-decoration:underline;text-underline-offset:3px}
.ico{display:inline-grid;place-items:center;flex:none;width:52px;height:52px;border-radius:var(--radius-md);background:var(--surface-tint);color:var(--accent-strong)}
.ico svg{width:28px;height:28px}

/* product cards: the BORT photo with the BORT product name next to it */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:var(--space-6)}
.card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--bg)}
.card-visual{display:block}
.card-body{display:flex;flex-direction:column;flex:1;padding:var(--space-6)}
.card .eyebrow{margin-bottom:var(--space-2)}
.card h3{margin:0 0 var(--space-2);font-size:var(--t-lead);font-weight:700}
.card h3 a{color:var(--ink);text-decoration:none}
.card h3 a:hover{text-decoration:underline}
.card .muted{margin-bottom:var(--space-2);font-size:var(--t-body-sm)}
.card-meta{margin:0;font-size:var(--t-label);color:var(--ink-muted)}
.card-body .actions{margin-top:auto;padding-top:var(--space-4);flex-direction:column;align-items:stretch;gap:var(--space-2)}
.card-body .actions .link{padding:10px 0;text-align:center}
.compact-grid{grid-template-columns:repeat(3,1fr)}
.card.compact{color:var(--ink);text-decoration:none;transition:border-color .15s}
.card.compact:hover{border-color:var(--line-strong);color:var(--ink)}
.card.compact:hover .card-name{text-decoration:underline;text-underline-offset:3px}
.card.compact .card-body{gap:2px;padding:var(--space-4) var(--space-6) var(--space-6)}
.card.compact .eyebrow{margin:0 0 2px}
.card-name{font:700 var(--t-lead)/1.2 var(--font-display);letter-spacing:-.01em;color:var(--ink)}
.thumb{aspect-ratio:4/3;overflow:hidden;background:var(--photo-ground)}
.thumb img{width:100%;height:100%;object-fit:contain}
.tile{display:flex;flex-direction:column;justify-content:flex-end;gap:2px;padding:var(--space-6);background:var(--brand-navy);color:#FFFFFF}
.tile-cat{font-size:var(--t-label);font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#B4BED8}
.tile-name{font:700 var(--t-h3)/1.15 var(--font-display)}

/* steps */
.steps{list-style:none;counter-reset:s;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-6)}
.steps li{counter-increment:s;padding:var(--space-8);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--bg)}
.steps li::before{content:counter(s);display:grid;place-items:center;width:40px;height:40px;margin-bottom:var(--space-4);border-radius:50%;background:var(--accent);color:var(--on-accent);font:700 var(--t-body)/1 var(--font-display)}
.steps h3{margin:0 0 var(--space-2);font-size:var(--t-lead);font-weight:700}
.steps p{margin:0;font-size:var(--t-body-sm);color:var(--ink-muted)}

/* wholesale */
.perks{list-style:none;margin:0;padding:var(--space-8);display:grid;gap:var(--space-6);border-radius:var(--radius-lg);background:var(--surface-raised)}
.perks li{display:grid;grid-template-columns:auto 1fr;gap:var(--space-4);align-items:start}
.perks h3{margin:2px 0;font-size:var(--t-body);font-weight:700}
.perks p{margin:0;font-size:var(--t-body-sm);color:var(--ink-muted)}
.range{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-6)}
.range-col{padding-top:var(--space-4);border-top:2px solid var(--ink)}
.range-col h3{margin:0 0 var(--space-2);font-size:var(--t-lead);font-weight:700}
.range-col ul{list-style:none;margin:0;padding:0}
.range-col li{padding:var(--space-3) 0;border-bottom:1px solid var(--line)}
.range-col li a{font-weight:700;color:var(--ink);text-decoration:none}
.range-col li a:hover{text-decoration:underline}
.range-col li span{display:block;font-size:var(--t-body-sm);color:var(--ink-muted)}
.range-note{margin-top:var(--space-6)}
.section-cta{padding-top:0}
.cta-box{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-6);padding:var(--space-12);border-radius:var(--radius-lg)}
.cta-box h2{margin:0 0 var(--space-2);color:#FFFFFF}
.cta-box p{margin:0;color:var(--ink-muted)}
.cta-box a:not(.btn){font-weight:700}

/* about and contact */
.two{display:grid;grid-template-columns:1.2fr 1fr;gap:var(--space-12);align-items:start}
.facts-dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:var(--space-3) var(--space-6);padding:var(--space-8);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--bg)}
.facts-dl dt{font-size:var(--t-body-sm);font-weight:700}
.facts-dl dd{margin:0;font-size:var(--t-body-sm);color:var(--ink-muted)}
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--space-6);margin-bottom:var(--space-6)}
.contact-card{padding:var(--space-6);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--bg)}
.contact-card h3{margin:0 0 var(--space-2);font:700 var(--t-label)/1.4 var(--font-text);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-muted)}
.contact-card p{margin:0 0 var(--space-1)}
.contact-card a{font-weight:700;overflow-wrap:anywhere}

/* product page */
.page-title{padding:var(--space-8) 0 0}
.crumbs{margin:0 0 var(--space-3);font-size:var(--t-label);color:var(--ink-muted)}
.crumbs a{display:inline-block;padding:6px 0;color:var(--ink-muted)}
.jump{margin-top:var(--space-2);font-size:var(--t-body-sm)}
.product-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:var(--space-12);align-items:start}
.product-photo{margin:0}
.thumb.big{aspect-ratio:1;border:1px solid var(--line);border-radius:var(--radius-lg)}
.thumb.big .tile-name{font-size:var(--t-h2)}
.sizes{margin-top:var(--space-8)}
.sizes h2,.note h2{font-size:var(--t-lead);font-weight:700;letter-spacing:-.01em}
.size-grid{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-3)}
.size{display:inline-grid;place-items:center;min-width:56px;min-height:48px;padding:8px 14px;border:2px solid var(--line-strong);border-radius:var(--radius-sm);color:var(--ink);font-size:var(--t-body-sm);font-weight:700;text-decoration:none}
.size:hover{border-color:var(--ink);color:var(--ink);background:var(--surface-raised)}
.note{margin-top:var(--space-8);padding:var(--space-6);border-radius:var(--radius-md);background:var(--surface-raised)}
.note p{margin:0;font-size:var(--t-body-sm)}
.b2b{display:flex;align-items:center;gap:var(--space-4);margin:var(--space-6) 0;padding:var(--space-4) var(--space-6);border:1px solid var(--line);border-radius:var(--radius-lg)}
.b2b p{margin:0;font-size:var(--t-body-sm)}
.b2b .ico{width:44px;height:44px}
.sticky-cta{display:none}

/* footer: brand-navy in both themes, with the dark logo */
.site-footer{padding:var(--space-12) 0 var(--space-18);font-size:var(--t-caption);color:var(--ink-muted)}
.foot{display:grid;grid-template-columns:1fr auto;gap:var(--space-8)}
.foot-logo{height:56px;width:auto;margin:0 0 var(--space-6)}
.site-footer p{max-width:78ch;margin:0 0 var(--space-2)}
.foot-brand{font-size:var(--t-body-sm);font-weight:700;color:var(--ink)}
.foot-links{display:flex;flex-direction:column;align-items:flex-start}
.foot-links a{display:inline-block;padding:6px 0;font-size:var(--t-body-sm)}

@media (max-width:1100px){
  .wrap{padding:0 var(--space-12)}
}
@media (max-width:900px){
  .hero-grid,.product-grid,.two{grid-template-columns:1fr}
  .cards3,.steps,.range{grid-template-columns:1fr}
  .compact-grid{grid-template-columns:repeat(2,1fr)}
  .endorse{display:none}
  .main-nav{margin-left:auto}
  .hero-photos{max-width:640px}
}
@media (max-width:760px){
  .wrap{padding:0 var(--space-4)}
  .section{padding:var(--space-12) 0}
  .hero{padding:var(--space-12) 0 var(--space-8)}
  .display{font-size:3.0625rem}
  h1{font-size:var(--t-h2)}
  h2{font-size:var(--t-h3)}
  h3{font-size:var(--t-lead)}
  .bar{min-height:64px;gap:var(--space-2)}
  .logo img{height:26px}
  .main-nav a{padding:0 10px}
  .main-nav a.cta{margin-left:var(--space-1);padding:0 14px}
  .main-nav a.hide-s{display:none}
  .hero-photos{gap:var(--space-2)}
  .ph:nth-child(1){margin-top:var(--space-6)}
  .ph:nth-child(2){margin-top:var(--space-3)}
  .ph figcaption{min-height:calc(4.05em + 6px + var(--space-2));padding:6px var(--space-2) var(--space-2)}
  .facts{margin-top:var(--space-8)}
  .fact{flex-direction:column;align-items:flex-start;gap:var(--space-1);padding:var(--space-4) var(--space-3) 0 0}
  .fact + .fact{padding-left:var(--space-3)}
  .fact b{font-size:var(--t-h1)}
  .fact span{font-size:var(--t-body-sm)}
  .fact small{display:none}
  .compact-grid{gap:var(--space-3)}
  .card.compact .card-body{padding:var(--space-3) var(--space-3) var(--space-4)}
  .card-name{font-size:var(--t-body-sm)}
  .aud,.steps li,.perks{padding:var(--space-6)}
  .cta-box{padding:var(--space-8) var(--space-6)}
  .foot{grid-template-columns:1fr}
  .foot-logo{height:48px}
  .facts-dl{grid-template-columns:1fr;gap:2px;padding:var(--space-6)}
  .facts-dl dd{margin-bottom:var(--space-3)}
  .sticky-cta{display:block;position:fixed;left:0;right:0;bottom:0;z-index:15;padding:10px 16px;border-top:1px solid var(--line);background:var(--bg)}
  .sticky-cta .btn{display:flex;width:100%}
  body:has(.sticky-cta){padding-bottom:76px}
}
