/* SAT with Majd — new hero + results section */
:root{
  --maroon:#8B2D3D; --maroon-dark:#6E2230; --ink:#171415; --body:#4A4245; --muted:#6B6064;
  --tint:#F6EDEF; --tint-2:#F7EFF1; --line:#E9DCDF; --gold:#F4B400;
}
/* Neutralise the old homepage hero/results rules (some use !important) so the new design renders as in preview.html */
#hero.hero{display:block!important;min-height:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:var(--tint)!important;overflow:hidden!important}
/* The site nav is position:fixed, so start the hero just below it (hero-results.js keeps --nav-h in sync with the real nav height) */
#hero.hero{margin-top:var(--nav-h,69px)}
@media (max-width:768px){#hero.hero{margin-top:var(--nav-h,65px)}}
#proof.results{margin:0;border:0}
#hero .hero-actions,#hero .hero-stats,#hero .hero-pill,#hero .hero-title,#hero .hero-text{animation:none}
#hero .hero-stats{width:auto;max-width:none}
#hero .btn,#proof .btn{font-family:inherit;letter-spacing:normal;gap:0;border:none;cursor:pointer;transition:background .2s,border-color .2s;transform:none}
#hero .btn:hover,#proof .btn:hover{transform:none}
#hero figure,#proof figure,#hero blockquote,#proof blockquote{margin:0}
#hero.hero,#proof.results{font-family:'Poppins',system-ui,sans-serif;color:var(--ink)}
#hero.hero *,#proof.results *{box-sizing:border-box}
/* Buttons */
#hero .btn,#proof .btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:16px 26px;border-radius:10px;font-weight:600;font-size:16px;text-decoration:none;line-height:1.2}
#hero .btn-primary,#proof .btn-primary{background:var(--maroon);color:#fff;box-shadow:0 8px 20px rgba(139,45,61,.22)}
#hero .btn-primary:hover,#proof .btn-primary:hover{background:var(--maroon-dark);color:#fff}
#hero .btn-secondary,#proof .btn-secondary{background:#fff;color:var(--ink);border:1.5px solid #DCD1D3}
#hero .btn-secondary:hover,#proof .btn-secondary:hover{border-color:var(--maroon)}
#hero .stars,#proof .stars{color:var(--gold);letter-spacing:2px;line-height:1}
/* ---------- HERO ---------- */
#hero.hero{position:relative;height:900px;overflow:hidden;background:var(--tint)}
#hero .hero-stage{position:absolute;top:0;left:50%;height:100%;transform:translateX(-50%);pointer-events:none}
#hero .hero-stage--desktop{width:1440px}
#hero .hero-stage--mobile{width:390px;display:none}
#hero .hero-card{position:absolute;margin:0;background:#fff;border:1px solid var(--line);box-shadow:0 10px 24px rgba(80,30,40,.14)}
#hero .hero-card--score{display:block;padding:8px;border-radius:13px;height:auto}
#hero .hero-card--review{padding:13px 15px;border-radius:13px}
#hero .hero-card--review .stars{font-size:13px}
#hero .hero-card--review blockquote{margin:7px 0 0;font-size:13px;line-height:1.45;color:var(--ink)}
#hero .hero-card__tag{display:block;margin-top:5px;font-size:11px;color:var(--muted)}
#hero .hero-content{position:absolute;z-index:5;left:50%;top:56px;width:640px;max-width:calc(100% - 32px);transform:translateX(-50%);padding:44px 20px 38px;text-align:center}
#hero .hero-pill{margin:0;display:inline-flex;align-items:center;gap:8px;padding:8px 16px;background:#fff;border:1px solid var(--line);border-radius:999px;font-size:14px;font-weight:700;color:var(--maroon)}
#hero .hero-title{margin:20px 0 0;font-size:70px;line-height:1;font-weight:800;letter-spacing:-.03em;color:var(--ink)}
#hero .hero-title span{color:var(--maroon)}
#hero .hero-text{margin:20px auto 0;max-width:500px;font-size:18px;line-height:1.6;color:var(--body)}
#hero .hero-text strong{color:var(--ink)}
#hero .hero-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:26px}
#hero .hero-stats{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 44px;margin-top:28px;padding-top:22px;border-top:1px solid #E6D6DA}
#hero .hero-stats b{display:block;font-size:28px;font-weight:800}
#hero .hero-stats b span{color:var(--maroon)}
#hero .hero-stats small{display:block;font-size:13px;color:var(--muted)}
@media (max-width:1023px){
#hero.hero{height:800px}
#hero .hero-stage--desktop{display:none}
#hero .hero-stage--mobile{display:block}
#hero .hero-card--score{padding:6px;border-radius:10px;box-shadow:0 8px 18px rgba(80,30,40,.15)}
#hero .hero-card--review{padding:11px 13px;border-radius:11px;box-shadow:0 8px 18px rgba(80,30,40,.15)}
#hero .hero-card--review .stars{font-size:11px;letter-spacing:1.5px}
#hero .hero-card--review blockquote{margin-top:5px;font-size:12.5px;line-height:1.4}
#hero .hero-content{top:220px;left:16px;right:16px;width:auto;max-width:430px;margin:0 auto;transform:none;padding:0}
#hero .hero-pill{gap:6px;padding:6px 12px;font-size:12.5px}
#hero .hero-pill svg{width:14px;height:14px}
#hero .hero-title{margin-top:22px;font-size:42px;line-height:1.02;letter-spacing:-.025em}
#hero .hero-title .desk-br{display:none}
#hero .hero-text{margin-top:18px;font-size:15px;line-height:1.5}
#hero .hero-actions{margin-top:22px}
#hero .hero-actions .btn-primary{width:100%;min-height:50px;padding:14px 18px}
#hero .hero-actions .btn-secondary{display:none}
#hero .hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:16px;padding-top:0;border-top:0}
#hero .hero-stats b{font-size:22px}
#hero .hero-stats small{font-size:11px}
}
/* ---------- RESULTS ---------- */
#proof.results{background:#fff;padding:96px 0 88px;overflow:hidden}
#proof .results-head{max-width:1240px;margin:0 auto;padding:0 24px;text-align:center}
#proof .results-eyebrow{font-size:15px;font-weight:600;color:var(--maroon)}
#proof .results-head h2{margin:12px 0 0;font-size:60px;line-height:1.04;font-weight:800;letter-spacing:-.03em}
#proof .results-head h2 span{color:var(--maroon)}
#proof .results-head p{margin:18px auto 0;max-width:620px;font-size:18px;line-height:1.6;color:var(--body)}
#proof .results-head p strong{color:var(--ink)}
#proof .flow-label{max-width:1240px;margin:52px auto 14px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:17px;font-weight:700}
#proof .flow-label + .flow + .flow-label{margin-top:36px}
#proof .flow-arrows{display:flex;gap:8px}
#proof .flow-arrow{width:44px;height:44px;border-radius:999px;border:1.5px solid #DCD1D3;background:#fff;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
#proof .flow-arrow:hover{border-color:var(--maroon)}
#proof .flow{overflow:hidden;cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 5%,#000 95%,transparent 100%);
  mask-image:linear-gradient(to right,transparent 0,#000 5%,#000 95%,transparent 100%)}
#proof .flow::-webkit-scrollbar{display:none}
#proof .flow.is-dragging{cursor:grabbing}
#proof .flow-track{display:flex;width:max-content;padding:8px 0 18px;will-change:transform;backface-visibility:hidden}
#proof .flow-track--reviews{align-items:stretch}
#proof .flow-score{flex:0 0 auto;width:280px;height:214px;margin:0 16px 0 0;background:#fff;border-radius:14px;padding:12px 12px 14px;border:1px solid #EBDFE2;box-shadow:0 8px 22px rgba(80,30,40,.08);display:flex;flex-direction:column;gap:10px;user-select:none}
#proof .flow-score__img{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center}
#proof .flow-score__img img{display:block;width:100%;height:100%;object-fit:contain;-webkit-user-drag:none}
#proof .flow-score figcaption{display:flex;justify-content:space-between;align-items:center;padding:10px 4px 0;border-top:1px solid #F0E9EA;font-size:14px}
#proof .flow-score figcaption strong{font-weight:600}
#proof .flow-score figcaption span{font-size:12px;color:var(--muted)}
#proof .flow-review{flex:0 0 auto;width:340px;margin:0 16px 0 0;background:var(--tint-2);border-radius:16px;padding:22px 24px;display:flex;flex-direction:column;justify-content:space-between;gap:14px;user-select:none}
#proof .flow-review .stars{font-size:16px}
#proof .flow-review blockquote{margin:12px 0 0;font-size:15.5px;line-height:1.55}
#proof .flow-review figcaption{font-size:13px;color:var(--muted)}
#proof .flow-review figcaption strong{color:var(--ink);font-weight:600}
#proof .results-cta{max-width:1240px;margin:40px auto 0;padding:0 24px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px 24px}
#proof .results-hint{font-size:14px;color:var(--muted)}
#proof .results-hint--mob{display:none}
@media (max-width:767px){
#proof.results{padding:64px 0 56px}
#proof .results-head{padding:0 18px}
#proof .results-eyebrow{font-size:14px}
#proof .results-head h2{margin-top:10px;font-size:38px;line-height:1.05;letter-spacing:-.025em}
#proof .results-head p{margin-top:14px;font-size:15px;line-height:1.55}
#proof .flow-label{margin:34px 18px 10px;padding:0;font-size:15px}
#proof .flow-label + .flow + .flow-label{margin-top:24px}
#proof .flow-arrows{display:none}
#proof .flow{-webkit-mask-image:none;mask-image:none;cursor:auto}
#proof .flow-track{padding:6px 0 14px}
#proof .flow-score{width:220px;height:168px;margin-right:12px;border-radius:12px;padding:10px 10px 12px;gap:8px}
#proof .flow-score figcaption{padding:8px 2px 0;font-size:13px}
#proof .flow-score figcaption span{display:none}
#proof .flow-review{width:280px;margin-right:12px;border-radius:14px;padding:18px;gap:10px}
#proof .flow-review .stars{font-size:14px}
#proof .flow-review blockquote{margin-top:8px;font-size:14.5px;line-height:1.5}
#proof .flow-review figcaption{font-size:12.5px}
#proof .results-cta{flex-direction:column;padding:0 18px;margin-top:28px}
#proof .results-cta .btn{width:100%}
#proof .results-hint{order:-1;font-size:13px}
#proof .results-hint--desk{display:none}
#proof .results-hint--mob{display:inline}
}
/* Rows without headings: arrows sit on the row edges (desktop), rows sit close together */
#proof .flow-row{position:relative}
#proof .results-head + .flow-row{margin-top:36px}
#proof .flow-row + .flow-row{margin-top:6px}
#proof .flow-arrow--prev,#proof .flow-arrow--next{position:absolute;top:calc(50% - 5px);transform:translateY(-50%);z-index:3;box-shadow:0 6px 16px rgba(80,30,40,.16)}
#proof .flow-arrow--prev{left:20px}
#proof .flow-arrow--next{right:20px}
@media (max-width:767px){
#proof .flow-arrow--prev,#proof .flow-arrow--next{display:none}
#proof .results-head + .flow-row{margin-top:24px}
#proof .flow-row + .flow-row{margin-top:2px}
}
/* Desktop only: fade the bottom of the hero (pink background + bottom cards) into the white courses section */
@media (min-width:1024px){
#hero.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:220px;z-index:4;pointer-events:none;
  background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,.55) 45%,rgba(255,255,255,.9) 75%,#fff 100%)}
}
