:root {
  color-scheme: light;
  --paper: #f6f3e9;
  --paper-light: #fdfbf4;
  --ink: #143128;
  --quiet: #4b5c4e;
  --line: #a4ad97;
  --forest: #14372c;
  --lime: #cfe394;
  --lime-light: #dce9b5;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --shell: 81rem;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem / 1.6 var(--sans);
}

a { color: inherit; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid #2c6b43;
  outline-offset: 5px;
}

.offer a:focus-visible, .footer a:focus-visible { outline-color: var(--lime); }

h1, h2, h3, p, figure, ol, ul { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.06;
  letter-spacing: -.042em;
}

h2 { font-size: clamp(2rem, 4.3vw, 3.7rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2.15rem); }

.shell {
  width: min(calc(100% - 2 * var(--gutter)), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 3;
  inset: .5rem auto auto .5rem;
  padding: .7rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.topbar {
  min-height: 6rem;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.7rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: max-content;
  font: 700 clamp(1.45rem, 2.9vw, 2.35rem) / 1 var(--serif);
  letter-spacing: -.05em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  flex: none;
  border-radius: .22em;
  background: var(--ink);
  color: var(--paper-light);
}

.brand-mark::before {
  position: absolute;
  inset: .31em .29em .18em .34em;
  border-left: 1px solid;
  background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px .14em) .11em .28em / .48em .42em no-repeat;
  content: "";
}

.brand-mark::after {
  position: absolute;
  top: .12em;
  left: .34em;
  width: .6em;
  height: .48em;
  background: currentColor;
  clip-path: polygon(0 100%, 98% 0, 100% 7%, 100% 100%, 0 100%, 13% 92%, 94% 92%, 94% 13%, 13% 92%);
  content: "";
}
.topbar-nav, .footer nav { display: flex; align-items: center; gap: clamp(1rem, 3.5vw, 2.8rem); }
.topbar-nav a, .footer nav a { text-underline-offset: 4px; text-decoration: none; }
.topbar-nav a:hover, .footer nav a:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  padding: .58rem 1.23rem;
  border: 1px solid transparent;
  border-radius: .58rem;
  font-weight: 710;
  line-height: 1.28;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease;
}

