/*
Theme Name: NurseAssistant Public
Theme URI: https://nurseassistant.ai
Author: NurseAssistant
Description: Public-facing WordPress block theme for NurseAssistant.ai, with a clear handoff to the private operational application.
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nurseassistant-public
*/

:root {
  --na-ink: #183237;
  --na-muted: #607579;
  --na-line: #d8e4e1;
  --na-paper: #f5f8f6;
  --na-white: #ffffff;
  --na-teal: #0c6b66;
  --na-teal-dark: #074e4b;
  --na-teal-soft: #e4f1ee;
  --na-gold: #d89a42;
  --na-gold-soft: #fff4e3;
  --na-shadow: 0 24px 70px rgba(24, 50, 55, 0.11);
}

html { scroll-behavior: smooth; }
body { background: var(--na-paper); color: var(--na-ink); }
a { text-underline-offset: .18em; }
.wp-site-blocks { overflow: hidden; }

.na-site-header { position: relative; z-index: 20; border-bottom: 1px solid rgba(216, 228, 225, .9); background: rgba(245, 248, 246, .94); backdrop-filter: blur(14px); }
.na-header-inner { min-height: 82px; padding: 0 24px; }
.na-brand { gap: 10px; }
.na-brand-mark { width: 40px; height: 40px; display: grid; place-items: center; margin: 0; border-radius: 12px; background: var(--na-teal-dark); color: white; font-size: 15px; font-weight: 900; letter-spacing: -.05em; }
.na-site-title a { color: var(--na-ink); text-decoration: none; }
.na-main-nav { font-size: 14px; font-weight: 700; }
.na-main-nav a { color: var(--na-muted); }
.na-header-app-link .wp-block-button__link { padding: 11px 17px; border: 1px solid var(--na-teal); border-radius: 9px; background: transparent; color: var(--na-teal-dark); font-size: 13px; font-weight: 800; }

