:root {
  color: #272c27;
  background: #e5e5dc;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  --ink: #272c27;
  --muted: #62685f;
  --paper: #f1f0e8;
  --surface: #faf9f2;
  --line: #777e73;
  --line-soft: #bdc1b6;
  --green: #45634b;
  --green-dark: #324838;
  --green-pale: #dce5d9;
  --rust: #87513b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(rgba(65, 78, 66, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 78, 66, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 24px 24px;
}

a {
  color: var(--green-dark);
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid #78927b;
  outline-offset: 3px;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 700 17px/1 Georgia, "Times New Roman", serif;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  border: 2px solid var(--paper);
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green-dark);
}

.brand-window {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 16px;
  height: 12px;
  border: 1px solid var(--green-dark);
  background: var(--paper);
}

.brand-window::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--rust);
  content: "";
}

.brand-window::after {
  position: absolute;
  top: 1px;
  right: 3px;
  color: var(--green-dark);
  content: "*";
  font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.site-header nav,
footer div {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-header nav a,
footer a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"],
footer a:hover {
  color: var(--green);
  text-decoration: underline;
}

.hero {
  max-width: 860px;
  padding: 112px 0 106px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: #293129;
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -2.6px;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: #51584f;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 2px 2px 0 #c7c9be;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  border-color: var(--green-dark);
  background: #e8ebe2;
}

.button.primary {
  border-color: var(--green-dark);
  color: #f8f8f0;
  background: var(--green);
  box-shadow: 2px 2px 0 #b3b8ad;
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.light {
  border-color: #d7ddd2;
  color: var(--green-dark);
  background: var(--paper);
  box-shadow: 2px 2px 0 #273c2d;
}

.section {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.65fr);
  gap: 64px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-heading h2,
.privacy-callout h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.9px;
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 3px 3px 0 #d0d1c6;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 25px;
  border-bottom: 1px solid var(--line-soft);
}

.steps li:last-child {
  border-bottom: 0;
}

.step-number {
  color: var(--rust);
  font: 800 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.steps h3,
.feature-grid h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.steps p,
.feature-grid p,
.privacy-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.feature-grid article {
  min-height: 180px;
  padding: 23px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(250, 249, 242, 0.7);
}

.privacy-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 72px;
  padding: 42px;
  color: #f3f3e9;
  background: var(--green-dark);
  border: 1px solid #243529;
  box-shadow: 4px 4px 0 #bdc0b5;
}

.privacy-callout h2 {
  color: #f6f5ec;
}

.privacy-callout .eyebrow {
  color: #bfcfbc;
}

.privacy-callout p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 13px;
  color: #d8ddd4;
}

footer {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.55fr);
  gap: 84px;
  padding-top: 72px;
}

.policy-summary {
  position: sticky;
  top: 28px;
  align-self: start;
  padding-bottom: 40px;
}

.policy-summary h1 {
  max-width: 390px;
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -1.5px;
}

.policy-summary > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.policy-summary nav {
  display: grid;
  margin-top: 35px;
  border-top: 1px solid var(--line-soft);
}

.policy-summary nav a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.policy-summary nav a:hover {
  color: var(--green);
  padding-left: 4px;
}

.policy {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 3px 3px 0 #d0d1c6;
}

.policy section {
  padding: 34px 38px;
  border-bottom: 1px solid var(--line-soft);
  scroll-margin-top: 20px;
}

.policy section:last-child {
  border-bottom: 0;
}

.policy h2 {
  margin: 0 0 17px;
  font-size: 27px;
}

.policy h3 {
  margin: 24px 0 6px;
  color: var(--green-dark);
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.policy p,
.policy li,
.policy dd {
  color: #4f564e;
  font-size: 14px;
  line-height: 1.7;
}

.policy p {
  margin: 0 0 15px;
}

.policy p:last-child {
  margin-bottom: 0;
}

.policy ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.policy li + li {
  margin-top: 5px;
}

code {
  padding: 1px 4px;
  border: 1px solid #d0d2c8;
  border-radius: 1px;
  color: #39453b;
  background: #ecece4;
  font: 0.9em/1.4 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    monospace;
}

dl {
  margin: 0 0 18px;
}

dl > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

dl > div:first-child {
  border-top: 1px solid var(--line-soft);
}

dt,
dd {
  margin: 0;
}

@media (max-width: 800px) {
  .section,
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .policy-summary {
    position: static;
  }

  .policy-summary nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-summary nav a:nth-child(odd) {
    border-right: 1px solid var(--line-soft);
    padding-right: 10px;
  }

  .policy-summary nav a:nth-child(even) {
    padding-left: 10px;
  }
}

@media (max-width: 580px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    min-height: 62px;
  }

  .brand {
    font-size: 14px;
  }

  .site-header nav {
    gap: 12px;
  }

  .site-header nav a {
    font-size: 11px;
  }

  .hero {
    padding: 72px 0 68px;
  }

  h1 {
    font-size: 44px;
    letter-spacing: -1.7px;
  }

  .section {
    padding: 48px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .privacy-callout {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }

  .privacy-callout .button {
    width: 100%;
  }

  .policy-layout {
    padding-top: 48px;
  }

  .policy-summary nav {
    grid-template-columns: 1fr;
  }

  .policy-summary nav a:nth-child(odd),
  .policy-summary nav a:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .policy section {
    padding: 26px 22px;
  }

  dl > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  footer {
    min-height: 90px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }
}

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