/* ============================================================================
   PROVEAiBLE — "Paper" Design System
   Extracted verbatim from the production site (index.html), 2026-08-02.
   Drop this into any app as a single stylesheet. No dependencies, no build step.

   Fonts (add to <head>):
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Inter:wght@400;500;600;700;800&display=swap">

   THE IDEA IN ONE LINE: warm paper, not white. One accent (indigo). A serif for
   voice, a grotesque for information. Texture on every surface. Motion that
   reveals rather than decorates.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. TOKENS
   The whole system is these ~20 values. Change --blue and the site rebrands.
   ------------------------------------------------------------------------- */
:root{
  /* Surfaces — warm, never pure white. This is what makes it feel like paper. */
  --paper:#F5F4F1;      /* page background      */
  --card:#ffffff;       /* raised surface       */
  --cream:#ECEAE3;      /* recessed panel       */
  --cream-2:#F0EEE8;    /* subtle alt panel     */
  --stone:#EAE8E1;      /* inactive fill        */
  --stone-line:#E1DFD7; /* hairline on stone    */

  /* Dark surfaces — for high-drama panels and stat moments */
  --navy:#0C2340;
  --navy-2:#17305A;

  /* The single accent. Resist adding a second one. */
  --blue:#3543F0;
  --blue-2:#4D5AF5;     /* hover only */

  /* Text — 3 weights of ink, never pure black */
  --ink:#131629;        /* headings, primary   */
  --ink-2:#454A61;      /* body                */
  --ink-3:#7A7E90;      /* captions, meta      */
  --stone-2:#6B6F7E;    /* eyebrows, labels    */

  /* Hairlines — alpha, so they sit on any surface */
  --line:rgba(19,22,41,.09);
  --line-2:rgba(19,22,41,.15);

  /* Type */
  --serif:'Fraunces',Georgia,'Times New Roman',serif;
  --sans:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;

  /* Motion + measure */
  --ease:cubic-bezier(.2,.8,.2,1);   /* the ONLY easing curve used */
  --max:1180px;

  /* Paper grain. The single highest-value trick in the system — it's what
     stops flat colour from looking like a template. */
  --noise:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------------
   2. BASE — including the page-wide grain overlay
   ------------------------------------------------------------------------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--paper);scroll-padding-top:112px}
body{
  margin:0;color:var(--ink);font-family:var(--sans);line-height:1.6;
  background:var(--paper);overflow-x:clip;   /* clip, NOT hidden — hidden breaks position:sticky */
  -webkit-font-smoothing:antialiased;position:relative;
}
/* Grain across the entire page. Fixed so it doesn't scroll = feels like stock. */
body::before{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background-image:var(--noise);background-size:170px 170px;
  opacity:.22;mix-blend-mode:multiply;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* ---------------------------------------------------------------------------
   3. TYPOGRAPHY
   Rule: serif for anything with a voice (headlines, big numbers).
   Sans for anything being read for information.
   ------------------------------------------------------------------------- */
.serif{
  font-family:var(--serif);font-weight:500;letter-spacing:-.015em;
  line-height:1.04;font-optical-sizing:auto;
}
h1.serif{font-size:clamp(2.5rem,5.8vw,4.2rem)}
h2.serif{font-size:clamp(1.9rem,4vw,2.8rem)}
h3.serif{font-size:clamp(1.2rem,2.2vw,1.55rem);line-height:1.12;letter-spacing:-.01em}

/* Italic accent inside a headline — the signature "voice" move.
   <h1 class="serif">Your intake, <span class="accent">already read.</span></h1> */
.accent{color:var(--blue);font-style:italic;font-weight:400}

.lede{font-size:clamp(1.05rem,2.1vw,1.24rem);line-height:1.55;color:var(--ink-2)}

/* Small caps label above a heading. Used on EVERY section — it's the rhythm. */
.eyebrow{
  font-size:.72rem;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--stone-2);
}

