:root {
  color-scheme: light;
  --paper: #fcf8f2;
  --ink: #2d231e;
  --muted: #645049;
  --clay: #8b3e2c;
  --line: #ded0c5;
  --panel: #efd8cb;
  font: 100%/1.55 system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--clay); text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
img { max-width: 100%; display: block; }
figure, h1, h2, h3, p { margin: 0; }
.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.5rem;
  padding-block: 1.25rem;
}
.site-header { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  font-weight: 730;
  text-decoration: none;
}
.wordmark img { border-radius: 12px; flex: none; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.75rem, 7vw, 5rem);
}
h1, h2 {
  font-family: Georgia, serif;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.06;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 5.6vw, 5rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3rem); }
h3 { font-size: 1.12rem; line-height: 1.3; }
.hero-copy > p { max-width: 37ch; margin-top: 1.3rem; font-size: clamp(1.07rem, 2vw, 1.24rem); color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.35rem; margin-top: 1.8rem; }
.button {
  display: inline-block;
  padding: .77rem 1.2rem;
  border: 1px solid var(--clay);
  border-radius: .55rem;
  background: var(--clay);
  color: #fff;
  font-weight: 680;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: #6e2f20; border-color: #6e2f20; }
.button.secondary { color: var(--clay); background: var(--paper); }
.button.secondary:hover { background: #fff; }
.text-link { font-weight: 630; }
.hero-copy .availability { font-size: .91rem; margin-top: 1rem; }
.app-preview, .sheet-preview {
  padding: clamp(1.1rem, 4vw, 2rem);
  border-radius: 1.3rem;
  background: var(--panel);
}
.screens {
  display: grid;
  grid-template-columns: 1fr .87fr;
  gap: clamp(.55rem, 2.3vw, 1.25rem);
  align-items: start;
  width: min(100%, 26rem);
  margin-inline: auto;
}
.screens img {
  width: 100%;
  height: auto;
  border: .27rem solid #3a2a25;
  border-radius: 1rem;
  background: #fcf6f0;
  box-shadow: 0 .85rem 1.4rem #50271c30;
}
.history-screen { margin-top: 2.15rem; }
.app-preview figcaption { margin-top: 1.15rem; font-size: .9rem; color: var(--muted); }
.sheet-preview { display: grid; place-items: center; }
.sheet-preview img {
  width: min(100%, 19rem);
  height: auto;
  transform: rotate(-2deg);
  border: 1px solid #dbcdc3;
  box-shadow: .45rem .65rem 1.35rem #50271c2b;
}
.workflow, .example { border-top: 1px solid var(--line); padding-block: 2.3rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem 2rem; margin-top: 1.65rem; }
.steps article { border-top: 2px solid #c58d76; padding-top: .95rem; }
.steps p, .closing p, .example p { color: var(--muted); margin-top: .55rem; }
.closing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2rem;
  background: #f1e5da;
  border-radius: 1.1rem;
  padding: clamp(1.3rem, 4vw, 2.25rem);
  margin-bottom: 1.7rem;
}
.closing p { max-width: 54ch; }
.closing .button { flex-shrink: 0; }
.product-note { margin-bottom: 2rem; color: var(--muted); }
.table-wrap { margin-block: 1rem; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { padding: .65rem .7rem; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
thead { background: #f1e5da; }

@media (max-width: 720px) {
  .hero, .steps { grid-template-columns: 1fr; }
  .closing { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 1.6rem); }
  .site-header { align-items: flex-start; flex-direction: column; }
  h1 { font-size: 2.45rem; }
  th, td { padding-inline: .4rem; }
}
