/* ================================================================
 *  demo-ai-studio-1.css — Framo theme for the AI Creative Studio demo
 *
 *  The colors, fonts and layout settings of the AI Creative Studio demo
 *  (a violet for the actions, an ink and a graphite for the dark-led
 *  grounds and the footer, a mist grey for meta and a pink for one word,
 *  live dots and gradients). The page itself is ink: the neutrals below
 *  are the dark ones, and the one light "paper" band sets its own.
 *  Its pages load this file after the template's own CSS, so a value set
 *  here wins. Each brand color generates its own scale of tints and
 *  shades — change one line, the whole palette follows.
 *
 *  Your own CSS goes in custom.css, which loads after this file.
 * ================================================================ */

/* Body, heading and code fonts (Google Fonts). Change a family here, then
   name it in --font-sans / --font-heading below. Keep JetBrains Mono in
   the URL: code blocks use it (--font-mono). This @import must stay the
   first rule in the file. Each page also preloads this URL in its <head>
   (the <link data-theme-fonts> line) so the fonts arrive sooner: after
   changing it here, replace it in the pages too, or delete that line.
   Syne (600, wide and calm at display sizes) sets the headings; Inter
   the text and the prompts. */
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@500..700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

/* No dark scheme: this demo is dark by design (dark.css does not apply to it). */

:root {

    /* ------------------------------------------------------------
     *  BRAND COLORS
     * ------------------------------------------------------------ */
    --color-primary-base:    #a41db2;   /* IMVFLOW logo: the magenta-violet in the middle of its gradient */ /*   main color: violet for buttons, links and focus; labels on it are white */
    --color-secondary-base:  #0d0326;   /* IMVFLOW: the logo's deep night violet, darkened for the page */ /*   second color: the ink of the dark grounds and the footer; the dark scheme takes its hue */
    --color-tertiary-base:   #170838;   /* IMVFLOW: panels, a step up from the night violet */ /*   third color: graphite, the panels on the ink */
    --color-quaternary-base: #a99cc9;   /* IMVFLOW: lilac mist for meta text */ /*   fourth color: mist, for meta text on the ink */
    --color-accent-base:     #fe2ffb;   /* IMVFLOW logo: the bright pink at the start of its gradient */ /*   attention color: pink, for one word, live dots and gradients */

    /* Readable text (-ink), text on each fill (on-) and hover are derived
       from the seeds. */

    /* ------------------------------------------------------------
     *  NEUTRALS
     *  Tinted by the seeds above, so a Style Switcher preset retints them
     *  too. A plain hex here fixes one for good.
     * ------------------------------------------------------------ */
    --color-text:      oklch(from var(--color-quaternary-base) 0.9644 calc(c * 0.253) calc(h + 5.4));   /* headings and body text: a warm white on the ink (#f4f2f8) */
    --color-text-soft: oklch(from var(--color-quaternary-base) 0.7926 calc(c * 0.835) calc(h + 1.9));   /* secondary text: the white softened (#bdb8cb) */
    --color-bg:        var(--color-secondary-base);   /* page background: the ink (#0c0b11) */
    --color-bg-soft:   var(--color-tertiary-base);   /* a step up: the graphite panels (#16141d) */
    --color-border:    oklch(from var(--color-tertiary-base) 0.2816 calc(c * 1.324) calc(h + 0.5));   /* lines and borders on the ink (#2a2734) */
    --color-dark:      var(--color-secondary-base);   /* dark sections and dark buttons (#0c0b11) */

    /* The rest of the dark-led ground (the template's defaults are light) */
    --color-surface:     #1d0d40;   /* cards and menus raised above the ink */
    --color-bg-muted:    oklch(from var(--color-secondary-base) 0.2422 calc(c * 1.638) calc(h + 0.6));   /* a quiet fill on the graphite (#201e29) */
    --color-border-soft: oklch(from var(--color-tertiary-base) 0.2375 calc(c * 1.06) calc(h - 0.8));   /* the faintest rule (#1f1d27) */
    --color-text-muted:  var(--color-quaternary-base);   /* meta text: the mist (7:1 on the ink) (#9a95ab) */

    /* ------------------------------------------------------------
     *  TYPOGRAPHY
     * ------------------------------------------------------------ */
    --text-scale: 1;   /* text size, spacing follows: 0.875 = 14px · 1 = 16px · 1.125 = 18px */

    --font-sans:    'Inter', system-ui, sans-serif;   /* body text */
    --font-heading: 'Syne', system-ui, sans-serif;   /* headings (figures stay in Inter) */
    --font-serif:   'Instrument Serif', Georgia, 'Times New Roman', serif;   /* italic accents */
    --font-tertiary: 'Urbanist', system-ui, sans-serif;   /* display accents (one proof wordmark) */

    /* Stylesheets of the accent fonts, fetched only on pages that use them.
       Change a family above and its URL here together. Set one to "" to
       load nothing, e.g. when that font is a system font. */
    --font-serif-src:    "https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap";
    --font-tertiary-src: "https://fonts.googleapis.com/css2?family=Urbanist:wght@500;600;700;800;900&display=swap";

    /* Headings and buttons */
    --heading-weight:     600;                   /* Syne semibold: the range 500–700 is loaded */
    --heading-tracking:   -0.04em;
    --btn-font-weight:    600;                     /* 500–700 */
    --btn-letter-spacing: 0;                       /* button tracking */
    --btn-text-transform: none;                    /* or uppercase: buttons in capitals */

    /* ------------------------------------------------------------
     *  SHAPE
     * ------------------------------------------------------------ */
    --radius-scale:        1.5;      /* corner rounding: 0 square · 0.5 subtle · 1 · 1.5 round */
    --btn-radius-override: 9999px;   /* one shape for every button: 0px square · 0.5rem rounded · 9999px pill */

    /* ------------------------------------------------------------
     *  LAYOUT
     * ------------------------------------------------------------ */
    --container-max: 1440px;   /* widest content column (1140px, 1280px, 1320px, 1440px …) */
    --section-y-scale: 1.2;   /* space between sections: 0.75 compact · 1 · 1.25 spacious */
}
