/* ═══════════════════════════════════════════════════════════════════
   IG4R BRAND SYSTEM  —  single source of truth for every page on
   ig4r.com except index.html.

   ── THE PALETTE COMES FROM THE CANVA BRAND GUIDE, NOT THE WEBSITE ──
   This matters, because the two disagree. The live index.html is
   built on a purple -> indigo -> pink gradient (#a855f7 #6366f1
   #ec4899) that appears NOWHERE in the brand guide. Nick's actual
   brand, in his words: "the primary color is that green, and then
   whites and blacks. That pink can be a decent switch up sometimes."
   The red is the 4 in the logo and is not a primary.

   So the homepage is currently the odd one out, not these pages.
   That is a deliberate, known gap - see the skill.

   LINK IT, TWO LINES IN <head>:
     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
     <link rel="stylesheet" href="/brand.css">
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root{
  /* ── BRAND, straight off the Canva palette ───────────────────────
     green  #5dc23b   PRIMARY. buttons, links, accents, the win state
     pink   #ed0072   switch-up. a second section, a highlight, variety
     red    #d81212   the "4" in the logo. LOGO ONLY, never a button
     yellow #fbd80e   rare. a badge, a warning, a flash of urgency
     white  #fcfefe   off-white, slightly warmer than pure #fff        */
  --green:   #5dc23b;
  --pink:    #ed0072;
  --red:     #d81212;
  --yellow:  #fbd80e;
  --white:   #fcfefe;

  --green-lt: #86d96b;   /* hover / small text on black */
  --green-dk: #3f9426;   /* pressed */

  /* ── THE APP IS A SUB-BRAND AND OWNS PURPLE ──────────────────────
     Nick: "I'm a fan of using that to denote the app itself... most
     of the site should have our main brand colors, and then anything
     around the app could be that purple."
     So purple is a SIGNAL, not decoration: if something is purple on
     this site it is about the IG4R app. Never use it on a cruise, a
     coaching or a community element - that drains the signal. */
  --app:      #a855f7;
  --app-2:    #6366f1;
  --app-grad: linear-gradient(135deg, #a855f7, #6366f1, #ec4899);

  /* ── THE INSTAGRAM GRADIENT ──────────────────────────────────────
     The "Instagram Decoded" look - purple into pink into orange and
     yellow. Approved as an accent: a hero wash, a bar, a few words.
     Never behind body copy, and never on the same screen as the app
     gradient, because then neither means anything. */
  --ig-grad: linear-gradient(135deg, #8a3ab9, #e1306c, #fd8d32, #fbd80e);

  /* ── surfaces. black and white are half the brand. ─────────────── */
  --bg:             #0a0a0a;
  --bg-card:        rgba(255,255,255,0.04);
  --bg-card-hover:  rgba(255,255,255,0.07);
  --border:         rgba(255,255,255,0.08);

  --text:    var(--white);
  --text-2:  rgba(255,255,255,0.55);
  --text-3:  rgba(255,255,255,0.35);

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Used sparingly. Green already means "good", so a success state is
     just the brand colour doing its job. */
  --bad: var(--red);

  --r:      14px;
  --r-pill: 100px;
  --max:    560px;
}

*{box-sizing:border-box;margin:0;padding:0;-webkit-text-size-adjust:100%}

body{
  background:var(--bg); color:var(--text);
  font:400 16px/1.55 var(--font);
  padding-bottom:env(safe-area-inset-bottom);
}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}

/* ── TYPE ────────────────────────────────────────────────────────
   VOICE NOTE, and it drives the CSS: Nick's brand is "unfiltered,
   raw, unapologetic... very to the point. We don't use a lot of
   punctuation. We don't capitalize a lot of things. Very informal."
   So headlines are lowercase by default and sentences run short. A
   capitalised, comma-spliced, corporate headline is off-brand even
   if every colour is right. Add .caps deliberately when something
   genuinely needs to shout.

   ── THE NAME IS "Instagram 4 R*tards". NEVER "IG4R". ─────────────
   Nick, 2 Nov 2026: "I really want to do away with IG4R. No one
   really knows what that is." Decision: IG4R appears NOWHERE a human
   reads it - not in headlines, body copy, page titles, OG tags, alt
   text, button labels or the footer. Spell it out every time, stars
   included. IG4R survives ONLY in places users never see: URLs
   (ig4r.com, app.ig4r.com), file names, CSS class names, code
   comments and internal docs. The app keeps its own name because the
   product is literally called that. */
h1{font-size:clamp(30px,8vw,38px);line-height:1.1;font-weight:800;letter-spacing:-.025em}
h2{font-size:24px;line-height:1.2;font-weight:800;letter-spacing:-.02em}
h3{font-size:19px;line-height:1.28;font-weight:700;letter-spacing:-.012em}
.caps{text-transform:uppercase;letter-spacing:.02em}
.lede{color:var(--text-2);font-size:16.5px;margin-top:12px}
.dim{color:var(--text-2)}
.dimmer{color:var(--text-3)}

