/* Velora Systems
   An accessibility company's own site has to pass its own audit, so every
   choice here is deliberate: contrast is checked, focus is always visible,
   motion is optional, and nothing depends on JavaScript. */

:root {
  color-scheme: light dark;

  --ink:        #12181f;
  --ink-soft:   #46525f;
  --line:       #dfe4ea;
  --bg:         #ffffff;
  --bg-soft:    #f5f7f9;
  --accent:     #0d5c55;   /* 7.4:1 on white */
  --accent-ink: #ffffff;
  --accent-dim: #e6f0ef;
  --warn:       #8a3a12;

  --measure: 68ch;
  --gap: clamp(1rem, 2.5vw, 1.75rem);
  --pad-block: clamp(3rem, 8vw, 5.5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:        #eaeef2;
    --ink-soft:   #a9b6c2;
    --line:       #2a323b;
    --bg:         #10151a;
    --bg-soft:    #161d24;
    --accent:     #6fd6c8;   /* 9.1:1 on #10151a */
    --accent-ink: #08211e;
    --accent-dim: #17302d;
    --warn:       #ffb38a;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.65 ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Focus must always be obvious. Never remove this. */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Skip link: the first focusable thing on the page. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  font-weight: 600;
}
.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2.5rem, 74rem);
  margin-inline: auto;
}
.prose { max-width: var(--measure); }

/* ---- header ---- */
.site-head {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding-block: 0.9rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.0625rem;
  color: var(--ink);
  text-decoration: none;
}
.brand svg { flex: none; }
.brand span { white-space: nowrap; }

.nav ul {
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a:focus-visible { color: var(--ink); border-bottom-color: var(--accent); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ---- type ---- */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin-top: 0; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.1rem, 2.1vw, 1.3rem); color: var(--ink-soft); }

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.9rem;
}

section { padding-block: var(--pad-block); }
section + section { border-top: 1px solid var(--line); }
.tint { background: var(--bg-soft); }

/* ---- buttons ---- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-weight: 650;
  text-decoration: none;
  border: 2px solid var(--accent);
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); filter: none; }
.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* ---- layout helpers ---- */
.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  margin-top: 2.2rem;
}
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
  background: var(--bg);
}
.card h3 { margin-top: 0; }
/* Prose following a card grid needs air, or the next heading collides with it. */
.grid + .prose { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.prose h3 { margin-top: 2rem; }
.prose h3:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.stat { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; color: var(--accent); display: block; }
.stat-label { color: var(--ink-soft); font-size: 0.95rem; }

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 2.2rem 0 0; }
ol.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1.1rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
}
ol.steps li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 700;
}
ol.steps h3 { margin-bottom: 0.3rem; }
ol.steps p { margin-bottom: 0; color: var(--ink-soft); }

/* ---- price ---- */
.price-card {
  border: 2px solid var(--accent);
  border-radius: 14px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  max-width: 34rem;
}
.price {
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 0.2rem;
}
.price-sub { color: var(--ink-soft); margin-bottom: 1.4rem; }
ul.ticks { list-style: none; padding: 0; margin: 0 0 1.6rem; }
ul.ticks li { padding-left: 1.9rem; position: relative; margin-bottom: 0.65rem; }
ul.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 0.45em;
  width: 1.1rem; height: 0.55rem;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

dl.faq { margin: 2rem 0 0; }
dl.faq dt { font-weight: 650; margin-top: 1.6rem; }
dl.faq dd { margin: 0.4rem 0 0; color: var(--ink-soft); max-width: var(--measure); }

table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; font-size: 0.97rem; }
caption { text-align: left; color: var(--ink-soft); padding-bottom: 0.6rem; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }

.note {
  border-left: 4px solid var(--accent);
  background: var(--bg-soft);
  padding: 1.1rem 1.3rem;
  border-radius: 0 10px 10px 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin: 1.8rem 0 0;
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--ink); }

/* ---- footer ---- */
.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 3rem 4rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
}
.foot-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}
.site-foot h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink); margin-bottom: 0.8rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 0.45rem; }
.site-foot a { color: var(--ink-soft); }
.site-foot a:hover { color: var(--accent); }
.legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
