:root{
  --league-blue:#062b64;
  --league-blue-2:#0b438d;
  --league-blue-3:#1a62ad;
  --league-red:#ed1c2e;
  --sky:#20a8d5;
  --white:#fff;
  --ink:#082c61;
  --muted:#66758a;
  --line:#dce6f1;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  min-width:320px;
  margin:0;
  color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--league-blue) url("/assets/background-lrnar.png") center/cover fixed no-repeat;
}
body::before{
  position:fixed;
  inset:0;
  z-index:-1;
  content:"";
  background:linear-gradient(135deg,rgba(1,18,61,.9),rgba(4,43,108,.66) 48%,rgba(9,31,82,.84));
}
a{color:inherit}
.skip-link{position:fixed;left:12px;top:12px;z-index:20;padding:10px 14px;border-radius:8px;background:#fff;color:var(--league-blue);font-weight:800;transform:translateY(-160%)}
.skip-link:focus{transform:translateY(0)}
.page-shell{width:min(1200px,calc(100% - 36px));margin:0 auto;padding:24px 0 18px}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 18px;border:1px solid rgba(255,255,255,.68);border-radius:20px;background:rgba(255,255,255,.97);box-shadow:0 18px 48px rgba(0,16,56,.2)}
.league-brand img{display:block;width:310px;max-width:56vw;height:76px;object-fit:contain;object-position:left center}
.portal-label{display:flex;align-items:center;gap:9px;color:var(--league-blue);font-size:13px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.portal-label span{width:10px;height:10px;border-radius:50%;background:var(--league-red);box-shadow:0 0 0 5px rgba(237,28,46,.1)}
.hero{max-width:890px;padding:70px 18px 56px;color:#fff}
.eyebrow,.section-kicker,.card-category{margin:0;font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.eyebrow{color:#ff5363}
.hero h1{margin:14px 0 16px;font-size:clamp(48px,7vw,82px);line-height:.98;letter-spacing:-.055em}
.hero h1 span{display:block;color:#fff}
.hero-copy{max-width:760px;margin:0;color:rgba(255,255,255,.9);font-size:clamp(18px,2vw,23px);line-height:1.5}
.autonomy-note{display:flex;align-items:flex-start;gap:13px;max-width:790px;margin-top:30px;padding:15px 17px;border:1px solid rgba(255,255,255,.26);border-radius:15px;background:rgba(0,24,78,.46);backdrop-filter:blur(8px)}
.autonomy-note svg{flex:0 0 28px;width:28px;height:28px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.autonomy-note strong,.autonomy-note span{display:block}.autonomy-note strong{margin-bottom:3px;font-size:14px}.autonomy-note span{color:rgba(255,255,255,.76);font-size:13px;line-height:1.45}
.applications{padding:34px;border-radius:28px;background:rgba(247,250,254,.98);box-shadow:0 26px 70px rgba(0,15,54,.27)}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:26px}
.section-kicker{color:var(--league-red)}
.section-heading h2{margin:7px 0 0;font-size:clamp(28px,4vw,42px);line-height:1.08;letter-spacing:-.035em}
.section-heading>p{max-width:300px;margin:0;color:var(--muted);text-align:right;font-size:14px}
.app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.app-card{--accent:var(--league-blue-3);position:relative;display:flex;min-height:310px;overflow:hidden;flex-direction:column;padding:24px 24px 0;border:1px solid var(--line);border-top:5px solid var(--accent);border-radius:22px;background:#fff;text-decoration:none;box-shadow:0 9px 25px rgba(6,43,100,.07);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.app-card::after{position:absolute;right:-50px;top:-58px;width:170px;height:170px;border:34px solid color-mix(in srgb,var(--accent) 10%,transparent);border-radius:50%;content:"";pointer-events:none}
.app-card:hover,.app-card:focus-visible{transform:translateY(-5px);border-color:color-mix(in srgb,var(--accent) 42%,white);box-shadow:0 20px 42px rgba(6,43,100,.16)}
.app-card:focus-visible{outline:4px solid rgba(32,168,213,.3);outline-offset:3px}
.workspace-card{--accent:#174e96}.players-card{--accent:#20a8d5}.jdd-card{--accent:#ed1c2e}.formation-card{--accent:#934b9c}
.card-topline{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px}
.card-number{display:grid;width:43px;height:35px;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--accent) 12%,white);color:var(--accent);font-size:13px;font-weight:950}
.card-status{display:flex;align-items:center;gap:7px;color:#758296;font-size:11px;font-weight:800}.card-status i{width:7px;height:7px;border-radius:50%;background:#20a663}
.card-main{position:relative;z-index:1;display:flex;align-items:center;gap:17px;margin-top:26px}
.card-icon{display:grid;flex:0 0 68px;width:68px;height:68px;overflow:hidden;place-items:center;border-radius:18px;background:var(--accent);box-shadow:0 10px 22px color-mix(in srgb,var(--accent) 24%,transparent)}
.card-icon svg{width:36px;height:36px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.card-icon.image-icon{padding:5px;background:#fff;border:2px solid color-mix(in srgb,var(--accent) 28%,white)}
.card-icon img{width:100%;height:100%;object-fit:contain;border-radius:12px}
.card-category{color:var(--accent);font-size:10px}
.app-card h3{margin:5px 0 0;color:var(--ink);font-size:clamp(21px,2.3vw,28px);line-height:1.1;letter-spacing:-.025em}
.card-description{position:relative;z-index:1;max-width:500px;margin:22px 0 24px;color:var(--muted);font-size:14px;line-height:1.55}
.card-footer{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:auto -24px 0;padding:17px 24px;background:color-mix(in srgb,var(--accent) 7%,white);color:var(--accent);font-size:13px;font-weight:900}
.arrow{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:var(--accent);color:#fff;font-size:20px;transition:transform .2s ease}.app-card:hover .arrow{transform:translateX(4px)}
footer{display:flex;justify-content:space-between;gap:20px;padding:25px 8px 5px;color:rgba(255,255,255,.86);font-size:11px;font-weight:800;letter-spacing:.12em}

@media(max-width:820px){
  .page-shell{width:min(100% - 24px,720px);padding-top:12px}
  .topbar{padding:10px 13px;border-radius:15px}.league-brand img{width:240px;height:64px}.portal-label{font-size:10px}
  .hero{padding:54px 8px 42px}.applications{padding:22px;border-radius:22px}.app-grid{grid-template-columns:1fr}.app-card{min-height:290px}
}
@media(max-width:520px){
  body{background-attachment:scroll;background-position:center top}
  .topbar{align-items:flex-start;flex-direction:column;gap:7px}.league-brand img{width:min(100%,310px);max-width:100%;height:62px}.portal-label{padding-left:4px}
  .hero{padding:46px 5px 34px}.hero h1{font-size:48px}.hero-copy{font-size:17px}.autonomy-note{padding:13px}
  .applications{margin:0 -2px;padding:18px 12px}.section-heading{align-items:flex-start;flex-direction:column;gap:8px}.section-heading>p{text-align:left}
  .app-grid{gap:14px}.app-card{min-height:0;padding:19px 17px 0;border-radius:18px}.card-topline{align-items:flex-start}.card-status{max-width:130px;text-align:right}
  .card-main{gap:13px;margin-top:21px}.card-icon{flex-basis:57px;width:57px;height:57px;border-radius:15px}.card-icon svg{width:31px;height:31px}.app-card h3{font-size:22px}.card-description{margin:18px 0 22px}
  .card-footer{margin:auto -17px 0;padding:15px 17px}footer{align-items:flex-start;flex-direction:column;gap:7px;padding-left:4px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
