/* Polls for Gmail — shared site styles (personas, use-cases, comparisons, hubs) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0f0f10;
  --ink-soft: #4a4a52;
  --muted: #8a8a93;
  --line: #ececef;
  --bg: #fbfaf7;
  --mint: #d8efe1;
  --mint-deep: #79b894;
  --peach: #fde3d1;
  --lavender: #e6e1f3;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Google Sans", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ─── NAV ─────────────────────────────────────────────────────── */
.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  position: sticky; top: 0;
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  z-index: 20;
  border-bottom: 1px solid rgba(15,15,16,0.05);
}
.site-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600; color: var(--ink);
  text-decoration: none; letter-spacing: -0.01em;
}
.site-logo img { width: 32px; height: 32px; display: block; }
.site-nav-links { display: flex; align-items: center; gap: 22px; }
.site-nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 500; }
.site-nav-links a:hover { color: var(--ink); }

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; border: none;
  transition: transform .08s ease, background .15s, border-color .15s, color .15s;
  font-family: inherit;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2e; }
.btn-dark:active { transform: translateY(1px); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-lg { padding: 14px 26px; font-size: 15px; }

/* ─── BREADCRUMBS ─────────────────────────────────────────────── */
.crumbs {
  max-width: 920px; margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 13px; color: var(--muted);
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { margin: 0 6px; opacity: .5; }

/* ─── HERO (compact for sub-pages) ────────────────────────────── */
.page-hero {
  position: relative;
  text-align: center;
  padding: 64px 24px 56px;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(560px 380px at 18% 0%, var(--mint) 0%, transparent 60%),
    radial-gradient(500px 400px at 92% 30%, var(--peach) 0%, transparent 60%);
  z-index: -1;
}
.page-hero .eyebrow {
  display: inline-block;
  background: #fff; border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.page-hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.page-hero h1 .accent {
  position: relative; display: inline-block;
  padding: 0 6px;
}
.page-hero h1 .accent::before {
  content: ""; position: absolute; inset: 10% -4% 10% -4%;
  background: var(--mint); border-radius: 12px; z-index: -1;
}
.page-hero h1 .accent.peach::before { background: var(--peach); }
.page-hero h1 .accent.lavender::before { background: var(--lavender); }

.answer-block {
  max-width: 620px; margin: 0 auto 28px;
  font-size: 17px; color: var(--ink-soft);
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── SECTIONS ────────────────────────────────────────────────── */
section { padding: 72px 24px; }
section.tinted { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-eyebrow { text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.section-title { text-align: center; font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.section-sub { text-align: center; color: var(--ink-soft); font-size: 16px; max-width: 560px; margin: 0 auto 48px; }

/* ─── EXAMPLE POLL CARDS (used on persona/use-case pages) ─────── */
.example-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1040px; margin: 0 auto; }
.example {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.example-header {
  background: var(--ink); color: #fff;
  padding: 16px 20px;
}
.example-header .label {
  color: rgba(255,255,255,.55);
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 6px; font-weight: 600;
}
.example-header .q {
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35;
}
.example-body { padding: 16px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.example-opt {
  padding: 10px 13px; border: 1.5px solid var(--line); border-radius: 9px;
  font-size: 13.5px; color: var(--ink); background: #fff;
}
.example-when {
  font-size: 12.5px; color: var(--muted);
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: #fcfbf8;
}
.example-when strong { color: var(--ink-soft); }

/* ─── KEY-POINTS GRID ─────────────────────────────────────────── */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.point {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 26px;
}
.point .ic {
  width: 38px; height: 38px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; margin-bottom: 14px;
}
.point:nth-child(1) .ic { background: var(--mint); }
.point:nth-child(2) .ic { background: var(--peach); }
.point:nth-child(3) .ic { background: var(--lavender); }
.point:nth-child(4) .ic { background: var(--mint); }
.point h3 { font-size: 17px; margin-bottom: 6px; letter-spacing: -0.01em; }
.point p { color: var(--ink-soft); font-size: 14.5px; }

/* ─── COMPARISON TABLE ────────────────────────────────────────── */
.compare-table {
  max-width: 900px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
}
.compare-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child { border-bottom: none; }
.compare-row > div { padding: 16px 20px; font-size: 14.5px; }
.compare-row.head > div { font-weight: 700; font-size: 14px; background: #fcfbf8; }
.compare-row > div + div { border-left: 1px solid var(--line); }
.compare-cell.yes { color: var(--mint-deep); font-weight: 600; }
.compare-cell.no { color: var(--muted); }
.compare-cell .note { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* ─── HUBS / SIBLING LINKS ────────────────────────────────────── */
.hubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.hub-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 24px;
  text-decoration: none; color: var(--ink);
  transition: transform .15s ease, border-color .15s, box-shadow .15s ease;
  display: block;
}
.hub-card:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: 0 24px 40px -28px rgba(15,15,16,0.18); }
.hub-card .hub-tag {
  display: inline-block;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  margin-bottom: 10px;
}
.hub-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.hub-card p { color: var(--ink-soft); font-size: 14px; margin-bottom: 14px; }
.hub-card .arrow { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.hub-card .arrow::after { content: " →"; }

/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15.5px; font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 21px; line-height: 1; font-weight: 400; }
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 22px 20px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

/* ─── STEP CARDS (HowTo) ──────────────────────────────────────── */
.howto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.howto-step {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 24px;
}
.howto-step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--mint); color: var(--ink);
  font-size: 14px; font-weight: 700; margin-bottom: 14px;
}
.howto-step:nth-child(2) .n { background: var(--peach); }
.howto-step:nth-child(3) .n { background: var(--lavender); }
.howto-step:nth-child(4) .n { background: var(--mint); }
.howto-step h3 { font-size: 16px; margin-bottom: 6px; letter-spacing: -0.01em; }
.howto-step p { color: var(--ink-soft); font-size: 14.5px; }

/* ─── CTA BAND ────────────────────────────────────────────────── */
.cta-band {
  background: var(--ink); color: #fff;
  text-align: center; padding: 56px 24px;
}
.cta-band h2 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.7); font-size: 15.5px; max-width: 520px; margin: 0 auto 24px; }
.cta-band .btn-dark { background: #fff; color: var(--ink); }
.cta-band .btn-dark:hover { background: #ebebef; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-outline:hover { border-color: #fff; }

/* ─── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.55);
  padding: 48px 24px 32px; text-align: center; font-size: 13px;
}
.site-footer .footer-logo {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 600; font-size: 15px;
  margin-bottom: 14px; text-decoration: none;
}
.site-footer .footer-logo img { width: 26px; height: 26px; filter: invert(1) brightness(1.4); }
.site-footer .footer-links {
  margin-bottom: 14px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
}
.site-footer .footer-links a { color: rgba(255,255,255,.6); text-decoration: none; }
.site-footer .footer-links a:hover { color: #fff; }

@media (max-width: 760px) {
  .site-nav { padding: 14px 18px; }
  .site-nav-links { gap: 14px; }
  .site-nav-links a:not(.btn) { display: none; }
  .page-hero { padding: 48px 18px 40px; }
  section { padding: 52px 18px; }
  .crumbs { padding: 16px 18px 0; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div + div { border-left: none; border-top: 1px solid var(--line); }
  .compare-row.head { display: none; }
  .compare-cell::before { content: attr(data-label); display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; font-weight: 600; }
}
