/* ================================================================
 *  demo-ai-agency-1.css — Framo theme for the AI Agency demo
 *
 *  The colors, fonts and layout settings of the AI Agency demo
 *  (an electric violet over deep indigo ink, sky blue and pink as
 *  the lights of the aurora, a cool lavender-grey ground). 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. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

/* Dark scheme: take ONE of these two lines out of this comment.
@import url("../dark.css");                                     the whole site dark
@import url("../dark.css") (prefers-color-scheme: dark);        dark when the visitor's system is
*/

:root {

    /* ------------------------------------------------------------
     *  BRAND COLORS
     * ------------------------------------------------------------ */
    --color-primary-base:    #6a00f4;   /* main color: electric violet for buttons, key words, the aurora */
    --color-secondary-base:  #12093a;   /* second color: deep indigo ink for the dark stage */
    --color-tertiary-base:   #2f8fff;   /* third color: sky blue, the cool light of the aurora */
    --color-quaternary-base: #6a6788;   /* quiet fourth color: the *-quaternary variants */
    --color-accent-base:     #ff5fa8;   /* attention color: pink, the warm light of the aurora */

    /* 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-primary-base) 0.1716 calc(c * 0.176) calc(h - 1.1));   /* headings and body text (#0f0b24) */
    --color-text-soft: oklch(from var(--color-primary-base) 0.4728 calc(c * 0.153) calc(h - 0.4));   /* secondary text (#5a5873) */
    --color-bg:        #ffffff;   /* page background */
    --color-bg-soft:   oklch(from var(--color-primary-base) 0.9689 calc(c * 0.028) calc(h - 2.1));   /* lavender-grey for alternate sections (#f4f4fa) */
    --color-border:    oklch(from var(--color-quaternary-base) 0.9204 calc(c * 0.341) calc(h + 0.9));   /* lines and borders (#e4e3f0) */
    --color-dark:      oklch(from var(--color-secondary-base) 0.1552 calc(c * 0.62) calc(h + 2.5));   /* dark sections and dark buttons (#0b0722) */

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

    --font-sans:    'Inter', system-ui, sans-serif;                          /* body text */
    --font-heading:  'Inter', system-ui, sans-serif;                          /* headings */
    --font-serif:    'Instrument Serif', Georgia, 'Times New Roman', serif;   /* italic accents */
    --font-tertiary: 'Urbanist', system-ui, sans-serif;                       /* display accents */

    /* 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:     500;                     /* 500–700: Inter loads 300–700 above */
    --heading-tracking:   var(--tracking-tight);   /* or var(--tracking-normal) */
    --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: 1280px;   /* widest content column (1140px, 1280px, 1320px, 1440px …) */
    --section-y-scale: 1;      /* space between sections: 0.75 compact · 1 · 1.25 spacious */
}
