/* Prepp (by Collegedunia) case study — page-scoped styles, following the
   same isolation approach as case-study-collegedunia.css. Colors are
   Prepp's own blue/green palette (per the Figma file's own dominant
   fills), separate from the site's teal --accent and the Collegedunia
   case study's orange.
   TYPOGRAPHY — audited every text node's own style.fontFamily/fontSize/
   fontWeight directly (not assumed): this file's dominant font is
   **Poppins**, used from the hero through the closing CTA, not Roboto —
   an initial spot-check early in the build happened to land on the two
   confirmed Roboto exceptions below and wrongly generalized from them.
   Re-auditing every heading and body block found Poppins everywhere else,
   so --pp-font is Poppins with Roboto carved out only for:
   - the persona meta line (Age/Occupation/Home Town)
   - the "Usability Study" heading specifically */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root{
  --pp-blue:#2E81F7;
  --pp-blue-deep:#06224C;
  --pp-cyan:#00AFEF;
  --pp-yellow:#FFB804;
  --pp-red:#E21221;
  --pp-green:#40C02B;
  --pp-ink:#222222;
  --pp-ink-soft:#666666;
  --pp-line:#E8E8E8;
  --pp-surface:#F7F7F7;
  --pp-font:'Poppins', sans-serif;
  --pp-font-roboto:'Roboto', sans-serif;
}
:root[data-theme="dark"]{
  --pp-ink:#F2F0EC;
  --pp-ink-soft:#B9B6B0;
  --pp-line:#333333;
  --pp-surface:#1C1C1C;
}

.pp-page{background:var(--bg); color:var(--pp-ink); font-family:var(--pp-font);}
.pp-wrap{max-width:1200px; margin:0 auto; padding:0 20px;}
.pp-section{padding:64px 0;}
.pp-section + .pp-section{border-top:1px solid var(--pp-line);}
/* same technique as the Collegedunia page's noise bands, but this file's
   own texture is a green-to-blue grain gradient with no separate tint
   layer on top (checked the raw fills — just one IMAGE fill per band, no
   accompanying translucent SOLID like Collegedunia had), so it's used as
   the sole background layer rather than being paired with a color wash. */
