:root {
  color-scheme: light;
  --ink: #10232d;
  --muted: #60727a;
  --navy: #071923;
  --navy-2: #0d2a35;
  --teal: #0aa5a4;
  --teal-dark: #087c80;
  --mint: #dff8f4;
  --paper: #ffffff;
  --wash: #eef5f6;
  --line: #d7e3e5;
  --danger: #b93434;
  --shadow: 0 22px 65px rgba(7, 25, 35, .13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--wash); font-size: 16px; line-height: 1.55; }
button, input { font: inherit; }
a { color: inherit; }
.shell { min-height: 100vh; }
.site-nav { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 20; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(145deg, #12d1c3, #078184); color: #031619; font-weight: 950; box-shadow: 0 8px 24px rgba(10,165,164,.24); }
.site-brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: .01em; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.button { min-height: 44px; border: 0; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; background: var(--teal); color: white; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 10px 25px rgba(8,124,128,.2); }
.button.secondary { background: #e3edef; color: #1e3d48; }
.button.secondary:hover { background: #d4e4e7; box-shadow: none; }
.button.dark { background: var(--navy); }
.button.dark:hover { background: var(--navy-2); }
.button.full { width: 100%; }
.hero { background: var(--navy); color: white; position: relative; overflow: hidden; }
.hero:before { content: ""; position: absolute; width: 540px; height: 540px; border-radius: 50%; right: -130px; top: -240px; background: radial-gradient(circle, rgba(18,209,195,.23), rgba(18,209,195,0) 70%); }
.hero:after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent); }
.hero-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 78px 0 82px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #8be7df; font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow:before { content: ""; width: 24px; height: 2px; background: #38cfc2; }
.hero h1 { margin: 18px 0 20px; max-width: 760px; font-size: clamp(42px, 6vw, 72px); line-height: .98; letter-spacing: -.055em; }
.hero-copy { max-width: 650px; color: #bad0d5; font-size: 19px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero .button.secondary { background: rgba(255,255,255,.1); color: white; border: 1px solid rgba(255,255,255,.18); }
.trust-line { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 34px; color: #86a7af; font-size: 13px; font-weight: 700; }
.trust-line span:before { content: "✓"; color: #51d8c9; margin-right: 7px; }
.system-card { background: #102d39; border: 1px solid #244652; border-radius: 22px; padding: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.28); transform: rotate(1.2deg); }
.system-card header { display: flex; justify-content: space-between; align-items: center; color: #bdd3d8; font-size: 13px; }
.status-chip { padding: 5px 9px; border-radius: 999px; color: #9ff0e7; background: rgba(18,209,195,.12); }
.flow { display: grid; gap: 10px; margin-top: 22px; }
.flow-row { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 13px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.06); }
.flow-row b { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #143d49; color: #73e1d6; }
.flow-row strong, .flow-row small { display: block; }
.flow-row small { color: #8dacb4; }
.flow-row em { font-style: normal; color: #6dd8cd; font-size: 12px; }
.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 78px 0; }
.section-heading { max-width: 700px; margin-bottom: 30px; }
.section-heading h2 { margin: 10px 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.feature-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 12px 35px rgba(12,45,57,.06); }
.feature-card span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--teal-dark); font-weight: 950; }
.feature-card h3 { margin: 18px 0 7px; font-size: 19px; }
.feature-card p { margin: 0; color: var(--muted); }
.access-section { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.access-grid { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 68px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.access-card { border-radius: 20px; padding: 30px; border: 1px solid var(--line); background: #f8fbfb; }
.access-card.dark { background: var(--navy); color: white; border-color: var(--navy); }
.access-card h3 { font-size: 24px; margin: 0 0 8px; }
.access-card p { min-height: 52px; color: var(--muted); }
.access-card.dark p { color: #aac2c8; }
.site-footer { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 28px 0 40px; display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }

/* Landing page */
.landing-page { background: #f4f8f8; }
.landing-nav { border-bottom-color: rgba(215,227,229,.75); }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a { color: #3d5660; font-size: 14px; font-weight: 750; text-decoration: none; }
.nav-links a:hover { color: var(--teal-dark); }
.nav-login { margin-left: 18px; }
.landing-hero { position: relative; overflow: hidden; color: white; background: linear-gradient(125deg, #061923 0%, #092732 58%, #0a343d 100%); }
.landing-hero:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, black, transparent 70%); }
.landing-hero:after { content: ""; position: absolute; width: 720px; height: 720px; right: -240px; top: -330px; border-radius: 50%; background: radial-gradient(circle, rgba(17,203,190,.19), transparent 67%); }
.landing-hero-grid { width: min(1240px, calc(100% - 56px)); min-height: 680px; margin: auto; padding: 78px 0 84px; display: grid; grid-template-columns: minmax(0,1.04fr) minmax(430px,.96fr); gap: 72px; align-items: center; position: relative; z-index: 1; }
.landing-intro h1 { max-width: 720px; margin: 20px 0 24px; font-size: clamp(48px, 6.3vw, 78px); line-height: .96; letter-spacing: -.06em; }
.landing-intro h1 em { display: block; color: #63dfd3; font-style: normal; }
.landing-intro > p:not(.clinical-note) { max-width: 670px; margin: 0; color: #bad0d5; font-size: 19px; line-height: 1.65; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.landing-actions .button { min-height: 68px; padding: 10px 16px 10px 11px; gap: 12px; text-align: left; }
.landing-actions .button > span:nth-child(2) { min-width: 142px; }
.landing-actions .button small { display: block; margin-bottom: 1px; opacity: .7; font-size: 11px; font-weight: 650; }
.primary-cta { background: #16bdb2; color: #042128; }
.primary-cta:hover { background: #41d6cc; }
.patient-cta { background: rgba(255,255,255,.08); color: white; border: 1px solid rgba(255,255,255,.18); }
.patient-cta:hover { background: rgba(255,255,255,.14); }
.cta-icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(4,33,40,.16); font-weight: 900; }
.patient-cta .cta-icon { background: rgba(255,255,255,.09); }
.clinical-note { margin: 24px 0 0; color: #8daab1; font-size: 13px; font-weight: 700; }
.clinical-note span { margin-right: 7px; color: #55d9cd; }
.visit-board { padding: 22px; border: 1px solid rgba(142,203,204,.22); border-radius: 25px; background: rgba(14,45,56,.88); box-shadow: 0 36px 90px rgba(0,0,0,.33); backdrop-filter: blur(14px); }
.visit-board-top, .visit-board-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.visit-board-top { color: #d8e9eb; font-size: 14px; }
.visit-board-top > div { display: flex; align-items: center; gap: 9px; }
.visit-board-top > span { color: #8eabb2; font-size: 12px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #38d3c5; box-shadow: 0 0 0 5px rgba(56,211,197,.1); }
.visit-progress { height: 4px; margin: 18px 0 22px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.08); }
.visit-progress span { display: block; width: 64%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#13b6ad,#6ce0d4); }
.visit-steps { display: grid; gap: 9px; }
.visit-step { display: grid; grid-template-columns: 45px 1fr; gap: 13px; align-items: center; min-height: 82px; padding: 13px; border: 1px solid rgba(255,255,255,.065); border-radius: 15px; background: rgba(255,255,255,.035); }
.visit-step.current { border-color: rgba(62,213,200,.42); background: rgba(22,189,178,.10); }
.step-state { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #173b47; color: #9bb8be; font-size: 13px; font-weight: 900; }
.visit-step.complete .step-state, .visit-step.current .step-state { background: #1a887f; color: white; }
.visit-step small, .visit-step strong, .visit-step p { display: block; }
.visit-step small { margin-bottom: 1px; color: #5fd9ce; font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.visit-step strong { color: #e2eff1; font-size: 14px; }
.visit-step p { margin: 2px 0 0; color: #819fa7; font-size: 12px; }
.visit-board-footer { margin-top: 18px; color: #88a5ac; font-size: 12px; }
.visit-board-footer strong { color: #73ded4; font-size: 14px; }
.value-strip { width: min(1240px, calc(100% - 56px)); margin: -1px auto 0; padding: 25px 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); background: white; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 22px 22px; box-shadow: 0 18px 45px rgba(13,42,53,.06); }
.value-strip > div { padding: 0 24px; border-right: 1px solid var(--line); }
.value-strip > div:last-child { border-right: 0; }
.value-strip strong, .value-strip span { display: block; }
.value-strip strong { font-size: 15px; }
.value-strip span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.process-section, .role-section { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 96px 0; }
.process-heading { max-width: 760px; }
.process-heading .eyebrow, .role-intro .eyebrow { color: var(--teal-dark); }
.process-heading h2, .role-intro h2 { margin: 12px 0; font-size: clamp(34px,4.7vw,54px); line-height: 1.05; letter-spacing: -.045em; }
.process-heading p { margin: 0; max-width: 710px; color: var(--muted); font-size: 18px; }
.process-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.process-grid article { min-height: 235px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 15px 35px rgba(13,42,53,.05); }
.process-number { color: #0a8f8e; font-size: 14px; font-weight: 950; letter-spacing: .06em; }
.process-grid h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.02em; }
.process-grid p { margin: 0; color: var(--muted); }
.role-section { padding-top: 28px; }
.role-intro { max-width: 780px; margin-bottom: 36px; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.role-card { min-height: 420px; padding: 34px; border-radius: 24px; }
.therapist-role { color: white; background: #071d27; box-shadow: 0 28px 60px rgba(7,29,39,.16); }
.patient-role { background: #dff7f4; border: 1px solid #b7e6e1; }
.role-label { display: inline-flex; padding: 6px 10px; border-radius: 99px; color: #54d9cd; background: rgba(84,217,205,.1); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.patient-role .role-label { color: #086e70; background: rgba(8,110,112,.09); }
.role-card h3 { max-width: 500px; margin: 24px 0; font-size: clamp(27px,3.2vw,40px); line-height: 1.08; letter-spacing: -.04em; }
.role-card ul { margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; list-style: none; }
.role-card li { color: #a9c2c8; font-size: 14px; }
.patient-role li { color: #315f63; }
.role-card li:before { content: "✓"; margin-right: 8px; color: #52d8cb; font-weight: 900; }
.patient-role li:before { color: #078083; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: white; font-weight: 850; text-decoration: none; }
.patient-role .text-link { color: #075e63; }
.text-link:hover span { transform: translateX(3px); }
.text-link span { transition: transform .18s ease; }
.final-cta { width: min(1180px, calc(100% - 48px)); margin: 0 auto 48px; padding: 38px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-radius: 24px; color: white; background: linear-gradient(110deg,#0a8586,#0aa9a4); box-shadow: 0 22px 50px rgba(8,124,128,.18); }
.final-cta > div > span { font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; opacity: .78; }
.final-cta h2 { max-width: 720px; margin: 7px 0 0; font-size: clamp(25px,3.5vw,38px); line-height: 1.08; letter-spacing: -.035em; }
.final-cta .button { flex: 0 0 auto; background: white; color: #086d70; }
.final-cta .button:hover { background: #e9fffc; }
.landing-footer { border-top: 1px solid var(--line); }

/* Public DB Fizjo presentation */
.marketing-page { background: #f6fafa; color: #0b2130; }
.marketing-nav { height: 82px; position: relative; padding: 0 max(28px, calc((100vw - 1280px) / 2)); background: #fff; z-index: 30; }
.marketing-logo { width: 218px; height: 66px; display: flex; align-items: center; text-decoration: none; }
.marketing-logo img { display: block; width: 100%; height: 58px; object-fit: contain; object-position: left center; }
.marketing-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.marketing-links a, .marketing-patient-link { color: #2e4651; font-size: 14px; font-weight: 760; text-decoration: none; }
.marketing-links a:hover, .marketing-patient-link:hover { color: #058f8f; }
.marketing-nav-actions { display: flex; align-items: center; gap: 18px; margin-left: 34px; }
.marketing-nav .button { background: #079f9c; }
.marketing-hero { min-height: 650px; position: relative; overflow: hidden; background: white; }
.marketing-hero-image { position: absolute; inset: 0 0 0 auto; width: 66%; height: 100%; object-fit: cover; object-position: 62% center; }
.marketing-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.985) 36%, rgba(255,255,255,.82) 49%, rgba(255,255,255,.13) 72%, rgba(255,255,255,0) 100%); }
.marketing-hero-content { width: min(1280px, calc(100% - 56px)); min-height: 650px; margin: auto; padding: 66px 0 38px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.marketing-eyebrow { display: inline-flex; align-items: center; gap: 12px; color: #087c80; font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.marketing-eyebrow:before { content: ""; width: 30px; height: 2px; background: #0aa5a4; }
.marketing-hero h1 { max-width: 720px; margin: 18px 0 20px; color: #092231; font-size: clamp(48px, 6.2vw, 78px); line-height: .98; letter-spacing: -.058em; }
.marketing-hero h1 em { display: block; color: #069d9b; font-style: normal; }
.marketing-hero-content > p { max-width: 600px; margin: 0; color: #526975; font-size: 19px; line-height: 1.62; }
.marketing-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.marketing-primary { min-height: 54px; background: #08a8a4; }
.marketing-secondary { min-height: 54px; color: #173540; background: white; border: 1px solid #7fc4c4; }
.marketing-secondary:hover { color: white; }
.marketing-person { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.marketing-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 24%; box-shadow: 0 0 0 4px rgba(10,165,164,.1); }
.marketing-person strong, .marketing-person span { display: block; }
.marketing-person strong { font-size: 14px; }
.marketing-person span { color: #657b84; font-size: 12px; }
.marketing-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.marketing-trust span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #dfebed; border-radius: 10px; color: #35525d; background: rgba(255,255,255,.84); font-size: 12px; font-weight: 750; backdrop-filter: blur(8px); }
.marketing-trust b { color: #069d9b; font-size: 14px; }
.marketing-services { width: min(1280px, calc(100% - 56px)); margin: auto; padding: 88px 0 102px; }
.marketing-section-heading { max-width: 800px; }
.marketing-section-heading h2, .diagnostic-copy h2, .about-copy h2, .access-modern-heading h2 { margin: 13px 0 14px; font-size: clamp(35px,4.5vw,55px); line-height: 1.04; letter-spacing: -.045em; }
.marketing-section-heading p { max-width: 720px; margin: 0; color: #647985; font-size: 17px; }
.service-showcase { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 38px; }
.service-tile { min-height: 142px; padding: 23px; display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; border: 1px solid #dbe8ea; border-radius: 18px; background: #fff; box-shadow: 0 13px 34px rgba(10,41,52,.055); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.service-tile:hover { transform: translateY(-3px); border-color: #a7d8d7; box-shadow: 0 18px 40px rgba(10,82,87,.1); }
.service-symbol { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; color: #087a7d; background: #e7f7f5; font-size: 13px; font-weight: 950; letter-spacing: .04em; }
.service-symbol.wave { font-size: 20px; }
.service-tile h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.015em; }
.service-tile p { margin: 0; color: #6b8089; font-size: 13px; line-height: 1.45; }
.service-arrow { color: #0a5360; font-size: 21px; }
.diagnostic-section { padding: 90px max(28px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1fr .86fr; gap: 72px; align-items: center; color: white; background: #071e29; position: relative; overflow: hidden; }
.diagnostic-section:before { content: ""; position: absolute; width: 520px; height: 520px; left: -210px; bottom: -290px; border-radius: 50%; background: radial-gradient(circle,rgba(10,165,164,.22),transparent 68%); }
.diagnostic-copy { position: relative; z-index: 1; }
.diagnostic-copy .marketing-eyebrow { color: #63d9d1; }
.diagnostic-copy h2 { max-width: 650px; }
.diagnostic-copy > p { max-width: 650px; color: #abc1c7; font-size: 17px; }
.diagnostic-points { display: grid; gap: 11px; margin-top: 30px; }
.diagnostic-points span { display: flex; align-items: center; gap: 13px; color: #c1d3d7; font-size: 14px; }
.diagnostic-points b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #64ded4; background: #123642; font-size: 11px; }
.diagnostic-board { padding: 28px; border: 1px solid #244650; border-radius: 24px; background: linear-gradient(145deg,#102e39,#0a2631); box-shadow: 0 35px 80px rgba(0,0,0,.28); position: relative; z-index: 1; }
.diagnostic-board-top { display: flex; justify-content: space-between; gap: 18px; color: #c3d4d8; font-size: 13px; }
.diagnostic-board-top strong { color: #8ce9df; }
.diagnostic-knee { margin: 24px 0; padding: 22px; display: flex; align-items: center; gap: 22px; border-radius: 18px; background: rgba(255,255,255,.045); }
.knee-ring { width: 94px; height: 94px; border: 9px solid #17616a; border-top-color: #4ed9cd; border-radius: 50%; box-shadow: inset 0 0 0 12px rgba(39,160,160,.06); }
.diagnostic-knee small, .diagnostic-knee strong { display: block; }
.diagnostic-knee small { color: #8aa8ae; font-size: 12px; }
.diagnostic-knee strong { color: #71e2d8; font-size: 31px; }
.diagnostic-bars { display: grid; gap: 14px; }
.diagnostic-bars > div { display: grid; grid-template-columns: 1fr 1.5fr 42px; gap: 12px; align-items: center; }
.diagnostic-bars span { color: #91acb2; font-size: 11px; }
.diagnostic-bars i { height: 7px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.08); }
.diagnostic-bars i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#0fa8a2,#63dcd2); }
.diagnostic-bars em { color: #d5e6e8; font-size: 12px; font-style: normal; }
.diagnostic-board > p { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid #21404a; color: #78959c; font-size: 12px; }
.about-section { width: min(1080px, calc(100% - 48px)); margin: auto; padding: 104px 0; display: grid; grid-template-columns: 340px 1fr; gap: 70px; align-items: center; }
.about-photo { overflow: hidden; border-radius: 26px; aspect-ratio: 4/5; box-shadow: 0 28px 60px rgba(11,36,47,.14); }
.about-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 28%; }
.about-copy p { max-width: 650px; color: #617782; font-size: 18px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.about-tags span { padding: 8px 11px; border: 1px solid #cce0e2; border-radius: 99px; color: #31515d; background: #f7fbfb; font-size: 12px; font-weight: 760; }
.access-modern { padding: 88px max(28px, calc((100vw - 1180px) / 2)); background: #eaf5f5; }
.access-modern-heading { max-width: 820px; margin-bottom: 34px; }
.access-modern-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.access-modern-card { min-height: 330px; padding: 34px; display: flex; flex-direction: column; border-radius: 24px; }
.access-modern-card > span { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.access-modern-card h3 { max-width: 500px; margin: 20px 0 11px; font-size: clamp(27px,3vw,38px); line-height: 1.08; letter-spacing: -.035em; }
.access-modern-card p { max-width: 530px; margin: 0; line-height: 1.55; }
.access-modern-card a { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 850; text-decoration: none; }
.access-modern-card.therapist { color: white; background: #071e29; }
.access-modern-card.therapist > span, .access-modern-card.therapist a { color: #67dfd5; }
.access-modern-card.therapist p { color: #a7c0c6; }
.access-modern-card.patient { color: #0d363c; border: 1px solid #b4dfdc; background: #d6f1ee; }
.access-modern-card.patient > span, .access-modern-card.patient a { color: #08797b; }
.access-modern-card.patient p { color: #477177; }
.marketing-footer { width: min(1180px, calc(100% - 48px)); border-top: 0; }

@media (max-width: 1020px) {
  .marketing-links { display: none; }
  .marketing-nav-actions { margin-left: auto; }
  .marketing-hero-image { width: 74%; opacity: .66; }
  .marketing-hero-shade { background: linear-gradient(90deg,#fff 0%,rgba(255,255,255,.97) 42%,rgba(255,255,255,.6) 68%,rgba(255,255,255,.14)); }
  .service-showcase { grid-template-columns: 1fr 1fr; }
  .diagnostic-section { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 700px) {
  .marketing-nav { height: 70px; padding: 0 14px; }
  .marketing-logo { width: 154px; height: 56px; }
  .marketing-logo img { height: 49px; }
  .marketing-patient-link { display: none; }
  .marketing-nav-actions { margin-left: auto; }
  .marketing-nav .button { min-height: 40px; padding: 0 13px; font-size: 13px; }
  .marketing-hero { min-height: 740px; }
  .marketing-hero-image { inset: auto 0 0; width: 100%; height: 48%; opacity: 1; object-position: 60% center; }
  .marketing-hero-shade { background: linear-gradient(180deg,#fff 0%,#fff 51%,rgba(255,255,255,.94) 60%,rgba(255,255,255,.1) 83%,transparent 100%); }
  .marketing-hero-content { width: min(100% - 28px,1280px); min-height: 740px; padding: 48px 0 25px; justify-content: flex-start; }
  .marketing-hero h1 { max-width: 570px; font-size: 44px; }
  .marketing-hero-content > p { max-width: 520px; font-size: 16px; }
  .marketing-hero-actions { display: grid; max-width: 330px; width: 100%; }
  .marketing-hero-actions .button { width: 100%; }
  .marketing-person { margin-top: 20px; }
  .marketing-trust { display: none; }
  .marketing-services { width: min(100% - 28px,1280px); padding: 68px 0 74px; }
  .service-showcase { grid-template-columns: 1fr; }
  .service-tile { min-height: 120px; padding: 18px; grid-template-columns: 54px 1fr auto; gap: 14px; }
  .service-symbol { width: 54px; height: 54px; border-radius: 14px; }
  .diagnostic-section { padding: 68px 14px; }
  .diagnostic-board { padding: 20px; }
  .diagnostic-bars > div { grid-template-columns: 1fr; gap: 7px; }
  .diagnostic-bars em { display: none; }
  .about-section { width: min(100% - 28px,1080px); padding: 74px 0; grid-template-columns: 1fr; gap: 38px; }
  .about-photo { width: min(310px,100%); }
  .access-modern { padding: 68px 14px; }
  .access-modern-grid { grid-template-columns: 1fr; }
  .access-modern-card { min-height: 300px; padding: 26px; }
  .marketing-footer { display: block; }
}
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); background: white; }
.auth-aside { background: var(--navy); color: white; padding: 48px clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-aside:after { content: ""; width: 500px; height: 500px; border-radius: 50%; position: absolute; left: -220px; bottom: -260px; background: radial-gradient(circle, rgba(11,189,180,.35), transparent 68%); }
.auth-aside h1 { max-width: 560px; margin: 70px 0 16px; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; position: relative; z-index: 1; }
.auth-aside p { max-width: 500px; color: #a9c2c8; font-size: 18px; position: relative; z-index: 1; }
.auth-facts { display: grid; gap: 10px; position: relative; z-index: 1; }
.auth-facts span { color: #b7cdd2; font-size: 14px; }
.auth-facts span:before { content: "✓"; margin-right: 9px; color: #54dacd; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: min(440px, 100%); }
.auth-card h2 { margin: 0 0 7px; font-size: 34px; letter-spacing: -.035em; }
.auth-card > p { color: var(--muted); margin: 0 0 24px; }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #eaf1f2; border-radius: 12px; margin-bottom: 22px; }
.mode-switch button { border: 0; min-height: 42px; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; }
.mode-switch button.active { background: white; color: var(--ink); box-shadow: 0 3px 12px rgba(14,42,53,.09); }
.form-field { display: grid; gap: 7px; margin-top: 15px; }
.form-field label { font-size: 14px; font-weight: 800; }
.form-field input { width: 100%; min-height: 48px; border: 1px solid #cbdadc; border-radius: 11px; padding: 0 13px; color: var(--ink); background: white; outline: none; }
.form-field input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(10,165,164,.12); }
.form-actions { margin-top: 21px; }
.form-note { margin-top: 18px; padding: 13px; border-radius: 11px; background: #f1f6f7; color: var(--muted); font-size: 13px; }
.form-message { display: none; margin: 14px 0 0; padding: 12px 13px; border-radius: 10px; background: #edf7f5; color: #146b59; font-size: 14px; }
.form-message.error { background: #fff0f0; color: var(--danger); }
.form-message.show { display: block; }
.auth-back { display: inline-flex; margin-top: 22px; color: var(--teal-dark); text-decoration: none; font-weight: 750; }
.patient-shell { min-height: 100vh; background: var(--wash); }
.patient-main { width: min(960px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 70px; }
.patient-welcome { border-radius: 22px; padding: 30px; background: var(--navy); color: white; box-shadow: var(--shadow); }
.patient-welcome h1 { margin: 6px 0; font-size: 34px; letter-spacing: -.035em; }
.patient-welcome p { color: #abc3c8; margin: 0; }
.patient-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 18px; margin-top: 18px; }
.patient-panel { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.patient-panel h2 { margin: 0 0 8px; font-size: 21px; }
.patient-panel p { color: var(--muted); }
.empty-state { border: 1px dashed #b9cbcf; background: #f8fbfb; border-radius: 14px; padding: 26px; text-align: center; color: var(--muted); }
.patient-exercises { display: grid; gap: 12px; }
.patient-exercise { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 16px; border: 1px solid #d7e4e7; border-radius: 16px; background: #fff; }
.patient-exercise > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #dff5f2; color: var(--teal-dark); font-weight: 800; }
.patient-exercise h3 { margin: 4px 0 8px; }
.patient-exercise p { margin: 6px 0; }
.patient-monitor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.patient-monitor-grid label { display: grid; gap: 6px; font-weight: 700; }
.patient-monitor-grid .full { grid-column: 1 / -1; }
.patient-monitor-grid input, .patient-monitor-grid select, .patient-monitor-grid textarea { width: 100%; box-sizing: border-box; border: 1px solid #c7d7db; border-radius: 10px; padding: 11px; font: inherit; }
.patient-check { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.form-note.success { background: #e9f8f0; color: #17603c; }
.form-note.error { background: #fff0f0; color: var(--danger); }
.auth-locked { visibility: hidden; }

@media (max-width: 880px) {
  .hero-inner, .auth-page, .patient-grid { grid-template-columns: 1fr; }
  .system-card { transform: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .auth-aside { min-height: 360px; }
  .auth-aside h1 { margin-top: 40px; }
  .landing-hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .visit-board { max-width: 620px; }
  .value-strip { grid-template-columns: 1fr 1fr; }
  .value-strip > div:nth-child(2) { border-right: 0; }
  .value-strip > div:nth-child(-n+2) { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 185px; }
}

@media (max-width: 620px) {
  .patient-monitor-grid { grid-template-columns: 1fr; }
  .site-nav { padding: 0 16px; }
  .site-brand small { display: none; }
  .nav-actions .secondary { display: none; }
  .nav-links { display: none; }
  .nav-login { min-height: 40px; margin-left: auto; padding: 0 14px; }
  .landing-hero-grid, .value-strip { width: min(100% - 28px, 1240px); }
  .landing-hero-grid { min-height: auto; padding: 58px 0 62px; }
  .landing-intro h1 { font-size: 46px; }
  .landing-intro > p:not(.clinical-note) { font-size: 17px; }
  .landing-actions { display: grid; }
  .landing-actions .button { width: 100%; }
  .visit-board { padding: 15px; border-radius: 20px; }
  .visit-step { grid-template-columns: 40px 1fr; padding: 11px; }
  .step-state { width: 38px; height: 38px; }
  .visit-step p { line-height: 1.35; }
  .value-strip { grid-template-columns: 1fr; padding: 12px 20px; }
  .value-strip > div { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-strip > div:nth-child(-n+2) { margin: 0; padding-bottom: 14px; }
  .value-strip > div:last-child { border-bottom: 0; }
  .process-section, .role-section { width: min(100% - 28px,1180px); padding: 72px 0; }
  .role-section { padding-top: 14px; }
  .role-grid { grid-template-columns: 1fr; }
  .role-card { min-height: auto; padding: 26px; }
  .role-card ul { grid-template-columns: 1fr; }
  .final-cta { width: min(100% - 28px,1180px); padding: 28px; display: grid; }
  .final-cta .button { width: 100%; }
  .hero-inner, .section, .access-grid, .site-footer { width: min(100% - 28px, 1180px); }
  .hero-inner { padding: 58px 0 62px; gap: 38px; }
  .hero h1 { font-size: 43px; }
  .access-grid { grid-template-columns: 1fr; }
  .site-footer { display: block; }
  .auth-page { display: block; }
  .auth-aside { min-height: auto; padding: 28px 22px 34px; }
  .auth-aside h1 { margin: 42px 0 12px; font-size: 40px; }
  .auth-facts { display: none; }
  .auth-main { padding: 34px 18px 46px; }
}

/* Pełne logo marki: bez stałej wysokości i bez kadrowania podpisu. */
.marketing-logo{width:240px;height:auto;flex:0 1 240px}.marketing-logo img{width:100%;height:auto;object-fit:contain}.marketing-nav{min-height:90px;height:auto;padding-top:8px;padding-bottom:8px}
@media(max-width:760px){.marketing-logo{width:190px;flex-basis:190px}.marketing-logo img{height:auto}.marketing-nav{gap:12px}}

.remember-session{display:flex;align-items:center;gap:12px;margin:16px 0;cursor:pointer}.remember-session input{width:22px!important;height:22px;flex:none;accent-color:#0ba4a6}.remember-session span{font-weight:700}.remember-session small{display:block;font-weight:400;color:#60757d;margin-top:4px}
.training-duration{padding:10px 12px;border-radius:12px;background:#fff3d1;color:#173641;font-size:14px;line-height:1.5}
