@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --paper: #f3ecdf;
  --paper-deep: #e7dfd0;
  --ink: #1c1915;
  --ink-soft: #4a453c;
  --rule: #d3c8b4;
  --copper: #9a3412;
  --pine: #1a2e28;
  --pine-2: #243f37;
  --cream: #f7f3ea;
  --note: #f6e4d6;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 72rem;
  --header: 6.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 420;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--pine) 0 78%, var(--copper) 78% 100%);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:hover {
  color: var(--copper);
}

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

::selection {
  background: #efd0c2;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  background: var(--ink);
  color: var(--cream);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.6rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 236, 223, 0.94);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(10px);
}

.header-bar,
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.header-bar {
  padding-top: 0.85rem;
  flex-wrap: wrap;
}

.nav-row {
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 0.35rem 0 0.85rem;
}

.nav-row a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}

.nav-row a:hover {
  color: var(--ink);
  border-bottom-color: var(--copper);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--ink);
}

.wordmark:hover {
  color: var(--ink);
}

.wordmark-stanza {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 560;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wordmark-works {
  font-size: 0.74rem;
  font-weight: 560;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.05rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font: inherit;
  font-weight: 560;
  letter-spacing: 0.01em;
  border: 0;
  border-radius: 2px;
  text-align: center;
  cursor: pointer;
}

.button:hover {
  background: var(--copper);
  color: var(--cream);
}

.hero {
  padding: clamp(2.5rem, 6vw, 5.25rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.kicker {
  margin: 0 0 0.9rem;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
.price,
.scale dt {
  font-family: var(--serif);
  font-weight: 560;
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0;
  font-size: clamp(2.45rem, 6.4vw, 4.85rem);
  line-height: 0.98;
  max-width: 16ch;
}

.h1-turn {
  display: block;
  margin-top: 0.35rem;
  font-style: italic;
  font-weight: 500;
  color: var(--pine);
}

.lede {
  max-width: 40rem;
  margin: 1.25rem 0 0;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
  margin-top: 1.6rem;
}

.text-link {
  font-weight: 560;
  text-underline-offset: 0.22em;
}

.staff-card {
  margin: 0;
  padding: 1.15rem 1.15rem 1rem;
  background: var(--cream);
  border: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(28, 25, 21, 0.04);
}

.staff-card p {
  margin: 0;
}

.staff-label {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.staff {
  list-style: none;
  margin: 0.7rem 0 0.85rem;
  padding: 0;
}

.staff li {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr) 0.7rem;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.55rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1.12rem;
}

.staff li span {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--copper);
}

.staff li.is-pilot::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  justify-self: end;
  background: var(--copper);
}

.staff-note {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.band {
  padding: clamp(2.75rem, 7vw, 5.25rem) 0;
}

.band + .band {
  border-top: 1px solid var(--rule);
}

.band h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
  max-width: 16ch;
}

.prose {
  max-width: 42rem;
}

.prose p,
.measure {
  max-width: 42rem;
}

.failures {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.failures li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}

.failures li span {
  font-family: var(--serif);
  font-style: italic;
  color: var(--copper);
}

.layers {
  margin-top: 1.5rem;
}

.layer {
  display: grid;
  gap: 0.45rem 1.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
}

.layer-num {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--copper);
  line-height: 1.2;
}

.layer h3,
.drill-card h3,
.faq-item h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.faq-item summary h3 {
  flex: 1;
  min-width: 0;
}

.layer p,
.drill-card p {
  margin: 0.4rem 0 0;
}

.drill-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.pill {
  display: inline-block;
  padding: 0.12rem 0.4rem;
  background: var(--note);
  color: var(--copper);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}

.scale {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
}

.scale div {
  margin: 0;
  padding-top: 0.7rem;
  border-top: 2px solid var(--ink);
}

.scale dt {
  font-size: 2rem;
  line-height: 1;
}

.scale dd {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
}

.pilot {
  background: var(--pine);
  color: var(--cream);
  border-top: 0;
}

.pilot h2,
.pilot .kicker {
  color: var(--cream);
}

.pilot .kicker {
  color: #f0c2ae;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.4rem 1.25rem;
  margin: 0.4rem 0 1.1rem;
}

.price {
  margin: 0;
  font-size: clamp(4.2rem, 12vw, 6.4rem);
  line-height: 0.85;
  letter-spacing: -0.045em;
}

.price-note {
  max-width: 16rem;
  margin: 0 0 0.45rem;
  color: #e4ddd0;
}

.standard-offer {
  margin-top: 2.4rem;
  padding-top: 1.55rem;
  border-top: 1px solid rgba(247, 243, 234, 0.22);
}

.standard-offer .kicker {
  margin-bottom: 0.7rem;
}

.standard-offer .price {
  font-size: clamp(2.7rem, 9vw, 4.5rem);
}

.standard-offer .pilot-close {
  margin-top: 0.15rem;
}

.pilot-offer {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.pilot-prices .standard-offer {
  margin-top: 1.75rem;
}

.included {
  padding: 1.15rem 1.15rem 0.4rem;
  background: rgba(247, 243, 234, 0.05);
  border: 1px solid rgba(247, 243, 234, 0.18);
}

.included h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.15;
  max-width: 18ch;
}

.included-group {
  margin: 0;
  padding: 0.95rem 0 0.85rem;
  border-top: 1px solid rgba(247, 243, 234, 0.22);
}

.included-group h4 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.included-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.included-group li {
  position: relative;
  margin: 0;
  padding: 0.5rem 0 0.5rem 1rem;
  color: #e7e1d6;
}

.included-group li + li {
  border-top: 1px solid rgba(247, 243, 234, 0.12);
}

.included-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.38rem;
  height: 0.38rem;
  background: var(--copper);
}

