/* Evergreen design system: tokens for the elf night planner (app + website)
   Load the font: https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap
   Light and dark both defined; set data-theme="light"|"dark" on <html> to force one. */
:root{
  color-scheme:light dark;

  /* Brand colour */
  --eg-evergreen-900:#0F2E24;
  --eg-evergreen-700:#1B4D3E;   /* primary */
  --eg-evergreen-600:#23614D;   /* primary hover */
  --eg-evergreen-100:#E3EFEA;
  --eg-evergreen-50:#F2F7F5;
  --eg-berry-600:#B3263A;       /* accent: prices, offers, one highlight per screen */
  --eg-berry-700:#951E30;
  --eg-berry-50:#FBEDEF;
  --eg-gold-500:#D4A03A;        /* delight only: sparkles, stars, tiny highlights */
  --eg-gold-50:#FBF4E4;

  /* Semantic, light / dark */
  --eg-bg:light-dark(#FFFFFF,#0B1612);
  --eg-surface:light-dark(#FFFFFF,#12201B);
  --eg-surface-2:light-dark(#F6F8F7,#172821);   /* alternate bands, inputs */
  --eg-surface-brand:light-dark(#F2F7F5,#14271F);
  --eg-ink:light-dark(#15201C,#EDF3F0);
  --eg-ink-2:light-dark(#4A5752,#B3C1BA);
  --eg-ink-3:light-dark(#6F7B76,#8A9993);
  --eg-line:light-dark(#E2E8E5,#25382F);
  --eg-line-strong:light-dark(#C9D3CE,#33493F);
  --eg-primary:light-dark(#1B4D3E,#5DB592);
  --eg-primary-hover:light-dark(#23614D,#74C6A5);
  --eg-on-primary:light-dark(#FFFFFF,#0B1612);
  --eg-accent:light-dark(#B3263A,#F07C8C);
  --eg-accent-soft:light-dark(#FBEDEF,#3A1820);
  --eg-delight:light-dark(#D4A03A,#E8BC5E);
  --eg-focus:light-dark(#1B4D3E,#74C6A5);

  /* Festive layer: the colourful, playful set. Use these for illustrations, onboarding, option cards,
     progress, badges and celebration moments. Each has a strong tone (shapes, borders, icons, fills behind
     white/dark text via the matching --eg-on-*) and a soft tone (large background fills).
     Rotate through them so a screen is never one single tone. */
  --eg-berry:light-dark(#C22B45,#F4879A);      --eg-berry-soft:light-dark(#FDE8EC,#3D1A23);
  --eg-gold:light-dark(#E0A526,#F2C55C);       --eg-gold-soft:light-dark(#FDF3D8,#3A2E12);
  --eg-tangerine:light-dark(#E56B2C,#F7A26A);  --eg-tangerine-soft:light-dark(#FDEBDD,#3B2314);
  --eg-candy:light-dark(#D9477F,#F58FB6);      --eg-candy-soft:light-dark(#FCE6EF,#3A1929);
  --eg-plum:light-dark(#6D4BB0,#B9A0F0);       --eg-plum-soft:light-dark(#EEE8FA,#261D3D);
  --eg-sky:light-dark(#2478B5,#7CC4F2);        --eg-sky-soft:light-dark(#E2F1FB,#142B3B);
  --eg-mint:light-dark(#1F9C74,#74D8B1);       --eg-mint-soft:light-dark(#DFF5EC,#12302A);
  --eg-cream:light-dark(#FFF8EA,#241E14);      /* warm paper surface for friendly panels */
  --eg-on-festive:light-dark(#FFFFFF,#0B1612); /* text/icons on a strong festive fill */
  --eg-night:#0F2447;                          /* deep winter-night blue for skies, both themes */
  --eg-snow:#FFFFFF;

  /* Type */
  --eg-font:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --eg-text-xs:12px; --eg-text-sm:14px; --eg-text-md:16px; --eg-text-lg:18px;
  --eg-text-xl:22px; --eg-text-2xl:28px; --eg-text-3xl:36px; --eg-text-4xl:48px;
  --eg-weight-regular:400; --eg-weight-medium:500; --eg-weight-semibold:600; --eg-weight-bold:700;
  --eg-leading-tight:1.12; --eg-leading-snug:1.3; --eg-leading-body:1.6;
  --eg-tracking-tight:-0.02em;

  /* Space (4px grid) */
  --eg-space-1:4px; --eg-space-2:8px; --eg-space-3:12px; --eg-space-4:16px;
  --eg-space-5:24px; --eg-space-6:32px; --eg-space-7:48px; --eg-space-8:64px; --eg-space-9:96px;

  /* Shape and depth */
  /* Sharp, editorial geometry: square by default, 2px only where a control needs softening */
  --eg-radius-none:0; --eg-radius-sm:2px; --eg-radius-md:2px; --eg-radius-lg:0; --eg-radius-xl:0;
  --eg-radius-device:44px;   /* only for drawing a real phone frame */
  --eg-rule:1px solid var(--eg-line);         /* hairline divider, the main structural element */
  --eg-rule-strong:2px solid var(--eg-ink);   /* top rule that opens a column or group */
  --eg-shadow-sm:none;
  --eg-shadow-md:none;
  --eg-shadow-lg:0 30px 60px -20px rgba(15,46,36,.35);  /* product shot only */

  /* Motion */
  --eg-ease:cubic-bezier(.2,.7,.2,1);
  --eg-dur-fast:150ms; --eg-dur:250ms; --eg-dur-slow:450ms;
  --eg-ease-bounce:cubic-bezier(.34,1.56,.64,1);   /* playful pop for selections, ticks, modals arriving */
  --eg-radius-modal:16px;                          /* modals and onboarding cards are the one soft shape */
  --eg-shadow-modal:0 24px 64px -16px rgba(8,20,16,.45);

  /* Layout */
  --eg-content-max:1160px;
  --eg-tap:44px;
}
:root[data-theme=light]{color-scheme:light}
:root[data-theme=dark]{color-scheme:dark}
