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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: var(--body-weight);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--canvas);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 34px;
}

.brand img {
  display: block;
  width: 146px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a,
.text-link,
.site-footer a {
  font-size: 15px;
  font-weight: 600;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.hero {
  min-height: 690px;
  padding-block: 128px 110px;
  /* No bottom rule here. Every .principles article already carries its own
     top border, so a rule here draws a second hairline 70px away from that
     one, with nothing between them. On desktop it reads as a doubled line;
     stacked on mobile it opens a dead band above "01". */
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
}

h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font-size: clamp(58px, 8vw, 112px);
  font-weight: var(--display-weight-xl);
  line-height: 0.93;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 38px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.button-primary {
  background: var(--ink);
  color: var(--canvas);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: transparent;
  color: var(--ink);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 82px 110px;
}

.principles article {
  min-height: 270px;
  padding: 26px 32px 30px;
  border-left: 1px solid var(--hairline);
}

.principles article:first-child {
  padding-left: 0;
  border-left: 0;
}

.number {
  display: block;
  margin-bottom: 76px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.principles h2 {
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.principles p {
  max-width: 280px;
  margin-bottom: 0;
}

.how {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 84px;
  padding-block: 108px;
  border-top: 1px solid var(--hairline);
}

.section-copy h2,
.split h2,
.page-hero h1,
.flow h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5.7vw, 74px);
  font-weight: var(--display-weight-xl);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-copy > p:last-child {
  max-width: 560px;
  margin-bottom: 0;
}

.prompt-card {
  align-self: end;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--surface);
}

.prompt-card span {
  font-size: 13px;
  font-weight: 600;
}

.prompt-card > p {
  margin: 8px 0 30px;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.prompt-answer {
  padding-top: 24px;
  border-top: 1px solid var(--hairline-strong);
}

.prompt-answer p {
  margin: 8px 0 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 88px;
  align-items: end;
  padding-block: 108px;
  border-top: 1px solid var(--hairline);
}

.split h2 {
  margin-bottom: 0;
}

.split > div:last-child p {
  margin-bottom: 22px;
}

.closing-mark {
  overflow: hidden;
  padding: 92px 4vw 58px;
  background: var(--surface);
}

.closing-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 36px 60px;
  font-size: 13px;
}

.site-footer p {
  margin-bottom: 0;
}

/* Teams page */
.page-hero {
  padding-block: 116px 104px;
  border-bottom: 1px solid var(--hairline);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(62px, 9vw, 126px);
}

.page-hero .hero-copy {
  margin-bottom: 0;
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-block: 90px;
}

.space-card {
  min-height: 430px;
  padding: 42px;
  border-radius: var(--radius-card);
  background: var(--surface);
}

.space-card h2 {
  margin: 76px 0 18px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.space-card p {
  max-width: 440px;
  margin-bottom: 0;
}

.flow {
  padding-block: 100px 116px;
  border-top: 1px solid var(--hairline);
}

.flow h2 {
  max-width: 720px;
}

.flow-list {
  margin: 66px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.flow-list li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  padding-block: 30px;
  border-bottom: 1px solid var(--hairline);
}

.flow-list strong {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: var(--display-weight);
}

.flow-list p {
  max-width: 610px;
  margin-bottom: 0;
}

.team-cta {
  padding-block: 96px;
  background: var(--ground-dark);
  color: var(--ink-on-dark);
}

.team-cta-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}

.team-cta h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(46px, 6.5vw, 84px);
  font-weight: var(--display-weight-xl);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.team-cta .button {
  flex: 0 0 auto;
  border-color: var(--canvas);
  background: var(--canvas);
  color: var(--ink);
}

.team-cta .button:hover,
.team-cta .button:focus-visible {
  background: transparent;
  color: var(--canvas);
  outline-color: var(--canvas);
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding-block: 90px;
  }

  .principles,
  .how,
  .split,
  .space-grid {
    grid-template-columns: 1fr;
  }

  .principles article,
  .principles article:first-child {
    min-height: auto;
    padding: 32px 0;
    border-top: 1px solid var(--hairline);
    border-left: 0;
  }

  .number {
    margin-bottom: 28px;
  }

  .how,
  .split {
    gap: 54px;
  }

  .space-card {
    min-height: 360px;
  }

  .team-cta-inner {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(calc(100% - 32px), 1180px);
  }

  /* Stack the header and keep the nav a single left-aligned row. Right-aligned
     stacked links read as a layout accident against a left-aligned hero, and
     they push the headline most of a screen down. */
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-block: 24px;
  }

  .brand img {
    width: 118px;
  }

  nav {
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  nav a {
    font-size: 13px;
  }

  .hero,
  .page-hero {
    padding-block: 70px;
  }

  h1,
  .page-hero h1 {
    font-size: 54px;
  }

  .principles,
  .how,
  .split,
  .flow {
    padding-block: 70px;
  }

  .prompt-card,
  .space-card {
    padding: 26px;
  }

  .space-card {
    min-height: 330px;
  }

  .space-card h2 {
    margin-top: 54px;
  }

  .closing-mark {
    padding-block: 58px 38px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}



h1.drawn img {
  display: block;
  width: 100%;
  height: auto;
}

.page-hero h1.drawn {
  max-width: 840px;
}