.drills {
  display: grid;
  gap: 0.8rem;
  margin: 1.35rem 0 0;
}

.drill-card {
  padding: 1.05rem 1.05rem 1.15rem;
  background: rgba(247, 243, 234, 0.05);
  border: 1px solid rgba(247, 243, 234, 0.18);
}

.drill-card p {
  color: #e7e1d6;
}

.pilot .hero-actions {
  margin-top: 1.5rem;
}

.pilot .text-link {
  color: var(--cream);
}

.pilot .button {
  background: var(--cream);
  color: var(--pine);
}

.pilot .button:hover {
  background: white;
  color: var(--pine);
}

.faq-list {
  margin-top: 0.5rem;
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--copper);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .answer {
  max-width: 44rem;
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
}

.close-cta {
  margin: 2rem 0 0;
}

.contact p {
  max-width: 40rem;
}

.mail {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  text-underline-offset: 0.15em;
}

.site-footer {
  padding: 1.5rem 0 2.25rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.footer-grid p {
  margin: 0.25rem 0;
}

.missing {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.missing h1 {
  max-width: 14ch;
}

@media (max-width: 640px) {
  .hero-actions,
  .header-bar .button,
  .close-cta .button,
  .pilot .button {
    width: 100%;
  }

  .header-bar .button {
    width: auto;
  }
}

@media (max-width: 420px) {
  .header-bar .button {
    width: 100%;
  }
}

@media (min-width: 760px) {
  .scale {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .drills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .layer {
    grid-template-columns: 4.25rem minmax(0, 1fr) 13.5rem;
    align-items: start;
  }

  .drill-name {
    justify-content: flex-end;
    padding-top: 0.25rem;
    text-align: right;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.75fr);
    gap: 3rem;
  }

  .pilot-offer {
    grid-template-columns: minmax(24rem, 0.78fr) minmax(0, 1.22fr);
    gap: 2.5rem 3rem;
  }

  :root {
    --header: 5.6rem;
  }
}

section,
#contact,
.missing {
  scroll-margin-top: 7.5rem;
}

@media (max-width: 720px) {
  section,
  #contact,
  .missing {
    scroll-margin-top: 14rem;
  }
}

.layer-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  counter-reset: layer;
}

.layer-list li {
  counter-increment: layer;
  position: relative;
  max-width: 46rem;
  padding: 1rem 0 1rem 3.2rem;
  border-top: 1px solid var(--rule);
}

.layer-list li::before {
  content: counter(layer, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.05rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--copper);
}

.layer-list strong {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
}

.pilot-close {
  margin-top: 1.4rem;
  color: #e7e1d6;
}

.caution {
  padding-left: 0.9rem;
  border-left: 3px solid var(--copper);
}

.relay-fields,
.apply-form {
  max-width: 52rem;
}

.relay-fields {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0 0 1rem;
  font-weight: 560;
}

.field input:not([type="checkbox"]),
.field textarea {
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-weight: 420;
  font-size: 1rem;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.checks {
  border: 0;
  padding: 0;
}

.checks legend {
  font-weight: 560;
  padding: 0;
  margin-bottom: 0.55rem;
}

.checks label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 0.45rem;
  font-weight: 420;
}

.checks input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}

