:root {
  --ink: #172235;
  --muted: #516176;
  --navy: #12253d;
  --line: #dce4ed;
  --accent: #f3d451;
  --white: #fff;
  --bg: #f5f7fa;
  --blue: #123f70;
  --radius: 26px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
p {
  line-height: 1.58;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 1.04;
}
h2 {
  font-size: clamp(2.15rem, 4vw, 3.65rem);
}
h3 {
  font-size: 1.52rem;
}
section {
  scroll-margin-top: 88px;
}
.wrap {
  width: min(1180px, calc(100% - 72px));
  margin-inline: auto;
}
.section {
  padding-block: 85px;
}
.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: white;
  padding: 12px;
  transform: translateY(-150%);
}
.skip:focus {
  transform: translateY(0);
}
:focus-visible {
  outline: 3px solid #2469ab;
  outline-offset: 4px;
}
.masthead {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #ffff;
  border-bottom: 1px solid #e6ebf1;
}
.nav {
  min-height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.nav nav {
  display: flex;
  gap: clamp(12px, 3vw, 34px);
}
.nav nav a {
  text-decoration: none;
  color: #43536a;
  font-weight: 650;
  font-size: 0.93rem;
  white-space: nowrap;
}
.nav nav a:hover,
.text-link:hover {
  text-decoration: underline;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.26rem;
  font-weight: 770;
  white-space: nowrap;
  letter-spacing: -0.035em;
  line-height: 1.03;
}
.logo {
  width: 39px;
  height: 39px;
  background: var(--navy);
  color: white;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.4rem;
  font-weight: 750;
  box-shadow: inset 0 -3px 0 0 var(--accent);
}
.brand-sub {
  display: block;
  font-size: 0.71rem;
  font-weight: 650;
  color: #56667c;
  letter-spacing: 0.005em;
  margin-top: 4px;
}
.hero {
  min-height: 565px;
  padding-block: 67px 76px;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #365675;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.81rem;
  margin-bottom: 16px;
}
.kicker span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid #ae8e26;
}
.hero h1 {
  font-size: clamp(4rem, 7.8vw, 7rem);
  letter-spacing: -0.067em;
  word-spacing: 0.055em;
  line-height: 0.93;
  font-weight: 760;
}
.hero h1 span {
  color: #ac7900;
}
.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  color: var(--muted);
  max-width: 30rem;
  margin-top: 25px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 24px;
}
.btn {
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 17px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  background: white;
  color: var(--ink);
  white-space: nowrap;
}
.btn:hover {
  border-color: #889eb7;
  background: #f1f5f9;
}
.btn-dark {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.btn-dark:hover {
  background: #244668;
  border-color: #244668;
}
.btn-small {
  min-height: 38px;
  padding: 6px 13px;
  font-size: 0.88rem;
}
.btn[aria-pressed="true"] {
  background: #eef3fb;
  border-color: #a9bbd2;
}
.text-link {
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 720;
  text-decoration: none;
}
.featured {
  padding: 17px;
  border: 1px solid #243b56;
  border-radius: 34px;
  background: #11243b;
  color: white;
  box-shadow: 0 28px 54px -36px #162b52aa;
  min-width: 0;
}
.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #dfebf8;
  font-size: 0.73rem;
  font-weight: 770;
  letter-spacing: 0.105em;
  padding: 1px 5px 13px;
  gap: 8px;
}
.feature-top i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
}
.topic-pill {
  padding: 5px 9px;
  border-radius: 20px;
  background: #ffffff14;
  letter-spacing: 0;
  font-size: 0.77rem;
}
.featured canvas,
.player canvas {
  display: block;
  width: 100%;
  height: auto;
  background: #fffdf4;
  border-radius: 17px;
}
.feature-bottom {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  padding: 12px 5px 0;
}
.feature-bottom:hover strong {
  text-decoration: underline;
}
.play-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--navy);
  font-size: 0.85rem;
}
.feature-bottom strong,
.feature-bottom small {
  display: block;
}
.feature-bottom small {
  color: #b9cde1;
  margin-top: 4px;
  font-size: 0.82rem;
}
.band {
  background: var(--bg);
  border-block: 1px solid #e9eef4;
}
.band > .wrap:not(.section) {
  padding-block: 60px 67px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.section-head > p {
  color: var(--muted);
  max-width: 330px;
}
.path-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.path {
  position: relative;
  text-decoration: none;
  padding: 22px;
  border-radius: var(--radius);
  min-height: 218px;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.path:hover {
  transform: translateY(-3px);
  border-color: #8098b3;
}
.path-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e3ecf9;
  color: #204673;
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 750;
}
.path:nth-child(2) .path-icon {
  background: #def0ea;
  color: #244f43;
}
.path:nth-child(3) .path-icon {
  background: #faf0cb;
  color: #785508;
}
.path-meta {
  position: absolute;
  top: 26px;
  right: 22px;
  color: #596a7c;
  font-size: 0.75rem;
  font-weight: 770;
  letter-spacing: 0.08em;
}
.path p,
.resource p {
  color: var(--muted);
  margin: 9px 0 17px;
}
.path-link {
  color: var(--blue);
  font-weight: 720;
  margin-top: auto;
}
.class-grid {
  display: grid;
  grid-template-columns: minmax(190px, 265px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.sidebar,
.lesson-panel,
.resource,
.lab {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  padding: 22px;
  min-width: 0;
}
.sidebar {
  background: #f6f8fb;
  position: sticky;
  top: 97px;
}
.field-label,
.seek-label {
  display: block;
  font-weight: 750;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.sidebar select {
  width: 100%;
  min-height: 43px;
  background: #fff;
  border: 1px solid #bfccda;
  border-radius: 11px;
  padding-inline: 9px;
  color: var(--ink);
}
.lesson-menu {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}
.lesson-menu button {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  padding: 10px;
  border-radius: 11px;
  color: var(--ink);
  display: flex;
  gap: 8px;
  align-items: start;
}
.lesson-menu button[aria-current="true"] {
  background: #e7effa;
  border-color: #c6d6ea;
  font-weight: 730;
}
.lesson-menu button:hover {
  background: #e7effa;
}
.lesson-menu button span:first-child {
  min-width: 20px;
  font-weight: 750;
  color: #3a5779;
}
.course-progress {
  margin-top: 17px;
  color: var(--muted);
  font-size: 0.9rem;
}
.course-progress progress {
  width: 100%;
  height: 10px;
  accent-color: var(--blue);
}
.lesson-panel > p {
  color: var(--muted);
  margin: 9px 0 18px;
}
.player {
  background: #edf2f7;
  border: 1px solid #dce5ee;
  border-radius: 20px;
  padding: 12px;
  margin: 0 0 14px;
}
.player-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 2px 3px 11px;
  font-size: 0.88rem;
  font-weight: 750;
  color: #425a76;
}
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}
.controls .btn {
  min-height: 38px;
}
.seek-label {
  display: flex;
  justify-content: space-between;
  margin: 10px 0 2px;
  color: #445b72;
}
.player input[type="range"] {
  width: 100%;
  margin: 0;
}
.caption {
  margin-top: 9px;
  color: #30465c;
  font-size: 0.95rem;
}
.status {
  color: #1d4b56;
  font-weight: 650;
  font-size: 0.95rem;
}
.status:empty {
  display: none;
}
details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  background: #fbfcfd;
}
summary {
  cursor: pointer;
  font-weight: 750;
}
details[open] summary {
  margin-bottom: 11px;
}
details p {
  margin: 8px 0;
}
details li {
  line-height: 1.5;
  margin-top: 4px;
}
details a {
  color: var(--blue);
}
#quiz {
  margin-top: 22px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  font-weight: 790;
  font-size: 1.1rem;
  margin-bottom: 7px;
}
#answers {
  display: grid;
  gap: 6px;
  margin-top: 9px;
}
#answers label {
  display: flex;
  gap: 7px;
  align-items: start;
  line-height: 1.4;
  padding: 8px 10px;
  background: #f5f7fa;
  border-radius: 8px;
}
#answers input {
  margin-top: 4px;
  accent-color: var(--blue);
}
#quiz .actions {
  margin-top: 12px;
}
.action-note {
  border-radius: 13px;
  border-left: 4px solid var(--accent);
  padding: 12px 14px;
  background: #fff9df;
  margin-top: 17px;
}
.action-note > p {
  margin-top: 3px;
}
.practice {
  background: var(--navy);
  color: white;
}
.practice .kicker,
.practice .section-head > p {
  color: #c6d9ef;
}
.lab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.lab {
  color: var(--ink);
}
.lab > p {
  color: var(--muted);
  margin: 8px 0 17px;
}
.lab label {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  font-weight: 710;
  font-size: 0.93rem;
  margin-top: 10px;
}
.lab label output {
  font-weight: 780;
  color: var(--blue);
}
input[type="range"] {
  width: 100%;
  accent-color: #254e79;
  cursor: pointer;
  min-height: 22px;
}
.lab .lab-answer {
  display: block;
  line-height: 1.44;
  font-weight: 740;
  background: #eef3f9;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
}
.lab .lab-fine {
  font-size: 0.83rem;
  margin: 10px 0 0;
}
.founder {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  background: #fff8da;
  border: 1px solid #ecdfab;
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 55px);
}
.founder h2 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
}
.founder p:first-child {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}
.founder span {
  display: block;
  color: #5c5339;
  font-size: 0.91rem;
  margin-top: 8px;
}
.founder .founder-copy {
  margin: 15px 0 12px;
  color: #403d31;
}
.resource {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.resource .tag {
  margin-bottom: 12px;
  font-size: 0.76rem;
  color: #395a79;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.resource .text-link {
  display: inline-block;
  margin: 3px 0;
}
.resource ul {
  padding-left: 20px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.48;
}
.resource li {
  margin-bottom: 5px;
}
.resource .resource-links {
  margin-top: auto;
}
.creator-section {
  padding-block: 36px;
}
footer {
  background: #f6f8fa;
  border-top: 1px solid #e0e8f0;
}
.footer-inner {
  padding-block: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-inner > p {
  color: var(--muted);
  max-width: 490px;
  font-size: 0.88rem;
}
@media (max-width: 960px) {
  .wrap {
    width: calc(100% - 44px);
  }
  .hero {
    min-height: 0;
    gap: 26px;
    padding-block: 52px 63px;
  }
  .hero h1 {
    font-size: clamp(3.5rem, 8.6vw, 6rem);
  }
  .section {
    padding-block: 62px;
  }
  .nav-cta {
    display: none;
  }
}
@media (max-width: 685px) {
  .wrap {
    width: calc(100% - 30px);
  }
  .nav {
    min-height: 0;
    align-items: start;
    gap: 12px;
    flex-direction: column;
    padding-block: 12px;
  }
  .nav nav {
    justify-content: space-between;
    width: 100%;
    gap: 6px;
  }
  .nav nav a {
    font-size: 0.84rem;
  }
  .hero,
  .class-grid,
  .lab-grid,
  .founder {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-block: 36px 47px;
    gap: 26px;
  }
  .hero h1 {
    font-size: clamp(3.2rem, 13vw, 5.2rem);
  }
  .featured {
    padding: 12px;
    border-radius: 23px;
  }
  .section,
  .band > .wrap:not(.section) {
    padding-block: 47px;
  }
  .section-head {
    display: block;
    margin-bottom: 23px;
  }
  .section-head > p {
    margin-top: 10px;
  }
  .path-grid,
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .path {
    min-height: 0;
  }
  .sidebar {
    position: static;
  }
  .lesson-panel {
    padding: 12px;
  }
  .footer-inner {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  section {
    scroll-margin-top: 112px;
  }
  .founder {
    gap: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
[hidden] {
  display: none !important;
}
.library-books {
  margin-top: 17px;
}
.brokerage-resource {
  margin-top: 1.25rem;
  scroll-margin-top: 6rem;
}
.brokerage-resource .internet-links {
  margin-top: 1rem;
}
.internet-resource {
  margin-top: 17px;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}
.internet-resource p:last-child {
  margin-bottom: 0;
}
.internet-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.website-tiers .service-price {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 750;
  margin-bottom: 0;
}
.website-tiers .service-installments {
  margin-top: 4px;
  font-weight: 650;
}
.service-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
}
.service-actions p {
  color: var(--muted);
  font-size: 0.9rem;
}
.service-heading {
  margin-top: 46px;
}
.service-rates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 28px;
  margin-top: 16px;
}
.service-rates dl {
  padding: 10px 16px;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.service-rates dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}
.service-rates dl div + div {
  border-top: 1px solid var(--line);
}
.service-rates dd {
  flex: none;
  font-weight: 700;
  margin: 0;
}
@media (max-width: 680px) {
  .service-rates {
    grid-template-columns: 1fr;
  }
}
.archive-wrap {
  padding-bottom: 68px;
}
.archive-lesson {
  scroll-margin-top: 105px;
}
.archive-lesson video {
  width: min(100%, 820px);
  display: block;
  background: var(--navy);
  border-radius: 12px;
  margin: 13px 0;
}
.btn:disabled {
  cursor: default;
  opacity: 0.48;
}
.creator-section input[type="file"] {
  display: block;
  max-width: 100%;
  margin: 9px 0;
}
.creator-section .text-link {
  display: block;
  margin-top: 10px;
}
.merch-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.merch-links a {
  padding: 16px;
  border: 1px solid #51697f;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 730;
  color: #f3f7ff;
}
.merch-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
@media (max-width: 730px) {
  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    padding-block: 10px;
  }
  .nav nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 7px 13px;
  }
  .nav nav a {
    font-size: 0.86rem;
  }
  section {
    scroll-margin-top: 135px;
  }
  .merch-links {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
