/* vaCRM public site */

:root {
  --ink:        #17212b;
  --ink-soft:   #2c3946;
  --muted:      #66737f;
  --paper:      #ffffff;
  --sand:       #f4f5f4;
  --edge:       #dde2e7;
  --accent:     #1f6f5c;
  --accent-d:   #185848;
  --accent-t:   #e9f5f1;
  --blue:       #2b5f9e;
  --blue-t:     #e8f0f9;
  --amber:      #8a5a00;
  --amber-t:    #fdf2dc;
  --radius:     8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 400 16px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark {
  font-family: "Instrument Sans", "Inter", system-ui, sans-serif;
  letter-spacing: -.025em;
  font-weight: 600;
  margin: 0;
}

a { color: var(--accent); }

.shell { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* --- Header ------------------------------------------------------ */

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.wordmark { font-size: 21px; text-decoration: none; color: var(--ink); }
.wordmark .va { color: var(--accent); }

.site-head nav { display: flex; align-items: center; gap: 22px; }
/* :not(.btn) matters here. Without it this rule is more specific than
   .btn-primary and repaints the button text muted green on green. */
.site-head nav a:not(.btn) {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}
.site-head nav a:not(.btn):hover { color: var(--ink); }

.site-head nav .btn { text-decoration: none; }

/* --- Buttons ----------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 11px 20px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-d); }
.btn-quiet {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--edge);
}
.btn-quiet:hover { border-color: var(--muted); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* --- Hero -------------------------------------------------------- */

.hero {
  display: grid;
  gap: 44px;
  padding: 48px 0 72px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 50px);
  line-height: 1.08;
}

.hero .lede {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 20px 0 0;
  max-width: 42ch;
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero .note {
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0 0;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    padding: 72px 0 96px;
  }
}

/* --- Request card (hero visual) ---------------------------------- */

.demo { display: grid; gap: 12px; }

.req {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--edge);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 16px 18px;
}
.req.is-new      { border-left-color: var(--blue); }
.req.is-work     { border-left-color: var(--accent); }
.req.is-pending  { border-left-color: var(--amber); }
.req.is-complete { border-left-color: var(--edge); }

.req-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.req-who {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.req-title {
  font-size: 16px;
  font-weight: 500;
  margin: 4px 0 6px;
}

.req-meta { font-size: 13px; color: var(--muted); }

.pill {
  flex: none;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill-work    { background: var(--accent-t); color: var(--accent-d); }
.pill-new     { background: var(--blue-t);   color: var(--blue); }
.pill-pending { background: var(--amber-t);  color: var(--amber); }
.pill-complete { background: #eceff1; color: var(--muted); }

.hours {
  background: var(--sand);
  border-radius: 0;
  padding: 16px 18px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.hours-bar {
  height: 6px;
  background: #dfe3e2;
  border-radius: 3px;
  overflow: hidden;
}
.hours-bar span {
  display: block;
  height: 100%;
  width: 62%;
  background: var(--accent);
}

/* --- Generic section --------------------------------------------- */

.band { padding: 64px 0; border-top: 1px solid var(--edge); }
.band-sand { background: var(--sand); border-top: 0; }

.band h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  max-width: 20ch;
}
.band .sub {
  color: var(--muted);
  margin: 12px 0 0;
  max-width: 52ch;
}

/* --- Numbered steps ---------------------------------------------- */

.steps {
  display: grid;
  gap: 28px;
  margin-top: 40px;
  counter-reset: step;
}
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: "Instrument Sans", monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
}

/* --- Status track ------------------------------------------------ */

.track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  align-items: center;
}
.track .arrow { color: var(--edge); font-size: 14px; }

/* --- Pricing ----------------------------------------------------- */

.plans {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.plan {
  background: var(--paper);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.plan-pick { border-color: var(--accent); border-width: 2px; }

.plan h3 { font-size: 15px; font-weight: 600; }

.price {
  font-family: "Instrument Sans", sans-serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -.03em;
  margin: 14px 0 2px;
}
.price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}

.plan .cap { font-size: 15px; margin: 10px 0 22px; }
.plan .cap b { font-weight: 600; }
.plan .btn { margin-top: auto; text-align: center; }

@media (min-width: 820px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
}

.same {
  margin-top: 24px;
  font-size: 15px;
  color: var(--muted);
}

/* --- Questions --------------------------------------------------- */

.qa { margin-top: 36px; display: grid; gap: 26px; }
.qa h3 { font-size: 16px; margin-bottom: 4px; }
.qa p { margin: 0; color: var(--muted); font-size: 15px; max-width: 62ch; }

@media (min-width: 760px) {
  .qa { grid-template-columns: 1fr 1fr; gap: 32px 48px; }
}

/* --- Footer ------------------------------------------------------ */

.site-foot {
  border-top: 1px solid var(--edge);
  padding: 28px 0 40px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
