:root {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #24211b;
  background: #faf8f3;
  --ink: #24211b;
  --muted: #59534a;
  --line: #e4ddcf;
  --gold-text: #74511f;
  --gold-line: #c29b5c;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; }

a {
  color: inherit;
  text-underline-offset: .23em;
}

a:focus-visible {
  outline: 3px solid #866027;
  outline-offset: 5px;
}

.wrap {
  width: min(100% - 6rem, 74rem);
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 1;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  padding: .75rem 1rem;
  background: #fff;
}

.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 5rem;
}

.wordmark {
  display: block;
  flex: 0 1 clamp(9rem, 15vw, 12rem);
  margin-block: .65rem;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .55rem;
}

.sign-in {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .45rem 1.15rem;
  border: 1px solid #bcb3a3;
  border-radius: .45rem;
  font-size: .94rem;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
}

.sign-in:hover { background: #f0e8db; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 4.8vw, 5rem);
  padding-block: clamp(4rem, 8vw, 7.25rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.2rem;
  color: var(--gold-text);
  font-size: .875rem;
  font-weight: 730;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--gold-line);
}

h1, h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  text-wrap: balance;
  letter-spacing: -.052em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.85rem, 5.2vw, 5.05rem);
  line-height: 1;
}

.lead {
  max-width: 36ch;
  margin: 1.5rem 0 1.65rem;
  color: var(--muted);
  font-size: clamp(1.07rem, 1.35vw, 1.2rem);
  line-height: 1.7;
}

.primary {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  border-radius: .45rem;
  padding-inline: 1.32rem;
  background: #34291a;
  color: #fff9ed;
  font-weight: 680;
  text-decoration: none;
}

.primary:hover { background: #583d1d; }

.product { min-width: 0; margin: 0; }

.product-frame {
  padding: clamp(.5rem, .84vw, .9rem);
  border: 1px solid #d5bd94;
  border-radius: .85rem;
  background: #eee2ce;
  box-shadow: 0 22px 46px -30px #77634799;
}

.product-frame a {
  display: block;
  overflow: hidden;
  border: 1px solid #d5c9b6;
  border-radius: .55rem;
  background: #fff;
}

.product img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .875rem;
  text-align: center;
}

.example {
  border-block: 1px solid var(--line);
  background: #f4eee2;
}

.example-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 4.8vw, 5rem);
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

h2 {
  max-width: 16ch;
  font-size: clamp(2.1rem, 3.6vw, 3.5rem);
  line-height: 1.07;
}

.example-inner p:not(.eyebrow) {
  max-width: 44ch;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.example-inner strong { color: var(--ink); }

.receipt {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9cbb2;
  border-radius: .8rem;
  background: #fffdf8;
}

.receipt > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .9rem;
  padding: 1.4rem clamp(.75rem, 1.6vw, 1.3rem);
}

.receipt > :not(:first-child) { border-inline-start: 1px solid #e7ddca; }

.receipt > :last-child {
  background: #ead8b5;
  color: #4e3210;
}

.receipt dt {
  font-size: .875rem;
  line-height: 1.4;
  font-weight: 650;
}

.receipt dd {
  margin: 0;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.1vw, 3.65rem);
  line-height: .95;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.065em;
}

.receipt dd span {
  font-family: system-ui, sans-serif;
  font-size: .9rem;
  font-weight: 650;
  letter-spacing: 0;
}

.demo-page { padding-block: 1.2rem 3rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-bottom: 1.3rem;
  color: var(--gold-text);
  font-weight: 650;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: 1.65rem;
  color: var(--muted);
  font-size: .875rem;
}

.site-footer p { margin: 0; }

.site-footer nav { display: flex; gap: 1.2rem; }

.site-footer a { display: inline-flex; align-items: center; min-height: 2.75rem; }

@media (max-width: 53rem) {
  .wrap { width: min(100% - 3rem, 42rem); }
  .hero, .example-inner { grid-template-columns: 1fr; }
  .hero { gap: 2.4rem; }
  h1 { max-width: 13ch; }
  .lead { max-width: 44ch; }
}

@media (max-width: 28rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.25rem; }
  .hero { padding-block: 2.85rem 3rem; }
  h1 { font-size: clamp(2.4rem, 10vw, 3.3rem); }
  .receipt > div { padding: 1rem .62rem; }
  .receipt dd { font-size: 2.12rem; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: .3rem; }
}

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