.button-outline { border-color: var(--ink); }
.button-outline:hover { background: var(--lime-light); }
.button-primary { background: var(--lime); color: #10291d; }
.button-primary:hover { background: #e0efb3; }
.header-action { justify-self: end; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(1.8rem, 4.1vw, 4.3rem);
  padding-block: clamp(4rem, 7.5vw, 7.1rem);
}

.hero h1 {
  font-size: clamp(3.1rem, 6vw, 5.55rem);
  line-height: .97;
  letter-spacing: -.067em;
  text-wrap: balance;
}

.hero p {
  max-width: 34rem;
  margin-top: 1.45rem;
  color: var(--quiet);
  font-size: clamp(1.06rem, 1.65vw, 1.28rem);
  line-height: 1.53;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1.5rem;
  margin-top: 1.8rem;
}

.hero-actions .button { font-size: clamp(.96rem, 1.5vw, 1.12rem); min-height: 3.45rem; padding-inline: 1.4rem; }
.text-link { width: fit-content; font-weight: 700; text-underline-offset: .3em; }
.text-link span { display: inline-block; margin-left: .22rem; }

.sheet-wrap { position: relative; isolation: isolate; }
.sheet-wrap::before {
  position: absolute;
  z-index: -1;
  inset: -1.1rem 1.1rem -.9rem -.75rem;
  border: 1px solid #c4d29a;
  border-radius: .7rem;
  background: #dce7ad;
  transform: rotate(-2.4deg);
  content: "";
}

.sheet {
  overflow: hidden;
  border: 1px solid #859682;
  border-radius: .72rem;
  background: #fbfaf3;
  box-shadow: 0 1rem 1.8rem #273a281d, 0 .2rem .34rem #273a281c;
}

.sheet-title {
  display: flex;
  align-items: center;
  gap: .62rem;
  padding: .82rem 1rem;
  background: #20543c;
  color: var(--paper-light);
  font-size: clamp(.8rem, 1.5vw, 1rem);
  font-weight: 650;
}

.sheet-icon {
  width: .92rem;
  height: .92rem;
  border: 1px solid currentColor;
  border-radius: .1rem;
  background: linear-gradient(to right, transparent 46%, currentColor 47% 54%, transparent 55%),
    linear-gradient(to bottom, transparent 46%, currentColor 47% 54%, transparent 55%);
}

.sample-table {
  width: 100%;
  border-collapse: collapse;
  color: #27332a;
  font-size: clamp(.76rem, 1.4vw, 1.02rem);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.sample-table th, .sample-table td {
  padding: .7em .85em;
  border-right: 1px solid #d2d8c8;
  border-bottom: 1px solid #d2d8c8;
  text-align: left;
}

.sample-table th:last-child, .sample-table td:last-child { border-right: 0; }
.sample-table th { background: #dce8b5; color: var(--ink); font-weight: 800; }
.sample-table .number { text-align: right; white-space: nowrap; }
.sample-table time { white-space: nowrap; }
.sample-table .sheet-index, .sample-table .sheet-letters td {
  color: var(--quiet);
  background: #eeeee5;
  text-align: center;
}
.sample-table .sheet-index { width: 7%; }
.sheet figcaption { padding: .65rem .95rem; color: var(--quiet); text-align: right; font-size: .76rem; }

.task-selector { padding-bottom: clamp(2.2rem, 5vw, 4rem); }
.task-selector h2 { font-size: clamp(1.45rem, 2.7vw, 2.15rem); }
.task-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}
.task-list a {
  display: grid;
  align-content: center;
  gap: .18rem;
  height: 100%;
  padding: .7rem .95rem;
  border: 1px solid var(--line);
  border-radius: .42rem;
  background: var(--paper-light);
  text-decoration: none;
}
.task-list a:hover { border-color: var(--ink); }
.task-list strong { text-decoration: underline; text-underline-offset: .2em; }
.task-list span { color: var(--quiet); font-size: .92rem; }

.workflow {
  border-top: 1px solid #cbd0bf;
  padding-block: clamp(3.4rem, 6.6vw, 5.7rem);
  background: #f1efe3;
}

.rule-heading { display: flex; align-items: center; gap: clamp(.6rem, 4vw, 2rem); text-align: center; }
.rule-heading::before, .rule-heading::after { flex: 1; border-top: 1px solid var(--ink); content: ""; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2rem, 4vw, 3.7rem);
  list-style: none;
  padding: 0;
}

.steps li { padding-inline: clamp(1.05rem, 3vw, 2.55rem); }
.steps li:first-child { padding-left: 0; }
.steps li:last-child { padding-right: 0; }
.steps li + li { border-left: 1px solid var(--line); }
.steps h3 { font-size: clamp(1.35rem, 2.2vw, 1.87rem); }
.step-icon {
  display: block;
  width: 2.35rem;
  height: 2.2rem;
  margin: .1rem 0 1.05rem;
}

.step-icon--document {
  width: 1.72rem;
  border: 2px solid;
  border-radius: .17rem;
  background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 5px) center 58% / .84rem .54rem no-repeat;
}

.step-icon--review {
  position: relative;
  background: repeating-linear-gradient(to bottom, currentColor 0 2px, transparent 2px 8px) right center / 1.53rem 18px no-repeat;
}

.step-icon--review::before {
  position: absolute;
  top: .51rem;
  left: .08rem;
  width: .3rem;
  height: .45rem;
  border: solid;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
  box-shadow: 5.4px 6px 0 -1px var(--paper), 6px 6px 0 0 var(--ink), 10.7px 11.7px 0 -1px var(--paper), 11.5px 12px 0 0 var(--ink);
  content: "";
}

.step-icon--grid {
  border: 2px solid;
  border-radius: .17rem;
  background: repeating-linear-gradient(to right, transparent 0 calc(33.33% - 1px), currentColor calc(33.33% - 1px) 33.33%),
    repeating-linear-gradient(to bottom, transparent 0 calc(33.33% - 1px), currentColor calc(33.33% - 1px) 33.33%);
}
.steps p { max-width: 29rem; margin-top: .65rem; color: var(--quiet); }

.offer { background: var(--forest); color: var(--paper-light); }
.offer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: clamp(3.5rem, 6.5vw, 5.7rem);
}

