/* =================================================================
   ParrotPal homepage — styles
   Aesthetic: refined clinical-premium. Warm off-white canvas, deep
   green-navy ink, clinical green as the action colour, a single
   coral→gold accent lifted straight from the parrot's beak.
   Palette is derived from the new logo so the brand finally feels
   like ONE system (the old "scattered/cheap" problem).
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* greens (from logo + brand pack) */
  --green: #059669;        /* documented primary "Clinical Green" */
  --green-600: #047857;    /* hover / deeper */
  --green-bright: #26af7a; /* the logo progress-ring green */
  --green-deep: #04503a;   /* dark band background */

  /* ink + neutrals */
  --ink: #11201a;          /* deep green-black for text */
  --navy: #1a2a6c;         /* logo eye navy, used sparingly */
  --muted: #586b62;        /* secondary text */
  --line: #e7e9e4;         /* hairline borders (≈ logo track grey) */
  --bg: #faf9f5;           /* warm off-white page */
  --bg-tint: #f1f5f1;      /* faint green-tinted sections */
  --paper: #ffffff;

  /* warm accent (the beak gradient) — used as a single highlight */
  --coral: #f37335;
  --gold: #fdc830;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  --container: 1140px;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(17, 32, 26, .06);
  --shadow-lg: 0 26px 60px -28px rgba(17, 32, 26, .28);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography helpers ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); margin: 0; max-width: 56ch; }
.lead--center { margin: 0 auto; }
.ink-accent {
  /* warm beak gradient on key words */
  background: linear-gradient(95deg, var(--coral), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-block;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600);
  background: #e7f3ee;
  padding: 7px 13px; border-radius: 100px;
  margin-bottom: 18px;
}
.eyebrow--coral { color: #b5481c; background: #fdeee4; }
.eyebrow--light { color: #d8f3e7; background: rgba(255,255,255,.12); }
.centered { text-align: center; max-width: 720px; margin: 0 auto; }
.dot { color: var(--line); margin: 0 4px; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .98rem;
  padding: 14px 24px; border-radius: 100px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn--solid {
  background: linear-gradient(180deg, var(--green-bright), var(--green));
  color: #fff; box-shadow: 0 10px 24px -10px rgba(5,150,105,.6);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(5,150,105,.65); }
.btn--ghost { color: var(--ink); border: 1px solid var(--line); background: var(--paper); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-600); }

/* Apple App Store pill (primary CTA) */
.appstore {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--ink); color: #fff;
  padding: 11px 22px 11px 18px; border-radius: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-lg);
}
.appstore:hover { transform: translateY(-2px); }
.appstore__apple { width: 22px; height: 26px; }
.appstore__txt { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.appstore__txt small { font-size: .64rem; opacity: .85; letter-spacing: .02em; }
.appstore__txt strong { font-size: 1.18rem; font-weight: 600; letter-spacing: -.01em; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(250, 249, 245, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { border-radius: 8px; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.32rem; letter-spacing: -.02em; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: .94rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { padding: 10px 20px; font-size: .9rem; }

/* burger (mobile only — see media query) */
.nav__burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.hero__glow--a { width: 620px; height: 620px; top: -240px; right: -160px;
  background: radial-gradient(circle, rgba(38,175,122,.5), transparent 65%); }
.hero__glow--b { width: 520px; height: 520px; bottom: -260px; left: -180px;
  background: radial-gradient(circle, rgba(253,200,48,.28), transparent 65%); }
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.8rem, 6.4vw, 4.9rem);
  line-height: .98; letter-spacing: -.035em; margin: 0 0 22px;
}
.hero__sub { font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: var(--muted); max-width: 46ch; margin: 0 0 30px; }
.hero__sub strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__actions--center { justify-content: center; }
.hero__proof { margin-top: 26px; font-size: .98rem; color: var(--muted); }
.hero__proof strong { color: var(--ink); }

/* Hero device card */
.hero__device { position: relative; display: flex; justify-content: center; }
.device {
  width: 320px; max-width: 100%;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 28px; padding: 24px; box-shadow: var(--shadow-lg);
}
.device__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.device__day { font-weight: 600; color: var(--muted); font-size: .9rem; }

/* Score ring */
.score { position: relative; width: 200px; height: 200px; margin: 6px auto 4px; }
.score__ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.score__track { fill: none; stroke: var(--line); stroke-width: 11; }
.score__fill {
  fill: none; stroke: var(--green); stroke-width: 11; stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: 42; /* ~87% */
  animation: ringFill 1.5s cubic-bezier(.45,0,.15,1) .35s both;
}
@keyframes ringFill { from { stroke-dashoffset: 327; } }
.score__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score__num { font-family: var(--serif); font-size: 3.4rem; font-weight: 600; line-height: 1; color: var(--ink); }
.score__label { font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-top: 4px; text-transform: uppercase; }
.score__status {
  text-align: center; font-weight: 600; font-size: .92rem; color: var(--green-600);
  background: #e7f3ee; border-radius: 100px; padding: 7px; margin: 6px 0 18px;
}
.tick { font-weight: 700; }

/* golden trio bars */
.trio__row { display: flex; justify-content: space-between; font-size: .9rem; margin-top: 12px; }
.trio__row span { color: var(--muted); }
.trio__row b { font-weight: 600; }
.trio__row i { color: var(--muted); font-style: normal; font-weight: 400; }
.bar { height: 7px; border-radius: 100px; background: var(--bg-tint); margin-top: 6px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--green-bright), var(--green)); }
.bar span.bar--done { background: linear-gradient(90deg, var(--coral), var(--gold)); }

/* floating voice bubble */
.bubble {
  position: absolute; bottom: -18px; left: -14px;
  display: flex; align-items: center; gap: 9px;
  background: var(--ink); color: #fff; font-size: .86rem; font-weight: 500;
  padding: 11px 15px; border-radius: 14px 14px 14px 4px;
  box-shadow: var(--shadow-lg); animation: float 4s ease-in-out infinite;
}
.bubble__mic { font-size: 1rem; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--paper); }
.trust__inner { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 18px 30px; padding: 28px 24px; }
.trust__item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust__item b { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--green-600); letter-spacing: -.01em; }
.trust__item span { font-size: .82rem; color: var(--muted); letter-spacing: .03em; }

