/* Cradle Health Solutions and Innovation Ltd — site styles */
:root {
  --sav-purple: #582c83;
  --sav-purple-mid: #623f99;
  --sav-purple-light: #7e5bc2;
  --sav-purple-pale: #ede7f4;
  --sav-purple-deep: #3d1e5c;
  --sav-green: #9dc73b;
  --sav-green-deep: #7ba428;
  --sav-green-pale: #f0f5de;
  --sav-black: #1a1523;
  --sav-ink: #2c2438;
  --sav-grey-dark: #5a5266;
  --sav-grey: #9a93a6;
  --sav-grey-light: #e4e0ea;
  --sav-off-white: #f8f6fb;
  --sav-white: #ffffff;
  --sav-canvas: #eae7f0;
  --surface-page: #f8f6fb;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-sunken: #f8f6fb;
  --surface-accent: #ede7f4;
  --surface-accent-hover: #d4c4e6;
  --surface-life: #f0f5de;
  --text: #1a1523;
  --text-muted: #5a5266;
  --text-faint: #9a93a6;
  --text-life: #7ba428;
  --border: #e4e0ea;
  --border-strong: #c9c2d6;
  --accent: #582c83;
  --accent-hover: #46226a;
  --accent-strong: #3d1e5c;
  --accent-text: #582c83;
  --shadow-xs: 0 2px 4px rgba(61,30,92,0.05);
  --shadow-sm: 0 16px 22px -10px rgba(61,30,92,0.08);
  --shadow-md: 0 24px 30px -12px rgba(61,30,92,0.10);
  --shadow-lg: 0 40px 48px -16px rgba(61,30,92,0.13);
  --shadow-xl: 0 56px 64px -20px rgba(61,30,92,0.16);
  --shadow-slide: 0 8px 30px rgba(61,30,92,0.07);
  --radius-slide: 5px;
  --radius-chip: 5px;
  --radius-card: 12px;
  --font-display: 'Archivo','Helvetica Neue',Arial,sans-serif;
  --font-display-serif: 'Fraunces','Georgia',serif;
  --font-serif: 'Fraunces','Georgia',serif;
  --font-body: 'Inter','Helvetica Neue',Arial,sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface-page); color: var(--text); font-family: var(--font-body); font-size: 1rem; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--sav-purple); }
a:hover { color: var(--sav-purple-deep); }
:focus-visible { outline: 3px solid var(--sav-purple); outline-offset: 2px; border-radius: 4px; }
footer :focus-visible, #approach :focus-visible { outline-color: #d4c4e6; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--sav-purple); color: #fff; padding: 10px 16px; border-radius: 5px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.icon { display: block; flex: 0 0 auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 12px 22px;
  font-family: var(--font-body); font-weight: 600; font-size: 13px; line-height: 1; text-decoration: none; white-space: nowrap;
  border-radius: var(--radius-chip); border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-lg { min-height: 52px; padding: 15px 28px; font-size: 15px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-primary:active { background: var(--accent-strong); }
.btn-secondary { background: var(--surface-accent); border-color: var(--surface-accent); color: var(--accent-text); }
.btn-secondary:hover { background: var(--surface-accent-hover); border-color: var(--surface-accent-hover); color: var(--accent-text); }
.btn[disabled] { opacity: .6; cursor: progress; }

.badge { display: inline-flex; align-self: flex-start; align-items: center; padding: 4px 10px; border-radius: var(--radius-chip);
  font-size: 12px; font-weight: 600; line-height: 1.4; }
.badge-purple { background: var(--surface-accent); color: var(--accent-text); }
.badge-life { background: var(--surface-life); color: #4f6b18; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .875rem; font-weight: 600; }
.field input, #msg { font: inherit; font-size: .9375rem; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-chip); padding: 12px 14px; min-height: 46px; width: 100%; }
.field input:focus, #msg:focus { outline: 2px solid var(--sav-purple); outline-offset: 1px; border-color: var(--sav-purple); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; color: var(--sav-danger); font-size: .9375rem; }

.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 4px; font-weight: 600; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--sav-purple); border-bottom: 2px solid var(--sav-purple);
  transform: rotate(45deg); margin-top: -4px; transition: transform .2s; flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq p { margin: 0 4px 20px; color: var(--text-muted); max-width: 68ch; }
@media (max-width: 640px) { header { position: static !important; } header nav { gap: 0 18px !important; } html { scroll-padding-top: 0; } }
