/* Shared design sheet. Owned by the lead; page agents add their own file, they do not edit this one. */
:root {
  --hedge: #173B2A;   /* deep hedge green: text, header, footer */
  --chalk: #F3F6EE;   /* page background, cool pale green-white */
  --paper: #FFFFFF;
  --meadow: #3F8A3A;  /* links, free things */
  --ball: #D9E63C;    /* tennis-ball yellow: the one loud colour, used for the main action and free slots */
  --mud: #4A3F33;     /* secondary text */
  --line: #C9D3C0;
  --taken: #E4E7DE;
  --warn: #A3341C;
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --r-s: 6px; --r-l: 18px;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--chalk); color: var(--hedge); font: 400 1.0625rem/1.55 var(--body); }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: var(--meadow); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--hedge); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 1rem; top: 1rem; background: var(--ball); padding: .5rem 1rem; z-index: 10; }
.testbar { margin: 0; max-width: none; background: var(--mud); color: #fff; font-size: .875rem; text-align: center; padding: .35rem 1rem; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: var(--wrap); margin: 0 auto; padding: 1rem clamp(1rem, 4vw, 2.5rem); }
.brand { display: flex; align-items: center; gap: .6rem; font: 800 1.25rem/1 var(--display); color: var(--hedge); text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 34px; fill: var(--ball); stroke: var(--hedge); stroke-width: 2.5; }
.brand svg path { fill: none; }
.top nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.6rem); flex-wrap: wrap; }
.top nav a:not(.btn) { color: var(--hedge); text-decoration: none; font-weight: 500; }
.top nav a:not(.btn):hover { text-decoration: underline; }
.btn { display: inline-block; font: 600 1rem/1 var(--body); padding: .85rem 1.3rem; border-radius: 999px; border: 2px solid var(--hedge); background: transparent; color: var(--hedge); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--hedge); color: var(--chalk); }
.btn-ball { background: var(--ball); }
.btn-big { font-size: 1.15rem; padding: 1.05rem 1.7rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
/* Slot chips: the same three states everywhere (home board, booking page, owner page) */
.slot { display: block; text-align: center; font: 600 .875rem/1 var(--body); font-variant-numeric: tabular-nums; padding: .6rem 0; border-radius: var(--r-s); border: 1.5px solid var(--hedge); background: var(--ball); color: var(--hedge); text-decoration: none; cursor: pointer; }
.slot:hover { background: var(--hedge); color: var(--ball); }
.slot.is-taken { background: var(--taken); border-color: transparent; color: #8c9486; text-decoration: line-through; cursor: default; }
.slot.is-past { background: transparent; border-color: transparent; color: #b4bbae; cursor: default; }
.slot.is-picked { background: var(--hedge); color: var(--ball); }
.slotgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
label { display: block; font-weight: 600; margin-bottom: .3rem; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], select { width: 100%; font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--hedge); border-radius: var(--r-s); background: var(--paper); color: var(--hedge); }
.error { color: var(--warn); font-weight: 600; }
.foot { background: var(--hedge); color: var(--chalk); margin-top: 5rem; padding: 3rem clamp(1rem, 4vw, 2.5rem); display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.foot a { color: var(--ball); } .foot p { margin: 0 0 .5em; } .foot .small { font-size: .875rem; opacity: .7; grid-column: 1 / -1; }
.plan { width: 100%; height: auto; }
.plan-field { fill: #8CC56A; stroke: var(--hedge); stroke-width: 1.4; stroke-linejoin: round; }
.plan-pen { fill: #D8D2C4; stroke: var(--hedge); stroke-width: 1.4; }
.plan-drive { fill: none; stroke: var(--mud); stroke-width: 3; stroke-dasharray: 2 3; }
.plan text { font: 800 9px var(--display); fill: var(--hedge); text-anchor: middle; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
