/* Dr. Mayank Patel, Pediatrician — design tokens v1.0
   Source of truth: brand/brand-guidelines.md. Import this file first on the website. */
:root {
  /* Colour */
  --color-teal:        #2BB3A3; /* Primary Teal: logo, icons, shapes. Never text. */
  --color-teal-dark:   #1F6F68; /* Deep Teal: links, teal text, hover, footer, white-text buttons */
  --color-teal-darker: #185A54; /* Deep Teal hover */
  --color-teal-tint:   #DFF6F2; /* Section backgrounds, card tints */
  --color-coral:       #F58A6C; /* CTA Coral: primary buttons with dark text. Never text. */
  --color-coral-hover: #EE7C5C;
  --color-yellow:      #F7C95E; /* Highlight Yellow: badges, underline device */
  --color-sky:         #8ED8F8; /* Illustration only */
  --color-lavender:    #D8CCF7; /* Illustration only */
  --color-white:       #FFFFFF;
  --color-soft-white:  #F7FBFA;
  --color-heading:     #23343B;
  --color-body:        #55636D;
  --color-border:      #D9E8E5;
  --color-alert:       #E53E3E;

  /* Semantic aliases */
  --bg-page: var(--color-soft-white);
  --bg-surface: var(--color-white);
  --bg-section-alt: var(--color-teal-tint);
  --text-heading: var(--color-heading);
  --text-body: var(--color-body);
  --text-link: var(--color-teal-dark);
  --btn-primary-bg: var(--color-coral);
  --btn-primary-text: var(--color-heading);
  --btn-secondary-bg: var(--color-teal-dark);
  --btn-secondary-text: var(--color-white);
  --focus-ring: var(--color-teal);

  /* Typography */
  --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --fs-display: 48px; --lh-display: 56px;
  --fs-h1: 40px; --lh-h1: 48px;
  --fs-h2: 32px; --lh-h2: 40px;
  --fs-h3: 24px; --lh-h3: 32px;
  --fs-h4: 20px; --lh-h4: 28px;
  --fs-body-lg: 18px; --lh-body-lg: 28px;
  --fs-body: 16px; --lh-body: 26px;
  --fs-small: 14px; --lh-small: 22px;
  --fs-caption: 12px; --lh-caption: 16px;
  --tracking-label: 0.08em;
  --tracking-wordmark-sub: 0.25em;

  /* Shape and elevation */
  --radius-sm: 12px;   /* buttons, inputs */
  --radius-md: 16px;   /* cards */
  --radius-lg: 24px;   /* hero panels */
  --radius-pill: 999px;
  --shadow-card: 0 4px 16px rgba(35, 52, 59, 0.08);
  --border-width: 1.5px;

  /* Spacing (4 px base) */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  /* Layout */
  --container: 1120px;
  --measure: 72ch;
}
@media (max-width: 768px) {
  :root { --fs-display: 36px; --lh-display: 44px; --fs-h1: 32px; --lh-h1: 40px; --fs-h2: 26px; --lh-h2: 34px; }
}

/* Base component recipes (optional, copy into the site's CSS) */
.btn { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-heading); font-weight:600; font-size:16px; padding:14px 24px; border-radius:var(--radius-sm); border:var(--border-width) solid transparent; text-decoration:none; cursor:pointer; }
.btn-primary { background:var(--btn-primary-bg); color:var(--btn-primary-text); } .btn-primary:hover { background:var(--color-coral-hover); }
.btn-secondary { background:var(--btn-secondary-bg); color:var(--btn-secondary-text); } .btn-secondary:hover { background:var(--color-teal-darker); }
.btn-tertiary { background:transparent; border-color:var(--color-teal-dark); color:var(--color-teal-dark); } .btn-tertiary:hover { background:var(--color-teal-tint); }
a { color:var(--text-link); } 
.card { background:var(--bg-surface); border:1px solid var(--color-border); border-radius:var(--radius-md); padding:var(--space-5); box-shadow:var(--shadow-card); }
.input { width:100%; padding:12px 14px; border:var(--border-width) solid var(--color-border); border-radius:var(--radius-sm); font:inherit; color:var(--text-heading); background:var(--bg-surface); }
.input:focus { outline:2px solid var(--focus-ring); outline-offset:1px; border-color:var(--focus-ring); }
.badge { display:inline-block; background:var(--color-yellow); color:var(--color-heading); font-size:12px; font-weight:600; padding:4px 10px; border-radius:var(--radius-pill); }
.label { font-size:var(--fs-caption); font-weight:500; letter-spacing:var(--tracking-label); text-transform:uppercase; color:var(--color-teal-dark); }
