/* pebbl web: design tokens. One place for every colour, size and space, shared by the public site and the planner.
   Values come from the phone app's beach theme so the two feel like one product. */
@import url("../fonts/fonts.css");
:root {
  /* colour */
  --teal: #1C686E; --teal-deep: #154F54; --teal-soft: #D5ECE8;
  --sand: #FFF0DA; --paper: #FFFCF7; --surface: #FFFFFF; --shell: #F3DCC6;
  --ink: #2A1A12; --muted: #5F4A3B; --line: #EFE2D0; --field: #A88C6E;
  --peach: #FFC98A; --amber: #E8A21C; --navy: #0E1B33;
  --good: #14553C; --good-bg: #DDF0E6; --warn: #6B4400; --warn-bg: #FBEBCB; --danger: #A02C1A; --danger-bg: #FADFD8;
  --focus: #F2B63C;
  /* type */
  --display: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --step--1: 0.875rem; --step-0: 1rem; --step-1: 1.125rem; --step-2: 1.375rem; --step-3: 1.75rem; --step-4: 2.375rem; --step-5: 3.5rem;
  /* space and shape */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --r-s: 10px; --r-m: 16px; --r-l: 24px; --r-pill: 999px;
  --shadow-1: 0 2px 8px rgba(60, 40, 20, .08); --shadow-2: 0 10px 30px rgba(30, 20, 10, .16);
  --measure: 68ch;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: var(--step-0); line-height: 1.5; color: var(--ink); background: var(--sand); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.15; text-wrap: balance; }
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--teal); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* shared pieces */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5); border-radius: var(--r-pill); border: 1.5px solid var(--teal); background: var(--teal); color: #fff; font-weight: 600; text-decoration: none; transition: background .15s, transform .1s; }
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--teal); }
.btn.ghost:hover { background: var(--teal-soft); }
.btn.light { background: #fff; color: var(--teal); border-color: #fff; }
.btn.light:hover { background: var(--sand); border-color: var(--sand); }
.btn.small { min-height: 40px; padding: 0 var(--s4); font-size: var(--step--1); }
.btn.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn.danger:hover { background: var(--danger-bg); }
.btn[disabled] { opacity: .5; cursor: default; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); font-size: 0.8125rem; font-weight: 600; background: var(--warn-bg); color: var(--warn); white-space: nowrap; }
.pill.good { background: var(--good-bg); color: var(--good); }
.pill.bad { background: var(--danger-bg); color: var(--danger); }
.pill.plain { background: var(--sand); color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
