/* ============ DESIGN TOKENS ============ */
:root{
  --accent:#9A6F1A;
  --ink:#0a0a0a;
  --muted:rgba(0,0,0,.55);
  --faint:rgba(0,0,0,.4);
  --line:rgba(0,0,0,.1);
  --line-strong:rgba(0,0,0,.18);
  --bg:#ffffff;
  --soft:#f5f5f3;
  /* warm tinted sections replace the old near-black ones */
  --sand:#f7f2e9;
  --sand-soft:#fbf8f2;
  --sand-deep:#f0e9dc;
  --tile:#efe9de;
  /* muted text / hairlines inside tinted sections */
  --light-muted:rgba(0,0,0,.55);
  --light-line:rgba(0,0,0,.09);
  --radius:20px;
  --radius-sm:12px;
}
*{margin:0;padding:0;box-sizing:border-box}
/* root type scale — every size below is rem/em based, so raising this
   scales the whole page proportionally (16px default -> 18px) */
html{scroll-behavior:smooth;font-size:112.5%}
body{
  font-family:'Host Grotesk',sans-serif;
  background:var(--bg);
  color:var(--ink);
  font-size:1rem;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
::selection{background:var(--accent);color:#fff}

.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
section{padding:100px 0}
.tinted{background:radial-gradient(120% 120% at 0 0,var(--sand-soft) 0%,var(--sand) 55%);color:var(--ink)}

/* ============ TYPOGRAPHY ============ */
h1{font-size:clamp(2.4rem,5.5vw,4.2rem);line-height:1.08;letter-spacing:-.03em;font-weight:600}
h2{font-size:clamp(1.9rem,4vw,3rem);line-height:1.15;letter-spacing:-.02em;font-weight:600}
h3{font-size:1.25rem;line-height:1.3;letter-spacing:-.01em;font-weight:600}
.serif{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:4px;text-underline-offset:6px}
.accent{color:var(--accent)}
.lead{font-size:1.15rem;color:var(--muted);line-height:1.65}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:'Host Grotesk',sans-serif;font-weight:600;font-size:.95rem;
  padding:16px 30px;border-radius:999px;border:none;cursor:pointer;
  transition:opacity .15s ease, box-shadow .25s ease;
}
.btn:hover{opacity:.9}

/* amber glow — matches --accent */
.btn-accent{background:var(--accent);color:#fff;box-shadow:0 3px 14px rgba(154,111,26,.26)}
.btn-accent:hover{box-shadow:0 5px 22px rgba(154,111,26,.4)}

/* neutral glow for the dark solid button */
.btn-primary{background:var(--ink);color:#fff;box-shadow:0 3px 14px rgba(0,0,0,.18)}
.btn-primary:hover{box-shadow:0 5px 22px rgba(0,0,0,.28)}

.btn-outline{background:transparent;color:var(--ink);border:1px solid var(--line-strong)}
.btn-outline:hover{box-shadow:0 3px 14px rgba(0,0,0,.08)}
.btn-lg{padding:19px 38px;font-size:1.02rem}

/* ============ NAV ============ */
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:72px}
.nav .brand{display:flex;align-items:center;font-weight:700;letter-spacing:-.02em;font-size:1.05rem}
.nav .brand img{height:34px;width:auto}
.nav-links{display:flex;gap:34px;font-size:.9rem;font-weight:500;color:var(--muted)}
.nav-links a:hover{color:var(--ink)}
.nav .btn{padding:11px 22px;font-size:.88rem}
@media(max-width:760px){.nav-links{display:none}}

/* ============ HERO ============ */
.hero{padding:120px 0 100px;text-align:center}
.hero .lead{max-width:640px;margin:26px auto 0}

/* inline payout-certificate thumbnails scattered through the headline.
   payout-4.jpg and payout-5.jpg are separate portrait 767x1088 certificates (the old
   story image was one pre-collaged 2-wide strip cropped via background-position;
   each tile now needs its own background-image, zoomed to ~115% so the P logo above the
   dollar stays visible too; the dollar sits at ~56% height on payout-4 vs ~46% on payout-5).
   Sized in em so they track the clamp()ed h1 size on every breakpoint. */
.thumb{
  position:relative;overflow:hidden;
  display:inline-block;vertical-align:-.1em;
  width:.8em;height:.8em;margin:0 .1em;
  border-radius:.19em;background:#fff;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.16) inset,
    0 5px 16px rgba(0,0,0,.18);
}
/* the image lives on ::before so invert()/grayscale() hit only the artwork —
   filtering .thumb itself would invert its drop shadow into a light halo.
   only thumb-b inverts; thumb-a keeps its original colors (bronze/blue). */
.thumb::before{
  content:"";position:absolute;inset:0;border-radius:inherit;
  background-repeat:no-repeat;
}
.thumb-a{transform:rotate(-5deg)}
.thumb-b{transform:rotate(4.5deg)}
.thumb-a::before{
  background-image:url("assets/payout-4.jpg");
  background-size:115% auto;background-position:50% 13%;
}
.thumb-b::before{
  background-image:url("assets/payout-5.jpg");
  background-size:115% auto;background-position:50% 10%;
  filter:invert(1) grayscale(1) contrast(1.18) brightness(.93);
}
@media(max-width:560px){.thumb{width:.7em;height:.7em}}
.hero-cta{margin-top:40px;display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.hero-meta{
  margin-top:56px;display:flex;gap:26px;justify-content:center;flex-wrap:wrap;
  font-family:'Fragment Mono',monospace;font-size:.72rem;
  text-transform:uppercase;letter-spacing:.12em;color:var(--faint);
}
.hero-figure{
  margin:64px auto 0;max-width:760px;
  background:var(--tile);border-radius:var(--radius);
  padding:clamp(18px,4vw,44px);
  border:1px solid var(--line);
}
.hero-figure img{border-radius:var(--radius-sm);margin:0 auto}
/* ============ CARDS GRID (problem / solution) ============ */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:24px}
@media(max-width:860px){.grid-2{grid-template-columns:1fr}}
.card{border:1px solid var(--line);border-radius:var(--radius);padding:40px;background:#fff}
.card-good{background:#fdf8ed;border-color:rgba(154,111,26,.22)}
.card .card-head{margin-bottom:26px}
.list{list-style:none;display:flex;flex-direction:column;gap:16px}
.list li{
  display:flex;gap:14px;align-items:flex-start;
  font-size:.98rem;color:var(--muted);line-height:1.55;
}
.list li strong{color:var(--ink);font-weight:600}
.mark{
  flex:none;width:26px;height:26px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:.72rem;font-weight:700;margin-top:2px;
}
.mark-x{background:rgba(0,0,0,.06);color:var(--muted)}
.mark-check{background:var(--accent);color:#fff}

/* ============ PAYOUT GALLERY (dark) ============ */
.center{text-align:center}
.stars{font-size:1.3rem;letter-spacing:.2em;margin:18px 0 46px;color:#E2A817}
.gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;align-items:start}
.gallery figure{background:var(--tile);border-radius:var(--radius-sm);overflow:hidden;border:1px solid var(--light-line)}
.gallery img{width:100%;height:100%;object-fit:cover}
.gallery .wide{grid-column:1/-1}
.gallery .wide img{height:auto}
@media(max-width:960px){.gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.gallery{grid-template-columns:1fr}}
.section-cta{margin-top:56px}

/* ============ PRICING ============ */
.price-head{max-width:680px;margin:0 auto 64px;text-align:center}
.price-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
@media(max-width:1020px){.price-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.price-grid{grid-template-columns:1fr}}
.plan{
  border:1px solid var(--line);border-radius:var(--radius);
  padding:34px 28px;background:#fff;
  display:flex;flex-direction:column;position:relative;
}
.plan-hot{border:2px solid var(--accent);background:#fdf8ed}
.plan-hot .hl{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:1px;text-underline-offset:3px}
.plan-off{background:var(--soft);color:var(--muted);border-style:dashed}
.plan-badge{
  position:absolute;top:-13px;left:50%;transform:translateX(-50%);
  background:var(--accent);color:#fff;white-space:nowrap;
  font-family:'Fragment Mono',monospace;font-size:.62rem;
  text-transform:uppercase;letter-spacing:.12em;
  padding:6px 14px;border-radius:999px;
}
.plan h3{font-size:1.12rem}
.plan .for{font-size:.82rem;color:var(--muted);margin-top:4px}
.plan .price{font-size:2.1rem;font-weight:700;letter-spacing:-.03em;margin:20px 0 4px}
.plan .price small{font-size:.85rem;font-weight:500;color:var(--muted);letter-spacing:0}
.plan .price-note{font-family:'Fragment Mono',monospace;font-size:.66rem;text-transform:uppercase;letter-spacing:.1em;color:var(--faint);margin-bottom:24px}
.plan ul{list-style:none;display:flex;flex-direction:column;gap:11px;margin:6px 0 30px}
.plan ul li{display:flex;gap:10px;font-size:.86rem;color:var(--muted);line-height:1.45}
.plan ul li::before{content:"●";color:var(--faint);font-size:.6rem;margin-top:6px;flex:none}
.plan ul li.key{color:var(--ink);font-weight:600}
.plan ul li.key::before{color:var(--accent)}
.plan-hot ul li,.plan-growth ul li{color:var(--ink);font-weight:400}
.plan-hot ul li strong{font-weight:700}
.plan ul li s,.plan ul li s span{text-decoration:line-through;text-decoration-color:rgba(0,0,0,.45)}
.plan .btn{margin-top:auto;width:100%}
.plan .btn.soon{background:transparent;border:1px solid var(--line-strong);color:var(--muted);cursor:default}
.plan .btn.soon:hover{opacity:1}
.plan-off .soon-label{font-family:'Fragment Mono',monospace;font-size:.7rem;text-transform:uppercase;letter-spacing:.14em;color:var(--faint);margin-bottom:10px}
.plan-off h3{color:var(--muted)}
/* ============ STORY / QUOTE (dark) ============ */
.quote-block{max-width:820px;margin:0 auto;text-align:center}
.quote-mark{font-family:'Fira Code',monospace;font-style:normal;font-size:5rem;line-height:1;color:var(--accent)}
.quote-block blockquote{
  font-family:'Fira Code',monospace;font-style:normal;
  font-size:clamp(1.3rem,2.5vw,1.8rem);line-height:1.4;margin:8px 0 18px;
}
.quote-block cite{
  font-family:'Fragment Mono',monospace;font-style:normal;
  font-size:.7rem;text-transform:uppercase;letter-spacing:.14em;color:var(--light-muted);
}
.story{max-width:760px;margin:70px auto 0;display:flex;flex-direction:column;gap:22px}
.story p{color:var(--light-muted);font-size:1.02rem}
.story p strong{color:var(--ink);font-weight:600}
.story .list li{color:var(--light-muted)}
.story .list li strong{color:var(--ink)}
.story-images{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:48px}
@media(max-width:760px){.story-images{grid-template-columns:1fr}}
.story-images figure{background:var(--tile);border-radius:var(--radius-sm);overflow:hidden;border:1px solid var(--light-line)}
.story-images img{width:100%;display:block;height:auto}
@media(min-width:761px){
  .story-images figure{aspect-ratio:1533/1088}
  .story-images img{height:100%;object-fit:cover}
  .story-images figure:first-child img{object-position:25% 50%}
}

/* ============ PAPER GRAIN TEXTURE ON IMAGES ============ */
.hero-figure,.gallery figure,.story-images figure{position:relative}
.hero-figure img,.gallery img,.story-images img{
  filter:contrast(1.02) saturate(.82) sepia(.14);
}
/* warm paper tone — cream tint + vignette */
.hero-figure::before,.gallery figure::before,.story-images figure::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:1;
  border-radius:inherit;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(28,18,8,.22) 100%),
    linear-gradient(145deg, rgba(255,248,230,.22) 0%, rgba(210,185,148,.18) 100%);
  mix-blend-mode:multiply;
}
/* coarse film grain on top */
.hero-figure::after,.gallery figure::after,.story-images figure::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:2;
  border-radius:inherit;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  background-size:200px 200px;
  mix-blend-mode:overlay;opacity:.7;
}

/* ============ FAQ ============ */
.faq-wrap{max-width:780px;margin:0 auto}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item:first-of-type{border-top:1px solid var(--line)}
.faq-item summary{
  list-style:none;cursor:pointer;display:flex;
  justify-content:space-between;align-items:center;gap:20px;
  padding:26px 4px;font-weight:600;font-size:1.05rem;letter-spacing:-.01em;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary .plus{
  flex:none;width:30px;height:30px;border-radius:50%;
  border:1px solid var(--line-strong);
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:400;font-size:1.1rem;color:var(--muted);
  transition:transform .2s ease;
}
.faq-item[open] summary .plus{transform:rotate(45deg);background:var(--accent);color:#fff;border-color:var(--accent)}
.faq-item .faq-body{padding:0 4px 28px;color:var(--muted);max-width:640px}

/* ============ DISCLAIMER ============ */
.disclaimer{
  border-top:1px solid var(--line);
  padding:44px 0 0;margin-top:80px;
  font-size:.78rem;color:var(--faint);line-height:1.7;
  max-width:860px;
}

/* ============ FOOTER ============ */
footer{background:radial-gradient(120% 120% at 0 0,var(--sand) 0%,var(--sand-deep) 55%);color:var(--ink);padding:100px 0 40px;border-top:1px solid var(--line)}
.footer-grid{display:flex;align-items:flex-start;justify-content:space-between;gap:40px;flex-wrap:wrap}
.footer-grid img{height:44px;width:auto}
.footer-cta h2{margin:14px 0 10px}
.footer-cta p{color:var(--light-muted);max-width:420px;margin-bottom:30px}
.footer-bottom{
  margin-top:80px;padding-top:28px;border-top:1px solid var(--light-line);
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  font-size:.8rem;color:var(--faint);
}
.footer-bottom .mono{font-family:'Fragment Mono',monospace;font-size:.68rem;text-transform:uppercase;letter-spacing:.12em}

/* ============ SOFT WAVE BACKGROUND + FILM GRAIN (ref: framer) ============ */
/* tall diagonal white→grey wash behind the hero, masked from the top-left corner
   so it swells and fades like a soft ripple of shadow */
.hero-bg{
  position:absolute;top:0;left:0;right:0;height:180vh;
  pointer-events:none;z-index:-1;
  background:
    /* soft concentric ripples — wide dark/light bands radiating from above the fold */
    repeating-radial-gradient(140% 110% at 50% -30%,
      rgba(0,0,0,0)    0px,
      rgba(0,0,0,0)    90px,
      rgba(0,0,0,.045) 170px,
      rgba(0,0,0,.045) 210px,
      rgba(0,0,0,0)    290px,
      rgba(0,0,0,0)    340px,
      rgba(255,255,255,.5) 400px,
      rgba(0,0,0,0)    460px),
    /* diagonal white→grey wash */
    linear-gradient(225deg,#fff 0%,#dbdbdb 100%);
  -webkit-mask:radial-gradient(125% 100% at 0 0,#000 0%,rgba(0,0,0,.22) 88%,transparent 100%);
          mask:radial-gradient(125% 100% at 0 0,#000 0%,rgba(0,0,0,.22) 88%,transparent 100%);
}
/* fixed full-viewport film grain (SVG turbulence tile — no external file) */
.grain{
  position:fixed;inset:0;z-index:90;pointer-events:none;opacity:.055;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:150px 150px;
}
