/* CIAO marketing site tokens. Base: CYN-CIAO design tokens (Direction C, Oct 21 2026)
   Source of truth: style-guide.html. Cynerge commercial version only — do not mix with FS-CIAO. */

:root {
  /* Brand */
  --cyn-teal: #007A7E;          /* primary actions, links, selected states (5.1:1 on white) */
  --cyn-teal-hover: #005F62;    /* primary hover, teal text on tint */
  --cyn-teal-bright: #00A5AA;   /* focus rings, icons, accents on navy. Never white text on it */
  --cyn-teal-light: #7FD3D6;    /* current-page nav underline, footer links on navy. Never on white */
  --cyn-teal-tint: #E5F6F6;     /* info fills, selected chips, open Add button */
  --cyn-teal-border: #9ED6D7;
  --cyn-brown: #7C4D38;         /* logo wordmark + I'm Okay button ONLY */
  --cyn-navy: #10172B;          /* headings, footer, hero overlay, map tools */
  --cyn-navy-line: #2A3550;     /* footer divider */
  --cyn-on-navy-muted: #C9D0DC;
  --cyn-charcoal: #5C5652;      /* nav bar */
  --cyn-nav-link: #F3F2F1;      /* nav links on charcoal (6.5:1) */
  --cyn-sage: #A8BDA1;          /* decorative fills only */
  --cyn-taupe: #D7CCC8;         /* dividers, neutral pill border */
  --cyn-topo: #E2D3C9;          /* topo pattern tone (header, 50% opacity) */

  /* Text */
  --cyn-text: #2C2C2C;
  --cyn-text-secondary: #55514E;
  --cyn-text-disabled: #8A8480;

  /* Surfaces & lines */
  --cyn-page: #FAF8F5;          /* cream page background */
  --cyn-surface: #FFFFFF;
  --cyn-table-header: #F3F2F1;
  --cyn-form-strip: #F9F8F7;    /* inline add forms */
  --cyn-row-hover: #F6F4F2;
  --cyn-card-border: #E8E2DF;
  --cyn-divider: #EEEBE8;
  --cyn-field-border: #CFC7C3;
  --cyn-chip-border: #DDD6D2;
  --cyn-disabled-bg: #EEEBE8;

  /* Status: text/solid, tint, border */
  --cyn-error: #B42318;   --cyn-error-tint: #FDECEA;   --cyn-error-border: #F2B8B1;   --cyn-error-ink: #7A1A12;  --cyn-error-row: #FFF8F7;
  --cyn-warning: #8A5A00; --cyn-warning-tint: #FFF3D1; --cyn-warning-border: #E9C877; --cyn-warning-ink: #5C3C00;
  --cyn-success: #2E6B2A; --cyn-success-tint: #E6F2E3; --cyn-success-border: #A9CBA3; --cyn-success-ink: #1F4A1C;
  --cyn-info: #007A7E;    --cyn-info-tint: #E5F6F6;    --cyn-info-border: #9ED6D7;
  --cyn-neutral: #55514E; --cyn-neutral-tint: #EEEBE8; --cyn-neutral-border: #D7CCC8;

  /* Status accents on navy */
  --cyn-on-navy-teal: #00A5AA;
  --cyn-on-navy-amber: #E2A90D;
  --cyn-on-navy-red: #F97066;

  /* Type (Inter 400/500/600/700) — size / line-height */
  --cyn-font: Inter, system-ui, sans-serif;
  --cyn-fs-hero: 52px;       --cyn-lh-hero: 60px;      /* 700, -0.5px */
  --cyn-fs-page: 30px;       --cyn-lh-page: 38px;      /* 700 */
  --cyn-fs-section: 22px;    --cyn-lh-section: 30px;   /* 700 */
  --cyn-fs-card: 18px;       --cyn-lh-card: 26px;      /* 700 */
  --cyn-fs-button: 15px;     --cyn-lh-button: 20px;    /* 600 */
  --cyn-fs-body: 14px;       --cyn-lh-body: 20px;      /* 400 */
  --cyn-fs-label: 13px;      --cyn-lh-label: 20px;     /* 600 */
  --cyn-fs-small: 13px;      --cyn-lh-small: 20px;     /* 400 */
  --cyn-fs-th: 12px;         --cyn-lh-th: 16px;        /* 600, 0.4px tracking */

  /* Spacing (4px base) */
  --cyn-space-1: 4px;  --cyn-space-2: 8px;  --cyn-space-3: 12px; --cyn-space-4: 16px;
  --cyn-space-5: 20px; --cyn-space-6: 24px; --cyn-space-10: 40px; --cyn-space-16: 64px;

  /* Radius */
  --cyn-radius-tag: 6px;
  --cyn-radius-field: 8px;
  --cyn-radius-button: 10px;
  --cyn-radius-banner: 12px;
  --cyn-radius-card: 14px;
  --cyn-radius-pill: 999px;

  /* Elevation */
  --cyn-shadow-card: 0 1px 2px rgba(16,23,43,.04), 0 4px 16px rgba(16,23,43,.05);
  --cyn-shadow-popover: 0 4px 16px rgba(16,23,43,.08);
  --cyn-focus-ring: 0 0 0 2px #FFFFFF, 0 0 0 5px #007A7E; /* unused; live ring is :focus-visible in styles.css */

  /* Motion */
  --cyn-motion-max: 350ms;

  /* ---------------------------------------------------------------
     Marketing site additions (values taken from Erica's
     checkinandout.com landing page designs, Nov 2026)
     --------------------------------------------------------------- */

  /* Fonts (self-hosted, see @font-face in styles.css) */
  --font-body: Inter, system-ui, sans-serif;
  --font-script: Pacifico, cursive;                 /* "Ciao" sign/logo lettering only */
  --font-sign: 'Varela Round', Inter, sans-serif;   /* sign band and plaque only */

  /* Marketing type scale (size / line-height, weight 700 unless noted) */
  --mk-fs-hero: 56px;      --mk-lh-hero: 64px;      /* home h1, -0.5px tracking */
  --mk-fs-display: 42px;   --mk-lh-display: 50px;   /* home feature h2, -0.5px */
  --mk-fs-legal-h1: 44px;  --mk-lh-legal-h1: 52px;  /* EULA / Privacy / Terms / Accessibility h1 */
  --mk-fs-demo-h1: 40px;   --mk-lh-demo-h1: 48px;   /* Request a demo h1 */
  --mk-fs-h2: 36px;        --mk-lh-h2: 44px;
  --mk-fs-h3: 30px;        --mk-lh-h3: 38px;
  --mk-fs-h3-sm: 24px;     --mk-lh-h3-sm: 32px;
  --mk-fs-body: 15px;      --mk-lh-body: 24px;      /* page default (400) */
  --mk-fs-lead: 18px;      --mk-lh-lead: 28px;      /* header tagline, intro text */

  /* Layout */
  --mk-container: 1200px;
  --mk-measure: 760px;          /* hero copy and legal text column */
  --mk-gutter: 40px;            /* page side padding desktop */
  --mk-gutter-mobile: 20px;           /* matches the padding already on the page */
  --mk-header-height: 76px;     /* logo row */
  --mk-nav-height: 52px;        /* charcoal nav row */
  --mk-breakpoint: 760px;       /* single mobile breakpoint (use literal in @media) */
  --mk-scroll-offset: 136px;    /* scroll-margin-top for #section jumps under sticky header */

  /* Extra radii and shadows used on marketing pages */
  --mk-radius-lg: 16px;
  --mk-radius-xl: 28px;
  --mk-shadow-header: 0 2px 12px rgba(16,23,43,.10);
  --mk-shadow-raised: 0 12px 32px rgba(16,23,43,.10);
  --mk-shadow-form: 0 16px 40px rgba(16,23,43,.25);
  --mk-shadow-hover: 0 8px 20px rgba(16,23,43,.08);

  /* Marketing colors not in the app palette */
  --mk-navy-deep: #0A0F1C;      /* night-sky gradient bottom */
  --mk-navy-mid: #152036;
  --mk-slate: #26364F;          /* illustration fills */
}
