/* ============================================================
   Profit Pigeon — homepage
   Implemented from "Profit Pigeon - Homepage.dc.html" (Claude Design).
   Desktop values below are the design's values verbatim; responsive
   behaviour is layered on in media queries only, so the >=1080px
   rendering is unchanged from the comp.
   ============================================================ */

:root{
  --ink:#211f20;
  --lime:#d5ea6a;
  --lime-hover:#c9e04f;
  --lime-deep:#55701a;
  --link-hover:#4c8527;
  --bg:#efefef;
  --white:#ffffff;
  --line:#e2e1de;      /* section rules */
  --line-card:#dcdbd8; /* card borders */
  --body:#4a4948;
  --muted:#6f6e6b;
  --faint:#a19f9c;
  --faint-dark:#8a8987;
  --track:#e6e5e2;
}

*,*::before,*::after{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'parabolica','Avenir Next','Century Gothic',system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
}

a{color:var(--ink)}
a:hover{color:var(--link-hover)}
img{max-width:100%}
::selection{background:var(--lime)}

h1,h2,h3,p,blockquote,figure{margin:0}
ul{margin:0;padding:0;list-style:none}

:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:4px}

.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--ink);color:var(--white);
  padding:12px 18px;border-radius:0 0 12px 0;
  font-size:14px;font-weight:700;text-decoration:none;
}
.skip-link:focus{left:0;color:var(--white)}

@keyframes ppmarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- buttons ---------- */

.btn{
  display:inline-block;
  text-decoration:none;
  font-size:15px;
  font-weight:700;
  border-radius:12px;
  white-space:nowrap;
  transition:background-color .18s ease,color .18s ease;
}
.btn-lime{background:var(--lime);color:var(--ink);padding:15px 26px}
.btn-lime:hover{background:var(--lime-hover);color:var(--ink)}
.btn-dark{background:var(--ink);color:var(--white);padding:11px 20px;font-size:14px}
.btn-dark:hover{color:var(--lime)}

/* ---------- nav ---------- */

.nav{
  display:flex;align-items:center;justify-content:space-between;
  max-width:1200px;margin:0 auto;padding:22px 48px;
}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.brand img{display:block;width:34px;height:34px}
.brand-name{font-size:20px;letter-spacing:-0.01em}
.brand-thin{font-weight:300}
.brand-bold{font-weight:700}

.nav-links{display:flex;align-items:center;gap:32px}
.nav-link{font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}

/* ---------- hero ---------- */

.hero{
  max-width:1320px;margin:0 auto;padding:56px 48px 88px;
  display:grid;grid-template-columns:minmax(0,0.68fr) minmax(0,1fr);
  gap:48px;align-items:center;
}
.hero-title{
  margin:0 0 22px;font-size:60px;font-weight:700;line-height:1.12;
  letter-spacing:-0.02em;text-wrap:balance;
}
.hl{
  background-image:linear-gradient(180deg,transparent 48%,var(--lime) 48%);
  padding:0 6px;margin:0 -6px;
  box-decoration-break:clone;-webkit-box-decoration-break:clone;
}
.hero-sub{
  margin:0 0 32px;font-size:18px;font-weight:300;line-height:1.6;
  max-width:470px;color:var(--body);
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:34px}

.ticks{display:grid;grid-template-columns:auto auto;gap:12px 28px;justify-content:start}
.tick{display:flex;align-items:center;gap:9px;font-size:13.5px;font-weight:300}
.tick-mark{
  width:19px;height:19px;border-radius:50%;background:var(--lime);color:var(--ink);
  font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;
  flex:none;
}

.hero-frame{
  background:var(--white);border:1.5px solid var(--line-card);border-radius:20px;
  padding:12px;box-shadow:0 24px 60px -30px rgba(33,31,32,0.25);
}
.hero-stage{
  width:100%;padding-bottom:55.1%;border-radius:12px;
  position:relative;overflow:hidden;
}
.hero-layer{
  position:absolute;inset:0;
  background-size:cover;background-position:center;
  opacity:0;transition:opacity .8s ease;
}
.hero-layer.is-on{opacity:1}

