/* Public pages use the studio's paper, ink, and evergreen palette. No external fonts. */
:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --ink: #303c35;
  --green: #365a49;
  --muted: #687166;
  --border: #dcded2;
  --accent: #ba694a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--green);
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
img {
  max-width: 100%;
}
.site-wrap {
  max-width: 1352px;
  padding: 0 64px;
  margin: auto;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 24px;
  padding: 14px 20px;
  background: var(--ink);
  color: white;
  z-index: 2;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  min-height: 109px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -1.4px;
}
.brand-dot {
  color: var(--accent);
}
.site-header nav {
  display: flex;
  gap: 31px;
  align-items: center;
  font-size: 13px;
}
.site-header nav > a:not(.button) {
  text-decoration: none;
}
.site-header nav > a[aria-current] {
  text-decoration: underline;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 27px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 550;
  min-height: 46px;
  padding: 0 21px;
  white-space: nowrap;
}
.button span {
  font-size: 19px;
  font-weight: 400;
}
.primary {
  background: var(--green);
  color: #fffefa;
}
.primary:hover {
  background: #284638;
  color: white;
}
.nav-cta {
  border: 1px solid #c5cabe;
  min-height: 39px;
  padding: 0 15px;
  gap: 20px;
}
.nav-cta:hover {
  background: #e7e9df;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.8;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  gap: 56px;
  min-height: 630px;
  padding: 77px 0 82px;
}
.hero-copy > .eyebrow {
  margin: 0 0 24px;
  color: var(--muted);
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 9px 1px 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(54px, 5.5vw, 79px);
  line-height: 1.04;
  letter-spacing: -3.5px;
  margin-bottom: 25px;
}
.hero h1 em {
  color: var(--green);
  font-weight: 400;
}
.hero-description {
  max-width: 390px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 26px;
}
.hero-note {
  font-size: 11px;
  color: var(--muted);
  margin: 16px 0 0;
}
.draft-preview {
  margin: 10px 0 0;
  background: #fffefa;
  border: 1px solid #dedfd5;
  border-radius: 8px;
  box-shadow: 0 20px 55px -28px #4d574750;
  transform: rotate(-1deg);
}
.draft-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid #e8e8df;
  font-size: 8px;
  letter-spacing: 1px;
  color: #798072;
}
.small-diamond {
  color: var(--accent);
  font-size: 17px;
  margin-right: 6px;
  vertical-align: -1px;
}
.draft-status {
  color: var(--green);
  font-size: 9px;
  letter-spacing: 0;
  white-space: nowrap;
}
.draft-paper {
  padding: 30px 32px 12px;
}
.draft-paper > .eyebrow {
  font-size: 8px;
  color: var(--muted);
}
.draft-paper h2 {
  font-family: Georgia, serif;
  font-size: 33px;
  font-weight: 400;
  letter-spacing: -0.8px;
  margin: 11px 0 7px;
}
.draft-subtitle {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 34px;
}
.draft-section {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--green);
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e6dd;
}
.draft-section > span + span {
  font-size: 9px;
  letter-spacing: 0;
  color: var(--muted);
}
.draft-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 43px;
  border-bottom: 1px solid #ecece5;
  padding: 12px 0 8px;
  font:
    16px Georgia,
    serif;
  line-height: 1.65;
}
.preview-line-text {
  min-width: 0;
}
.draft-preview .accented-syllable {
  font-weight: bold;
  color: #314d3b;
}
.draft-preview .target-accent {
  text-decoration-line: overline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 1.5px;
  text-decoration-skip-ink: none;
}
.preview-line-metrics {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 4px;
  font:
    9px -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--green);
  white-space: nowrap;
}
.preview-metric-label {
  font-size: 8px;
  color: #7c8477;
}
.preview-mismatch {
  color: var(--accent);
}
.preview-guide {
  padding: 18px 0 8px;
}
.preview-guide-heading,
.preview-pattern-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.preview-guide-heading {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 10px;
}
.preview-guide-heading .eyebrow {
  font-size: 7px;
  color: var(--muted);
}
.preview-modes {
  display: flex;
  background: #e8ecdf;
  padding: 3px;
  border: 1px solid #e1e6d7;
  border-radius: 5px;
  font-size: 9px;
  color: var(--muted);
}
.preview-modes > span {
  flex: 1;
  padding: 6px;
  text-align: center;
}
.preview-mode-selected {
  background: #fffefa;
  border-radius: 3px;
  color: var(--green);
  box-shadow: 0 1px 4px #4c5c3920;
}
.preview-patterns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin: 14px 0 17px;
}
.preview-pattern-label {
  font-size: 8px;
  color: var(--muted);
  margin-bottom: 8px;
}
.preview-beats {
  display: grid;
  grid-template-columns: repeat(var(--beats), minmax(0, 1fr));
  gap: 3px;
}
.preview-beats > span {
  display: grid;
  place-items: center;
  height: 23px;
  border: 1px solid #d7dfcd;
  border-radius: 4px;
  background: #edf0e6;
  color: #71825f;
  font-size: 10px;
}
.preview-beats > .preview-strong {
  background: #dfe8d4;
  border-color: #c0d0aa;
  color: #62824c;
  font-size: 8px;
}
.preview-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 15px;
  color: var(--muted);
  font-size: 9px;
}
.preview-guide-note {
  margin: 9px 0 0;
  font-size: 8px;
  line-height: 1.8;
  color: var(--muted);
}
.tutorial-capture {
  margin: 32px 0;
}
.capture-stage {
  display: flex;
  justify-content: center;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #e8ebe1;
}
.capture-stage img {
  display: block;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 12px #303c3514;
  object-fit: contain;
}
.tutorial-capture figcaption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.tutorial-capture figcaption a {
  display: inline-block;
  margin-left: 5px;
  white-space: nowrap;
}
.draft-preview figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-top: 1px solid #e8e8df;
  padding: 13px 12px;
  font-size: 9px;
  color: var(--muted);
}
.section-intro h2,
.closing h2 {
  font:
    400 43px/1.15 Georgia,
    serif;
  letter-spacing: -1.5px;
  margin: 12px 0 16px;
}
.section-intro > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.section-intro > .eyebrow {
  color: var(--muted);
  margin-bottom: 0;
}
.tools-section {
  padding: 62px 0 72px;
  border-top: 1px solid var(--border);
}
.tool-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 45px;
}
.tool-columns > div + div {
  border-left: 1px solid var(--border);
  padding-left: 36px;
}
.tool-number {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: var(--accent);
}
.tool-columns h3 {
  font:
    400 23px/1.3 Georgia,
    serif;
  letter-spacing: -0.5px;
  margin: 18px 0 12px;
}
.tool-columns p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 20px;
}
.text-link {
  font-size: 11px;
  font-weight: 550;
  text-decoration: none;
  color: var(--green);
  line-height: 1.7;
}
.text-link:hover {
  text-decoration: underline;
}
.text-link span {
  padding-left: 9px;
}
.home-guides {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 75px;
  border-top: 1px solid var(--border);
  padding: 65px 0 75px;
}
.home-guides .section-intro {
  padding-top: 17px;
}
.reading-list {
  border-top: 1px solid var(--border);
}
.reading-link {
  display: grid;
  grid-template-columns: 1fr 30px;
  gap: 10px;
  text-decoration: none;
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
}
.reading-link > .eyebrow {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1.3px;
}
.reading-link h3 {
  font:
    400 23px/1.3 Georgia,
    serif;
  letter-spacing: -0.5px;
  margin-bottom: 7px;
}
.reading-link p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
  max-width: 400px;
}
.reading-arrow {
  font-size: 22px;
  justify-self: end;
  color: var(--green);
}
.reading-link:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.closing {
  background: #e8ebe1;
  text-align: center;
  padding: 51px 24px 48px;
  border-radius: 6px;
  margin-bottom: 72px;
}
.closing > .eyebrow {
  color: var(--muted);
}
.closing h2 {
  margin: 13px 0 26px;
}
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 30px 0 27px;
  border-top: 1px solid var(--border);
  font-size: 11px;
}
.footer-brand {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.7px;
  text-decoration: none;
}
.site-footer p {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 10px;
}
.site-footer nav {
  display: flex;
  gap: 23px;
  align-items: start;
  padding-top: 7px;
}
.site-footer nav a {
  text-decoration: none;
}
.site-footer nav a:hover {
  text-decoration: underline;
}
.footer-note {
  grid-column: 1/-1;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.3px;
}
.editorial {
  max-width: 735px;
  margin: 0 auto;
  padding: 73px 0 68px;
}
.article-header {
  margin-bottom: 30px;
}
.article-header > .eyebrow {
  color: var(--accent);
  margin-bottom: 20px;
}
.article-header h1 {
  font:
    400 clamp(42px, 5vw, 61px)/1.08 Georgia,
    serif;
  letter-spacing: -2px;
  max-width: 700px;
  margin-bottom: 0;
}
.back-link {
  display: inline-block;
  font-size: 11px;
  text-decoration: none;
  color: var(--muted);
  margin-bottom: 35px;
}
.article-body {
  font-size: 15px;
  line-height: 1.9;
}
.article-body > .article-intro {
  font-size: 19px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 38px;
}
.article-body h2 {
  font:
    400 29px/1.3 Georgia,
    serif;
  letter-spacing: -0.6px;
  margin: 37px 0 15px;
}
.article-body p {
  margin-bottom: 21px;
}
.article-body a:not(.button):not(.reading-link) {
  color: var(--green);
}
.article-body ol {
  padding-left: 24px;
}
.article-body li {
  padding-left: 5px;
  margin-bottom: 13px;
}
.article-body strong {
  font-weight: 600;
}
.example {
  background: #e8ebe1;
  border-left: 2px solid #6a816b;
  padding: 21px 25px;
  margin: 30px 0;
}
.example > .eyebrow {
  font-size: 9px;
  color: var(--muted);
}
.example p {
  font:
    20px/2 Georgia,
    serif;
  margin: 10px 0 0;
}
.example-count {
  font:
    10px -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--muted);
  white-space: nowrap;
  margin-left: 12px;
}
.article-body .next-reading {
  margin-top: 37px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.article-cta {
  margin-top: 48px;
  padding: 27px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.article-cta p {
  font:
    19px/1.5 Georgia,
    serif;
  margin: 0;
}
.article-cta .button {
  flex-shrink: 0;
}
.editorial > .article-body > .reading-list {
  margin-top: 36px;
}
.editorial .reading-link {
  padding: 30px 0;
}
.error-page {
  min-height: 65vh;
  padding-top: 100px;
}
.error-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 30px;
}
@media (min-width: 1350px) {
  .hero {
    gap: 80px;
  }
  .draft-line {
    font-size: 18px;
  }
}
@media (max-width: 1000px) {
  .site-wrap {
    padding: 0 36px;
  }
  .hero {
    gap: 30px;
    padding: 60px 0;
    min-height: 580px;
  }
  .hero h1 {
    font-size: 61px;
  }
  .draft-paper {
    padding: 24px 22px 12px;
  }
  .draft-line {
    font-size: 14px;
    gap: 6px;
  }
  .draft-top {
    padding: 15px 18px;
  }
  .draft-status {
    display: none;
  }
  .tool-columns {
    gap: 25px;
  }
  .tool-columns > div + div {
    padding-left: 24px;
  }
  .home-guides {
    gap: 40px;
  }
  .site-footer nav {
    gap: 15px;
  }
  .draft-preview figcaption {
    font-size: 8px;
  }
}
@media (max-width: 740px) {
  .capture-stage {
    padding: 10px;
  }
  .preview-patterns {
    gap: 12px;
  }
  .site-wrap {
    padding: 0 23px;
  }
  .site-header {
    min-height: 84px;
    gap: 12px;
  }
  .brand {
    font-size: 25px;
    gap: 8px;
  }
  .brand img {
    width: 25px;
    height: 25px;
  }
  .site-header nav {
    gap: 12px;
    font-size: 11px;
  }
  .nav-cta {
    padding: 0 10px;
    gap: 8px;
    min-height: 35px;
    font-size: 11px;
  }
  .nav-cta span {
    font-size: 16px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 46px 0 55px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 66px;
    letter-spacing: -3px;
  }
  .hero-copy > .eyebrow {
    font-size: 9px;
    margin-bottom: 22px;
  }
  .hero-description {
    font-size: 14px;
    max-width: 360px;
  }
  .hero-note {
    font-size: 10px;
  }
  .draft-preview {
    width: 100%;
    max-width: 520px;
    justify-self: center;
    margin: 0;
    transform: rotate(-0.6deg);
  }
  .draft-paper {
    padding: 26px 24px 12px;
  }
  .draft-line {
    font-size: clamp(13px, 3.5vw, 18px);
    min-height: 44px;
  }
  .draft-status {
    display: inline;
  }
  .draft-preview figcaption {
    font-size: 9px;
  }
  .tools-section {
    padding: 44px 0;
  }
  .section-intro h2,
  .closing h2 {
    font-size: 37px;
  }
  .tool-columns {
    grid-template-columns: 1fr;
    gap: 29px;
    margin-top: 30px;
  }
  .tool-columns > div + div {
    padding: 27px 0 0;
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .tool-columns h3 {
    font-size: 25px;
    margin-top: 13px;
  }
  .tool-columns p {
    font-size: 14px;
    margin-bottom: 13px;
    max-width: 500px;
  }
  .home-guides {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 37px 0 45px;
  }
  .home-guides .section-intro {
    padding-top: 0;
  }
  .reading-link h3 {
    font-size: 24px;
  }
  .reading-link p {
    font-size: 13px;
  }
  .closing {
    padding: 36px 16px;
    margin-bottom: 45px;
  }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 21px;
    padding: 25px 0;
  }
  .site-footer nav {
    flex-wrap: wrap;
    gap: 18px;
    padding: 0;
  }
  .footer-note {
    grid-column: auto;
  }
  .editorial {
    padding: 46px 0 48px;
  }
  .article-header h1 {
    font-size: 45px;
  }
  .article-body > .article-intro {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .article-body {
    font-size: 14px;
  }
  .article-body h2 {
    font-size: 27px;
  }
  .article-cta {
    align-items: start;
    flex-direction: column;
  }
  .example {
    padding: 18px;
  }
  .example p {
    font-size: 17px;
  }
  .example-count {
    font-size: 9px;
    margin-left: 6px;
  }
  .error-page {
    padding-top: 65px;
  }
  .error-actions {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 360px) {
  .site-wrap {
    padding: 0 17px;
  }
  .site-header nav {
    gap: 11px;
  }
  .nav-cta {
    gap: 5px;
  }
  .brand {
    font-size: 23px;
  }
  .brand img {
    display: none;
  }
  .hero h1 {
    font-size: 59px;
  }
  .draft-paper {
    padding: 22px 16px 10px;
  }
  .draft-top {
    font-size: 7px;
    padding: 13px;
  }
  .draft-status {
    font-size: 8px;
  }
  .draft-preview figcaption {
    font-size: 8px;
  }
  .example-count {
    display: block;
    margin: 0 0 9px;
  }
  .example p {
    line-height: 1.6;
  }
}