/* ---------- Section rhythm ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section .centered { margin-bottom: 52px; }

/* ---------- Problem ---------- */
.problem__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.stat-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.stat-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, var(--coral), var(--gold)); }
.stat-card__big { font-family: var(--serif); font-size: clamp(3.6rem, 8vw, 5.2rem); font-weight: 700; line-height: 1; color: var(--coral); display: block; margin-bottom: 12px; }
.stat-card p { margin: 0; color: var(--muted); }
.stat-card strong { color: var(--ink); }

/* ---------- LeanShield ---------- */
.leanshield { background: var(--bg); }
.badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0; margin: 28px 0 0; }
.badges li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 16px; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.badges__tm { color: var(--green); font-weight: 700; }
.badges__icon { font-size: .95rem; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: transform .25s ease, box-shadow .25s ease; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar__n { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--green-bright); }
.pillar h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin: 14px 0 10px; letter-spacing: -.01em; }
.pillar p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- The LeanShield Loop (unique mechanism) ---------- */
.loop { background: var(--bg); }
.b2b .loop .centered { margin-bottom: 44px; } /* partners page: .b2b-section lacks the .section .centered spacing */
.loop-cycle { display: flex; align-items: stretch; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.loopstep { flex: 1 1 200px; max-width: 256px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.loopstep:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.loopstep__n { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--green-bright); }
.loopstep h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin: 10px 0 2px; letter-spacing: -.01em; }
.loopstep__do { display: block; font-weight: 600; color: var(--green-600); margin-bottom: 10px; font-size: .98rem; }
.loopstep p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.loop-arrow { align-self: center; color: var(--green-600); font-size: 1.5rem; font-weight: 700; }

/* payoff: the score the loop exists to raise */
.loop-payoff { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 4vw, 44px); flex-wrap: wrap; max-width: 720px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 38px); box-shadow: var(--shadow-sm); }
.loop-ring { position: relative; width: 144px; height: 144px; flex: 0 0 auto; }
.loop-ring .score__ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.loop-ring__fill { fill: none; stroke: var(--green); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 85; /* ~74% */ animation: ringFill 1.5s cubic-bezier(.45,0,.15,1) .2s both; }
.loop-ring .score__num { font-size: 2.3rem; }
.loop-ring .score__label { font-size: .62rem; }
.loop-payoff__txt { flex: 1 1 260px; text-align: left; }
.loop-payoff__txt p { margin: 10px 0 0; color: var(--muted); }
.loop-payoff__txt strong { color: var(--ink); }
.loop-repeat { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green-600); background: #e7f3ee; border-radius: 100px; padding: 7px 15px; font-size: .9rem; }
.loop-repeat__icon { font-size: 1.15rem; }

