/* Confetti by TinyPoll — design tokens & shared styles
   Editorial look: paper + ink, one warm accent, big serif display type,
   Lucide stroke icons. No gradients-on-everything, no emoji UI. */

:root {
  --paper: #faf9f6;
  --paper-raised: #ffffff;
  --ink: #191917;
  --ink-soft: #57554e;
  --ink-faint: #8b887e;
  --line: #e7e4dc;
  --accent: #d9482b;        /* warm vermilion */
  --accent-soft: #f7e9e4;
  --confetti-blue: #3568c4;
  --confetti-gold: #d9a13b;
  --confetti-green: #3d8a5f;
  --radius: 10px;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; }
h1 { font-size: clamp(44px, 7vw, 76px); }
h2 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 16px; }
h3 { font-size: 22px; margin-bottom: 8px; }

p { color: var(--ink-soft); }

a { color: inherit; }

.icon { width: 22px; height: 22px; stroke: var(--accent); stroke-width: 2;
        fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ── Nav ─────────────────────────────────────── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display);
         font-size: 21px; font-weight: 600; text-decoration: none; }
.brand-mark { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  padding: 12px 22px; border-radius: var(--radius); font-size: 16px; font-weight: 500;
  border: 1px solid var(--ink); transition: transform 0.08s ease, background 0.15s ease;
}
.btn:hover { background: #000; transform: translateY(-1px); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: var(--paper-raised); }
.btn.accent { background: var(--accent); border-color: var(--accent); }
.btn.accent:hover { background: #c23d22; }
.btn .icon { stroke: currentColor; width: 18px; height: 18px; }

/* ── Hero ────────────────────────────────────── */
.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.05fr 0.95fr;
        gap: 56px; align-items: center; }
.hero-copy .kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
        text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.hero-copy h1 em { font-style: italic; color: var(--accent); }
.hero-copy .sub { font-size: 20px; margin: 22px 0 30px; max-width: 30em; }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--ink-faint); margin-top: 14px; }

/* ── Slack mockup ────────────────────────────── */
.slack-mock {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 60px -30px rgba(25, 25, 23, 0.25);
  overflow: hidden; font-size: 15px;
}
.slack-mock-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.slack-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.slack-mock-channel { padding: 10px 20px; border-bottom: 1px solid var(--line);
        font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.slack-msg { display: flex; gap: 12px; padding: 16px 20px; }
.slack-msg + .slack-msg { border-top: 1px solid #f1efe9; }
.slack-avatar { width: 38px; height: 38px; border-radius: 8px; background: var(--accent);
        display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.slack-avatar svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 2; fill: none;
        stroke-linecap: round; stroke-linejoin: round; }
.slack-msg-body { min-width: 0; }
.slack-msg-name { font-weight: 700; font-size: 15px; }
.slack-msg-name small { font-weight: 400; color: var(--ink-faint); margin-left: 6px; font-size: 12px; }
.slack-msg-text { margin-top: 2px; color: #2f2e2a; }
.slack-msg-text .mention { color: #1264a3; background: #e8f5fa; border-radius: 3px; padding: 0 3px; }
.slack-gif { margin-top: 10px; border-radius: 8px; width: 100%; max-width: 360px; display: block;
        border: 1px solid var(--line); }
.slack-card-sig { border-left: 3px solid var(--line); padding-left: 12px; margin-top: 10px;
        font-size: 14px; color: var(--ink-soft); }
.slack-card-sig b { color: var(--ink); }

/* ── Sections ────────────────────────────────── */
section { padding: 76px 0; }
section.tight { padding: 56px 0; }
.section-kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
        text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lede { font-size: 19px; max-width: 38em; }

.rule { border: none; border-top: 1px solid var(--line); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.card .icon { margin-bottom: 14px; width: 26px; height: 26px; }
.card h3 { font-family: var(--body); font-weight: 650; font-size: 17px; letter-spacing: 0; }
.card p { font-size: 15px; margin-top: 6px; }

/* Differentiator rows */
.diff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
        padding: 44px 0; }
.diff-row + .diff-row { border-top: 1px solid var(--line); }
.diff-row .visual { min-width: 0; }
.diff-tag { display: inline-block; font-size: 12px; font-family: var(--mono); letter-spacing: 0.06em;
        text-transform: uppercase; color: var(--accent); background: var(--accent-soft);
        border-radius: 4px; padding: 3px 8px; margin-bottom: 14px; }

/* ── Pricing ─────────────────────────────────── */
.pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px;
        max-width: 760px; }
.price-card { background: var(--paper-raised); border: 1px solid var(--line);
        border-radius: 14px; padding: 34px; position: relative; }
.price-card.featured { border-color: var(--ink); box-shadow: 0 18px 44px -26px rgba(25,25,23,.35); }
.price-card .plan-name { font-weight: 650; font-size: 15px; letter-spacing: 0.02em; }
.price-card .price { font-family: var(--display); font-size: 46px; font-weight: 600; margin: 10px 0 2px; }
.price-card .price small { font-size: 16px; font-family: var(--body); color: var(--ink-faint); font-weight: 400; }
.price-card .per { color: var(--ink-faint); font-size: 14px; margin-bottom: 20px; }
.price-card ul { list-style: none; margin: 0 0 26px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0;
        font-size: 15px; color: var(--ink-soft); }
.price-card li .icon { width: 18px; height: 18px; margin-top: 3px; }
.trial-ribbon { position: absolute; top: -13px; left: 34px; background: var(--accent); color: #fff;
        font-size: 12.5px; font-weight: 600; border-radius: 6px; padding: 3px 10px; }

/* Comparison table */
.compare { margin-top: 56px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px;
        background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { font-weight: 650; font-size: 14px; }
.compare td { color: var(--ink-soft); }
.compare tr:last-child td { border-bottom: none; }
.compare .us { background: var(--accent-soft); }
.compare .us td { color: var(--ink); }
.compare-note { font-size: 13px; color: var(--ink-faint); margin-top: 10px; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex;
        justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--ink-faint); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; font-size: 15.5px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 60px; margin-top: 40px;
        font-size: 14px; color: var(--ink-faint); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--ink-soft); text-decoration: none; margin-right: 20px; }
footer a:hover { color: var(--ink); }

/* Legal pages */
.legal { max-width: 720px; padding: 56px 0 80px; }
.legal h1 { font-size: 40px; margin-bottom: 8px; }
.legal .updated { color: var(--ink-faint); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 16px; color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }

/* Confetti sprinkle (decorative, sparse) */
.sprinkle { position: absolute; pointer-events: none; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .grid { grid-template-columns: 1fr; }
  .diff-row { grid-template-columns: 1fr; gap: 28px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