/* ---------- connectors marquee ---------- */

.connectors{
  background:var(--white);padding:44px 0 52px;
  border-top:1.5px solid var(--line);border-bottom:1.5px solid var(--line);
}
.connectors-eyebrow{
  margin:0 0 26px;text-align:center;font-size:12px;font-weight:700;
  letter-spacing:0.12em;text-transform:uppercase;color:var(--faint);
  padding:0 24px;
}
.marquee{
  overflow:hidden;
  mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
}
.marquee-track{
  display:flex;gap:64px;width:max-content;align-items:center;
  animation:ppmarquee 55s linear infinite;
  /* The track is two identical halves and the animation shifts it by -50%.
     `gap` adds no trailing space after the last item, so without this the
     wrap point lands one gap short and the loop visibly jumps. */
  padding-right:64px;
}
.conn{display:inline-flex;align-items:center;gap:12px;white-space:nowrap}
.conn-icon{
  width:26px;height:26px;display:inline-block;
  background-size:contain;background-repeat:no-repeat;background-position:center;
}
.conn-name{font-size:19px;font-weight:700;color:var(--ink)}
.dots{display:block;flex:none}

/* ---------- shared section type ---------- */

.section-title{
  margin:0 auto 18px;text-align:center;font-size:40px;font-weight:700;
  letter-spacing:-0.015em;text-wrap:balance;
}
.section-lede{
  margin:0 auto 56px;text-align:center;font-size:17px;font-weight:300;
  color:var(--muted);max-width:560px;line-height:1.55;
}

/* ---------- three steps ---------- */

.steps{padding:88px 48px 96px;max-width:1240px;margin:0 auto}
.steps-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px}
.step-card{
  background:var(--white);border-radius:16px;padding:30px 28px;
  box-shadow:0 10px 30px -18px rgba(33,31,32,0.18);
}
.step-num{
  display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;background:var(--lime);border-radius:10px;
  font-size:16px;font-weight:700;margin-bottom:22px;
}
.step-title{margin:0 0 10px;font-size:18px;font-weight:700}
.step-title-row{display:flex;align-items:center;gap:9px}
.step-body{margin:0 0 18px;font-size:15px;font-weight:300;line-height:1.55;color:var(--muted)}
.step-logos{display:flex;align-items:center;gap:14px}
.step-logos img{display:block}
.meter{height:8px;border-radius:999px;background:var(--track);overflow:hidden;margin-bottom:10px}
.meter-fill{height:100%;border-radius:999px;background:var(--lime)}
.step-note{margin:0;font-size:12.5px;font-weight:700}

/* ---------- product dashboards ---------- */

.product{max-width:1216px;margin:0 auto;padding:20px 28px 96px}
.product-head{text-align:center}
.product-title{
  margin:8px 0 0;font-size:40px;font-weight:700;
  letter-spacing:-0.02em;line-height:1.14;text-wrap:balance;
}
.tabs{
  display:flex;gap:4px;background:var(--white);border:1px solid var(--line);
  border-radius:16px;padding:6px;margin:38px auto 0;max-width:max-content;
  flex-wrap:wrap;justify-content:center;
}
.tab{
  font-family:inherit;cursor:pointer;
  border:1.5px solid transparent;background:transparent;
  border-radius:11px;padding:7px 14px;
  font-size:12.5px;font-weight:500;color:var(--muted);
  line-height:1.25;text-align:center;
  transition:color .15s ease,background-color .15s ease,border-color .15s ease;
}
.tab span{display:block;white-space:nowrap}
.tab:hover{color:var(--ink)}
.tab.is-on{border-color:var(--ink);background:var(--bg);color:var(--ink);font-weight:700}

