@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/storefront-assets/fraunces-latin-57f703d57364.woff2) format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/storefront-assets/nunito-sans-latin-c9746ad68c8a.woff2) format("woff2");
}

:root {
  --deep: #0c1e4a;
  --mid: #35629a;
  --muted: #415676;
  --line: #d7e1ee;
  --ice: #ecf4fd;
  --paper: #fffcf6;
  --gold: #ffd05a;
  --sans: "Nunito Sans", system-ui, sans-serif;
  --serif: Fraunces, Georgia, serif;
  color: var(--deep);
  background: #f1f6fc;
  font: 16px/1.5 var(--sans);
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(ellipse at 99% 0%, #faf0d6, transparent 42rem),
    linear-gradient(145deg,#e0ebf8,#f6f9fd 58%,#eaf2fb);
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); line-height: 1.12; font-weight: 570; }
svg { display: block; flex: none; }
a:focus-visible { outline: 3px solid var(--mid); outline-offset: 3px; }
.wrap { width: min(100% - clamp(32px,7vw,88px), 1120px); margin-inline: auto; }

.skip {
  position: fixed;
  inset: 8px auto auto 8px;
  z-index: 2;
  transform: translateY(-180%);
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--paper);
}
.skip:focus { transform: none; }
.top-inner { display: flex; justify-content: space-between; align-items: center; min-height: 82px; gap: 12px; }
.brand { display: inline-grid; place-items: center; min-height: 48px; border-radius: 8px; }
.brand img { display: block; width: auto; height: clamp(46px,7vw,60px); }
.top-links { display: flex; align-items: center; gap: 4px; }
.top-links a, .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 15px;
  border-radius: 999px;
  font-weight: 780;
  text-align: center;
}
.top-links a:hover, .button:hover { background: var(--ice); }
.button { border: 1px solid var(--line); background: #fff; }
.button.primary { border-color: transparent; background: var(--gold); }
.button.primary:hover { background: #ffc23c; }

main { padding-block: clamp(6px,2vw,28px) clamp(56px,9vw,112px); }
.vip-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 14px;
  min-height: clamp(230px,32vw,300px);
  padding: clamp(22px,6vw,68px);
  border-radius: clamp(20px,3.6vw,38px);
  color: #fff;
  background: radial-gradient(ellipse at 97% 18%,#3b649c,transparent 72%), linear-gradient(138deg,#0c1e4a,#18346a);
}
.vip-hero::before, .vip-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto max(-180px,-16%) -42% auto;
  width: min(64%,640px);
  height: 130%;
  border: 1px solid #eac6765c;
  border-radius: 52% 46%;
  transform: rotate(-27deg);
}
.vip-hero::after { inset-inline-end: max(-130px,-11%); inset-block-end: -50%; }
.hero-icon, .section-icon {
  display: grid;
  place-items: center;
  width: 47px;
  aspect-ratio: 1;
  border-radius: 15px;
}
.hero-icon { background: #ffe6a6; color: #493007; }
.vip-hero h1 { font-size: clamp(37px,6vw,66px); letter-spacing: -.035em; }
.vip-hero p { max-width: 38ch; color: #edf4ff; font-size: clamp(16px,2vw,19px); }

.vip-library { display: grid; grid-template-columns: minmax(180px,240px) minmax(0,1fr); gap: clamp(14px,3vw,32px); margin-top: clamp(22px,4vw,44px); }
.library-nav { display: grid; gap: 5px; }
.library-nav a, .outline a { display: flex; gap: 10px; align-items: center; min-height: 46px; padding: 8px 12px; border-radius: 12px; font-weight: 700; }
.library-nav a:hover, .outline a:hover { background: #e4edf8; }
.library-nav a[aria-current="page"] { background: #fff0c6; color: var(--deep); }
.outline { margin-top: 21px; }
.outline section + section { margin-top: 18px; }
.outline h2 { padding: 0 12px; font: 800 14px/1.4 var(--sans); }
.outline ol { margin: 6px 0 0; padding-left: 30px; }
.outline a { color: var(--muted); overflow-wrap: anywhere; }
.outline a[aria-current="page"] { background: var(--ice); color: var(--deep); box-shadow: inset 3px 0 var(--mid); }

.vip-card {
  min-width: 0;
  align-self: start;
  padding: clamp(19px,4vw,36px);
  border: 1px solid var(--line);
  border-radius: clamp(16px,3vw,27px);
  background: #fff;
  box-shadow: 0 14px 40px -32px #19376b70;
}
.vip-card h2 { font-size: clamp(25px,3.1vw,37px); overflow-wrap: anywhere; }
.empty { display: grid; justify-items: start; gap: 13px; min-height: 200px; align-content: center; }
main > .empty { max-width: 690px; margin-top: clamp(22px,4vw,44px); }
.empty p, .description, .files p { color: var(--muted); overflow-wrap: anywhere; }
.section-icon { background: var(--ice); color: var(--mid); }
.lesson { display: grid; gap: 13px; }
.section-name { color: var(--mid); font-size: 14px; font-weight: 790; overflow-wrap: anywhere; }
.lesson video { width: 100%; aspect-ratio: 16/9; border-radius: 14px; background: var(--deep); }
.lesson-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
.files { list-style: none; margin: 16px 0 0; padding: 0; }
.files li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 0; }
.files li + li { border-top: 1px solid var(--line); }
.files h3 { font-size: 17px; overflow-wrap: anywhere; }
.files p { margin-top: 3px; }

@media (max-width: 620px) {
  .top-inner { min-height: 67px; }
  .top-links a { padding-inline: 9px; font-size: 14px; }
  .vip-library { grid-template-columns: minmax(0,1fr); }
  .library-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .library-nav a { justify-content: center; }
  .vip-hero::before, .vip-hero::after { opacity: .6; }
}
