/* ==========================================================================
   FieldworkABA · Supervisor Review page — visual redesign
   --------------------------------------------------------------------------
   Part 1  New feature sections (prefix fx-). Replaces the four .sr-sec
           screenshot sections and adds an overview image band.
   Part 2  Page-wide polish: small overrides on existing classes.
   Uses the site's existing :root tokens (--violet, --navy, --muted, --gold,
   --green) with fallbacks, plus the existing .fwrap and .eyebrow classes.
   ========================================================================== */


/* ==========================================================================
   PART 1 · FEATURE SECTIONS
   ========================================================================== */

/* ---------- Section shell ---------- */
.fx-sec{padding:104px 0;background:#fff;overflow-x:clip}
.fx-sec.fx-alt{background:#F7F6FD}
.fx-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(40px,6vw,88px);align-items:center}
.fx-grid.fx-flip{grid-template-columns:minmax(0,6fr) minmax(0,5fr)}
.fx-flip .fx-copy{order:2}

/* ---------- Copy column ---------- */
.fx-copy .eyebrow{margin:0 0 14px}
.fx-copy h2{margin:0 0 18px;font-size:clamp(30px,3vw,40px);line-height:1.12;font-weight:800;letter-spacing:-.01em;color:var(--navy,#001B54);text-wrap:balance}
.fx-lead{margin:0;max-width:34em;font-size:18px;line-height:1.65;color:var(--muted,#5b6b85)}
.fx-lead a{color:var(--violet,#6D4BC4);font-weight:600;text-decoration:none;border-bottom:1px solid rgba(109,75,196,.35)}
.fx-lead a:hover{border-bottom-color:currentColor}
.fx-points{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:14px}
.fx-points li{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:600;line-height:1.4;color:var(--navy,#001B54)}
.fx-points li::before{content:"";flex:none;width:26px;height:26px;border-radius:50%;background:#EEE8FD url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D4BC4' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/13px no-repeat}

/* ---------- Icons (inline SVG sprite, see markup) ---------- */
.fx-i{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Visual: branded panel ---------- */
.fx-visual{position:relative;margin:0}
.fx-panel{position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;min-height:440px;padding:56px 48px;border-radius:28px}
.fx-panel::before,.fx-panel::after{content:"";position:absolute;z-index:-1;border-radius:50%;filter:blur(60px);pointer-events:none}
.fx-panel::before{width:340px;height:340px;top:-110px;right:-90px}
.fx-panel::after{width:380px;height:380px;bottom:-170px;left:-140px}
.fx-light{background:radial-gradient(circle at 1px 1px,rgba(109,75,196,.13) 1px,transparent 0) 0 0/22px 22px,linear-gradient(135deg,#F3EEFF 0%,#E6DDFD 55%,#FBF1DD 100%)}
.fx-light::before{background:rgba(245,166,35,.28)}
.fx-light::after{background:rgba(109,75,196,.30)}
.fx-dark{background:radial-gradient(circle at 1px 1px,rgba(255,255,255,.08) 1px,transparent 0) 0 0/22px 22px,linear-gradient(135deg,#22104A 0%,#3B1A8C 55%,#4A23A6 100%)}
.fx-dark::before{background:rgba(150,110,255,.55)}
.fx-dark::after{background:rgba(139,108,240,.45)}

/* ---------- Visual: app window (matches the hero mockup) ---------- */
.fx-window{width:100%;max-width:520px;overflow:hidden;background:#fff;border:1px solid #E4DEF5;border-radius:16px;box-shadow:0 50px 90px -40px rgba(30,16,80,.55),0 18px 36px -24px rgba(30,16,80,.35);font-size:14px;line-height:1.4;color:var(--navy,#001B54);text-align:left}
.fx-dark .fx-window{border-color:rgba(255,255,255,.25);box-shadow:0 50px 90px -30px rgba(0,0,0,.6)}
.fx-bar{display:flex;align-items:center;gap:6px;height:34px;padding:0 14px;background:#F3F1FA;border-bottom:1px solid #ECE8F8}
.fx-bar i{width:9px;height:9px;border-radius:50%;background:#F28B82}
.fx-bar i:nth-child(2){background:#F6C26B}
.fx-bar i:nth-child(3){background:#7FD49B}
.fx-bar span{margin-left:10px;font-size:11px;color:#8A93AB}
.fx-body{display:grid;gap:12px;padding:20px;background:#FBFAFE}

/* Shared atoms */
.fx-card{background:#fff;border:1px solid #ECE8F8;border-radius:12px;padding:12px 14px}
.fx-row{display:flex;align-items:center;gap:12px}
.fx-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.fx-head > b{font-size:15px;font-weight:800}
.fx-head > small{font-size:12px;color:var(--muted,#5b6b85)}
.fx-head .fx-who b{font-size:18px;font-weight:800}
.fx-av{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#EDE9FB;color:var(--violet,#6D4BC4);font-size:12px;font-weight:800}
.fx-av-g{background:#E7F6EE;color:var(--green,#1F9D55)}
.fx-av-r{background:#FDECEC;color:#C2413B}
.fx-who{flex:1;min-width:0}
.fx-who b{display:block;font-size:14px;font-weight:700;line-height:1.3}
.fx-who small{display:block;font-size:12px;line-height:1.35;color:var(--muted,#5b6b85)}
.fx-pill{flex:none;display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;font-size:11.5px;font-weight:700;white-space:nowrap}
.fx-pill .fx-i{width:12px;height:12px;stroke-width:3}
.fx-amber{background:#FCEFD6;color:#A86B06}
.fx-rose{background:#FDECEC;color:#B83A34}
.fx-green{background:#E3F5EA;color:#18804A}
.fx-btn-sm{flex:none;padding:7px 14px;border-radius:8px;background:var(--violet,#6D4BC4);color:#fff;font-size:12.5px;font-weight:700}

/* Mock 1 · trainee list */
.fx-invite{border:0;background:linear-gradient(135deg,#6D4BC4,#8B6CF0);color:#fff}
.fx-invite .fx-av{background:rgba(255,255,255,.2);color:#fff}
.fx-invite .fx-who small{color:rgba(255,255,255,.82)}
.fx-invite .fx-btn-sm{background:#fff;color:var(--violet,#6D4BC4)}
.fx-list{display:grid;gap:8px}
.fx-hot{border-color:#D6CBF6;box-shadow:0 0 0 3px rgba(109,75,196,.10)}

/* Mock 2 · measured month */
.fx-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.fx-stat{background:#fff;border:1px solid #ECE8F8;border-radius:12px;padding:10px 12px}
.fx-stat small{display:block;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--violet,#6D4BC4)}
.fx-stat b{display:block;margin-top:4px;font-size:20px;font-weight:800;line-height:1.1}
.fx-stat b span{font-size:12px;font-weight:600;color:var(--muted,#5b6b85)}
.fx-req{display:grid;gap:14px;padding:14px 16px}
.fx-meter-top{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}
.fx-meter-top em{margin-left:auto;font-style:normal;font-weight:800}
.fx-meter-top em small{font-weight:500;color:var(--muted,#5b6b85)}
.fx-ok{flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#E3F5EA;color:#18804A}
.fx-ok .fx-i{width:12px;height:12px;stroke-width:3.2}
.fx-track{position:relative;height:8px;margin-top:8px;border-radius:99px;background:#EEEBF7}
.fx-track span{position:absolute;top:0;bottom:0;left:0;width:var(--fill,50%);border-radius:inherit;background:linear-gradient(90deg,#8B6CF0,#6D4BC4)}
.fx-track i{position:absolute;top:-4px;bottom:-4px;left:var(--min,50%);width:2px;border-radius:2px;background:var(--navy,#001B54)}

/* Mock 3 · feedback thread */
.fx-log{display:grid;gap:6px}
.fx-log-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 12px;border-radius:10px;background:#fff;border:1px solid #ECE8F8;font-size:13px}
.fx-log-row time{font-weight:700;color:var(--muted,#5b6b85)}
.fx-log-row em{font-style:normal;font-weight:700}
.fx-flag{border-color:#F5C66B;background:#FFFBF2;box-shadow:0 0 0 3px rgba(245,166,35,.14)}
.fx-thread{display:grid;gap:10px}
.fx-msg{display:flex;align-items:flex-start;gap:10px}
.fx-msg.fx-me{flex-direction:row-reverse}
.fx-bubble{max-width:82%;padding:10px 12px;border-radius:4px 14px 14px 14px;background:#fff;border:1px solid #ECE8F8;font-size:13px;line-height:1.45}
.fx-me .fx-bubble{border-radius:14px 4px 14px 14px;background:#F3EFFF;border-color:#E2D9FC}
.fx-bubble b{display:block;margin-bottom:2px;font-size:12px}
.fx-bubble b small{margin-left:4px;font-weight:500;color:var(--muted,#5b6b85)}
.fx-bubble .fx-pill{margin-top:8px}

/* Mock 4 · signing */
.fx-attest{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:10px;background:#F3EFFF;font-size:12.5px;line-height:1.45;color:#3d3566}
.fx-attest .fx-i{margin-top:1px;color:var(--violet,#6D4BC4)}
.fx-sig-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700}
.fx-toggle{display:inline-flex;padding:3px;border-radius:8px;background:#F1EEF9}
.fx-toggle span{padding:3px 10px;border-radius:6px;font-size:11.5px;font-weight:700;color:var(--muted,#5b6b85)}
.fx-toggle .on{background:#fff;color:var(--navy,#001B54);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.fx-sig-pad{position:relative;display:flex;align-items:flex-end;justify-content:center;height:84px;margin-top:8px;border-bottom:1.5px dashed #D9D2EE}
/* Signature uses a script font: add &family=Mrs+Saint+Delafield to the Google Fonts URL */
.fx-sig-name{padding-bottom:4px;font-family:"Mrs Saint Delafield","Brush Script MT","Segoe Script",cursive;font-size:46px;font-weight:400;line-height:1;color:#2B1F6B;transform:rotate(-4deg)}
.fx-sig-pad small{position:absolute;left:2px;bottom:6px;font-size:13px;color:#9AA2B8}
.fx-signed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.fx-signed > div{padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #ECE8F8}
.fx-signed small{display:flex;align-items:center;gap:6px;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#18804A}
.fx-signed small .fx-i{width:12px;height:12px;stroke-width:3.2}
.fx-signed b{display:block;margin-top:4px;font-size:14px}
.fx-signed span{display:block;font-size:11.5px;color:var(--muted,#5b6b85)}
.fx-done{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px;border-radius:10px;background:var(--violet,#6D4BC4);color:#fff;font-size:14px;font-weight:700}

/* ---------- Floating result chips ---------- */
.fx-chip{position:absolute;z-index:3;display:flex;align-items:center;gap:12px;padding:12px 18px 12px 12px;border-radius:16px;background:#fff;box-shadow:0 24px 48px -20px rgba(30,16,80,.5),0 2px 6px rgba(30,16,80,.06);font-size:15px;font-weight:700;line-height:1.25;color:var(--navy,#001B54);white-space:nowrap;animation:fx-float 6s ease-in-out infinite}
.fx-chip small{display:block;margin-top:2px;font-size:12.5px;font-weight:500;color:var(--muted,#5b6b85)}
.fx-chip-ic{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%}
.fx-chip-ic .fx-i{width:18px;height:18px}
.fx-chip--tr{top:-20px;right:28px}
.fx-chip--bl{bottom:-24px;left:32px;animation-delay:-3s}
.ic-green{background:#E3F5EA;color:#18804A}
.ic-amber{background:#FCEFD6;color:#B7790A}
.ic-violet{background:#EEE8FD;color:var(--violet,#6D4BC4)}
@keyframes fx-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@media (prefers-reduced-motion:reduce){.fx-chip{animation:none}}

/* ---------- Overview band (real <img>: also the page's search/social image) ---------- */
.fx-overview{padding:104px 0;color:#fff;background:radial-gradient(circle at 1px 1px,rgba(255,255,255,.07) 1px,transparent 0) 0 0/22px 22px,linear-gradient(135deg,#22104A 0%,#3B1A8C 55%,#4A23A6 100%)}
.fx-ov-head{max-width:760px;margin:0 auto 52px;text-align:center}
.fx-overview .eyebrow{margin:0 0 14px;color:#CBB9FF}
.fx-overview h2{margin:0 0 16px;font-size:clamp(30px,3vw,40px);line-height:1.12;font-weight:800;letter-spacing:-.01em;color:#fff;text-wrap:balance}
.fx-overview .fx-lead{margin:0 auto;color:rgba(255,255,255,.8)}
.fx-ov-figure{max-width:1200px;margin:0 auto}
.fx-ov-figure img{display:block;width:100%;height:auto;border-radius:24px;box-shadow:0 0 0 8px rgba(255,255,255,.08),0 60px 100px -40px rgba(0,0,0,.6)}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .fx-sec{padding:72px 0}
  .fx-grid,.fx-grid.fx-flip{grid-template-columns:minmax(0,1fr);gap:44px}
  .fx-flip .fx-copy{order:0}
  .fx-panel{min-height:0;padding:48px 24px}
  .fx-chip--bl{left:16px}
  .fx-chip--tr{right:16px}
  .fx-overview{padding:72px 0}
  .fx-ov-head{margin-bottom:36px}
}
@media (max-width:560px){
  .fx-sec{padding:60px 0}
  .fx-copy h2{font-size:28px}
  .fx-lead{font-size:16.5px}
  .fx-panel{padding:40px 14px;border-radius:22px}
  .fx-window{font-size:13px}
  .fx-body{gap:10px;padding:14px}
  .fx-card{padding:10px 12px}
  .fx-pill{padding:3px 8px;font-size:10.5px}
  .fx-stat{padding:8px 10px}
  .fx-stat b{font-size:17px}
  .fx-stat small{font-size:9.5px;letter-spacing:.02em}
  .fx-list .fx-who b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .fx-sig-name{font-size:38px}
  .fx-chip{gap:10px;padding:9px 14px 9px 9px;font-size:13.5px}
  .fx-chip small{font-size:11.5px}
  .fx-chip-ic{width:30px;height:30px}
  .fx-chip-ic .fx-i{width:15px;height:15px}
  .fx-chip--tr{top:-18px;right:12px}
  .fx-chip--bl{left:12px;bottom:-18px}
  .fx-overview{padding:60px 0}
  .fx-ov-figure img{border-radius:14px;box-shadow:0 0 0 4px rgba(255,255,255,.08),0 30px 60px -30px rgba(0,0,0,.6)}
}


/* ==========================================================================
   PART 2 · PAGE-WIDE POLISH (overrides on existing classes)
   ========================================================================== */

/* Hero facts as cards (Free / Seven years / Yours to keep).
   Same .feat3/.fcard pattern as the homepage card row. If those rules
   already live in a shared stylesheet, this block can be skipped. */
.feat3{max-width:1350px;margin:60px auto 0;padding:0 24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;text-align:left}
.fcard{border-radius:20px;border:1px solid #C9BDF0;padding:20px}
.fcard-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}
.fcard-ic{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.fcard h2{margin:0;font-size:19px;font-weight:700;line-height:1.15;color:var(--navy,#001B54);text-transform:none}
.fcard-head p{margin:5px 0 0;font-size:16px;line-height:1.4;color:#001B54}
@media (max-width:900px){.feat3{grid-template-columns:minmax(0,1fr);margin-top:40px}}

/* Hero: primary button and "See how a month is reviewed" on one line */
.sv-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px}
.sv-actions .sv-see{margin:0}

/* One button style on the page: no all-caps, no letter-spacing */
.sv-actions .btn,
.cmp-sec .btn,
.cta-btns .btn,
.cta-btns .see-link{text-transform:none !important;letter-spacing:0 !important}

/* Comparison: equal header heights so the rows line up across both cards,
   and lift the FieldworkABA card so it reads as the answer */
.cmp-head{min-height:52px;display:flex;align-items:center}
.cmp-new{border-color:var(--violet,#6D4BC4) !important;box-shadow:0 30px 60px -32px rgba(109,75,196,.5)}
.cmp-sec{padding:96px 0 !important}

/* FAQ illustration stays in view while the questions scroll */
.faq-art{position:sticky;top:112px}
