/* Home page: clean, light and modern. Separate from event.css; event pages keep their own look.
   The product pictures (phone, chat, checklist, giving) are drawn in HTML and CSS, no images. */
:root {
  color-scheme: light;
  --ink: #0f1720;
  --muted: #5b6472;
  --line: #e6e8ec;
  --soft: #f5f6f8;
  --card: #fff;
  --green: #0e6b34;
  --green-2: #1c9a4b;
  --gold: #f7b733;
  --siapo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='18' viewBox='0 0 28 18'%3E%3Crect width='28' height='18' fill='%23efe0c8'/%3E%3Cpath d='M7 1l3 3-3 3-3-3zM21 1l3 3-3 3-3-3z' fill='%231d1a16'/%3E%3Cpath d='M0 18L7 9l7 9zM14 18l7-9 7 9z' fill='%238a3d1c'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body.lp {
  margin: 0; background: #fff; color: var(--ink);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.lp a { color: inherit; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .in { max-width: 1080px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; text-decoration: none; }

/* Buttons */
.pill-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 0; background: var(--ink); color: #fff !important; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer;
}
.pill-btn:hover { background: #2a3440; }
.pill-btn.sm { min-height: 38px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
.pill-btn.ghost { background: #fff; color: var(--ink) !important; border: 1px solid var(--line); }
.pill-btn.wide { width: 100%; }
.lnk { font-weight: 700; text-decoration: none; }
.lnk:hover { text-decoration: underline; }

/* Hero */
.hero { max-width: 760px; margin: 0 auto; padding: 56px 20px 0; text-align: center; }
.badge {
  display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 700; background: #fff8e6; border-color: #f3dc9e; color: #6b4a00;
}
.hero h1 { margin: 0; font-size: clamp(38px, 9vw, 64px); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; }
.sub { margin: 18px auto 0; max-width: 34em; color: var(--muted); font-size: 19px; }
.cta { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 28px 0 40px; }

/* The phone in the hero */
.phone {
  width: min(330px, 100%); aspect-ratio: 9 / 17.6; margin: 0 auto; padding: 8px; border-radius: 46px;
  background: #f2f4f6; border: 1px solid #dde1e6; box-shadow: 0 30px 60px rgba(15, 23, 32, .12);
  transform: translateY(24px); margin-bottom: -24px;
}
.scr { height: 100%; border-radius: 36px; overflow: hidden; background: #faf6ef; text-align: left; }
/* Phone status bar: time on the left, signal, wifi and battery on the right */
.ph-status { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 14px; font-size: 14px; font-weight: 700; }
.ph-status svg { display: block; }
/* Slideshow of three screens: event page, donations, team tasks (landing.js moves it) */
.slides { display: flex; height: 100%; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.slide { flex: 0 0 100%; min-width: 0; height: 100%; display: flex; flex-direction: column; }
.slide > * { flex: none; }
.slide .ph-btn { margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .slides { transition: none; } }
.shows { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: -16px 0 22px; }
.show {
  min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.show[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ph-btn.dark { background: var(--ink); }
.ph-acct { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 2px; }
.ph-acct b { font-size: 15px; font-variant-numeric: tabular-nums; }
.ph-acct em { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }
.ph-card b.in { display: inline; font-size: 13px; color: var(--ink); }
.ph-jobs .ui-row { margin: 0; padding: 9px 0; font-size: 14px; }
.ph-jobs .ui-row small { display: inline; margin-left: auto; font-size: 12px; letter-spacing: 0; }
.ph-jobs .ui-row span { width: 18px; height: 18px; }
.ph-head {
  padding: 14px 16px 16px; color: #fff;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath d='M15 1l14 14-14 14L1 15z' fill='none' stroke='%23fff' stroke-opacity='.13' stroke-width='2'/%3E%3C/svg%3E"),
    linear-gradient(160deg, var(--green-2), var(--green));
}
.ph-head b { display: block; margin-top: 8px; font-size: 21px; line-height: 1.15; color: var(--gold); }
.ph-head small { display: block; margin-top: 4px; font-size: 13px; opacity: .9; }
.ph-chip { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .18); }
.ph-band { height: 10px; background: var(--siapo) 0 0 / 16px 10px repeat-x; }
.ph-tabs { display: flex; justify-content: space-around; padding: 10px 6px; font-size: 13px; font-weight: 600; color: var(--muted); background: #fff; border-bottom: 1px solid var(--line); }
.ph-tabs .on { color: var(--ink); box-shadow: inset 0 -2px 0 #a51c22; padding-bottom: 6px; }
.ph-card { margin: 14px 12px 0; padding: 14px; border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.ph-card small { display: block; font-size: 10px; letter-spacing: .05em; color: var(--muted); }
.ph-card b { display: block; font-size: 17px; }
.ph-card span { font-size: 13px; color: var(--muted); }
.ph-card .of { font-weight: 400; }
.ph-btn { margin: 12px; padding: 12px; border-radius: 999px; background: #25d366; color: #fff; text-align: center; font-size: 14px; font-weight: 700; }

/* Sections */
section { padding: 72px 0; }
.band { background: var(--soft); }
.hero + .band { padding-top: 96px; }
.sec { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.sec.narrow { max-width: 620px; }
.center { text-align: center; }
.eyebrow { margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green); }
.sec h2 { margin: 0; font-size: clamp(28px, 6vw, 42px); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; max-width: 18em; }
.lead { margin: 14px 0 0; max-width: 36em; color: var(--muted); font-size: 18px; }
.center h2, .center .lead { margin-left: auto; margin-right: auto; }
.center .pill-btn { margin-top: 24px; }

.split { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 36px; align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; gap: 40px; } }
.grid3 { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; margin: 36px 0 0; }
@media (min-width: 720px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.grid2 { display: grid; grid-template-columns: 1fr; gap: 12px 28px; margin-top: 28px; }
@media (min-width: 720px) { .grid2 { grid-template-columns: 1fr 1fr; } }

.tile { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.tile.small b { display: block; font-size: 18px; }
.tile.small p { margin: 6px 0 0; color: var(--muted); }
.steps .n {
  display: inline-flex; width: 32px; height: 32px; margin-bottom: 12px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800;
}

.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.feat li { padding-left: 34px; position: relative; color: var(--muted); }
.feat li b { display: block; color: var(--ink); font-size: 18px; }
.feat li::before, .tick::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.tick { position: relative; margin: 0; padding-left: 34px; font-size: 18px; }

/* Chat vs one link */
.chat, .link { display: flex; flex-direction: column; gap: 8px; min-height: 300px; background: #e9f3ec; border: 0; }
.link { background: #fff; border: 1px solid var(--line); }
.b { margin: 0; max-width: 85%; padding: 8px 12px; border-radius: 16px; font-size: 15px; }
.b.in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.b.out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 4px; }
.meta { margin: auto 0 0; font-size: 13px; color: var(--muted); text-align: center; padding-top: 10px; }
.preview { align-self: flex-end; width: 85%; border-radius: 14px; overflow: hidden; background: #d9fdd3; padding: 0 0 10px; }
.pv-img { height: 90px; background: linear-gradient(160deg, var(--green-2), var(--green)); margin-bottom: 8px; }
.preview b, .preview small { display: block; padding: 0 12px; }
.preview small { font-size: 13px; color: var(--muted); }
.preview .url { color: #1b7a43; }

/* Mini product UI */
.ui { box-shadow: 0 20px 40px rgba(15, 23, 32, .08); }
.ui-big { margin: 0 0 8px; font-size: 40px; font-weight: 800; line-height: 1; }
.ui-big small { font-size: 15px; font-weight: 500; color: var(--muted); }
.bar { display: block; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 16px; }
.bar > i { display: block; height: 100%; background: var(--green); }
.bar.gold > i { background: var(--gold); }
.ui-row { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 0; border-top: 1px solid var(--line); }
.ui-row span { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--muted); }
.ui-row small { margin-left: auto; color: var(--muted); font-size: 13px; }
.ui-row.done { color: var(--muted); text-decoration: line-through; }
.ui-row.done span { background: var(--green); border-color: var(--green); }
.ui-row.help span { border-color: #d08a00; }
.ui-row.help small { color: #a06a00; font-weight: 700; }
.give small { font-size: 11px; letter-spacing: .05em; color: var(--muted); }
.give .ui-big small { font-size: 14px; letter-spacing: 0; }
.acct { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--soft); font-size: 14px; color: var(--muted); }
.acct b { color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; }
.acct em { font-style: normal; font-weight: 700; color: var(--ink); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.pay { margin: 10px 0 0; padding: 12px; border-radius: 999px; background: var(--ink); color: #fff; text-align: center; font-weight: 700; }
.wall { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* Register */
.reg { margin-top: 28px; }
.reg label { display: block; margin: 14px 0 0; font-weight: 700; font-size: 15px; }
.reg label:first-child { margin-top: 0; }
.reg input, .reg select, .reg textarea {
  display: block; width: 100%; margin-top: 6px; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-weight: 400;
}
.reg input:focus, .reg select:focus, .reg textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.reg .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.reg .pill-btn { margin-top: 16px; }
.reg .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.err { color: #c8203a; }
.done { margin-top: 28px; }
.done b { font-size: 20px; }
.done .pill-btn { margin-top: 8px; }

/* Footer */
.foot { text-align: center; color: var(--muted); font-size: 14px; padding: 0 20px 40px; }
.foot .siapo { height: 14px; margin: 0 -20px 24px; background: var(--siapo) repeat-x; }
.foot a { color: var(--ink); }
.logo img { display: block; height: 38px; width: auto; }
.foot-logo { display: block; height: 28px; width: auto; margin: 0 auto 10px; }

/* Pricing */
.top nav { display: flex; align-items: center; gap: 14px; margin-left: 12px; font-size: 15px; }
@media (max-width: 380px) { .top .logo img { height: 32px; } .top .pill-btn.sm { padding: 0 12px; } }
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan > b { font-size: 18px; }
.plan .price { margin: 8px 0 0; font-size: 36px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .pnote { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; }
.plan li { position: relative; padding-left: 24px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.plan.hot { border: 2px solid var(--green); box-shadow: 0 20px 40px rgba(15, 23, 32, .08); }
.sizes { margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--soft); font-size: 14px; }
.sizes div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.sizes dt { color: var(--muted); }
.sizes dd { margin: 0; font-weight: 700; }
.pfoot { margin-top: 20px; }
.reg label.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-weight: 400; font-size: 15px; cursor: pointer; }
.reg label.consent input { flex: none; width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--green); }
