:root {
  --paper: #f6f0e4;
  --paper-deep: #e7dcc8;
  --ink: #211d18;
  --muted: #6c6257;
  --rule: #c7b9a4;
  --accent: #7b331b;
  --accent-dark: #512212;
  --blue: #203f5f;
  --green: #365343;
  --white: #fffaf0;
  --shadow: rgba(33, 29, 24, 0.18);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: Charter, "Bitstream Charter", "Book Antiqua", Georgia, serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

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

.wordmark {
  font-family: Baskerville, "Libre Baskerville", Georgia, serif;
  font-size: 1.45rem;
  text-decoration: none;
  color: var(--accent-dark);
}

nav a,
.site-footer a {
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--muted);
}

nav a:hover,
nav a[aria-current="page"],
.site-footer a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 720px;
  width: min(1280px, 100%);
  margin: 0 auto;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 72px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--rule);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 48px 18px 48px auto;
  width: min(560px, 54vw);
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(246, 240, 228, 0.72) 34%, rgba(246, 240, 228, 0.2) 100%),
    repeating-linear-gradient(0deg, rgba(33, 29, 24, 0.08), rgba(33, 29, 24, 0.08) 1px, transparent 1px, transparent 36px);
  border-left: 1px solid var(--rule);
  pointer-events: none;
}

.hero-image {
  position: absolute;
  right: max(18px, calc((100vw - 1180px) / 2));
  top: 56px;
  width: min(330px, 34vw);
  height: auto;
  border-radius: 38px;
  box-shadow: 0 28px 80px var(--shadow);
  transform: rotate(2deg);
}

.hero-copy {
  position: relative;
  max-width: 670px;
  padding: 16px 0 34px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: Baskerville, "Libre Baskerville", Georgia, serif;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 14vw, 9.5rem);
  color: var(--accent-dark);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.3rem);
  max-width: 860px;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.lede {
  max-width: 610px;
  font-size: 1.28rem;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  text-decoration: none;
  border-radius: 6px;
}

.button.primary {
  color: var(--white);
  background: var(--accent);
}

.button.secondary {
  color: var(--accent-dark);
  background: transparent;
}

.method,
.features,
.pricing,
.legal {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.source-ledger,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.source-ledger article,
.pricing-grid article {
  min-height: 250px;
  background: var(--paper);
  padding: 28px;
}

.source-ledger span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 700;
}

.source-ledger p,
.pricing-grid p,
.feature-list,
.legal p,
.legal dd {
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 48px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.feature-list li {
  padding: 17px 0;
  border-bottom: 1px solid var(--rule);
}

.pricing {
  padding-bottom: 100px;
}

.pricing-grid article:nth-child(2) {
  background: var(--accent-dark);
  color: var(--white);
}

.pricing-grid article:nth-child(2) p {
  color: #f1dfcc;
}

.site-footer {
  padding: 26px 0 44px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  max-width: 620px;
}

.legal {
  max-width: 860px;
}

.legal h1 {
  font-size: clamp(3.2rem, 10vw, 6.8rem);
  margin-bottom: 38px;
}

.legal section {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.legal h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.legal p,
.legal dd {
  font-size: 1.06rem;
}

.support dl {
  margin: 0;
}

.support dt {
  font-weight: 700;
  margin-top: 20px;
}

.support dd {
  margin: 6px 0 0;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 760px;
    padding-top: 54px;
    align-items: start;
  }

  .hero::before {
    inset: auto 0 0 0;
    width: 100%;
    height: 330px;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .hero-image {
    top: auto;
    bottom: 28px;
    right: 24px;
    width: min(238px, 62vw);
  }

  .lede {
    font-size: 1.12rem;
  }

  .source-ledger,
  .pricing-grid,
  .features {
    grid-template-columns: 1fr;
  }

  .source-ledger article,
  .pricing-grid article {
    min-height: auto;
  }
}
