/* Sunday: the parts every page shares. A Sunday sky, navy ink, the sun, and paper cards pegged on two lines. */
:root {
  --sky: #a9dbf5;      /* the landing's sky */
  --air: #eef7fc;      /* the board's sky, paler */
  --sun: #ffc531;
  --sun-deep: #f5a800;
  --ink: #1b2a4a;      /* navy ink: type, ropes' shadow, buttons */
  --ink-2: #4b5b78;
  --ink-3: #8593ab;
  --paper: #ffffff;
  --grass: #2bb673;    /* done */
  --grass-deep: #1f8f59;
  --dev: #2f5bea;
  --dev-tint: #e6ecff;
  --mkt: #f0457d;
  --mkt-tint: #ffe4ee;
  --rope: #8b6a46;
  --peg: #e7b46c;
  --peg-dark: #b8813d;
  --line: #d7e6f0;
  --danger: #d6334a;
  --shadow-hang: 0 14px 22px -14px rgba(27, 42, 74, 0.55), 0 2px 0 rgba(27, 42, 74, 0.06);
  --radius-paper: 7px;
  --font: 'Gabarito', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--air); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- buttons: pills, the sun for the big yes, navy for the rest ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform 0.18s var(--ease-spring), background 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn.sun { background: var(--sun); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn.sun:hover { box-shadow: 0 6px 0 var(--ink); }
.btn.sun:active { box-shadow: 0 1px 0 var(--ink); transform: translateY(3px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 14px; gap: 6px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }
.btn .g { width: 20px; height: 20px; }
.link { background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---- the brand: a sun with two lines through it ---- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; text-decoration: none; color: var(--ink); }
.brand svg { width: 32px; height: 32px; flex: none; }

/* ---- a line: the rope with its sag, and the paper cards pegged on it ---- */
.rope { position: absolute; left: 0; right: 0; height: 26px; pointer-events: none; }
.rope svg { width: 100%; height: 26px; overflow: visible; }
.rope path { fill: none; stroke: var(--rope); stroke-width: 3; stroke-linecap: round; }
.rope path.under { stroke: rgba(27, 42, 74, 0.12); stroke-width: 3; transform: translateY(5px); }

.paper { position: relative; background: var(--paper); border-radius: var(--radius-paper); box-shadow: var(--shadow-hang); transform-origin: 50% -10px; }
.peg { position: absolute; top: -16px; left: 50%; width: 12px; height: 30px; margin-left: -6px; border-radius: 4px 4px 5px 5px; background: var(--peg); box-shadow: inset -3px 0 0 var(--peg-dark), 0 2px 2px rgba(27, 42, 74, 0.25); z-index: 2; }
.peg::after { content: ''; position: absolute; left: 3px; right: 3px; top: 9px; height: 3px; border-radius: 2px; background: var(--peg-dark); }

/* label chips: dev and marketing, and nothing else */
.tag { font-style: normal; display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.tag.dev { background: var(--dev-tint); color: var(--dev); }
.tag.marketing { background: var(--mkt-tint); color: #c4255c; }

.dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 800; flex: none; box-shadow: 0 0 0 2px var(--paper); }

/* fields */
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.input, .field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 11px 15px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font-size: 16px; outline: none; transition: border-color 0.15s; }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.err { color: var(--danger); font-size: 14px; font-weight: 600; min-height: 0; }
.err:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
