/* Squatch Reality: a field notebook, with room for the work itself. */
:root {
  color-scheme: light;
  --forest: #274f42;
  --forest-deep: #173a30;
  --cream: #faf6ef;
  --paper: #f0e9dc;
  --terracotta: #aa5431;
  --terracotta-deep: #873d22;
  --ink: #203c33;
  --muted: #59665c;
  --rule: #c5c6b8;
  --focus: #873d22;
  --display: Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-width: 1320px;
  --gutter: clamp(22px, 5vw, 88px);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--cream);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  min-width: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-thickness: 2px;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
figure {
  margin: 0;
}
button svg,
a svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}
p,
li,
figcaption {
  text-wrap: pretty;
}
p {
  margin: 0 0 1.2em;
}
p:last-child {
  margin-bottom: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3.35rem, 6.5vw, 7rem);
  letter-spacing: -0.052em;
}
h2 {
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  letter-spacing: -0.04em;
}
h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  letter-spacing: -0.025em;
}
em {
  font-weight: inherit;
}
h1 em,
h2 em {
  color: var(--terracotta);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
::selection {
  background: var(--forest);
  color: var(--cream);
}
[hidden],
.hidden {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 12px;
  transform: translateY(-160%);
  padding: 12px 18px;
  background: var(--cream);
  z-index: 20;
}
.skip-link:focus {
  transform: none;
}
.site-header {
  max-width: calc(var(--page-width) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  text-decoration: none;
}
.brand-mark {
  width: 39px;
  height: 53px;
  padding: 7px;
  background: var(--forest);
}
.brand-mark img,
.brand-mark svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-wordmark {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.brand-wordmark span,
.brand-wordmark small {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 7px;
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
  font-size: 0.875rem;
}
.site-nav a {
  text-decoration: none;
  padding: 8px 0;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
}
.header-action {
  padding: 10px 17px;
  border: 1px solid var(--forest);
  text-decoration: none;
  font-size: 0.875rem;
  white-space: nowrap;
}
.header-action:hover {
  background: var(--forest);
  color: var(--cream);
}
.menu-toggle {
  display: none;
  border: 1px solid var(--rule);
  background: transparent;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hero,
.section,
.page-intro,
.guide-layout,
.account-shell {
  max-width: calc(var(--page-width) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.hero {
  padding-top: clamp(54px, 7vw, 110px);
  padding-bottom: clamp(64px, 8vw, 128px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}
.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.eyebrow,
.section-number {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.eyebrow {
  margin-bottom: 25px;
  color: var(--terracotta-deep);
}
.lede {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.6;
  max-width: 39rem;
  color: var(--muted);
  margin-top: 30px;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 150ms ease,
    color 150ms ease,
    border-color 150ms ease;
}
.button-primary {
  background: var(--terracotta);
  color: var(--cream);
}
.button-primary:hover {
  background: var(--terracotta-deep);
}
.button-secondary {
  border-color: var(--forest);
  color: var(--forest);
  background: transparent;
}
.button-secondary:hover {
  background: var(--forest);
  color: var(--cream);
}
.button:disabled,
button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.6;
}
.hero-art {
  position: relative;
  min-width: 0;
  background: var(--forest);
  color: var(--cream);
  --focus: #ffdda6;
}
.hero-art figure {
  position: relative;
}
.hero-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.hero-art figcaption {
  padding: 15px 20px;
  font-size: 0.75rem;
  color: #e1e7dd;
  border-top: 1px solid #6b8478;
}
.hero-art > svg {
  width: 100%;
  height: auto;
}
.section {
  padding-top: clamp(55px, 7vw, 104px);
  padding-bottom: clamp(55px, 7vw, 104px);
  border-top: 1px solid var(--rule);
}
.section-heading {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 45px;
  align-items: start;
}
.section-number {
  padding-top: 10px;
  color: var(--terracotta-deep);
}
.section-heading p {
  max-width: 40rem;
  margin-top: 20px;
  color: var(--muted);
}
.section-forest {
  max-width: none;
  background: var(--forest);
  color: var(--cream);
  --muted: #d1dbcf;
  --rule: #6b8478;
  --focus: #ffdda6;
}
.section-forest > * {
  max-width: var(--page-width);
  margin-left: auto;
  margin-right: auto;
}
.section-forest h1 em,
.section-forest h2 em,
.section-forest .eyebrow,
.section-forest .section-number {
  color: #ecc49f;
}
.section-forest .button-secondary {
  border-color: var(--cream);
  color: var(--cream);
}
.section-forest .button-secondary:hover {
  background: var(--cream);
  color: var(--forest);
}
.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--rule);
  gap: 0 28px;
  margin-bottom: 38px;
}
.feature-tabs [role="tab"] {
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 16px 0;
  margin-bottom: -1px;
  min-height: 48px;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
}
.feature-tabs [aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--terracotta);
  font-weight: 650;
}
.section-forest .feature-tabs [aria-selected="true"] {
  color: var(--cream);
  border-bottom-color: #ecc49f;
}
.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
}
.feature-copy p {
  color: var(--muted);
  margin-top: 22px;
  max-width: 33rem;
}
.feature-copy ul {
  padding-left: 20px;
  margin: 24px 0;
}
.feature-copy li {
  text-wrap: pretty;
  padding-left: 4px;
  margin: 10px 0;
}
.feature-visual {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.feature-visual > img,
.feature-visual > svg,
.feature-visual figure > img {
  width: 100%;
  object-fit: contain;
}
.feature-visual figcaption {
  padding: 14px 20px;
  font-size: 0.78rem;
  color: var(--muted);
}
.section-forest .feature-visual {
  background: var(--forest-deep);
}
.feature-record {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
  --focus: #ffdda6;
}
.record {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 6vw, 72px);
}
.record .eyebrow {
  color: #ecc49f;
}
.record ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.record li {
  text-wrap: balance;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  line-height: 1.2;
  padding: 0.55em 0;
  border-top: 1px solid #6b8478;
}
.feature-visual.feature-record figcaption {
  color: #e1e7dd;
  border-top: 1px solid #6b8478;
}
.hero-art figcaption a {
  white-space: nowrap;
}
.sample-place {
  color: var(--ink);
  font-weight: 600;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
}
.step {
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}
.step h3 {
  margin-bottom: 18px;
}
.step > span,
.step-number {
  display: block;
  margin-bottom: 32px;
  font-size: 0.75rem;
  color: var(--terracotta-deep);
}
.step p {
  color: var(--muted);
  max-width: 30rem;
}
.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.sample {
  min-width: 0;
}
.sample figure {
  background: #101813;
}
.sample img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.sample figcaption {
  padding: 14px 16px;
  color: #e1e7dd;
  font-size: 0.73rem;
}
.sample-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  margin-top: 18px;
}
.sample-meta h3 {
  font-size: 1.65rem;
}
.sample-meta a {
  font-size: 0.85rem;
}
.sample > p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 14px;
}
.statement {
  max-width: 62rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 4.75rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
}
.inline-link {
  font-weight: 600;
  text-decoration-thickness: 1px;
}
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  line-height: 1.4;
  border: 1px solid currentColor;
  padding: 5px 8px;
}
.fineprint {
  font-size: 0.77rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 48rem;
}
.site-footer {
  padding: 55px var(--gutter) 30px;
  background: var(--forest-deep);
  color: var(--cream);
  --muted: #c0cdc2;
  --focus: #ffdda6;
}
.site-footer > * {
  max-width: var(--page-width);
  margin-left: auto;
  margin-right: auto;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #617669;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 28px;
  align-items: flex-start;
  font-size: 0.875rem;
}
.footer-links a {
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}
.site-footer .fineprint {
  margin-top: 22px;
}
.page-intro {
  padding-top: clamp(50px, 7vw, 105px);
  padding-bottom: 54px;
}
.page-intro h1 {
  max-width: 17ch;
  font-size: clamp(3rem, 6vw, 6rem);
}
.prose {
  max-width: 48rem;
  font-size: 1.025rem;
}
.prose h2 {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  margin: 50px 0 20px;
}
.prose h3 {
  font-size: 1.5rem;
  margin: 32px 0 15px;
}
.prose p,
.prose li {
  line-height: 1.8;
}
.prose ul,
.prose ol {
  padding-left: 24px;
}
.prose li {
  margin-bottom: 10px;
}
.prose code {
  overflow-wrap: anywhere;
  font-size: 0.87em;
}
.prose pre {
  overflow-x: auto;
  padding: 20px;
  background: var(--paper);
}
.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.prose th,
.prose td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}
details {
  border-top: 1px solid var(--rule);
  padding: 21px 0;
}
details:last-child {
  border-bottom: 1px solid var(--rule);
}
summary {
  cursor: pointer;
  font-weight: 600;
  padding-right: 10px;
}
details[open] summary {
  margin-bottom: 18px;
}
details p {
  color: var(--muted);
  max-width: 48rem;
}
.guide-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(30px, 7vw, 100px);
  padding-bottom: 90px;
  align-items: start;
}
.guide-index {
  position: sticky;
  top: 30px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  font-size: 0.875rem;
}
.guide-index a {
  display: block;
  margin: 12px 0;
}
.guide-section {
  padding: 0 0 36px;
  scroll-margin-top: 30px;
}
.guide-section + .guide-section {
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}
.guide-section h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  margin-bottom: 22px;
}
.account-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 8vw, 125px);
  padding-top: 70px;
  padding-bottom: 100px;
  align-items: start;
  min-height: 65vh;
}
.account-intro h1 {
  font-size: clamp(2.7rem, 5vw, 5.6rem);
}
.account-intro p {
  margin-top: 24px;
  color: var(--muted);
  max-width: 30rem;
}
.account-panel {
  border-top: 2px solid var(--forest);
  padding-top: 30px;
  min-width: 0;
}
.account-panel h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
.account-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.account-panel > p {
  color: var(--muted);
}
.field {
  margin-bottom: 22px;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #7b8d7c;
  border-radius: 2px;
  background: #fffcf7;
  color: var(--ink);
  padding: 12px 14px;
  font-size: 1rem;
}
.field input[type="checkbox"],
.field input[type="radio"] {
  width: 20px;
  min-height: 20px;
  margin-right: 8px;
  accent-color: var(--forest);
}
.field input[readonly] {
  background: var(--paper);
}
.field small,
.field .hint {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.8rem;
}
.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}
.notice {
  border-left: 3px solid var(--forest);
  padding: 18px 20px;
  background: var(--paper);
  margin: 22px 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.notice-error {
  border-color: #933b28;
  background: #f6e4d9;
  color: #6c2c1d;
}
.notice-success {
  border-color: var(--forest);
  background: #e6eddf;
  color: var(--forest-deep);
}
[data-goal] {
  min-height: 48px;
}
[data-goal][aria-pressed="true"] {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
[data-goal-detail] {
  margin-top: 25px;
}
@media (min-width: 1600px) {
  .hero {
    gap: 100px;
  }
}
@media (max-width: 1000px) {
  .site-header {
    gap: 18px;
  }
  .site-nav {
    gap: 10px 17px;
  }
  .section-heading {
    grid-template-columns: 65px minmax(0, 1fr);
  }
  .guide-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 35px;
  }
}
@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .brand {
    margin-right: auto;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .site-nav {
    flex-basis: 100%;
    margin: 0;
    justify-content: flex-start;
    border-top: 1px solid var(--rule);
    padding-top: 15px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
  }
  .hero-copy {
    max-width: 660px;
  }
  .hero h1 {
    max-width: 12ch;
  }
  .hero-art {
    width: min(100%, 600px);
    justify-self: end;
  }
  .hero-art img {
    aspect-ratio: 4 / 3;
  }
  .feature-layout,
  .split {
    gap: 35px;
  }
  .steps {
    gap: 22px;
  }
  .account-shell {
    grid-template-columns: minmax(0, 1fr);
    max-width: 780px;
  }
  .account-intro h1 {
    max-width: 15ch;
  }
}
@media (max-width: 620px) {
  h1 {
    font-size: clamp(3rem, 13vw, 4.6rem);
  }
  .site-header {
    gap: 12px;
  }
  .brand-wordmark {
    font-size: 0.98rem;
  }
  .brand-mark {
    width: 34px;
    height: 46px;
  }
  .header-action {
    font-size: 0.8rem;
    padding: 10px 12px;
  }
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .site-nav a {
    min-height: 44px;
    padding: 10px 0;
  }
  .hero {
    padding-top: 50px;
  }
  .hero-art img {
    aspect-ratio: 1;
  }
  .section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    margin-bottom: 32px;
  }
  .section-number {
    padding: 0;
  }
  .feature-tabs {
    gap: 0 22px;
  }
  .feature-layout,
  .steps,
  .sample-grid,
  .split,
  .guide-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-visual {
    margin-top: 8px;
  }
  .step > span,
  .step-number {
    margin-bottom: 20px;
  }
  .sample-grid {
    gap: 40px;
  }
  .sample img {
    aspect-ratio: 4 / 3;
  }
  .guide-index {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
  }
  .guide-index a {
    margin: 7px 0;
  }
  .guide-layout {
    gap: 35px;
    padding-bottom: 60px;
  }
  .account-shell {
    padding-top: 45px;
    padding-bottom: 65px;
    gap: 40px;
  }
  .footer-top {
    gap: 30px;
  }
  .footer-links {
    gap: 18px 24px;
  }
  .actions .button {
    flex: 1 1 auto;
  }
  .form-actions {
    align-items: stretch;
  }
  .form-actions .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (forced-colors: active) {
  .button,
  .notice,
  .status-tag,
  .brand-mark {
    border: 1px solid CanvasText;
  }
  .brand-mark {
    forced-color-adjust: none;
  }
  .feature-tabs [aria-selected="true"] {
    border-bottom-color: Highlight;
  }
}

/* Keep all three header controls on the first mobile row; menu follows them. */
@media (max-width: 900px) {
  .site-header .brand {
    order: 1;
  }
  .site-header .header-action {
    order: 2;
  }
  .site-header .menu-toggle {
    order: 3;
  }
  .site-header .site-nav {
    order: 4;
  }
}
.section-forest .step > span,
.section-forest .step-number {
  color: #ecc49f;
}
.nav-account {
  display: none;
}
@media (max-width: 620px) {
  .site-header > .header-action {
    display: none;
  }
  .site-nav .nav-account {
    display: block;
  }
}

/* Assisted delivery reads like a brief, with useful tools alongside the scope. */
.capability-note {
  margin: 0 var(--gutter) 3rem;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--terracotta);
  background: var(--paper);
  max-width: var(--page-width);
}
.capability-note h2 {
  font-family: var(--body);
  font-size: 1.25rem;
  letter-spacing: normal;
}
.capability-note p {
  max-width: 65ch;
  margin: 0.6rem 0;
}
.capability-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.capability-row:first-child {
  padding-top: 0;
}
.capability-row h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}
.capability-row p {
  margin: 0.8rem 0;
}
.boundary-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
}
.boundary-list article {
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}
.boundary-list h3 {
  margin: 0.5rem 0;
}
@media (max-width: 720px) {
  .capability-row,
  .boundary-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }
  .capability-note {
    padding: 1.2rem;
  }
}
