/* Shared by the homepage and the industry pages (public/for/). Brand: brand/README.md. */
/* Green only on purple or night, never on paper. */
:root {
  --purple: #4A1888;
  --purple-dark: #2F0F5A;
  --night: #1E0B3B;
  --green: #4CF53B;
  --paper: #F5F2F0;
  --lilac: #D9C8F5;
  --star: #F59E0B;

  --bg: var(--paper);
  --card: #ffffff;
  --ink: var(--night);
  --ink-soft: #54446c;
  --line: var(--night);
  --heading: var(--purple);
  --btn-bg: var(--purple);
  --btn-ink: #ffffff;
  --btn-hover: var(--purple-dark);
  --tick: var(--purple);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--night);
    --card: var(--purple-dark);
    --ink: var(--paper);
    --ink-soft: var(--lilac);
    --line: var(--purple);
    --heading: var(--paper);
    --btn-bg: var(--green);
    --btn-ink: var(--night);
    --btn-hover: #7bf86d;
    --tick: var(--green);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--heading); font-weight: 600; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.display { font-weight: 900; font-stretch: 125%; letter-spacing: -0.01em; }

/* Logo: hand + "UpYours" (one word, that capitalization) with a small "Reviews" under it. On purple/night the final S is green. */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-size: 1.3rem; line-height: 1; white-space: nowrap; }
.logo img { height: 40px; width: auto; display: block; }
.logo .s { color: var(--green); }
.logo .word { display: flex; flex-direction: column; line-height: 1; }
/* REVIEWS spans the full width of the wordmark, like an underline. */
.logo .sub { display: flex; justify-content: space-between; width: 0; min-width: 100%; box-sizing: border-box; padding: 0 0 0 0.02em; font-size: 0.8em; font-weight: 800; font-stretch: 125%; color: var(--lilac); margin-top: 3px; }

/* Nav (sits on the purple hero) */
nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: var(--lilac); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: #fff; }

/* Buttons — square, like the brand kit */
.btn { display: inline-block; padding: 14px 22px; border: 2px solid transparent; font-weight: 800; font-size: 1rem; text-decoration: none; transition: transform .1s ease, background .15s ease; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--card); }
.on-purple .btn-primary, .nav-links .btn-primary { background: var(--green); color: var(--night); }
.on-purple .btn-primary:hover, .nav-links .btn-primary:hover { background: #7bf86d; }
.on-purple .btn-ghost { border-color: #fff; color: #fff; }
.on-purple .btn-ghost:hover { background: var(--purple-dark); }

/* Hero — Ultra Purple in both themes */
.hero { background: var(--purple); color: #fff; padding-bottom: 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 40px; }
.eyebrow { display: inline-block; background: var(--night); color: var(--green); font-weight: 700; font-size: 0.8rem; padding: 6px 12px; margin-bottom: 18px; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.02; margin: 0 0 18px; text-transform: uppercase; }
h1 .hl { color: var(--green); display: block; }
.lede { font-size: 1.15rem; color: var(--lilac); margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Phone mock — a business's review page, so it keeps neutral review colors */
.phone { background: #fff; color: #1e0b3b; border: 2px solid var(--night); border-radius: 28px; padding: 22px 18px; box-shadow: 10px 10px 0 var(--night); max-width: 340px; margin: 0 auto; }
.phone h3 { margin: 0 0 4px; font-size: 1.05rem; text-align: center; }
.phone .sub { margin: 0 0 14px; font-size: 0.85rem; color: #54446c; text-align: center; }
.stars { text-align: center; font-size: 1.7rem; color: var(--star); letter-spacing: 4px; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { font-size: 0.8rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; border: 1.5px solid #ddd5e8; color: #54446c; }
.chip.on { background: var(--purple); border-color: var(--purple); color: #fff; }
.draft { font-size: 0.85rem; background: var(--paper); border: 1px solid #ddd5e8; border-radius: 12px; padding: 12px; }

/* Sections */
section { padding: 72px 0; }
.section-title { font-size: clamp(1.5rem, 3.5vw, 2.1rem); line-height: 1.1; color: var(--heading); margin: 0 0 10px; text-align: center; text-transform: uppercase; }
.section-lede { color: var(--ink-soft); text-align: center; margin: 0 auto 40px; max-width: 36em; font-size: 1.05rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 2px solid var(--line); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--ink-soft); }
.step-num { display: inline-flex; width: 36px; height: 36px; background: var(--green); color: var(--night); border: 2px solid var(--night); font-weight: 900; align-items: center; justify-content: center; margin-bottom: 14px; }

/* Callout — purple block */
.callout { background: var(--purple); color: #fff; padding: 48px 28px; text-align: center; }
.callout h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 3.5vw, 2rem); line-height: 1.1; color: var(--green); text-transform: uppercase; }
.callout p { margin: 0 auto 24px; color: var(--lilac); max-width: 32em; }
.callout a:not(.btn) { color: #fff; }

footer { background: var(--night); color: var(--lilac); padding: 36px 0 44px; font-size: 0.9rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--paper); }
footer .logo { font-size: 1.1rem; }
footer .logo img { height: 34px; }
.tagline { display: block; color: var(--green); font-weight: 700; margin-top: 6px; }

.trade-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trade-groups h3 { margin: 0 0 6px; font-size: 1.05rem; }
.trade-groups p { font-size: 0.95rem; }

.price-card { max-width: 440px; margin: 0 auto; text-align: center; padding: 32px 28px; box-shadow: 10px 10px 0 var(--purple); }
.price { font-size: 1.6rem; color: var(--heading); margin: 0 0 16px; }
.price-list { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; }
.price-list li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid color-mix(in srgb, var(--line) 25%, transparent); color: var(--ink-soft); }
.price-list li:last-child { border-bottom: none; }
.price-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--tick); font-weight: 900; }

.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 2px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 800; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 900; color: var(--tick); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); line-height: 1.6; }

@media (max-width: 820px) {
  .trade-groups { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links a.hide-sm { display: none; }
  section { padding: 56px 0; }
  .phone { box-shadow: 6px 6px 0 var(--night); }
}
@media (max-width: 380px) {
  .logo { font-size: 1.05rem; gap: 8px; }
  .logo img { height: 32px; }
}

/* Industry index (public/for/) */
.industry-link { text-decoration: none; color: inherit; display: block; }
.industry-link h3 { color: var(--heading); }
.industry-link:hover { box-shadow: 6px 6px 0 var(--purple); }

/* "A product of Alluvium Consultants" under the footer logo */
.byline { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--lilac); font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.byline:hover { color: #fff; }
.byline img { display: block; }

.example-tag { margin: -6px 0 6px; text-align: right; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #8a7aa3; }

/* Hero links to the industry versions of the site */
.industry-row { margin: 22px 0 0; color: var(--lilac); font-size: 0.95rem; }
.industry-row a { color: #fff; }