.pp-noise{
  background-image:url('Prepp Case Study Images/noise-texture-prepp.jpg');
  background-size:cover; background-position:top center; background-repeat:no-repeat;
}
.pp-band{color:#fff; padding:56px 0;}
.pp-band h2{font-family:var(--pp-font); font-size:42px; font-weight:700; margin:0; line-height:1.4;}

/* hero */
.pp-hero{color:#fff; padding:64px 0 48px; text-align:center;}
.pp-hero-logo{display:block; height:64px; width:auto; margin:0 auto 20px;}
.pp-hero-tagline{font-family:var(--pp-font); font-size:20px; font-weight:600; line-height:1.4; margin:0 0 24px; opacity:.95;}
.pp-hero-kicker{display:flex; align-items:center; justify-content:center; gap:16px; margin:0 0 40px;}
.pp-hero-kicker span{font-size:16px; font-weight:500; opacity:.85; white-space:nowrap;}
.pp-hero-kicker .pp-line{flex:1 1 100px; max-width:109px; height:1px; background:rgba(255,255,255,.4);}
/* Figma's own mockup image is exactly 455px wide within the 1440px hero —
   this was stretching to 900px (nearly full width), way beyond the
   source's actual, much smaller scale. */
.pp-hero-mockup{max-width:455px; width:100%; height:auto; display:block; margin:0 auto;}

/* project overview / role — base is Poppins 700 (the source's dominant
   h2 weight); the two exceptions (Information Architecture, Low Fidelity
   Wireframes at 600, and Usability Study which stays Roboto 600) get
   their own modifiers rather than changing this shared default. */
.pp-h2{font-family:var(--pp-font); font-size:24px; font-weight:700; line-height:1.4; margin:0 0 20px;}
.pp-h2.is-w600{font-weight:600;}
.pp-h2.is-roboto{font-family:var(--pp-font-roboto); font-weight:600;}
/* h3 default matches "My Role" (Poppins 700/20px); "Project Objective"/
   "Project Goal" are the one exception (Poppins 600/18px). */
.pp-h3{font-family:var(--pp-font); font-size:20px; font-weight:700; line-height:1; margin:24px 0 14px;}
.pp-h3.is-sub{font-size:18px; font-weight:600;}
.pp-h3:first-child{margin-top:0;}
.pp-body{font-family:var(--pp-font); font-size:16px; font-weight:400; line-height:1.5; color:var(--pp-ink-soft); max-width:80ch;}
.pp-body + .pp-body{margin-top:16px;}
.pp-body-full{max-width:none;}
/* Figma has Project Objective and Project Goal side by side in two 576px
   columns (a 1200px row split roughly in half with a gap) — these were
   stacked full-width one under the other instead. */
.pp-overview-grid{display:grid; grid-template-columns:1fr 1fr; gap:48px;}

/* team */
.pp-team-head{display:flex; align-items:baseline; gap:10px; margin-bottom:24px;}
.pp-team-head .pp-h2{margin:0;}
.pp-team-count{font-family:var(--pp-font); font-size:16px; font-weight:400; color:var(--pp-ink-soft);}
/* Figma fits all 5 members in one row across the full 1200px column with
   ~15px gaps (measured from the actual node x-offsets) — the previous 28px
   gap plus content-based sizing overflowed that width and wrapped to two
   rows; flex-wrap:nowrap plus the tighter gap keeps everyone on one line. */
.pp-team-row{display:flex; flex-wrap:nowrap; gap:15px; margin-bottom:40px;}
.pp-team-member{min-width:0;}
.pp-team-member div{min-width:0;}
.pp-team-name, .pp-team-role{white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.pp-team-member{display:flex; align-items:center; gap:12px;}
.pp-team-member img{width:48px; height:48px; border-radius:50%; object-fit:cover; flex-shrink:0;}
.pp-team-name{font-family:var(--pp-font); font-weight:600; font-size:16px; margin:0;}
.pp-team-role{font-family:var(--pp-font); font-size:14px; font-weight:400; color:var(--pp-ink-soft); margin:0;}

/* scope of work timeline — same geometry/technique as the Collegedunia
   page's Iteration bracket (this file's own "Subtract" boolean-op node is
   635x55 at the identical relative offset within its 1200px timeline row,
   so the exported bracket image and percentage math are reused as-is). */
.pp-timeline{position:relative; display:flex; flex-wrap:wrap; gap:24px; margin-top:52px;}
.pp-iteration{
  position:absolute; top:-33px; left:47.083%; width:52.917%; height:55px;
  pointer-events:none;
}
.pp-iteration-bracket{display:block; width:100%; height:100%;}
.pp-iteration-label{
  position:absolute; top:-13px; left:43.78%;
  display:inline-block; white-space:nowrap; text-align:center;
  background:#F3F3F3; border:1px solid #E8E8E8; border-radius:4px;
  color:var(--pp-ink); font-family:var(--pp-font); font-size:12px; font-weight:400;
  padding:4px 12px;
}
@media (max-width:900px){ .pp-iteration{display:none;} }
.pp-stage{flex:1 1 0; min-width:0;}
.pp-pill{
  display:inline-block; background:var(--pp-blue); color:#fff; font-family:var(--pp-font); font-weight:500;
  font-size:16px; padding:10px 22px; border-radius:100px; margin-bottom:16px;
}
.pp-stage ul{margin:0; padding:0; list-style:none;}
.pp-stage li{position:relative; padding-left:16px; margin-bottom:10px; font-family:var(--pp-font); font-size:14px; color:var(--pp-ink-soft); line-height:1.4;}
.pp-stage li::before{content:""; position:absolute; left:0; top:8px; width:4px; height:4px; border-radius:50%; background:var(--pp-ink-soft);}

/* personas — COLOR CORRECTION: checked the actual node fills. The name and
   both sub-headings ("Goals and Motivation" / "Challenges and Pain
   Points") are #2E81F7 (the brand blue), not plain ink as this had them;
   the card also has a subtle #E8E8E8 border in the source that was
   missing; and the quote is plain black text with NO colored accent bar —
   that left border was an invented embellishment with nothing behind it
   in Figma, removed. */
.pp-persona-grid{display:grid; grid-template-columns:1fr 1fr; gap:32px; margin-top:24px;}
.pp-persona-card{background:#FAFAFA; border:1px solid var(--pp-line); border-radius:12px; padding:28px;}
.pp-persona-photo{width:96px; height:96px; border-radius:50%; object-fit:cover; margin-bottom:16px;}
.pp-persona-name{font-family:var(--pp-font); font-size:16px; font-weight:600; color:var(--pp-blue); margin:0 0 6px;}
/* the one confirmed Roboto exception besides "Usability Study" */
.pp-persona-meta{font-family:var(--pp-font-roboto); font-size:14px; font-weight:500; color:var(--pp-ink-soft); margin:0; line-height:1.6;}
.pp-persona-card h4{font-family:var(--pp-font); font-size:16px; font-weight:600; color:var(--pp-blue); margin:20px 0 8px;}
.pp-persona-card p.pp-persona-text{font-family:var(--pp-font); font-size:14px; font-weight:400; color:var(--pp-ink-soft); line-height:1.5; margin:0;}
.pp-persona-quote{font-family:var(--pp-font); font-size:14px; font-weight:500; font-style:italic; color:#000; line-height:1.5; margin:20px 0 0;}
:root[data-theme="dark"] .pp-persona-quote{color:var(--pp-ink);}

/* empathy map — rebuilt as a labelled 2x2 card grid rather than the
   source's circular quadrant diagram, which doesn't translate to a
   responsive layout; content (Says/Does/Feels/Think) transcribed in full.
   COLOR CORRECTION: originally gave each card a different invented pastel
   (blue/green/orange/purple) to visually distinguish them — checked the
   actual Figma fills and the source has NO color-coding at all: it's a
   plain neutral diagram (#FAFAFA card, #F4F4F4 circle, black text, no
   per-quadrant color). Matched that exactly instead of inventing a palette. */
.pp-empathy-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:24px;}
.pp-empathy-card{border-radius:12px; padding:24px; background:#FAFAFA;}
.pp-empathy-card h4{font-family:var(--pp-font); font-size:18px; font-weight:700; margin:0 0 14px; color:var(--pp-ink);}
.pp-empathy-card ul{margin:0; padding:0; list-style:none;}
.pp-empathy-card li{position:relative; padding-left:16px; margin-bottom:10px; font-family:var(--pp-font); font-size:14px; font-weight:400; color:var(--pp-ink-soft); line-height:1.4;}
.pp-empathy-card li::before{content:""; position:absolute; left:0; top:8px; width:4px; height:4px; border-radius:50%; background:currentColor; opacity:.5;}
:root[data-theme="dark"] .pp-empathy-card{background:#242424;}
:root[data-theme="dark"] .pp-persona-card{background:#242424;}

/* competitors analysis — same side-by-side text+logo row and table
   pattern as the Collegedunia page */
.pp-competitors-row{display:flex; align-items:flex-start; gap:28px; margin-top:24px;}
.pp-competitors-row .pp-body{flex:1 1 0; margin:0;}
.pp-competitor-logos{flex:0 0 auto; width:467px; max-width:40%; height:auto; display:block;}
.pp-table{width:100%; border-collapse:collapse; margin-top:28px; font-family:var(--pp-font); font-size:18px;}
.pp-table th{text-align:left; font-weight:600; padding:10px 12px; border-bottom:2px solid var(--pp-line); color:var(--pp-ink);}
.pp-table td{padding:12px; border-bottom:1px solid var(--pp-line); color:var(--pp-ink-soft); vertical-align:top; font-weight:400;}
.pp-table tr th:first-child, .pp-table tr td:first-child{font-weight:600; color:var(--pp-ink); font-size:16px;}
.pp-table .pp-section-row td{background:var(--pp-surface); font-weight:600; color:var(--pp-ink); padding:10px 12px; font-size:16px;}
.pp-status{display:inline-flex; align-items:center; gap:6px; white-space:nowrap;}
/* colors checked directly against the actual table icon fills in Figma
   (check_circle / error / cancel), not assumed from the site-wide token
   names: "error" (the Average/warning state) is #FF7900 — an orange, not
   the --pp-yellow (#FFB804) this used — and "cancel" (Not Available) is
   #F8001A, slightly different from the --pp-red (#E21221) placeholder. */
.pp-status-dot{width:16px; height:16px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; font-size:11px; color:#fff; font-weight:700;}
.pp-status-dot.is-good{background:var(--pp-green);}
.pp-status-dot.is-warn{background:#FF7900;}
.pp-status-dot.is-bad{background:#F8001A;}

/* shot images (IA diagram, low-fi gallery, before/after comparisons) */
.pp-shot-wide{max-width:100%; height:auto; display:block; margin-top:24px; border-radius:8px;}

/* usability study */
.pp-study-grid{display:grid; grid-template-columns:1fr 1fr 1fr; gap:32px; margin-top:24px;}
.pp-study-grid h4{font-family:var(--pp-font); font-size:18px; font-weight:600; margin:0 0 12px;}
.pp-study-field{margin-bottom:14px;}
.pp-study-field strong{display:block; font-family:var(--pp-font); font-size:16px; font-weight:500; color:var(--pp-ink); margin-bottom:2px;}
.pp-study-field span{font-family:var(--pp-font); font-size:16px; font-weight:400; color:var(--pp-ink-soft); line-height:1.4;}
.pp-study-grid ul{margin:0; padding:0; list-style:none;}
.pp-study-grid li{position:relative; padding-left:16px; margin-bottom:8px; font-family:var(--pp-font); font-size:16px; font-weight:400; color:var(--pp-ink-soft);}
.pp-study-grid li::before{content:""; position:absolute; left:0; top:8px; width:4px; height:4px; border-radius:50%; background:var(--pp-ink-soft);}

/* main insights — the source's "01/02/03" markers are plain body-size
   text (Poppins 16/400), not the large display numerals this originally
   used (32px/800/blue) — that was an invented embellishment, corrected
   to match the source exactly. */
.pp-insight-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:24px;}
.pp-insight-card{background:var(--pp-surface); border-radius:12px; padding:24px;}
.pp-insight-num{font-family:var(--pp-font); font-size:16px; font-weight:400; color:var(--pp-ink); margin:0 0 10px;}
.pp-insight-card p{font-family:var(--pp-font); font-size:16px; font-weight:400; color:var(--pp-ink-soft); line-height:1.5; margin:0;}

/* solving problems: before/after screens */
.pp-solve-row{margin-top:48px;}
.pp-solve-row h3{font-family:var(--pp-font); font-size:20px; font-weight:600; margin:0 0 20px;}
.pp-solve-cols{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start;}
.pp-solve-cols h5{font-family:var(--pp-font); font-size:18px; font-weight:600; margin:0 0 8px;}
.pp-solve-cols p{font-family:var(--pp-font); font-size:14px; font-weight:400; color:var(--pp-ink-soft); line-height:1.5; margin:0 0 16px;}
/* Figma's actual before/after phone shots are ~221px wide each (measured
   node width), sitting in a column roughly half the width of the adjacent
   Problem/Solution text — stretching them to fill a wide 1fr grid column
   at 100% blew them up to ~2.6x their real size. Centering them at their
   true width, side by side, matches the source instead. */
.pp-ba-pair{display:flex; justify-content:center; gap:24px; margin-top:16px;}
.pp-ba-pair figure{margin:0; width:221px; flex-shrink:0;}
.pp-ba-pair img{width:100%; height:auto; border-radius:8px; border:1px solid var(--pp-line); display:block;}
.pp-ba-pair figcaption{text-align:center; font-family:var(--pp-font); font-size:13px; font-weight:400; color:var(--pp-ink-soft); margin-top:8px;}

/* onboarding flow diagrams — PNG export returns these two blank (a Figma
   node-type quirk: "SHAPE_WITH_TEXT" nodes render empty through the
   standard image-export endpoint), but the SVG export endpoint renders
   them correctly — confirmed by re-exporting in SVG and finding real
   path/rect content. The diagrams are white-on-transparent (matching how
   Figma displays this specific frame against a dark canvas), so they need
   a dark backing card the same way the Information Architecture diagram's
   own dark background does. */
.pp-flow-diagram{background:#1C1C1C; border-radius:8px; padding:24px; margin-top:24px; overflow-x:auto;}
.pp-flow-diagram img{display:block; min-width:900px; width:100%; height:auto;}

@media (max-width:900px){
  .pp-timeline{flex-direction:column;}
  .pp-persona-grid{grid-template-columns:1fr;}
  .pp-empathy-grid{grid-template-columns:1fr;}
  .pp-study-grid{grid-template-columns:1fr;}
  .pp-insight-grid{grid-template-columns:1fr;}
  .pp-solve-cols{grid-template-columns:1fr;}
  .pp-overview-grid{grid-template-columns:1fr;}
  .pp-team-row{flex-wrap:wrap;}
}
@media (max-width:760px){
  .pp-competitors-row{flex-direction:column;}
  .pp-competitor-logos{width:100%; max-width:420px;}
}
@media (max-width:600px){
  .pp-hero-logo{height:48px;}
  .pp-band h2{font-size:28px;}
  .pp-hero-kicker{flex-direction:column; gap:8px;}
  .pp-hero-kicker .pp-line{display:none;}
  .pp-table{font-size:14px;}
  .pp-table th, .pp-table td{padding:8px 6px;}
  .pp-ba-pair{flex-direction:column; align-items:center;}
  .pp-ba-pair figure{max-width:100%;}
}

/* closing CTA */
.pp-closing{color:#fff; text-align:center; padding:72px 0;}
.pp-closing p{font-family:var(--pp-font); font-size:16px; font-weight:600; margin:0 0 24px;}
.pp-closing img{width:160px; height:160px; border-radius:10px; margin-bottom:40px; background:#fff; padding:8px; object-fit:contain;}
.pp-closing h3{font-family:var(--pp-font); font-size:42px; font-weight:700; margin:0 0 12px; line-height:1.4;}
.pp-closing .pp-body{font-size:16px; font-weight:500; color:#fff; opacity:.9; margin:0 auto; max-width:none;}
