/* ============================================================
   SuperCrowd Impact Wire — styles
   Brand tokens shared with the SuperCrowd Impact Newsroom
   (Nunito + indigo, power-pink CTAs, impact-sky accents).
   ============================================================ */
:root {
  --primary: #2e0052;            /* deep indigo */
  --primary-container: #4b0082;  /* indigo */
  --primary-hover: #622599;
  --secondary: #5d4cbf;          /* slate indigo */
  --soft-lilac: #f4e6ff;
  --impact-sky: #71c1f4;
  --power-pink: #ca0362;
  --background: #faf9f8;
  --surface-low: #f4f3f3;
  --on-background: #1b1c1c;
  --on-surface-variant: #4c4451;
  --outline: rgba(46, 0, 82, .16);
  --outline-soft: rgba(46, 0, 82, .08);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.5;
  color: var(--on-background); background: var(--background);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 1024px) { .container { padding-inline: 40px; } }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--on-surface-variant); }
.small { font-size: 13px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip:focus { left: 0; }

/* ============================== Universe bar ============================== */
.universe { background: var(--primary); color: #fff; font-size: 13.5px; }
.universe__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 9px; flex-wrap: wrap; }
.universe__home { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: -.01em; }
.universe__home img { height: 24px; width: 24px; border-radius: 9999px; }
.universe__links { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.universe__links a { color: rgba(255,255,255,.82); font-weight: 600; transition: color .2s; }
.universe__links a:hover { color: #fff; }
.universe__links a.is-active { color: var(--impact-sky); }

/* ============================== Site header ============================== */
.siteheader { background: #fff; border-bottom: 1px solid var(--outline); position: sticky; top: 0; z-index: 50; }
.siteheader__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark__mark { height: 34px; width: 34px; border-radius: 9999px; }
.wordmark__text { font-size: 20px; font-weight: 800; color: var(--secondary); letter-spacing: -.01em; }
.wordmark__text strong { color: var(--primary); font-weight: 900; }
.topnav { display: flex; align-items: center; gap: 22px; }
.topnav a { font-weight: 700; color: var(--on-surface-variant); transition: color .2s; }
.topnav a:hover { color: var(--primary); }
.topnav__cta { background: var(--primary); color: #fff !important; padding: 9px 18px; border-radius: 9999px; }
.topnav__cta:hover { background: var(--primary-hover); }
@media (max-width: 720px) {
  .topnav { gap: 14px; font-size: 14px; }
  .topnav a:not(.topnav__cta) { display: none; }
  .wordmark__text { font-size: 17px; }
}

/* ============================== Sections ============================== */
.section { padding-block: 56px; }
section[id] { scroll-margin-top: 84px; }
.section--alt { background: #fff; border-block: 1px solid var(--outline-soft); }
.sectionhead { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.sectionhead h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 900; color: var(--primary); letter-spacing: -.02em; }
.sectionhead__sub { margin-top: 10px; color: var(--on-surface-variant); font-size: 17px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--power-pink); margin-bottom: 12px; }
.eyebrow--light { color: var(--impact-sky); }

/* ============================== Hero ============================== */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--primary-container), var(--primary)); color: #fff; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 9999px; background: rgba(113,193,244,.16); }
.hero__inner { position: relative; padding-block: 72px 64px; text-align: center; max-width: 820px; }
.hero__title { font-size: clamp(34px, 6vw, 58px); font-weight: 900; line-height: 1.05; letter-spacing: -.025em; }
.hero__sub { margin: 20px auto 0; max-width: 600px; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.86); }
.hero__cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 22px; font-size: 13px; color: rgba(255,255,255,.62); }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ============================== Buttons ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--power-pink); color: #fff; font-weight: 800; font-size: 16px;
  padding: 13px 26px; border-radius: 9999px; border: 2px solid transparent; cursor: pointer;
  box-shadow: 0 4px 14px rgba(202,3,98,.32); transition: opacity .2s, background .2s, transform .1s;
  font-family: inherit; text-align: center;
}
.btn:hover { opacity: .93; }
.btn:active { transform: translateY(1px); }
.btn--lg { font-size: 17px; padding: 15px 30px; }
.btn--sm { font-size: 14px; padding: 9px 16px; box-shadow: none; }
.btn--block { display: flex; width: 100%; }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--outline); box-shadow: none; }
.btn--ghost:hover { background: var(--soft-lilac); opacity: 1; }

