/* The school, after the front door.
   Same tokens as welcome.css: navy, one ink scale, gold spent sparingly. */

.shell { max-width: 1080px; margin: 0 auto; padding: 0 20px 64px; }

.top { position: sticky; top: 0; z-index: 20; background: rgba(8,17,32,.86);
  backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(255,255,255,.07); }
.top__in { max-width: 1080px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 18px; }
/* welcome.css gives .brand a 34px bottom margin and an entrance animation;
   inside a sticky header both are wrong. */
.top .brand { display: flex; align-items: center; gap: 11px; text-decoration: none;
  margin-bottom: 0; animation: none; }
.top .brand__word { color: var(--ink-2); font-size: 12.5px; letter-spacing: .15em; text-transform: uppercase; font-weight: 650; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-3); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--gold-2); }
.cta { margin-left: auto; }
@media (min-width: 820px) { .nav { display: flex; } .cta { margin-left: 0; } }

.pill { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px;
  border: 1px solid rgba(212,175,55,.34); background: rgba(212,175,55,.08); color: var(--gold-2);
  font-size: 13px; font-weight: 650; text-decoration: none; }
.pill:hover { background: rgba(212,175,55,.16); }

/* page head */
.head { padding: 40px 0 8px; }
.head h1 { margin: 0; font-size: clamp(30px, 6.4vw, 46px); line-height: 1.05; letter-spacing: -.03em; font-weight: 620; }
.head p { margin: 12px 0 0; max-width: 58ch; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.eyebrow { margin: 0 0 12px; font-size: 11px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* blocks */
.block { padding-top: 48px; }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.block__head h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; font-weight: 620; }
.block__head p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-3); max-width: 56ch; }

/* grids */
.g3 { display: grid; gap: 14px; }
@media (min-width: 700px) { .g3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .g3 { grid-template-columns: repeat(3, 1fr); } }

.tile { display: block; text-decoration: none; color: inherit; padding: 18px;
  border: 1px solid rgba(255,255,255,.07); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.022), transparent 90px), rgba(13,26,44,.55);
  transition: border-color .18s var(--ease), transform .18s var(--ease); }
.tile:hover { border-color: rgba(212,175,55,.3); transform: translateY(-1px); }
.tile__k { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tile h3 { margin: 0; font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; }
.tile__code { font-size: 9.5px; letter-spacing: .13em; color: var(--ink-3); text-transform: uppercase; }
.tile p { margin: 9px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.tile__go { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--gold-2); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { padding: 2px 7px; border-radius: 5px; background: rgba(255,255,255,.05);
  font-size: 10px; letter-spacing: .06em; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* lists */
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.07); }
.list li { display: flex; align-items: center; gap: 14px; padding: 13px 2px; border-bottom: 1px solid rgba(255,255,255,.07); }
.list__main { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.list__main b { font-size: 14px; font-weight: 600; }
.list__main span { font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; }
.list__meta { font-size: 12px; color: var(--ink-3); white-space: nowrap; }

/* money */
.money { display: grid; gap: 14px; }
@media (min-width: 760px) { .money { grid-template-columns: 1fr 1fr; } }
.mcard { padding: 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: rgba(13,26,44,.6); }
.mcard--gold { border-color: rgba(212,175,55,.28);
  background: radial-gradient(500px 200px at 90% -20%, rgba(212,175,55,.12), transparent 70%), rgba(13,26,44,.6); }
.mcard h3 { margin: 0; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.mcard .big { margin: 6px 0 12px; font-size: 34px; font-weight: 620; letter-spacing: -.035em; }
.mcard .big small { font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.mcard ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mcard li { position: relative; padding-left: 19px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.mcard li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 5px;
  border-left: 1.8px solid var(--gold); border-bottom: 1.8px solid var(--gold); transform: rotate(-45deg); }

/* practice */
.q { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.q__t { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.q__q { margin: 8px 0 14px; font-size: 15.5px; line-height: 1.55; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: 11px;
  border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.02);
  color: var(--ink-2); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.opt:hover { border-color: rgba(212,175,55,.3); }
.opt b { color: var(--ink-3); font-weight: 600; }
.opt.is-right { border-color: rgba(109,191,143,.55); background: rgba(109,191,143,.1); color: #cdeed9; }
.opt.is-wrong { border-color: rgba(226,121,106,.5); background: rgba(226,121,106,.09); color: #f3c7c1; }
.why { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-2); display: none; }
.why.is-on { display: block; }
.why b { color: var(--gold-2); }

/* score bar */
.score { position: sticky; top: 57px; z-index: 10; display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; margin: 18px 0 0; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.09); background: rgba(13,26,44,.92); backdrop-filter: blur(8px); }
.score b { font-variant-numeric: tabular-nums; }
.score span { font-size: 13px; color: var(--ink-3); }
.score button { margin-left: auto; }

/* install */
.install { display: grid; gap: 16px; padding: 22px; border-radius: 16px;
  border: 1px solid rgba(212,175,55,.22); background: rgba(212,175,55,.06); }
@media (min-width: 760px) { .install { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.install h2 { margin: 0 0 8px; font-size: 18px; font-weight: 620; }
.install p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.install__acts { display: flex; flex-wrap: wrap; gap: 10px; }

.steps { counter-reset: s; margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.steps li { position: relative; padding-left: 30px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -1px;
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(212,175,55,.4); color: var(--gold-2); font-size: 11px; font-weight: 700; }

.foot2 { margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.07);
  display: grid; gap: 20px; font-size: 12.5px; color: var(--ink-3); }
@media (min-width: 700px) { .foot2 { grid-template-columns: 1fr 1fr; } }
.foot2 a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.16); }

/* pieces the old start.css used to carry */
.open--sm { margin-top: 0; padding: 13px 24px 13px 26px; font-size: 16px; }
.quiet { background: none; border: 0; font: inherit; color: var(--ink-2); cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.16); padding: 0 0 2px; }
.quiet:hover { color: var(--gold-2); }

/* questions people ask */
.faq { display: grid; }
.faq details { border-bottom: 1px solid rgba(255,255,255,.07); }
.faq summary { padding: 14px 0; cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 600;
  display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-weight: 400; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); max-width: 64ch; }

/* filter chips that behave like buttons */
.chip--f { cursor: pointer; font: inherit; font-size: 12px; padding: 6px 11px; border-radius: 99px;
  border: 1px solid rgba(255,255,255,.1); background: transparent; color: var(--ink-2); }
.chip--f:hover { border-color: rgba(212,175,55,.3); }
.chip--f.is-on { background: rgba(212,175,55,.14); border-color: rgba(212,175,55,.4); color: var(--gold-2); }

/* library rows breathe a little more than a list */
.mat { align-items: flex-start; }
.mat .chips { margin-top: 7px; }

/* ---- phones: a second row of nav, because there is nowhere else to go ---- */
@media (max-width: 819px) {
  .top__in { flex-wrap: wrap; padding: 10px 16px 0; }
  .nav {
    display: flex; order: 3; width: 100%; margin: 8px -16px 0; padding: 0 16px 0;
    gap: 20px; overflow-x: auto; scrollbar-width: none;
    border-top: 1px solid rgba(255, 255, 255, .06); padding-top: 9px;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 13px; white-space: nowrap; padding-bottom: 8px; }
  .cta { margin-left: auto; }
  .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .head { padding-top: 30px; }
  .score { position: static; }
}

/* an anchored heading must not land under the sticky header */
[id] { scroll-margin-top: 110px; }
