/* NONPROFIT.SYSTEMS — site styles */
:root {
  --bg: #F5F5F7;
  --card: #FFFFFF;
  --ink: #1D1D1F;
  --ink-2: #424245;
  --muted: #6E6E73;
  --line: #E8E8ED;
  --line-2: #D2D2D7;
  --accent: #0066CC;
  --accent-ink: #004C99;
  --yellow: #FFD60A;
  --black: #000000;
  --hue: #0066CC;
  --radius: 28px;
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-ink); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 0; z-index: 100; }
.skip:focus { left: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 245, 247, 0.82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(0,0,0,0.04); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.logo { font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; padding: 12px 0; }
.logo span { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; gap: 2px 22px; align-items: center; font-size: 14px; }
.nav a { color: var(--ink); text-decoration: none; padding: 12px 0; }
.nav a:hover { color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 0; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: scale(1.03); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { color: #fff; background: var(--accent-ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; }
.btn-soft { background: var(--bg); color: var(--ink); }
.btn-soft:hover { color: var(--ink); }
.nav .btn { padding: 10px 18px; color: #fff; }

/* Hero */
.hero { text-align: center; padding: 34px 0 26px; }
.eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: var(--muted); }
.hero h1 { margin: 12px auto 0; max-width: 1040px; font-weight: 800; font-size: clamp(42px, 7.6vw, 100px); line-height: 0.98; letter-spacing: -0.04em; }
.hue { color: var(--hue); transition: color .5s ease; }
.hero .lead { margin: 18px auto 0; max-width: 860px; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.hero .lead span { color: var(--muted); }
.hero .note { margin: 14px auto 0; max-width: 780px; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.45; }
.mark { background: var(--yellow); padding: 2px 10px; border-radius: 8px; font-weight: 700; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }

/* Sections */
section { scroll-margin-top: 70px; }
.section { padding-bottom: 14px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s5 { grid-column: span 5; } .s6 { grid-column: span 6; } .s7 { grid-column: span 7; } .s12 { grid-column: span 12; }
.tile { background: var(--card); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); transition: transform .22s ease, box-shadow .22s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.tile.dark { background: var(--black); color: #F5F5F7; }
.tile.tint { background: #E8F0FB; }
.tile.yellow { background: var(--yellow); }
.kicker { font-size: 14px; font-weight: 600; color: var(--accent); margin: 0 0 8px; }
.tile.dark .kicker { color: #A1A1A6; }
.tile.tint .kicker { color: #0B4A99; }
.h2 { margin: 0; font-weight: 800; font-size: clamp(28px, 3.8vw, 48px); line-height: 1.02; letter-spacing: -0.03em; }
.h3 { margin: 0; font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.08; letter-spacing: -0.02em; }
.sub { color: var(--muted); }
.body { color: var(--ink-2); font-size: 17px; margin: 12px 0 0; }
.tile.dark .body { color: #D2D2D7; }
.section-head { padding: 26px 8px 4px; }
.checks { list-style: none; margin: 10px 0 0; padding: 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background: currentColor; color: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks li span { color: var(--ink-2); }

/* Product window */
.window { background: #fff; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.10); overflow: hidden; }
.spectrum { display: flex; height: 7px; }
.spectrum i { flex: 1 1 0; transition: flex-grow .5s cubic-bezier(.2,.8,.2,1), opacity .3s ease; opacity: .35; }
.spectrum i.on { flex-grow: 5; opacity: 1; }
.window-bar { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.window-bar .url { font-family: var(--mono); }
.window-body { display: flex; flex-wrap: wrap; }
.side { flex: 1 1 220px; max-width: 100%; padding: 12px; background: #FBFBFD; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.side button { text-align: left; min-height: 44px; padding: 9px 14px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); font-weight: 600; font-size: 15px; transition: background .2s ease, color .2s ease; }
.side button:hover { background: var(--line); }
.side button[aria-selected="true"] { background: var(--mc); color: #fff; }
.panels { flex: 999 1 520px; min-width: 0; padding: clamp(20px, 3vw, 36px); min-height: 470px; }
.panel { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.js .panel:not(.active) { display: none; }
.panel + .panel { margin-top: 28px; }
.js .panel + .panel { margin-top: 0; }
.panel-head { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.panel h3 { margin: 0; font-weight: 800; font-size: clamp(30px, 4vw, 46px); line-height: 1.02; letter-spacing: -0.03em; color: var(--mc); }
.status { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.status.live { background: #E3F4E8; color: #14622D; }
.status.build { background: #E8F0FB; color: #0B4A99; }
.status.dev { background: #FFF1D6; color: #7A4B00; }
.status.connect { background: #F0F0F3; color: #424245; }
.panel p { margin: 0; max-width: 640px; font-size: 19px; line-height: 1.4; color: var(--ink-2); }
.panel .checks li::before { color: var(--mc); }
.kpis { display: flex; flex-wrap: wrap; gap: 12px; }
.kpi { flex: 1 1 150px; background: var(--bg); border-radius: 16px; padding: 16px 18px; }
.kpi b { display: block; font-weight: 800; font-size: 32px; letter-spacing: -0.02em; line-height: 1.1; }
.kpi span { font-size: 13px; color: var(--muted); }
.sample { font-size: 12px; color: var(--muted); margin-top: -8px; }
.related { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.related button { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; }
.related button:hover { border-color: var(--ink); }

/* Chart */
.chart-head { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 8px; }
.legend { display: flex; gap: 18px; font-size: 14px; color: var(--ink-2); }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; }
.row { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.row-label { flex: 0 1 260px; min-width: 180px; font-size: 16px; font-weight: 600; }
.bars { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bar-line { display: flex; align-items: center; gap: 10px; }
.bar { height: 16px; border-radius: 0 4px 4px 0; transform-origin: left center; transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.js .bar { transform: scaleX(0); }
.bar.manual { background: #C7C7CC; }
.bar.system { background: var(--accent); transition-delay: .25s; }
.js .in-view .bar { transform: scaleX(1); }
.bar-line b { font-size: 13px; white-space: nowrap; }
.foot { font-size: 12px; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); margin: 0; }

/* Before/after chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.chips li { position: relative; padding: 7px 13px; border-radius: 999px; background: #1D1D1F; color: #A1A1A6; font-size: 14px; }
.chips li::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; border-radius: 2px; background: #FF453A; transform-origin: left center; transform: scaleX(0); animation: strike 7s ease-in-out infinite; }
.chips li:nth-child(2)::after { animation-delay: .18s } .chips li:nth-child(3)::after { animation-delay: .36s } .chips li:nth-child(4)::after { animation-delay: .54s } .chips li:nth-child(5)::after { animation-delay: .72s } .chips li:nth-child(6)::after { animation-delay: .9s } .chips li:nth-child(7)::after { animation-delay: 1.08s } .chips li:nth-child(8)::after { animation-delay: 1.26s } .chips li:nth-child(9)::after { animation-delay: 1.44s } .chips li:nth-child(10)::after { animation-delay: 1.62s }
@keyframes strike { 0%, 4% { transform: scaleX(0); opacity: 1 } 16%, 90% { transform: scaleX(1); opacity: 1 } 100% { transform: scaleX(1); opacity: 0 } }

/* Audience tabs */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; background: var(--bg); border-radius: 999px; padding: 4px; margin-top: 12px; }
.tabs button { min-height: 44px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-weight: 600; font-size: 15px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.js .tabpanel:not(.active) { display: none; }
.tabpanel p { margin: 14px 0 0; font-size: 18px; font-weight: 600; line-height: 1.3; }

/* Done-for-you grid */
.dfy { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-top: 14px; }
.dfy div { flex: 1 1 210px; min-width: 0; border-top: 2px solid var(--ink); padding-top: 10px; }
.dfy b { display: block; font-size: 17px; }
.dfy span { font-size: 14px; color: var(--ink-2); }
.tagline { margin: 18px 0 0; font-size: 17px; font-weight: 600; }

/* Phone */
.phone-tile { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }
.phone-tile .copy { flex: 1 1 150px; min-width: 0; }
.phone { flex: 0 0 196px; border: 7px solid var(--ink); border-radius: 34px; background: #fff; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 18px 36px rgba(0,0,0,.16); }
.phone small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; }
.phone strong { font-weight: 800; font-size: 17px; text-align: center; line-height: 1.15; }
.qr { position: relative; display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; }
.qr i { background: #fff; } .qr i.d { background: var(--ink); }
.scan { position: absolute; left: 0; right: 0; height: 3px; background: var(--hue); box-shadow: 0 0 12px 3px var(--hue); animation: scan 2.4s ease-in-out infinite alternate; transition: background .5s ease; }
@keyframes scan { from { top: 3% } to { top: 93% } }
.phone .meta { font-size: 12px; text-align: center; color: var(--ink-2); }
.phone .pill { font-size: 13px; font-weight: 600; text-align: center; color: #fff; background: var(--hue); border-radius: 999px; padding: 8px; transition: background .5s ease; }

/* Feature tiles */
.icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 12px; }
.lines { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); font-size: 16px; }
.lines strong { color: var(--ink); }

/* Benefits */
.benefits { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.benefits .intro { flex: 1 1 320px; min-width: 0; }
.badge { display: inline-block; background: var(--ink); color: var(--yellow); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.benefit-cards { flex: 2 1 520px; min-width: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.benefit { flex: 1 1 200px; min-width: 0; background: #fff; border-radius: 20px; padding: 18px 20px; }
.benefit .who { font-size: 13px; font-weight: 700; color: var(--muted); }
.benefit .num { white-space: nowrap; font-weight: 800; font-size: clamp(28px, 2.7vw, 36px); letter-spacing: -0.03em; line-height: 1.1; margin-top: 6px; }
.benefit .num small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; line-height: 1.2; }
.benefit .num.nopre { margin-top: 22px; }
.benefit p { font-size: 14px; color: var(--ink-2); margin: 6px 0 0; }
.fine { flex: 1 1 100%; font-size: 12px; color: #3A3000; margin: 0; }

/* Pricing */
.plan { display: flex; flex-direction: column; gap: 10px; border: 2px solid transparent; }
.plan.featured { border-color: var(--accent); }
.plan .tag { font-size: 13px; font-weight: 700; color: var(--accent); }
.plan h3 { margin: 0; font-weight: 800; font-size: 28px; letter-spacing: -0.02em; line-height: 1.05; }
.plan .price { font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.plan .for { margin: 0; font-size: 15px; color: var(--muted); }
.plan .checks li { font-size: 15px; padding: 7px 0; }
.plan .small { margin: 0; font-size: 13px; color: var(--muted); }
.plan .btn { margin-top: auto; }
.ways { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: flex-start; }
.ways > div { flex: 1 1 240px; min-width: 0; }
.ways .lead-in { flex: 1 1 220px; }
.ways b { display: block; font-size: 18px; color: #fff; }
.ways span { display: block; font-size: 15px; color: #D2D2D7; margin-top: 4px; }

/* Steps, case, FAQ */
.step .n { font-weight: 800; font-size: 44px; letter-spacing: -0.03em; line-height: 1; color: var(--accent); }
.step h3 { margin: 10px 0 6px; font-weight: 700; font-size: 20px; }
.step p { margin: 0; font-size: 15px; color: var(--ink-2); }
.faq { padding: 14px clamp(20px, 3vw, 30px); columns: 2 360px; column-gap: 40px; }
.faq details { break-inside: avoid; }
.faq details { padding: 12px 0; border-top: 1px solid var(--line); }

.faq summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-weight: 700; font-size: 17px; min-height: 44px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }

/* Contact & footer */
.contact { background: var(--black); color: #F5F5F7; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.contact h2 { margin: 0; font-weight: 800; font-size: clamp(34px, 5vw, 62px); line-height: 0.98; letter-spacing: -0.035em; }
.contact p { margin: 14px 0 0; max-width: 520px; font-size: 18px; color: #D2D2D7; }
.contact .side-actions { flex: 0 1 300px; display: flex; flex-direction: column; gap: 10px; }
.contact .mail { display: block; background: #fff; color: var(--ink); border-radius: 14px; padding: 15px 18px; font-family: var(--mono); font-size: 15px; text-decoration: none; }
.contact .loc { font-size: 13px; color: #A1A1A6; }
.site-footer { padding: 18px 28px 40px; font-size: 13px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer a { color: var(--muted); text-decoration: none; padding: 10px 0; }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal { max-width: 720px; font-size: 12px; }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 20px 60px; }
.doc .card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.doc h1 { margin: 0; font-weight: 800; font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.03em; line-height: 1.02; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 10px 0 28px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc ul { padding-left: 20px; }

@media (max-width: 900px) {
  .bento > * { grid-column: span 12; }
  .side { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); }
  .panels { min-height: 0; }
}
@media (max-width: 700px) {
  .site-header { position: static; }
  .nav { gap: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chips li::after { transform: scaleX(1); }
  .js .bar { transform: scaleX(1); }
  .scan { top: 48%; }
}
