/* Vendra marketing site.
   Product-site conventions rather than editorial ones: sans throughout, tight tracking on
   display type, hairlines instead of shadowed cards, one accent used sparingly, and a lot
   of whitespace doing the work that decoration would otherwise do. */

:root {
  --paper:   #FFFFFF;
  --raised:  #FAFAFB;
  --ink:     #0B0B0F;
  --body:    #52555E;
  --faint:   #8A8E97;
  --line:    #E7E8EC;
  --line-2:  #D4D6DC;

  --accent:      #1B4BF0;
  --accent-soft: #EEF2FE;
  --accent-line: #C7D4FC;

  --amber:      #9A6412;
  --amber-soft: #FBF3E4;
  --amber-line: #EBD9B4;

  --r: 10px;
  --shell: 1060px;
  --pad: clamp(20px, 5vw, 32px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:   #0A0A0D;
    --raised:  #101116;
    --ink:     #F4F5F7;
    --body:    #A2A6B0;
    --faint:   #6D7079;
    --line:    #1E2027;
    --line-2:  #2A2D36;

    --accent:      #5B82FF;
    --accent-soft: #121A33;
    --accent-line: #26356B;

    --amber:      #D9A24E;
    --amber-soft: #241C0E;
    --amber-line: #4A3A1B;
  }
}

:root[data-theme="dark"] {
  --paper: #0A0A0D; --raised: #101116; --ink: #F4F5F7;
  --body: #A2A6B0; --faint: #6D7079; --line: #1E2027; --line-2: #2A2D36;
  --accent: #5B82FF; --accent-soft: #121A33; --accent-line: #26356B;
  --amber: #D9A24E; --amber-soft: #241C0E; --amber-line: #4A3A1B;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv05" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand, .btn, .num, .fit-h {
  font-family: "Inter Tight", Inter, -apple-system, sans-serif;
  color: var(--ink);
}

a { color: inherit; }

/* ================================== nav ================================== */

.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad);
  height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 650; font-size: 16px; letter-spacing: -.02em; text-decoration: none;
}
.mark {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; letter-spacing: 0;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a:not(.btn) {
  font-size: 14px; font-weight: 450; color: var(--body); text-decoration: none;
  padding: 7px 12px; border-radius: 7px;
}
.nav-links > a:not(.btn):hover { color: var(--ink); background: var(--raised); }
@media (max-width: 620px) { .nav-links > a:not(.btn) { display: none; } }

/* ================================= buttons ================================= */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  border: 1px solid transparent; border-radius: 8px;
  font-weight: 550; text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { font-size: 14px; padding: 8px 15px; }
.btn-lg { font-size: 15.5px; padding: 13px 26px; }

/* ================================= layout ================================= */

main { max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }

section { padding: clamp(60px, 10vw, 104px) 0; }
section + section { border-top: 1px solid var(--line); }

.sec-head { max-width: 620px; margin-bottom: 40px; }

.kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 650; line-height: .98; letter-spacing: -.042em;
  margin: 0 0 20px;
}
h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 600; line-height: 1.1; letter-spacing: -.032em;
  margin: 0 0 14px; text-wrap: balance;
}
h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -.015em; margin: 0 0 6px; }

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
.sub { font-size: 16.5px; max-width: 56ch; }
.muted { color: var(--faint); font-size: 14.5px; }
.micro {
  font-size: 13.5px; color: var(--faint);
}
.center { text-align: center; }

/* ================================== hero ================================== */

.hero { padding-top: clamp(56px, 11vw, 108px); padding-bottom: clamp(52px, 9vw, 88px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px; letter-spacing: .04em; color: var(--body);
  background: var(--raised); border: 1px solid var(--line);
  border-radius: 99px; padding: 6px 13px 6px 11px; margin: 0 0 26px;
}
.pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.hero .lede {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.5; max-width: 48ch; margin-bottom: 32px;
}
.actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ================================= panel ================================= */

.panel {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper); overflow: hidden;
}
.panel-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--raised);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.panel-title {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px; color: var(--faint);
}

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 720px; }
th, td {
  text-align: left; padding: 15px 18px;
  border-bottom: 1px solid var(--line); vertical-align: middle;
}
th {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase;
  color: var(--faint); white-space: nowrap; padding-top: 13px; padding-bottom: 13px;
}
tbody tr:last-child td { border-bottom: 0; }
td { font-size: 14.5px; }
td.v { color: var(--ink); font-weight: 500; white-space: nowrap; }
td.q { color: var(--body); }
td b { color: var(--ink); font-weight: 550; }
tr.dim td { color: var(--faint); }
tr.dim td.v { color: var(--body); font-weight: 450; }

.chip {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: .02em;
  padding: 3px 8px; border-radius: 5px; margin-right: 7px; white-space: nowrap;
  color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.chip.amber { color: var(--amber); background: var(--amber-soft); border-color: var(--amber-line); }
.chip.grey { color: var(--faint); background: var(--raised); border-color: var(--line-2); }

.pull {
  margin-top: 32px; max-width: 62ch;
  font-size: 17px; line-height: 1.55; color: var(--ink);
  border-left: 2px solid var(--accent); padding-left: 20px;
}

/* ================================== steps ================================== */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 30px; grid-template-columns: 1fr;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 44px; } }
.steps li { padding-top: 18px; border-top: 1px solid var(--line); }
.num {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px; font-weight: 500; color: var(--accent); margin-bottom: 14px;
}
.steps p { font-size: 14.5px; margin: 0; }

/* =============================== contractors =============================== */

.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 720px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { background: var(--paper); padding: 24px 26px; }
.fact p { font-size: 14.5px; margin: 0; }

/* ================================== fit ================================== */

.fit { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .fit { grid-template-columns: 1fr 1fr; gap: 64px; } }
.fit-h { font-size: 13px; font-weight: 550; letter-spacing: .01em; margin-bottom: 12px; }
.fit p { font-size: 15px; max-width: 44ch; }
.fit ul { margin: 0; padding-left: 18px; }
.fit li { font-size: 15px; margin-bottom: 7px; }

/* ================================== cta ================================== */

.cta { text-align: center; }
.cta p { max-width: 46ch; margin-left: auto; margin-right: auto; font-size: 16px; }
.cta .btn { margin-top: 26px; }

.founders {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  margin: 40px 0 12px; font-size: 14px; color: var(--faint);
}
.founders b { color: var(--ink); font-weight: 550; margin-right: 5px; }

/* ================================= footer ================================= */

footer {
  border-top: 1px solid var(--line);
  max-width: var(--shell); margin: 0 auto;
  padding: 24px var(--pad) 44px;
  display: flex; justify-content: space-between;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px; color: var(--faint);
}

/* ================================= a11y ================================= */

a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}
