/* Design tokens for the Eazdrop web reader and the account pages.
 *
 * This file is the single source of truth: templates and sheets reference
 * tokens, never literal hex, so a palette change lands in one place.
 *
 * THEME (Nov 6, 2026): the Lovable site system. Every server-rendered page
 * now wears eazdrop.com's palette, from site/src/styles/site-system.css. Its
 * tokens are declared first, under the SAME names the site uses (--ez-*), so
 * a rule can be ported from the site's CSS as is. The older names below are
 * kept (other sheets use them) but re-pointed at the new palette:
 *
 *   old token(s)                         now
 *   -----------------------------------  ----------------------------------
 *   --bg-page, --ground                  #12091f, the plum gradient's base
 *                                        (the whole gradient: --ez-page-bg)
 *   --surface-card, --ob-card, --ob-chip --ez-card    #1d183d card indigo
 *   --surface-panel                      --ez-raised  #25205a
 *   --ob-bar, --ob-well, --well          --ez-nav     #161336 nav indigo
 *   --surface-panel-border, --hairline,
 *   --ob-ink-16, --ob-lilac-22           --ez-line    ivory hairline .16
 *   --ob-ink-24, --ob-lilac-26/-30       --ez-line-strong       .24
 *   --ob-ink-NN (NN <= 14), --ink-NN     ivory at the same alpha
 *   --accent, --ob-violet, --ob-magenta,
 *   --ob-link, --ob-orchid(-soft),
 *   --ob-gold, --lilac, --amber          --ez-saffron #ffa337
 *   --ob-link-hover                      --ez-saffron-hover #ffb35a
 *   --accent-NN, --ob-magenta-NN,
 *   --ob-gold-NN, --lilac-NN             saffron at the same alpha
 *   --ob-sweep(-down),
 *   --brand-sweep, --amber-sweep,
 *   --ob-gold-sweep                      solid saffron (a one-colour
 *                                        gradient, so it still works as a
 *                                        background-image or text clip)
 *   --amber-ink                          --ez-on-saffron #000 (button text)
 *   --ob-ink, --ink                      --ez-head    #ffffff
 *   --ob-ink-74                          --ez-text    #d8dae8 (body)
 *   --ob-ink-60, --ob-mute               --ez-text-2  #cfc5d9 (secondary)
 *   --ob-ink-50                          --ez-muted   #a89aaf
 *   --ob-glow*, --brand-glow,
 *   --amber-glow                         no glow (a transparent shadow)
 *   --ob-shadow-card/-chip/-google       --ez-card-shadow
 *   --radius-card                        --ez-radius-card 12px
 *   --radius-cta                         --ez-radius-btn  8px
 *   --font-display, --font-brand         Outfit (self-hosted, fonts.css)
 *   --font-body                          Plus Jakarta Sans (fonts.css)
 *
 * State colours keep their meaning (live green, locked, paid, error red,
 * success). The per-area palettes further down keep only the tokens their
 * sheets still read; the old magenta/violet ones were retired with the
 * re-theme, the old CTA gradient alias included. The phone scene's
 * --os-* tokens hold ob-scene.css's site-system values (saffron rings, no
 * violet glows), which .os-stage restates.
 *
 * ACCOUNT FLOW (Nov 2026): the account pages wear their own design (violet
 * pill buttons, gradient cards, lilac-tinted text on a deeper plum). Its
 * tokens are the "Account flow (Nov 2026 design)" group in :root, and the
 * .ac-body block at the end of this file re-points the names above for the
 * account layout only (its own table is there). */