/* ============================== Steps ============================== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.step { background: var(--background); border: 1px solid var(--outline-soft); border-radius: 16px; padding: 26px 24px; }
.section--alt .step { background: #fff; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9999px; background: var(--primary); color: #fff; font-weight: 900; margin-bottom: 14px; }
.step h3 { font-size: 19px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.step p { color: var(--on-surface-variant); font-size: 15px; }

/* ============================== Pricing ============================== */
.pricing { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 880px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.plan { background: #fff; border: 1px solid var(--outline); border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; }
.plan--featured { border: 2px solid var(--power-pink); position: relative; box-shadow: 0 16px 40px rgba(46,0,82,.10); }
@media (min-width: 880px) { .plan--featured { transform: translateY(-10px); } }
.plan__ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--power-pink); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 16px; border-radius: 9999px; white-space: nowrap; }
.plan__name { font-size: 22px; font-weight: 900; color: var(--primary); }
.plan__tagline { color: var(--on-surface-variant); font-size: 14px; margin-top: 4px; min-height: 2.4em; }
.plan__price { font-size: 44px; font-weight: 900; color: var(--primary); letter-spacing: -.02em; margin-top: 8px; }
.plan__features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan__features li { position: relative; padding-left: 26px; font-size: 15px; color: var(--on-background); }
.plan__features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--power-pink); font-weight: 900; }
.plan__features li strong { color: var(--primary); }
.plan__features li:has(strong)::before { content: ""; }

/* ============================== Comparison table ============================== */
.comparewrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; border: 1px solid var(--outline); border-radius: 16px; overflow: hidden; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--outline-soft); }
.compare thead th { font-size: 17px; font-weight: 900; color: var(--primary); background: var(--surface-low); }
.compare__price { font-size: 13px; font-weight: 700; color: var(--on-surface-variant); }
.compare__feat { text-align: left; font-weight: 700; color: var(--on-background); }
.compare .is-feat { background: rgba(202,3,98,.05); }
.compare thead .is-feat { background: rgba(202,3,98,.10); }
.compare .yes { color: var(--power-pink); font-weight: 900; font-size: 18px; }
.compare .no { color: var(--outline); font-weight: 800; }
.compare__cta td { border-bottom: none; padding-top: 16px; }

