/* Ploppy marketing site — follows the same visual language as the Ploppy
   Claude Design deck and the extension's own token system: Nunito at real
   weight (800 for headings), soft oversized background circles cropped by
   the section they sit in, and pink used only as a FILL behind navy text —
   never as the text color itself (blush-pink text on this cream measures
   under 2:1 contrast at every shade tried, failing WCAG even at the lenient
   large-text bar). */
:root {
  --powder-blue: #cfe8f7;
  --blue-gray: #5b8fae;
  --text-dark-blue: #2e4a5c;
  --cream-bg: #fffbf5;
  --border-soft: #d8e9f5;
  --blush-pink: #e7a5b4;
  --blush-pink-deep: #d98da0;
  --body-text: #5c4a3d;

  --ok: #2e7d32;
  --warn: #b8860b;
  --bad: #c0392b;

  --r-sm: 8px;
  --r-md: 14px;
  --r-pill: 999px;
  --e1: 0 1px 3px rgba(46, 74, 92, 0.07);
  --e2: 0 10px 28px rgba(46, 74, 92, 0.14);
  --e3: 0 24px 64px rgba(46, 74, 92, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--cream-bg);
  color: var(--body-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Sits above the powder-blue header so the two read as distinct layers —
   navy, not pink, since this is a plain notice rather than a call to action. */
.beta-banner {
  background: var(--text-dark-blue);
  color: #eaf4fb;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
}
.beta-banner a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
}
.beta-banner a:hover { color: var(--blush-pink); }

/* Ploppy is a Chrome extension — there is no mobile browser it can run in,
   so anyone landing here on a phone needs to know before they tap "Add to
   Chrome" and hit a dead end. CSS-only (media query, not JS) so it can never
   silently fail to show. Hidden by default; the 860px query below is the
   same one the hero already stacks on, so "counts as mobile" stays one
   consistent threshold across the page rather than two different cutoffs. */
.mobile-notice {
  display: none;
  background: #fff8ec;
  border-bottom: 1px solid #f0dfae;
  color: var(--text-dark-blue);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
}
.mobile-notice b { color: var(--warn); }

header {
  position: relative;
  z-index: 2;
  background: var(--powder-blue);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

header img { width: 32px; height: 32px; border-radius: 8px; }
header h1 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--text-dark-blue); }
header nav { margin-left: auto; display: flex; gap: 20px; }
header nav a { color: var(--blue-gray); text-decoration: none; font-size: 14px; font-weight: 600; }
header nav a:hover { text-decoration: underline; }

main { max-width: 720px; margin: 0 auto; padding: 56px 24px 80px; }

h1, h2, h3 { color: var(--text-dark-blue); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
h2 { font-size: 24px; margin: 0 0 6px; }
h3 { font-size: 17px; letter-spacing: -0.01em; }

/* ── shared button + pill components (used in the hero and on guide.html) ── */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--blush-pink);
  color: var(--text-dark-blue);
  padding: 13px 26px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  box-shadow: var(--e1);
  transition: background 120ms ease, transform 90ms ease, box-shadow 120ms ease;
}
.cta img { width: 20px; height: 20px; border-radius: 5px; }
.cta:hover { background: var(--blush-pink-deep); transform: translateY(-1px); box-shadow: var(--e2); }

