:root {
  --bg: #fbf6ef;
  --surface: #fffdf9;
  --soft: #f4e7dc;
  --soft-2: #fff7f1;
  --accent: #b84434;
  --accent-dark: #8f3428;
  --text: #202124;
  --muted: #5d5d5d;
  --border: #e6d1c0;
  --green: #476b35;
  --blue: #425f73;
  --shadow: 0 24px 70px rgba(96, 55, 37, 0.13);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top left, #fffaf4 0%, var(--bg) 42%, #f8efe6 100%);
  color: var(--text);
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 96px 0; }
.tinted { background: linear-gradient(180deg, rgba(244, 231, 220, 0.65), rgba(255, 250, 244, 0.92)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 239, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 209, 192, 0.82);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; }
.brand img { width: 118px; height: auto; }
.brand span { padding-left: 16px; border-left: 1px solid var(--border); color: var(--accent-dark); }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; color: #392d28; }
.nav-links a { text-decoration: none; transition: color .2s ease, transform .2s ease; }
.nav-links a:hover { color: var(--accent); transform: translateY(-1px); }
.nav-cta { padding: 12px 17px; background: var(--accent); color: white !important; border-radius: 999px; box-shadow: 0 12px 28px rgba(184, 68, 52, .18); }
.nav-toggle { display: none; border: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; width: 44px; height: 44px; font-size: 22px; color: var(--accent-dark); }

.hero { padding-top: 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 58px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-dark); font-weight: 850; letter-spacing: .08em; font-size: 12px; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--accent); border-radius: 2px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(52px, 8vw, 92px); line-height: .94; letter-spacing: -0.075em; color: var(--accent-dark); margin-bottom: 28px; }
h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.055em; color: var(--accent-dark); margin-bottom: 22px; }
h3 { font-size: 25px; line-height: 1.15; letter-spacing: -0.025em; color: var(--accent-dark); }
.hero-lede { font-size: 23px; color: #38312d; max-width: 610px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; text-decoration: none; border: 1px solid transparent; font-weight: 850; letter-spacing: -0.015em; cursor: pointer; }
.btn.primary { background: var(--accent); color: white; box-shadow: 0 20px 42px rgba(184,68,52,.22); }
.btn.secondary { background: var(--surface); color: var(--accent-dark); border-color: var(--border); }
.btn.full { width: 100%; font-size: 16px; }
.trust-row { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-row span { padding: 10px 13px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 253, 249, .85); color: #4a403b; font-weight: 750; font-size: 14px; }
.hero-visual { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); background: var(--soft); min-height: 520px; }
.hero-visual img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.floating-card { position: absolute; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; background: rgba(255, 253, 249, .93); border: 1px solid var(--border); border-radius: 22px; padding: 18px 20px; box-shadow: 0 16px 34px rgba(68, 42, 31, .18); color: var(--accent-dark); }
.floating-card .icon { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: white; display: grid; place-items: center; font-weight: 900; }

.intro-band { padding: 28px 0; background: var(--accent); color: white; }
.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.intro-grid div { border-left: 1px solid rgba(255,255,255,.32); padding-left: 24px; }
.intro-grid strong { display: block; font-size: 18px; margin-bottom: 4px; }
.intro-grid span { color: rgba(255,255,255,.82); }

.two-col, .relationship-grid, .highlight-grid, .safety-grid, .legacy-grid, .demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.section-copy p, .section-heading p { color: var(--muted); font-size: 19px; max-width: 720px; }
.section-heading { text-align: center; max-width: 820px; margin: 0 auto 46px; }
.section-heading .eyebrow { justify-content: center; }
.feature-stack { display: grid; gap: 16px; }
.mini-card, .step, .legacy-cards article, .benefit-panel, .examples-panel, .demo-form, .contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 18px 45px rgba(96,55,37,.08); }
.mini-card { padding: 24px; display: grid; grid-template-columns: 62px 1fr; gap: 8px 18px; }
.mini-card span { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: white; font-weight: 900; }
.mini-card strong { font-size: 20px; color: var(--accent-dark); }
.mini-card p { margin: 0; color: var(--muted); }

