/* Court & Stone: cream, forest, lime, stone, sage. No purple. */
:root {
  --cream: #FBF6ED; --stone: #EFE7DB; --stone-deep: #E3D9CA; --sage: #C9CFAD; --lime: #CFF245;
  --forest: #1F2B18; --forest-soft: #3E4A35; --muted: #756D65; --error: #B3412E;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--cream); color: var(--forest); }
body { font-family: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
main { max-width: 440px; margin: 0 auto; padding: max(32px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom)); }
[hidden] { display: none !important; }
.brand { font-weight: 800; font-size: 26px; letter-spacing: -0.02em; margin: 0; }
.tagline { margin: 2px 0 28px; color: var(--forest-soft); font-weight: 600; font-size: 14px; }
h1 { font-size: clamp(28px, 8vw, 36px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; margin: 4px 0 16px; }
.card { background: var(--stone); border-radius: 26px; padding: 22px; display: grid; gap: 10px; }
.card p { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 500; }
.sub { color: var(--muted); font-size: 15px !important; }
.center { text-align: center; margin-top: 12px; }
.badge { width: 52px; height: 52px; border-radius: 26px; background: var(--lime); display: grid; place-items: center; font-size: 26px; font-weight: 800; }
.button { display: block; width: 100%; margin-top: 18px; border: 0; border-radius: 999px; background: var(--lime); color: var(--forest); font: 700 17px Figtree, sans-serif; padding: 16px; text-align: center; text-decoration: none; cursor: pointer; }
.button.secondary { background: transparent; border: 1.5px solid var(--stone-deep); }
.button:disabled { opacity: 0.5; }
label { font-weight: 600; font-size: 15px; }
input { width: 100%; font: 500 16px Figtree, sans-serif; color: var(--forest); background: #FDF9F2; border: 1.5px solid var(--stone-deep); border-radius: 16px; padding: 14px 16px; }
input:focus { outline: 2px solid var(--forest); outline-offset: 1px; }
.error { color: var(--error); font-weight: 600; font-size: 14px; margin: 0; }
.invited { text-align: center; font-weight: 700; font-size: 17px; margin: 0 0 8px; }