.panels{margin-top:44px}
.panel{display:grid;grid-template-columns:330px 1fr;gap:44px;align-items:start}
.panel[hidden]{display:none}
.panel-title{margin:0;font-size:26px;font-weight:700;letter-spacing:-0.018em;line-height:1.18}
.fx{margin-top:20px;display:grid;gap:14px}
.fx-b{display:block;font-size:14px;font-weight:700}
.fx-caret{color:var(--lime-deep);font-weight:700;margin-right:9px}
.fx-s{display:block;font-size:13px;color:var(--muted);font-weight:500;padding-left:17px;margin-top:1px}

.shot-frame{
  background:var(--lime);border-radius:24px;padding:30px 0 0 30px;
  overflow:hidden;aspect-ratio:16/10;
}
.shot{
  width:100%;height:100%;
  background-size:cover;background-position:top left;
  border-radius:14px 0 0 0;
  border:1px solid rgba(33,31,32,0.12);border-right:none;border-bottom:none;
  box-shadow:-18px -12px 50px -30px rgba(33,31,32,0.45);
}

/* ---------- about ---------- */

.about{padding:8px 48px 96px}
.about .section-title{margin:0 auto 14px}
.about-quote{max-width:680px;margin:0 auto 44px;text-align:center}
.quote-mark{
  font-size:110px;font-weight:700;line-height:0.5;
  color:var(--lime);height:44px;padding-top:26px;
  /* The comp sizes this box content-box (44px content + 26px padding = 70px).
     The global border-box reset would collapse it to 44px and drop the
     paragraph into the glyph, so opt this one element back out. */
  box-sizing:content-box;
}
.about-quote p{margin:0;font-size:19px;font-weight:300;color:var(--ink);line-height:1.65}

.founders{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px}
.founder{
  background:var(--white);border:1.5px solid var(--line-card);border-radius:20px;
  padding:32px 28px;display:flex;flex-direction:column;align-items:center;
  text-align:center;gap:6px;
}
.founder img{
  width:150px;height:150px;object-fit:cover;border-radius:20px;
  display:block;margin-bottom:14px;
}
.founder-name{margin:0;font-size:18px;font-weight:700}
.founder-role{margin:0 0 12px;font-size:13px;color:var(--muted)}
.founder-quote{margin:0;font-size:15px;font-weight:300;line-height:1.6;color:var(--body)}

/* ---------- final CTA ---------- */

.cta{
  background:var(--ink);padding:80px 48px 76px;
  display:flex;flex-direction:column;align-items:center;text-align:center;
}
.cta img{display:block;width:48px;height:48px;margin-bottom:24px}
.cta-title{
  margin:0 0 28px;color:var(--white);font-size:42px;font-weight:700;
  letter-spacing:-0.015em;max-width:620px;text-wrap:balance;
}
.cta-note{margin:14px 0 0;color:var(--faint-dark);font-size:13px;font-weight:300}

/* ---------- footer ---------- */

.footer{background:var(--white);border-top:1.5px solid var(--line);padding:28px 48px}
.footer-inner{
  max-width:1200px;margin:0 auto;display:flex;align-items:center;
  justify-content:space-between;gap:24px;flex-wrap:wrap;
}
.footer .brand{gap:9px}
.footer-mark{width:24px;height:24px;display:block}
.footer-name{font-size:15px}
.footer-links{display:flex;gap:24px}
.footer-links a{font-size:13px;font-weight:300;text-decoration:none}
.footer-copy{margin:0;font-size:13px;font-weight:300;color:var(--faint)}

/* ---------- mobile sticky CTA ---------- */

/* Off on desktop; switched on in the <=720px block below. */
.sticky-cta{
  display:none;
  position:fixed;top:0;left:0;right:0;z-index:50;
  align-items:center;justify-content:space-between;gap:12px;
  padding:10px 16px;
  background:rgba(239,239,239,0.92);
  backdrop-filter:saturate(180%) blur(12px);
  -webkit-backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1.5px solid var(--line);
  transform:translateY(-100%);
  visibility:hidden;                       /* also keeps it out of the tab order */
  transition:transform .28s ease,visibility .28s ease;
}
.sticky-cta.is-on{transform:none;visibility:visible}
.sticky-cta .brand img{width:26px;height:26px}
.sticky-cta-name{font-size:16px;letter-spacing:-0.01em}
.sticky-cta .btn{font-size:13.5px;padding:11px 18px}