.score-heading {
  margin: 1.75rem 0 0.6rem;
  font-size: 1.6rem;
}

.score-scale {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46rem;
}

.score-scale li {
  margin: 0;
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
}

.score-scale li.is-score {
  color: var(--ink);
  background: var(--note);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-left: 3px solid var(--copper);
}

.relay-result:empty,
.apply-status:empty {
  display: none;
}

.relay-result,
.apply-status {
  max-width: 46rem;
  margin: 1rem 0 0;
  font-weight: 560;
}

.relay-cta {
  margin-top: 1.4rem;
}

.apply-form {
  margin-top: 1.25rem;
}

@media (min-width: 800px) {
  .relay-fields {
    grid-template-columns: 1fr 1fr;
  }

  .checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
  }

  .checks legend {
    grid-column: 1 / -1;
  }
}

.demo-frame {
  width: min(100%, 46rem);
  margin: 1.35rem 0 0;
}

.demo-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--pine);
  border: 1px solid var(--rule);
}

.excerpt h2 {
  margin: 2rem 0 0.55rem;
  max-width: 36rem;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

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

.try-status,
.try-error {
  max-width: 42rem;
}

.try-error {
  padding: 0.75rem 0.9rem;
  background: var(--note);
  border-left: 3px solid var(--copper);
}

.try-form {
  max-width: 40rem;
  margin-top: 1.5rem;
}

.try-modes {
  margin: 0 0 1.1rem;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.45rem;
}

.try-modes legend {
  margin-bottom: 0.55rem;
  font-weight: 560;
}

.try-modes label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 420;
}

.try-modes input {
  accent-color: var(--pine);
}

.try-quiet {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.try-quiet:hover {
  background: var(--ink);
  color: var(--cream);
}

.try-output {
  margin-top: 2rem;
}

.try-log {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  max-width: 46rem;
}

.try-event {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-top: 1px solid var(--rule);
}

.try-event p {
  margin: 0;
}

.try-event-meta {
  margin-bottom: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.try-flag {
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.try-event.is-fault {
  background: var(--note);
  border-left: 3px solid var(--copper);
}

.try-event.is-recovery {
  background: #e7efe9;
  border-left: 3px solid var(--pine);
}

.try-event.is-recovery .try-flag {
  color: var(--pine);
}

.try-score {
  max-width: 40rem;
  margin-top: 1.6rem;
}

.try-score-figure {
  margin: 0.2rem 0 0.35rem;
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 4.6rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.try-layers {
  list-style: none;
  margin: 0.8rem 0 1rem;
  padding: 0;
}

.try-layers li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--rule);
}

@media (max-width: 640px) {
  .try-actions .button,
  .try-playback .button {
    width: 100%;
  }
}

[hidden] {
  display: none !important;
}
