/* =========================================================================
   Pragati Infocom – 3D scroll hero
   All selectors are prefixed with .ph- so they don't clash with the WordPress theme.
   ========================================================================= */

.ph-root {
  --ph-red: #E60000;
  --ph-red-2: #ff3b4c;
  --ph-navy: #18243A;
  --ph-ink-2: #4a5568;
  --ph-blush: #FFF0F1;
  --ph-pink: #FCE4E7;
  --ph-white: #FFFFFF;
  --ph-grey: #F6F7F9;
  --ph-wa: #25D366;
  --ph-wa-dark: #075E54;
  --ph-sms: #2878E8;
  --ph-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ph-sbw: 0px;

  /* full-bleed breakout, so the hero spans the screen inside a theme's content container */
  position: relative;
  width: calc(100vw - var(--ph-sbw));
  left: 50%;
  margin-left: calc(-50vw + var(--ph-sbw) / 2);
  font-family: var(--ph-font);
  color: var(--ph-navy);
  -webkit-font-smoothing: antialiased;
  text-align: left;
  line-height: 1.5;
}
.ph-root *, .ph-root *::before, .ph-root *::after { box-sizing: border-box; }
.ph-root svg { display: block; }
.ph-root img { max-width: none; }

/* ------------------------------------------------------------------ hero */
.ph-root .ph-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 680px;
  max-height: 1100px;
  overflow: hidden;
  isolation: isolate;
}

