/* gritgrowth.co. Brand kit: Manrope, ink on white, orange lives in the logo only. */

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #070709;
  --graphite: #6e7180;
  --line: #d3d6e0;
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
address {
  margin: 0;
  font-weight: 400;
  font-style: normal;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-color: currentColor;
}
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.wrap {
  max-width: 1040px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-size: 0.9375rem;
}
.logo {
  display: block;
  line-height: 0;
}
.logo img {
  display: block;
  height: 26px;
  width: auto;
}

.hero {
  padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 104px);
}
.hero h1,
.title h1 {
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.nb {
  white-space: nowrap;
}
.hero h1 {
  max-width: 24ch;
  font-size: clamp(1.875rem, 4.4vw, 3rem);
}
.lede {
  max-width: 58ch;
  margin-top: 20px;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--graphite);
}

/* Rows: quiet label on the left, content on the right, a hairline above. */
.row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 0 32px;
  padding: clamp(32px, 4.5vw, 52px) 0;
  border-top: 1px solid var(--line);
}
.label {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--graphite);
}
.cell > * {
  max-width: 62ch;
}

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 48px;
}
.pair h3 {
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 1.0625rem;
}
.note {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--graphite);
}

.contact address {
  margin-top: 14px;
  font-size: 0.9375rem;
  color: var(--graphite);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--graphite);
}
.foot nav {
  display: flex;
  gap: 20px;
}

/* Legal pages reuse the same rows. */
.title {
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
}
.title h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
}
.title p {
  margin-top: 12px;
  font-size: 0.9375rem;
  color: var(--graphite);
}
.prose p + p,
.prose ul + p {
  margin-top: 1em;
}
.prose ul {
  margin: 0.8em 0 0;
  padding-left: 1.15em;
}
.prose li + li {
  margin-top: 0.45em;
}
.prose strong {
  font-weight: 700;
}

@media (max-width: 720px) {
  .row {
    display: block;
  }
  .label {
    margin-bottom: 10px;
  }
  .pair {
    grid-template-columns: minmax(0, 1fr);
  }
}
