/* Mimokeep's Starry Night tokens for the landing page (round li2). Copied from the app's
   src/app/globals.css: keep the two in step. Light only since 2026-11-08, at the user's word: every
   public page sets data-theme="light" on <html>. The dark blocks stay so removing that brings dark back. */

:root {
  color-scheme: light;
  --tint: 16 28 60;
  --shade: 16 28 60;

  --color-canvas: #fcf9f7; /* A lighter, warmer cream, at the user's word (2026-11-08); was #f7f5ee */
  --color-surface: #faf9f6;
  --color-sunken: #efece1;
  --color-raised: #faf9f6;
  --color-surface-blue: #edf3fa;
  --color-surface-hover: #f5f5f7; /* 2026-11-09: a cool light grey (was warm #f4f3ef); ink-2 on it 5.79:1 */
  /* The app's tab tints (globals.css), for the landing's coloured cards. */
  --color-tab-sage: #dce8d8;
  --color-tab-lilac: #e5def2;
  --color-tab-stone: #ece3d3;
  /* Pastels (round bp1, 2026-11-10): hilos.sh's four card colours, light only, for marketing surfaces. Each has its
     own copy ink, a dark tone of its hue (oklch L 0.40, C 0.06), as hilos does: the one grey we had, #475467, was
     4.44:1 on peach. Copy on its pastel: butter 6.97, pink 6.71, blue 6.02, peach 5.44; ink 10.06 to 13.11. */
  --color-pastel-butter: #f5df8d;
  --color-pastel-pink: #f6cedf;
  --color-pastel-blue: #b5d5f4;
  --color-pastel-peach: #f9b59f;
  --color-ink-on-butter: #59441f;
  --color-ink-on-pink: #603a4c;
  --color-ink-on-blue: #2e4a67;
  --color-ink-on-peach: #643c31;
  /* Blue panels (round pt1): a 30% tint of the pastel blue, so the page has one family of blue. 1.12:1 off the
     canvas; ink 14.88, ink-2 5.39. The Product menu's foot strip is a neutral grey (round pf1): ink-2 5.48, links
     6.27, 1.09:1 off the menu. */
  --color-panel-blue: #e7eef6;
  --color-strip: #efefef;

  --color-ink: #121a2a;
  --color-ink-2: #536174;
  --color-ink-3: #5f6775;
  --color-ink-icon: #7a818d;
  --color-on-ink: #faf9f6;

  --color-line: #e2e1dc;
  --color-line-strong: #d6d2c7;
  --color-line-control: #808792;

  --color-accent: #3264b7;
  --color-accent-ink: #28569e;
  --color-accent-soft: #edf3fa;
  --color-star-stroke: #a87c15; /* the app's gold for strokes (globals.css) */
  /* Primary actions: ink, as the app (round cta1, 2026-11-10). Off-white label 16.53:1, on pressed #323947
     11.01:1; the fill is 16.60:1 on the cream canvas. The public site is light only. */
  --color-primary: #121a2a;
  --color-primary-pressed: #323947;
  --color-on-primary: #faf9f6;
  --color-danger: #a53b33; /* from the app's globals.css: the contact form's errors */
  --color-moss: #367444; /* from the app's globals.css: the Help center's sent check */

  /* The footer: a navy block in light mode, a step above the canvas in dark. Its inks are the
     app's dark-theme inks, which is what they sit on in both. */
  --lp-footer: #141414; /* 2026-11-09, at the user's word: the dark palette's near-black (was navy #101c3c) */
  /* 2026-11-09, at the user's word: links in off-white #faf9f6 on the near-black footer (17.50:1); headings, small print and
     the copyright, the "Coming soon" items and the language button in a faded white, #adadad (8.21:1).
     Was cream #f6f3e9 with cool greys #bcc7d7 and #97a8bd. */
  --lp-footer-ink: #faf9f6;
  --lp-footer-ink-2: #adadad;
  --lp-footer-ink-3: #adadad;
  --lp-footer-focus: #8bb8f0;
  /* Dark only: the primary fill is 2.44:1 on the blue band, so primary buttons carry an accent
     ring there (#5b91d6 on #18325d, 3.91:1). Light needs none: 5.16:1 on the band. */
  --lp-primary-ring: transparent;

  --font-sans: 'Work Sans', ui-sans-serif, system-ui, sans-serif;
  --font-serif: 'Bitter', Georgia, serif;

  /* Round lp3: radii, elevation and motion from the app's globals.css, so the landing page uses the
     design system's values (Craft is a reference only). Keep in step with globals.css. */
  --radius-pill: 50px;
  --radius-card: 14px;
  --radius-panel: 20px;
  --shadow-hairline: 0 0 0 1px rgb(var(--tint) / 0.08);
  --shadow-lift: 0 0 0 1px rgb(var(--tint) / 0.08), 0 12px 32px -16px rgb(var(--shade) / 0.18);
  --shadow-float: 0 0 0 1px rgb(var(--tint) / 0.08), 0 24px 64px -24px rgb(var(--shade) / 0.24);
  --shadow-primary: inset 0 1px 0 rgb(255 255 255 / 0.28), 0 0 0 1px rgb(0 0 0 / 0.08), 0 3px 2px rgb(0 0 0 / 0.06);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out-soft: cubic-bezier(0.65, 0, 0.35, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --tint: 255 255 255;
    --shade: 0 0 0;
    --color-canvas: #0c1428;
    --color-surface: #121e36;
    --color-sunken: #172642;
    --color-raised: #1d2e4c;
    --color-surface-blue: #18325d;
    --color-panel-blue: #18325d;
    --color-strip: #172642;
    --color-surface-hover: #172642;
    --color-ink: #f6f3e9;
    --color-ink-2: #bcc7d7;
    --color-ink-3: #97a8bd;
    --color-ink-icon: #73839b;
    --color-on-ink: #0c1428;
    --color-line: #22324d;
    --color-line-strong: #30425f;
    --color-line-control: #7489a6;
    --color-accent: #5b91d6;
    --color-accent-ink: #8bb8f0;
    --color-accent-soft: #18325d;
    --color-star-stroke: #d9b03c;
    /* Dark: the blue fill with off-white text, 4.94:1; pressed #3172c6, 4.58:1 (#3376cc fell to 4.33 with off-white). */
    --color-primary: #2f6dbc;
    --color-primary-pressed: #3172c6;
    --color-on-primary: #faf9f6;
    --color-danger: #ff824d;
    --color-moss: #77d831;
    --lp-footer: #172642;
    --lp-primary-ring: #5b91d6;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --tint: 255 255 255;
  --shade: 0 0 0;
  --color-canvas: #0c1428;
  --color-surface: #121e36;
  --color-sunken: #172642;
  --color-raised: #1d2e4c;
  --color-surface-blue: #18325d;
  --color-panel-blue: #18325d;
  --color-strip: #172642;
  --color-surface-hover: #172642;
  --color-ink: #f6f3e9;
  --color-ink-2: #bcc7d7;
  --color-ink-3: #97a8bd;
  --color-ink-icon: #73839b;
  --color-on-ink: #0c1428;
  --color-line: #22324d;
  --color-line-strong: #30425f;
  --color-line-control: #7489a6;
  --color-accent: #5b91d6;
  --color-accent-ink: #8bb8f0;
  --color-accent-soft: #18325d;
  --color-star-stroke: #d9b03c;
  /* Dark: the blue fill with off-white text, 4.94:1; pressed #3172c6, 4.58:1 (#3376cc fell to 4.33 with off-white). */
  --color-primary: #2f6dbc;
  --color-primary-pressed: #3172c6;
  --color-on-primary: #faf9f6;
  --color-danger: #ff824d;
  --color-moss: #77d831;
  --lp-footer: #172642;
  --lp-primary-ring: #5b91d6;
}
