/* =====================================================================
   Parents + Counselors: the student page's own system (styles.css),
   plus the few pieces only these two pages need.
   ===================================================================== */

/* ---------- photos: each page gets its own three ---------- */
/* the shelves, lamps and desks sit low in this photo: enlarge it a little and lift them behind the headline */
.pg-counselors .hero-bg{background-image:url("/assets/photos/counselors-hero.webp");background-size:auto 140%;background-position:50% 86%}
/* the shelves are busy: a soft blur lets the headline lead; the layer is a little larger so the blur has no soft edge */
.pg-counselors .hero-bg{filter:blur(3px);inset:-16px -16px 0}
.pg-counselors .hero-overlay{
  background:linear-gradient(to bottom,
    rgba(14,32,22,0.66) 0%,
    rgba(18,30,20,0.60) 36%,
    rgba(26,40,26,0.52) 56%,
    rgba(30,42,24,0.12) 72%,
    transparent 83%);
}
.pg-counselors .tension-bg{background-image:url("/assets/photos/break.webp");background-position:center 34%;transform:scaleX(-1)}
.pg-counselors .quote-bg{background-image:url("/assets/photos/tension.webp");background-position:center 30%;transform:none}

/* the students stand in a band of photo between the button and the app window, never behind either */
.pg-parents .hero-bg{background-image:url("/assets/photos/amsterdam-bridge.webp");background-size:auto 112%;background-position:50% 58%;filter:blur(3px);inset:-20px -20px 0}
.pg-parents .hero-app{margin-top:72px}
.pg-parents .hero-overlay{
  background:linear-gradient(to bottom,
    rgba(14,32,22,0.62) 0%,
    rgba(16,32,22,0.56) 36%,
    rgba(22,38,26,0.52) 56%,
    rgba(30,42,24,0.12) 72%,
    transparent 83%);
}
.pg-parents .quote-bg{background-image:url("/assets/photos/hero.webp");background-position:center 62%;transform:none}

/* the gold half of a headline never leaves one word alone on its line */
.pg .hero-h1,.pg .tension-big,.pg .exit-big,.pg .sec-title{text-wrap:balance}

/* a second, quieter way in under the hero button */
.hero-alt{
  font-size:14.5px;font-weight:500;color:rgba(255,247,226,0.86);text-decoration:none;
  border-bottom:1px solid rgba(255,247,226,0.35);padding-bottom:1px;
  text-shadow:0 1px 12px rgba(10,20,12,0.5);transition:color .2s,border-color .2s;
}
.hero-alt:hover{color:var(--gold);border-color:var(--gold)}
button.btn{font-family:inherit;border:none;cursor:pointer}

/* chip without a bar (a cost, not a score) */
.chip-bar[hidden]{display:none}

/* ---------- a section with a headline + one paragraph beside a card ---------- */
.lede{font-size:17px;line-height:1.7;color:var(--ink-soft);max-width:540px;margin-top:20px}
.lede a{color:var(--green)}
.duo{
  max-width:1240px;margin:0 auto;padding:96px 48px 64px;
  display:grid;grid-template-columns:1fr 480px;gap:80px;align-items:center;
}
.duo-hint{font-size:13px;color:var(--ink-soft);margin-top:16px;text-align:center}

/* ---------- what this role gets, said big ---------- */
.value{max-width:1240px;margin:0 auto;padding:24px 48px 104px}
.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:56px}
.value-big{
  font-size:clamp(30px,3vw,42px);font-weight:600;line-height:1.08;letter-spacing:-0.026em;
  color:var(--green);margin-bottom:18px;text-wrap:balance;
}
.value-item .value-big:last-child{margin-bottom:0}
.value-big span{color:rgba(20,61,44,0.46)}
.value-text{font-size:16.5px;line-height:1.6;color:var(--ink-soft);max-width:340px}

