@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #fbfaf5;
  --foreground: #1a1311;
  --muted: #656b78;
  --brand: #5b2d2d;
  --brand-soft: #faf5f5;
  --thread: #6369e5;
  --card: #ffffff;
  --border: #ecece5;
  --gap: #b45309;
  --trust: #15803d;
  --needle-eye: #fbfaf5;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #16110f;
    --foreground: #f3eeea;
    --muted: #a8a29e;
    --brand: #e3b4b4;
    --brand-soft: #2a1d1b;
    --thread: #a9acf6;
    --card: #1e1816;
    --border: #2f2623;
    --gap: #f0b35c;
    --trust: #6ad08f;
    --needle-eye: #16110f;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "cv11", "ss01";
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.thread {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

.thread path {
  fill: none;
  stroke: var(--thread);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 0.012 0.009;
  vector-effect: non-scaling-stroke;
  animation: sew 60s linear infinite;
}

@keyframes sew {
  to {
    stroke-dashoffset: -1;
  }
}

.top,
main,
.bottom {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: clamp(16px, 5vw, 48px);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
  text-decoration: none;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.wordmark .bar {
  fill: var(--brand);
}

.wordmark .stitch {
  fill: none;
  stroke: var(--thread);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 20 16;
}

.wordmark .needle line {
  stroke: var(--brand);
  stroke-linecap: round;
}

.wordmark .needle ellipse {
  fill: var(--needle-eye);
}

.badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  background: var(--card);
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

main {
  flex: 1;
  padding-block: clamp(32px, 8vh, 96px) 48px;
}

.hero {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--thread);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--foreground);
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 em {
  color: var(--brand);
  font-style: normal;
}

.lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
}

.signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(48px, 9vh, 88px);
}

.signal {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 22px 24px;
  background: var(--card);
  box-shadow: 0 1px 2px rgb(17 24 39 / 4%), 0 12px 32px -18px rgb(91 45 45 / 25%);
}

.kind {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kind::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.kind-why {
  color: var(--thread);
}

.kind-gap {
  color: var(--gap);
}

.kind-trust {
  color: var(--trust);
}

.sentence {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.sentence strong {
  color: var(--brand);
  font-weight: 600;
}

code {
  border-radius: 6px;
  padding: 1px 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  white-space: nowrap;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding-top: 36px;
}

.pillars > div {
  border-radius: 12px;
  background: var(--background);
  box-shadow: 0 0 16px 8px var(--background);
}

.pillars h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pillars p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-block: 28px 32px;
  color: var(--muted);
  font-size: 0.875rem;
}

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

  .pillars {
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thread path {
    animation: none;
  }
}
