/* Vot Labs — votlabs.com. One stylesheet, no JavaScript, no external requests. */

:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --tint: #efece5;
  --ink: #16151c;
  --muted: #5e5b66;
  --subtle: #8c8994;
  --line: #e2ded5;
  --accent: #5a47e0;
  --accent-ink: #ffffff;
  --accent-soft: #ebe8fb;
  --glow: rgba(90, 71, 224, 0.16);

  --serif: ui-serif, "New York", "Iowan Old Style", Charter, "Bitstream Charter", Georgia,
    Cambria, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d12;
    --surface: #15151c;
    --tint: #121218;
    --ink: #f2f0ea;
    --muted: #a6a3ae;
    --subtle: #75727e;
    --line: #26252f;
    --accent: #9b8cff;
    --accent-ink: #0d0d12;
    --accent-soft: #1e1a3d;
    --glow: rgba(155, 140, 255, 0.14);
  }
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 8px 14px;
  background: var(--surface);
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- Brand ---------------------------------------------------------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand--small {
  font-size: 16px;
}

.brand--small .brand__mark {
  width: 24px;
  height: 24px;
}

.mark-bg {
  fill: var(--ink);
}

.mark-v {
  fill: none;
  stroke: var(--bg);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark-dot {
  fill: var(--accent);
}

/* ---- Navigation ----------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.nav__links {
  display: flex;
  gap: 28px;
  margin-right: auto;
}

.nav__links a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav__links a:hover {
  color: var(--ink);
}

@media (max-width: 760px) {
  .nav__links {
    display: none;
  }

  .nav__inner {
    justify-content: space-between;
  }
}

/* ---- Buttons and links ---------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.button:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.button:active {
  transform: translateY(1px);
}

.button--small {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow span {
  transition: transform 0.15s ease;
}

.link-arrow:hover span,
.product:hover .link-arrow span {
  transform: translateX(3px);
}

/* ---- Type ----------------------------------------------------------- */

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 9vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.display em {
  font-style: italic;
  color: var(--accent);
}

.display--small {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
}

.title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.lede {
  max-width: 34em;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.note {
  margin-top: 28px;
  color: var(--subtle);
  font-size: 15px;
}

/* ---- Hero ----------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 9vw, 110px);
}

.hero__glow {
  position: absolute;
  top: -260px;
  right: -200px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 40px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(64px, 9vw, 104px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.facts span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 760px) {
  .facts {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ---- Sections ------------------------------------------------------- */

.section {
  padding: clamp(80px, 11vw, 136px) 0;
  border-top: 1px solid var(--line);
}

.section--tinted {
  background: var(--tint);
}

.section__head {
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section__text {
  max-width: 34em;
  margin-top: 20px;
  color: var(--muted);
  font-size: 19px;
}

/* Services: a numbered, hairline-ruled list in two columns. */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
}

.services li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.services__n {
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 13px;
  padding-top: 6px;
}

.services h3,
.steps h3,
.principles h3,
.product h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 25px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.services p {
  margin-top: 10px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .services {
    grid-template-columns: 1fr;
  }
}

/* Approach: four steps in a row, then principles. */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.steps li {
  padding: 32px 28px 8px 0;
}

.steps li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.steps__n {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
}

.steps p,
.principles p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(56px, 7vw, 88px);
}

.principles li {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.principles h3 {
  font-size: 22px;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .steps li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .principles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .steps li,
  .steps li + li {
    padding: 26px 0 6px;
    border-left: 0;
  }

  .steps li + li {
    border-top: 1px solid var(--line);
  }
}

/* Products */
.product {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.product:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  transform: translateY(-2px);
}

.product__mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 32px;
  background: #090a10;
}

.product__mark svg {
  width: 52%;
}

.product__meta {
  margin-bottom: 8px;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product h3 {
  font-size: clamp(30px, 3.4vw, 40px);
}

.product p:not(.product__meta) {
  max-width: 36em;
  margin: 12px 0 22px;
  color: var(--muted);
}

.product .link-arrow {
  color: var(--accent);
}

@media (max-width: 640px) {
  .product {
    grid-template-columns: 1fr;
  }

  .product__mark {
    width: 104px;
    border-radius: 24px;
  }
}

/* Contact */
.contact .lede {
  margin-top: 24px;
}

.contact .button {
  height: 56px;
  padding: 0 30px;
  font-size: 17px;
}

/* ---- Footer --------------------------------------------------------- */

.footer {
  padding: 44px 0 52px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 14px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.footer .brand {
  color: var(--ink);
}

.footer__legal {
  margin-top: 12px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.footer__links a {
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer__links a:hover {
  color: var(--ink);
}