/* closer */
.loop-closer { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.4; margin: 48px auto 0; max-width: 720px; }
.loop-closer strong { color: var(--green-600); font-weight: 600; }
.loop-platform { color: var(--muted); margin: 14px 0 0; font-size: 1.02rem; }
.loop-bridge { margin: 22px 0 0; }
.loop-bridge a { color: var(--green-600); font-weight: 600; }
.loop-bridge a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* the loop runs: each stage lights up in sequence, forever (reduced-motion kills it globally) */
@keyframes loopStepPulse {
  0%, 24%, 100% { border-color: var(--line); box-shadow: var(--shadow-sm); }
  6%, 16% { border-color: var(--green-bright); box-shadow: 0 14px 34px -16px rgba(5, 150, 105, .45); }
}
.loop-cycle .loopstep { animation: loopStepPulse 9s ease-in-out infinite; }
.loop-cycle .loopstep:nth-of-type(2) { animation-delay: 2.25s; }
.loop-cycle .loopstep:nth-of-type(3) { animation-delay: 4.5s; }
.loop-cycle .loopstep:nth-of-type(4) { animation-delay: 6.75s; }
.loop-repeat__icon { display: inline-block; animation: loopSpin 5s linear infinite; }
@keyframes loopSpin { to { transform: rotate(360deg); } }

