:root{
  --bg1:#eef3ff;
  --bg2:#f6f7fb;

  --card:#ffffff;
  --text:#0e1525;
  --muted:#5b6476;
  --line:rgba(10,15,25,.08);

  --blue1:#1d4ed8;
  --blue2:#0ea5e9;

  --shadow:0 18px 60px rgba(15,22,40,.08);
  --shadow2:0 14px 38px rgba(15,22,40,.12);

  --r:18px;
  --r2:22px;
  --max:1900px;

  --ease:cubic-bezier(.2,.8,.2,1);
}

*{box-sizing:border-box}
html,body{height:100%}

/* Modern font stack, calmer weights */
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable", "Segoe UI",
    Inter, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 450;
  color:var(--text);

  /* Base background that never snaps */
  background: linear-gradient(
    180deg,
    var(--bg1) 0%,
    var(--bg2) 40%,
    var(--bg2) 100%
  );
  background-attachment: fixed;
}

/* Atmosphere layer that stays smooth on long pages */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(1100px 700px at 15% 10%, rgba(14,165,233,.20), transparent 60%),
    radial-gradient(900px 650px at 85% 12%, rgba(29,78,216,.16), transparent 60%);
}

a{color:inherit}
.page{max-width:var(--max); margin:0 auto; padding:22px 18px 60px}

/* Nav */
.nav{
  position:sticky; top:0; z-index:20;
  background:rgba(246,247,251,.72);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}

.nav-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:12px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.brand-mark{
  width:34px; height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:linear-gradient(135deg, var(--blue1), var(--blue2));
  color:white;
  font-weight:800;
  letter-spacing:.5px;
  font-size:12px;
  box-shadow:0 10px 20px rgba(29,78,216,.18);
}

.brand-text{display:flex; flex-direction:column; line-height:1.05}
.brand-name{
  font-weight:700;
  font-size:14px;
  letter-spacing:-.01em;
}
.brand-sub{font-size:12px; color:var(--muted)}

.nav-links{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:13px;
  color:var(--muted);
}

.nav-links a{text-decoration:none}

.nav-pill{
  padding:7px 10px;
  border-radius:999px;
  background:rgba(10,15,25,.04);
  border:1px solid var(--line);
  color:var(--text);
  font-weight:650;
}

.nav-menu{
  display:none;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.6);
  cursor:pointer;
}

.nav-drawer{
  display:none;
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px 14px;
  gap:10px;
  flex-wrap:wrap;
}
.nav-drawer a{
  text-decoration:none;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.55);
  font-size:13px;
  color:var(--muted);
}
.nav-drawer.open{display:flex}

/* Headings */
.kicker{
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(29,78,216,.85);
  font-weight:800;
}

h1{
  margin:0;
  font-size:46px;
  line-height:1.06;
  letter-spacing:-.03em;
  font-weight:800; /* keep hero strong */
}

.grad{
  background:linear-gradient(135deg, var(--blue1), var(--blue2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.lead{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  font-weight: 450;
}

/* Generic rows */
.card-row{display:flex; flex-wrap:wrap; gap:10px}
.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.55);
  color:var(--muted);
  text-decoration:none;
  font-size:12px;
  font-weight: 550;
}

/* Sections */
.hero{padding:28px 0 0}
.hero-copy{
  background:rgba(255,255,255,.72);
  border:1px solid var(--line);
  border-radius:var(--r2);
  box-shadow:var(--shadow);
}

/* Value strip */
.meta-row{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
}

.meta{
  background:rgba(255,255,255,.82);
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 12px;
}

.meta-top{
  font-weight:750;
  font-size:14px; /* bigger so bold reads clearer */
  letter-spacing:-.01em;
}
.meta-sub{
  color:var(--muted);
  font-size:12.5px;
  margin-top:2px;
  font-weight: 450;
}
.meta-more{color:var(--muted); font-size:12.5px; line-height:1.5; font-weight:450}

/* Quick tiles */
.quick-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
}

.quick{
  text-decoration:none;
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:14px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.7);
  border:1px solid var(--line);
  min-height:86px;
}

.quick-title{
  font-weight:700; /* less shouty */
  font-size:13.5px; /* slightly bigger for readability */
  line-height:1.2;
  letter-spacing:-.01em;
}
.quick-sub{
  color:var(--muted);
  font-size:12.5px;
  line-height:1.4;
  font-weight:450;
}

/* Main content sections */
.section{
  margin-top:22px;
  background:rgba(255,255,255,.72);
  border:1px solid var(--line);
  border-radius:var(--r2);
  box-shadow:var(--shadow);
  padding:22px;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
}

.section h2{
  margin:10px 0 0;
  font-size:24px; /* clearer */
  letter-spacing:-.02em;
  font-weight:800;
}