/* ============================== FAQ ============================== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--outline); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--primary); padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 12px; font-size: 22px; font-weight: 700; color: var(--secondary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--on-surface-variant); line-height: 1.6; }
.faq a { color: var(--power-pink); font-weight: 700; }

.endcta { text-align: center; margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--outline-soft); }
.endcta h2 { font-size: 26px; font-weight: 900; color: var(--primary); margin-bottom: 18px; }

/* ============================== Fine print / alerts / notice ============================== */
.fineprint { font-size: 13px; color: var(--on-surface-variant); line-height: 1.5; margin-top: 18px; }
.fineprint a { color: var(--secondary); font-weight: 700; text-decoration: underline; }
.alert { background: #fff4f8; border: 1px solid rgba(202,3,98,.3); color: #7a0a3c; border-radius: 12px; padding: 14px 18px; font-size: 14.5px; margin: 18px 0; }
.alert--ok { background: #eefaf1; border-color: rgba(36,138,76,.3); color: #176a36; }
.alert ul { margin: 8px 0 0; padding-left: 20px; }
.notice { background: #fff; border: 1px solid var(--soft-lilac); border-radius: 16px; padding: 40px 28px; text-align: center; color: var(--on-surface-variant); }
.notice h2 { color: var(--primary); font-size: 22px; font-weight: 800; margin-bottom: 8px; }

/* ============================== Forms ============================== */
.formhead { margin-bottom: 26px; }
.formhead h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 900; color: var(--primary); letter-spacing: -.02em; }
.lead { font-size: 17px; color: var(--on-surface-variant); line-height: 1.6; margin-top: 12px; }
.savechip { font-size: 13px; font-weight: 700; color: var(--secondary); vertical-align: middle; margin-left: 8px; }

.form { display: flex; flex-direction: column; gap: 18px; background: #fff; border: 1px solid var(--outline); border-radius: 18px; padding: 28px 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-weight: 800; color: var(--primary); font-size: 15px; }
.field__help { font-size: 13px; color: var(--on-surface-variant); }
.field .opt { font-weight: 600; color: var(--on-surface-variant); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.field input[type=text], .field input[type=email], .field input[type=password], .field textarea {
  font-family: inherit; font-size: 16px; color: var(--on-background);
  border: 1px solid var(--outline); border-radius: 10px; padding: 12px 14px; background: #fff; width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(93,76,191,.16); }
.field textarea { resize: vertical; }
.field input[type=file] { font-family: inherit; font-size: 14px; padding: 10px 0; }
.formgrid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .formgrid { grid-template-columns: 1fr 1fr; } .formgrid--3 { grid-template-columns: 1fr 1fr 1fr; } }
.fieldset { border: 1px solid var(--outline-soft); border-radius: 14px; padding: 18px; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.fieldset legend { font-weight: 800; color: var(--primary); padding: 0 8px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--on-background); }
.check input { width: 18px; height: 18px; }
.uploader { background: var(--soft-lilac); border: 1px dashed var(--secondary); border-radius: 12px; padding: 16px 18px; }
.form__actions { margin-top: 6px; }
.form__actions .fineprint { margin-top: 12px; }

/* ============================== Thank-you ============================== */
.thanks { background: #fff; border: 1px solid var(--outline); border-radius: 20px; padding: 48px 32px; }
.thanks__check { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 9999px; background: #eefaf1; color: #1a8f48; font-size: 34px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.thanks h1 { font-size: 28px; font-weight: 900; color: var(--primary); }
.thanks .btn { margin-top: 8px; }

/* ============================== Legal ============================== */
.legal h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 900; color: var(--primary); letter-spacing: -.02em; }
.legal h2 { font-size: 20px; font-weight: 800; color: var(--primary); margin: 30px 0 10px; }
.legal p, .legal li { color: #2a2730; line-height: 1.7; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }

/* ============================== Footer ============================== */
.footer { background: var(--primary); color: #fff; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-block: 48px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 32px; } }
.footer__brand .row { display: flex; align-items: center; gap: 10px; }
.footer__brand img { height: 34px; width: 34px; border-radius: 9999px; }
.footer__brand .name { font-size: 21px; font-weight: 800; }
.footer__brand p { color: rgba(255,255,255,.78); max-width: 42ch; margin-top: 12px; line-height: 1.55; }
.footer__col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--impact-sky); margin-bottom: 12px; font-weight: 800; }
.footer__col a { display: block; color: rgba(255,255,255,.8); padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__copy { border-top: 1px solid rgba(255,255,255,.16); padding-block: 18px; font-size: 12.5px; color: rgba(255,255,255,.6); display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; }

/* ============================== Admin back-end ============================== */
.adminbody { background: var(--surface-low); }
.admin { padding-block: 24px 64px; }
.admin__top { display: flex; align-items: center; gap: 14px; padding-block: 8px 22px; border-bottom: 1px solid var(--outline); margin-bottom: 26px; }
.admin__tag { background: var(--primary); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 9999px; }
.admin__logout { margin-left: auto; font-weight: 700; color: var(--secondary); }
.admin h1 { font-size: 26px; font-weight: 900; color: var(--primary); margin-bottom: 18px; }
.card { background: #fff; border: 1px solid var(--outline); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.card h2 { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 14px; }
.login { max-width: 420px; }
.login .field { margin-bottom: 16px; }
.otable { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--outline); border-radius: 14px; overflow: hidden; min-width: 640px; }
.otable th, .otable td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--outline-soft); font-size: 14.5px; }
.otable thead th { background: var(--surface-low); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--on-surface-variant); }
.otable a { color: var(--power-pink); font-weight: 700; }
.pillbadge { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 9999px; }
.pillbadge--ok { background: #eefaf1; color: #1a8f48; }
.pillbadge--wait { background: var(--soft-lilac); color: var(--secondary); }
.orderhead h1 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.kv { border-collapse: collapse; margin-top: 14px; }
.kv th { text-align: left; color: var(--on-surface-variant); font-weight: 700; padding: 4px 18px 4px 0; vertical-align: top; font-size: 14px; }
.kv td { padding: 4px 0; font-size: 14.5px; }
.kvblock { padding: 12px 0; border-bottom: 1px solid var(--outline-soft); }
.kvblock__k { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--secondary); margin-bottom: 4px; }
.kvblock__v { color: var(--on-background); line-height: 1.6; white-space: pre-wrap; }
.filelist { list-style: none; margin: 0; padding: 0; }
.filelist li { padding: 8px 0; border-bottom: 1px solid var(--outline-soft); }
.filelist a { color: var(--power-pink); font-weight: 700; }
.mono, .kv .mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 12.5px; color: var(--on-surface-variant); }
