/* Inkhold. Stark & modern. One typeface, near-white, one accent, lots of air. */
:root {
  --bg: #ffffff;
  --fg: #0b0b0d;
  --muted: #6a6a72;
  --faint: #9a9aa2;
  --line: #eaeaec;
  --line-strong: #dcdce0;
  --accent: #2b50ff;
  --field: #ffffff;
  --sans:
    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Helvetica, Arial,
    sans-serif;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.075rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 20;
  background: var(--fg);
  color: var(--bg);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}
.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.wrap,
.nav,
.hero,
.who,
.join-inner,
.foot {
  max-width: 1080px;
  margin-inline: auto;
}

/* ---------- nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem var(--pad);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: block;
}
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
}
.nav-link:hover {
  color: var(--fg);
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(3.5rem, 11vw, 8rem) var(--pad) clamp(3rem, 8vw, 6rem);
}
.hero h1 {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  font-size: clamp(2.6rem, 7.2vw, 5.5rem);
  max-width: 15ch;
}
.sub {
  color: var(--muted);
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.5;
  max-width: 44ch;
  margin: 1.5rem 0 0;
  font-weight: 400;
}

/* ---------- inline join form ---------- */
.join {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2.4rem 0 0;
  max-width: 40rem;
}
.join select,
.join input[type="email"] {
  font: inherit;
  font-size: 1rem;
  color: var(--fg);
  background: var(--field);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  height: 3.1rem;
}
.join select {
  flex: 1 1 15rem;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236a6a72' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.4rem;
}
.join input[type="email"] {
  flex: 2 1 15rem;
  min-width: 0;
}
.join select:focus,
.join input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43, 80, 255, 0.15);
}
.join button {
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--bg);
  background: var(--fg);
  border: 1px solid var(--fg);
  border-radius: 10px;
  padding: 0 1.5rem;
  height: 3.1rem;
  cursor: pointer;
  flex: 0 0 auto;
  transition:
    background 0.15s ease,
    transform 0.1s ease;
}
.join button:hover {
  background: #26262c;
  transform: translateY(-1px);
}
.join button:active {
  transform: none;
}
.join button:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.3em;
  font-size: 0.92rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
}
.form-status.ok {
  color: #157a3e;
}
.form-status.err {
  color: #c0392b;
}
.reassure {
  color: var(--faint);
  font-size: 0.9rem;
  margin: 0.85rem 0 0;
}

/* ---------- who it's for ---------- */
.who {
  padding: clamp(1rem, 3vw, 2rem) var(--pad) clamp(3rem, 7vw, 5rem);
}
.who-row {
  display: grid;
  grid-template-columns: 9rem 1fr auto;
  align-items: baseline;
  gap: 0.4rem 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  transition: opacity 0.15s ease;
}
.who-row:last-child {
  border-bottom: 1px solid var(--line);
}
.who-title {
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.who-desc {
  color: var(--muted);
  max-width: 52ch;
}
.who-go {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--accent);
  white-space: nowrap;
}
.who-go::after {
  content: " →";
  display: inline-block;
  transition: transform 0.15s ease;
}
.who-row:hover .who-go::after {
  transform: translateX(4px);
}
.who-row:hover .who-title {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* ---------- join band ---------- */
.join-band {
  border-top: 1px solid var(--line);
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
}
.join-inner {
  text-align: left;
}
.join-band h2 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 0;
  max-width: 16ch;
}
.join-band .sub {
  margin-top: 1rem;
}

/* ---------- footer ---------- */
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem var(--pad);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--fg);
}
.brand-mark-sm {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}
.foot a {
  color: var(--muted);
}
.foot a:hover {
  color: var(--fg);
}

/* ---------- motion ---------- */
.rise {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.rise.in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .who-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .who-go {
    justify-self: start;
    padding-top: 0.2rem;
  }
  .join button {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rise {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .join button,
  .who-go::after {
    transition: none;
  }
}