.offer h2 { font-size: clamp(1.95rem, 3.8vw, 3.35rem); text-wrap: balance; }
.offer-inner > div:first-child > p { max-width: 37rem; margin-top: 1.15rem; color: #e2e9d8; font-size: 1.07rem; }
.offer-list { display: grid; gap: .28rem; margin-top: .9rem; padding-left: 1.14rem; color: #e2e9d8; }
.offer-list li::marker { color: var(--lime); }
.offer .sample-link { color: var(--lime); overflow-wrap: anywhere; }

.price-card {
  padding: clamp(1.3rem, 3vw, 2.15rem);
  border: 1px solid var(--lime);
  text-align: center;
}
.price-card h3 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.price { margin-top: .35rem; color: var(--lime); font: 700 clamp(3.3rem, 6.25vw, 5rem) / 1 var(--serif); letter-spacing: -.07em; }
.price-detail { margin-top: .3rem; }
.price-card .button { width: 100%; margin-top: 1.15rem; }
.checkout-status { margin-top: .65rem; color: #e2e9d8; font-size: .84rem; }

.content-section { padding-top: clamp(3.4rem, 6vw, 5.15rem); }
.content-section h2::before {
  display: block;
  width: 3.15rem;
  height: .32rem;
  margin-bottom: 1rem;
  background: #a9c95a;
  content: "";
}

.guide-list { list-style: none; margin-top: 1.6rem; padding: 0; }
.guide-list li { border-bottom: 1px solid var(--line); }
.guide-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) auto;
  gap: .65rem clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding-block: 1.25rem;
  text-decoration: none;
}
.guide-list a:hover strong { text-decoration: underline .08em; text-underline-offset: .18em; }
.guide-list strong { font: 700 clamp(1.27rem, 2.3vw, 1.95rem) / 1.13 var(--serif); letter-spacing: -.037em; }
.guide-list small { border-left: 2px solid #a9c95a; padding-left: 1rem; color: var(--quiet); font-size: .95rem; }
.link-arrow { font-size: 1.36rem; line-height: 1; }

.faq {
  display: grid;
  grid-template-columns: minmax(0, .5fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.3rem clamp(1.5rem, 5vw, 4rem);
  padding-bottom: clamp(3.4rem, 6.5vw, 5.5rem);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  min-height: 3.45rem;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  padding: .75rem 0;
  font-size: clamp(1rem, 1.85vw, 1.3rem);
  font-weight: 580;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { flex: none; content: "+"; font-size: 1.5em; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 65ch; padding-bottom: 1rem; color: var(--quiet); }
.faq-more { margin-top: 1rem; }

.footer { background: var(--ink); color: var(--paper-light); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.05rem 2rem;
  padding-block: 1.45rem;
}
.footer .brand { font-size: 1.7rem; }
.footer nav { flex-wrap: wrap; gap: .45rem 1.6rem; font-size: .92rem; }
.seller { flex-basis: 100%; font-size: .88rem; font-style: normal; overflow-wrap: anywhere; }

.article-nav { justify-self: end; grid-column: 2 / 4; }
.article { max-width: 49rem; margin-inline: auto; padding: 2.25rem 0 clamp(3rem, 7vw, 6rem); }
.article h1 { margin-top: 1.05rem; font-size: clamp(2.8rem, 6.2vw, 5rem); }
.article .lede { margin-top: 1.1rem; color: var(--quiet); font-size: clamp(1.08rem, 2.0vw, 1.33rem); }
.article h2 { margin-top: 2.15rem; font-size: clamp(1.7rem, 3.8vw, 2.55rem); }
.article h3 { margin-top: 1.55rem; font-size: 1.45rem; }
.article h2 + p, .article h3 + p, .article ol, .article ul, .article p + p { margin-top: .62rem; }
.article li + li { margin-top: .48rem; }
.article code { padding: .05em .15em; font-size: .92em; background: #e6e7d7; overflow-wrap: anywhere; }
.article .button { margin-top: 1rem; }
.article .sources { margin-top: 1.5rem; padding-top: 1.05rem; border-top: 1px solid var(--line); color: var(--quiet); font-size: .9rem; }
.article .sources h2 { margin-top: 0; font-family: var(--sans); font-size: .95rem; letter-spacing: 0; }
.article-table-wrap { overflow-x: auto; margin-block: .9rem; }
.article-table { width: 100%; border-collapse: collapse; background: var(--paper-light); font-size: .94rem; }
.article-table caption { padding-bottom: .42rem; color: var(--quiet); text-align: left; }
.article-table th, .article-table td { padding: .55rem .75rem; border: 1px solid #c6cbb8; text-align: left; }
.article-table th { background: var(--lime-light); }

.help-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.15rem;
  padding: 0 0 .9rem;
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.help nav .help-nav { margin-top: 1.25rem; }
.help-nav li + li { margin-top: 0; }
.help-section { scroll-margin-top: 1.15rem; }
.help-section ol { padding-left: 1.35rem; }
.help-section ol + p { margin-top: .8rem; }
.help-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.05rem; margin-top: 1rem; }
.help-actions .button { margin-top: 0; }
.help-section details { border-bottom: 1px solid var(--line); }
.help-section details:first-of-type { margin-top: .5rem; }
.help-section summary { padding: .65rem 0; font-weight: 650; cursor: pointer; }
.help-section details p { margin-bottom: .85rem; color: var(--quiet); }

@media (max-width: 900px) {
  .topbar { min-height: 5rem; }
  .topbar-nav { gap: 1.05rem; font-size: .92rem; }
  .hero h1 { font-size: clamp(2.85rem, 6.3vw, 4.25rem); }
  .hero-actions .button { min-height: 3rem; }
}

@media (max-width: 700px) {
  .topbar { grid-template-columns: 1fr auto; min-height: auto; padding-top: .7rem; padding-bottom: .63rem; gap: .62rem .8rem; }
  .topbar .brand-mark { width: 1.42em; height: 1.42em; }
  .topbar .header-action { grid-column: 2; grid-row: 1; min-height: 2.42rem; padding: .42rem .54rem; font-size: .8rem; }
  .topbar-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; padding-right: .1rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2.8rem; padding-block: 2.8rem 3.4rem; }
  .hero h1 { max-width: 15ch; font-size: clamp(2.8rem, 10.5vw, 4.45rem); text-wrap: wrap; }
  .hero p { margin-top: 1.04rem; }
  .hero-actions { margin-top: 1.13rem; }
  .sheet-wrap { width: min(100% - .55rem, 33rem); margin-inline: auto; }
  .sheet-wrap::before { inset: -.65rem .55rem -.55rem -.43rem; }
  .sample-table { font-size: clamp(.66rem, 2.9vw, .95rem); }
  .task-list { grid-template-columns: 1fr; gap: .5rem; }
  .steps { grid-template-columns: 1fr; gap: 1.2rem; }
  .steps li { padding-inline: 0; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 1.2rem; }
  .step-icon { margin-bottom: .62rem; }
  .offer-inner, .faq { grid-template-columns: 1fr; }
  .price-card { width: min(100%, 24rem); }
  .guide-list a { grid-template-columns: 1fr auto; gap: .3rem 1rem; }
  .guide-list .link-arrow { grid-column: 2; grid-row: 1 / 3; }
  .guide-list small { border-left: 0; padding: 0; }
  .article-topbar { grid-template-columns: 1fr auto; padding-block: .7rem; }
  .article-nav { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