:root {
  /* ==== Eazdrop site system (site-system.css) ============================ */
  /* Surfaces */
  --ez-ivory: #f6efe5;
  --ez-sand: #ece0cc;
  --ez-pearl: #fcfaf7;
  --ez-stone: #d9c7b7;
  --ez-card: #1d183d;
  --ez-nav: #161336;
  --ez-raised: #25205a;
  --ez-saffron: #ffa337;
  --ez-saffron-hover: #ffb35a;
  --ez-line: rgba(246, 239, 229, 0.16);
  --ez-line-strong: rgba(246, 239, 229, 0.24);
  --ez-ink-line: rgba(29, 24, 61, 0.14);

  /* Text */
  --ez-head: var(--ez-white);
  --ez-text: #d8dae8;
  --ez-text-2: #cfc5d9;
  --ez-muted: #a89aaf;
  --ez-ink: #161336;          /* headings on light */
  --ez-ink-body: #4a4560;     /* body on light */
  --ez-ink-eyebrow: #1d183d;  /* eyebrow on light */

  /* Shape */
  --ez-radius-card: 12px;
  --ez-radius-btn: 8px;
  --ez-card-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.6);
  --ez-light-card-shadow: 0 1px 2px rgba(29, 24, 61, 0.06), 0 12px 28px -18px rgba(29, 24, 61, 0.28);
  --ez-body: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Section spacing */
  --ez-section-top: clamp(100px, 15vh, 180px);
  --ez-section-bottom: clamp(4rem, 8vw, 6.5rem);
  --ez-header-gap: clamp(56px, 6vw, 88px);

  /* Waves between a dark band and an Ivory / Sand one (top: drawn above
   * the light band; bottom: drawn below it). */
  --ez-wave-h: clamp(18px, 2.2vw, 28px);
  --ez-wave-top-ivory: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 28' preserveAspectRatio='none'%3E%3Cpath d='M0 21 C120 21 240 2 360 2 C600 2 840 26 1080 26 C1200 26 1320 15 1440 15 L1440 28 L0 28 Z' fill='%23F6EFE5'/%3E%3C/svg%3E");
  --ez-wave-bottom-ivory: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 28' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L1440 0 L1440 15 C1320 15 1200 26 1080 26 C840 26 600 2 360 2 C240 2 120 21 0 21 Z' fill='%23F6EFE5'/%3E%3C/svg%3E");
  --ez-wave-top-sand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 28' preserveAspectRatio='none'%3E%3Cpath d='M0 21 C120 21 240 2 360 2 C600 2 840 26 1080 26 C1200 26 1320 15 1440 15 L1440 28 L0 28 Z' fill='%23ECE0CC'/%3E%3C/svg%3E");
  --ez-wave-bottom-sand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 28' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L1440 0 L1440 15 C1320 15 1200 26 1080 26 C840 26 600 2 360 2 C240 2 120 21 0 21 Z' fill='%23ECE0CC'/%3E%3C/svg%3E");

  /* Page background: the homepage's deep plum gradient with soft violet
   * glows (the site's .eazdrop-site background). */
  --ez-page-base: #12091f;
  --ez-page-bg:
    radial-gradient(ellipse at 50% 4%, hsl(275 60% 40% / 0.18), transparent 40%),
    radial-gradient(ellipse at 18% 34%, hsl(270 65% 38% / 0.12), transparent 38%),
    radial-gradient(ellipse at 78% 62%, hsl(272 64% 44% / 0.12), transparent 42%),
    radial-gradient(ellipse at 30% 88%, hsl(278 60% 40% / 0.14), transparent 40%),
    linear-gradient(180deg, #12091f 0%, #180b2b 28%, #100719 62%, #160925 100%);

  /* ---- Additions for the server pages (not in site-system.css) -------- */
  /* Text on a saffron fill (primary buttons, badges). */
  --ez-on-saffron: #000000;
  /* Saffron washes: selected rows, focus halos on light, icon discs. */
  --ez-saffron-08: rgba(255, 163, 55, 0.08);
  --ez-saffron-12: rgba(255, 163, 55, 0.12);
  --ez-saffron-16: rgba(255, 163, 55, 0.16);
  --ez-saffron-24: rgba(255, 163, 55, 0.24);
  --ez-saffron-35: rgba(255, 163, 55, 0.35);
  --ez-saffron-45: rgba(255, 163, 55, 0.45);
  /* Ivory washes on dark: hover fills, quiet chips, dividers. */
  --ez-ivory-04: rgba(246, 239, 229, 0.04);
  --ez-ivory-06: rgba(246, 239, 229, 0.06);
  --ez-ivory-08: rgba(246, 239, 229, 0.08);
  --ez-ivory-10: rgba(246, 239, 229, 0.1);
  --ez-ivory-12: rgba(246, 239, 229, 0.12);
  /* Form fields (the site's /company/contact): nav indigo, a pearl edge
   * strong enough for 3:1 against the field, saffron when focused. */
  --ez-field: var(--ez-nav);
  --ez-field-hover: #1b1842;
  --ez-field-line: rgba(252, 250, 247, 0.4);
  --ez-field-placeholder: var(--ez-muted);
  /* Fields on a light section. */
  --ez-field-light: var(--ez-white);
  --ez-field-light-line: rgba(29, 24, 61, 0.32);
  /* Pearl cards of the onboarding's "About you" pages (welcome.css): the
   * design's violet line icons on a lilac disc, and a saffron deep enough
   * to read as text on pearl (the offer's badge, its small icons). */
  --ez-violet: #5a2dcc;
  --ez-violet-wash: #efe8fb;
  --ez-saffron-ink: #9a5200;
  /* Keyboard focus everywhere: a 2px saffron outline, 3px off. */
  --ez-focus: 2px solid var(--ez-saffron);
  --ez-focus-offset: 3px;
  /* Floating layers (menus, dialogs): card indigo, a deeper shadow. */
  --ez-pop-shadow: 0 18px 36px -26px rgba(0, 0, 0, 0.7);
  --ez-scrim: rgba(18, 9, 31, 0.72);
  /* State, tuned to read on indigo (4.5:1 or better on --ez-card). */
  --ez-success: #3ee08f;
  --ez-success-ink: #8ff0be;
  --ez-error: #ff6b78;
  --ez-error-line: rgba(255, 107, 120, 0.45);
  --ez-error-fill: rgba(255, 107, 120, 0.08);
  /* No glow: what a retired glow token now resolves to. Valid both as a
   * box-shadow and a text-shadow. */
  --ez-no-glow: 0 0 0 transparent;
  /* A solid saffron that still works where a gradient was expected. */
  --ez-saffron-fill: linear-gradient(var(--ez-saffron), var(--ez-saffron));
  /* Filled saffron buttons: the site's bevel (site-system.css .btn-primary):
   * a lit gradient, a light top edge, a darker lower edge and a small drop
   * shadow; lighter on hover, pressed in while held (:active). */
  --ez-saffron-bevel: linear-gradient(180deg, #ffbe6b 0%, #ffa337 45%, #f28e1c 100%);
  --ez-saffron-bevel-hover: linear-gradient(180deg, #ffc87f 0%, #ffae4d 45%, #f7981f 100%);
  --ez-saffron-bevel-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 0 rgba(140, 70, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.28);
  --ez-saffron-bevel-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(140, 70, 0, 0.28), 0 3px 8px rgba(0, 0, 0, 0.3);
  --ez-saffron-bevel-shadow-active: inset 0 2px 4px rgba(140, 70, 0, 0.35), inset 0 -1px 0 rgba(255, 255, 255, 0.2);
  /* Type */
  --ez-font-head: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ---- Account flow (Nov 2026 design) ---- */
  /* The account pages' redesign (sign-in to Account Home): violet pill
   * buttons, 18px gradient cards with a 10% pearl hairline, lilac-tinted
   * text on a deeper plum, gold only for money and the Pro plan. One name
   * per value; TOKEN_MAP.md (the design hand-off) lists which name each
   * design colour takes. Raw values only: the .ac-body block below the
   * :root re-points the site tokens the account pages read. */

  /* Page and chrome */
  --ez-plum: #140b24;           /* page base, the bar's tint; dark text on ivory (design --dk) */
  --ez-acct-bg:
    radial-gradient(120% 60% at 50% -10%, rgba(122, 66, 232, 0.22) 0%, rgba(20, 11, 36, 0) 60%),
    linear-gradient(180deg, #1a0f30 0%, #140b24 40%, #120a20 100%);
  --ez-bar-glass: rgba(20, 11, 36, 0.86);
  --ez-subnav-glass: rgba(20, 11, 36, 0.95);
  --ez-bar-line: rgba(252, 250, 247, 0.06);
  --ez-rule: rgba(252, 250, 247, 0.08);     /* sidebar edge, footer rule */
  --ez-hair: rgba(252, 250, 247, 0.1);      /* design --line: cards, tiles, pills */
  --ez-step-line: rgba(252, 250, 247, 0.15);
  --ez-dot-line: rgba(252, 250, 247, 0.25); /* an upcoming step's dot */
  --ez-ghost-line: rgba(252, 250, 247, 0.26);
  --ez-outline-line: rgba(252, 250, 247, 0.34);
  --ez-pearl-35: rgba(252, 250, 247, 0.35); /* text-link underline */
  --ez-white: #ffffff;
  --ez-white-03: rgba(255, 255, 255, 0.03);
  --ez-white-04: rgba(255, 255, 255, 0.04);
  --ez-white-05: rgba(255, 255, 255, 0.05);
  --ez-white-06: rgba(255, 255, 255, 0.06);

  /* Text on dark */
  --ez-copy: #e6dcf8;           /* body copy, ledes, nav items */
  --ez-copy-soft: #cbc2da;      /* footer, secondary copy */
  --ez-mute: #bcb1ce;           /* design --mut */
  --ez-mute-2: #9c8fb6;         /* design --mut2: fine print, placeholders */
  --ez-help-ink: #e9e0fa;       /* the header's Help link */
  --ez-link-quiet: #bbadce;     /* design .lnk */

  /* Violet */
  --ez-violet-500: #9150ee;
  --ez-violet-600: #7a42e8;
  --ez-lilac: #c9b3ff;
  --ez-lilac-ink: #d9c9ff;
  --ez-violet-sweep: linear-gradient(180deg, #9150ee 0%, #7a42e8 45%, #5a2dcc 100%);
  --ez-violet-text-sweep: linear-gradient(135deg, #9150ee, #6a38e0);
  --ez-violet-bar: linear-gradient(90deg, #9150ee, #6a38e0);
  --ez-violet-bevel-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 0 rgba(30, 10, 70, 0.35), 0 8px 22px rgba(122, 66, 232, 0.35);
  --ez-violet-bevel-shadow-active: inset 0 2px 4px rgba(30, 10, 70, 0.45), 0 4px 12px rgba(122, 66, 232, 0.3);
  --ez-violet-text-shadow: 0 1px 1px rgba(30, 10, 70, 0.4);
  --ez-violet-chip-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  --ez-violet-check-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  --ez-violet-num-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 10px rgba(90, 45, 204, 0.3);
  --ez-violet-tab-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 10px rgba(90, 45, 204, 0.25);
  --ez-violet-12: rgba(145, 80, 238, 0.12);
  --ez-violet-14: rgba(145, 80, 238, 0.14);
  --ez-violet-20: rgba(145, 80, 238, 0.2);
  --ez-violet-25: rgba(145, 80, 238, 0.25);
  --ez-violet-28: rgba(145, 80, 238, 0.28);
  --ez-violet-50: rgba(145, 80, 238, 0.5);
  --ez-lilac-35: rgba(178, 140, 255, 0.35);
  --ez-lilac-50: rgba(178, 140, 255, 0.5);
  --ez-lilac-55: rgba(178, 140, 255, 0.55);
  --ez-lilac-75: rgba(178, 140, 255, 0.75);

  /* Gold (money, the Pro plan, eyebrows, the stepper's done steps) */
  --ez-saffron-sweep: linear-gradient(135deg, #ffd37a 0%, #ffa337 55%, #e99a35 100%);
  --ez-gold-bevel: linear-gradient(180deg, #ffd37a 0%, #ffb347 40%, #ffa337 60%, #e99a35 100%);
  --ez-gold-bevel-shadow: inset 0 1px 0 rgba(255, 246, 220, 0.85), inset 0 -2px 0 rgba(150, 90, 10, 0.35), 0 8px 22px rgba(233, 154, 53, 0.3);
  --ez-on-gold: #4a2800;
  --ez-gold-light: #ffc461;
  --ez-gold-icon: #ffb547;
  --ez-saffron-deep-sweep: linear-gradient(135deg, #e08a1e, #b8650e);
  --ez-saffron-deep-icon: #c9761a;
  --ez-amber-ink: #b8650e;
  --ez-saffron-60: rgba(255, 163, 55, 0.6);
  --ez-pro-glow: 0 0 0 4px rgba(255, 163, 55, 0.1), 0 20px 44px rgba(233, 154, 53, 0.12);
  --ez-chart-bar: linear-gradient(180deg, #ffc461, #f29a2e);

  /* Surfaces */
  --ez-surface: linear-gradient(180deg, #201a46 0%, #1a1439 100%);
  --ez-surface-pro: linear-gradient(180deg, #221a4a, #1a1439);
  --ez-surface-inner: linear-gradient(180deg, #252058, #1e1a48);
  --ez-surface-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px rgba(0, 0, 0, 0.25);
  --ez-surface-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --ez-surface-lift: 0 18px 40px rgba(0, 0, 0, 0.25);
  --ez-ring-fill: #1e1842;
  --ez-ring-edge: linear-gradient(135deg, #ffd37a, #e99a35);
  --ez-avatar-fill: linear-gradient(180deg, #5a50d2, #352c8a);
  --ez-qr-well: rgba(36, 26, 80, 0.6);
  --ez-radius-panel: 18px;
  --ez-radius-field: 10px;      /* the dark field */
  --ez-radius-field-lg: 14px;   /* the ivory phone field, code boxes */

  /* State */
  --ez-active: #4cd08f;
  --ez-active-08: rgba(76, 208, 143, 0.08);
  --ez-active-12: rgba(76, 208, 143, 0.12);
  --ez-active-32: rgba(76, 208, 143, 0.32);
  --ez-active-35: rgba(76, 208, 143, 0.35);
  --ez-active-glow: 0 0 8px rgba(76, 208, 143, 0.8);
  --ez-error-edge: #e35d6a;
  --ez-error-soft: #ff8a94;
  --ez-success-on-light: #1e8a55;

  /* Fields */
  --ez-field-well: rgba(10, 6, 20, 0.55);
  --ez-field-well-hover: rgba(10, 6, 20, 0.7);
  /* Pearl .34, not the design's .16: a field's edge keeps 3:1. */
  --ez-field-edge: rgba(252, 250, 247, 0.34);
  --ez-field-ivory-placeholder: #8f8499;
  --ez-field-ivory-shadow: inset 0 2px 4px rgba(20, 11, 36, 0.1), 0 0 0 1px rgba(252, 250, 247, 0.15);
  --ez-search-inset: inset 0 2px 4px rgba(20, 11, 36, 0.08);
  --ez-check-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  /* Design v6 (About you, Set up your session, the okbar, the ivory
   * fields). Only values no token above already holds; e.g. the ivory
   * placeholder is --ez-field-ivory-placeholder. */
  --ez-active-06: rgba(76, 208, 143, 0.06);  /* the success bar's fill */
  --ez-active-40: rgba(76, 208, 143, 0.4);   /* the success bar's edge */
  --ez-active-55: rgba(76, 208, 143, 0.55);
  --ez-active-deep: #2fbf78;                 /* the success bar's left edge */
  --ez-ring-edge-green: linear-gradient(135deg, #5edc9e, #2fbf78 55%, #1e9e62);
  --ez-link-quiet-hover: #dcd0ec;            /* design .goback:hover */
  --ez-link-quiet-55: rgba(187, 173, 206, 0.55); /* design .glint underline */
  --ez-disabled-ink: #8f84a3;                /* design .btn-p[disabled] */
  --ez-pearl-32: rgba(252, 250, 247, 0.32);  /* an empty checkbox's edge */
  --ez-pearl-20: rgba(252, 250, 247, 0.2);   /* a chip's edge */
  --ez-pearl-14: rgba(252, 250, 247, 0.14);
  --ez-white-02: rgba(255, 255, 255, 0.02);
  --ez-lilac-85: rgba(178, 140, 255, 0.85);  /* a selected option's edge */
  --ez-violet-16: rgba(145, 80, 238, 0.16);
  --ez-violet-22: rgba(145, 80, 238, 0.22);
  --ez-opt-selected: linear-gradient(180deg, #2a1f5a, #21184a);
  --ez-opt-selected-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 3px rgba(145, 80, 238, 0.22), 0 12px 30px rgba(90, 45, 204, 0.25);
  --ez-violet-cbx-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 10px rgba(90, 45, 204, 0.35);
  /* A selected chip (design .chip[aria-checked]); --ez-violet-chip-shadow
   * above stays the inset-only edge of the lang switch and badges. */
  --ez-violet-chip-lift: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 12px rgba(90, 45, 204, 0.3);
  --ez-saffron-30: rgba(255, 163, 55, 0.3);
  --ez-well-35: rgba(10, 6, 20, 0.35);
  --ez-ivory-inset: inset 0 2px 4px rgba(20, 11, 36, 0.1);
  --ez-error-ring: rgba(227, 93, 106, 0.22);
  /* Icon masks (background: currentColor; mask: var(--ez-icon-…)). */
  --ez-icon-arrow-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3Cpath d='M19 12H5'/%3E%3C/svg%3E");
  --ez-icon-chevron-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

  /* On ivory (the light bands): plum ink at an alpha, and solid inks */
  --ez-plum-07: rgba(20, 11, 36, 0.07);
  --ez-plum-08: rgba(20, 11, 36, 0.08);
  --ez-plum-10: rgba(20, 11, 36, 0.1);
  --ez-plum-12: rgba(20, 11, 36, 0.12);
  --ez-plum-14: rgba(20, 11, 36, 0.14);
  --ez-plum-22: rgba(20, 11, 36, 0.22);
  --ez-ink-03: rgba(29, 24, 61, 0.03);
  --ez-ink-05: rgba(29, 24, 61, 0.05);
  --ez-ink-06: rgba(29, 24, 61, 0.06);
  --ez-ink-strong: #2a1f3d;
  --ez-ink-lede: #3e3452;
  --ez-ink-soft: #5e5470;       /* design --dkm */
  --ez-ink-muted: #6b6078;
  --ez-ink-faint: #8a7f95;
  --ez-ink-pill: #311c54;       /* a pill's words on ivory */
  --ez-chart-shadow: 0 18px 40px rgba(20, 11, 36, 0.1), inset 0 1px 0 #ffffff;
  --ez-sticky-shadow-light: 0 10px 18px -14px rgba(20, 11, 36, 0.35);
  --ez-pill-shadow-light: 0 2px 6px rgba(20, 11, 36, 0.06);
  --ez-wave-band-top-ivory: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,58 C200,92 420,18 720,40 C1010,62 1230,12 1440,34 L1440,90 L0,90 Z' fill='%23f6efe5'/%3E%3C/svg%3E");
  --ez-wave-band-bottom-ivory: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,46 C1230,84 1010,24 720,52 C420,80 200,14 0,40 Z' fill='%23f6efe5'/%3E%3C/svg%3E");

  /* Brand colours that are not ours: Google's "G", the stores' badges */
  --ez-google-blue: #4285f4;
  --ez-google-red: #ea4335;
  --ez-google-yellow: #fbbc05;
  --ez-google-green: #34a853;
  --ez-store-fill: #000000;
  --ez-store-line: #a6a6a6;

  /* The sign-up phone scene's flat (site-system) shadows (ob-scene.css). */
  --os-flat-handset-edge: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), inset 0 0 0 4px #07050a, 0 0 0 1px var(--ez-hair), 0 50px 70px -40px rgba(0, 0, 0, 0.95);
  --os-flat-drop: 0 14px 30px -10px rgba(0, 0, 0, 0.8);
  --os-flat-gold-ring-shadow: 0 0 0 2px rgba(7, 4, 12, 0.9), 0 10px 24px -8px rgba(0, 0, 0, 0.8);
  --os-flat-viewers: rgba(0, 0, 0, 0.45);

  /* The site's text values, for what keeps the old look inside the account
   * area (the Earnings Calculator, .ec-page below). */
  --ez-site-text: var(--ez-text);
  --ez-site-text-2: var(--ez-text-2);
  --ez-site-muted: var(--ez-muted);
  --ez-site-head: var(--ez-head);
  --ez-site-body: var(--ez-body);
  --ez-site-font-body: var(--font-body);

  /* ==== Re-pointed names (see the table above) =========================== */

  /* ---- Surfaces ------------------------------------------------------- */
  --bg-page: var(--ez-page-base);
  --surface-card: var(--ez-card);
  --surface-panel: var(--ez-raised);
  --surface-panel-border: var(--ez-line);
  --surface-raised: var(--ez-ivory-08);
  --surface-raised-border: var(--ez-line-strong);

  /* ---- Brand ---------------------------------------------------------- */
  --accent: var(--ez-saffron);
  --accent-deep: var(--ez-nav);
  --accent-12: var(--ez-saffron-12);
  --accent-20: rgba(255, 163, 55, 0.2);
  --accent-32: rgba(255, 163, 55, 0.32);
  --accent-55: rgba(255, 163, 55, 0.55);

  /* ---- State ---------------------------------------------------------- */
  --state-live: #41ff76;
  --state-live-dot: #05df72;
  --state-locked: #ff23dc;
  --state-paid: #ffb020;

  /* Avatar seeds used in message previews. */
  --seed-violet: #7c3aed;
  --seed-cyan: #0891b2;
  --seed-green: #059669;

  /* ---- Text ----------------------------------------------------------- */
  /* White at an alpha: these sit over photos as well as indigo, so they
   * keep their translucency. Solid text on indigo: --ez-text / -2 / muted. */
  --text: #ffffff;
  --text-72: rgba(255, 255, 255, 0.72);
  --text-70: rgba(255, 255, 255, 0.7);
  --text-65: rgba(255, 255, 255, 0.65);
  --text-60: rgba(255, 255, 255, 0.6);
  --text-50: rgba(255, 255, 255, 0.5);
  --text-20: rgba(255, 255, 255, 0.2);

  /* ---- Lines & overlays ----------------------------------------------- */
  --hairline: var(--ez-line);
  --overlay-strong: rgba(18, 9, 31, 0.82);
  --overlay-soft: rgba(18, 9, 31, 0.55);
  --skeleton-strong: rgba(255, 255, 255, 0.2);
  --skeleton-weak: rgba(255, 255, 255, 0.1);

  /* ---- Cover gradients ------------------------------------------------ */
  --cover-blue: linear-gradient(163.07deg, #0d47a1 6.17%, #1a237e 93.83%);

  /* ---- Geometry ------------------------------------------------------- */
  /* Width of a card as drawn in Figma. The page adds --page-gutter on each
   * side on top of this, so the card itself always measures --content-width. */
  --content-width: 624px;
  --page-gutter: 12px;
  --radius-card: var(--ez-radius-card);
  --radius-panel: 12px;
  --radius-pill: 999px;
  --radius-cta: var(--ez-radius-btn);
  --card-pad: 16px;

  /* ---- Frame palette --------------------------------------------------- */
  /* The share-link pages' frame (frame.css and the framed cards). Ink is
   * now white over ivory washes; the lilac accent is saffron. */
  --ink: var(--ez-head);
  --ink-85: rgba(246, 239, 229, 0.85);
  --ink-72: rgba(246, 239, 229, 0.72);
  --ink-70: rgba(246, 239, 229, 0.7);
  --ink-68: rgba(246, 239, 229, 0.68);
  --ink-60: rgba(246, 239, 229, 0.6);
  --ink-55: rgba(246, 239, 229, 0.55);
  --ink-50: rgba(246, 239, 229, 0.5);
  --ink-22: rgba(246, 239, 229, 0.22);
  --ink-14: rgba(246, 239, 229, 0.14);
  --ink-10: var(--ez-ivory-10);
  --ink-07: rgba(246, 239, 229, 0.07);
  --ink-045: rgba(246, 239, 229, 0.045);
  --ink-03: rgba(246, 239, 229, 0.03);
  --ground: var(--ez-page-base);
  /* Behind an image while it loads, and behind a frame with no image. */
  --well: var(--ez-nav);
  /* The ring an overlapping avatar is punched out of. */
  --ground-ring: #0f0918;
  --panel-fill: rgba(18, 11, 27, 0.6);
  --lilac: var(--ez-saffron);
  --lilac-30: rgba(255, 163, 55, 0.3);
  --lilac-22: rgba(255, 163, 55, 0.22);
  --lilac-16: var(--ez-saffron-16);
  --glass-violet: rgba(74, 20, 110, 0.35);
  --presence: #2be080;
  /* The 2px resting ring round a framed picture. */
  --media-ring: rgba(255, 255, 255, 0.09);
  --brand-sweep: var(--ez-saffron-fill);
  --brand-glow: var(--ez-no-glow);
  /* Amber: "Get the App" in the frame, and every subscription action. */
  --amber: var(--ez-saffron);
  --amber-sweep: var(--ez-saffron-fill);
  --amber-ink: var(--ez-on-saffron);
  --amber-glow: var(--ez-no-glow);
  --countdown-sweep: linear-gradient(90deg, #b14cff, #f058ff);
  /* Initials on an avatar with no picture. */
  --avatar-fill: linear-gradient(var(--ez-raised), var(--ez-raised));

  /* ---- Onboarding palette ---------------------------------------------- */
  /* The account pages (sign-up, sign-in, plans, Get Started, Account Home):
   * account.css and forms.css paint only from these and --ez-*. */
  --ob-bar: var(--ez-nav);
  --ob-ink: var(--ez-head);
  --ob-ink-74: var(--ez-text);
  --ob-ink-60: var(--ez-text-2);
  --ob-ink-50: var(--ez-muted);
  --ob-ink-30: rgba(246, 239, 229, 0.3);
  --ob-ink-24: var(--ez-line-strong);
  --ob-ink-16: var(--ez-line);
  --ob-ink-14: rgba(246, 239, 229, 0.14);
  --ob-ink-12: var(--ez-ivory-12);
  --ob-ink-10: var(--ez-ivory-10);
  --ob-ink-08: var(--ez-ivory-08);
  --ob-ink-07: rgba(246, 239, 229, 0.07);
  --ob-ink-06: var(--ez-ivory-06);
  --ob-ink-05: rgba(246, 239, 229, 0.05);
  --ob-ink-045: rgba(246, 239, 229, 0.045);
  --ob-link: var(--ez-saffron);
  --ob-link-hover: var(--ez-saffron-hover);
  --ob-violet: var(--ez-saffron);
  --ob-magenta: var(--ez-saffron);
  --ob-magenta-32: rgba(255, 163, 55, 0.32);
  --ob-magenta-14: rgba(255, 163, 55, 0.14);
  --ob-magenta-12: var(--ez-saffron-12);
  --ob-magenta-10: rgba(255, 163, 55, 0.1);
  --ob-orchid: var(--ez-saffron);
  --ob-orchid-soft: var(--ez-saffron);
  --ob-lilac-30: var(--ez-line-strong);
  --ob-lilac-26: var(--ez-line-strong);
  --ob-lilac-22: var(--ez-line);
  --ob-lilac-14: rgba(246, 239, 229, 0.14);
  --ob-card: var(--ez-card);
  --ob-chip: var(--ez-card);
  --ob-well: var(--ez-nav);
  --ob-well-ring: rgba(22, 19, 54, 0.8);
  --ob-sweep: var(--ez-saffron-fill);
  --ob-sweep-down: var(--ez-saffron-fill);
  --ob-glow: var(--ez-no-glow);
  --ob-glow-mark: var(--ez-no-glow);
  --ob-glow-check: var(--ez-no-glow);
  --ob-glow-step: var(--ez-no-glow);
  --ob-shadow-card: var(--ez-card-shadow);
  --ob-shadow-chip: var(--ez-card-shadow);
  --ob-shadow-google: var(--ez-card-shadow);
  --ob-google-ink: #1f1f1f;
  --ob-white: var(--ez-white);
  --ob-gold: var(--ez-saffron);
  --ob-gold-50: rgba(255, 163, 55, 0.5);
  --ob-gold-30: rgba(255, 163, 55, 0.3);
  --ob-gold-14: rgba(255, 163, 55, 0.14);
  --ob-gold-07: rgba(255, 163, 55, 0.07);
  --ob-gold-sweep: var(--ez-saffron-fill);
  --ob-mint: var(--ez-success-ink);
  --ob-green: var(--ez-success);
  --ob-green-70: rgba(62, 224, 143, 0.7);
  --ob-green-18: rgba(62, 224, 143, 0.18);
  --ob-green-08: rgba(62, 224, 143, 0.08);
  --ob-green-34: rgba(62, 224, 143, 0.34);
  --ob-mute: var(--ez-text-2);
  --ob-red: var(--ez-error);
  --ob-red-34: rgba(255, 107, 120, 0.34);
  --ob-red-08: var(--ez-error-fill);
  --ob-scrim: var(--ez-scrim);
  /* Outfit, self-hosted in fonts.css: the account CSP allows no Google Fonts. */
  --font-brand: var(--ez-font-head);

  /* JetBrains Mono, self-hosted in fonts.css, as the site sets numbers. */
  --font-mono:
    "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
    monospace;

  /* ---- Earnings Calculator ------------------------------------------- */
  /* The account area's Earnings Calculator (earnings.css): the marketing
   * site's calculator palette, named here. */
  --ec-error: #ff8a93;
  --ec-text: #f2eefa;

  /* ---- Help & Support ------------------------------------------------- */
  /* The account area's Help & Support (help.css): the marketing site's
   * help page palette, named here. */
  --hp-dashes: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 8px, transparent 8px, transparent 16px);

  /* ---- Sign-up phone scene --------------------------------------------- */
  /* The hero's phone (ob-scene.css, partials/ob_scene): its backlights, the
   * handset, the call (tiles, scrims, the Raise Hand red, the speaking
   * violet), the Guest Lounge's card, the rising icons, the Listeners'
   * gold rings and sparks, and the caption. */
  --os-floor: radial-gradient(closest-side, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  --os-handset: linear-gradient(150deg, #3a3046 0%, #151019 22%, #0b0810 60%, #2a2233 100%);
  --os-handset-edge: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), inset 0 0 0 4px #07050a, 0 0 0 1px var(--ez-line), 0 50px 70px -40px rgba(0, 0, 0, 0.95);
  --os-glass: linear-gradient(125deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0) 26%);
  --os-black: #000;
  --os-cam: #050505;
  --os-cam-ring: #121212;
  --os-tile: #0b0b0b;
  --os-white: #fff;
  --os-white-12: rgba(255, 255, 255, 0.12);
  --os-white-16: rgba(255, 255, 255, 0.16);
  --os-white-18: rgba(255, 255, 255, 0.18);
  --os-white-35: rgba(255, 255, 255, 0.35);
  --os-white-45: rgba(255, 255, 255, 0.45);
  --os-white-95: rgba(255, 255, 255, 0.95);
  --os-scrim-top: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  --os-scrim-bottom: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  --os-scrim-controls: linear-gradient(0deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0) 100%);
  --os-scrim-name: linear-gradient(0deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  --os-scrim-lounge: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
  --os-shade-45: rgba(0, 0, 0, 0.45);
  --os-shade-50: rgba(0, 0, 0, 0.5);
  --os-shade-55: rgba(0, 0, 0, 0.55);
  --os-shade-60: rgba(0, 0, 0, 0.6);
  --os-shade-70: rgba(0, 0, 0, 0.7);
  --os-shade-75: rgba(0, 0, 0, 0.75);
  --os-button: rgba(20, 20, 24, 0.4);
  --os-button-60: rgba(20, 20, 24, 0.6);
  --os-chip: rgba(20, 20, 24, 0.45);
  --os-red: #ff4d4d;
  --os-red-rec: #ff3b3b;
  --os-red-wash: rgba(255, 59, 59, 0.22);
  --os-red-wash-strong: rgba(255, 59, 59, 0.45);
  --os-red-glow-90: rgba(255, 77, 77, 0.9);
  --os-red-glow-85: rgba(255, 77, 77, 0.85);
  --os-red-glow-60: rgba(255, 77, 77, 0.6);
  --os-red-glow-35: rgba(255, 77, 77, 0.35);
  --os-red-icon: #ff5a5a;
  --os-reject: #ee4337;
  --os-accept: #3fa645;
  --os-speaking-ring: inset 0 0 0 3.5px var(--ez-saffron);
  --os-voice: var(--ez-saffron);
  --os-viewers: rgba(255, 160, 190, 0.38);
  --os-toast: rgba(16, 10, 24, 0.72);
  --os-guest: #1a1020;
  --os-guest-ring: 0 0 0 3px var(--ez-saffron), 0 14px 30px -10px rgba(0, 0, 0, 0.8);
  --os-lounge: #20112c;
  --os-req: rgba(28, 14, 40, 0.42);
  --os-req-edge: rgba(232, 228, 240, 0.3);
  --os-req-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --os-wait: rgba(10, 8, 14, 0.55);
  --os-slot: rgba(255, 190, 220, 0.35);
  --os-avatar-glow: 0 0 0 3px rgba(255, 190, 200, 0.55), 0 0 34px rgba(255, 120, 180, 0.6);
  --os-avatar-ring: 0 0 0 3px rgba(255, 170, 210, 0.9);
  --os-fly-glow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 34px rgba(255, 120, 180, 0.65);
  --os-touch-edge: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 6px 18px rgba(0, 0, 0, 0.35);
  --os-bub-hand: radial-gradient(circle at 35% 30%, rgba(255, 90, 90, 0.34), rgba(60, 6, 12, 0.82));
  --os-bub-hand-glow: 0 0 0 2px #ff4d4d, 0 0 24px rgba(255, 77, 77, 0.7);
  --os-bub-mic: var(--ez-raised);
  --os-bub-mic-glow: 0 0 0 1.5px var(--ez-saffron);
  --os-gold-ring: linear-gradient(145deg, #ffe3a6, #ffb547 55%, #c9781f);
  --os-gold-ring-shadow: 0 0 0 2px rgba(7, 4, 12, 0.9), 0 10px 24px -8px rgba(0, 0, 0, 0.8), 0 0 22px rgba(255, 181, 71, 0.38);
  --os-gold-pulse: rgba(255, 190, 92, 0.6);
  --os-face: #2a1d33;
  --os-face-edge: rgba(0, 0, 0, 0.25);
  --os-badge: #110a1a;
  --os-badge-ring: #07040c;
  --os-spark: radial-gradient(circle, #fff6dc 0%, #ffd27a 45%, #ffa337 100%);
  --os-spark-glow: 0 0 10px 3px rgba(255, 181, 71, 0.75);
  --os-seg: rgba(232, 228, 240, 0.14);
  --os-caption: #f2eef8;
  --os-caption-muted: #a79fb9;

  /* ---- Type ----------------------------------------------------------- */
  /* The mobile app ships no font assets and never sets ThemeData.fontFamily,
   * so Flutter falls through to each platform's own UI face: San Francisco on
   * iOS, Roboto on Android. `system-ui` is the CSS generic that resolves to
   * exactly those, so the reader matches the app on the two platforms that
   * matter without downloading anything.
   *
   * -apple-system covers Safari < 11, which predates system-ui. The named
   * families after it are belt-and-braces for browsers that recognise neither.
   * The emoji families sit AFTER sans-serif deliberately: sans-serif always
   * matches, so they are only ever consulted for codepoints the UI face lacks.
   *
   * --font-system stays the fallback stack. Since the Lovable theme, display
   * and body are the site's faces: Outfit for headings, Plus Jakarta Sans for
   * running text. The account frame self-hosts both (fonts.css); a page that
   * does not load fonts.css falls back to the system stack. */
  --font-system:
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Noto Color Emoji";
  --font-display: "Outfit", var(--font-system);
  --font-body: "Plus Jakarta Sans", var(--font-system);
}

/* ==== The account area's re-point (Nov 2026 design) ==================== */
/* Every account page (layouts/account, <body class="ac-body">) reads the
 * site tokens below; here they take the account flow's palette, so every
 * page's sheet shifts with no per-file colour edits while the share pages
 * (layouts/content) keep :root's values. Custom properties resolve where
 * they are declared, so the aliases :root resolved (--ob-ink-*, --ink,
 * --bg-page…) are declared again.
 *
 *   token(s)                              under .ac-body
 *   ------------------------------------  ---------------------------------
 *   --ez-head, --ink, --ob-ink            --ez-pearl
 *   --ez-text, --ob-ink-74                --ez-copy
 *   --ez-text-2, --ob-ink-60, --ob-mute   --ez-copy-soft
 *   --ez-muted, --ob-ink-50,
 *   --ez-field-placeholder                --ez-mute-2
 *   --ez-page-base, --bg-page, --ground   --ez-plum
 *   --ez-page-bg                          --ez-acct-bg
 *   --ez-field / -hover / -line           --ez-field-well / -well-hover /
 *                                         --ez-field-edge
 *   --ob-link, --ob-link-hover            --ez-pearl (links are underlined)
 *   --ob-green, --ob-mint                 --ez-active
 *   --ob-green-34 / -08                   --ez-active-32 / -12
 *   --ez-focus                            2px solid --ez-lilac (violet on
 *                                         the ivory surfaces, below)
 *   --font-body, --ez-body                Outfit
 *
 * Not re-pointed: --ez-line and its aliases (--hairline, --ob-ink-16…) keep
 * the ivory .16 hairline; a card's .10 edge names --ez-hair. */
.ac-body {
  --ez-head: var(--ez-pearl);
  --ez-text: var(--ez-copy);
  --ez-text-2: var(--ez-copy-soft);
  --ez-muted: var(--ez-mute-2);
  --ez-page-base: var(--ez-plum);
  --ez-page-bg: var(--ez-acct-bg);
  --ez-field: var(--ez-field-well);
  --ez-field-hover: var(--ez-field-well-hover);
  --ez-field-line: var(--ez-field-edge);
  --ez-field-placeholder: var(--ez-mute-2);
  --ez-focus: 2px solid var(--ez-lilac);
  --font-body: var(--font-display);
  --ez-body: var(--ez-font-head);

  --bg-page: var(--ez-plum);
  --ground: var(--ez-plum);
  --ink: var(--ez-pearl);
  --ob-ink: var(--ez-pearl);
  --ob-ink-74: var(--ez-copy);
  --ob-ink-60: var(--ez-copy-soft);
  --ob-mute: var(--ez-copy-soft);
  --ob-ink-50: var(--ez-mute-2);
  --ob-link: var(--ez-pearl);
  --ob-link-hover: var(--ez-pearl);
  --ob-green: var(--ez-active);
  --ob-mint: var(--ez-active);
  --ob-green-34: var(--ez-active-32);
  --ob-green-08: var(--ez-active-12);
}

/* Keyboard focus on an ivory surface: violet, which reads on ivory where
 * the lilac would not. */
.ac-body :is(.ez-light, .hm-band, .pl-band, .pl-cmp--panel, .hp-search) {
  --ez-focus: 2px solid var(--ez-violet);
}

/* The Earnings Calculator keeps the site's look inside the account area
 * (its own sheet, earnings.css, is not part of the redesign). */
.ac-body .ec-page {
  --ez-head: var(--ez-site-head);
  --ez-text: var(--ez-site-text);
  --ez-text-2: var(--ez-site-text-2);
  --ez-muted: var(--ez-site-muted);
  --font-body: var(--ez-site-font-body);
  --ez-body: var(--ez-site-body);
}