.cta.secondary {
  background: transparent;
  color: var(--blue-gray);
  border: 1px solid var(--border-soft);
  box-shadow: none;
}
.cta.secondary:hover { background: #ffffff; border-color: var(--blue-gray); transform: none; }

/* ── hero: the one section with the deck's background-blob motif. Restrained
   on purpose — guide.html/privacy.html stay plain so this reads as an
   entrance, not wallpaper repeated on every page. ── */
.hero-wrap {
  position: relative;
  overflow: hidden;
  padding: 64px 24px 72px;
}
.hero-wrap::before,
.hero-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}
.hero-wrap::before {
  width: 480px; height: 480px;
  right: -180px; top: -220px;
  background: var(--powder-blue);
  opacity: 0.45;
}
.hero-wrap::after {
  width: 360px; height: 360px;
  left: -160px; bottom: -200px;
  background: var(--border-soft);
  opacity: 0.5;
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.hero-copy h1 {
  font-size: 40px;
  letter-spacing: -0.03em;
  margin: 16px 0 14px;
}
.hero-copy p {
  font-size: 17px;
  color: var(--body-text);
  max-width: 480px;
  margin: 0 0 26px;
}

/* Quiet, factual — sets expectations (invite-only) before the playful voice
   shows up. Outlined rather than filled so it doesn't compete with the CTA. */
.eyebrow-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-gray);
  border: 1px solid var(--border-soft);
  background: #ffffff;
  padding: 7px 14px;
  border-radius: var(--r-pill);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* The playful tagline, demoted to a supporting line under the CTAs — a pink
   FILL with navy text (the deck's differentiator-chip pattern), never pink
   text on cream, which fails contrast at every shade tried. */
/* .hero-copy .tagline, not just .tagline: the element is a <p> inside
   .hero-copy, and ".hero-copy p" (specificity 0,1,1) otherwise beats a bare
   class selector (0,1,0) regardless of source order — silently overriding
   this to the wrong (body-text) color despite the rule visibly "applying"
   for every other property in the block. */
.hero-copy .tagline {
  display: inline-block;
  margin: 20px 0 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-dark-blue);
  background: var(--blush-pink);
  padding: 6px 14px;
  border-radius: var(--r-pill);
}

/* ── hero product mockup: real popup markup/colors (see
   extension/src/popup/popup.css), not a screenshot. A soft "browser window"
   containing an abstracted, deliberately generic job-posting shape (grey
   bars — not a reproduction of any specific site's UI) with the actual
   Ploppy popup layered on top, matching the deck's "blurred posting behind,
   crisp popup on top" treatment. ── */
.mock-frame {
  position: relative;
  background: #ffffff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--e3);
  transform: rotate(-1deg);
}

.mock-frame-bar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 12px 14px;
  background: #f4f1ea;
  border-bottom: 1px solid var(--border-soft);
}
.mock-frame-bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-soft);
}

.mock-page {
  position: relative;
  padding: 28px;
  min-height: 320px;
  background: #fffefb;
}

.mock-page-line {
  background: var(--border-soft);
  border-radius: 6px;
  opacity: 0.7;
}

.mock-popup {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 300px;
  background: var(--cream-bg);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--e3);
  border: 1px solid var(--border-soft);
}

.mock-popup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--powder-blue);
}
.mock-popup-header img { width: 22px; height: 22px; border-radius: 50%; }
.mock-popup-header span { font-size: 14px; font-weight: 800; color: var(--text-dark-blue); }

.mock-popup-body { padding: 12px; }

.mock-role { font-size: 11px; color: var(--blue-gray); margin-bottom: 8px; }

.mock-tiers { display: flex; gap: 8px; margin-bottom: 10px; }
.mock-tier {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  padding: 8px;
  text-align: center;
}
.mock-tier-label { font-size: 10px; color: var(--blue-gray); margin-bottom: 3px; }
.mock-tier-value { font-size: 12px; font-weight: 800; line-height: 1.25; }
.mock-tier-value.strong { color: var(--ok); }
.mock-tier-value.mixed { color: var(--warn); }
.mock-tier-value.weak { color: var(--bad); }

.mock-point {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  line-height: 1.4;
  padding: 8px 9px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--border-soft);
  margin-bottom: 6px;
}
.mock-point.strong { border-left-color: var(--ok); }
.mock-point.weak { border-left-color: var(--bad); }
.mock-point-icon { font-weight: 800; }
.mock-point.strong .mock-point-icon { color: var(--ok); }
.mock-point.weak .mock-point-icon { color: var(--bad); }
.mock-point-action { margin-left: auto; font-size: 10px; font-weight: 700; color: var(--blue-gray); text-decoration: underline; }

.mock-bridge {
  margin: 2px 0 0 20px;
  padding: 10px;
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--blue-gray);
  border-radius: 6px;
  background: #f7fbfe;
}
.mock-bridge-summary { font-size: 10px; font-weight: 700; color: var(--blue-gray); margin-bottom: 6px; }
.mock-bridge-line { font-size: 10px; line-height: 1.5; color: var(--body-text); margin-bottom: 5px; }
.mock-bridge-line:last-child { margin-bottom: 0; }
.mock-bridge-line b { display: block; font-size: 8px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--blue-gray); }
.mock-bridge-line.framing b { color: var(--text-dark-blue); }
.mock-bridge-line.avoid b { color: var(--bad); }