.na-main { margin: 0; }
.na-section { padding: clamp(72px, 8vw, 118px) 24px; }
.na-section-tight { padding: 34px 24px; }
.na-eyebrow { margin: 0 0 14px; color: var(--na-teal); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.na-display { max-width: 840px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(44px, 7vw, 88px); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.na-heading { max-width: 720px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(34px, 4.7vw, 58px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
.na-lede { max-width: 700px; color: var(--na-muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.65; }
.na-copy { color: var(--na-muted); font-size: 16px; line-height: 1.75; }

.na-hero { position: relative; padding-top: clamp(78px, 10vw, 146px); padding-bottom: clamp(78px, 9vw, 132px); background: radial-gradient(circle at 88% 12%, rgba(216,154,66,.18), transparent 25%), linear-gradient(135deg, #f7faf8 0%, #eaf4f1 100%); }
.na-hero::after { content: ''; position: absolute; right: -120px; bottom: -150px; width: 420px; height: 420px; border: 1px solid rgba(12,107,102,.15); border-radius: 50%; box-shadow: 0 0 0 42px rgba(12,107,102,.035), 0 0 0 84px rgba(12,107,102,.025); pointer-events: none; }
.na-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); gap: clamp(42px, 7vw, 100px); align-items: center; }
.na-hero-actions { gap: 10px; margin-top: 28px; }
.na-primary-button .wp-block-button__link, .na-secondary-button .wp-block-button__link { padding: 14px 19px; border-radius: 9px; font-size: 14px; font-weight: 850; }
.na-primary-button .wp-block-button__link { background: var(--na-teal-dark); color: white; box-shadow: 0 10px 26px rgba(7,78,75,.2); }
.na-secondary-button .wp-block-button__link { border: 1px solid #9ebbb6; background: white; color: var(--na-teal-dark); }
.na-boundary-note { max-width: 670px; margin-top: 24px; padding-left: 14px; border-left: 3px solid var(--na-gold); color: var(--na-muted); font-size: 13px; line-height: 1.6; }

.na-command-card { position: relative; padding: 24px; border: 1px solid #bfd4cf; border-radius: 22px; background: rgba(255,255,255,.88); box-shadow: var(--na-shadow); transform: rotate(1.25deg); }
.na-command-card::before { content: ''; position: absolute; inset: 10px; z-index: -1; border-radius: 20px; background: var(--na-teal-dark); transform: rotate(-3deg); }
.na-command-top { padding-bottom: 15px; border-bottom: 1px solid var(--na-line); }
.na-command-top strong { font-family: Georgia, 'Times New Roman', serif; font-size: 25px; font-weight: 500; }
.na-command-top span { color: var(--na-muted); font-size: 12px; }
.na-command-status { gap: 6px; margin-top: 18px; }
.na-command-status span { padding: 5px 8px; border-radius: 999px; background: var(--na-teal-soft); color: var(--na-teal-dark); font-size: 11px; font-weight: 800; }
.na-command-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 14px; }
.na-command-metrics div { padding: 13px; border: 1px solid var(--na-line); border-radius: 10px; background: #fbfdfc; }
.na-command-metrics strong, .na-command-metrics span { display: block; }
.na-command-metrics strong { font-size: 24px; }
.na-command-metrics span { margin-top: 4px; color: var(--na-muted); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.na-command-list { display: grid; gap: 8px; margin-top: 15px; }
.na-command-list p { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; margin: 0; padding: 10px; border-radius: 9px; background: #f4f8f7; font-size: 12px; font-weight: 750; }
.na-command-list p::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--na-teal); }
.na-command-list em { color: var(--na-muted); font-size: 10px; font-style: normal; font-weight: 600; }

.na-proof-strip { border-top: 1px solid var(--na-line); border-bottom: 1px solid var(--na-line); background: white; }
.na-proof-grid { display: grid; grid-template-columns: 1.35fr repeat(3,1fr); gap: 0; }
.na-proof-grid > div { min-height: 112px; display: grid; align-content: center; padding: 22px; border-right: 1px solid var(--na-line); }
.na-proof-grid > div:last-child { border-right: 0; }
.na-proof-grid strong { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 25px; font-weight: 500; }
.na-proof-grid span { display: block; margin-top: 5px; color: var(--na-muted); font-size: 12px; line-height: 1.45; }
.na-proof-grid .na-experience strong { color: var(--na-teal-dark); font-size: 31px; }

.na-intro-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 7vw, 100px); align-items: end; margin-bottom: 44px; }
.na-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.na-feature-card { position: relative; min-height: 260px; padding: 26px; border: 1px solid var(--na-line); border-radius: 16px; background: white; box-shadow: 0 10px 30px rgba(24,50,55,.05); }
.na-feature-card::before { content: attr(data-number); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 42px; border-radius: 10px; background: var(--na-teal-soft); color: var(--na-teal-dark); font-size: 12px; font-weight: 900; }
.na-feature-card h3 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 25px; font-weight: 500; }
.na-feature-card p { margin: 12px 0 0; color: var(--na-muted); font-size: 14px; line-height: 1.65; }

.na-voice { overflow: hidden; background: linear-gradient(145deg, #e7f4f1, #f8fbfa); }
.na-voice-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(320px,.92fr); gap: clamp(40px,7vw,100px); align-items: center; }
.na-voice-card { position: relative; display: grid; gap: 7px; padding: 30px; border: 1px solid #bad8d2; border-radius: 20px; background: rgba(255,255,255,.84); box-shadow: var(--na-shadow); }
.na-voice-card strong { margin-top: 10px; color: var(--na-teal-dark); font-family: Georgia, 'Times New Roman', serif; font-size: 21px; font-weight: 500; }
.na-voice-card p { margin: 0; color: var(--na-muted); font-size: 13px; }
.na-voice-card small { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--na-line); color: var(--na-muted); font-size: 11px; line-height: 1.6; }
.na-voice-orb { display: grid; place-items: center; width: 78px; height: 78px; margin-bottom: 8px; border-radius: 50%; background: radial-gradient(circle at 36% 32%, #a9e5da, var(--na-teal) 53%, var(--na-teal-dark)); box-shadow: 0 10px 28px rgba(12,107,102,.24); }
.na-voice-orb span { width: 5px; height: 31px; border-radius: 999px; background: white; box-shadow: -10px 5px 0 -1px white, 10px -5px 0 -1px white; }

.na-scheduler { background: var(--na-teal-dark); color: white; }
.na-scheduler .na-eyebrow { color: #94d1c3; }
.na-scheduler .na-copy { color: #b7cfcc; }
.na-scheduler-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 7vw, 92px); align-items: center; }
.na-scheduler-points { display: grid; gap: 13px; margin-top: 30px; }
.na-scheduler-points p { margin: 0; padding: 14px 16px; border: 1px solid rgba(219,241,236,.13); border-radius: 10px; background: rgba(255,255,255,.045); color: #dce9e7; font-size: 14px; font-weight: 700; }
.na-schedule-board { overflow: hidden; border: 1px solid rgba(219,241,236,.24); border-radius: 18px; background: #f8fbfa; color: var(--na-ink); box-shadow: 0 28px 70px rgba(0,0,0,.2); }
.na-schedule-board header { display: flex; justify-content: space-between; gap: 15px; padding: 18px; border-bottom: 1px solid var(--na-line); }
.na-schedule-board header strong { font-family: Georgia, 'Times New Roman', serif; font-size: 21px; font-weight: 500; }
.na-schedule-board header span { color: var(--na-muted); font-size: 11px; }
.na-schedule-grid { display: grid; grid-template-columns: 92px repeat(5,1fr); }
.na-schedule-grid span { min-height: 54px; display: grid; place-items: center; padding: 7px; border-right: 1px solid var(--na-line); border-bottom: 1px solid var(--na-line); color: var(--na-muted); font-size: 10px; text-align: center; }
.na-schedule-grid .head { min-height: 38px; background: #edf4f2; color: var(--na-teal-dark); font-weight: 850; text-transform: uppercase; }
.na-schedule-grid .role { justify-items: start; background: #f4f8f7; color: var(--na-ink); font-weight: 800; }
.na-schedule-grid .assigned { margin: 6px; min-height: 42px; border: 0; border-radius: 7px; background: var(--na-teal-soft); color: var(--na-teal-dark); font-weight: 800; }
.na-schedule-grid .night { background: #e9edf6; color: #4b5e86; }

.na-expert-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(34px, 7vw, 100px); align-items: center; }
.na-expert-card { padding: 30px; border: 1px solid var(--na-line); border-radius: 18px; background: white; box-shadow: var(--na-shadow); }
.na-expert-card blockquote { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(25px,3vw,36px); line-height: 1.28; }
.na-expert-card cite { display: block; margin-top: 24px; color: var(--na-muted); font-size: 13px; font-style: normal; line-height: 1.6; }
.na-credential-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; margin-top: 26px; }
.na-credential-list p { margin: 0; padding: 12px; border-radius: 9px; background: var(--na-teal-soft); color: var(--na-teal-dark); font-size: 12px; font-weight: 850; }

.na-safety { background: #fffaf2; }
.na-safety-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(34px, 7vw, 90px); }
.na-boundary-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.na-boundary-card { padding: 22px; border: 1px solid #ead8bb; border-radius: 13px; background: white; }
.na-boundary-card strong { font-family: Georgia, 'Times New Roman', serif; font-size: 21px; font-weight: 500; }
.na-boundary-card p { margin: 9px 0 0; color: var(--na-muted); font-size: 13px; line-height: 1.6; }

.na-contact { background: linear-gradient(135deg, #103d40, #092e31); color: white; }
.na-contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.na-contact .na-heading { max-width: 820px; }
.na-contact .na-copy { max-width: 720px; color: #b9cfcc; }
.na-contact-actions { display: grid; gap: 9px; min-width: 210px; }
.na-contact-actions .wp-block-button__link { width: 100%; }
.na-no-phi { margin-top: 18px; color: #91afab; font-size: 12px; }

.na-site-footer { padding: 0 24px; border-top: 1px solid rgba(216,228,225,.14); background: #092e31; color: white; }
.na-footer-inner { min-height: 120px; }
.na-footer-brand { font-family: Georgia, 'Times New Roman', serif; font-size: 22px; }
.na-footer-meta { color: #8eaaa7; font-size: 12px; }
.na-footer-links { gap: 16px; }
.na-footer-links a { color: #b8cdca; font-size: 12px; text-decoration: none; }

.na-content-shell { max-width: 820px; padding: 80px 24px 110px; }
.na-content-shell h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(40px,6vw,68px); font-weight: 500; letter-spacing: -.045em; }
.na-post-list { display: grid; gap: 16px; }
.na-post-list > li { padding: 24px; border: 1px solid var(--na-line); border-radius: 14px; background: white; }

@media (max-width: 920px) {
  .na-hero-grid, .na-voice-grid, .na-scheduler-grid, .na-expert-grid, .na-safety-grid { grid-template-columns: 1fr; }
  .na-command-card { max-width: 620px; transform: none; }
  .na-proof-grid { grid-template-columns: repeat(2,1fr); }
  .na-proof-grid > div:nth-child(2) { border-right: 0; }
  .na-feature-grid { grid-template-columns: 1fr 1fr; }
  .na-contact-grid { grid-template-columns: 1fr; }
  .na-contact-actions { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 620px) {
  .na-header-inner { padding: 0 16px; }
  .na-site-title { font-size: 17px !important; }
  .na-header-app-link { display: none; }
  .na-section { padding-left: 18px; padding-right: 18px; }
  .na-display { font-size: clamp(42px,14vw,60px); }
  .na-feature-grid, .na-proof-grid, .na-boundary-grid, .na-credential-list { grid-template-columns: 1fr; }
  .na-proof-grid > div { border-right: 0; }
  .na-feature-card { min-height: 0; }
  .na-feature-card::before { margin-bottom: 24px; }
  .na-command-metrics { grid-template-columns: 1fr; }
  .na-schedule-board { overflow-x: auto; }
  .na-schedule-grid { min-width: 650px; }
  .na-contact-actions { grid-template-columns: 1fr; }
  .na-footer-inner { align-items: flex-start; flex-direction: column; padding: 28px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