/* ---------- How it works ---------- */
.trio-line { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature__ic { width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.5rem; background: var(--bg-tint); border-radius: 14px; margin-bottom: 18px; }
.feature h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin: 0 0 10px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-size: .82rem; font-weight: 600; color: var(--green-600); background: #e7f3ee; padding: 6px 12px; border-radius: 100px; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review .stars { font-size: 1rem; margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; font-size: 1rem; line-height: 1.55; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; }
.review figcaption b { font-size: .95rem; }
.review figcaption span { font-size: .82rem; color: var(--muted); }

/* ---------- Awards ---------- */
.awards { background: var(--bg); }
.award-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; margin: 40px 0 0; }
.award-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 26px 18px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.award-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.award-tile__chip {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green-600); background: #e7f3ee; padding: 4px 11px; border-radius: 100px;
}
.award-tile__chip--win { color: #fff; background: linear-gradient(180deg, var(--green-bright), var(--green)); }
.award-tile__logo { height: 46px; width: auto; max-width: 160px; object-fit: contain; margin-bottom: 4px; }
/* typeset fallback while a tile awaits its real logo file — sized to match the logo slot */
.award-tile__org { display: flex; align-items: center; min-height: 50px; font-family: var(--serif); font-size: 1.14rem; font-weight: 600; line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
.award-tile__what { font-size: .84rem; color: var(--muted); line-height: 1.4; }

/* ---------- Science band (dark) ---------- */
.science { background: var(--green-deep); color: #eafaf2; }
.science__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.h2--light { color: #fff; }
.lead--light { color: #c3e9d6; }
.science__copy strong { color: #fff; }
.science__tag { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--gold); margin: 22px 0 0; }
.science__ring { position: relative; width: 220px; height: 220px; margin: 0 auto; }
.science__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.science__track { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 9; }
.science__fill {
  fill: none; stroke: var(--gold); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 314; stroke-dashoffset: 25; /* ~92% */
  animation: ringFill2 1.6s cubic-bezier(.45,0,.15,1) .2s both;
}
@keyframes ringFill2 { from { stroke-dashoffset: 314; } }
.science__ringtxt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.science__ringtxt b { font-family: var(--serif); font-size: 2rem; color: #fff; }
.science__ringtxt span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #c3e9d6; }
.science__bio { font-size: 1rem; margin-top: 16px; color: #b6e3cd; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 28px; }
.member { text-align: center; }
.member__photo {
  width: 118px; height: 118px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(160deg, #eaf4ef, #d7ece1);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member__photo::before {
  content: attr(data-initials);
  font-family: var(--serif); font-weight: 600; font-size: 2.1rem; color: var(--green-600);
}
.member h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin: 0 0 5px; letter-spacing: -.01em; }
.member__role { margin: 0; color: var(--muted); font-size: .96rem; }
.member__tag {
  display: inline-block; margin-top: 9px; font-size: .74rem; font-weight: 600;
  letter-spacing: .03em; color: var(--green-600); background: #e7f3ee;
  padding: 4px 12px; border-radius: 100px;
}

/* ---------- Yo-yo / facts ---------- */
.yoyo { background: var(--bg-tint); }
.factrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0 0 44px; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.fact__big { font-family: var(--serif); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; color: var(--coral); display: block; margin-bottom: 12px; }
.fact p { margin: 0; color: var(--muted); }
.fact strong { color: var(--ink); }
.truth { max-width: 760px; margin: 0 auto; text-align: center; font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 2.1vw, 1.5rem); line-height: 1.42; }
.truth strong { color: var(--green-600); }
.truth__tag { display: block; margin-top: 16px; font-style: italic; font-weight: 400; color: var(--muted); font-size: 1.05rem; }

/* ---------- Why ParrotPal ---------- */
.why { background: var(--bg-tint); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-sm); }
.why-card__mark { display: inline-flex; align-items: center; justify-content: center; min-width: 72px; height: 52px; padding: 0 16px; border-radius: 13px; background: linear-gradient(160deg, #e7f3ee, #d7ece1); font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--green-600); margin-bottom: 20px; }
.why-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin: 0 0 10px; letter-spacing: -.01em; }
.why-card p { margin: 0; color: var(--muted); }
.why-card strong { color: var(--ink); }

/* ---------- Workouts ---------- */
.workouts { background: var(--bg-tint); }
.workouts__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.workouts__card { display: flex; justify-content: center; }
.wcard { width: 100%; max-width: 360px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }
.wcard__eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wcard h4 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin: 6px 0 4px; letter-spacing: -.01em; }
.wcard__meta { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.wcard__list { list-style: none; padding: 0; margin: 0 0 18px; }
.wcard__list li { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 500; }
.wcard__list li:first-child { border-top: none; }
.wcard__list li span { color: var(--muted); font-weight: 400; }
.wcard__score { background: #e7f3ee; color: var(--green-600); border-radius: 12px; padding: 13px 14px; font-weight: 600; font-size: .92rem; text-align: center; }
.wcard__score b { font-size: 1.1rem; }

/* ---------- Community + reviews/team backgrounds (alternating rhythm) ---------- */
.reviews { background: var(--bg-tint); }
.team { background: var(--bg-tint); }
.comm-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.comm-chips span { background: var(--paper); border: 1px solid var(--line); border-radius: 100px; padding: 11px 18px; font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-sm); }
.partners__chips { margin-top: 26px; }
.partners__cta { margin: 30px 0 0; }

/* ---------- Final CTA ---------- */
.cta__inner { max-width: 680px; }
.cta .h2 { margin-bottom: 16px; }
.cta .lead { margin-bottom: 32px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cdd6d0; padding: 64px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand__name { color: #fff; }
.footer__tag { font-size: .95rem; max-width: 30ch; margin: 16px 0 0; color: #9fb0a7; }
.footer__col h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer__col a { display: block; font-size: .94rem; color: #aebdb5; margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__legal { padding-top: 28px; }
.footer__legal p { font-size: .82rem; color: #82958c; margin: 4px 0; }

/* ---------- Inner pages (articles + legal) ---------- */
.page { padding: clamp(52px, 8vw, 104px) 0; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.page__kicker { font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--green-600); margin: 0 0 14px; }
.page__title { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); margin: 0 0 14px; }
.page__meta { color: var(--muted); font-size: .95rem; margin: 0 0 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.prose { color: #39463f; }
.prose p { font-size: 1.08rem; line-height: 1.72; margin: 0 0 22px; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: -.01em; color: var(--ink); margin: 42px 0 14px; }
.prose h3 { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; color: var(--ink); margin: 30px 0 10px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 1.3em; }
.prose li { margin: 0 0 10px; line-height: 1.65; }
.prose blockquote { margin: 28px 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--green); font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.prose a { color: var(--green-600); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }
.page__back { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.page__back a { color: var(--green-600); font-weight: 600; text-decoration: none; }

/* ===== B2B / Partners page (white-science) ===== */
body.b2b { background: #ffffff; }
.brand__group { color: var(--green-600); }
.b2b-section { padding: clamp(56px, 8vw, 112px) 0; }
.b2b-hero {
  text-align: center;
  background:
    radial-gradient(circle at 1px 1px, rgba(5,150,105,.12) 1px, transparent 0) 0 0 / 24px 24px,
    linear-gradient(180deg, #f5faf7 0%, #ffffff 72%);
  border-bottom: 1px solid var(--line);
}
.b2b-hero .container { max-width: 900px; }
.b2b-h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.04; letter-spacing: -.025em; color: var(--ink); margin: 18px 0; }
.b2b-h1 .accent { color: var(--green-600); }
.b2b-sub { max-width: 660px; margin: 0 auto; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.6; }
.b2b-sub em { color: var(--ink); }
.b2b-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.b2b-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin-top: 36px; }
.b2b-trust span { font-size: .82rem; font-weight: 600; color: #41544c; background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 8px 14px; box-shadow: var(--shadow-sm); }

/* partner spotlight */
.spotlight { max-width: 820px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow-lg); }
.spotlight__label { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 20px; }
.spotlight__logo { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--ink); border: 1px dashed var(--line); border-radius: 12px; padding: 12px 24px; display: inline-block; margin-bottom: 22px; }
.spotlight__meta { color: var(--muted); font-size: .95rem; margin: 18px 0 0; }

/* data flow */
.flow { display: flex; align-items: stretch; justify-content: center; gap: 16px; margin: 0 auto 60px; flex-wrap: wrap; }
.flow__node { flex: 1 1 240px; max-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); text-align: left; }
.flow__node b { display: block; font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.flow__node span { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.flow__node--api { background: linear-gradient(165deg, #053f2d, #065f43); border-color: #053f2d; }
.flow__node--api b { color: #fff; }
.flow__node--api span { color: #bfe6d4; }
.flow__arrow { align-self: center; color: var(--green-600); font-size: 1.5rem; font-weight: 700; }

/* speak to the API */
.api-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.api-h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--ink); margin: 0 0 14px; letter-spacing: -.01em; }
.api-split__copy p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; margin: 0 0 20px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 13px; color: var(--ink); font-weight: 500; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: #fff; background: var(--green); width: 20px; height: 20px; border-radius: 50%; font-size: .7rem; display: grid; place-items: center; }

/* chat console mock */
.chat { background: #0e211a; border-radius: 18px; padding: 18px; box-shadow: var(--shadow-lg); }
.chat__bar { display: flex; align-items: center; gap: 6px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.chat__bar i { width: 10px; height: 10px; border-radius: 50%; }
.chat__bar i:nth-child(1){ background:#ff5f57; } .chat__bar i:nth-child(2){ background:#febc2e; } .chat__bar i:nth-child(3){ background:#28c840; }
.chat__bar span { margin-left: 8px; font-size: .76rem; color: #8fb3a4; }
.chat__msg { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.chat__who { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.chat__msg--q { align-items: flex-end; }
.chat__msg--q .chat__who { color: #8fb3a4; }
.chat__msg--q p { background: #1c3a2e; color: #eaf5f0; }
.chat__msg--a .chat__who { color: #4ade9e; }
.chat__msg--a p { background: #16a877; color: #fff; }
.chat__msg p { margin: 0; padding: 12px 15px; border-radius: 14px; font-size: .95rem; line-height: 1.5; max-width: 90%; }
.chat__live { margin-left: auto; font-size: .72rem; font-weight: 600; color: #4ade9e; animation: livePulse 1.8s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* feature grid */
.b2b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.b2b-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.b2b-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.b2b-card__ic { font-size: 1.6rem; margin-bottom: 14px; }
.b2b-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--ink); margin: 0 0 8px; }
.b2b-card p { color: var(--muted); margin: 0; line-height: 1.55; font-size: .96rem; }

/* built-for + cta */
.built-for { background: #f5faf7; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.b2b-cta { background: linear-gradient(165deg, #053f2d, #065f43); text-align: center; }
.btn--on-dark { background: #fff; color: #04543c; }
.btn--on-dark:hover { background: #eafaf3; }

/* engagement engine: we handle / you see */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 8px 0 56px; }
.split2__card { border-radius: 18px; padding: 32px; border: 1px solid var(--line); }
.split2__card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin: 0 0 18px; color: var(--ink); }
.split2__card--us { background: linear-gradient(165deg, #053f2d, #065f43); border-color: #053f2d; }
.split2__card--us h3 { color: #fff; }
.split2__card--us .ticks li { color: #eaf5f0; }
.split2__card--us .ticks li::before { background: #16a877; }
.split2__card--you { background: #fff; box-shadow: var(--shadow-sm); }

/* micro-workouts */
.micro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.micro__copy p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; margin: 0 0 24px; }
.bignum { display: flex; align-items: center; gap: 18px; background: #f5faf7; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.bignum b { font-family: var(--serif); font-weight: 700; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--green-600); }
.bignum span { color: var(--ink); font-weight: 500; font-size: .98rem; line-height: 1.45; }
.bignum-pair { display: grid; gap: 14px; }
.bignum--problem { background: #fdf4ee; border-color: #f6d9c6; }
.bignum--problem b { color: var(--coral); }
.bignum--win b { color: var(--green-600); }
.boostcard { max-width: 340px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-lg); }
.boostcard__eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.boostcard h4 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin: 6px 0 4px; color: var(--ink); }
.boostcard__meta { color: var(--muted); font-size: .9rem; margin: 0 0 18px; }
.boostcard__predict { background: #e7f3ee; color: var(--green-600); font-weight: 600; border-radius: 12px; padding: 13px 15px; text-align: center; font-size: .98rem; }
.boostcard__predict b { font-size: 1.15rem; }
.boostcard__cta { margin-top: 12px; text-align: center; font-weight: 600; color: #fff; background: var(--green); border-radius: 100px; padding: 11px; }

/* audience benefit cards */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
.aud-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-sm); }
.aud-card__ic { font-size: 1.6rem; margin-bottom: 12px; }
.aud-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; color: var(--ink); margin: 0 0 8px; }
.aud-card p { color: var(--muted); margin: 0; line-height: 1.55; font-size: .96rem; }
.aud-more { color: var(--muted); font-size: .95rem; }

/* ---------- Careers ---------- */
.careers-hero { text-align: center; }
.careers-hero .hero__title { margin-bottom: 18px; }
.careers-hero .lead { max-width: 62ch; }
.roles { background: var(--bg-tint); }
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.role {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.role__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.role__chips span { font-size: .8rem; font-weight: 600; color: var(--green-600); background: #e7f3ee; padding: 6px 12px; border-radius: 100px; }
.role__chips span:last-child { color: #b5481c; background: #fdeee4; } /* salary chip in coral */
.role h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin: 0 0 10px; letter-spacing: -.01em; }
.role__why { color: var(--muted); margin: 0 0 16px; }
.role .ticks { margin-bottom: 18px; }
.role .ticks li { font-size: .95rem; }
.role__you { color: var(--muted); font-size: .95rem; margin: 0 0 22px; }
.role__you strong { color: var(--ink); }
.role__apply { margin-top: auto; align-self: flex-start; }
.roles__note { margin-top: 44px; color: var(--muted); }
.roles__note a { color: var(--green-600); font-weight: 600; }
.team__hiring { margin-top: 44px; }
.brands-grid { margin-bottom: 56px; }

/* "we're hiring" pulse dot (footer links + team CTA) */
.hiring-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-bright); margin-left: 4px; vertical-align: middle;
  animation: hiringPing 2s ease-out infinite;
}
@keyframes hiringPing {
  0% { box-shadow: 0 0 0 0 rgba(38, 175, 122, .55); }
  70% { box-shadow: 0 0 0 8px rgba(38, 175, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(38, 175, 122, 0); }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0s);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  /* burger menu: links become a frosted dropdown under the (sticky) header */
  .nav__burger { display: inline-flex; }
  .nav { background: rgba(250, 249, 245, .92); backdrop-filter: saturate(180%) blur(14px); }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 4px 0 10px;
    background: rgba(250, 249, 245, .97); backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav--open .nav__links { display: flex; }
  .nav__links a { padding: 14px 24px; font-size: 1.05rem; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); }
  .nav__links a:first-child { border-top: 0; }
  .nav__cta { margin-left: auto; padding: 9px 14px; font-size: .82rem; white-space: nowrap; }
  .hero__grid, .problem__grid, .science__grid, .workouts__grid { grid-template-columns: 1fr; }
  .pillars, .features, .review-grid, .factrow, .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .api-split, .b2b-grid, .split2, .micro, .aud-grid, .role-grid { grid-template-columns: 1fr; }
  .flow, .loop-cycle { flex-direction: column; }
  .flow__node, .loopstep { max-width: none; }
  .flow__arrow, .loop-arrow { transform: rotate(90deg); }
  .loop-payoff { flex-direction: column; text-align: center; }
  .loop-payoff__txt { flex-basis: auto; text-align: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .trust__inner { gap: 16px; }
  .trust__item { flex: 1 0 40%; }
  .footer__grid { grid-template-columns: 1fr; }
  .bubble { display: none; } /* keep the app card crisp on small screens */
}

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
