* {
  box-sizing: border-box;
}
:root {
  --green: #08764b;
  --forest: #073f31;
  --ink: #182c24;
  --muted: #4d6257;
  --rule: #d6dfd6;
  --paper: #fafbf7;
  --wash: #eef2ea;
  --light: #e9f3e9;
  --serif: Georgia, "Times New Roman", serif;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16px;
}
body {
  margin: 0;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
a {
  color: var(--green);
  text-underline-offset: 0.2em;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #0077ba;
  outline-offset: 4px;
}
button,
input {
  font: inherit;
}
.skip {
  position: absolute;
  left: 8px;
  top: -99px;
  z-index: 3;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 8px;
}
.mast,
.footer {
  max-width: 1160px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px;
}
.mast {
  border-bottom: 1px solid var(--rule);
}
.mast > div,
.mast > a {
  display: flex;
}
.mast span,
.footer {
  font-size: 0.88rem;
  color: var(--muted);
}
.mast a,
.text-link {
  font-weight: 650;
  text-decoration: none;
}
.mast a:hover,
.text-link:hover {
  text-decoration: underline;
}
.brand {
  display: block;
  width: 142px;
  height: auto;
}
.footer {
  border-top: 1px solid var(--rule);
  margin-top: 52px;
  padding-top: 18px;
  padding-bottom: 30px;
}
.footer span:last-child {
  font-weight: 650;
}
.optin {
  background: #f0f3ed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.optin .mast,
.optin .footer {
  width: calc(100% - 64px);
  max-width: 1190px;
}
.optin .footer {
  margin-top: auto;
}
.signup-card {
  width: min(1140px, calc(100% - 64px));
  margin: clamp(30px, 5vh, 65px) auto;
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(28px, 4.3vw, 64px);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 22px;
  box-shadow: 0 16px 48px #0b34240b;
}
.eyebrow {
  text-transform: uppercase;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  margin-bottom: 15px;
}
.pitch h1,
.guide-hero h1,
.chapter h1 {
  font-size: clamp(2.45rem, 3.9vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -0.057em;
}
.pitch h1 em,
.guide-hero h1 em {
  color: var(--green);
  font-style: normal;
}
.standfirst {
  font-size: clamp(1.05rem, 1.36vw, 1.24rem);
  line-height: 1.53;
  color: var(--muted);
  margin-top: 19px;
  text-wrap: pretty;
}
.pitch h2 {
  font-size: 1.12rem;
  letter-spacing: -0.022em;
  margin-top: 31px;
}
.checks {
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}
.checks li {
  padding: 8px 0 8px 27px;
  position: relative;
  line-height: 1.45;
}
.checks li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
}
.signup-side {
  align-self: center;
  min-width: 0;
}
.preview {
  line-height: 0;
  background: #e4ece1;
  border-radius: 11px;
  overflow: hidden;
}
.preview img {
  width: 100%;
  height: auto;
}
.form-box {
  margin-top: 22px;
}
.form-box label {
  display: block;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 9px;
}
.form-box input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #aebfb3;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  min-height: 48px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 7px;
  font-weight: 710;
  cursor: pointer;
  min-height: 48px;
  padding: 12px 22px;
}
.button:hover {
  background: var(--forest);
}
.button:disabled {
  opacity: 0.7;
}
.form-box .button {
  width: 100%;
  margin-top: 10px;
}
.micro,
.film figcaption {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 9px;
}
.micro {
  text-align: center;
}
.form-box [role="alert"] {
  font-size: 0.9rem;
  color: #9a2727;
  margin-top: 6px;
}
.form-box h2 {
  font-size: 1.55rem;
  margin-bottom: 9px;
}
.form-box [tabindex] {
  background: var(--light);
  padding: 20px;
  border-radius: 8px;
}
.form-box [tabindex] a {
  font-weight: 700;
}
.guide-home {
  width: min(800px, calc(100% - 40px));
  margin: auto;
}
.guide-hero {
  padding: 68px 0 40px;
}
.guide-hero h1 {
  max-width: 720px;
  font-size: clamp(2.6rem, 5vw, 4rem);
}
.guide-hero .standfirst {
  max-width: 660px;
}
.text-link {
  display: inline-block;
  margin-top: 20px;
}
.panel,
.cta,
.contents-section {
  margin: 0 auto 30px;
}
.panel,
.contents-list,
.chapter {
  border: 1px solid var(--rule);
  background: #fff;
  border-radius: 14px;
}
.panel,
.cta {
  padding: clamp(23px, 4vw, 46px);
}
.prose {
  line-height: 1.67;
}
.prose > *,
.note > *,
.proof .prose > * {
  margin: 0 0 15px;
}
.prose > :last-child,
.note > :last-child,
.proof .prose > :last-child {
  margin-bottom: 0;
}
.prose h2,
.contents-section h2,
.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.28rem);
  margin: 38px 0 16px;
}
.prose h2:first-child,
.prose h3:first-child,
.cta h2 {
  margin-top: 0;
}
.prose h3 {
  margin: 28px 0 12px;
  font-size: 1.4rem;
}
.prose blockquote,
.note {
  border-left: 3px solid #62a480;
  padding: 16px 20px;
  background: var(--light);
  border-radius: 0 7px 7px 0;
}
.prose blockquote {
  font-family: var(--serif);
  font-size: 1.12rem;
}
.prose blockquote p {
  margin-bottom: 10px;
}
.prose blockquote p:last-child {
  margin: 0;
}
.prose ul,
.prose ol {
  padding-left: 1.45rem;
}
.prose li + li {
  margin-top: 5px;
}
.video-frame {
  aspect-ratio: 16/9;
  margin-top: 22px;
  border-radius: 9px;
  overflow: hidden;
  background: #18342a;
}
.video-frame iframe,
.film video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.film video {
  height: auto;
  aspect-ratio: 16/9;
  background: #112820;
  border-radius: 8px;
}
.contents-section {
  scroll-margin: 22px;
}
.contents-section h2 {
  margin-top: 38px;
}
.contents-list {
  overflow: hidden;
}
.contents-list a {
  display: grid;
  grid-template-columns: 2.3rem 1fr 1.2rem;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--ink);
}
.contents-list a + a {
  border-top: 1px solid var(--rule);
}
.contents-list a:hover,
.chapter-menu a:hover,
.mobile-menu nav a:hover {
  background: var(--light);
}
.ch-num,
.go,
.chapter-menu nav a span,
.mobile-menu nav a span {
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.contents-list strong {
  display: block;
  font-size: 1.17rem;
  letter-spacing: -0.02em;
}
.contents-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.91rem;
}
.cta {
  background: var(--forest);
  color: white;
  margin-top: 38px;
}
.cta p {
  margin: 12px 0;
  color: #edf6ec;
}
.cta .button {
  background: #eef5d8;
  color: var(--forest);
  margin-top: 11px;
}
.chapter-layout {
  width: min(1070px, calc(100% - 50px));
  margin: 44px auto;
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.chapter-menu {
  position: sticky;
  top: 18px;
}
.chapter-menu nav,
.mobile-menu nav {
  display: grid;
}
.chapter-menu a,
.mobile-menu nav a {
  font-size: 0.91rem;
  padding: 10px 11px;
  text-decoration: none;
  color: var(--muted);
  border-radius: 5px;
  line-height: 1.3;
}
.chapter-menu nav a span,
.mobile-menu nav a span {
  display: inline-block;
  margin-right: 10px;
}
.chapter-menu a[aria-current],
.mobile-menu nav a[aria-current] {
  background: #e2eddf;
  color: var(--forest);
  font-weight: 700;
}
.chapter-menu a.back {
  padding-bottom: 16px;
  color: var(--green);
  font-weight: 680;
}
.chapter {
  padding: clamp(22px, 4.6vw, 56px);
  min-width: 0;
}
.chapter header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}
.chapter h1 {
  font-size: clamp(2.15rem, 4vw, 3.45rem);
}
.chapter .prose {
  overflow-wrap: anywhere;
}
.chapter .prose h2 {
  font-size: clamp(1.55rem, 2.6vw, 2rem);
}
.prose pre {
  font: inherit;
  background: #f2f5ee;
  border: 1px solid #d4dfcf;
  border-radius: 9px;
  padding: 23px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.prose pre code {
  font: inherit;
  line-height: 1.65;
}
.prose p code {
  font-size: 0.91em;
}
.copy-ctrl {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 6px;
}
.copy-ctrl button {
  background: white;
  color: var(--green);
  border: 1px solid var(--rule);
  border-radius: 5px;
  font: inherit;
  font-size: 0.83rem;
  padding: 5px 12px;
  cursor: pointer;
}
.next {
  margin-top: 36px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}
.next a {
  display: inline-grid;
  text-decoration: none;
  font-size: 0.86rem;
}
.next strong {
  font-size: 1.12rem;
}
.mobile-menu {
  display: none;
}
[hidden] {
  display: none !important;
}
@media (max-width: 780px) {
  .mast,
  .footer {
    margin-left: 20px;
    margin-right: 20px;
    padding: 17px 0;
  }
  .optin .mast,
  .optin .footer {
    width: calc(100% - 40px);
  }
  .signup-card {
    width: min(560px, calc(100% - 28px));
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 22px auto;
    padding: 25px 22px;
  }
  .pitch h1 {
    font-size: clamp(2.25rem, 7.8vw, 3rem);
  }
  .pitch h2 {
    margin-top: 19px;
  }
  .checks li {
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .checks li:before {
    top: 4px;
  }
  .preview {
    max-width: 420px;
    margin: 0 auto;
  }
  .signup-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .form-box {
    order: -1;
    margin: 0;
  }
  .guide-hero {
    padding: 38px 0 25px;
  }
  .chapter-layout {
    grid-template-columns: 1fr;
    width: min(700px, calc(100% - 28px));
    gap: 14px;
    margin: 18px auto;
  }
  .chapter-menu {
    display: none;
  }
  .mobile-menu {
    display: block;
    border: 1px solid var(--rule);
    padding: 12px 15px;
    border-radius: 8px;
    background: #fff;
  }
  .mobile-menu summary {
    cursor: pointer;
    font-weight: 670;
  }
  .mobile-menu summary span {
    float: right;
    font-size: 0.83rem;
    color: var(--muted);
    font-weight: 500;
  }
  .mobile-menu nav {
    margin-top: 10px;
  }
  .chapter {
    padding: 24px 19px;
  }
  .brand {
    width: 122px;
  }
  .guide-home {
    width: min(650px, calc(100% - 28px));
  }
  .contents-list a {
    grid-template-columns: 1.5rem 1fr 0.95rem;
    gap: 8px;
    padding: 13px;
  }
  .guide-hero .standfirst {
    margin-top: 15px;
  }
  .footer {
    margin-top: 25px;
  }
  .cta,
  .panel {
    padding: 23px 19px;
  }
  .prose pre {
    padding: 15px;
  }
  .note,
  .prose blockquote {
    padding: 13px 14px;
  }
}
@media (max-width: 360px) {
  .signup-card {
    padding: 21px 16px;
  }
  .mast nav a,
  .mast > span {
    font-size: 0.78rem;
  }
}

.form-box .formkit-alert:empty {
  display: none;
}
.form-box .formkit-alert:not(:empty) {
  padding: 0;
  margin: 0 0 12px;
  list-style: none;
}
