/*
Theme Name:  BiliSG Theme
Theme URI:   https://axrail.com
Description: Custom WordPress theme for BiliSG — smartphone AI screening for newborn jaundice.
Version:     2.0.0
Author:      Axrail
Author URI:  https://axrail.com
License:     Private
Text Domain: bilisg-theme
*/

/* ============================================================
   DESIGN SYSTEM — CSS CUSTOM PROPERTIES
   Ported from the BiliSG React/Tailwind reference design v2.
   Source: ref/landing-page-ref-v2/src/index.css
   ============================================================ */
:root {
  /* ── Layout rhythm: spacing advances in 5px steps ───────── */
  --spacing: 5px;

  /* ── Primary ─────────────────────────────────────────────── */
  --color-brand:       #f78d21;  /* Sunrise Orange */
  --color-brand-hover: #e97c0f;
  --color-brand-ink:   #a34f00;  /* Orange for text on light surfaces (AA) */
  --color-brand-soft:  #fde8d2;  /* Line Orange */
  --color-coral:       #f09989;  /* Warm Coral */
  --color-teal:        #75d8e7;  /* Soft Teal / Info Blue */
  --color-ink:         #212121;  /* Primary Text */
  --color-icon-primary: #226b75;
  --color-icon-accent:  #a34f00;

  /* ── Secondary ───────────────────────────────────────────── */
  --color-muted:  #656f7d;
  --color-subtle: #798298;  /* Secondary Text */
  --color-line:   #dedede;  /* Line Grey */
  --color-grey:   #f4f4f5;

  /* ── Status ──────────────────────────────────────────────── */
  --color-positive:      #22c55e;
  --color-mint:          #a3ffc5;
  --color-positive-soft: #d6ffe6;
  --color-negative:      #ff999a;
  --color-negative-soft: #fee4e8;
  --color-warning:       #ffce71;
  --color-warning-soft:  #fff5db;
  --color-sky:           #dbf0f5;  /* Light Blue */

  /* ── Shadows ─────────────────────────────────────────────── */
  --shadow-card: 0 12px 16px -4px rgb(16 24 40 / 0.08), 0 4px 6px -2px rgb(16 24 40 / 0.03);
  --shadow-lift: 0 30px 60px -30px rgb(33 33 33 / 0.35);

  /* ── Typography ──────────────────────────────────────────── */
  --font-sans: "Baloo Bhai 2", ui-rounded, system-ui, sans-serif;

  /* ── Layout widths ───────────────────────────────────────── */
  --max-w-xl:   36rem;    /*  576px */
  --max-w-2xl:  42rem;    /*  672px */
  --max-w-3xl:  48rem;    /*  768px */
  --max-w-4xl:  56rem;    /*  896px */
  --max-w-5xl:  64rem;    /* 1024px */
  --max-w-6xl:  72rem;    /* 1152px */
  --max-w-7xl:  80rem;    /* 1280px */
  --max-w-site: 90rem;    /* 1440px */

  /* ── Page gutters ────────────────────────────────────────── */
  --page-gutter:  20px;
  --panel-gutter: 20px;

  /* ── Spacing scale (multiples of 5px) ────────────────────── */
  --space-1:  5px;
  --space-2:  10px;
  --space-3:  15px;
  --space-4:  20px;
  --space-5:  25px;
  --space-6:  30px;
  --space-7:  35px;
  --space-8:  40px;
  --space-9:  45px;
  --space-10: 50px;
  --space-11: 55px;
  --space-12: 60px;
  --space-13: 65px;
  --space-14: 70px;
  --space-15: 75px;
  --space-16: 80px;
  --space-17: 85px;
  --space-18: 90px;
  --space-19: 95px;
  --space-20: 100px;
  --space-22: 110px;
  --space-24: 120px;
  --space-26: 130px;
  --space-27: 135px;
  --space-28: 140px;
  --space-30: 150px;

  /* ── Border radii ────────────────────────────────────────── */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   20px;
  --radius-xl:   24px;
  --radius-2xl:  28px;
  --radius-3xl:  32px;
  --radius-4xl:  40px;
  --radius-full: 9999px;

  /* ── Fixed nav clearance ─────────────────────────────────── */
  /* Reference: Nav.tsx uses h-15 = 15 × 5px = 75px */
  --header-height: 75px;
}

/* ── Responsive gutters ────────────────────────────────────── */
@media (min-width: 640px) {
  :root {
    --page-gutter:  40px;
    --panel-gutter: 30px;
  }
}

@media (min-width: 1024px) {
  :root {
    --page-gutter:  150px;
    --panel-gutter: 40px;
  }
}
