:root { --bg: #f6f3ea; --surface: #fffdf7; --ink: #22201b; --muted: #5d584c; --line: #d8d1bf; --accent: #1f5f5b; --on-accent: #ffffff; --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --font-display: Georgia, "Times New Roman", serif; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --bg: #171a19; --surface: #1f2423; --ink: #e8e6dd; --muted: #a9aba0; --line: #384140; --accent: #7fcdc4; --on-accent: #0f1c1b; color-scheme: dark; } }
/* kit.css -- shared styles for every tournament site. build.py prepends the site's theme variables and writes
   site.css. Mobile-first: one column by default, wider only from 48rem. System fonts only; no requests leave the site. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-body);
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
main, .top, .foot { max-width: 44rem; margin-inline: auto; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .15em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { position: static; display: inline-block; padding: .5rem 0; }
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1rem;
  border-bottom: 1px solid var(--line); }
.top p { margin: 0; }
.mark { font: 700 1.25rem/1.1 var(--font-display); }
.tag { color: var(--muted); font-size: .85rem; }
h1 { font: 700 clamp(1.9rem, 7vw, 3rem)/1.08 var(--font-display); margin: 0 0 .75rem; text-wrap: balance; }
h2 { font: 700 1.4rem/1.2 var(--font-display); margin: 0 0 .75rem; }
h3 { font: 600 1.05rem/1.3 var(--font-body); margin: 0 0 .25rem; }
p { margin: 0 0 .75rem; }
section { padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.hero { padding-block: 2rem 1.5rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 48ch; }
.note { color: var(--muted); font-size: .95rem; }
.tool #tool-root, .offer, .ask { background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 1rem; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .25rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--muted); border-radius: 6px; padding: .65rem .75rem; min-height: 2.75rem; }
textarea { resize: vertical; }
button, .button { display: inline-block; font: 600 1rem/1.2 var(--font-body); background: var(--accent);
  color: var(--on-accent); border: 0; border-radius: 6px; padding: .8rem 1.2rem; min-height: 2.75rem; cursor: pointer;
  text-decoration: none; }
.field { margin-bottom: 1rem; }
.ask { margin-block: 1rem; display: grid; gap: .6rem; }
.ask-q { font-weight: 600; margin: 0; }
.ask-buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.ask-msg { margin: 0; min-height: 0; }
.ask-close { justify-self: start; background: transparent; color: var(--ink); border: 1px solid var(--muted);
  padding: .5rem .9rem; font-weight: 400; }
.amount { font: 700 2.2rem/1.1 var(--font-display); margin-bottom: .25rem; }
.amount span { font: 400 1rem var(--font-body); color: var(--muted); }
.offer { margin-top: 1rem; }
.offer p:last-child { margin-bottom: 0; }
.soon { font-weight: 600; }
.form-price { margin-bottom: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#signup-msg { min-height: 1.6rem; margin: .75rem 0 0; font-weight: 600; }
.foot { padding-block: 1.25rem 2.5rem; color: var(--muted); font-size: .9rem; }
.foot p { margin-bottom: .4rem; }
.foot a { color: inherit; }
.doc { padding-block: 2rem 3rem; max-width: 40rem; }
.doc h2 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: .3rem; }
.doc li { margin-bottom: .2rem; }
@media (min-width: 48rem) {
  section { padding-block: 2.5rem; }
  .hero { padding-block: 3.5rem 2.5rem; }
  .tool #tool-root, .offer, .ask { padding: 1.5rem; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