/* ---------------------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  font-family:var(--sans);font-weight:700;font-size:1rem;
  padding:.95rem 1.7rem;border-radius:13px;border:none;cursor:pointer;
  transition:transform .16s var(--ease),box-shadow .16s var(--ease),background .16s;
}
/* Coloured shadow, not grey — the button glows in its own hue. */
.btn-blue{background:var(--blue);color:#fff;box-shadow:0 16px 34px -14px rgba(53,67,240,.55)}
.btn-blue:hover{background:var(--blue-2);transform:translateY(-2px)}
.btn-ghost{background:transparent;color:var(--ink);border:1px solid var(--line-2)}
.btn-ghost:hover{background:rgba(19,22,41,.04);transform:translateY(-2px)}
.btn:disabled{opacity:.7;cursor:default;transform:none}

/* ---------------------------------------------------------------------------
   5. LAYOUT + PANELS
   The page is a stack of rounded panels floating on paper.
   ------------------------------------------------------------------------- */
.wrap{max-width:var(--max);margin:0 auto;padding:0 26px;position:relative;z-index:1}
.sec{padding:clamp(28px,3.8vw,48px) 22px;position:relative}
.sec-head{max-width:660px}
.sec-head .eyebrow{display:block;margin-bottom:1rem}
.sec-head p{margin-top:1rem;color:var(--ink-2)}

.panel{
  max-width:var(--max);margin:0 auto;border-radius:28px;
  padding:clamp(32px,4vw,58px);position:relative;z-index:1;isolation:isolate;
}
.panel::after{  /* grain on every panel */
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  z-index:-1;background-image:var(--noise);background-size:170px 170px;
  opacity:.05;mix-blend-mode:multiply;
}
.panel-white{background:#fff;border:1px solid var(--line)}
.panel-cream{background:var(--cream)}
.panel-navy{background:var(--navy)}
/* Text auto-inverts inside navy panels */
.panel-navy .sec-head h2{color:#F5F2EA}
.panel-navy .sec-head .eyebrow{color:#8ea0ff}
.panel-navy .sec-head p{color:rgba(245,242,233,.78)}

/* Alternate panel-white / panel-cream / panel-navy down the page.
   The navy one is the drama beat — use it once or twice, never three in a row. */

/* ---------------------------------------------------------------------------
   6. THE FOUR SIGNATURE EFFECTS
   These four things are ~80% of why it reads as premium. Port all four.
   ------------------------------------------------------------------------- */

/* 6a. .tex — grain on any element. Add the class, get texture. */
.tex{position:relative;isolation:isolate}
.tex::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  z-index:-1;background-image:var(--noise);background-size:160px 160px;
  opacity:.06;mix-blend-mode:multiply;
}

/* 6b. .rv — reveal on scroll. Add .rv in markup, JS adds .in when visible. */
.rv{opacity:0;transform:translateY(22px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.rv.in{opacity:1;transform:none}

/* 6c. .reg-frame — registration marks (printer's corner ticks).
   <span class="reg-frame"><span></span><span></span><span></span><span></span></span>
   Pure decoration, but it's the detail that says "considered". */
.reg-frame{position:absolute;inset:14px;pointer-events:none;z-index:3}
.reg-frame span{position:absolute;width:14px;height:14px;border:1.5px solid var(--line-2);opacity:.7}
.reg-frame span:nth-child(1){top:0;left:0;border-right:none;border-bottom:none}
.reg-frame span:nth-child(2){top:0;right:0;border-left:none;border-bottom:none}
.reg-frame span:nth-child(3){bottom:0;left:0;border-right:none;border-top:none}
.reg-frame span:nth-child(4){bottom:0;right:0;border-left:none;border-top:none}
/* On dark panels: .panel-navy .reg-frame span{border-color:rgba(255,255,255,.22)} */

/* 6d. Glass nav — frosted, sits over content */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:100;height:60px;display:flex;align-items:center;
  background:rgba(245,244,241,.85);
  backdrop-filter:saturate(180%) blur(18px);
  -webkit-backdrop-filter:saturate(180%) blur(18px);
  border-bottom:1px solid var(--line);
}
.nav .in{max-width:var(--max);margin:0 auto;padding:0 26px;width:100%;
  display:flex;align-items:center;justify-content:space-between}
.nav .nav-cta{
  background:var(--blue);color:#fff;font-weight:700;font-size:.85rem;
  padding:.5rem 1.05rem;border-radius:10px;white-space:nowrap;
  box-shadow:0 10px 24px -12px rgba(53,67,240,.6);
  transition:transform .16s var(--ease),background .16s;
}
.nav .nav-cta:hover{background:var(--blue-2);transform:translateY(-1px)}

/* ---------------------------------------------------------------------------
   7. BENTO GRID — the workhorse layout
   12-col grid, cards of unequal weight. This is what replaced "3 equal cards".
   <div class="bento">
     <div class="bx bx-white s-lead">…</div>
     <div class="bx bx-cream s-md">…</div>
     <div class="bx bx-blue s-sm">…</div>
   </div>
   ------------------------------------------------------------------------- */
.bento{display:grid;grid-template-columns:repeat(12,1fr);gap:9px;margin-top:2.2rem}
.bx{
  border-radius:20px;padding:28px;border:1px solid var(--line);
  box-shadow:0 22px 50px -30px rgba(19,22,41,.32);
  position:relative;overflow:hidden;display:flex;flex-direction:column;gap:12px;
  transition:transform .22s var(--ease),box-shadow .22s var(--ease);
}
.bx:hover{transform:translateY(-4px);box-shadow:0 34px 66px -28px rgba(19,22,41,.44)}
.bx .bx-ic{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none}
.bx .bx-ic svg{width:21px;height:21px}
.bx h3{font-family:var(--serif);font-weight:500;font-size:clamp(1.2rem,2.2vw,1.55rem);line-height:1.12;letter-spacing:-.01em}
.bx p{font-size:.96rem;line-height:1.5}

/* Card colour variants */
.bx-white{background:#fff}
.bx-white h3{color:var(--ink)} .bx-white p{color:var(--ink-2)}
.bx-white .bx-ic{background:rgba(53,67,240,.10);color:var(--blue)}
.bx-cream{background:var(--cream)}
.bx-cream h3{color:var(--ink)} .bx-cream p{color:var(--ink-2)}
.bx-cream .bx-ic{background:rgba(19,22,41,.08);color:var(--ink)}
.bx-stone{background:var(--stone)}
.bx-stone h3{color:var(--ink)} .bx-stone p{color:var(--ink-2)}
.bx-stone .bx-ic{background:rgba(19,22,41,.08);color:var(--ink)}
.bx-blue{background:var(--blue);border-color:transparent}
.bx-blue h3{color:#fff} .bx-blue p{color:rgba(255,255,255,.85)}
.bx-blue .bx-ic{background:rgba(255,255,255,.16);color:#fff}
.bx-blue .eyebrow{color:#c5ccff}

/* Span helpers — vary these so the grid never reads as a uniform row */
.s-lead{grid-column:span 6;grid-row:span 2}
.s-wide{grid-column:span 6}
.s-4{grid-column:span 4}
.s-md{grid-column:span 3}
.s-sm{grid-column:span 3}
@media(max-width:860px){
  .bento{grid-template-columns:repeat(6,1fr)}
  .s-lead,.s-wide,.s-4{grid-column:span 6}
  .s-md,.s-sm{grid-column:span 3}
}
@media(max-width:560px){
  .bento{grid-template-columns:1fr}
  .s-lead,.s-wide,.s-4,.s-md,.s-sm{grid-column:span 1;grid-row:auto}
}

/* ---------------------------------------------------------------------------
   8. THE HERO STAT CARD (".duo") — the single most-praised component.
   Gradient navy field + halftone dot mask + grain + huge serif number.
   <div class="duo tex">
     <span class="duo-dots"></span>
     <span class="duo-eyebrow">Speed decides the matter</span>
     <div class="duo-big"><span class="v">78%</span><span class="l">hire the first firm that responds</span></div>
     <p class="duo-cap">…</p>
   </div>
   ------------------------------------------------------------------------- */
.duo{
  position:relative;border-radius:20px;overflow:hidden;padding:30px;color:#fff;
  display:flex;flex-direction:column;justify-content:center;isolation:isolate;
  box-shadow:0 30px 70px -34px rgba(12,35,64,.7);min-height:240px;
}
.duo::before{ /* the light source — blue burning through navy */
  content:"";position:absolute;inset:0;z-index:-2;
  background:radial-gradient(120% 130% at 12% 8%,var(--blue) 0%,var(--navy-2) 44%,var(--navy) 100%);
}
.duo::after{ /* grain, overlay-blended so it lifts rather than dulls */
  content:"";position:absolute;inset:0;z-index:-1;background-image:var(--noise);
  background-size:150px 150px;opacity:.16;mix-blend-mode:overlay;
}
.duo .duo-dots{ /* halftone dots, masked so they fade toward one corner */
  position:absolute;inset:0;z-index:-1;opacity:.5;
  background-image:radial-gradient(rgba(255,255,255,.5) 1.1px,transparent 1.2px);
  background-size:15px 15px;
  -webkit-mask-image:radial-gradient(120% 100% at 100% 100%,#000,transparent 70%);
  mask-image:radial-gradient(120% 100% at 100% 100%,#000,transparent 70%);
}
.duo .duo-eyebrow{font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#c5ccff}
.duo .duo-big{display:flex;flex-direction:column;margin-top:.9rem}
.duo .duo-big .v{font-family:var(--serif);font-weight:500;font-size:clamp(3rem,7vw,4.2rem);line-height:.9;letter-spacing:-.02em}
.duo .duo-big .l{font-size:.82rem;color:rgba(255,255,255,.82);margin-top:.5rem;font-weight:600}
.duo .duo-cap{font-size:.94rem;line-height:1.5;color:rgba(255,255,255,.88);margin-top:1.2rem;max-width:360px}
.duo cite{display:block;font-size:.68rem;font-style:normal;color:rgba(255,255,255,.6);margin-top:1rem}

/* ---------------------------------------------------------------------------
   9. STAT CARDS + CTA CARD
   ------------------------------------------------------------------------- */
.statgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:2.2rem}
.statcard{
  background:var(--cream);border:1px solid var(--line);border-radius:18px;padding:26px 24px;
  box-shadow:0 16px 38px -28px rgba(19,22,41,.3);display:flex;flex-direction:column;gap:8px;
}
.statnum{font-family:var(--serif);font-weight:500;font-size:clamp(2.4rem,4.4vw,3.1rem);line-height:1;letter-spacing:-.02em;color:var(--blue)}
.statcard p{font-size:.98rem;line-height:1.4;color:var(--ink);font-weight:500}
.statcard cite{font-size:.72rem;font-style:normal;color:var(--ink-3);margin-top:auto;line-height:1.3}
@media(max-width:760px){.statgrid{grid-template-columns:1fr 1fr}}

.cta-card{
  max-width:640px;margin:0 auto;background:var(--navy);border-radius:26px;
  padding:clamp(38px,5vw,56px) clamp(30px,4vw,52px);text-align:center;
  box-shadow:0 40px 100px -40px rgba(12,35,64,.7);position:relative;overflow:hidden;
}
.cta-card h2{color:#F5F2EA}
.cta-card p{color:rgba(245,242,233,.82);max-width:440px;margin:1rem auto 2rem;font-size:1.05rem}

/* ---------------------------------------------------------------------------
   10. INTERACTIVE CARD (hover lift) — use for anything clickable
   ------------------------------------------------------------------------- */
.card-lift{
  background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;
  box-shadow:0 22px 48px -28px rgba(19,22,41,.34);
  transition:transform .22s var(--ease),box-shadow .22s var(--ease);cursor:pointer;
}
.card-lift:hover{transform:translateY(-5px);box-shadow:0 34px 64px -26px rgba(19,22,41,.46)}
.card-lift img{transition:transform .4s var(--ease)}
.card-lift:hover img{transform:scale(1.03)}

/* ---------------------------------------------------------------------------
   11. ACCESSIBILITY — always ship this
   ------------------------------------------------------------------------- */
@media(prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .rv{opacity:1;transform:none}
}