/* ---------- what the AI takes off their plate: the dark band carries on from the tour ---------- */
.ai{position:relative;z-index:2;background:#133a2a;padding:8px 48px 96px;margin-top:-1px}
.ai-in{max-width:1240px;margin:0 auto}
.ai .sec-title{display:flex;align-items:center;gap:14px;margin-bottom:44px}
.ai-mark{height:34px;width:auto;flex-shrink:0}
.ai-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:44px}
.ai-item{position:relative;padding-top:44px}
.ai-item::before{
  content:"";position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;
  background:#ffba00 center/14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23143d2c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 7.4 5.6 10.4 11.5 3.8'/%3E%3C/svg%3E");
}
.ai-item h3{font-size:26px;white-space:nowrap;line-height:1.2;font-weight:600;letter-spacing:-0.015em;color:#f7ecd5;margin-bottom:10px;text-wrap:balance}
.ai-item p{font-size:15px;line-height:1.6;color:rgba(247,236,213,0.66)}

/* ---------- today (Docs, sheets, chats) against the console: four small cards ---------- */
.compare{max-width:1240px;margin:0 auto;padding:88px 48px 56px}
.compare .sec-title{max-width:720px;margin-bottom:36px}
.cmp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cmp-card{
  display:flex;flex-direction:column;justify-content:space-between;gap:28px;min-height:184px;
  padding:22px 22px 24px;border-radius:22px;
  background:linear-gradient(180deg,#174632 0%,#123a29 100%);border:1px solid var(--mint-border);
  box-shadow:0 18px 40px -22px rgba(10,30,20,0.45);
}
.cmp-today{font-size:14.5px;line-height:1.45;color:rgba(247,236,213,0.5);text-decoration:line-through;text-decoration-color:rgba(247,236,213,0.35);text-decoration-thickness:1px}
.compare + .duo{padding-top:32px}
.cmp-now{font-size:22px;line-height:1.18;font-weight:600;letter-spacing:-0.018em;color:#f7ecd5;text-wrap:balance}

/* ---------- the student's consent card, working ---------- */
.cc{
  background:linear-gradient(180deg,#174632 0%,#123a29 100%);color:#f1e3c8;
  border-radius:26px;border:1px solid rgba(216,241,228,0.12);
  box-shadow:0 30px 70px rgba(10,30,20,0.28),0 6px 18px rgba(10,30,20,0.12);
  padding:24px;
}
.cc-who{display:flex;gap:12px;align-items:center;margin-bottom:18px}
.cc-avatar{
  width:42px;height:42px;border-radius:50%;flex-shrink:0;
  background:rgba(255,186,0,0.16);color:#ffba00;
  display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;
}
.cc-title{font-size:16px;font-weight:600;line-height:1.3;color:#f7ecd5;letter-spacing:-0.01em}
.cc-sub{font-size:12px;color:rgba(241,227,200,0.72);margin-top:2px}
.cc-box{border:1px solid rgba(216,241,228,0.12);border-radius:16px;background:rgba(255,255,255,0.03);overflow:hidden}
.cc-head{display:flex;gap:10px;padding:13px 15px;border-bottom:1px solid rgba(216,241,228,0.12)}
.cc-head svg{width:16px;height:16px;flex-shrink:0;color:#ffba00;margin-top:2px}
.cc-head b{display:block;font-size:12.5px;font-weight:600;color:#f7ecd5}
.cc-head span{display:block;font-size:11.5px;line-height:1.5;color:rgba(241,227,200,0.6);margin-top:2px}
.cc-row{display:flex;align-items:center;gap:12px;padding:10px 15px;border-top:1px solid rgba(216,241,228,0.08)}
.cc-head + .cc-row{border-top:none}
.cc-box[role="group"] .cc-row{cursor:pointer}
.cc-ico{
  width:32px;height:32px;border-radius:9px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,186,0,0.12);color:#ffba00;transition:background .25s ease,color .25s ease;
}
.cc-ico svg{width:16px;height:16px}
.cc-row.off .cc-ico{background:rgba(255,255,255,0.04);color:rgba(241,227,200,0.45)}
.cc-text{flex:1;min-width:0}
.cc-label{font-size:12.5px;font-weight:500;color:#f7ecd5}
.cc-desc{font-size:11.5px;line-height:1.45;color:rgba(241,227,200,0.72);margin-top:1px;min-height:1.45em}
.cc-desc a{color:#ffba00}
.cc-actions{display:flex;gap:10px;margin-top:16px;opacity:.55;pointer-events:none}
.cc-btn{flex:1;border-radius:12px;padding:11px 14px;text-align:center;font-size:13px;font-weight:600}
.cc-btn.gold{background:#ffba00;color:var(--green)}
.cc-btn.ghost{background:rgba(255,255,255,0.05);color:rgba(241,227,200,0.8);border:1px solid rgba(216,241,228,0.14)}
.cc-foot{font-size:11.5px;line-height:1.5;color:rgba(241,227,200,0.6);margin-top:12px}

/* the switch: critically damped, re-targets from wherever it is */
.sw{
  position:relative;flex-shrink:0;width:42px;height:25px;border-radius:999px;
  background:rgba(241,227,200,0.18);border:none;cursor:pointer;padding:0;
  transition:background .3s ease;-webkit-tap-highlight-color:transparent;
}
.sw[aria-checked="true"]{background:#ffba00}
.sw::after{
  content:'';position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:50%;
  background:#fff7e2;box-shadow:0 2px 6px rgba(0,0,0,0.25);
  transition:transform .42s linear(0, 0.157 4.5%, 0.43 10.2%, 0.674 16.6%, 0.844 23.4%, 0.94 30.6%, 0.984 38.6%, 0.998 48.6%, 1);
}
.sw[aria-checked="true"]::after{transform:translateX(17px)}
.sw:focus-visible{outline:2px solid #ffba00;outline-offset:3px}
.sw::before{content:'';position:absolute;inset:-10px -8px}

/* ---------- 3-step path ---------- */
.path-line.three{grid-template-columns:repeat(3,1fr);gap:56px}

/* ---------- parents: packs + estimator ---------- */
.cost{
  max-width:1240px;margin:0 auto;padding:80px 48px 72px;
  display:grid;grid-template-columns:1fr 500px;gap:80px;align-items:start;
}
.packs{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:36px;max-width:520px}
.pack{
  background:rgba(255,247,226,0.42);border:1px solid var(--green-border);border-radius:20px;padding:22px 22px 20px;
  box-shadow:var(--shadow-soft);
}
.pack.featured{background:var(--green);border-color:var(--green);color:var(--cream)}
.pack-tier{font-size:15px;font-weight:600;margin-bottom:10px}
.pack-amt{font-size:40px;font-weight:600;letter-spacing:-0.03em;line-height:1}
.pack-cr{font-size:13px;color:var(--ink-soft);margin-top:8px}
.pack.featured .pack-cr{color:rgba(247,236,213,0.7)}

.est{
  background:linear-gradient(180deg,#174632 0%,#123a29 100%);color:#f1e3c8;
  border-radius:26px;border:1px solid rgba(216,241,228,0.12);
  box-shadow:0 30px 70px rgba(10,30,20,0.24);
  padding:28px 28px 24px;position:sticky;top:110px;
}
.est-title{font-size:18px;font-weight:600;color:#f7ecd5;letter-spacing:-0.01em}
.est-note{font-size:13px;line-height:1.6;color:rgba(241,227,200,0.62);margin-top:6px}
.est-row{margin-top:20px}
.est-row-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:13.5px;color:rgba(241,227,200,0.85)}
.est-row output{font-size:14px;font-weight:600;color:#ffba00;min-width:3ch;text-align:right;font-variant-numeric:tabular-nums}
.est input[type=range]{
  -webkit-appearance:none;appearance:none;width:100%;height:28px;background:transparent;margin-top:4px;cursor:pointer;--p:50%;
}
.est input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(90deg,#ffba00 0 var(--p),rgba(241,227,200,0.16) var(--p) 100%)}
.est input[type=range]::-moz-range-track{height:4px;border-radius:4px;background:rgba(241,227,200,0.16)}
.est input[type=range]::-moz-range-progress{height:4px;border-radius:4px;background:#ffba00}
.est input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;width:22px;height:22px;border-radius:50%;margin-top:-9px;
  background:#fff7e2;box-shadow:0 2px 8px rgba(0,0,0,0.3);transition:transform .12s ease;
}
.est input[type=range]::-moz-range-thumb{width:22px;height:22px;border:none;border-radius:50%;background:#fff7e2;box-shadow:0 2px 8px rgba(0,0,0,0.3)}
.est input[type=range]:active::-webkit-slider-thumb{transform:scale(1.12)}
.est input[type=range]:focus-visible{outline:2px solid #ffba00;outline-offset:4px;border-radius:6px}
.est-sum{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-top:24px;padding-top:18px;border-top:1px solid rgba(216,241,228,0.12)}
.est-total{font-size:36px;font-weight:600;letter-spacing:-0.03em;color:#f7ecd5;line-height:1;font-variant-numeric:tabular-nums}
.est-total small{font-size:13px;font-weight:500;letter-spacing:0;color:rgba(241,227,200,0.6);margin-left:6px}
.est-pack{text-align:right}
.est-pack b{display:block;font-size:17px;font-weight:600;color:#ffba00}
.est-pack span{font-size:12px;color:rgba(241,227,200,0.55)}
.est-break{font-size:12px;line-height:1.6;color:rgba(241,227,200,0.55);margin-top:14px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.exit-alt{display:inline-block;margin-top:14px;font-size:14px;color:rgba(247,236,213,0.72);text-decoration:none;border-bottom:1px solid rgba(247,236,213,0.3)}
.exit-alt:hover{color:var(--gold);border-color:var(--gold)}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .cmp-grid{grid-template-columns:1fr 1fr}
  .ai-grid{grid-template-columns:1fr 1fr;gap:36px}
  .duo,.cost{grid-template-columns:1fr;gap:48px}
  .duo .cc,.cost .est{max-width:520px;width:100%;margin:0 auto}
  .est{position:relative;top:0}
}
@media (max-width:900px){
  /* the tour carries these pages, so on phones it stays — stacked, one screen per chapter */
  .pg .product-scroll-wrapper{display:block}
  .pg-counselors .hero-bg{filter:blur(2px);}
  .pg-counselors .hero-bg{background-image:url("/assets/photos/counselors-hero-mobile.webp");background-size:auto 125%;background-position:62% 90%}
  /* phones: the whole group in a band behind the headline (sized to fit all four),
     then it settles into green before the app window */
  .pg-parents .hero-bg{
    background:linear-gradient(to bottom,rgba(29,58,44,0) 400px,#1d3a2c 540px) 0 0/100% 540px no-repeat,
               url("/assets/photos/amsterdam-bridge-mobile.webp") 52% 0/auto 540px no-repeat,#1d3a2c;
    filter:blur(1.5px);
  }
  .pg-parents .hero-app{margin-top:8px}
  .pg .hero-h1{font-size:clamp(30px,8.6vw,36px);line-height:1.08}
  .pg .hero-sub{font-size:16px}
  .pg-counselors .tension-bg{background-image:url("/assets/photos/break-mobile.webp")}
  .duo{padding:52px 20px 40px}
  .value{padding:12px 20px 28px}
  .ai{padding:8px 20px 56px}
  .ai .sec-title{margin-bottom:28px;gap:10px}
  .ai-mark{height:26px}
  .ai-grid{grid-template-columns:1fr;gap:16px}
  .ai-item{padding:0 0 0 42px;min-height:28px;display:flex;align-items:center}
  .ai-item::before{top:50%;margin-top:-14px}
  .ai-item h3{font-size:20px;line-height:1.25;margin-bottom:0;white-space:nowrap}
  .ai-item h3 br{display:none}
  .compare{padding:52px 20px 32px}
  .compare .sec-title{margin-bottom:24px}
  .cmp-grid{grid-template-columns:1fr 1fr;gap:10px}
  .cmp-card{min-height:150px;gap:18px;padding:16px;border-radius:18px}
  .cmp-today{font-size:13px}
  .cmp-now{font-size:18px}
  .value-grid{grid-template-columns:1fr;gap:36px}
  .value-big{font-size:31px;margin-bottom:10px}
  .value-text{font-size:15.5px}
  .cost{padding:44px 20px 48px}
  .lede{font-size:15.5px}
  .cc{padding:18px;border-radius:22px}
  .cc-row{padding:11px 12px}
  .sw{width:46px;height:28px}
  .sw::after{width:22px;height:22px}
  .sw[aria-checked="true"]::after{transform:translateX(18px)}
  .path-line.three{grid-template-columns:1fr;gap:20px}
  .packs{grid-template-columns:1fr 1fr;gap:12px}
  .pack{padding:18px}
  .pack-amt{font-size:32px}
  .est{padding:22px 20px 20px}
  .est-total{font-size:30px}
}
@media (prefers-reduced-transparency:reduce){.cc,.est{background:#143d2c}}
.product-scroll-wrapper.six{height:420vh}
@media (max-width:900px){.pg .product-scroll-wrapper.six{height:auto}}