/* background */
.ph-bg, .ph-bg > * { position: absolute; inset: 0; pointer-events: none; }
.ph-bg { z-index: -1; }
.ph-bg__base { background: linear-gradient(125deg, #FFF0F1 0%, #FFFFFF 42%, #FFF5F6 62%, #FCE4E7 100%); }
.ph-bg__blob { inset: auto; border-radius: 50%; filter: blur(60px); opacity: .8; }
.ph-bg__blob--1 { width: 46vw; height: 46vw; top: -18vw; left: -12vw; background: radial-gradient(circle, #ffd9de 0%, transparent 70%); animation: ph-drift 18s ease-in-out infinite alternate; }
.ph-bg__blob--2 { width: 40vw; height: 40vw; right: -10vw; top: 10vh; background: radial-gradient(circle, #ffe3e7 0%, transparent 70%); animation: ph-drift 22s ease-in-out infinite alternate-reverse; }
.ph-bg__arc {
  inset: auto; width: 120vh; height: 120vh; right: -38vh; top: -30vh; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.9); box-shadow: inset 0 0 80px rgba(255,255,255,.7), 0 0 0 60px rgba(255,255,255,.18);
}
.ph-bg__swoosh { inset: auto; right: 0; bottom: 0; width: 36vw; height: 42vh; filter: drop-shadow(0 -10px 30px rgba(230,0,0,.25)); }
.ph-bg__floor { top: auto; height: 22%; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(252,228,231,.55)); }
.ph-bg__exit { background: #fff; opacity: 0; }

@keyframes ph-drift { to { transform: translate3d(4vw, 3vh, 0) scale(1.08); } }

.ph-inner {
  position: relative;
  height: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding-inline: clamp(20px, calc(4.5 * var(--ph-vw, 1vw)), 72px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  padding-top: var(--ph-top-space, 0px); /* room for a header that overlays the hero */
  gap: clamp(8px, calc(2 * var(--ph-vw, 1vw)), 32px);
}

/* big desktop screens (JS sets .ph-zoom + --ph-k): laid out at laptop size, scaled up as one piece */
.ph-root.ph-zoom .ph-inner {
  /* vw/vh inside the scaled layout mean the laptop-sized viewport */
  --ph-vw: calc(1vw / var(--ph-k, 1)); --ph-vh: calc(1vh / var(--ph-k, 1));
  width: calc(100% / var(--ph-k, 1)); height: calc(100% / var(--ph-k, 1));
  padding-top: calc(var(--ph-top-space, 0px) / var(--ph-k, 1)); /* the header itself is not scaled */
  position: relative; left: 50%; margin: 0;
  transform: translateX(-50%) scale(var(--ph-k, 1)); transform-origin: 50% 0;
}

/* fixed composition (student set / index3, tablet width and up): a 1440x672 box (the reference laptop
   below its header) with the reference viewport units, scaled to fit below the header and centred */
.ph-root.ph-fixed .ph-hero { min-height: 0; }
/* laptops + desktops (classic): the hero is exactly one screen tall. No 680px floor (short laptop windows
   would push the chapter tabs below the fold) and no 1100px cap (tall monitors showed a white band and
   clipped the tabs, because the vh-based spacing kept growing past the cap). */
@media (min-width: 1025px) and (min-height: 620px) {
  .ph-root.ph-v-classic .ph-hero { min-height: 0; max-height: none; }
}
/* student set (index3) on a short laptop window: one screen tall; JS scales the laptop layout down to fit */
@media (min-width: 1025px) and (max-height: 619px) {
  .ph-root.ph-v-classic.ph-s-student .ph-hero { min-height: 0; max-height: none; }
}
.ph-root.ph-fixed .ph-inner {
  --ph-vw: 14.4px; --ph-vh: 7.6px; /* 1vw / 1vh of a 1440x760 laptop */
  position: absolute; left: 50%; top: calc(var(--ph-top-space, 0px) + (100% - var(--ph-top-space, 0px)) / 2);
  width: var(--ph-box-w, 1440px); max-width: none; height: 672px; margin: 0; padding-top: 0;
  transform: translate(-50%, -50%) scale(var(--ph-k, 1)); transform-origin: 50% 50%;
}

/* ------------------------------------------------------------------ copy */
.ph-root .ph-copy { position: relative; z-index: 5; max-width: 640px; padding-block: 24px; }

.ph-root .ph-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 clamp(12px, calc(2.4 * var(--ph-vh, 1vh)), 26px); padding: 9px 18px 9px 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ph-red);
  background: rgba(255,255,255,.75);
  border: 1px solid #f7c9cf; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(230,0,0,.07);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ph-root .ph-eyebrow svg { width: 18px; height: 18px; }
.ph-root .ph-eyebrow--plain { box-shadow: none; }

.ph-root .ph-title {
  margin: 0 0 clamp(10px, calc(2.2 * var(--ph-vh, 1vh)), 22px); padding: 0;
  font-family: var(--ph-font);
  font-size: clamp(2.3rem, min(calc(4.3 * var(--ph-vw, 1vw)), calc(7.4 * var(--ph-vh, 1vh))), 4.15rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -.035em;
  color: var(--ph-navy);
  text-transform: none;
}
.ph-root .ph-title__line { display: block; }
.ph-root .ph-title__accent {
  background: linear-gradient(92deg, #E60000 0%, #ff2d3f 55%, #E60000 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--ph-red);
  padding-bottom: .06em;
}

.ph-root .ph-lead {
  margin: 0 0 clamp(16px, calc(3.4 * var(--ph-vh, 1vh)), 34px); max-width: 34em;
  font-size: clamp(.98rem, min(calc(1.1 * var(--ph-vw, 1vw)), calc(2.1 * var(--ph-vh, 1vh))), 1.12rem); line-height: 1.6; color: var(--ph-ink-2);
}

.ph-root .ph-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(18px, calc(4 * var(--ph-vh, 1vh)), 40px); }
.ph-root .ph-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: clamp(48px, calc(6.2 * var(--ph-vh, 1vh)), 56px); padding: 0 30px; border-radius: 999px;
  font-family: var(--ph-font); font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: 0;
  text-decoration: none; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background-color .25s, border-color .25s;
}
.ph-root .ph-btn svg { width: 20px; height: 20px; flex: none; transition: transform .25s; }
.ph-root .ph-btn--primary { background: var(--ph-red); color: #fff; box-shadow: 0 12px 28px rgba(230,0,0,.3), inset 0 1px 0 rgba(255,255,255,.25); }
.ph-root .ph-btn--primary:hover { background: #cc0000; color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(230,0,0,.36); }
.ph-root .ph-btn--primary:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ rotating hero copy
   All slides share one grid cell, so the block is as tall as the tallest slide and
   nothing below it jumps. Content sits at the bottom of the cell, right above the buttons. */
.ph-root .ph-slides { display: grid; }
.ph-root .ph-slide {
  grid-area: 1 / 1; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
}
.ph-root .ph-slide:not(.is-active) { visibility: hidden; opacity: 0; } /* no-JS fallback; JS drives autoAlpha */
.ph-root .ph-title { text-wrap: balance; }
/* longer headline (slide 3) runs a touch smaller so it stays at three lines like the others */
.ph-root .ph-title.ph-title--long { font-size: clamp(2rem, min(calc(3.75 * var(--ph-vw, 1vw)), calc(6.4 * var(--ph-vh, 1vh))), 3.95rem); }
/* word masks (added by JS): each word rises out of its own clip box */
.ph-root .ph-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin: 0 -.04em -.14em; }
.ph-root .ph-w > span { display: inline-block; }
.ph-root .ph-title.is-split .ph-title__accent { background: none; -webkit-text-fill-color: currentColor; color: var(--ph-red); }
.ph-root .ph-title.is-split .ph-title__accent .ph-w > span {
  background: linear-gradient(92deg, #E60000 0%, #ff2d3f 55%, #E60000 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* primary button label swaps vertically; its width is tweened by JS */
.ph-root .ph-btn__label { display: inline-block; overflow: hidden; white-space: nowrap; padding-block: .25em; margin-block: -.25em; text-align: center; }
.ph-root .ph-btn__label > span { display: inline-block; }

.ph-root .ph-btn--ghost { background: rgba(255,255,255,.85); color: var(--ph-navy); border: 1.5px solid #f3c1c8; }
.ph-root .ph-btn--ghost svg { color: var(--ph-red); }
.ph-root .ph-btn--ghost:hover { border-color: var(--ph-red); color: var(--ph-navy); transform: translateY(-2px); }
.ph-root .ph-btn:focus-visible { outline: 3px solid rgba(230,0,0,.45); outline-offset: 3px; }

.ph-root .ph-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.ph-root .ph-benefit { margin: 0; padding: 0 clamp(14px, calc(1.8 * var(--ph-vw, 1vw)), 28px); border-left: 1px solid #f3cdd2; display: grid; gap: 2px; }
.ph-root .ph-benefit:first-child { padding-left: 0; border-left: 0; }
.ph-root .ph-benefit__icon {
  width: clamp(36px, calc(5 * var(--ph-vh, 1vh)), 44px); height: clamp(36px, calc(5 * var(--ph-vh, 1vh)), 44px); margin-bottom: clamp(6px, calc(1.1 * var(--ph-vh, 1vh)), 10px); display: grid; place-items: center;
  border-radius: 12px; color: var(--ph-red);
  background: linear-gradient(145deg, #fff, #ffe8eb); box-shadow: 0 6px 16px rgba(230,0,0,.1), inset 0 0 0 1px #fbd5da;
}
.ph-root .ph-benefit__icon svg { width: 22px; height: 22px; }
.ph-root .ph-benefit strong { font-size: 15px; font-weight: 700; color: var(--ph-navy); }
.ph-root .ph-benefit small { font-size: 13px; color: #6b7280; }

/* scroll chapters (shown only while the hero is pinned) */
.ph-root .ph-chapters { display: none; margin-top: clamp(14px, calc(3.6 * var(--ph-vh, 1vh)), 40px); max-width: 420px; }
.ph-root.ph-scroll .ph-chapters { display: block; }
.ph-root .ph-chapters__bar { height: 3px; border-radius: 3px; background: #f6d3d8; overflow: hidden; }
.ph-root .ph-chapters__bar span { display: block; height: 100%; width: 100%; background: var(--ph-red); transform-origin: left; transform: scaleX(0); }
.ph-root .ph-chapters ol { list-style: none; margin: 12px 0 0; padding: 0; display: flex; gap: 18px; font-size: 12px; font-weight: 600; color: #a0a7b4; letter-spacing: .02em; }
.ph-root .ph-chapters li { margin: 0; transition: color .3s; white-space: nowrap; }
.ph-root .ph-chapters li.is-active { color: var(--ph-navy); }

/* ------------------------------------------------------------------ stage */
.ph-stage { position: relative; height: 100%; min-height: 0; }
.ph-fit {
  --ph-fit: .8;
  position: absolute; left: 50%; top: 52%;
  width: 760px; height: 720px;
  transform: translate(-50%, -50%) scale(var(--ph-fit));
}
.ph-scene { position: relative; width: 100%; height: 100%; }

/* layering (explicit so GSAP can swap the phones) */
.ph-pedestal { z-index: 1; }
.ph-ribbon--back { z-index: 2; }
.ph-device-wrap--sms { z-index: 3; }
.ph-device-wrap--wa { z-index: 4; }
.ph-ribbon--front { z-index: 6; }
.ph-float { z-index: 7; }
.ph-card, .ph-pill { z-index: 8; }

/* pedestal */
.ph-pedestal { position: absolute; left: 80px; top: 590px; width: 600px; height: 150px; }
.ph-pedestal__side {
  position: absolute; inset: 0 0 0 0; border-radius: 310px / 50px;
  background: linear-gradient(90deg, #f2c5cb 0%, #fff 30%, #fde8eb 55%, #fff 75%, #f0bcc3 100%);
  box-shadow: 0 30px 50px rgba(150, 20, 40, .18);
}
.ph-pedestal__top {
  position: absolute; left: 0; right: 0; top: 0; height: 100px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, #ffffff 0%, #fff7f8 45%, #fbe2e6 80%, #f5cfd5 100%);
  box-shadow: inset 0 -3px 0 rgba(255,255,255,.9), inset 0 2px 6px rgba(200,60,80,.08);
}
.ph-pedestal__rim {
  position: absolute; inset: 0; border-radius: 310px / 50px; pointer-events: none;
  border-bottom: 3px solid #ff2436;
  box-shadow: 0 10px 28px -4px rgba(255, 20, 50, .65), 0 2px 8px rgba(255, 40, 60, .55);
}
.ph-pedestal__top { border-bottom: 1.5px solid rgba(255,255,255,.95); }
.ph-pedestal__glow { position: absolute; left: 10%; right: 10%; top: 10px; height: 80px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,60,80,.35), transparent 70%); filter: blur(18px); }

/* ribbon */
/* The glass ribbon is a real 3D band generated by pragati-hero.js and split into
   a back half (behind the phones) and a front half (in front of them). */
.ph-ribbon { position: absolute; pointer-events: none; }
.ph-ribbon svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* classic (index.html): slim glass ring with a travelling shine */
.ph-ribbon { left: -120px; top: 225px; width: 1000px; height: 400px; transform: rotate(-12deg); }
.ph-ribbon .ph-band { display: none; }
.ph-ring-classic { filter: drop-shadow(0 10px 18px rgba(230,0,0,.18)); }
.ph-ribbon--front .ph-ring-classic { opacity: .82; }
.ph-ring-shine { animation: ph-shine 9s linear infinite; }
@keyframes ph-shine { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1000; } }

/* studio (index2.html): wide twisting 3D band generated by JS */
.ph-v-studio .ph-ribbon { left: -220px; top: 0; width: 1200px; height: 700px; transform: rotate(-9deg); }
.ph-v-studio .ph-ribbon .ph-ring-classic { display: none; }
.ph-v-studio .ph-ribbon .ph-band { display: block; }
.ph-v-studio .ph-ribbon--back .ph-band  { opacity: .95; filter: drop-shadow(0 0 14px rgba(255, 0, 30, .35)); }
.ph-v-studio .ph-ribbon--front .ph-band { filter: drop-shadow(0 12px 22px rgba(230, 0, 20, .35)); }

/* ------------------------------------------------------------------ device */
.ph-device-wrap { position: absolute; left: 50%; top: 47%; width: 290px; height: 600px; margin: -300px 0 0 -145px; }
.ph-device { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; --glare: 30; }
.ph-device__frame {
  position: absolute; inset: 0; padding: 10px; border-radius: 50px;
  background:
    linear-gradient(145deg, #f7f8fa 0%, #c9ccd2 18%, #eef0f3 34%, #a9aeb6 52%, #e8eaee 70%, #b8bcc4 86%, #f4f5f7 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.9),
    inset 0 0 0 2.5px rgba(120,125,135,.55),
    0 2px 2px rgba(0,0,0,.08),
    0 40px 70px -20px rgba(80, 20, 35, .38),
    0 18px 30px -12px rgba(40, 20, 30, .3);
}
.ph-device__frame::after { /* inner black bezel */
  content: ""; position: absolute; inset: 7px; border-radius: 44px; background: #07080a; z-index: 0;
}
.ph-device__edge { position: absolute; top: 46px; bottom: 46px; width: 12px; background: linear-gradient(180deg, #d9dce1, #9fa4ac 40%, #e4e6ea 70%, #a3a8b0); }
.ph-device__edge--l { left: 0; transform-origin: left center; transform: rotateY(90deg); }
.ph-device__edge--r { right: 0; transform-origin: right center; transform: rotateY(-90deg); }

.ph-btn-side { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #8e939b, #d7dadf); z-index: -1; }
.ph-btn-side--action { left: -3px; top: 112px; height: 26px; }
.ph-btn-side--volup  { left: -3px; top: 160px; height: 50px; }
.ph-btn-side--voldn  { left: -3px; top: 220px; height: 50px; }
.ph-btn-side--power  { right: -3px; top: 178px; height: 78px; background: linear-gradient(270deg, #8e939b, #d7dadf); }

.ph-screen {
  position: relative; z-index: 1; width: 100%; height: 100%;
  border-radius: 40px; overflow: hidden;
  font-size: 11px; line-height: 1.35; color: #111;
  background: #fff;
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari: clip children to radius */
}
.ph-glare {
  position: absolute; inset: 10px; border-radius: 40px; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0) calc(var(--glare) * 1% - 22%), rgba(255,255,255,.28) calc(var(--glare) * 1%), rgba(255,255,255,0) calc(var(--glare) * 1% + 14%));
  mix-blend-mode: screen;
}
.ph-island { position: absolute; z-index: 20; top: 10px; left: 50%; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #000; }
.ph-island::after { content: ""; position: absolute; right: 12px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2a3550, #05070c 70%); }
.ph-home { position: absolute; z-index: 20; bottom: 7px; left: 50%; width: 104px; height: 4px; margin-left: -52px; border-radius: 3px; background: #111; }
.ph-home--dark { background: #111; }

.ph-status { position: relative; z-index: 10; height: 44px; padding: 15px 24px 0 30px; display: flex; justify-content: space-between; align-items: flex-start; color: #111; }
.ph-status b { font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.ph-status__icons { display: flex; gap: 5px; align-items: center; padding-top: 2px; }
.ph-status__icons svg { height: 10px; width: auto; fill: currentColor; }
.ph-status--light { color: #fff; }
.ph-back { width: 10px; height: 16px; flex: none; }

/* ---------- WhatsApp screen ---------- */
.ph-screen--wa { background: #efe7de; }
.ph-wa-head { background: linear-gradient(180deg, #0a6b5c, var(--ph-wa-dark)); color: #fff; position: relative; z-index: 5; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.ph-wa-bar { display: flex; align-items: center; gap: 8px; padding: 4px 12px 10px 10px; }
.ph-wa-avatar { width: 34px; height: 34px; border-radius: 50%; background: #fff; flex: none; display: grid; place-items: center; overflow: hidden; }
.ph-wa-avatar { position: relative; }
.ph-wa-avatar img { position: absolute; left: 4px; top: 50%; width: 74px; height: auto; transform: translateY(-50%); }
.ph-wa-name { flex: 1; min-width: 0; }
.ph-wa-name b { display: flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.ph-wa-name b svg { width: 13px; height: 13px; }
.ph-wa-name small { display: block; font-size: 10px; opacity: .8; }
.ph-wa-ico { width: 17px; height: 17px; color: #fff; flex: none; }

.ph-wa-chat {
  position: relative; height: calc(100% - 92px - 58px); padding: 10px 10px 6px;
  display: flex; flex-direction: column; gap: 6px; overflow: hidden;
  background-color: #efe7de;
  background-image: radial-gradient(rgba(120,100,80,.09) 1px, transparent 1.4px), radial-gradient(rgba(120,100,80,.06) 1px, transparent 1.4px);
  background-size: 18px 18px, 18px 18px; background-position: 0 0, 9px 9px;
}
.ph-wa-day { align-self: center; padding: 3px 9px; border-radius: 7px; background: #fff; color: #54656f; font-size: 9.5px; font-weight: 600; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.ph-wa-msg { position: relative; max-width: 86%; padding: 6px 8px 5px; border-radius: 9px; font-size: 11px; box-shadow: 0 1px 1px rgba(0,0,0,.12); }
.ph-wa-msg--in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.ph-wa-msg--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.ph-wa-time { float: right; margin: 4px 0 -2px 8px; font-size: 8.5px; color: #667781; display: inline-flex; gap: 2px; align-items: center; }
.ph-ticks { width: 14px; height: 9px; color: #53bdeb; }
.ph-wa-card { padding: 3px 3px 0; width: 88%; max-width: 88%; }
.ph-wa-card__img { border-radius: 7px; overflow: hidden; height: 112px; }
.ph-wa-card__img svg { width: 100%; height: 100%; }
.ph-wa-card p { margin: 6px 5px 0; font-size: 11px; line-height: 1.4; color: #111b21; }
.ph-wa-card > .ph-wa-time { margin-right: 6px; }
.ph-wa-cta { clear: both; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 0; border-top: 1px solid #eef0f1; color: #027eb5; font-size: 11px; font-weight: 600; text-decoration: none; }
.ph-wa-cta svg { width: 12px; height: 12px; }
.ph-wa-typing { align-self: flex-start; display: flex; gap: 3px; padding: 8px 10px; border-radius: 9px; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.12); opacity: 0; }
.ph-wa-typing i { width: 5px; height: 5px; border-radius: 50%; background: #9aa5ad; animation: ph-typing 1s infinite ease-in-out; }
.ph-wa-typing i:nth-child(2) { animation-delay: .15s; } .ph-wa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ph-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }

.ph-wa-input { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; padding: 6px 8px 18px; display: flex; gap: 6px; align-items: center; background: #f0f2f5; }
.ph-wa-field { flex: 1; height: 32px; padding: 0 10px; border-radius: 18px; background: #fff; display: flex; align-items: center; gap: 7px; color: #8696a0; }
.ph-wa-field svg { width: 15px; height: 15px; flex: none; }
.ph-wa-field span { flex: 1; font-size: 11px; }
.ph-wa-mic { width: 32px; height: 32px; border-radius: 50%; background: #1fa855; display: grid; place-items: center; flex: none; }
.ph-wa-mic svg { width: 15px; height: 15px; }

/* ---------- SMS screen ---------- */
.ph-screen--sms { background: #f7f8fb; }
.ph-sms-thread, .ph-sms-inbox { position: absolute; inset: 0; padding-top: 44px; }
.ph-sms-thread { background: #fff; }
.ph-sms-thread__head { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0 10px; border-bottom: 1px solid #eceef2; background: rgba(247,248,250,.9); }
.ph-sms-thread__head .ph-back { position: absolute; left: 14px; top: 16px; color: var(--ph-sms); }
.ph-sms-thread__head b { font-size: 11px; font-weight: 700; }
.ph-sms-thread__avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(180deg, #a8adb8, #858b98); display: grid; place-items: center; overflow: hidden; }
.ph-sms-thread__avatar svg { width: 30px; height: 30px; margin-top: 8px; }
.ph-sms-thread__meta { margin: 14px 0 8px; text-align: center; font-size: 9.5px; color: #8a8f99; }
.ph-bubble-sms { margin: 0 40px 8px 12px; padding: 9px 12px; border-radius: 16px; border-bottom-left-radius: 5px; background: #e9e9eb; font-size: 11.5px; line-height: 1.4; color: #111; }
.ph-sms-input { position: absolute; left: 12px; right: 12px; bottom: 26px; height: 30px; border: 1px solid #dfe2e7; border-radius: 16px; display: flex; align-items: center; padding: 0 4px 0 12px; color: #a0a5ae; font-size: 10.5px; }
.ph-sms-input span { flex: 1; }
.ph-sms-input i { width: 22px; height: 22px; border-radius: 50%; background: #d7dbe1; }

.ph-sms-thread { z-index: 2; }
.ph-sms-inbox { z-index: 1; background: #f7f8fb; padding-inline: 14px; }
.ph-sms-inbox__top { display: flex; justify-content: space-between; align-items: center; margin: 2px 0 10px; }
.ph-sms-inbox__top b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.ph-sms-inbox__top svg { width: 17px; height: 17px; color: #111; }
.ph-chips { display: flex; gap: 5px; margin: 0 -14px 10px 0; overflow: hidden; }
.ph-chips span { flex: none; padding: 5px 9px; border-radius: 999px; background: #e9edf3; font-size: 10px; font-weight: 600; color: #2b3445; }
.ph-chips span.is-on { background: var(--ph-sms); color: #fff; }
.ph-inbox { list-style: none; margin: 0; padding: 0; }
.ph-inbox li { position: relative; display: flex; gap: 9px; padding: 9px 0; margin: 0; border-bottom: 1px solid #eceef2; }
.ph-inbox li > div { flex: 1; min-width: 0; padding-right: 12px; }
.ph-inbox b { font-size: 11.5px; font-weight: 700; color: #0f1729; }
.ph-inbox time { float: right; font-size: 9px; color: #8a8f99; margin-top: 1px; }
.ph-inbox p { margin: 2px 0 0; font-size: 10px; line-height: 1.35; color: #5b6473; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ph-inbox em { position: absolute; right: 0; top: 28px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px; background: var(--ph-red); color: #fff; font-style: normal; font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.ph-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.ph-ico svg { width: 17px; height: 17px; }
.ph-ico--blue { background: #e3eefe; color: var(--ph-sms); }
.ph-ico--violet { background: #efe7fd; color: #7c4ddb; }
.ph-fab { position: absolute; right: 14px; bottom: 26px; width: 42px; height: 42px; border-radius: 50%; background: var(--ph-sms); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(40,120,232,.4); }
.ph-fab svg { width: 18px; height: 18px; }

.ph-push {
  position: absolute; z-index: 15; left: 8px; right: 8px; top: 46px;
  display: flex; gap: 8px; align-items: flex-start; padding: 9px 10px;
  border-radius: 16px; background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 26px rgba(15,23,41,.18), inset 0 0 0 1px rgba(255,255,255,.7);
  opacity: 0; transform: translateY(-14px) scale(.94); transform-origin: 50% 0;
}
.ph-push__app { flex: none; width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(180deg, #5fe07a, #2fc04f); display: grid; place-items: center; }
.ph-push__app svg { width: 16px; height: 16px; }
.ph-push b { display: flex; justify-content: space-between; font-size: 10.5px; }
.ph-push time { font-weight: 500; color: #8a8f99; font-size: 9px; }
.ph-push p { margin: 1px 0 0; font-size: 10px; color: #333; }

/* ------------------------------------------------------------------ floating tiles */
.ph-float { position: absolute; }
.ph-float--wa    { left: 458px; top: -16px; width: 128px; height: 136px; }
.ph-float--sms   { left: 656px; top: 222px; width: 118px; height: 126px; }
.ph-float--plane { left: 10px;  top: 316px; width: 104px; height: 112px; }
.ph-float--bell  { left: 600px; top: 520px; width: 86px;  height: 86px; }

.ph-tile {
  width: 100%; height: 100%; border-radius: 26%; display: grid; place-items: center;
  animation: ph-bob 6s ease-in-out infinite;
}
.ph-float--sms .ph-tile { animation-delay: -1.5s; }
.ph-float--plane .ph-tile { animation-delay: -3s; }
.ph-float--bell .ph-tile { animation-delay: -4.5s; }
@keyframes ph-bob { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0); } 50% { transform: translate3d(0, -12px, 0) rotate(2deg); } }

.ph-tile svg { width: 58%; height: 58%; }
/* extruded "app icon" look: a solid lip below the face gives the tile thickness */
.ph-tile--wa {
  background: linear-gradient(150deg, #7af59b 0%, #2bd96a 40%, #14a84b 100%);
  box-shadow: 0 7px 0 #0c8a3a, 0 9px 0 #0a7531, 0 26px 44px -8px rgba(18,166,74,.6), 0 0 40px rgba(37,211,102,.35), inset 0 3px 0 rgba(255,255,255,.55), inset 0 -8px 14px rgba(0,80,30,.25);
}
.ph-tile--sms {
  background: linear-gradient(150deg, #7cb8ff 0%, #2f80f0 45%, #1a5dcc 100%);
  box-shadow: 0 7px 0 #1650b4, 0 9px 0 #12449a, 0 26px 44px -8px rgba(40,120,232,.6), 0 0 40px rgba(40,120,232,.35), inset 0 3px 0 rgba(255,255,255,.55), inset 0 -8px 14px rgba(0,30,90,.25);
}
.ph-tile--glass {
  background: linear-gradient(150deg, rgba(255,255,255,.97), rgba(255,233,236,.8));
  box-shadow: 0 7px 0 rgba(236, 196, 203, .95), 0 9px 0 rgba(222, 170, 180, .9), 0 24px 40px -10px rgba(200,30,50,.4), inset 0 0 0 1px rgba(255,255,255,.95), inset 0 -6px 14px rgba(240,170,180,.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
/* rendered 3D icon images (WhatsApp, SMS, send) */
.ph-tile--img { background: none; box-shadow: none; border-radius: 0; }
.ph-tile--img img { width: 100%; height: 100%; object-fit: contain; display: block; image-rendering: auto; }
/* the HD icons carry their own glow + floor reflection, so only a soft contact shadow here */
.ph-float--wa .ph-tile--img img  { filter: drop-shadow(0 14px 18px rgba(18,140,60,.25)); }
.ph-float--sms .ph-tile--img img { filter: drop-shadow(0 14px 18px rgba(30,90,200,.25)); }
.ph-float--plane .ph-tile--img img { filter: drop-shadow(0 12px 16px rgba(200,30,50,.18)); }
.ph-tile--sm.ph-tile--img img { filter: drop-shadow(0 6px 10px rgba(20,30,60,.2)); }
.ph-tile--sm { width: 52px; height: 52px; flex: none; animation: none; border-radius: 15px; }

/* ------------------------------------------------------------------ student content set (screens="student") */
.ph-wa-checks { list-style: none; margin: 4px 5px 0; padding: 0; font-size: 10px; line-height: 1.25; color: #111b21; }
.ph-wa-checks li { display: flex; align-items: center; gap: 5px; margin: 2px 0; }
.ph-wa-checks li::before {
  content: ""; flex: none; width: 11px; height: 11px; border-radius: 3px;
  background: #25D366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.ph-wa-cta--green { color: #1a9a52; font-weight: 700; }
.ph-wa-file { display: flex; align-items: center; gap: 6px; margin: 4px 0 1px; padding: 4px 6px; border-radius: 7px; background: #f3f5f6; }
.ph-wa-file i { flex: none; padding: 4px 3px; border-radius: 3px; background: #e53935; color: #fff; font-style: normal; font-size: 7px; font-weight: 800; letter-spacing: .02em; }
.ph-wa-file > span { min-width: 0; }
.ph-wa-file b { display: block; font-size: 9.2px; font-weight: 700; color: #111b21; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-wa-file small { font-size: 8px; color: #667781; }
.ph-wa-file svg { flex: none; width: 13px; height: 13px; margin-left: auto; color: #1a9a52; }
.ph-wa-card--compact .ph-wa-card__img { height: 80px; }
.ph-wa-card--compact .ph-wa-cta { padding: 5px 0 6px; }
.ph-wa-chat:has(.ph-wa-card--compact) { gap: 5px; padding-top: 8px; }
.ph-wa-card--compact p { margin-top: 5px; line-height: 1.35; }
.ph-ico--orange { background: #fff0dc; color: #f08a00; }
.ph-ico--pink { background: #fde6ef; color: #e0457b; }
.ph-inbox em.ph-unread { min-width: 8px; width: 8px; height: 8px; padding: 0; top: 30px; background: var(--ph-sms); }
.ph-tile--cap svg { width: 66%; height: 66%; }
.ph-decor { position: absolute; left: 428px; top: 520px; width: 343px; height: 196px; z-index: 7; pointer-events: none; }
.ph-decor svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ph-s-student .ph-float--bell { display: none; }   /* the books take that spot */
.ph-root.ph-mscroll .ph-decor { display: none; }   /* mobile story zooms the phones over that spot */

/* ------------------------------------------------------------------ floating cards */
.ph-card {
  position: absolute; display: flex; gap: 12px; align-items: center;
  padding: 14px 18px; border-radius: 18px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 44px -16px rgba(120, 20, 40, .28), inset 0 0 0 1px rgba(255,255,255,.95);
  color: var(--ph-navy); font-size: 13px; line-height: 1.3;
}
.ph-card small { display: block; color: #6b7280; font-size: 12px; font-weight: 500; white-space: nowrap; }
.ph-card b { display: flex; align-items: center; gap: 6px; font-weight: 800; }
.ph-card--stat { left: 584px; top: 128px; }
.ph-card--stat b { font-size: 26px; letter-spacing: -.02em; }
.ph-card--stat b svg { width: 20px; height: 20px; }
.ph-card__bars { display: flex; gap: 4px; align-items: flex-end; height: 38px; }
.ph-card__bars i { width: 8px; border-radius: 3px; background: var(--ph-red); }
.ph-card__bars i:nth-child(1) { height: 35%; opacity: .55; } .ph-card__bars i:nth-child(2) { height: 55%; opacity: .7; }
.ph-card__bars i:nth-child(3) { height: 78%; opacity: .85; } .ph-card__bars i:nth-child(4) { height: 100%; }

.ph-card--promo { left: 6px; top: 430px; width: 236px; align-items: flex-start; opacity: 0; }
.ph-card--promo b { font-size: 14px; margin: 1px 0 8px; }
.ph-card--promo em { display: block; margin-top: 6px; font-style: normal; font-size: 11px; color: #6b7280; }
.ph-card__meter { display: block; height: 6px; border-radius: 4px; background: #e8f7ee; overflow: hidden; }
.ph-card__meter i { display: block; width: 87%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #25D366, #12a64a); }
.ph-card__icon { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; }
.ph-card__icon svg { width: 19px; height: 19px; }
.ph-card__icon--green { background: linear-gradient(150deg, #5fe07a, #1fa855); box-shadow: 0 6px 14px rgba(31,168,85,.35); }

.ph-card--notify { left: 10px; top: 150px; width: 262px; opacity: 0; }
.ph-card--notify b { font-size: 13px; }

.ph-pill {
  position: absolute; left: 548px; display: flex; align-items: center; gap: 12px;
  padding: 13px 22px 13px 14px; border-radius: 16px; white-space: nowrap;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -16px rgba(120, 20, 40, .3), inset 0 0 0 1px rgba(255,255,255,.95);
  font-size: 16px; font-weight: 800; font-style: italic; color: var(--ph-navy); letter-spacing: -.01em;
  opacity: 0;
}
.ph-pill i { width: 30px; height: 30px; color: var(--ph-red); display: grid; place-items: center; }
.ph-pill i svg { width: 26px; height: 26px; }
.ph-pill--1 { top: 150px; }
.ph-pill--2 { top: 236px; left: 572px; }
.ph-pill--3 { top: 322px; left: 560px; }

/* ------------------------------------------------------------------ STUDIO variant (index2 / [pragati_hero style="studio"]) */
.ph-bg__studio { display: none; }
.ph-v-studio .ph-bg__studio { display: block; }
.ph-v-studio .ph-bg__base {
  background:
    radial-gradient(70% 95% at 18% 50%, #ffffff 0%, #fff6f7 45%, rgba(255,246,247,0) 75%),
    radial-gradient(60% 70% at 70% 45%, rgba(255,235,238,.9) 0%, rgba(255,235,238,0) 70%),
    linear-gradient(110deg, #fbf1f2 0%, #e9e1e3 46%, #c9c1c5 72%, #a39a9f 100%);
}
.ph-v-studio .ph-bg__floor { height: 30%; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,215,222,.55)); }
.ph-v-studio .ph-bg__arc { opacity: .55; }
.ph-v-studio .ph-bg__swoosh { opacity: .9; }
.ph-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9; }
.ph-glow--green { width: 38vw; height: 38vw; left: 46%; top: -14%; background: radial-gradient(circle, rgba(37,211,102,.75), rgba(37,211,102,0) 66%); }
.ph-glow--blue  { width: 30vw; height: 36vw; right: -10vw; top: 14%; background: radial-gradient(circle, rgba(40,120,232,.75), rgba(40,120,232,0) 66%); }
.ph-glow--pink  { width: 40vw; height: 40vw; left: 56%; top: 6%; background: radial-gradient(circle, rgba(255,150,165,.55), rgba(255,150,165,0) 70%); }
.ph-glow--red   { width: 64vw; height: 26vw; left: 42%; bottom: -13vw; background: radial-gradient(ellipse, rgba(255,20,45,.75), rgba(255,20,45,0) 70%); }

.ph-v-studio .ph-pedestal__side {
  background: linear-gradient(90deg, #e9e3e6 0%, #ffffff 28%, #f6f1f3 55%, #ffffff 76%, #e4dcdf 100%);
  box-shadow: 0 30px 60px rgba(150, 20, 40, .22);
}
.ph-v-studio .ph-pedestal__top { background: radial-gradient(ellipse at 50% 40%, #ffffff 0%, #fbfbfc 45%, #f1edef 80%, #e7e1e4 100%); }
.ph-v-studio .ph-pedestal__rim { border-bottom-width: 4px; box-shadow: 0 12px 40px 0 rgba(255, 20, 50, .8), 0 2px 10px rgba(255, 40, 60, .8); }
.ph-v-studio .ph-pedestal__rim::before {
  content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 100px; border-radius: 50%;
  border-bottom: 2px solid rgba(255, 40, 60, .75); filter: blur(.4px);
}
.ph-v-studio .ph-pedestal__glow { background: radial-gradient(ellipse, rgba(255,40,60,.5), transparent 70%); }
.ph-v-studio .ph-ribbon--front .ph-band { opacity: .74; }
.ph-v-studio .ph-device__frame {
  background: linear-gradient(145deg, #f4f4f7 0%, #b9bcc4 16%, #f2f3f6 32%, #9da2ac 50%, #e9eaee 68%, #a8acb5 84%, #f0f1f4 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.9), inset 0 0 0 2.5px rgba(110,115,128,.6),
    0 50px 80px -24px rgba(60, 10, 25, .5), 0 20px 34px -14px rgba(30, 10, 20, .4);
}

/* ------------------------------------------------------------------ MOBILE / TABLET scroll story
   Added by JS (.ph-mscroll) below 1025px: the copy scrolls normally, then the 3D stage
   becomes a full-screen pinned panel that plays the same story as desktop. */
.ph-mcaps { display: none; }
.ph-root.ph-mscroll .ph-stage {
  height: 100vh; height: 100svh; min-height: 540px; max-height: none;
  /* explicit width (not just negative margins) so the pinned, fixed-position copy keeps full bleed */
  width: calc(100% + 2 * clamp(20px, 4.5vw, 72px)); max-width: none;
  margin-left: calc(-1 * clamp(20px, 4.5vw, 72px)); margin-right: 0;
  overflow: hidden;
  background:
    radial-gradient(90% 55% at 50% 58%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #fff6f7 0%, #ffffff 40%, #fdeaee 100%);
}
.ph-root.ph-v-studio.ph-mscroll .ph-stage {
  background:
    radial-gradient(60% 30% at 70% 22%, rgba(37,211,102,.28), rgba(37,211,102,0) 70%),
    radial-gradient(50% 30% at 95% 45%, rgba(40,120,232,.25), rgba(40,120,232,0) 70%),
    radial-gradient(80% 25% at 50% 100%, rgba(255,20,45,.25), rgba(255,20,45,0) 70%),
    linear-gradient(180deg, #fbf3f4 0%, #f1eaec 55%, #e7dfe2 100%);
}
.ph-root.ph-mscroll .ph-fit { top: calc(50% + 48px); }
/* the phones move every frame of the mobile story: keep them on their own GPU layers */
.ph-root.ph-mscroll .ph-device-wrap, .ph-root.ph-mscroll .ph-float { will-change: transform; }
.ph-root.ph-mscroll .ph-mcaps {
  display: block; position: absolute; z-index: 20;
  top: calc(env(safe-area-inset-top, 0px) + 18px); left: 20px; right: 20px;
  text-align: center; pointer-events: none;
}
.ph-mcaps__list { position: relative; height: 50px; }
.ph-mcap {
  position: absolute; inset: 0; display: grid; justify-items: center; align-content: start; gap: 3px;
  opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.ph-mcap.is-active { opacity: 1; transform: none; }
.ph-mcap small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ph-red); }
.ph-mcap strong { font-size: clamp(18px, 5vw, 24px); font-weight: 800; letter-spacing: -.02em; color: var(--ph-navy); line-height: 1.15; }
.ph-mcaps__bar { width: 120px; height: 3px; margin: 8px auto 0; border-radius: 3px; background: rgba(230,0,0,.15); overflow: hidden; }
.ph-mcaps__bar span { display: block; width: 100%; height: 100%; background: var(--ph-red); transform-origin: left; transform: scaleX(0); }

/* narrow phones: the scene is scaled down, so enlarge the floating UI to stay readable */
.ph-root.ph-narrow .ph-card { font-size: 16px; padding: 16px 20px; }
.ph-root.ph-narrow .ph-card small { font-size: 14px; }
.ph-root.ph-narrow .ph-card--promo { width: 300px; }
.ph-root.ph-narrow .ph-card--promo b { font-size: 17px; }
.ph-root.ph-narrow .ph-card--promo em { font-size: 13px; }
.ph-root.ph-narrow .ph-card--notify { width: 320px; }
.ph-root.ph-narrow .ph-card--notify b { font-size: 16px; }
.ph-root.ph-narrow .ph-card__icon { width: 44px; height: 44px; }
.ph-root.ph-narrow .ph-pill { font-size: 19px; padding: 14px 22px 14px 14px; }

/* ------------------------------------------------------------------ preload / no-JS safety */
.ph-preload .ph-intro,
.ph-preload .ph-device-wrap,
.ph-preload .ph-float,
.ph-preload .ph-ribbon,
.ph-preload .ph-pedestal,
.ph-preload .ph-card--stat { opacity: 0; animation: ph-failsafe .6s 2.5s forwards; }
@keyframes ph-failsafe { to { opacity: 1; } }

/* ------------------------------------------------------------------ solutions */
.ph-root .ph-solutions { position: relative; background: linear-gradient(180deg, #fff 0%, #FFF7F8 100%); padding-block: clamp(40px, 5vw, 72px) clamp(72px, 10vw, 140px); }
.ph-root .ph-solutions__inner { max-width: 1200px; margin: 0 auto; padding-inline: clamp(20px, 4.5vw, 72px); text-align: center; }
.ph-root .ph-solutions__title { margin: 0 0 16px; font-family: var(--ph-font); font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: var(--ph-navy); }
.ph-root .ph-solutions__title span { color: var(--ph-red); }
.ph-root .ph-solutions__lead { margin: 0 auto 56px; max-width: 40em; color: var(--ph-ink-2); font-size: 1.08rem; }
.ph-root .ph-sol-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; text-align: left; }
.ph-root .ph-sol {
  position: relative; padding: 34px; border-radius: 28px; background: #fff;
  box-shadow: 0 30px 60px -30px rgba(120, 20, 40, .25), inset 0 0 0 1px #f6dde1;
  overflow: hidden;
}
.ph-root .ph-sol::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; }
.ph-root .ph-sol--sms::before { background: linear-gradient(90deg, var(--ph-sms), #6fb0ff); }
.ph-root .ph-sol--wa::before { background: linear-gradient(90deg, #12a64a, var(--ph-wa)); }
.ph-root .ph-sol__head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.ph-root .ph-sol h3 { margin: 0 0 2px; font-family: var(--ph-font); font-size: 1.35rem; font-weight: 800; color: var(--ph-navy); letter-spacing: -.01em; }
.ph-root .ph-sol__head p { margin: 0; color: #6b7280; font-size: .95rem; }
.ph-root .ph-sol__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.ph-root .ph-sol__list li { margin: 0; position: relative; padding-left: 28px; color: #5b6473; font-size: .95rem; line-height: 1.5; }
.ph-root .ph-sol__list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--ph-blush); box-shadow: inset 0 0 0 5px var(--ph-red); }
.ph-root .ph-sol__list b { display: block; color: var(--ph-navy); font-weight: 700; }
.ph-root .ph-sol__link { display: inline-flex; align-items: center; gap: 8px; color: var(--ph-red); font-weight: 700; text-decoration: none; }
.ph-root .ph-sol__link svg { width: 18px; height: 18px; transition: transform .25s; }
.ph-root .ph-sol__link:hover { color: #b30000; }
.ph-root .ph-sol__link:hover svg { transform: translateX(4px); }

/* ================================================================== HOME SECTIONS (templates/sections.html) */
.ph-root .ph-sec { position: relative; padding-block: clamp(64px, 9vw, 128px); font-family: var(--ph-font); color: var(--ph-navy); }
.ph-root .ph-sec__inner { position: relative; max-width: 1240px; margin: 0 auto; padding-inline: clamp(20px, 4.5vw, 72px); }
.ph-root .ph-sec__head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 64px); }
.ph-root .ph-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ph-red);
}
.ph-root .ph-kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.ph-root .ph-sec__head .ph-kicker::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.ph-root .ph-h2 {
  margin: 0 0 18px; font-family: var(--ph-font); font-size: clamp(2rem, 3.6vw, 3.3rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -.03em; color: var(--ph-navy); text-wrap: balance;
}
.ph-root .ph-h2 span { color: var(--ph-red); }
.ph-root .ph-body { margin: 0 0 16px; font-size: clamp(1rem, 1.15vw, 1.08rem); line-height: 1.7; color: var(--ph-ink-2); }
.ph-root .ph-body--strong { color: var(--ph-navy); font-weight: 700; margin-bottom: 12px; }
.ph-root .ph-btn--light { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.ph-root .ph-btn--light:hover { background: #fff; color: var(--ph-navy); transform: translateY(-2px); }

/* ---- about */
.ph-root .ph-about { background: #fff; overflow: hidden; }
.ph-root .ph-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ph-root .ph-about__visual { position: relative; padding: 0 0 70px 0; }
.ph-root .ph-about__panel {
  position: relative; border-radius: 28px; padding: 26px 26px 24px;
  background: linear-gradient(160deg, #1d2b45 0%, #18243A 55%, #10192b 100%);
  box-shadow: 0 40px 80px -30px rgba(24,36,58,.55), inset 0 1px 0 rgba(255,255,255,.08);
  color: #fff; overflow: hidden;
}
.ph-root .ph-about__panel::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,0,0,.55), rgba(230,0,0,0) 70%);
}
.ph-root .ph-about__panel-head { position: relative; display: flex; align-items: center; gap: 6px; margin-bottom: 22px; }
.ph-root .ph-about__panel-head span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.ph-root .ph-about__panel-head span:first-child { background: #ff5f57; }
.ph-root .ph-about__panel-head b { margin-left: 10px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.75); }
.ph-root .ph-funnel { position: relative; list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.ph-root .ph-funnel li { margin: 0; display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; font-size: 13px; color: rgba(255,255,255,.8); }
.ph-root .ph-funnel i { display: block; height: 12px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; position: relative; }
.ph-root .ph-funnel i::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: var(--w); border-radius: 6px;
  background: linear-gradient(90deg, #E60000, #ff5a68);
  transform: scaleX(var(--ph-grow, 0)); transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.ph-root .ph-funnel li:nth-child(2) i::after { transition-delay: .12s; }
.ph-root .ph-funnel li:nth-child(3) i::after { transition-delay: .24s; }
.ph-root .ph-funnel li:nth-child(4) i::after { transition-delay: .36s; }
.ph-root .ph-about__visual.is-in .ph-funnel { --ph-grow: 1; }
.ph-root .ph-about__channels { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.ph-root .ph-chan { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.ph-root .ph-chan svg { width: 15px; height: 15px; }
.ph-root .ph-chan--wa svg { color: #25D366; }
.ph-root .ph-chan--sms svg { color: #5aa2ff; }
.ph-root .ph-chan--mail svg { color: #ffb44d; }
.ph-root .ph-chan--rcs svg { color: #c79bff; }
.ph-root .ph-about__badge {
  position: absolute; left: 24px; right: 30%; bottom: 0; display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; border-radius: 22px; background: #fff;
  box-shadow: 0 24px 50px -18px rgba(200,30,50,.35), 0 0 0 1px #f6d4d9;
}
.ph-root .ph-about__badge > b { font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--ph-red); }
.ph-root .ph-about__badge > span { font-size: 15px; font-weight: 800; color: var(--ph-navy); line-height: 1.2; }
.ph-root .ph-about__badge small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--ph-ink-2); line-height: 1.4; }
.ph-root .ph-about__tile { position: absolute; right: -26px; top: -92px; width: clamp(96px, 10vw, 130px); animation: ph-bob 6s ease-in-out infinite; }
.ph-root .ph-about__tile img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 22px rgba(18,140,60,.25)); }
.ph-root .ph-checks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.ph-root .ph-checks li { position: relative; margin: 0; padding-left: 32px; font-size: 1rem; line-height: 1.55; color: var(--ph-navy); }
.ph-root .ph-checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px;
  background: var(--ph-blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='%23E60000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
  box-shadow: inset 0 0 0 1px #f8cdd3;
}
.ph-root .ph-quote {
  margin: 0 0 28px; padding: 18px 22px; border-left: 4px solid var(--ph-red); border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, #fff1f3, rgba(255,241,243,0));
  font-size: 1.02rem; font-weight: 600; font-style: italic; line-height: 1.6; color: var(--ph-navy);
}

.ph-root .ph-about .ph-h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
.ph-root .ph-why .ph-kicker { font-size: 12px; letter-spacing: .08em; }

/* ---- what sets us apart (apart="yes"): bento of tiles with live mini-visuals */
.ph-root .ph-apart {
  background:
    radial-gradient(rgba(24,36,58,.07) 1px, transparent 1.2px) 0 0 / 22px 22px,
    linear-gradient(180deg, #fff 0%, #F7F8FB 100%);
}
.ph-root .ph-apart__lead { margin: 14px auto 0; max-width: 560px; font-size: 1.05rem; line-height: 1.65; color: var(--ph-ink-2); }
.ph-root .ph-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 1.7vw, 24px); }
.ph-root .ph-ap {
  --mx: 50%; --my: 0%;
  grid-column: span 2; position: relative; overflow: hidden; display: flex; flex-direction: column;
  border-radius: 26px; background: #fff;
  box-shadow: 0 0 0 1px #E9ECF2, 0 22px 44px -32px rgba(24,36,58,.35);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s, opacity .9s cubic-bezier(.2,.8,.2,1);
}
.ph-root .ph-ap--wide { grid-column: span 4; flex-direction: row; align-items: stretch; }
.ph-root .ph-ap--half { grid-column: span 3; }
.ph-root .ph-ap::before { /* pointer-follow glow */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(230,0,0,.07), transparent 60%);
}
.ph-root .ph-ap:hover::before { opacity: 1; }
.ph-root .ph-ap.is-in:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px #F4C6CC, 0 34px 60px -30px rgba(200,30,50,.35); }

.ph-root .ph-ap__vis {
  position: relative; overflow: hidden; height: 190px; margin: 10px 10px 0; border-radius: 18px;
  background: linear-gradient(160deg, #FFF4F5 0%, #F6F7FB 70%);
}
.ph-root .ph-ap--wide .ph-ap__vis { flex: 1 1 54%; height: auto; min-height: 250px; margin: 10px 0 10px 10px; }
.ph-root .ph-ap__body { position: relative; padding: 22px 26px 28px; }
.ph-root .ph-ap--wide .ph-ap__body { flex: 1 1 46%; align-self: center; padding: 30px 34px; }
.ph-root .ph-ap__tag { display: inline-block; margin-bottom: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ph-red); }
.ph-root .ph-ap h3 { margin: 0 0 8px; font-size: 1.22rem; font-weight: 800; line-height: 1.25; letter-spacing: -.015em; color: var(--ph-navy); }
.ph-root .ph-ap--wide h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.ph-root .ph-ap p { margin: 0; font-size: .95rem; line-height: 1.65; color: var(--ph-ink-2); }

/* 1 · delivery: bubble + Sent / Delivered / Read track */
.ph-root .ph-vis-deliver { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 24px 26px; }
.ph-root .ph-vd__chips { display: flex; gap: 8px; }
.ph-root .ph-vd__chip { padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #fff; }
.ph-root .ph-vd__chip--sms { background: var(--ph-sms); }
.ph-root .ph-vd__chip--wa { background: #1fb956; }
.ph-root .ph-vd__bubble {
  max-width: 300px; padding: 13px 16px; border-radius: 16px 16px 16px 4px; background: #fff; font-size: 13.5px; line-height: 1.5; color: var(--ph-navy);
  box-shadow: 0 12px 26px -16px rgba(24,36,58,.4);
  opacity: 0; transform: translateY(12px) scale(.96); transform-origin: 0 100%; transition: opacity .6s .25s, transform .6s .25s cubic-bezier(.2,.8,.2,1);
}
.ph-root .ph-vd__track { position: relative; display: flex; justify-content: space-between; max-width: 300px; margin: 0; padding: 0; list-style: none; }
.ph-root .ph-vd__track::before, .ph-root .ph-vd__track::after { content: ""; position: absolute; left: 9px; right: 9px; top: 8px; height: 3px; border-radius: 3px; background: #E6E8EF; }
.ph-root .ph-vd__track::after { background: linear-gradient(90deg, #E60000, #ff5a68); transform: scaleX(0); transform-origin: left; transition: transform 1.6s .7s cubic-bezier(.6,0,.2,1); }
.ph-root .ph-vd__track li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: #8a93a6; }
.ph-root .ph-vd__track li:first-child { justify-items: start; }
.ph-root .ph-vd__track li:last-child { justify-items: end; }
.ph-root .ph-vd__track i { width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px #E6E8EF; transition: background .3s, box-shadow .3s; }
.ph-root .ph-vd__track li:nth-child(1) i { transition-delay: .7s; }
.ph-root .ph-vd__track li:nth-child(2) i { transition-delay: 1.5s; }
.ph-root .ph-vd__track li:nth-child(3) i { transition-delay: 2.3s; }
.ph-root .is-in .ph-vd__bubble { opacity: 1; transform: none; }
.ph-root .is-in .ph-vd__track::after { transform: scaleX(1); }
.ph-root .is-in .ph-vd__track i { background: var(--ph-red); box-shadow: inset 0 0 0 5px #fff, 0 0 0 2px var(--ph-red); }
.ph-root .is-in .ph-vd__track li { color: var(--ph-navy); }

/* 2 · analytics: growing bars + live dot */
.ph-root .ph-vis-chart { display: flex; flex-direction: column; padding: 18px 20px 0; }
.ph-root .ph-vc__head { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--ph-navy); }
.ph-root .ph-vc__head span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: #fff; font-size: 11px; font-weight: 800; color: #1a9a4a; }
.ph-root .ph-vc__head span i { width: 7px; height: 7px; border-radius: 50%; background: #1fb956; animation: ph-live 1.6s ease-out infinite; }
@keyframes ph-live { 0% { box-shadow: 0 0 0 0 rgba(31,185,86,.55); } 100% { box-shadow: 0 0 0 8px rgba(31,185,86,0); } }
.ph-root .ph-vc__bars { flex: 1; display: flex; align-items: flex-end; gap: 9px; padding-top: 14px; }
.ph-root .ph-vc__bars i {
  flex: 1; height: var(--h); border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #ff5a68, #E60000);
  transform: scaleY(0); transform-origin: bottom; transition: transform 1s cubic-bezier(.2,.8,.2,1);
}
.ph-root .ph-vc__bars i:nth-child(odd) { background: linear-gradient(180deg, #2a3a5c, #18243A); }
.ph-root .ph-vc__bars i:nth-child(2) { transition-delay: .08s; } .ph-root .ph-vc__bars i:nth-child(3) { transition-delay: .16s; }
.ph-root .ph-vc__bars i:nth-child(4) { transition-delay: .24s; } .ph-root .ph-vc__bars i:nth-child(5) { transition-delay: .32s; }
.ph-root .ph-vc__bars i:nth-child(6) { transition-delay: .4s; }  .ph-root .ph-vc__bars i:nth-child(7) { transition-delay: .48s; }
.ph-root .is-in .ph-vc__bars i { transform: scaleY(1); }

/* 3 · security: shield + scan line + pills */
.ph-root .ph-vis-secure { display: grid; place-items: center; }
.ph-root .ph-vs__shield { width: 84px; height: 96px; filter: drop-shadow(0 16px 20px rgba(230,0,0,.3)); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ph-root .ph-ap:hover .ph-vs__shield { transform: scale(1.07) rotate(-4deg); }
.ph-root .ph-vs__scan { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(180deg, transparent, rgba(230,0,0,.12), transparent); animation: ph-scan 3.2s ease-in-out infinite; }
@keyframes ph-scan { 0%, 100% { transform: translateY(-40px); } 50% { transform: translateY(190px); } }
.ph-root .ph-vs__pill { position: absolute; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 11.5px; font-weight: 800; color: var(--ph-navy); box-shadow: 0 10px 22px -14px rgba(24,36,58,.5); animation: ph-bob 5s ease-in-out infinite; }
.ph-root .ph-vs__pill::before { content: "✓"; margin-right: 6px; color: #1fb956; }
.ph-root .ph-vs__pill--a { left: 9%; top: 22%; }
.ph-root .ph-vs__pill--b { right: 8%; bottom: 20%; animation-delay: -2.5s; }

/* 4 · support: chat + typing */
.ph-root .ph-vis-support { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px 20px; }
.ph-root .ph-vsp__badge { position: absolute; right: 14px; top: 14px; padding: 5px 10px; border-radius: 10px; background: var(--ph-navy); font-size: 12px; font-weight: 800; color: #fff; }
.ph-root .ph-vsp__msg { max-width: 82%; padding: 9px 13px; font-size: 12.5px; line-height: 1.45; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s cubic-bezier(.2,.8,.2,1); }
.ph-root .ph-vsp__msg--in { align-self: flex-start; border-radius: 14px 14px 14px 4px; background: #fff; color: var(--ph-navy); box-shadow: 0 8px 18px -12px rgba(24,36,58,.4); transition-delay: .3s; }
.ph-root .ph-vsp__msg--out { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--ph-red); color: #fff; transition-delay: 1.1s; }
.ph-root .ph-vsp__typing { align-self: flex-start; display: flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: #fff; opacity: 0; transition: opacity .4s 1.8s; }
.ph-root .ph-vsp__typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa3b5; animation: ph-type 1.2s ease-in-out infinite; }
.ph-root .ph-vsp__typing i:nth-child(2) { animation-delay: .15s; } .ph-root .ph-vsp__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ph-type { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.ph-root .is-in .ph-vsp__msg { opacity: 1; transform: none; }
.ph-root .is-in .ph-vsp__typing { opacity: 1; }

/* 5 · api: code card */
.ph-root .ph-vis-api { display: grid; place-items: center; background: linear-gradient(160deg, #1d2b45, #10192b); }
.ph-root .ph-vis-api pre {
  margin: 0; font: 600 12.5px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #c9d2e3; white-space: pre;
}
.ph-root .ph-vis-api .k { color: #ff6b78; } .ph-root .ph-vis-api .s { color: #8fb8ff; } .ph-root .ph-vis-api .v { color: #ffd38a; }
.ph-root .ph-vis-api .ok { color: #4ade80; }
.ph-root .ph-vis-api::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent); transform: translateX(-100%); }
.ph-root .ph-ap:hover .ph-vis-api::after { transform: translateX(100%); transition: transform 1s; }

/* 6 · scale: curve draws in */
.ph-root .ph-vis-scale { padding: 26px 22px 0; }
.ph-root .ph-vis-scale svg { position: absolute; left: 0; right: 0; bottom: 30px; width: 100%; height: 120px; }
.ph-root .ph-vsc__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s .3s cubic-bezier(.6,0,.2,1); }
.ph-root .ph-vsc__area { opacity: 0; transition: opacity 1s 1.2s; }
.ph-root .is-in .ph-vsc__line { stroke-dashoffset: 0; }
.ph-root .is-in .ph-vsc__area { opacity: 1; }
.ph-root .ph-vsc__ticks { position: absolute; left: 22px; right: 22px; bottom: 8px; display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 800; color: #8a93a6; }
.ph-root .ph-vsc__ticks span:last-child { color: var(--ph-red); }

/* closing CTA tile */
.ph-root .ph-ap--cta {
  justify-content: space-between; gap: 26px; padding: clamp(28px, 3vw, 40px);
  background: radial-gradient(120% 90% at 100% 0%, #ff4a5a 0%, transparent 55%), linear-gradient(140deg, #E60000 0%, #b5001a 100%);
  box-shadow: 0 30px 60px -30px rgba(200,0,20,.6);
}
.ph-root .ph-ap--cta::after { content: ""; position: absolute; right: -70px; bottom: -110px; width: 280px; height: 280px; border-radius: 50%; border: 44px solid rgba(255,255,255,.08); pointer-events: none; }
.ph-root .ph-ap--cta.is-in:hover { box-shadow: 0 40px 70px -30px rgba(200,0,20,.7); }
.ph-root .ph-ap__quote { position: relative; margin: 0; font-size: clamp(1.55rem, 2.5vw, 2.2rem) !important; font-weight: 800; line-height: 1.18 !important; letter-spacing: -.025em; color: #fff !important; }
.ph-root .ph-ap__quote span { display: block; color: #ffd0d5; }
.ph-root .ph-ap--cta .ph-btn { position: relative; z-index: 3; align-self: flex-start; }

.ph-root.ph-sec-js .ph-sec .ph-ap.is-in { transition: transform .7s cubic-bezier(.2,.8,.2,1), box-shadow .5s, opacity .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
@media (max-width: 1100px) {
  .ph-root .ph-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-root .ph-ap, .ph-root .ph-ap--half { grid-column: span 1; }
  .ph-root .ph-ap--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .ph-root .ph-bento { grid-template-columns: minmax(0, 1fr); }
  .ph-root .ph-ap, .ph-root .ph-ap--half, .ph-root .ph-ap--wide { grid-column: auto; }
  .ph-root .ph-ap--wide { flex-direction: column; }
  .ph-root .ph-ap--wide .ph-ap__vis { min-height: 220px; margin: 10px 10px 0; }
  .ph-root .ph-ap--wide .ph-ap__body { padding: 22px 26px 28px; }
  .ph-root .ph-apart .ph-kicker { font-size: 11px; letter-spacing: .06em; }
  .ph-root .ph-apart .ph-kicker::before, .ph-root .ph-apart .ph-kicker::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-root .ph-vs__scan, .ph-root .ph-vs__pill, .ph-root .ph-vsp__typing i, .ph-root .ph-vc__head span i { animation: none; }
}

/* ---- core features */
.ph-root .ph-features { background: linear-gradient(180deg, #FFF7F8 0%, #fff 100%); }
.ph-root .ph-feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ph-root .ph-feat {
  --mx: 50%; --my: 0%;
  position: relative; padding: 30px 26px 28px; border-radius: 24px; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 1px #f3dde0, 0 18px 40px -26px rgba(24,36,58,.35);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, opacity .9s cubic-bezier(.2,.8,.2,1);
}
.ph-root .ph-feat::before { /* pointer-follow glow */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(230,0,0,.09), transparent 60%);
}
.ph-root .ph-feat::after { /* red top line that sweeps in on hover */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #E60000, #ff5a68);
  transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.ph-root .ph-feat.is-in:hover { transform: translateY(-8px); box-shadow: 0 0 0 1px #f6c9cf, 0 34px 60px -28px rgba(200,30,50,.4); }
.ph-root .ph-feat:hover::before { opacity: 1; }
.ph-root .ph-feat:hover::after { transform: scaleX(1); }
.ph-root .ph-feat__no { position: absolute; right: 22px; top: 18px; font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: #f6e3e6; }
.ph-root .ph-feat__icon {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 18px;
  background: linear-gradient(150deg, #ff4a5a, #E60000 60%, #b80012); color: #fff;
  box-shadow: 0 14px 26px -10px rgba(230,0,0,.6), inset 0 2px 0 rgba(255,255,255,.35);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.ph-root .ph-feat:hover .ph-feat__icon { transform: rotate(-8deg) scale(1.06); }
.ph-root .ph-feat__icon svg { width: 28px; height: 28px; }
.ph-root .ph-feat h3 { position: relative; margin: 0 0 14px; font-size: 1.15rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: var(--ph-navy); }
.ph-root .ph-feat ul { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ph-root .ph-feat li { position: relative; margin: 0; padding-left: 18px; font-size: .95rem; line-height: 1.5; color: var(--ph-ink-2); }
.ph-root .ph-feat li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--ph-red); box-shadow: 0 0 0 3px #fde3e6; }

/* ---- CTA band */
.ph-root .ph-ctaband { padding-block: clamp(24px, 4vw, 56px); background: #fff; }
.ph-root .ph-ctaband__panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 24px;
  padding: clamp(36px, 5vw, 64px); border-radius: 32px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #26365a 0%, #18243A 45%, #0f1726 100%);
  box-shadow: 0 50px 90px -40px rgba(24,36,58,.7);
}
.ph-root .ph-ctaband__glow {
  position: absolute; left: 30%; right: -10%; bottom: -60%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(230,0,0,.55), rgba(230,0,0,0)); filter: blur(10px);
  animation: ph-ctaglow 9s ease-in-out infinite alternate;
}
@keyframes ph-ctaglow { to { transform: translate3d(-12%, -8%, 0) scale(1.15); } }
.ph-root .ph-ctaband__copy { position: relative; }
.ph-root .ph-ctaband h2 { margin: 0 0 12px; font-size: clamp(2rem, 3.8vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; color: #fff; }
.ph-root .ph-ctaband h2 span { background: linear-gradient(92deg, #ff4a5a, #ff8a95); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ph-root .ph-ctaband p { margin: 0 0 30px; font-size: clamp(1.02rem, 1.4vw, 1.25rem); color: rgba(255,255,255,.78); }
.ph-root .ph-ctaband__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.ph-root .ph-ctaband__art { position: relative; height: clamp(200px, 22vw, 280px); }
.ph-root .ph-ctaband__ring {
  position: absolute; left: 50%; top: 50%; width: 92%; aspect-ratio: 2.4; transform: translate(-50%, -50%) rotate(-14deg);
  border-radius: 50%; border: 10px solid rgba(255,90,104,.55); box-shadow: 0 0 40px rgba(230,0,0,.45), inset 0 0 30px rgba(230,0,0,.3);
}
.ph-root .ph-ctaband__ico { position: absolute; height: auto; animation: ph-bob 6s ease-in-out infinite; }
.ph-root .ph-ctaband__ico--wa { width: 38%; left: 8%; top: 4%; }
.ph-root .ph-ctaband__ico--sms { width: 34%; right: 6%; top: 30%; animation-delay: -2s; }
.ph-root .ph-ctaband__ico--plane { width: 26%; left: 38%; bottom: 0; animation-delay: -4s; }

/* ---- why choose us */
.ph-root .ph-why { background: linear-gradient(180deg, #fff 0%, #FFF4F6 100%); overflow: hidden; }
.ph-root .ph-why__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.ph-root .ph-why__intro .ph-body { max-width: 30em; margin-bottom: 30px; }
.ph-root .ph-why__bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ph-root .ph-why__item {
  position: relative; padding: 24px 24px 22px; border-radius: 22px; background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 1px #f3dde0, 0 16px 34px -24px rgba(24,36,58,.35);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, opacity .9s cubic-bezier(.2,.8,.2,1);
}
.ph-root .ph-why__item.is-in:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px #f6c9cf, 0 28px 50px -26px rgba(200,30,50,.4); }
.ph-root .ph-why__item i { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 14px; background: var(--ph-blush); color: var(--ph-red); box-shadow: inset 0 0 0 1px #f8cdd3; }
.ph-root .ph-why__item i svg { width: 23px; height: 23px; }
.ph-root .ph-why__item h3 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 800; color: var(--ph-navy); }
.ph-root .ph-why__item p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--ph-ink-2); }
.ph-root .ph-why__item--hero {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center;
  background: linear-gradient(135deg, #E60000 0%, #c20015 100%); color: #fff;
  box-shadow: 0 30px 60px -28px rgba(230,0,0,.7);
}
.ph-root .ph-why__item--hero i { grid-row: span 2; margin: 0; width: 60px; height: 60px; border-radius: 18px; background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.ph-root .ph-why__item--hero i svg { width: 30px; height: 30px; }
.ph-root .ph-why__item--hero h3 { color: #fff; font-size: 1.3rem; align-self: end; }
.ph-root .ph-why__item--hero p { color: rgba(255,255,255,.85); align-self: start; }

/* ---- trusted clients (only rendered when logos exist in assets/img/clients/) */
.ph-root .ph-clients { padding-block: clamp(48px, 6vw, 80px); background: #fff; }
.ph-root .ph-clients .ph-sec__head { margin-bottom: 30px; }
.ph-root .ph-marquee { overflow: hidden; padding-block: 14px 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ph-root .ph-marquee__track { display: flex; width: max-content; animation: ph-marquee 32s linear infinite; }
.ph-root .ph-marquee:hover .ph-marquee__track { animation-play-state: paused; }
@keyframes ph-marquee { to { transform: translateX(-50%); } }
.ph-root .ph-logo { flex: none; display: grid; place-items: center; width: 220px; height: 104px; margin-right: 22px; padding: 12px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #EEF0F4, 0 16px 30px -20px rgba(24,36,58,.3); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.ph-root .ph-logo:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #F4C6CC, 0 22px 36px -20px rgba(200,30,50,.3); }
.ph-root .ph-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 72px; object-fit: contain; }

/* scroll reveal: JS adds .ph-sec-js to the root, then .is-in per element */
.ph-root.ph-sec-js .ph-sec [data-ph-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.ph-root.ph-sec-js .ph-sec [data-ph-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .ph-root .ph-feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .ph-root .ph-about__grid, .ph-root .ph-why__grid { grid-template-columns: minmax(0, 1fr); }
  .ph-root .ph-about__visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .ph-root .ph-ctaband__panel { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .ph-root .ph-ctaband__btns { justify-content: center; }
  .ph-root .ph-ctaband__art { order: -1; height: 180px; max-width: 420px; width: 100%; margin: 0 auto; }
  .ph-root .ph-why__intro { text-align: center; }
  .ph-root .ph-why__intro .ph-body { margin-inline: auto; }
}
@media (max-width: 640px) {
  .ph-root .ph-feat-grid, .ph-root .ph-why__bento { grid-template-columns: minmax(0, 1fr); }
  .ph-root .ph-about__badge { position: relative; left: auto; right: auto; margin: -36px 16px 0; }
  .ph-root .ph-about__visual { padding-bottom: 0; }
  .ph-root .ph-about__panel { padding-bottom: 56px; }
  .ph-root .ph-about__tile { display: none; }
  .ph-root .ph-funnel li { grid-template-columns: 92px 1fr; font-size: 12px; }
  .ph-root .ph-ctaband__btns .ph-btn { width: 100%; }
  .ph-root .ph-ctaband__panel { border-radius: 24px; }
  .ph-root .ph-why__item--hero { grid-template-columns: 1fr; }
  .ph-root .ph-why__item--hero i { grid-row: auto; margin-bottom: 14px; }
  .ph-root .ph-logo { width: 170px; height: 84px; margin-right: 14px; }
  .ph-root .ph-logo img { max-height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-root.ph-sec-js .ph-sec [data-ph-reveal] { opacity: 1; transform: none; }
  .ph-root .ph-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 18px; }
  .ph-root .ph-logo[aria-hidden="true"] { display: none; }
  .ph-root .ph-marquee { -webkit-mask-image: none; mask-image: none; }
  .ph-root .ph-funnel { --ph-grow: 1; }
}

/* once revealed, hover lifts use their own quick timing */
.ph-root.ph-sec-js .ph-sec .ph-feat.is-in { transition: transform .7s cubic-bezier(.2,.8,.2,1), box-shadow .45s, opacity .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.ph-root.ph-sec-js .ph-sec .ph-why__item.is-in { transition: transform .7s cubic-bezier(.2,.8,.2,1), box-shadow .4s, opacity .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }

/* ---- section illustrations (filled by the student screen set, assets/img/edu/) */
.ph-root .ph-media { position: relative; margin: 0; overflow: hidden; background: #FDF1F3; }
.ph-root .ph-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.8,.2,1); }

/* features: picture on top, icon tile overlapping its bottom edge */
.ph-root .ph-feat .ph-media { margin: -16px -12px 0; border-radius: 18px; aspect-ratio: 2 / 1; }
.ph-root .ph-feat:hover .ph-media img { transform: scale(1.05); }
.ph-root .ph-feat .ph-media ~ .ph-feat__no { display: none; }
.ph-root .ph-feat .ph-media ~ .ph-feat__icon { z-index: 1; margin-top: -29px; margin-left: 4px; box-shadow: 0 0 0 5px #fff, 0 14px 26px -10px rgba(230,0,0,.6), inset 0 2px 0 rgba(255,255,255,.35); }


/* about: the illustration takes the place of the dark pipeline panel */
.ph-root .ph-about__visual > .ph-media { border-radius: 28px; aspect-ratio: 512 / 334; box-shadow: 0 40px 80px -34px rgba(200,30,50,.45), 0 0 0 1px #F6D9DD; }
.ph-root .ph-about__visual > .ph-media ~ .ph-about__panel { display: none; }
.ph-root .ph-about__visual:has(> .ph-media) { padding-bottom: 72px; }
.ph-root .ph-about__visual > .ph-media ~ .ph-about__badge { left: -18px; right: auto; max-width: 340px; }

@media (max-width: 640px) {
  .ph-root .ph-about__visual:has(> .ph-media) { padding-bottom: 0; }
  .ph-root .ph-about__visual > .ph-media ~ .ph-about__badge { left: 0; margin: -16px 14px 0; }
}

/* ---- why choose us, student set (templates/why-student.html): numbered reasons + one large picture.
   No cards on purpose: hairline rows and a single framed stage, so it reads differently from the
   features / "what sets us apart" grids above it. */
.ph-root .ph-reasons {
  /* header and body share one column grid, so the intro lines up with the list below it */
  --ph-reasons-cols: minmax(0, 1fr) minmax(0, 1.05fr); --ph-reasons-gap: clamp(40px, 6vw, 96px);
  --ph-line: #F1D3D8; background: linear-gradient(180deg, #fff 0%, #FFF4F6 100%); overflow: hidden; overflow: clip; }

/* split header: title left, intro + button right, closed by a hairline */
.ph-root .ph-reasons__head {
  display: grid; grid-template-columns: var(--ph-reasons-cols); align-items: end; gap: 20px var(--ph-reasons-gap);
  margin-bottom: clamp(36px, 4.5vw, 64px);
}
.ph-root .ph-reasons .ph-kicker { font-size: 12px; letter-spacing: .1em; }
.ph-root .ph-reasons .ph-h2 { margin: 0; }
.ph-root .ph-reasons__intro .ph-body { margin: 0; max-width: 34em; }

.ph-root .ph-reasons__body {
  display: grid; grid-template-columns: var(--ph-reasons-cols); align-items: start; gap: var(--ph-reasons-gap);
}

/* stage: a framed picture on a tilted blush plate */
.ph-root .ph-reasons__stage { position: relative; padding: 0 18px 22px 0; }
.ph-root .ph-reasons__stage::before {
  content: ""; position: absolute; inset: 9% 0 0 7%; border-radius: 34px;
  background: radial-gradient(circle at 1.5px 1.5px, rgba(230,0,0,.22) 1.5px, transparent 0) 0 0 / 18px 18px, linear-gradient(135deg, #FFE1E5, #FCE4E7);
  transform: rotate(3deg);
}
.ph-root .ph-reasons__frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #FDF1F3;
  box-shadow: 0 40px 80px -36px rgba(200,30,50,.5), 0 0 0 1px #F6D9DD;
}
.ph-root .ph-reasons__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity .6s ease, transform 1.4s cubic-bezier(.2,.8,.2,1);
}
.ph-root .ph-reasons__frame img.is-on { opacity: 1; transform: none; }
.ph-root .ph-reasons__count {
  position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.92); box-shadow: 0 10px 24px -14px rgba(24,36,58,.45);
  font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ph-ink-2); font-variant-numeric: tabular-nums;
}
.ph-root .ph-reasons__count b { color: var(--ph-red); font-weight: 800; }

/* closing call to action under the list */
.ph-root .ph-reasons__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 32px; }
.ph-root .ph-reasons__cta p { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.4; color: var(--ph-navy); }
.ph-root .ph-reasons__cta .ph-btn { flex: none; }

/* list: hairline rows, number + title, the open row shows its text and a progress line */
.ph-root .ph-reasons__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ph-line); }
.ph-root .ph-reason { position: relative; margin: 0; border-bottom: 1px solid var(--ph-line); }
.ph-root .ph-reason h3 { margin: 0; font: inherit; }
.ph-root .ph-reason__btn {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 36px; align-items: center; gap: 14px; width: 100%;
  margin: 0; padding: 22px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--ph-font); color: var(--ph-navy); -webkit-tap-highlight-color: transparent;
}
.ph-root .ph-reason__no { font-size: .95rem; font-weight: 800; letter-spacing: .06em; color: #C79AA2; font-variant-numeric: tabular-nums; transition: color .3s; }
.ph-root .ph-reason__title { font-size: clamp(1.1rem, 1.45vw, 1.4rem); font-weight: 800; line-height: 1.25; letter-spacing: -.015em; color: #5B6577; transition: color .3s; }
.ph-root .ph-reason__icon {
  position: relative; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ph-line);
  transition: background .3s, box-shadow .3s, transform .4s cubic-bezier(.2,.8,.2,1);
}
.ph-root .ph-reason__icon::before, .ph-root .ph-reason__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ph-red); transition: background .3s, transform .4s;
}
.ph-root .ph-reason__icon::after { transform: rotate(90deg); }
.ph-root .ph-reason__btn:hover .ph-reason__title { color: var(--ph-navy); }
.ph-root .ph-reason__btn:hover .ph-reason__icon { box-shadow: inset 0 0 0 1.5px #F2A7B1; }
.ph-root .ph-reason__btn:focus-visible { outline: 2px solid var(--ph-red); outline-offset: 4px; border-radius: 10px; }
.ph-root .ph-reason.is-open .ph-reason__no { color: var(--ph-red); }
.ph-root .ph-reason.is-open .ph-reason__title { color: var(--ph-navy); }
.ph-root .ph-reason.is-open .ph-reason__icon { background: var(--ph-red); box-shadow: 0 10px 20px -8px rgba(230,0,0,.55); transform: rotate(180deg); }
.ph-root .ph-reason.is-open .ph-reason__icon::before { background: #fff; }
.ph-root .ph-reason.is-open .ph-reason__icon::after { background: #fff; transform: rotate(0deg); }

.ph-root .ph-reason__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s cubic-bezier(.2,.8,.2,1); }
.ph-root .ph-reason__inner { min-height: 0; overflow: hidden; }
.ph-root .ph-reason__inner p { margin: -6px 50px 24px 66px; max-width: 34em; font-size: 1rem; line-height: 1.65; color: var(--ph-ink-2); }
.ph-root .ph-reason__media { display: none; margin: 0; overflow: hidden; background: #FDF1F3; }
.ph-root .ph-reason__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph-root .ph-reasons.is-js .ph-reason:not(.is-open) .ph-reason__panel { grid-template-rows: 0fr; }
.ph-root .ph-reasons.is-js .ph-reason:not(.is-open) .ph-reason__inner p { opacity: 0; }
.ph-root .ph-reason__inner p { transition: opacity .4s .1s; }

/* progress line under the open row: fills while auto-advancing, solid otherwise */
.ph-root .ph-reason__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; pointer-events: none; }
.ph-root .ph-reason__bar i { display: block; height: 100%; background: var(--ph-red); transform: scaleX(0); transform-origin: 0 50%; }
.ph-root .ph-reasons.is-js .ph-reason.is-open .ph-reason__bar i { transform: scaleX(1); transition: transform .5s; }
@keyframes ph-reason-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* tablets + desktop: auto-advance (JS listens for the end of this animation) */
@media (min-width: 860px) {
  .ph-root .ph-reasons.is-auto .ph-reason.is-open .ph-reason__bar i { animation: ph-reason-fill 6s linear forwards; animation-play-state: paused; }
  .ph-root .ph-reasons.is-auto.is-playing:not(.is-paused) .ph-reason.is-open .ph-reason__bar i { animation-play-state: running; }
}

@media (max-width: 1024px) {
  .ph-root .ph-reasons__head { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; }
  .ph-root .ph-reasons__intro .ph-body { max-width: 40em; }
  .ph-root .ph-reasons__body { gap: 36px; }
  .ph-root .ph-reason__inner p { margin-right: 0; }
}

/* phones: accordion, the picture sits inside the open row */
@media (max-width: 859px) {
  .ph-root .ph-reasons__body { grid-template-columns: minmax(0, 1fr); }
  .ph-root .ph-reasons__stage { display: none; }
  .ph-root .ph-reason__btn { grid-template-columns: 34px minmax(0, 1fr) 32px; gap: 10px; padding: 18px 0; }
  .ph-root .ph-reason__no { font-size: .85rem; }
  .ph-root .ph-reason__title { font-size: 1.08rem; }
  .ph-root .ph-reason__icon { width: 32px; height: 32px; }
  .ph-root .ph-reason__media { display: block; margin: 2px 0 14px; border-radius: 18px; aspect-ratio: 16 / 10; box-shadow: 0 0 0 1px #F6D9DD; }
  .ph-root .ph-reason__inner p { margin: 0 0 20px; font-size: .97rem; }
}
/* large phones / small tablets: picture beside the text instead of a full-width blow-up */
@media (min-width: 600px) and (max-width: 859px) {
  .ph-root .ph-reason__inner { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); align-items: center; gap: 24px; padding-left: 44px; }
  .ph-root .ph-reason__media { margin: 2px 0 22px; aspect-ratio: 4 / 3; }
  .ph-root .ph-reason__inner p { margin: 0; font-size: 1rem; }
}
@media (max-width: 640px) {
  .ph-root .ph-reasons .ph-kicker { font-size: 11px; letter-spacing: .08em; }
  .ph-root .ph-reasons__cta { flex-direction: column; align-items: stretch; text-align: center; }
  .ph-root .ph-reasons__cta .ph-btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-root .ph-reasons__frame img, .ph-root .ph-reason__panel, .ph-root .ph-reason__inner p { transition: none; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1280px) {
  .ph-root:where(:not(.ph-zoom)) .ph-benefit { padding: 0 14px; }
}

@media (max-width: 1024px) {
  .ph-root .ph-sol-grid { grid-template-columns: 1fr; }
}

/* stacked hero: phones and short screens on every page */
@media (max-width: 767px), (max-width: 939px) and (max-height: 619px) {
  .ph-root .ph-hero { height: auto; min-height: 0; max-height: none; }
  .ph-inner { grid-template-columns: minmax(0, 1fr); padding-block: calc(var(--ph-top-space-mobile, 0px) + clamp(32px, 6vw, 64px)) 0; gap: 0; }
  .ph-root .ph-copy { max-width: 680px; margin: 0 auto; text-align: center; padding-block: 0; }
  .ph-root .ph-ctas, .ph-root .ph-benefits { justify-content: center; }
  .ph-root .ph-slide { align-items: center; }
  .ph-root .ph-lead { margin-inline: auto; }
  .ph-stage { height: min(96vw, 640px); }
  .ph-fit { top: 50%; }
  .ph-bg__swoosh { width: 60vw; height: 22vh; }
  /* slides share one box sized by the tallest slide: centre each one so a shorter slide splits the spare
     space above and below (bottom-aligned left one big gap under the header) */
  .ph-root .ph-slide { justify-content: center; }
  .ph-root .ph-copy { padding-bottom: 22px; }
}

/* tablets: stacked hero too, except the student set (index3), which keeps the laptop composition scaled to fit */
@media (min-width: 768px) and (max-width: 1024px) and (min-height: 620px), (min-width: 940px) and (max-width: 1024px) {
  .ph-root:where(:not(.ph-s-student)) .ph-hero { height: auto; min-height: 0; max-height: none; }
  :where(.ph-root:not(.ph-s-student)) .ph-inner { grid-template-columns: minmax(0, 1fr); padding-block: calc(var(--ph-top-space-mobile, 0px) + clamp(32px, 6vw, 64px)) 0; gap: 0; }
  .ph-root:where(:not(.ph-s-student)) .ph-copy { max-width: 680px; margin: 0 auto; text-align: center; padding-block: 0; }
  .ph-root:where(:not(.ph-s-student)) .ph-ctas, .ph-root:where(:not(.ph-s-student)) .ph-benefits { justify-content: center; }
  .ph-root:where(:not(.ph-s-student)) .ph-slide { align-items: center; }
  .ph-root:where(:not(.ph-s-student)) .ph-lead { margin-inline: auto; }
  :where(.ph-root:not(.ph-s-student)) .ph-stage { height: min(96vw, 640px); }
  :where(.ph-root:not(.ph-s-student)) .ph-fit { top: 50%; }
  :where(.ph-root:not(.ph-s-student)) .ph-bg__swoosh { width: 60vw; height: 22vh; }
}

@media (max-width: 560px) {
  .ph-root .ph-eyebrow { gap: 7px; max-width: 100%; font-size: 10.5px; letter-spacing: .05em; line-height: 1.35; padding: 8px 13px 8px 10px; margin-bottom: 18px; text-wrap: balance; }
  .ph-root .ph-eyebrow svg { width: 15px; height: 15px; flex: none; }
  .ph-root .ph-title { font-size: clamp(2.15rem, 10.4vw, 2.9rem); }
  .ph-root .ph-title.ph-title--long { font-size: clamp(1.75rem, 7.9vw, 2.3rem); }
  .ph-root .ph-lead { font-size: .98rem; margin-bottom: 26px; }
  .ph-root .ph-ctas { flex-direction: column; align-items: stretch; margin-bottom: 30px; }
  .ph-root .ph-btn { width: 100%; }
  .ph-root .ph-benefit { padding: 0 8px; }
  .ph-root .ph-benefit__icon { width: 38px; height: 38px; margin: 0 auto 8px; }
  .ph-root .ph-benefit { text-align: center; }
  /* every label on two balanced lines, so the three columns line up */
  .ph-root .ph-benefit strong { display: block; max-width: 6.4em; margin-inline: auto; font-size: 12.5px; line-height: 1.3; text-wrap: balance; }
  .ph-root .ph-benefit small { display: none; }
  .ph-stage { height: 122vw; max-height: 560px; }
  .ph-root .ph-sol { padding: 26px 22px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .ph-root *, .ph-root *::before, .ph-root *::after { animation: none !important; transition: none !important; }
  .ph-preload .ph-intro, .ph-preload .ph-device-wrap, .ph-preload .ph-float,
  .ph-preload .ph-ribbon, .ph-preload .ph-pedestal, .ph-preload .ph-card--stat { opacity: 1; }
}

/* =========================================================================
   PHONE POLISH (<= 640px) - one type scale and rhythm for every section below the hero:
   headings 26-28px, body 15px / 1.6, card text 14px, 56px between sections.
   ========================================================================= */
.ph-root.ph-s-student .ph-sol-tabs { display: none; }
@media (max-width: 640px) {
  /* ---- 1. solutions: one channel at a time behind an SMS / WhatsApp switch */
  .ph-root.ph-s-student .ph-solutions { padding-block: 44px 56px; }
  .ph-root.ph-s-student .ph-solutions__title { font-size: 1.75rem; line-height: 1.12; margin-bottom: 12px; }
  .ph-root.ph-s-student .ph-solutions__lead { font-size: .95rem; line-height: 1.6; margin-bottom: 24px; }
  .ph-root.ph-s-student .ph-sol-tabs:not([hidden]) {
    position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 16px; padding: 5px;
    border-radius: 999px; background: #FCE8EB; box-shadow: inset 0 0 0 1px #F6D3D8;
  }
  .ph-root.ph-s-student .ph-sol-tabs::before { /* sliding thumb */
    content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px;
    background: #fff; box-shadow: 0 6px 16px -8px rgba(24,36,58,.35);
    transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .ph-root.ph-s-student .ph-sol-tabs button {
    position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px;
    margin: 0; padding: 0 10px; border: 0; border-radius: 999px; background: none; cursor: pointer;
    font: 700 .95rem/1 var(--ph-font); color: #7a5b61; transition: color .25s; -webkit-tap-highlight-color: transparent;
  }
  .ph-root.ph-s-student .ph-sol-tabs button img { width: 22px; height: 22px; object-fit: contain; }
  .ph-root.ph-s-student .ph-sol-tabs button[aria-selected="true"] { color: var(--ph-navy); }
  .ph-root.ph-s-student .ph-sol-tabs button:focus-visible { outline: 2px solid var(--ph-red); outline-offset: 2px; }
  .ph-root.ph-s-student .ph-sol-grid.is-tabbed .ph-sol:not(.is-on) { display: none; }
  .ph-root.ph-s-student .ph-sol { padding: 22px 18px 20px; border-radius: 20px; }
  .ph-root.ph-s-student .ph-sol__head { gap: 12px; margin-bottom: 16px; }
  .ph-root.ph-s-student .ph-sol__head .ph-tile { width: 48px; height: 48px; }
  .ph-root.ph-s-student .ph-sol h3 { font-size: 1.15rem; }
  .ph-root.ph-s-student .ph-sol__head p { font-size: .875rem; line-height: 1.45; }
  .ph-root.ph-s-student .ph-sol__list { gap: 12px; margin-bottom: 18px; }
  .ph-root.ph-s-student .ph-sol__list li { padding-left: 24px; font-size: .875rem; line-height: 1.45; }
  .ph-root.ph-s-student .ph-sol__list li::before { top: 3px; width: 14px; height: 14px; box-shadow: inset 0 0 0 4px var(--ph-red); }
  .ph-root.ph-s-student .ph-sol__list b { font-size: .95rem; margin-bottom: 1px; }
  .ph-root.ph-s-student .ph-sol__link { font-size: .95rem; }
}
@media (max-width: 640px) {
  /* ---- shared rhythm + type for the home sections */
  .ph-root.ph-s-student .ph-sec { padding-block: 56px; }
  .ph-root.ph-s-student .ph-sec__head { margin-bottom: 28px; }
  .ph-root.ph-s-student .ph-kicker { gap: 8px; margin-bottom: 10px; font-size: 11px; letter-spacing: .08em; line-height: 1.4; }
  .ph-root.ph-s-student .ph-kicker::before, .ph-root.ph-s-student .ph-sec__head .ph-kicker::after { width: 18px; flex: none; }
  .ph-root.ph-s-student .ph-h2 { margin-bottom: 14px; font-size: 1.75rem; line-height: 1.12; letter-spacing: -.025em; }
  .ph-root.ph-s-student .ph-body { font-size: .95rem; line-height: 1.6; margin-bottom: 12px; }

  /* ---- 2. about */
  .ph-root.ph-s-student .ph-about__grid { gap: 32px; }
  .ph-root.ph-s-student .ph-about__badge { padding: 14px 16px; }
  .ph-root.ph-s-student .ph-checks { gap: 8px; margin-bottom: 18px; }
  .ph-root.ph-s-student .ph-checks li { padding-left: 30px; font-size: .9rem; line-height: 1.5; }
  .ph-root.ph-s-student .ph-quote { margin: 0 0 22px; padding: 14px 16px; font-size: .95rem; line-height: 1.55; font-weight: 500; }
  .ph-root.ph-s-student .ph-about .ph-h2 { font-size: 1.75rem; }
  .ph-root.ph-s-student .ph-ctaband { padding-block: 8px; }
  .ph-root.ph-s-student .ph-ctaband__art { height: 150px; max-width: 300px; }
  .ph-root.ph-s-student .ph-ctaband__btns { gap: 10px; }
}

/* ---- PHONE: What Sets Us Apart as a showcase (assets/js/pragati-apart.js adds .is-show):
   one stage shows a single reason with its live scene, a 3x2 icon tab grid switches it, auto-advancing
   while on screen. Without JS the tiles simply stack. ---- */
.ph-root .ph-ap__ico, .ph-root .ph-ap-tabs { display: none; }
@media (max-width: 640px) {
  .ph-root.ph-s-student .ph-apart .ph-sec__head { margin-bottom: 22px; }
  .ph-root.ph-s-student .ph-apart__lead { margin-top: 10px; font-size: .95rem; line-height: 1.6; }
  .ph-root.ph-s-student .ph-ap { border-radius: 22px; }
  .ph-root.ph-s-student .ph-ap.is-in:hover { transform: none; }
  .ph-root.ph-s-student .ph-ap::before { display: none; }
  .ph-root.ph-s-student .ph-ap__vis, .ph-root.ph-s-student .ph-ap--wide .ph-ap__vis { flex: none; height: 190px; min-height: 0; margin: 8px 8px 0; border-radius: 16px; }
  .ph-root.ph-s-student .ph-ap__body, .ph-root.ph-s-student .ph-ap--wide .ph-ap__body { padding: 16px 18px 20px; align-self: stretch; }
  .ph-root.ph-s-student .ph-ap__tag { margin-bottom: 6px; font-size: 10.5px; }
  .ph-root.ph-s-student .ph-ap h3, .ph-root.ph-s-student .ph-ap--wide h3 { margin-bottom: 6px; font-size: 1.1rem; line-height: 1.28; }
  .ph-root.ph-s-student .ph-ap p { font-size: .9rem; line-height: 1.55; }
  .ph-root.ph-s-student .ph-ap--cta { gap: 18px; padding: 24px 22px; }
  .ph-root.ph-s-student .ph-ap__quote { font-size: 1.45rem !important; }

  /* showcase: every reason card shares one grid cell (the stage keeps the tallest card's height, so nothing jumps) */
  .ph-root.ph-s-student .ph-bento.is-show { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ph-root.ph-s-student .ph-bento.is-show .ph-ap:not(.ph-ap--cta) { grid-area: 1 / 1; box-shadow: 0 0 0 1px #F1E3E6, 0 26px 50px -30px rgba(24,36,58,.45); }
  .ph-root.ph-s-student.ph-sec-js .ph-sec .ph-bento.is-show .ph-ap:not(.ph-ap--cta),
  .ph-root.ph-s-student .ph-bento.is-show .ph-ap:not(.ph-ap--cta) { opacity: 0; visibility: hidden; transform: translateX(18px); transition: opacity .45s cubic-bezier(.2,.8,.2,1), transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s .45s; }
  .ph-root.ph-s-student.ph-sec-js .ph-sec .ph-bento.is-show .ph-ap.is-on,
  .ph-root.ph-s-student .ph-bento.is-show .ph-ap.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  .ph-root.ph-s-student .ph-bento.is-show .ph-ap.is-back { transform: translateX(-18px); }
  .ph-root.ph-s-student .ph-bento.is-show .ph-ap--cta { grid-row: 3; }

  /* tab grid */
  .ph-root.ph-s-student .ph-bento.is-show .ph-ap-tabs { grid-row: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ph-root.ph-s-student .ph-ap-tabs button { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 12px 4px 11px; border: 0; border-radius: 16px; cursor: pointer;
    font-family: var(--ph-font); font-size: 11.5px; font-weight: 700; line-height: 1.2; color: var(--ph-ink-2); background: #fff; box-shadow: 0 0 0 1px #EDE3E5;
    -webkit-tap-highlight-color: transparent; transition: background-color .3s, color .3s, box-shadow .3s, transform .2s; }
  .ph-root.ph-s-student .ph-ap-tabs button:active { transform: scale(.96); }
  .ph-root.ph-s-student .ph-ap-tabs i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--ph-red); background: #FFEEF0; transition: background-color .3s, color .3s; }
  .ph-root.ph-s-student .ph-ap-tabs svg { width: 18px; height: 18px; }
  .ph-root.ph-s-student .ph-ap-tabs span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ph-root.ph-s-student .ph-ap-tabs button[aria-selected="true"] { color: var(--ph-navy); box-shadow: 0 0 0 1.5px var(--ph-red), 0 14px 26px -18px rgba(230,0,0,.6); }
  .ph-root.ph-s-student .ph-ap-tabs button[aria-selected="true"] i { color: #fff; background: linear-gradient(150deg, #ff4a5a, #E60000 60%, #b80012); }
  .ph-root.ph-s-student .ph-ap-tabs button:focus-visible { outline: 2px solid var(--ph-red); outline-offset: 2px; }
  /* auto-advance progress along the bottom of the active tab */
  .ph-root.ph-s-student .ph-ap-tabs b { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--ph-red); transform: scaleX(0); transform-origin: left; }
  .ph-root.ph-s-student .ph-ap-tabs.is-auto button[aria-selected="true"] b { animation: ph-ap-prog var(--ph-ap-t, 5s) linear forwards; }
  .ph-root.ph-s-student .ph-ap-tabs.is-paused button[aria-selected="true"] b { animation-play-state: paused; }
}
@keyframes ph-ap-prog { to { transform: scaleX(1); } }

/* ---- PHONE: Core Features as the same swipe rail, with tighter cards ---- */
@media (max-width: 640px) {
  .ph-root.ph-s-student .ph-features .ph-sec__head { margin-bottom: 22px; }
  .ph-root.ph-s-student .ph-feat-grid {
    display: flex; gap: 12px; margin-inline: -20px; padding: 6px 20px 18px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .ph-root.ph-s-student .ph-feat-grid::-webkit-scrollbar { display: none; }
  .ph-root.ph-s-student .ph-feat { flex: 0 0 84%; scroll-snap-align: start; padding: 16px 16px 20px; border-radius: 22px; }
  .ph-root.ph-s-student.ph-sec-js .ph-sec .ph-feat-grid .ph-feat[data-ph-reveal] { opacity: 1; transform: none; }
  .ph-root.ph-s-student .ph-feat .ph-media { margin: -8px -8px 0; border-radius: 16px; }
  .ph-root.ph-s-student .ph-feat__icon { width: 48px; height: 48px; margin-bottom: 14px; border-radius: 15px; }
  .ph-root.ph-s-student .ph-feat__icon svg { width: 23px; height: 23px; }
  .ph-root.ph-s-student .ph-feat .ph-media ~ .ph-feat__icon { margin-top: -24px; margin-left: 2px; }
  .ph-root.ph-s-student .ph-feat h3 { margin-bottom: 10px; font-size: 1.05rem; }
  .ph-root.ph-s-student .ph-feat ul { gap: 7px; }
  .ph-root.ph-s-student .ph-feat li { padding-left: 16px; font-size: .88rem; line-height: 1.45; }
  .ph-root.ph-s-student .ph-feat li::before { width: 6px; height: 6px; }
  /* room under the cards so their shadow is not cut off by the scroller; dots sit right under it */
  .ph-root.ph-s-student .ph-feat-grid { padding-bottom: 34px; margin-bottom: -16px; }
  /* touch: a pressed card keeps only its shadow - no glow wash, no red top line, no lift */
  .ph-root.ph-s-student .ph-feat::before, .ph-root.ph-s-student .ph-feat::after { display: none; }
  .ph-root.ph-s-student .ph-feat.is-in:hover { transform: none; box-shadow: 0 0 0 1px #f3dde0, 0 18px 40px -26px rgba(24,36,58,.35); }
  .ph-root.ph-s-student .ph-feat:hover .ph-media img, .ph-root.ph-s-student .ph-feat:hover .ph-feat__icon { transform: none; }
  .ph-root.ph-s-student .ph-ap-dots { display: flex; justify-content: center; gap: 6px; position: relative; }
  .ph-root.ph-s-student .ph-ap-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: #D5DAE3; cursor: pointer; transition: width .3s, background .3s; }
  .ph-root.ph-s-student .ph-ap-dots button[aria-current="true"] { width: 22px; background: var(--ph-red); }
}

/* ---- PHONE: Why Choose Us accordion, tightened ---- */
@media (max-width: 640px) {
  .ph-root.ph-s-student .ph-reasons .ph-kicker::before { display: none; }
  .ph-root.ph-s-student .ph-reasons .ph-kicker { padding-left: 0; }
  .ph-root.ph-s-student .ph-reasons__head { margin-bottom: 20px; gap: 12px; }
  .ph-root.ph-s-student .ph-reasons__intro .ph-body { font-size: .95rem; }
  .ph-root.ph-s-student .ph-reason__btn { grid-template-columns: 28px minmax(0, 1fr) 30px; padding: 14px 0; }
  .ph-root.ph-s-student .ph-reason__no { font-size: .8rem; }
  .ph-root.ph-s-student .ph-reason__title { font-size: 1rem; }
  .ph-root.ph-s-student .ph-reason__icon { width: 30px; height: 30px; }
  .ph-root.ph-s-student .ph-reason__media { aspect-ratio: 16 / 9; margin-bottom: 12px; border-radius: 16px; }
  .ph-root.ph-s-student .ph-reason__inner p { margin-bottom: 16px; font-size: .9rem; line-height: 1.55; }
  .ph-root.ph-s-student .ph-reasons__cta { margin-top: 22px; gap: 12px; }
  .ph-root.ph-s-student .ph-reasons__cta p { font-size: 1rem; }
}

/* ---- PHONE: CTA band heading - always two clean lines, sized to the screen ---- */
@media (max-width: 640px) {
  .ph-root.ph-s-student .ph-ctaband h2 { font-size: clamp(1.45rem, 7.4vw, 2rem); line-height: 1.08; }
  .ph-root.ph-s-student .ph-ctaband h2 span { display: block; }
  .ph-root.ph-s-student .ph-ctaband p { margin-bottom: 22px; font-size: clamp(.9rem, 4.1vw, 1rem); text-wrap: balance; }
}

/* ======================= WHY CHOOSE US: trusted partner (student set, templates/why-partner.html) =======================
   Six reasons around the 3D shield on desktop; shield above a 2-column grid on tablet/phone. */
.ph-root .pa-why { overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 55% at 50% 58%, #FFE3E8 0%, rgba(255,227,232,0) 70%), linear-gradient(180deg, #FFF6F7 0%, #FDEFF2 100%); }
/* red swooshes in the corners, like the brand banners */
.ph-root .pa-why::before, .ph-root .pa-why::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.ph-root .pa-why::before { width: 560px; height: 560px; left: -360px; top: -380px; border: 70px solid rgba(230,0,0,.85); filter: blur(.4px); box-shadow: 0 0 0 26px rgba(230,0,0,.12); }
.ph-root .pa-why::after { width: 640px; height: 640px; right: -440px; bottom: -470px; border: 80px solid rgba(230,0,0,.85); box-shadow: 0 0 0 30px rgba(230,0,0,.12); }
.ph-root .pa-why .ph-sec__head { max-width: 860px; }
.ph-root .pa-why .ph-h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.1; }
.ph-root .pa-why .ph-h2 span { display: block; color: var(--ph-navy); }
.ph-root .pa-why .ph-sec__head .ph-body { max-width: 36em; margin: 0 auto; }

.ph-root .pa-why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: repeat(3, auto); align-items: center; gap: 20px clamp(16px, 2.4vw, 36px); }
.ph-root .pa-why__art { grid-column: 2; grid-row: 1 / span 3; position: relative; margin: 0; }
.ph-root .pa-why__art::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 2%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(230,0,0,.22), rgba(230,0,0,0)); filter: blur(6px); }
.ph-root .pa-why__art img { position: relative; display: block; width: 100%; height: auto; animation: pa-float 7s ease-in-out infinite; }
@keyframes pa-float { 50% { transform: translateY(-10px); } }
.ph-root .pa-why__card:nth-of-type(-n+3) { grid-column: 1; }
.ph-root .pa-why__card:nth-of-type(n+4) { grid-column: 3; }
.ph-root .pa-why__card:nth-of-type(1), .ph-root .pa-why__card:nth-of-type(4) { grid-row: 1; }
.ph-root .pa-why__card:nth-of-type(2), .ph-root .pa-why__card:nth-of-type(5) { grid-row: 2; }
.ph-root .pa-why__card:nth-of-type(3), .ph-root .pa-why__card:nth-of-type(6) { grid-row: 3; }
/* the middle pair sits a little further out, so the cards follow the curve around the shield */
.ph-root .pa-why__card:nth-of-type(2) { margin-left: -18px; margin-right: 18px; }
.ph-root .pa-why__card:nth-of-type(5) { margin-left: 18px; margin-right: -18px; }

.ph-root .pa-why__card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 22px;
  background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.9), 0 0 0 2px #F6DADF, 0 24px 44px -30px rgba(200,30,50,.45);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, opacity .9s cubic-bezier(.2,.8,.2,1); }
.ph-root .pa-why__card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #fff, 0 0 0 2px #F2B9C2, 0 30px 54px -28px rgba(200,30,50,.5); }
.ph-root.ph-sec-js .pa-why .pa-why__card.is-in:hover { transform: translateY(-4px); }
.ph-root .pa-why__card > i { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: var(--ph-red);
  background: linear-gradient(160deg, #fff 0%, #FFE9EC 100%); box-shadow: 0 0 0 1px #F8D6DB, 0 12px 22px -14px rgba(230,0,0,.5); }
.ph-root .pa-why__card svg { width: 28px; height: 28px; }
.ph-root .pa-why__card:nth-of-type(1) svg { fill: currentColor; stroke-width: 1.4; }
.ph-root .pa-why__card h3 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: var(--ph-navy); }
.ph-root .pa-why__card p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ph-ink-2); }

/* tablet: shield on top, cards in two columns underneath */
@media (max-width: 1024px) {
  .ph-root .pa-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; align-items: stretch; gap: 14px; }
  .ph-root .pa-why__art { grid-column: 1 / -1; grid-row: auto; width: min(460px, 78%); margin: 0 auto 10px; }
  .ph-root .pa-why__card:nth-of-type(n) { grid-column: auto; grid-row: auto; margin: 0; }
}
/* phones: compact 2x3 grid, icon above the text */
@media (max-width: 640px) {
  .ph-root .pa-why::before { width: 300px; height: 300px; left: -210px; top: -220px; border-width: 40px; box-shadow: 0 0 0 14px rgba(230,0,0,.12); }
  .ph-root .pa-why::after { width: 320px; height: 320px; right: -230px; bottom: -250px; border-width: 44px; box-shadow: 0 0 0 16px rgba(230,0,0,.12); }
  .ph-root .pa-why .ph-h2 { font-size: 1.6rem; }
  .ph-root .pa-why .ph-h2 span { display: inline; }
  .ph-root .pa-why__grid { gap: 10px; }
  .ph-root .pa-why__art { width: min(300px, 82%); margin-bottom: 6px; }
  .ph-root .pa-why__card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 13px 16px; border-radius: 18px; }
  .ph-root .pa-why__card > i { width: 42px; height: 42px; border-radius: 13px; }
  .ph-root .pa-why__card svg { width: 21px; height: 21px; }
  .ph-root .pa-why__card h3 { margin-bottom: 4px; font-size: .95rem; }
  .ph-root .pa-why__card p { font-size: .8rem; line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) { .ph-root .pa-why__art img { animation: none; } }

/* =====================================================================
   INDEX3 SECTION ORDER (Hero > Clients > Solutions > Services > Why > About > CTA band)
   Spacing tuned for the new neighbours; student set only.
   ===================================================================== */
/* the phone swipe dots belong to the phone rail only */
@media (min-width: 641px) {
  .ph-root.ph-s-student .ph-rail-dots { display: none; }
}
/* clients sit right under the hero as a compact trust strip */
.ph-root.ph-s-student .ph-clients { padding-block: clamp(40px, 5vw, 72px) clamp(8px, 1.5vw, 20px); }
/* solutions -> services: one rhythm instead of two stacked paddings */
.ph-root.ph-s-student .ph-solutions { padding-bottom: clamp(48px, 6vw, 88px); }
.ph-root.ph-s-student .ph-features { padding-top: clamp(24px, 3vw, 48px); padding-bottom: clamp(56px, 7vw, 96px); background: #FFF7F8; }
/* CTA band is the last block before the footer: give it room to breathe */
.ph-root.ph-s-student .ph-ctaband { padding-bottom: clamp(48px, 6vw, 88px); }
@media (max-width: 640px) {
  .ph-root.ph-s-student .ph-clients { padding-block: 40px 4px; }
  .ph-root.ph-s-student .ph-solutions { padding-bottom: 40px; }
  .ph-root.ph-s-student .ph-features { padding-top: 16px; }
  .ph-root.ph-s-student .ph-ctaband { padding-bottom: 40px; }
}

/* =====================================================================
   INDEX3 HERO: SMOOTH SCROLL (student set only)
   - glare is a pre-painted band moved with transform (no per-frame CSS variable,
     which re-styled every element inside both phones and repainted the gradient)
   - no backdrop blur on the cards that move over the moving scene (re-blurred every frame)
   - moving parts sit on their own GPU layers from the start, so nothing re-layers mid-scroll
   ===================================================================== */
.ph-root.ph-s-student .ph-glare { background: none; mix-blend-mode: normal; overflow: hidden; }
.ph-root.ph-s-student .ph-glare > i {
  position: absolute; top: 0; bottom: 0; left: -100%; width: 300%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 42.6%, rgba(255,255,255,.26) 50%, rgba(255,255,255,0) 54.7%);
  will-change: transform; pointer-events: none;
}
.ph-root.ph-s-student .ph-hero .ph-card,
.ph-root.ph-s-student .ph-hero .ph-pill,
.ph-root.ph-s-student .ph-hero .ph-push,
.ph-root.ph-s-student .ph-hero .ph-tile--glass,
.ph-root.ph-s-student .ph-hero .ph-eyebrow { -webkit-backdrop-filter: none; backdrop-filter: none; }
.ph-root.ph-s-student .ph-hero .ph-card { background: rgba(255,255,255,.96); }
.ph-root.ph-s-student .ph-hero .ph-pill { background: rgba(255,255,255,.97); }
.ph-root.ph-s-student .ph-hero .ph-push { background: rgba(255,255,255,.97); }
.ph-root.ph-s-student .ph-hero .ph-eyebrow { background: rgba(255,255,255,.92); }
.ph-root.ph-s-student.ph-scroll .ph-device-wrap,
.ph-root.ph-s-student.ph-scroll .ph-float,
.ph-root.ph-s-student.ph-scroll .ph-card,
.ph-root.ph-s-student.ph-scroll .ph-pill,
.ph-root.ph-s-student.ph-scroll [data-ph-ribbon],
.ph-root.ph-s-student.ph-scroll [data-ph-copy],
.ph-root.ph-s-student.ph-scroll [data-ph-stage] { will-change: transform; }
.ph-root.ph-s-student.ph-mscroll .ph-card,
.ph-root.ph-s-student.ph-mscroll .ph-pill,
.ph-root.ph-s-student.ph-mscroll [data-ph-ribbon] { will-change: transform; }
.ph-root.ph-s-student .ph-ring-classic.is-held .ph-ring-shine { animation-play-state: paused; }
/* index3: no single-word last lines in the hero subtitle */
.ph-root.ph-s-student .ph-lead { text-wrap: pretty; }
