/* Stammis sales page. Phone first: most restaurant owners will read it on a phone. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

:root {
  --green: #1f5c45;
  --green-deep: #143d2e;
  --cream: #faf6ee;
  --paper: #fffdf8;
  --ink: #19201c;
  --muted: #56615a;
  --line: #e4dccb;
  --field: #cdc4b0;
  --sun: #f2c14e;
  --error: #a12a1c;
  --radius: 18px;
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
a { color: var(--green); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.small { font-size: 0.9rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.85rem 1.5rem;
  background: var(--green); color: #fff;
  font: inherit; font-size: 1.05rem; font-weight: 700; text-decoration: none;
  border: 0; border-radius: 999px; cursor: pointer;
}
.btn:hover { background: var(--green-deep); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn-ghost:hover { background: rgb(31 92 69 / 0.08); }
.btn-small { min-height: 42px; padding: 0.5rem 1.05rem; font-size: 0.95rem; }

/* Header */
.top { padding: 14px 0; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em;
}
.brand-mark { width: 34px; height: 34px; flex: none; }

/* Hero */
.hero { padding: 20px 0 48px; }
.eyebrow { color: var(--green); font-weight: 700; font-size: 0.95rem; margin-bottom: 14px; }
h1 { font-size: clamp(2.3rem, 10.5vw, 4.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.mark {
  background: linear-gradient(transparent 60%, var(--sun) 60%, var(--sun) 94%, transparent 94%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 0.06em;
}
.lead { margin-top: 18px; font-size: 1.2rem; line-height: 1.45; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; font-size: 0.98rem; }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 7px; }

.hero-visual {
  margin-top: 40px;
  background: var(--green);
  border-radius: 28px;
  padding: 34px 0 0;
  display: flex; justify-content: center;
  max-height: 470px; overflow: hidden;
}
.phone {
  width: 250px; flex: none;
  border: 9px solid #101613; border-radius: 38px; background: #101613;
  overflow: hidden;
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.28);
}
.phone img { width: 100%; border-radius: 29px; }

/* Bands */
.band { padding: 60px 0; }
.band-paper { background: var(--paper); border-block: 1px solid var(--line); }
.band-green { background: var(--green); color: #fff; }
h2 { font-size: clamp(1.8rem, 7vw, 2.7rem); font-weight: 800; letter-spacing: -0.03em; }
.section-lead { margin-top: 12px; font-size: 1.15rem; color: var(--muted); max-width: 44ch; }

/* Steps */
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  counter-increment: step;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 14px;
  background: var(--green); color: #fff; border-radius: 50%;
  font-weight: 800; font-size: 1.15rem;
}
.steps h3 { font-size: 1.3rem; }
.steps p { margin-top: 6px; color: var(--muted); }

/* Example pictures: swipe sideways on a phone, four in a row on a wide screen */
.phones {
  display: flex; gap: 18px;
  margin: 30px -20px 0; padding: 6px 20px 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.shot { flex: 0 0 auto; width: 232px; margin: 0; scroll-snap-align: start; }
.shot .phone { width: 100%; box-shadow: 0 10px 26px rgb(0 0 0 / 0.16); }
.shot figcaption { margin-top: 14px; font-size: 0.97rem; color: var(--muted); }
.shot figcaption strong { display: block; color: var(--ink); font-size: 1.08rem; margin-bottom: 2px; }
.note { margin-top: 10px; font-size: 0.92rem; color: var(--muted); }

.checklist { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; font-weight: 600; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0.08em;
  display: grid; place-items: center; width: 24px; height: 24px;
  background: var(--green); color: #fff; border-radius: 50%; font-size: 0.85rem; font-weight: 800;
}

/* Price */
.price-grid { display: grid; gap: 34px; }
.price-big { margin-top: 18px; font-size: clamp(5rem, 27vw, 8rem); font-weight: 900; line-height: 0.92; letter-spacing: -0.05em; }
.price-for { font-size: 1.35rem; font-weight: 700; margin-top: 6px; }
.ticks-light { margin-top: 22px; }
.ticks-light li::before { color: var(--sun); }
.price-how { margin-top: 22px; font-size: 1.15rem; max-width: 34ch; }
.sum-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 24px 22px; }
.sum-card h3 { font-size: 1.2rem; }
.sum-card dl { margin: 14px 0 0; }
.sum-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum-card dt { color: var(--muted); }
.sum-card dd { margin: 0; font-weight: 700; white-space: nowrap; }
.sum-card .sum dt { color: var(--ink); font-weight: 700; }
.sum-card .you { border-bottom: 0; margin-top: 8px; padding: 14px 16px; background: var(--green); color: #fff; border-radius: 12px; font-size: 1.2rem; }
.sum-card .you dt { color: #fff; font-weight: 700; }
.sum-card .you dd { font-weight: 800; }
.sum-card .small { margin-top: 14px; }

/* Questions */
.faq { margin-top: 22px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 56ch; }

/* Sign-up form */
.signup-card { background: var(--cream); border: 1px solid var(--line); border-radius: 24px; padding: 28px 22px 26px; }
form { display: grid; gap: 16px; margin-top: 24px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.98rem; }
.opt { font-weight: 400; color: var(--muted); }
input {
  width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink);
  padding: 0.8rem 0.9rem; background: #fff;
  border: 1.5px solid var(--field); border-radius: 12px;
}
input:focus { outline: 3px solid var(--sun); outline-offset: 1px; border-color: var(--green); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--error); font-weight: 600; min-height: 1.4em; }
.form-error:empty { min-height: 0; }
form .btn { width: 100%; }

/* Footer */
.foot { padding: 36px 0 52px; color: var(--muted); }
.foot p + p { margin-top: 8px; }
.brand-foot { font-size: 1.15rem; }
.brand-foot .brand-mark { width: 28px; height: 28px; }

/* Thank-you page (shown when the form is sent without JavaScript) */
.plain { min-height: 70vh; display: grid; place-items: center; padding: 40px 20px; text-align: center; }
.plain h1 { font-size: 2.6rem; }
.plain p { margin-top: 12px; font-size: 1.15rem; color: var(--muted); }
.plain .btn { margin-top: 26px; }

/* Wider screens */
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .checklist { grid-template-columns: 1fr 1fr; gap: 14px 28px; }
  .signup-card { padding: 40px 44px; }
  form .btn { width: auto; justify-self: start; min-width: 200px; }
}
@media (min-width: 900px) {
  .band { padding: 84px 0; }
  .hero { padding: 36px 0 72px; }
  .hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
  .hero-visual { margin-top: 0; max-height: 560px; padding-top: 44px; }
  .hero-visual .phone { width: 280px; }
  .lead { font-size: 1.3rem; }
  .price-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
  .sum-card { padding: 30px 30px; }
}
@media (min-width: 1040px) {
  .phones { overflow: visible; justify-content: space-between; margin-inline: 0; padding-inline: 0; }
}
