/* FP | Juan Ignacio Villalba | Right Hand Handoff Plan
   Brand tokens taken from paretotalent.com (dark theme, green accent, ember highlight). */
:root {
  --bg: #080d10;
  --surface: #0f151a;
  --surface-2: #141c22;
  --line: rgba(255, 255, 255, .075);
  --line-strong: rgba(255, 255, 255, .14);
  --accent: #50d3a1;
  --accent-strong: #10b981;
  --accent-soft: rgba(80, 211, 161, .12);
  --accent-line: rgba(80, 211, 161, .32);
  --ember: #e0973f;
  --ember-soft: rgba(224, 151, 63, .12);
  --red: #f07167;
  --red-soft: rgba(240, 113, 103, .12);
  --yellow: #f2c46d;
  --yellow-soft: rgba(242, 196, 109, .12);
  --text: #f2f6f4;
  --muted: #9aa9a2;
  --on-accent: #04120c;
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: 'Hanken Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.accent { color: var(--accent); }
.ember { color: var(--ember); }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #6ee7b7; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent-line); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(8, 13, 16, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); font-size: .85rem; }
.nav-logo img { height: 30px; width: auto; }

/* Cards & grids */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.section.alt .card { background: var(--bg); }
.card p:last-child { margin-bottom: 0; }
.num-badge {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent); font-family: var(--font-display); font-weight: 800; margin-bottom: 14px;
}
.chip { display: inline-block; font-size: .8rem; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }

/* Lights */
.light { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; font-family: var(--font-display); white-space: nowrap; }
.light::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.light-g { color: var(--accent); background: var(--accent-soft); }
.light-y { color: var(--yellow); background: var(--yellow-soft); }
.light-r { color: var(--red); background: var(--red-soft); }

/* Stats */
.stat { text-align: left; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: .95rem; }

/* Quotes */
.quote { display: flex; flex-direction: column; gap: 14px; }
.quote .stars { color: var(--ember); letter-spacing: 2px; }
.quote blockquote { margin: 0; font-size: 1.02rem; }
.quote cite { font-style: normal; color: var(--muted); font-size: .9rem; }
.quote cite b { color: var(--text); display: block; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: .85rem; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.footer a { color: var(--muted); }
.disclaimer { max-width: 640px; }

/* Utility */
.stack > * + * { margin-top: 14px; }
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.list-check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.list-x li::before { content: "✕"; color: var(--red); }
.note { font-size: .88rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-logo span { display: none; }
  .card { padding: 22px; }
}
