/* PracticeXP marketing site. Deliberately dependency-free: no CDN, no build
   step, no framework. It has to stay reachable and renderable for Stripe's
   verification review and for a district IT reviewer on a locked-down
   network, which is not the place for a JS bundle. */
:root {
  --maroon-darkest: #3C1618;
  --maroon-dark: #501D20;
  --maroon: #6D282B;
  --maroon-light: #8A4F4F;
  --gold: #FFC72C;
  --gold-light: #FFD700;
  --ink: #F3E6DA;
  --muted: #C6AFA6;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--maroon-darkest);
  color: var(--ink);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
header.site { padding: 28px 0; }
/* Brand left, sign-in right. Wraps to two rows on a narrow phone rather than
   letting the sign-in link crowd the logo. */
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.signin {
  text-decoration: none; font-weight: 700; font-size: 15px;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 8px;
  padding: 9px 18px; white-space: nowrap;
}
.signin:hover { background: var(--gold); color: #2b0f10; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand img { width: 52px; height: 52px; }
.brand .name { font-size: 27px; font-weight: 800; letter-spacing: -.5px; line-height: 1.1; }
.brand .tag { font-size: 13px; color: var(--gold); opacity: .9; }
.hero { padding: 46px 0 56px; border-bottom: 1px solid var(--maroon); }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 18px; letter-spacing: -.8px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 0 0 26px; }
.cta { display: inline-block; background: var(--gold); color: var(--maroon-darkest);
       font-weight: 700; padding: 13px 26px; border-radius: 8px; text-decoration: none; }
.cta:hover { background: var(--gold-light); }
.cta.secondary { background: transparent; color: var(--gold); border: 2px solid var(--gold); margin-left: 10px; }
section { padding: 46px 0; border-bottom: 1px solid var(--maroon); }
h2 { font-size: 26px; margin: 0 0 8px; letter-spacing: -.4px; }
h2 + p.sub { color: var(--muted); margin: 0 0 26px; }
h3 { font-size: 17px; margin: 0 0 6px; color: var(--gold-light); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--maroon-dark); border: 1px solid var(--maroon); border-radius: 12px; padding: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
/* A card with a follow-up line — the "try it" link — needs the gap that
   margin:0 above deliberately removes from single-paragraph cards. */
.card p + p { margin-top: 12px; }
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 640px; }
.plan { background: var(--maroon-dark); border: 1px solid var(--maroon); border-radius: 12px; padding: 24px; }
.plan .price { font-size: 40px; font-weight: 800; color: var(--gold); line-height: 1; }
.plan .per { font-size: 14px; color: var(--muted); }
.plan .who { margin-top: 10px; font-weight: 600; }
.note { background: var(--maroon-dark); border-left: 3px solid var(--gold); padding: 14px 18px;
        border-radius: 0 8px 8px 0; color: var(--muted); font-size: 15px; margin-top: 22px; }
ul.check { list-style: none; padding: 0; margin: 0; }
ul.check li { padding-left: 26px; position: relative; margin-bottom: 9px; color: var(--muted); }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
/* The founder block under the hero. Two columns once there is a photo, one
   until then — so the page reads as finished today rather than shipping with an
   empty grey square where a face is meant to go. Adding the photo is a class
   and an uncommented <img>, nothing here has to change. */
.founder { background: var(--maroon-dark); border: 1px solid var(--maroon);
           border-radius: 12px; padding: 26px 28px; display: grid; gap: 26px; align-items: start; }
.founder.has-photo { grid-template-columns: 220px 1fr; }
.founder img { width: 100%; height: auto; border-radius: 10px; display: block; }
.founder h2 { color: var(--gold); }
.founder p { color: var(--muted); margin: 0 0 12px; }
.founder p.sig { color: var(--ink); font-weight: 600; margin-bottom: 0; }
/* A 220px portrait next to text on a phone leaves neither enough room. */
@media (max-width: 620px) { .founder.has-photo { grid-template-columns: 1fr; }
                            .founder { padding: 22px 20px; } }

dl.faq dt { font-weight: 700; margin-top: 20px; }
dl.faq dd { margin: 6px 0 0; color: var(--muted); }
footer.site { padding: 34px 0 60px; color: var(--muted); font-size: 14px; }
footer.site a { margin-right: 18px; }
.legal { max-width: 760px; }
.legal h2 { margin-top: 34px; }
.legal p, .legal li { color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--maroon); }
th { color: var(--gold-light); }
td { color: var(--muted); }

@media (max-width: 560px) {
  /* Buttons stack on narrow screens — the side margin would misalign the
     second one under the first. */
  .cta { display: block; text-align: center; }
  .cta.secondary { margin-left: 0; margin-top: 10px; }
  .brand .name { font-size: 23px; }
}

/* Product screenshots.
   Captured from the demo (app.practicexp.com/demo), so every name in them is
   fictional — no school's real students appear on a public marketing page.
   Regenerate them from the demo rather than from a live school, always. */
.shots { display: grid; gap: 26px; grid-template-columns: 1fr; max-width: 760px; }
@media (min-width: 820px) { .shots.two { grid-template-columns: 1fr 1fr; } }
.shot {
  background: var(--maroon-dark);
  border: 1px solid var(--maroon);
  border-radius: 12px;
  overflow: hidden;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  /* Matches the captures, so nothing is cropped and nothing below shifts when
     the image loads. Re-measure if they are ever retaken at another shape. */
  aspect-ratio: 1400 / 795;
  object-fit: cover;
  object-position: top center;
  background: var(--maroon-darkest);
}
.shot figcaption {
  padding: 12px 16px 14px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--maroon);
  margin: 0;
}
.shot figcaption strong { color: var(--fg); font-weight: 600; }

/* The live demo, embedded.
   Loaded only when someone asks for it. The app is a full React bundle plus a
   Firebase connection, and this page is deliberately fast for a district IT
   reviewer on a slow, locked-down network — so it costs nothing until clicked,
   and the screenshot stands in until then. */
.tryit { margin-top: 26px; }
.tryit .frame {
  position: relative;
  border: 1px solid var(--maroon);
  border-radius: 12px;
  overflow: hidden;
  background: var(--maroon-dark);
  aspect-ratio: 16 / 10;
  min-height: 420px;
}
.tryit iframe { display: block; width: 100%; height: 100%; border: 0; }
.tryit .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 24px;
  background-image: url('shot-director.png');
  background-size: cover; background-position: top center;
}
/* Dim the screenshot behind the button so the label stays legible. */
.tryit .placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(43, 15, 16, .82);
}
.tryit .placeholder > * { position: relative; }
.tryit .placeholder p { margin: 0; color: var(--muted); font-size: 15px; max-width: 42ch; }
.tryit .note { margin-top: 10px; font-size: 14px; color: var(--muted); }
