/* Landing page sections. Shared tokens, nav, buttons and footer live in site.css. */

section { padding: 64px 0; }
.sec-head { max-width: 680px; margin: 0 auto 32px; text-align: center; }
.sec-head h2 { margin: 18px 0 0; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; font-weight: 650; }
.sec-head h2 .soft { color: var(--faint); }
.sec-head p { margin: 16px auto 0; max-width: 560px; color: var(--muted); font-size: 18px; }
.example { color: var(--faint); font-size: 12px; font-weight: 500; letter-spacing: .02em; }

/* ---------------------------------------------------------------- Hero */
.hero { padding: 32px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { margin: 22px 0 0; font-size: clamp(42px, 5.6vw, 70px); line-height: 1.02; font-weight: 650; letter-spacing: -.045em; }
.hero h1 .chip-icon {
  display: inline-grid; place-items: center; width: .92em; height: .92em; margin: 0 .04em;
  border-radius: .24em; background: #0b0b0c; vertical-align: -.12em;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5); transform: rotate(-6deg);
}
.hero h1 .chip-icon img { width: 62%; height: 62%; filter: invert(1); }
[data-theme="dark"] .hero h1 .chip-icon { background: #f3f3f4; }
[data-theme="dark"] .hero h1 .chip-icon img { filter: none; }
.hero .lead { max-width: 500px; margin: 22px 0 0; color: var(--muted); font-size: 19px; line-height: 1.55; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero .ctas .btn { height: 50px; padding: 0 22px; font-size: 16px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.hero-stats div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.hero-stats .i { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); box-shadow: var(--shadow-sm); }
.hero-stats b { font-family: Geomini, sans-serif; font-size: 24px; line-height: 1.05; letter-spacing: -.02em; }
.hero-stats span { color: var(--muted); font-size: 13.5px; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 470px); padding: 26px 0; }
.device {
  position: relative; padding: 10px; border-radius: 34px;
  background: linear-gradient(160deg, #2a2a2e, #0b0b0c 60%); box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
}
.device img { border-radius: 26px; }
.float {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; white-space: nowrap;
}
.float.f1 { top: 64px; left: -42px; transform: rotate(-4deg); }
.float.f2 { top: 46%; right: -34px; transform: rotate(3deg); }
.float.f3 { bottom: 38px; left: -24px; transform: rotate(-2deg); }
.pill { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 13px; font-weight: 650; }
.pill.viral { color: #f91880; background: rgba(249, 24, 128, .12); }
.pill.rising, .pill.age { color: #1d9bf0; background: rgba(29, 155, 240, .12); }
.pill.back { color: #00a86b; background: rgba(0, 186, 124, .13); }
.pill.reply { color: #ea580c; background: rgba(255, 122, 0, .13); }
.pill.gray { color: var(--fg); background: var(--soft); }

/* ------------------------------------------------- Marquee + trust row */
.strip { padding: 0 0 8px; }
.marquee {
  overflow: hidden; padding: 16px 0; border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; font-weight: 500; white-space: nowrap; }
.marquee span::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--line-strong); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; color: var(--muted); font-size: 14.5px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { color: var(--green); }

/* ----------------------------------------------------------- Stat bar */
.statbar { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.statbar div { padding: 26px 24px; text-align: center; }
.statbar div + div { border-left: 1px solid var(--line); }
.statbar b { display: block; font-family: Geomini, sans-serif; font-size: 40px; line-height: 1; letter-spacing: -.035em; }
.statbar span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }

/* -------------------------------------------------------- Feature bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bcard { display: flex; flex-direction: column; grid-column: span 2; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.bcard.wide { grid-column: span 3; }
.bcard h3 { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
.bcard > p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.viz { margin-top: auto; padding-top: 24px; }
.viz-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 14px; color: var(--muted); font-size: 12.5px; }
.viz-legend i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; }

/* Stacked bars: daily follower gains */
.bars { position: relative; display: flex; align-items: flex-end; gap: 10px; height: 170px; padding-bottom: 22px; border-bottom: 1px dashed var(--line-strong); }
.bars .col { position: relative; display: flex; flex: 1; flex-direction: column-reverse; gap: 2px; height: 100%; justify-content: flex-start; }
.bars .col i { display: block; border-radius: 5px; }
.bars .col em { position: absolute; bottom: -22px; left: 0; right: 0; color: var(--faint); font-size: 11.5px; font-style: normal; text-align: center; }
.c1 { background: #0b0b0c; } .c2 { background: #8a8a92; } .c3 { background: #d4d4d9; }
[data-theme="dark"] .c1 { background: #f3f3f4; }
[data-theme="dark"] .c3 { background: #3a3a40; }
.tip-chip { position: absolute; top: -6px; right: 4px; padding: 4px 9px; border-radius: 8px; background: #0b0b0c; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
[data-theme="dark"] .tip-chip { background: #f3f3f4; color: #0b0b0c; }

/* Funnel: a viral post's numbers */
.funnel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: end; height: 190px; }
.funnel div { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.funnel i { display: flex; align-items: flex-end; padding: 10px; border-radius: 12px; color: #fff; font-family: Geomini, sans-serif; font-size: 16px; font-style: normal; font-weight: 650; }
.funnel span { margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.funnel div:nth-child(1) i { height: 100%; background: #0b0b0c; }
.funnel div:nth-child(2) i { height: 72%; background: #3c3c42; }
.funnel div:nth-child(3) i { height: 48%; background: #8a8a92; }
.funnel div:nth-child(4) i { height: 30%; background: #c4c4ca; color: #0b0b0c; }
[data-theme="dark"] .funnel div:nth-child(1) i { background: #f3f3f4; color: #0b0b0c; }

/* Donut: who follows back */
.donut-row { display: flex; align-items: center; gap: 20px; }
.donut { flex: none; display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--fg) 0 58%, #a8a8b0 58% 82%, var(--line-strong) 82% 100%); }
.donut b { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--surface); font-family: Geomini, sans-serif; font-size: 20px; }
.donut-legend { display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.donut-legend i { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 3px; }

/* Progress rows: reply queue */
.queue { display: grid; gap: 10px; }
.queue div { position: relative; overflow: hidden; height: 40px; border-radius: 10px; background: var(--soft); }
.queue i { position: absolute; inset: 0 auto 0 0; border-radius: 10px; background: var(--fg); }
.queue span { position: relative; display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 12px; color: var(--muted); font-size: 13px; font-weight: 600; }
.queue span b { color: var(--bg); font-weight: 600; }

/* Heatmap: best time to post */
.heat { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; }
.heat i { aspect-ratio: 1; border-radius: 5px; background: var(--fg); }
.heat .l0 { opacity: .07; } .heat .l1 { opacity: .2; } .heat .l2 { opacity: .42; } .heat .l3 { opacity: .7; } .heat .l4 { opacity: 1; }

/* Hidden posts list: feed filters */
.hidden-list { display: grid; gap: 8px; }
.hidden-list div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 13.5px; }
.hidden-list b { color: var(--fg); font-weight: 600; }
.hidden-list .show { flex: none; padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--fg); font-size: 12px; font-weight: 600; }
.hidden-list .pill { flex: none; }

/* ---------------------------------------------------- Watch it happen */
.minis { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: -8px auto 28px; }
.minis div { min-width: 150px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); text-align: center; }
.minis b { display: block; font-family: Geomini, sans-serif; font-size: 22px; letter-spacing: -.02em; }
.minis span { color: var(--muted); font-size: 13px; }
.browser { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.address { flex: 1; max-width: 360px; margin: 0 auto; padding: 6px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--muted); font-size: 13px; text-align: center; }
.browser-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #0a0a0b; }
.browser-body img { width: 100%; height: 100%; object-fit: contain; object-position: center top; }

/* -------------------------------------------------------------- Steps */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.step .num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--fg); color: var(--bg); font: 650 15px Geomini, sans-serif; }
.step h3 { margin: 16px 0 6px; font-size: 20px; font-weight: 650; }
.step > p { margin: 0; color: var(--muted); font-size: 15px; }
.step .mock { margin-top: 20px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); font-size: 13.5px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mock-row + .mock-row { margin-top: 10px; }
.toggle { flex: none; position: relative; width: 36px; height: 21px; border-radius: 999px; background: var(--fg); }
.toggle::after { content: ''; position: absolute; top: 3px; right: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); }
.file { display: flex; align-items: center; gap: 10px; }
.file i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--soft); font-style: normal; }
code { padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font: 13px ui-monospace, 'SF Mono', Consolas, monospace; }
.copy { margin-left: 4px; padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); color: var(--fg); font: 600 12.5px Familjen, sans-serif; cursor: pointer; transition: transform 160ms var(--ease-out); }
.copy:active { transform: scale(.96); }
.ctastrip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 16px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.ctastrip b { display: block; font-family: Geomini, sans-serif; font-size: 20px; letter-spacing: -.02em; }
.ctastrip span { color: var(--muted); font-size: 15px; }
.ctastrip .btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------- Who it's for (dark) */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-note { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding: 34px; border-radius: 26px; background: var(--ink); color: var(--ink-fg); }
.feature-note blockquote { margin: 0; font-family: Geomini, sans-serif; font-size: clamp(21px, 2.3vw, 27px); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.feature-note .who { display: flex; align-items: center; gap: 12px; margin-top: 26px; color: var(--ink-muted); font-size: 14.5px; }
.feature-note .who b { display: block; color: var(--ink-fg); }
.feature-note .who .av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #2a2a2f; }
.feature-note .who .av img { width: 24px; height: 24px; filter: invert(1); }
.note-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.note-stats div { padding: 18px; border: 1px solid var(--ink-line); border-radius: 18px; background: rgba(255, 255, 255, .03); }
.note-stats b { display: block; font-family: Geomini, sans-serif; font-size: 32px; letter-spacing: -.03em; }
.note-stats span { color: var(--ink-muted); font-size: 13.5px; }
.person { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.person-top { display: flex; align-items: center; gap: 12px; }
.person-top .av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); }
.person-top b { display: block; font-size: 15.5px; }
.person-top span { color: var(--muted); font-size: 13.5px; }
.person p { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.person .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ------------------------------------------------------------ Pricing */
.price-tag { display: flex; align-items: center; justify-content: center; gap: 6px; margin: -8px auto 28px; width: max-content; max-width: 100%; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; }
.price-tag span { padding: 6px 14px; border-radius: 999px; color: var(--muted); }
.price-tag span.on { background: var(--fg); color: var(--bg); }
.plans { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 16px; align-items: center; }
.plan { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-sm); }
.plan h3 { margin: 0; font-size: 20px; font-weight: 650; }
.plan > p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.plan .amount { display: flex; align-items: baseline; gap: 6px; margin: 22px 0; }
.plan .amount b { font-family: Geomini, sans-serif; font-size: 48px; line-height: 1; letter-spacing: -.04em; }
.plan .amount span { color: var(--muted); font-size: 14.5px; }
.plan .btn { width: 100%; }
.plan ul { display: grid; gap: 11px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex: none; margin-top: 3px; }
.plan.featured { padding: 34px 30px; border-color: transparent; background: var(--ink); color: var(--ink-fg); box-shadow: var(--shadow-lg); }
.plan.featured > p, .plan.featured .amount span { color: var(--ink-muted); }
.plan.featured .badge { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--ink-fg); font-size: 12.5px; font-weight: 600; }
.fine { margin: 22px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

/* --------------------------------------------------------------- Learn */
/* The guide cards themselves are .gcards in site.css */
.learn-more { display: flex; justify-content: center; margin-top: 24px; }

/* ----------------------------------------------------------------- FAQ */
/* Two columns so the FAQ spans the same width as the nav and every other section */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--soft); font-size: 18px; font-weight: 500; transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 16px; }
.faq-foot { margin-top: 22px; color: var(--muted); font-size: 15px; text-align: center; }

/* --------------------------------------------------- Final dark CTA */
.final { padding: 16px 0 0; }
.final-panel { position: relative; overflow: hidden; padding: 96px 24px; border-radius: 32px 32px 0 0; background: var(--ink); color: var(--ink-fg); text-align: center; }
.final-panel .eyebrow { border-color: var(--ink-line); background: rgba(255, 255, 255, .05); color: var(--ink-muted); box-shadow: none; }
.final-panel .eyebrow::before { background: var(--green); }
.final-panel h2 { margin: 20px auto 0; max-width: 640px; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; font-weight: 650; }
.final-panel p { max-width: 520px; margin: 18px auto 0; color: var(--ink-muted); font-size: 18px; }
.final-panel .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.final-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.final-stats div { min-width: 120px; padding: 14px 18px; border: 1px solid var(--ink-line); border-radius: 16px; background: rgba(255, 255, 255, .03); }
.final-stats b { display: block; font-family: Geomini, sans-serif; font-size: 24px; }
.final-stats span { color: var(--ink-muted); font-size: 13px; }
.paper { position: absolute; width: 200px; padding: 14px; border-radius: 14px; background: #fff; color: #0b0b0c; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); text-align: left; font-size: 12.5px; }
.paper b { display: block; margin-bottom: 6px; font-size: 13px; }
.paper .pills { display: flex; flex-wrap: wrap; gap: 5px; }
.paper.p1 { top: 60px; left: 4%; transform: rotate(-8deg); }
.paper.p2 { top: 70px; right: 4%; transform: rotate(7deg); }
.paper.p3 { bottom: 70px; left: 7%; transform: rotate(5deg); }
.paper.p4 { bottom: 60px; right: 6%; transform: rotate(-6deg); }
.final + .site-footer { padding-top: 40px; }
.final + .site-footer .foot-top { padding-top: 40px; border-top: 1px solid var(--ink-line); }

/* -------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
  .paper { display: none; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { width: min(100%, 420px); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bcard, .bcard.wide { grid-column: span 1; }
  .bcard.full-sm { grid-column: 1 / -1; }
  .steps3, .people { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
  .feature-note { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan.featured { order: -1; }
}
@media (max-width: 640px) {
  section { padding: 44px 0; }
  .sec-head { margin-bottom: 24px; }
  .sec-head h2 { font-size: 32px; }
  .sec-head p { font-size: 16.5px; }
  .hero { padding: 20px 0 36px; }
  .hero h1 { font-size: 44px; }
  .hero .lead { font-size: 17.5px; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .hero-stats { margin-top: 30px; }
  .hero-stats b { font-size: 20px; }
  .float { font-size: 12.5px; padding: 8px 11px; }
  .float.f1 { left: -6px; } .float.f2 { right: -6px; } .float.f3 { left: 0; }
  .statbar { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .statbar div { padding: 20px 14px; }
  .statbar div:nth-child(3) { border-left: 0; }
  .statbar div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .statbar b { font-size: 32px; }
  .bento, .steps3, .people { grid-template-columns: 1fr; }
  .bcard { padding: 20px; }
  .browser-body { grid-template-columns: 1fr; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-stats div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
  .hero-stats .i { margin-bottom: 8px; }
  .final-stats div { flex: 1 1 0; min-width: 0; padding: 12px 10px; }
  .feature-note { padding: 24px; }
  .ctastrip { padding: 20px; }
  .ctastrip .btns, .ctastrip .btns .btn { width: 100%; }
  .plan { padding: 22px; }
  .final-panel { padding: 64px 18px; border-radius: 24px 24px 0 0; }
  .final-panel .ctas .btn { flex: 1 1 100%; }
}
