/* Price Goat site: the app's shelf-and-sale-tag look. One reading column; a tag-yellow band for the main action. */
:root {
  --shelf: #eef1ec;
  --surface: #ffffff;
  --raised: #f5f7f3;
  --ink: #1c2430;
  --ink-soft: #5b6573;
  --line: #d6dce3;
  --tag: #ffd53d;
  --tag-ink: #1c2430;
  --pasture: #1e7a4e;
  --pasture-soft: #e2f1e8;
  --up: #b5402a;
  --focus: #1f6feb;
  --display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --narrow: "Archivo Narrow", "Arial Narrow", "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --shelf: #14191e; --surface: #1c232a; --raised: #242c34; --ink: #e6ebe4; --ink-soft: #9aa5ae; --line: #2f3943;
    --pasture: #4cc38a; --pasture-soft: #1e3a2d; --up: #e07a62; --focus: #6ea8ff; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --shelf: #14191e; --surface: #1c232a; --raised: #242c34; --ink: #e6ebe4; --ink-soft: #9aa5ae; --line: #2f3943;
  --pasture: #4cc38a; --pasture-soft: #1e3a2d; --up: #e07a62; --focus: #6ea8ff; color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--shelf); color: var(--ink); font-family: var(--display); font-size: 16px; line-height: 1.55;
}
a { color: var(--pasture); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
img { max-width: 100%; }
.wrap {
  max-width: 880px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* top bar */
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; font-size: 15px; }
.top nav a { color: var(--ink-soft); text-decoration: none; }
.top nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--tag); text-decoration-thickness: 3px; }

main { padding-block: 40px 56px; }
h1 { font-size: clamp(30px, 5.4vw, 46px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 14px; text-wrap: balance; font-weight: 800; }
h2 { font-size: clamp(21px, 3vw, 26px); letter-spacing: -0.01em; margin: 0 0 10px; text-wrap: balance; font-weight: 800; }
h3 { font-size: 17px; margin: 0 0 4px; font-weight: 700; }
p { margin: 0 0 12px; max-width: 66ch; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 58ch; }
.eyebrow { font-family: var(--narrow); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: 13px; color: var(--pasture); margin-bottom: 8px; }

/* hero with the shelf tag */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.hero img.goat { width: 168px; height: 168px; border-radius: 28px; }
@media (max-width: 640px) { .hero { grid-template-columns: 1fr; } .hero img.goat { width: 112px; height: 112px; border-radius: 20px; order: -1; } }

.tagband {
  margin-top: 28px; background: var(--tag); color: var(--tag-ink); border-radius: 8px; padding: 18px 20px;
  display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; position: relative;
}
.tagband::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: var(--shelf); box-shadow: inset 0 0 0 2px rgba(0,0,0,.2);
}
.tagband .what { padding-left: 22px; min-width: 0; flex: 1 1 320px; }
.tagband .what strong { display: block; font-size: 18px; }
.tagband .what span { font-size: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 6px; padding: 11px 18px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: 0; font-family: inherit; cursor: pointer;
}
.btn.dark { background: var(--tag-ink); color: #fff; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

/* feature tiles */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 36px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 18px; min-width: 0; }
.tile p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.price { font-family: var(--narrow); font-weight: 700; font-variant-numeric: tabular-nums; }
.price s { color: var(--ink-soft); font-weight: 500; margin-left: 6px; }

section.block { margin-top: 44px; }

/* the tester guide: a real sequence, so the numbers mean something */
ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
ol.steps > li {
  counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  padding: 16px 18px 16px 64px; position: relative; min-width: 0;
}
ol.steps > li::before {
  content: counter(step); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--pasture); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
ol.steps p, ol.steps ul { color: var(--ink-soft); font-size: 15px; margin: 4px 0 0; }
ol.steps ul { padding-left: 18px; }
kbd, code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13.5px; background: var(--raised);
  border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere;
}
.note { background: var(--pasture-soft); border-radius: 6px; padding: 12px 16px; margin-top: 10px; font-size: 15px; color: var(--ink); }
.warn { background: var(--surface); border-left: 4px solid var(--up); border-radius: 4px; padding: 12px 16px; margin-top: 10px; font-size: 15px; }

/* agreement page */
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: clamp(18px, 4vw, 34px); }
.doc h2 { margin-top: 28px; font-size: 20px; }
.doc h2:first-of-type { margin-top: 6px; }
.doc ul { padding-left: 20px; margin: 0 0 12px; max-width: 66ch; }
.doc li { margin-bottom: 4px; }
.meta { color: var(--ink-soft); font-size: 14px; }

.contact { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.copy { font: inherit; font-size: 13px; padding: 4px 10px; border-radius: 5px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }

footer { border-top: 1px solid var(--line); background: var(--surface); }
footer .wrap { padding-block: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; color: var(--ink-soft); font-size: 14px; }
footer a { color: var(--ink-soft); }