/* The highlight. Green on black is the brand's loudest move - the R
   in the logo is this colour. Use it on a few words, not a sentence. */
.hl{color:var(--green)}
.hl-pink{color:var(--pink)}
.hl-app{color:var(--app)}

/* Gradient text. Two of them, and they are NOT interchangeable:
   .grad-ig  the Instagram wash - hero accents, a few words
   .grad-app the app's purple - app sections only            */
.grad-ig,.grad-app{
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
}
.grad-ig {background-image:var(--ig-grad)}
.grad-app{background-image:var(--app-grad)}
.bar-ig{height:3px;background:var(--ig-grad);border-radius:var(--r-pill)}
.marker{
  background:var(--green);color:#0a0a0a;
  padding:0 .18em;border-radius:3px;font-weight:800;
}

/* ── CARDS ───────────────────────────────────────────────────────
   Translucent white over black, never a lighter solid grey - a solid
   panel reads as a different website immediately. */
.card{
  background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--r);padding:22px 20px;
}
a.card{display:block;text-decoration:none;color:inherit;
       transition:background .15s,border-color .15s}
a.card:hover,a.card:active{background:var(--bg-card-hover);border-color:rgba(255,255,255,.2)}
.card-hot{border-color:var(--green)}
.card-pink{border-color:var(--pink)}

/* ── CHIPS ───────────────────────────────────────────────────────── */
.eyebrow{
  font-size:11.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  color:var(--green);
}
.eyebrow-pink{color:var(--pink)}
.pill{
  display:inline-block;border-radius:var(--r-pill);padding:6px 13px;
  font-size:11.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;
  background:var(--bg-card);border:1px solid var(--border);color:var(--text-2);
}
.pill-green{background:var(--green);border:0;color:#0a0a0a}
.pill-pink {background:var(--pink); border:0;color:#fff}

/* ── BUTTONS ─────────────────────────────────────────────────────
   Green is THE button. One per screen - if two primaries are visible
   at once, neither is a call to action. Black text on green, because
   white on #5dc23b fails contrast at this size. */
.btn{
  display:block;width:100%;text-align:center;text-decoration:none;
  background:var(--green);color:#0a0a0a;border:0;border-radius:var(--r-pill);
  padding:17px 20px;font:800 17px var(--font);cursor:pointer;letter-spacing:-.01em;
}
.btn:hover{background:var(--green-lt)}
.btn:active{background:var(--green-dk);transform:translateY(1px)}
.btn-pink{background:var(--pink);color:#fff}
.btn-pink:hover{background:#ff1a86}
.btn-ghost{
  background:var(--bg-card);border:1px solid var(--border);color:var(--text);
  font-weight:700;
}

/* ── FORMS ───────────────────────────────────────────────────────
   16px on inputs is not taste. Anything smaller makes iOS Safari zoom
   the page on focus, and these pages are read on phones. */
label{display:block;font-size:13px;font-weight:600;color:var(--text-2);margin:15px 0 6px}
input[type=text],input[type=email],input[type=tel]{
  width:100%;background:rgba(255,255,255,.03);border:1px solid var(--border);
  border-radius:10px;color:var(--text);font:400 16px var(--font);padding:14px;
}
input:focus{outline:none;border-color:var(--green)}
.consent{
  display:flex;gap:10px;align-items:flex-start;margin:18px 0 0;
  font:400 12.5px/1.45 var(--font);color:var(--text-2);
}
.consent input{width:19px;height:19px;flex:0 0 19px;margin-top:1px;accent-color:var(--green)}
.fineprint{text-align:center;color:var(--text-3);font-size:12.5px;margin-top:12px}

/* ── PROOF ───────────────────────────────────────────────────────── */
.quote{
  background:var(--bg-card);border-left:3px solid var(--green);
  border-radius:0 10px 10px 0;padding:14px 16px;
}
.quote p{font-size:14.5px;line-height:1.5}
.quote b{color:var(--green);font-weight:800}
.quote cite{display:block;font-style:normal;color:var(--text-3);font-size:12.5px;margin-top:8px}

.stat b{display:block;font-size:23px;font-weight:800;letter-spacing:-.025em;color:var(--green)}
.stat span{display:block;font-size:11.5px;color:var(--text-3);margin-top:2px}

/* ── LOGO ────────────────────────────────────────────────────────
   /img/logo-square.jpg   640px, the IG + red 4 + green R mark
   /img/logo-daniel.jpg  1200px, landscape with Daniel
   Both re-encoded from the ~920 KB Canva exports. Never ship those
   originals - they are 20x the size for no visible gain on a phone. */
.logo{display:block;margin:0 auto;border-radius:var(--r)}
.logo-sm{width:72px}
.logo-md{width:120px}

/* ── LAYOUT ──────────────────────────────────────────────────────── */
.stack  > * + *{margin-top:12px}
.stack-l> * + *{margin-top:26px}
.center{text-align:center}
section{padding:40px 0 0}

footer{text-align:center;color:var(--text-3);font-size:12.5px;padding:40px 0 48px}
footer a{color:var(--text-3)}
