/* Design tokens, loaded first on every page: the site (app.css), the guest invitation (invite.css) and the printable
   card (print.css). Dark values for the site pages are in app.css; guest pages and print keep their own looks. */
:root {
  --font: "Google Sans", "Noto Sans Georgian", system-ui, sans-serif;
  --serif: "Noto Serif Georgian", Georgia, serif;

  /* ---- colour: surfaces and text (text greys pass 4.5:1 on white; --placeholder is only for hints in empty fields) */
  --bg: #f5f5f7; --surface: #fff; --stage: #ececf0;
  --text: #1d1d1f; --text-2: #636368; --text-3: #737378; --label: #3a3a3c; --placeholder: #6e6e73;
  --line: #d2d2d7; --line-2: #e8e8ed; --hairline: rgba(0, 0, 0, .06);
  --fill: #f2f2f7; --fill-2: #e8e8ed; --fill-3: #dcdce1; --hover: rgba(0, 0, 0, .05);
  --track: #e3e3e8; --seg-on: #fff; --switch-off: #e9e9ea; --grabber: #c7c7cc;
  --bar: rgba(245, 245, 247, .8); --stage-bar: rgba(236, 236, 240, .82); --dock: rgba(255, 255, 255, .82);
  /* primary button: dark on light, light on dark */
  --primary: #1d1d1f; --on-primary: #fff; --primary-hover: #333336;
  --primary-top: #3a3a3d; --primary-gloss: rgba(255, 255, 255, .16); /* the primary button's soft top light */

  /* ---- material: cards are soft white with a faint sheen, a hairline edge and a quiet shadow (Apple-like) */
  --card: #fff; /* solid, so every text on it can be measured exactly; the sheen is the inset top light */
  --card-gloss: rgba(255, 255, 255, .9); --card-edge: rgba(0, 0, 0, .05);
  --card-shadow: 0 1px 1px rgba(0, 0, 0, .02), 0 8px 24px -14px rgba(0, 0, 0, .14);
  /* a soft warm-to-violet wash (the logo's colours, very light) for picture panels and small chips */
  --wash: linear-gradient(150deg, #fff4e8 0%, #ffeef5 52%, #f2eeff 100%);
  --wash-strong: linear-gradient(150deg, #ffe3c2 0%, #ffd6e6 52%, #e4dcff 100%);

  /* ---- colour: meaning */
  --blue: #0066cc; --focus: #0066cc;
  --green: #34c759; --green-ink: #1f7a3a; --green-bg: #e6f6ea;
  --red: #ff3b30; --red-ink: #c4271a; --red-bg: #ffebe9;
  --orange: #ff9f0a; --orange-ink: #9a5b00; --orange-bg: #fff4dc;
  --blue-bg: #e8f1fd;
  /* a guest's answer: coming / not coming / not sure (buttons, dots, ticks) */
  --yes: #30c75e; --no: #ff453a; --maybe: #ff9f0a;

  /* ---- type: body is 16px. Whole-pixel steps, a pixel or more apart, and nothing a person reads is under 13px
     (Georgian letters are dense): 13 · 14 · 15 · [16 body] · 17 · 18.4 · 21.6 · 25.6. --fs-2xs is the same 13px as
     --fs-xs now (it was 12px); the name stays for the rules that use it. Smaller text is only inside the drawn
     phone pictures and, on narrow phones, the editor's tab-bar labels. */
  --fs-2xs: .8125rem; --fs-xs: .8125rem; --fs-sm: .875rem; --fs-base: .9375rem; --fs-md: 1.0625rem; --fs-lg: 1.15rem; --fs-xl: 1.35rem; --fs-2xl: 1.6rem;
  --lh-tight: 1.15; --lh-snug: 1.3; --lh-base: 1.5; --lh-loose: 1.65;
  --track-tight: -.025em; --track-snug: -.01em;

  /* ---- space: a 4-point grid */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-7: 28px; --sp-8: 32px;
  --sp-9: 36px; --sp-10: 40px; --sp-11: 44px; --sp-12: 48px; --sp-13: 52px; --sp-14: 56px; --sp-15: 60px; --sp-16: 64px;
  /* beyond 64px: plain multiples of 8 (72, 80, 96, 104 …) */

  /* ---- shape: nested surfaces step down (outer radius = inner radius + padding) */
  --r-xs: 8px; --r-sm: 10px; --r: 12px; --r-md: 14px; --r-lg: 18px; --r-xl: 28px; --r-2xl: 36px; --r-pill: 999px;
  /* control heights: small / regular / large (touch screens lift small to 40px) */
  --h-sm: 36px; --h-md: 44px; --h-lg: 52px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px -12px rgba(0, 0, 0, .12);
  --shadow-lg: 0 0 0 1px rgba(0, 0, 0, .04), 0 32px 80px -24px rgba(0, 0, 0, .45);

  /* ---- motion: state changes are quick, entrances a touch slower, exits quieter than entrances */
  --ease-out: cubic-bezier(.2, .8, .2, 1); --ease-spring: cubic-bezier(.2, .9, .3, 1.12);
  --dur-1: .15s; --dur-2: .25s; --dur-3: .35s;
  /* links and buttons: everything that changes on hover fades in AND out on one soft curve; a press goes down
     quickly (--dur-press, set on :active) and comes back at the hover speed. The classic `ease` at .3s, not
     --ease-out: that one does half its change in ~40 ms, so a hover still looked like a switch (George, 2026-11-09) */
  --ease-soft: cubic-bezier(.25, .1, .25, 1);
  --dur-hover: .3s; --dur-press: .1s;
  --tx-ui: color var(--dur-hover) var(--ease-soft), background-color var(--dur-hover) var(--ease-soft),
    border-color var(--dur-hover) var(--ease-soft), text-decoration-color var(--dur-hover) var(--ease-soft),
    box-shadow var(--dur-hover) var(--ease-soft), opacity var(--dur-hover) var(--ease-soft),
    transform var(--dur-hover) var(--ease-soft), filter var(--dur-hover) var(--ease-soft);
  /* the black button's hover: a tint laid over its gradient (a gradient itself can't fade) */
  --primary-tint: rgba(255, 255, 255, .12);
}
