@font-face { font-family: 'Archivo'; src: url(/site/fonts/archivo.woff2) format('woff2-variations'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url(/site/fonts/plexmono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url(/site/fonts/plexmono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --paper: #FFFEFA;
  --ink: #1D2A2E;
  --soft-ink: #4E5B60;
  --teal: #0F766E;
  --teal-dark: #0B5A54;
  --mustard: #E9A93B;
  --tile: #EAF0EE;
  --rule: #CFDAD6;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tile); color: var(--ink); font-family: 'Archivo', system-ui, sans-serif; font-size: 18px; line-height: 1.55; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; gap: 16px; }
.logo { font-weight: 800; font-stretch: 112%; font-size: 22px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.logo span { color: var(--teal); }
.top nav { display: flex; gap: 18px; align-items: center; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.btn { display: inline-block; background: var(--teal); color: #fff; font: inherit; font-weight: 700; border: 0; border-radius: 12px; padding: 14px 22px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--teal-dark); }
.top nav a.btn { color: #fff; }
.btn.small { padding: 10px 16px; font-size: 16px; }
.btn:disabled { opacity: .6; cursor: default; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding: 40px 0 80px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; font-weight: 800; font-stretch: 88%; letter-spacing: -0.02em; margin: 0 0 22px; }
.hero p.lead { font-size: 21px; color: var(--soft-ink); max-width: 34em; margin: 0 0 30px; }
.hero .cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero .cta small { color: var(--soft-ink); font-size: 15px; }

/* the receipt */
.receipt { position: relative; background: var(--paper); font-family: 'Plex Mono', ui-monospace, monospace; font-size: 15px; line-height: 1.6; padding: 30px 28px 34px; max-width: 380px; justify-self: center; width: 100%;
  box-shadow: 0 1px 0 rgba(29,42,46,.06), 0 18px 40px -18px rgba(29,42,46,.35); transform: rotate(1.2deg); }
.receipt::after { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px;
  background: linear-gradient(-45deg, transparent 8px, var(--paper) 0) 0 0 / 16px 12px, linear-gradient(45deg, transparent 8px, var(--paper) 0) 0 0 / 16px 12px; }
.receipt .rc { text-align: center; }
.receipt .shop { font-weight: 500; font-size: 17px; }
.receipt hr { border: 0; border-top: 2px dashed #B9C4C1; margin: 14px 0; }
.receipt .line { display: flex; justify-content: space-between; gap: 12px; }
.receipt .line span:first-child { overflow: hidden; }
.receipt .total { display: flex; justify-content: space-between; font-weight: 500; font-size: 22px; margin-top: 6px; }
.receipt .per { text-align: right; color: var(--soft-ink); }
.receipt .thanks { text-align: center; margin-top: 16px; color: var(--soft-ink); }
@media (prefers-reduced-motion: no-preference) {
  .receipt { animation: print 1.1s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes print { from { clip-path: inset(0 0 100% 0); transform: rotate(1.2deg) translateY(-18px); } to { clip-path: inset(0 0 -20px 0); transform: rotate(1.2deg); } }
}

/* sections */
section.band { background: var(--paper); padding: 72px 0; }
section.plain { padding: 72px 0; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; font-stretch: 92%; letter-spacing: -0.015em; line-height: 1.1; margin: 0 0 14px; }
.intro { color: var(--soft-ink); max-width: 38em; margin: 0 0 40px; font-size: 19px; }

.features { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.feature { padding: 22px 0; border-top: 1px solid var(--rule); }
.feature h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.feature p { margin: 0; color: var(--soft-ink); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mustard); color: var(--ink); font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.steps h3 { margin: 0 0 6px; font-size: 20px; }
.steps p { margin: 0; color: var(--soft-ink); }

.faq { max-width: 780px; }
.faq details { border-top: 1px solid var(--rule); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--soft-ink); margin: 10px 0 0; }

.closing { text-align: center; }
.closing p { color: var(--soft-ink); margin: 0 0 26px; }

footer { padding: 40px 0 56px; font-size: 15px; color: var(--soft-ink); }
footer .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-top: 28px; }
footer a { color: var(--soft-ink); }

/* forms and documents */
.page { max-width: 560px; margin: 10px auto 60px; background: var(--paper); padding: 36px; border-radius: 18px; }
.page h1 { font-size: 34px; font-weight: 800; font-stretch: 92%; margin: 0 0 8px; line-height: 1.1; }
.page .sub { color: var(--soft-ink); margin: 0 0 24px; }
label.f { display: block; font-weight: 600; margin-bottom: 16px; font-size: 16px; }
label.f input { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px; background: #fff; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; margin: 6px 0 20px; }
label.check input { margin-top: 5px; width: 18px; height: 18px; }
.err { color: #A3261A; min-height: 22px; font-size: 16px; margin-bottom: 8px; }
.note { color: var(--soft-ink); font-size: 15px; margin-top: 16px; }
.doc { max-width: 760px; margin: 10px auto 60px; background: var(--paper); padding: 40px; border-radius: 18px; }
.doc h1 { font-size: 36px; font-weight: 800; font-stretch: 92%; margin: 0 0 18px; }
.doc h2 { font-size: 24px; margin: 28px 0 8px; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 16px 0 60px; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .top nav .hide-sm { display: none; }
  .page, .doc { padding: 24px; border-radius: 0; }
}
