/* ============================================================
   NurseSuite — design system  (navy · gold · teal)
   Edit the variables in :root to re-theme the whole site.
   ============================================================ */
:root {
  --ink: #0b1c33;
  --ink-2: #102844;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --text: #14253c;
  --muted: #5a6b82;
  --line: #e6ecf4;
  --brand: #2a9d8f;        /* teal — matches "Suite" + the logo accent dash */
  --brand-2: #1f8377;      /* darker teal for text/links on white (contrast) */
  --brand-deep: #176b60;
  --gold: #cdab68;
  --gold-soft: #e7d3a1;
  --grad: linear-gradient(120deg, #e7d3a1 0%, #2a9d8f 100%);     /* gold→teal: TEXT highlight on dark */
  --grad-cta: linear-gradient(135deg, #2a9d8f 0%, #176b60 100%); /* teal: buttons & icon chips (white content) */
  --grad-soft: linear-gradient(160deg, #e6f5f2, #f7f0df);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -22px rgba(11, 28, 51, 0.38);
  --shadow-soft: 0 8px 30px -16px rgba(11, 28, 51, 0.3);
  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip-link:focus { left: 0; }

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.65rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.18rem; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted); }
.muted-lg { font-size: 1.08rem; color: var(--muted); max-width: 54ch; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 16px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.eyebrow.light { color: var(--gold-soft); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 0.96rem; border: 1px solid transparent; border-radius: 999px; padding: 11px 20px; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s; white-space: nowrap; }
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: 0 10px 26px -10px rgba(42, 157, 143, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(42, 157, 143, 0.72); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(205, 171, 104, 0.7); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(205, 171, 104, 0.82); }
.btn-ghost { background: rgba(255,255,255,0.06); border-color: var(--line); color: var(--ink); }
.hero .btn-ghost { color: #e8eefb; border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.04); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--brand); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.7); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s; }
.nav.scrolled { border-color: var(--line); background: rgba(255,255,255,0.85); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; }
.brand-badge { display: inline-flex; box-shadow: var(--shadow-soft); border-radius: 11px; }
.brand-name { font-size: 1.18rem; color: var(--ink); }
.brand-accent { color: var(--brand); }
.brand-logo { height: 42px; width: auto; max-width: 320px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--text); transition: color 0.2s; }
.nav-links a:hover { color: var(--brand-2); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; gap: 6px; padding: 12px 24px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-menu a { padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(120% 120% at 80% -10%, #14305a 0%, var(--ink) 45%, #06101f 100%); color: #e8eefb; padding-top: 72px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: radial-gradient(closest-side at 78% 18%, rgba(42,157,143,0.24), transparent), radial-gradient(closest-side at 90% 60%, rgba(205,171,104,0.20), transparent), radial-gradient(closest-side at 10% 90%, rgba(31,131,119,0.16), transparent); pointer-events: none; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(110% 80% at 50% 0%, #000 35%, transparent 75%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-block: clamp(56px, 8vw, 92px); }
.hero-copy h1 { color: #fff; margin: 6px 0 18px; }
.hero-copy .lead { color: #b9c6dd; max-width: 46ch; }
.hero .eyebrow { color: var(--gold-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.trustline { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trustline li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: #aebbd3; }
.trustline svg { width: 17px; height: 17px; color: var(--gold-soft); }

/* Hero mock card */
.hero-visual { position: relative; }
.mock { position: relative; z-index: 2; background: rgba(255,255,255,0.97); color: var(--text); border-radius: 20px; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.5); overflow: hidden; transform: perspective(1200px) rotateY(-7deg) rotateX(3deg); }
.mock-head { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fbfdff; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #d6deea; }
.mock-dot:nth-child(1){background:#ff5f57}.mock-dot:nth-child(2){background:#febc2e}.mock-dot:nth-child(3){background:#28c840}
.mock-title { margin-left: 8px; font-weight: 700; font-size: 0.92rem; }
.mock-pill { margin-left: auto; font-size: 0.74rem; font-weight: 700; color: #0f766e; background: #d8f6ef; padding: 4px 10px; border-radius: 999px; }
.mock-body { display: flex; gap: 22px; padding: 24px 22px; align-items: center; }
.ring { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.ring svg { transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; }
.ring-bg { stroke: #e7edf6; }
.ring-fg { stroke: #2a9d8f; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 25; }
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-label strong { font-size: 1.5rem; color: var(--ink); }
.ring-label span { font-size: 0.72rem; color: var(--muted); }
.mock-list { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 0.88rem; }
.mock-list li { display: flex; align-items: center; gap: 9px; color: var(--text); }
.mock-list .chk { width: 19px; height: 19px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; }
.mock-list .done .chk { background: #d8f6ef; color: #0f766e; }
.mock-list .todo { color: var(--muted); }
.mock-list .todo .chk { background: #eef2f8; color: #94a3b8; }
.mock-glow { position: absolute; inset: -10% -6% -16% -6%; background: var(--grad); filter: blur(60px); opacity: 0.32; z-index: 1; border-radius: 40px; }

/* Outcome tiles */
.outcomes { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: clamp(56px, 7vw, 80px); }
.outcome { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 22px 22px; backdrop-filter: blur(6px); }
.outcome h3 { color: #fff; margin-bottom: 6px; }
.outcome p { color: #aebbd3; font-size: 0.95rem; }

/* Accreditation / settings band */
.accred { background: var(--ink); color: #c6d2e6; padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.accred-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.accred-row + .accred-row { margin-top: 14px; }
.accred-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #8aa0c0; min-width: 210px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.85rem; font-weight: 600; color: var(--gold-soft); background: rgba(216,189,132,0.1); border: 1px solid rgba(216,189,132,0.28); padding: 6px 13px; border-radius: 999px; }
.chip-soft { color: #8fd6cb; background: rgba(42,157,143,0.1); border-color: rgba(42,157,143,0.3); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 110px); }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head .muted-lg { margin-top: 12px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.split h2 { margin: 6px 0 14px; }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d7e2f1; }
.card-icon { width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--grad-cta); margin-bottom: 18px; box-shadow: 0 10px 22px -10px rgba(42,157,143,0.6); }
.card-icon svg { width: 24px; height: 24px; }
.card-status { position: absolute; top: 22px; right: 22px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; padding: 4px 10px; border-radius: 999px; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); }
.status-live { color: #0f766e; background: #d8f6ef; border-color: #b9efe3; }
.status-in-development { color: #8a6a16; background: #f7edd4; border-color: #ecdcae; }
.status-coming-soon { color: #475569; background: #eef2f8; border-color: #dde5ef; }
.status-exploring { color: #1f7d70; background: #e1f3ef; border-color: #c4e7e0; }
.card h3 { margin-bottom: 4px; }
.card-tagline { font-weight: 600; color: var(--brand-2); font-size: 0.95rem; margin-bottom: 10px; }
.card-desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.card-aud { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text); padding-top: 14px; border-top: 1px solid var(--line); }
.card-aud svg { width: 16px; height: 16px; color: var(--brand-2); }

/* Solutions */
.solutions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.solution { display: flex; gap: 18px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.solution:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.solution-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand-2); background: var(--grad-soft); }
.solution-icon svg { width: 24px; height: 24px; }
.solution h3 { margin-bottom: 5px; }
.solution p { color: var(--muted); font-size: 0.96rem; }

/* Why (dark) */
.section-dark { background: radial-gradient(120% 130% at 10% 0%, #14305a 0%, var(--ink) 50%, #06101f 100%); color: #dbe5f5; }
.section-dark h2 { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.why-item { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 26px 22px; }
.why-icon { width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; color: var(--gold-soft); background: rgba(216,189,132,0.13); margin-bottom: 16px; }
.why-icon svg { width: 24px; height: 24px; }
.why-item h3 { color: #fff; margin-bottom: 8px; }
.why-item p { color: #aebbd3; font-size: 0.93rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 44px; }
.step-n { font-size: 0.95rem; font-weight: 800; color: var(--gold-soft); letter-spacing: 0.08em; }
.step h4 { color: #fff; font-size: 1.05rem; margin: 10px 0 6px; }
.step p { color: #aebbd3; font-size: 0.9rem; }

/* CTA / contact */
.section-cta { background: var(--bg-soft); }
.cta-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.cta-points { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.cta-points li { display: flex; align-items: center; gap: 11px; font-size: 0.98rem; }
.cta-points svg { width: 20px; height: 20px; color: var(--brand-2); flex-shrink: 0; }
.cta-book { margin-top: 24px; }
.cta-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 0.95rem; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfdff; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(42,157,143,0.16); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { grid-column: 1 / -1; font-size: 0.9rem; margin: 0; min-height: 1.2em; }
.form-status.ok { color: #0f766e; }
.form-status.err { color: #b42318; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #aebbd3; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer .brand-name { color: #fff; }
.footer-tagline { margin-top: 12px; color: var(--gold-soft); font-weight: 600; font-size: 0.95rem; }
.footer-brand > p { margin-top: 10px; font-size: 0.92rem; max-width: 38ch; }
.footer-disclaimer { color: #7587a3; font-size: 0.82rem !important; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: #aebbd3; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: #7587a3; }
.footer-legal a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; }
  .outcomes { grid-template-columns: 1fr; }
  .accred-label { min-width: 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .solutions { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .why-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .cta-form { grid-template-columns: 1fr; }
  .mock-body { flex-direction: column; text-align: center; }
  .brand-logo { height: 34px; max-width: 220px; }
}
