:root {
  color-scheme: light;
  --canvas: #f0f3eb;
  --paper: #fbfcf7;
  --cream: #f3e9d4;
  --ink: #202e25;
  --muted: #4c5d50;
  --green: #205e43;
  --woodland: #193b2d;
  --line: #cdd8cb;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-block: 1.25rem; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.container { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.skip-link { position: absolute; top: .75rem; left: .75rem; z-index: 3; background: var(--paper); padding: .5rem .75rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { background: var(--paper); border-bottom: 1px solid #dcded2; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 5rem; }
.wordmark { display: block; flex: 0 0 auto; width: 13.5rem; }
.wordmark img { width: 100%; height: auto; }
nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.6rem; }
nav a { font-weight: 600; text-decoration: none; }
nav a:not(.button):hover, .text-link:hover { color: var(--green); text-decoration: underline; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.75rem;
  padding: .66rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
}
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: #164830; }
.button-primary:focus-visible { outline-color: var(--woodland); }
.button-outline { border-color: #81988a; color: var(--woodland); }
.button-outline:hover { background: #e6eee3; }

.hero { position: relative; isolation: isolate; background: var(--cream); overflow: hidden; }
.hero-inner { display: flex; align-items: center; min-height: clamp(32rem, 46vw, 45rem); }
.hero-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 18%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(250 244 232 / .48), rgb(250 244 232 / 0) 55%); pointer-events: none; }
.hero-copy { width: min(100%, 30rem); padding-block: 3rem; }
.section-label { font-size: .875rem; letter-spacing: .09em; font-weight: 750; text-transform: uppercase; color: var(--green); }
.hero h1 {
  font: 700 clamp(3.7rem, 6.4vw, 6.2rem)/.96 var(--serif);
  letter-spacing: -.057em;
  margin: .9rem 0 1.45rem;
}
.hero-description { font-size: clamp(1.05rem, 1.45vw, 1.22rem); max-width: 26rem; color: #34483a; }
.hero .actions { margin-top: 1.6rem; gap: .75rem; }
.text-link { color: var(--woodland); text-decoration-thickness: 1px; font-weight: 700; }

.workflow { padding-block: clamp(3.25rem, 7vw, 6.5rem); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); align-items: end; gap: 1rem 3rem; }
h2 { font: 700 clamp(2.2rem, 4vw, 4rem)/1.06 var(--serif); letter-spacing: -.043em; }
.section-intro > p { color: var(--muted); font-size: 1.125rem; max-width: 22rem; padding-bottom: .2rem; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.75rem); margin-top: clamp(1.5rem, 4vw, 3rem); }
.workflow-grid article { border-top: .24rem solid #6a7958; padding-block: 1.35rem .2rem; }
.workflow-grid h3 { font: 700 clamp(1.34rem, 2vw, 1.7rem)/1.18 var(--serif); margin: .6rem 0 .5rem; letter-spacing: -.025em; }
.workflow-grid article > p:last-child { color: var(--muted); }

.handoff { background: var(--woodland); color: #fbfcf3; }
.handoff-inner { display: grid; align-items: center; gap: 2rem clamp(2rem, 4vw, 4rem); max-width: 45rem; padding-block: clamp(2.75rem, 6vw, 5rem); }
.handoff-screenshot { display: block; width: fit-content; max-width: 100%; }
.handoff-screenshot img { height: auto; border: 1px solid #5b7867; border-radius: .75rem; }
@media (min-width: 900px) {
  .handoff-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 72rem; }
}
.handoff h2 { margin: .8rem 0 1.15rem; }
.handoff .section-label { color: #c6daba; }
.handoff p:not(.section-label), .handoff ul { color: #e6efe1; }
.handoff ul { padding-left: 1.3rem; margin: 1.25rem 0; }
.handoff li + li { margin-top: .4rem; }
.handoff .standalone { padding-top: 1rem; border-top: 1px solid #617c6b; }
.handoff-guide { display: inline-block; margin-top: .8rem; font-weight: 700; }
.pricing { padding-block: clamp(3.25rem, 7vw, 6.5rem); border-bottom: 1px solid var(--line); }
.pricing-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 1.5rem 3rem; margin-top: 1.75rem; padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid var(--line); border-top: .24rem solid #6a7958; border-radius: .85rem; background: var(--paper); }
.pricing-card p { color: var(--muted); }
.pricing-card .license-price { display: flex; align-items: baseline; gap: .4rem; color: var(--woodland); }
.license-price strong { font: 700 clamp(2.85rem, 6vw, 4.25rem)/1 var(--serif); letter-spacing: -.05em; }
.license-price span { font-weight: 700; }
.pricing-card h3 { margin-bottom: .35rem; font: 700 1.55rem/1.18 var(--serif); }
.pricing-card .text-link { display: inline-block; margin-top: .7rem; }
.download { padding-block: clamp(3.25rem, 7vw, 6.5rem); border-bottom: 1px solid var(--line); }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.download-grid article, .download-setup { padding: clamp(1.15rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: .85rem; background: var(--paper); }
.download-grid article { border-top: .24rem solid #6a7958; }
.download h3 { font: 700 1.55rem/1.18 var(--serif); }
.download article p { margin-top: .45rem; color: var(--muted); }
.download-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.1rem; margin-top: 1rem; }
.download-actions .text-link, .download-version { font-size: .875rem; }
.download-version { margin: .75rem 0 1.6rem; color: var(--muted); }
.download-setup p, .download-setup li { color: var(--muted); }
.download-setup ol { margin: .8rem 0; padding-inline-start: 1.4rem; }
.download-setup li + li { margin-top: .55rem; }
.download-setup pre { margin: .65rem 0; padding: .75rem .9rem; border-radius: .4rem; background: var(--canvas); color: var(--ink); overflow-x: auto; }
.contact { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem 3rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.contact h2 { font-size: clamp(2rem, 3.2vw, 3.05rem); }
.contact p { margin-top: .55rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { gap: .65rem 1.5rem; flex-wrap: wrap; padding-block: 1.25rem; }
.footer-inner a { font-weight: 650; }

body:has(.contact-dialog[open]) { overflow: hidden; }
.contact-dialog {
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: clamp(1.15rem, 5vw, 2rem);
  border: 1px solid var(--line);
  border-top: .25rem solid var(--green);
  border-radius: .9rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1rem 4rem rgb(25 59 45 / .22);
}
.contact-dialog::backdrop { background: rgb(25 45 35 / .64); }
.contact-dialog [hidden] { display: none; }
.contact-dialog h2 { font-size: clamp(1.85rem, 5vw, 2.65rem); padding-right: 2rem; }
.dialog-close {
  position: absolute;
  top: .9rem;
  right: .9rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: .55rem;
  background: transparent;
  color: var(--woodland);
  font: 1.65rem / 1 var(--sans);
  cursor: pointer;
}
.dialog-close:hover { background: #e6eee3; }
.contact-intro, .contact-required { color: var(--muted); }
.contact-intro { margin-top: .45rem; }
.contact-required { margin: 1rem 0 .6rem; font-size: .875rem; }
.contact-form { display: grid; gap: .75rem; }
.contact-name { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.contact-form label { display: block; margin-bottom: .25rem; font-size: .925rem; font-weight: 700; }
.contact-form :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  padding: .54rem .65rem;
  border: 1px solid #9cad9f;
  border-radius: .45rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.contact-form select {
  appearance: none;
  padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: right 1rem center, right .7rem center;
  background-size: .3rem .3rem;
  background-repeat: no-repeat;
}
.contact-form textarea { resize: vertical; }
.contact-form :focus-visible, .dialog-close:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.contact-form .button { justify-self: start; cursor: pointer; }
.contact-form .button:disabled { background: #e2e8de; border-color: var(--line); color: #4c5d50; cursor: not-allowed; }
.contact-error { padding: .65rem .75rem; border-radius: .45rem; background: #f9e9da; color: #713c23; font-size: .9375rem; }
#contact-confirmation { margin-top: 1rem; padding: 1rem; border-radius: .55rem; background: #e6eee3; }
#contact-confirmation h3 { font: 700 1.3rem / 1.25 var(--serif); }

@media (max-width: 900px) {
  .hero-copy { width: min(100%, 24rem); }
  .hero-description { max-width: 19rem; }
  .hero h1 { font-size: clamp(3.4rem, 7.5vw, 5rem); }
  .hero-art { object-position: 78% 18%; }
}
@media (max-width: 760px) {
  .hero-inner { min-height: 0; }
  .hero-copy { width: 100%; padding-block: 2.6rem 1.65rem; }
  .hero-description { max-width: 29rem; }
  .hero::after { display: none; }
  .hero-art { position: static; aspect-ratio: 4 / 3; height: auto; object-position: right center; }
  .section-intro { grid-template-columns: 1fr; }
  .section-intro > p { max-width: none; }
  .desktop-break { display: none; }
}
@media (max-width: 575px) {
  .container { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.5rem; }
  .wordmark { width: clamp(8.5rem, 43vw, 11.5rem); }
  nav { gap: .7rem; }
  nav a:not(.button) { display: none; }
  .button { padding-inline: 1rem; }
  .workflow-grid, .download-grid, .pricing-card { grid-template-columns: 1fr; }
}

.guide { padding-block: clamp(2.5rem, 6vw, 5rem); }
.guide h1 {
  font: 700 clamp(2.65rem, 6vw, 4.65rem)/1.02 var(--serif);
  letter-spacing: -.05em;
}
.guide-header p { max-width: 48ch; margin-top: .85rem; color: var(--muted); font-size: 1.125rem; }
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 45rem);
  gap: 2rem clamp(2rem, 6vw, 5rem);
  margin-top: 2rem;
  align-items: start;
}
.guide-toc {
  display: block;
  position: sticky;
  top: 1.25rem;
  padding: 1rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.guide-toc ul { padding: 0; margin: .5rem 0 0; list-style: none; }
.guide-toc a:not(.button) { display: inline-block; padding-block: .2rem; color: var(--woodland); }
.guide-content section { padding-block: 1.75rem; border-top: 1px solid var(--line); }
.guide-content section:first-child { padding-top: 0; border-top: 0; }
.guide-content h2 { font-size: clamp(1.8rem, 4vw, 2.65rem); }
.guide-content h3 { margin-top: 1.35rem; font: 700 1.35rem/1.2 var(--serif); }
.guide-content :is(p, ul, ol, pre) { margin-block: .75rem 0; }
.guide-content :is(ul, ol) { padding-inline-start: 1.5rem; }
.guide-content li + li { margin-top: .6rem; }
.guide-content pre {
  overflow-x: auto;
  padding: .7rem .9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .4rem;
}
.guide-screenshot { width: fit-content; max-width: 100%; margin: 1.1rem 0 1.5rem; }
.guide-screenshot a { display: block; }
.guide-screenshot img {
  height: auto;
  border: 1px solid var(--line);
  border-radius: .6rem;
}
.guide-screenshot figcaption { margin-top: .55rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-toc { position: static; }
}