.device-card { background: linear-gradient(180deg, #fffdf9, #f4e7dc); border: 1px solid var(--border); border-radius: var(--radius-xl); min-height: 620px; display: grid; place-items: center; box-shadow: var(--shadow); overflow: hidden; }
.device-card img { max-height: 590px; object-fit: contain; filter: drop-shadow(0 22px 28px rgba(71, 43, 28, .12)); }
.pill-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pill-list span { padding: 12px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 750; color: var(--accent-dark); }

.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 22px 60px rgba(91, 50, 34, .10); display: flex; flex-direction: column; }
.solution-card img { height: 255px; width: 100%; object-fit: cover; }
.card-body { padding: 28px; }
.tag { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: rgba(184,68,52,.10); color: var(--accent-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.tag.green { background: rgba(71,107,53,.12); color: var(--green); }
.tag.blue { background: rgba(66,95,115,.12); color: var(--blue); }
.solution-card p, .solution-card li { color: var(--muted); }
.solution-card ul { padding-left: 19px; margin-bottom: 0; }
.solution-card li { margin: 9px 0; }

.nursing-highlight { background: linear-gradient(135deg, #fff8f1, #f5e6da); }
blockquote { margin: 30px 0 0; padding: 28px; border-left: 5px solid var(--accent); background: rgba(255,255,255,.56); border-radius: 0 24px 24px 0; font-size: 20px; color: #2b2522; }
blockquote span { color: var(--accent-dark); font-weight: 850; }
.benefit-panel { padding: 30px; }
.benefit-panel h3 { margin-bottom: 20px; }
.benefit-row { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--border); }
.benefit-row strong { color: var(--accent-dark); }
.benefit-row span { color: var(--muted); }

.safety-grid { align-items: stretch; }
.safety-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.safety-steps div { background: var(--soft-2); border: 1px solid var(--border); border-radius: 20px; padding: 18px; }
.safety-steps span { width: 36px; height: 36px; display: grid; place-items: center; background: var(--accent); color: white; border-radius: 50%; font-weight: 900; margin-bottom: 12px; }
.safety-steps strong { color: var(--accent-dark); font-size: 20px; }
.safety-steps p { font-size: 15px; margin: 8px 0 0; color: var(--muted); }
.examples-panel { padding: 34px; background: linear-gradient(180deg, var(--surface), var(--soft-2)); }
.examples-panel h3 { font-size: 34px; }
.examples-panel ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.examples-panel li { padding: 17px 18px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.68); color: #302924; }

.legacy-cards { display: grid; gap: 16px; }
.legacy-cards article { padding: 24px; display: flex; justify-content: space-between; gap: 20px; }
.legacy-cards strong { color: var(--accent-dark); font-size: 20px; }
.legacy-cards span { color: var(--muted); text-align: right; }

.privacy-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; }
.privacy-badge { min-height: 260px; border-radius: var(--radius-xl); background: var(--accent); color: white; display: grid; place-items: center; text-align: center; font-size: clamp(34px, 5vw, 62px); font-weight: 900; line-height: 1.05; letter-spacing: -.04em; padding: 34px; box-shadow: var(--shadow); }
.privacy-copy { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 44px; box-shadow: 0 18px 45px rgba(96,55,37,.08); }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { padding: 26px; min-height: 250px; }
.step span { color: var(--accent); font-weight: 900; letter-spacing: .12em; }
.step p { color: var(--muted); }

.demo-section { background: linear-gradient(180deg, #fff7f1, #f1ded1); }
.demo-grid { align-items: start; }
.contact-card { margin-top: 28px; padding: 26px; display: grid; gap: 10px; }
.contact-card strong { color: var(--accent-dark); }
.contact-card a { color: var(--text); text-decoration: none; }
.demo-form { padding: 28px; display: grid; gap: 16px; }
.hidden-field { display: none; }
.demo-form label { display: grid; gap: 8px; font-weight: 800; color: var(--accent-dark); }
.demo-form input, .demo-form textarea, .demo-form select { width: 100%; border: 1px solid var(--border); border-radius: 16px; background: #fff; padding: 15px 16px; font: inherit; color: var(--text); outline: none; }
.demo-form input:focus, .demo-form textarea:focus, .demo-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(184,68,52,.11); }

.footer { padding: 34px 0; background: #2a1c17; color: white; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer strong { display: block; font-size: 20px; }
.footer span { color: rgba(255,255,255,.72); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: white; text-decoration: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links { position: absolute; top: 78px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .hero-grid, .two-col, .relationship-grid, .highlight-grid, .safety-grid, .legacy-grid, .demo-grid, .privacy-section { grid-template-columns: 1fr; }
  .solution-grid, .steps-grid, .intro-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .section-pad { padding: 68px 0; }
  .hero-visual img, .hero-visual { min-height: 410px; }
  .safety-steps { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 26px, var(--max)); }
  .brand img { width: 96px; }
  .brand span { display: none; }
  h1 { font-size: 52px; }
  .hero-lede { font-size: 19px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .section-copy p, .section-heading p { font-size: 17px; }
  .mini-card { grid-template-columns: 1fr; }
  .benefit-row { grid-template-columns: 1fr; gap: 6px; }
  .legacy-cards article { flex-direction: column; }
  .legacy-cards span { text-align: left; }
}

.form-status { min-height: 22px; margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--accent-dark); }




/* Unified light grey placeholder color across all form fields */
.demo-form input::placeholder,
.demo-form textarea::placeholder {
  color: #A8A8A8;
  opacity: 1;
}

.demo-form select:required:invalid {
  color: #A8A8A8;
}

.demo-form select option {
  color: #2f2926;
}

.demo-form select option[value=""] {
  color: #A8A8A8;
}


/* Homepage video showcase */
.video-showcase {
  padding-top: 70px;
  padding-bottom: 70px;
  background: linear-gradient(180deg, rgba(249, 244, 239, 0.55), rgba(255, 255, 255, 0));
}

.video-heading {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.video-frame {
  max-width: 980px;
  margin: 34px auto 0;
  padding: 12px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(121, 92, 73, 0.16);
  box-shadow: 0 28px 70px rgba(67, 48, 38, 0.13);
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  background: #1f1b18;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 720px) {
  .video-showcase {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .video-frame {
    border-radius: 22px;
    padding: 8px;
  }

  .video-frame video {
    border-radius: 16px;
  }
}
