/* PitchStop site — night and paper.
   Colors come from the approved Sky Gradient logo kit (2026-11-20). */

@font-face {
  font-family: "Host Grotesk";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/host-grotesk-latin.woff2") format("woff2");
}

:root {
  --night: #0e1124;      /* kit: night background */
  --ink: #131d38;        /* kit: wordmark on white, front ring start */
  --navy: #2b4173;       /* kit: ring stop */
  --blue: #4160a3;       /* kit: ring stop */
  --sky: #7696ca;        /* kit: ring stop */
  --mist: #aac3e1;       /* kit: ring stop */
  --frost: #d1e2f0;      /* kit: ring stop */
  --paper: #f5f6f8;
  --white: #ffffff;
  --ink-2: #3d4a6b;      /* secondary text on paper, tinted from ink */
  --rule: #d5dbe6;

  --font: "Host Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  --margin: clamp(1.25rem, 5vw, 4rem);
  --max: 76rem;
  --measure: 66ch;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--sky) var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  caret-color: var(--blue);
}

::selection { background: var(--mist); color: var(--night); }

img, svg { display: block; max-width: 100%; }

a {
  color: var(--navy);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--sky);
  transition: text-decoration-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
a:hover { color: var(--ink); text-decoration-color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--margin));
  margin-inline: auto;
  padding-inline: var(--margin);
}

.skip {
  position: absolute;
  left: var(--margin);
  top: -4rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip:focus { top: 0.75rem; }

/* Header -------------------------------------------------------------- */

.site-head {
  background: var(--night);
  color: var(--white);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}
.brand { display: block; margin-left: -0.55rem; } /* lockup file carries its own clear space */
.brand img { height: 2.25rem; width: auto; }

.nav ul {
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  color: var(--frost);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding-block: 0.75rem;
  display: inline-block;
}
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--sky);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
}
.nav :focus-visible { outline-color: var(--mist); }

@media (max-width: 40rem) {
  .site-head .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-block: 0.9rem 0.15rem;
  }
  .brand img { height: 2rem; }
  .nav ul { gap: 1.35rem; }
}

/* Home hero ----------------------------------------------------------- */

.hero {
  background: var(--night);
  color: var(--white);
  padding-block: clamp(3rem, 9vw, 7.5rem);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 13ch;
}
.hero .lede {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  max-width: 40ch;
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--frost);
}
.hero .cta {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}

.rings { width: 100%; max-width: 28rem; justify-self: end; overflow: visible; }
.rings path { fill: none; stroke-width: 16.443; stroke-miterlimit: 10; }
.rings .r2, .rings .r3 { transform-box: view-box; }

@media (prefers-reduced-motion: no-preference) {
  .rings .r2 { animation: settle-2 1100ms var(--ease-out) 150ms both; }
  .rings .r3 { animation: settle-3 1300ms var(--ease-out) 150ms both; }
  @keyframes settle-2 { from { transform: translate(-11.1px, -32.65px); } }
  @keyframes settle-3 { from { transform: translate(-22.2px, -65.3px); } }
}

@media (max-width: 48rem) {
  .hero .wrap { grid-template-columns: 1fr; }
  .rings { order: -1; justify-self: start; max-width: 9.5rem; }
}

/* Buttons --------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--night);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.button:hover { background: var(--frost); color: var(--night); }
.button:active { transform: translateY(1px); }
.button svg { width: 1.1rem; height: 1.1rem; }
.button.on-paper { background: var(--ink); color: var(--white); }
.button.on-paper:hover { background: var(--navy); color: var(--white); }

/* Sections -------------------------------------------------------------- */

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section + .section { border-top: 1px solid var(--rule); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}
@media (min-width: 52.01rem) { .split > h2 { position: sticky; top: 2rem; } }
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; } }

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h3 {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.3;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.makes { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.makes li {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0.5rem 2rem;
  padding-block: 1.35rem 1.45rem;
  border-bottom: 1px solid var(--rule);
}
.makes p { margin: 0; color: var(--ink-2); max-width: 48ch; }
@media (max-width: 40rem) { .makes li { grid-template-columns: 1fr; } }

.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.big { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.45; letter-spacing: -0.01em; }

.closing {
  background: var(--white);
  border-top: 1px solid var(--rule);
}
.closing .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; }
.closing p { margin: 0.75rem 0 0; color: var(--ink-2); max-width: 46ch; }

/* Inner pages ----------------------------------------------------------- */

.page-head { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  line-height: 1.04;
  font-weight: 650;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 18ch;
}
.page-head .lede {
  margin: 1.25rem 0 0;
  max-width: 52ch;
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-2);
}
.meta { margin: 1rem 0 0; font-size: 0.9375rem; color: var(--ink-2); }

.doc { padding-block: 0 clamp(4rem, 9vw, 7rem); }
.doc section { max-width: var(--measure); padding-top: 2.25rem; margin-top: 2.25rem; border-top: 1px solid var(--rule); }
.doc section:first-child { margin-top: 0; }
.doc section:has(.faq) + section { border-top: 0; margin-top: 0; }
.doc h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); margin-bottom: 0.9rem; }
.doc p, .doc ul { margin: 0 0 1em; }
.doc ul { padding-left: 1.15em; }
.doc li { margin-bottom: 0.5em; }
.doc li::marker { color: var(--blue); }
.doc strong { font-weight: 620; }

.email-line {
  display: inline-block;
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  word-break: break-word;
}

.faq { margin: 0; padding: 0; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1.1rem;
  font-weight: 600;
  font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-0.15rem) rotate(45deg);
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(0.15rem) rotate(-135deg); }
.faq .answer { padding-bottom: 1.25rem; color: var(--ink-2); }
.faq .answer p { margin: 0 0 0.75em; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Footer ---------------------------------------------------------------- */

.site-foot {
  background: var(--night);
  color: var(--mist);
  font-size: 0.9375rem;
  padding-block: 2.75rem;
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.site-foot img { height: 2.25rem; width: auto; margin-left: -0.55rem; }
.site-foot ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-foot a { color: var(--white); text-decoration-color: var(--blue); }
.site-foot a:hover { text-decoration-color: var(--white); }
.site-foot :focus-visible { outline-color: var(--mist); }
.site-foot p { margin: 0; }