.sub{
  margin:8px 0 0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.6;
  font-weight:450;
}

/* Buttons */
.hero-actions{display:flex; gap:16px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  border:1px solid var(--line);
  padding:12px 14px;
  background:rgba(255,255,255,.6);
  text-decoration:none;
  font-weight:650;
  font-size:13px;
  cursor:pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), filter 220ms var(--ease);
}
.btn.primary{
  border:none;
  color:white;
  background:linear-gradient(135deg, var(--blue1), var(--blue2));
  box-shadow:0 16px 32px rgba(29,78,216,.18);
}
.btn.ghost{background:rgba(255,255,255,.55)}
.btn.small{padding:9px 12px; font-size:12px}
.btn:hover{
  transform: translateY(-2px);
  box-shadow:0 18px 40px rgba(15,22,40,.12);
}

/* Hero cards */
.hero-grid{
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap:14px;
}

.hero-card{
  border-radius:var(--r2);
  border:1px solid var(--line);
  background:rgba(255,255,255,.68);
  box-shadow:var(--shadow);
  padding:16px;
}

.card-top{display:flex; gap:8px; justify-content:space-between; align-items:center}
.badge{
  display:inline-flex;
  align-items:center;
  padding:6px 9px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.62);
  font-size:11px;
  font-weight:750;
  color:rgba(29,78,216,.9);
}
.badge.soft{color:var(--muted); font-weight:650}

.route-preview{margin-top:12px; display:flex; flex-direction:column; gap:10px}
.rp-step{
  display:flex; gap:10px; align-items:flex-start;
  padding:10px 10px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.6);
}
.rp-dot{
  width:10px; height:10px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--blue1), var(--blue2));
  margin-top:4px;
}
.rp-title{font-weight:750; font-size:13.5px; letter-spacing:-.01em}
.rp-sub{color:var(--muted); font-size:12.5px; margin-top:2px; font-weight:450}

.card-actions{margin-top:12px; display:flex; gap:10px; flex-wrap:wrap}
.card-foot{margin-top:10px; color:var(--muted); font-size:12.5px; line-height:1.55; font-weight:450}

/* Generic cards */
.cards{display:grid; gap:12px}
.cards-2{grid-template-columns: repeat(2, minmax(0, 1fr))}
.cards-3{grid-template-columns: repeat(3, minmax(0, 1fr))}

.card{
  border-radius:var(--r2);
  border:1px solid var(--line);
  background:rgba(255,255,255,.72);
  padding:16px;
  box-shadow:var(--shadow);
}

.card-kicker{
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(29,78,216,.85);
  font-weight:800;
}

.card h3{
  margin:10px 0 0;
  font-size:17px; /* bigger */
  letter-spacing:-.02em;
  font-weight:800; /* keep bold but limited to headings */
}

.card p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:13.5px; /* clearer */
  line-height:1.6;
  font-weight:450;
}

.list{
  margin:12px 0 0;
  padding-left:18px;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.65;
  font-weight:450;
}
.list li{margin:6px 0}

/* Pricing */
.pricing-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
  margin-top:14px;
}

.price-card{
  border-radius:var(--r2);
  border:1px solid var(--line);
  background:rgba(255,255,255,.74);
  padding:16px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height: 320px;
}

.price-card.featured{
  border-color: rgba(29,78,216,.35);
  box-shadow:0 20px 70px rgba(29,78,216,.14);
}

.price-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.price{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin-top:2px;
}

.price-num{
  font-size:28px;
  font-weight:900;
  letter-spacing:-.02em;
}
.price-sub{font-size:12px; color:var(--muted); font-weight:450}
.price-desc{color:var(--muted); font-size:13.5px; line-height:1.6; font-weight:450}

.callout{
  margin-top:14px;
  padding:14px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.62);
  color:var(--muted);
  font-size:13.5px;
  line-height:1.6;
  font-weight:450;
}

/* Footer */
.footer{margin-top:26px}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:16px 0;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
}
.footer-right{display:flex; gap:14px; flex-wrap:wrap}
.footer-right a{text-decoration:none}
.foot-note{margin-top:8px; color:var(--muted); font-size:12.5px; font-weight:450}

/* Toast */
.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  background:rgba(10,15,25,.88);
  color:white;
  padding:10px 12px;
  border-radius:999px;
  font-size:12px;
  display:none;
  z-index:999;
}

/* Page leave transition */
body.is-leaving{opacity:.85; transition: opacity 160ms ease}

/* Breadcrumbs */
.crumbs{
  display:flex;
  gap:10px;
  align-items:center;
  color:var(--muted);
  font-size:13px;
  padding:6px 0 16px;
}
.crumbs a{text-decoration:none}
.crumb-sep{opacity:.6}

