/* bulkstem.com — one hero section and the download (D-229); hand-written, no scripts. Type and palette from the landing drafts (D-041, D-043). */

@font-face {
  font-family: "Inter Tight";
  src: url("fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FAFCFD;
  --ink: #212A35;
  --muted: #535C66;
  --navy: #0E2A47;
  --navy-deep: #0A1F36;
  --navy-ink: #F2F5F8;
  --navy-muted: #A9C3DC;
  --action: #5EA6E0;
  --action-hover: #7FB8E8;
  --action-ink: #0B1F3A;
  --container: 1160px;
  --gutter: 24px;
  --overlap: 200px;
  --font-body: -apple-system, "SF Pro", "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", -apple-system, "SF Pro", "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font-body);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
p, figure, h1 { margin: 0; }

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

/* The hero: a navy first screen, the application window straddling into the light footer */
.hero {
  display: flow-root; /* keeps the window's negative margin inside the hero, so the window really overlaps the footer */
  position: relative;
  padding: 28px 0 0;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 62%);
  color: var(--navy-ink);
}

/* A draft-marks scale down the edge of the hero: the one graphic signature */
.ruler {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 22px;
  background-image:
    repeating-linear-gradient(to bottom, rgba(169, 195, 220, .30) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(to bottom, rgba(169, 195, 220, .60) 0 1px, transparent 1px 60px);
  background-size: 10px 100%, 22px 100%;
  background-repeat: no-repeat;
  background-position: right top;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

.kicker {
  margin-top: 64px;
  color: var(--navy-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin-top: 18px;
  max-width: 13em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 84px;
  line-height: 1.04;
  letter-spacing: -.025em;
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 64px;
  align-items: end;
  margin-top: 36px;
}

.lead {
  max-width: 36em;
  color: var(--navy-muted);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions { display: grid; justify-items: start; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 38px;
  border-radius: 999px;
  background: var(--action);
  color: var(--action-ink);
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease;
}
.button:hover { background: var(--action-hover); }
.button:focus-visible { outline: 2px solid var(--navy-ink); outline-offset: 3px; }

.small { color: var(--navy-muted); font-size: 13.5px; }

.window {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  margin-bottom: calc(-1 * var(--overlap));
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .10), 0 40px 90px rgba(6, 20, 36, .45);
  animation: rise .7s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* The footer: the honest boundaries, word for word (docs/product/disclaimers.md) */
.site-footer { padding: calc(var(--overlap) + 48px) 0 48px; color: var(--muted); font-size: 13.5px; }
.disclaimer { max-width: 62em; }
.copyright { margin-top: 12px; }

@media (max-width: 1000px) {
  h1 { font-size: 64px; }
  .hero-row { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 639px) {
  :root { --overlap: 64px; --gutter: 16px; }
  h1 { font-size: 42px; }
  .kicker { margin-top: 40px; font-size: 11px; letter-spacing: .06em; }
  .lead { font-size: 17px; }
  .button { width: 100%; }
  .hero-actions { justify-items: stretch; text-align: center; }
  .window { margin-top: 36px; }
  .ruler { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .window { animation: none; }
  .button { transition: none; }
}