/* ============================================================
   Responsive — overrides only, so the desktop comp is untouched.
   ============================================================ */

@media (max-width:1180px){
  .hero{gap:36px;padding:48px 32px 72px}
  .hero-title{font-size:52px}
  .panel{grid-template-columns:290px 1fr;gap:32px}
  .steps{padding:80px 32px 88px}
  .about{padding:8px 32px 88px}
}

@media (max-width:980px){
  .hero{grid-template-columns:minmax(0,1fr);gap:44px}
  .hero-sub{max-width:none}
  .hero-frame{order:2}
  .steps-grid{grid-template-columns:1fr 1fr}
  .panel{grid-template-columns:minmax(0,1fr);gap:28px}
  .founders{grid-template-columns:1fr 1fr}
  .founders .founder:last-child{grid-column:1 / -1;max-width:520px;justify-self:center}
  .section-title,.product-title{font-size:34px}
  .cta-title{font-size:36px}
}

@media (max-width:720px){
  .sticky-cta{display:flex}
  /* keep anchored sections clear of the sticky bar */
  #top,#steps,#product,#about,#cta{scroll-margin-top:76px}

  .nav{flex-wrap:wrap;justify-content:center;gap:16px;padding:20px 24px}
  .nav-links{gap:20px;flex-wrap:wrap;justify-content:center}

  /* The nav centres on mobile, so the rest of the page centres with it. */
  .hero{padding:32px 24px 56px;text-align:center}
  .hero-title{font-size:38px}
  .hero-sub{font-size:17px;margin-left:auto;margin-right:auto}
  .hero-actions{justify-content:center}
  /* Two max-content columns, centred as a block: 2x2 rather than a 4-high
     stack, and the check marks stay aligned down each column. Type steps down
     a touch so the pair clears the gutters from 360px up. */
  .ticks{grid-template-columns:max-content max-content;justify-content:center;gap:12px 16px;text-align:left}
  .tick{font-size:13px}
  .tick-mark{width:18px;height:18px}

  .step-card{text-align:center}
  .step-title-row{justify-content:center}
  .step-logos{justify-content:center}

  .panel-title{text-align:center}
  .connectors{padding:36px 0 40px}
  .conn-name{font-size:17px}
  .marquee-track{gap:44px;padding-right:44px}
  .steps{padding:56px 24px 64px}
  .steps-grid{grid-template-columns:1fr}
  .section-title,.product-title{font-size:28px}
  .section-lede{margin-bottom:36px;font-size:16px}
  .product{padding:16px 20px 64px}
  .tabs{margin-top:28px;border-radius:14px}
  .panels{margin-top:28px}
  .panel-title{font-size:22px}
  .shot-frame{border-radius:18px;padding:18px 0 0 18px}
  .about{padding:8px 24px 64px}
  .about-quote{margin-bottom:36px}
  /* scaled proportionally: 110/44/26 -> 76/30/18 */
  .quote-mark{font-size:76px;height:30px;padding-top:18px}
  .about-quote p{font-size:17px}
  .founders{grid-template-columns:1fr;max-width:520px}
  .founders .founder:last-child{grid-column:auto;max-width:none}
  .cta{padding:56px 24px 52px}
  .cta-title{font-size:30px}
  .footer{padding:24px}
  .footer-inner{justify-content:center;text-align:center}
}

/* Phones narrower than 360px: 2x2 would run edge to edge, so stack instead. */
@media (max-width:359px){
  .ticks{grid-template-columns:max-content}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .marquee-track{animation:none;width:auto;justify-content:center;flex-wrap:wrap;padding:0 24px;gap:32px 44px}
  .conn.is-dupe{display:none}
  .marquee{mask-image:none;-webkit-mask-image:none}
  .hero-layer{transition:none}
  .sticky-cta{transition:none}
  *,*::before,*::after{transition-duration:.01ms !important}
}