/* ── features ── */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 8px 0 48px;
}

.feature {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--e1);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--e2); border-color: var(--blush-pink); }
.feature h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.feature p { margin: 0; font-size: 13px; color: var(--body-text); }

/* The differentiator (per the deck's own emphasis) gets the larger card —
   asymmetry that follows from editorial priority, not a grid applied for
   its own sake. */
.feature-lead {
  grid-column: 1 / -1;
  background: var(--text-dark-blue);
  border-color: var(--text-dark-blue);
}
.feature-lead h3 { color: #ffffff; font-size: 18px; }
.feature-lead p { color: #cfe0ea; font-size: 14px; max-width: 560px; }
.feature-lead:hover { border-color: var(--blush-pink); }

/* ── install flow: three compact stages instead of a long numbered list ── */
.install-section { margin-bottom: 48px; }
.install-section > p { font-size: 15px; }

.accomplishments-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 0 38px;
  padding: 26px;
  border: 1px solid var(--border-soft);
  border-left: 6px solid var(--blush-pink);
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #ffffff, #f4fbff);
  box-shadow: var(--e1);
}
.accomplishments-callout h2 { margin-bottom: 10px; }
.accomplishments-callout p { margin: 0 0 10px; font-size: 15px; }
.accomplishments-callout .hint-copy { margin: 0; color: var(--blue-gray); font-weight: 700; }
.eyebrow { margin: 0 0 7px !important; color: var(--blush-pink-deep); font-size: 12px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.install-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

@media (max-width: 640px) {
  .accomplishments-callout { grid-template-columns: 1fr; padding: 22px; }
  .accomplishments-callout .cta { justify-content: center; }
}

.install-step {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 20px;
  box-shadow: var(--e1);
}

.install-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--powder-blue);
  color: var(--text-dark-blue);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.install-step h3 { margin: 0 0 6px; font-size: 15px; }
.install-step p { margin: 0; font-size: 13px; color: var(--body-text); }
.install-step a { color: var(--text-dark-blue); font-weight: 700; }

.invite-callout {
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--blush-pink);
  border-radius: var(--r-sm);
  background: #fff8f5;
  font-size: 14px;
}
.invite-callout strong { color: var(--text-dark-blue); }

#honest p { font-size: 15px; }

/* ── guide.html: prompt box + copy button (unchanged structure/behavior) ── */
code {
  background: var(--powder-blue);
  color: var(--text-dark-blue);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.prompt-box {
  position: relative;
  background: var(--text-dark-blue);
  border-radius: var(--r-md);
  margin: 20px 0;
  box-shadow: var(--e1);
}
.prompt-box pre {
  margin: 0;
  padding: 20px;
  padding-top: 52px;
  white-space: pre-wrap;
  word-break: break-word;
  color: #eaf4fb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
}

.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--blush-pink);
  color: var(--text-dark-blue);
  border: none;
  border-radius: var(--r-sm);
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 120ms ease;
}
.copy-btn:hover { background: var(--blush-pink-deep); }

.placeholder {
  background: #fff2f5;
  border: 1px dashed var(--blush-pink);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9em;
}

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
th { color: var(--text-dark-blue); font-size: 13px; font-weight: 700; }

footer { text-align: center; padding: 24px; font-size: 12px; color: var(--blue-gray); }

@media (max-width: 860px) {
  .mobile-notice { display: block; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  /* width:100% is load-bearing here, not decorative: .mock-frame's own
     content is either percentage-sized (the mock-page-line bars, which
     can't establish their parent's width) or position:absolute (the popup,
     which is taken out of flow entirely) — so with no explicit width it
     collapses to the intrinsic size of the one thing still in normal flow,
     the 3 window-control dots (~64px), and clips the 300px popup down to a
     sliver via overflow:hidden. margin:auto alone also defeats a grid
     item's default stretch-to-fill-track behavior, which is what was
     silently masking this on desktop's explicit 1fr column. */
  .mock-frame { width: 100%; max-width: 480px; margin: 0 auto; transform: none; }
  .install-flow { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .hero-wrap::before, .hero-wrap::after { opacity: 0.3; }
}
