/* -----------------------------------------------------------
   Boring Corps — wireframe.co-style
   Inter only. Off-white paper. Whitespace as structure.
----------------------------------------------------------- */

:root {
  --bg:        #FDFDFC;
  --ink:       #111110;
  --ink-soft:  #4a4a47;
  --ink-mute:  #8a8a85;
  --rule:      #ececea;
  --accent:    #111110;

  --maxw: 680px;
  --pad:  clamp(22px, 5vw, 40px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03";
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@supports (font-variation-settings: normal) {
  html, body { font-family: "InterVariable", "Inter", sans-serif; }
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color .2s ease, color .2s ease;
}
a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

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

/* -----------------------------------------------------------
   Layout wrapper — single narrow column, everything left-aligned
----------------------------------------------------------- */
.site,
main,
.foot {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* -----------------------------------------------------------
   Header
----------------------------------------------------------- */
.site {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 32px;
  flex-wrap: wrap;
}

.brand {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-bottom: 0;
}
.brand::before {
  content: "✱ ";
  color: var(--ink);
}

.top {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.top a {
  border-bottom: 0;
}
.top a:hover { color: var(--ink); }

/* -----------------------------------------------------------
   Spacing rhythm
   Single vertical gap applied consistently between sections.
   Trailing margins on the LAST child of each section are
   reset so gap = --gap exactly, no accumulated margin.
----------------------------------------------------------- */
:root {
  --gap: clamp(32px, 4.5vw, 48px);
}

main > section + section {
  margin-top: var(--gap);
}
main > section > *:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------------
   Hero
----------------------------------------------------------- */
.hero {
  padding-top: clamp(20px, 3vw, 32px);
}

.hero h1 {
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--ink);
}

.sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 22px;
}

.cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
}
.cta .link {
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}
.cta .link.muted {
  color: var(--ink-mute);
  border-bottom-color: var(--rule);
}
.cta .link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* -----------------------------------------------------------
   Content blocks
----------------------------------------------------------- */
.block h2 {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: -0.005em;
  margin: 0 0 14px;
}

.block p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 12px;
  max-width: 58ch;
}

.block p.tagline {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 14px;
}

.block p.muted,
p.muted {
  color: var(--ink-soft);
  font-size: 16px;
}

/* Plain text lists */
.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.list li {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}
.list li a { border-bottom: 1px solid var(--rule); }
.list li a:hover { border-bottom-color: var(--ink); }

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */
.foot {
  padding-top: clamp(56px, 8vw, 80px);
  padding-bottom: 40px;
}
.foot p {
  font-size: 14px;
  color: var(--ink-mute);
  margin: 0;
}

/* -----------------------------------------------------------
   Small screens
----------------------------------------------------------- */
@media (max-width: 560px) {
  .site { flex-direction: column; align-items: flex-start; padding-bottom: 32px; }
  .top { gap: 16px; }
  .hero h1 { font-size: 28px; }
}