/* Extra meta for schools */
.school-meta{
  margin-top:12px;
  display:grid;
  gap:10px;
}
.school-meta > div{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 10px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.62);
}
.school-meta strong{font-size:12.5px; font-weight:750}
.school-meta span{color:var(--muted); font-size:12.5px; text-align:right; font-weight:450}

/* Helper links inside output text */
.link{
  color: rgba(14,165,233,.95);
  font-weight:750;
  text-decoration:none;
}

/* Responsive */
@media (max-width: 980px){
  h1{font-size:40px}
  .quick-grid{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .pricing-grid{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .hero-grid{grid-template-columns:1fr}
}

@media (max-width: 640px){
  .nav-links{display:none}
  .nav-menu{display:inline-flex}
  .meta-row{grid-template-columns:1fr}
  .cards-2{grid-template-columns:1fr}
  .cards-3{grid-template-columns:1fr}
  .pricing-grid{grid-template-columns:1fr}
  h1{font-size:34px}
}

/* Expandable meta boxes (ONLY the value strip) */
.hero-copy .meta-row.meta-strip > .meta.meta-expand{
  position: relative;
  overflow: hidden;
}
.hero-copy .meta-row.meta-strip > .meta.meta-expand .meta-more{
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transform: translateY(6px);
  transition: max-height 260ms var(--ease), opacity 220ms var(--ease),
    transform 260ms var(--ease), margin-top 220ms var(--ease);
}
.hero-copy .meta-row.meta-strip > .meta.meta-expand:hover .meta-more,
.hero-copy .meta-row.meta-strip > .meta.meta-expand:focus-within .meta-more{
  max-height: 90px;
  opacity: .92;
  margin-top: 10px;
  transform: translateY(0);
}

/* Universal box expand on hover (applies to all box types) */
.meta,
.quick,
.card,
.price-card,
.hero-card,
.section{
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
  transform: translateZ(0);
}

.meta:hover,
.quick:hover,
.card:hover,
.price-card:hover,
.hero-card:hover,
.section:hover{
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow2);
  background: rgba(255,255,255,.86);
}
/* Reviews slider */
.review-slider{
  border-radius: var(--r2);
}

.rs-viewport{
  overflow: hidden;
  border-radius: var(--r2);
}

.rs-track{
  display:flex;
  will-change: transform;
  transition: transform 520ms var(--ease);
}

.rs-slide{
  flex: 0 0 100%;
  padding: 0;
}

.rs-slide .card{
  height: 100%;
}

.rs-foot{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.rs-name{
  font-weight: 750;
  letter-spacing: -.01em;
}

.rs-role{
  font-weight: 450;
  color: var(--muted);
  margin-left: 8px;
  font-size: 12.5px;
}

.rs-source{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.62);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.rs-controls{
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.rs-dots{
  display:flex;
  gap: 8px;
  align-items:center;
}

.rs-dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10,15,25,.10);
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms var(--ease), width 220ms var(--ease);
}

.rs-dot[aria-selected="true"]{
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  border: none;
  width: 22px;
}

.rs-actions{
  display:flex;
  gap: 10px;
}
/* FAQ accordion */
.faq{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.faq-item{
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.72);
  padding:0;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.faq-item summary{
  list-style:none;
  cursor:pointer;
  padding:16px 18px;
  font-weight:700;
  font-size:14.5px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.faq-item summary::-webkit-details-marker{
  display:none;
}

.faq-item summary::after{
  content:"+";
  font-size:18px;
  font-weight:800;
  transition: transform 220ms var(--ease);
}

.faq-item[open] summary::after{
  transform: rotate(45deg);
}

.faq-content{
  padding:0 18px 16px;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.65;
}
/* Breadcrumbs */
.breadcrumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 18px 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumbs a {
  text-decoration: none;
  color: inherit;
}

.breadcrumbs span {
  margin: 0 6px;
  opacity: 0.6;
}
/* =========================
   Exam standalone purchase box
   ========================= */

.exam-purchase{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.exam-purchase-title{
  font-weight: 700;
}

.exam-purchase-sub{
  font-size: 13px;
  color: var(--muted);
}

.exam-price{
  font-weight: 800;
  font-size: 18px;
}
/* =========================
   Additional blue button variants
   ========================= */

/* Secondary blue (softer, but still brand) */
.btn.secondary{
  background: rgba(79,155,255,.14);
  color: var(--blue1);
  border: 1px solid rgba(79,155,255,.35);
}

.btn.secondary:hover{
  background: rgba(79,155,255,.22);
}

/* Subtle blue outline (quiet CTA) */
.btn.outline-blue{
  background: transparent;
  color: var(--blue1);
  border: 1px solid rgba(79,155,255,.35);
}

.btn.outline-blue:hover{
  background: rgba(79,155,255,.12);
}


