:root {
  --ink: #173b3a;
  --ink-soft: #496462;
  --cream: #f8f5ed;
  --white: #ffffff;
  --mint: #dcefe7;
  --mint-strong: #89c6ad;
  --sage: #b9d8ca;
  --coral: #ef8f75;
  --yellow: #f3d27a;
  --line: rgba(23, 59, 58, .14);
  --shadow: 0 24px 60px rgba(27, 61, 58, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; font: 800 22px "Manrope"; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center;
  background: var(--ink); color: white; font-size: 20px;
}
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.nav-links > a:not(.button):hover { color: #5e8e7c; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 25px; color: var(--ink); }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; padding: 15px 24px;
  background: var(--ink); color: white; font-weight: 700;
  box-shadow: 0 10px 24px rgba(23,59,58,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(23,59,58,.24); }
.button-small { padding: 11px 18px; font-size: 13px; }
.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 50px;
  align-items: center;
  padding: 55px 0 80px;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
  font-size: 12px;
  color: #64887b;
  margin-bottom: 16px;
}
h1, h2, h3, h4 { font-family: "Manrope", sans-serif; line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(52px, 7vw, 88px); letter-spacing: -.055em; margin-bottom: 25px; }
h1 span { color: #6b9e89; }
.hero-lead { max-width: 650px; font-size: 18px; color: var(--ink-soft); }
.hero-actions { display: flex; align-items: center; gap: 25px; margin: 34px 0 42px; }
.text-link { font-weight: 700; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 24px; gap: 18px; }
.trust-row strong, .trust-row span { display: block; }
.trust-row strong { font: 700 14px "Manrope"; }
.trust-row span { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.hero-visual {
  position: relative;
  min-height: 580px;
  border-radius: 52px;
  background: linear-gradient(145deg, #d5ebe1, #eef4e9 60%, #f4e4c9);
  overflow: hidden;
}
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 230px; height: 230px; background: rgba(255,255,255,.52); top: -55px; right: -55px; }
.orb-two { width: 170px; height: 170px; background: rgba(239,143,117,.25); bottom: -60px; left: -35px; }
.phone {
  position: absolute; width: 230px; height: 476px; border: 8px solid #163d3b;
  border-radius: 38px; background: #163d3b; box-shadow: var(--shadow); overflow: hidden;
}
.phone:before {
  content: ""; position: absolute; z-index: 3; width: 72px; height: 20px;
  background: #163d3b; border-radius: 0 0 14px 14px; left: 50%; transform: translateX(-50%);
}
.phone-screen { height: 100%; border-radius: 29px; background: #fbfaf6; padding: 28px 14px 14px; color: var(--ink); }
.phone-front { right: 58px; top: 54px; transform: rotate(2deg); z-index: 3; }
.phone-back { left: 45px; top: 105px; transform: rotate(-7deg) scale(.94); opacity: .95; }
.app-top, .mini-header { display: flex; justify-content: space-between; align-items: center; }
.app-top small, .mini-header + .muted { font-size: 10px; color: #78918a; }
.app-top h3 { font-size: 21px; margin: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); font-weight: 800; }
.weather-card { margin: 17px 0; padding: 13px; background: #e3f0e7; border-radius: 16px; display: flex; gap: 12px; align-items: center; }
.weather-icon { width: 38px; height: 38px; border-radius: 12px; background: #f7d47b; display: grid; place-items: center; }
.weather-card strong, .weather-card small { display: block; }
.weather-card small { font-size: 9px; }
.phone h4 { margin: 18px 0 10px; font-size: 13px; }
.task-card { width: 100%; border: 1px solid #e2e9e5; background: white; border-radius: 15px; padding: 11px; display: flex; align-items: center; gap: 10px; text-align: left; margin-bottom: 9px; color: var(--ink); }
.task-icon { width: 32px; height: 32px; border-radius: 10px; background: #f2eee4; display: grid; place-items: center; }
.task-card strong, .task-card small { display: block; }
.task-card strong { font-size: 10px; }
.task-card small { font-size: 8px; color: #7c918b; }
.check, .arrow { margin-left: auto; font-size: 14px; }
.check { color: #4d9c7d; }
.voice-button { width: 100%; border: 0; background: var(--ink); color: white; border-radius: 14px; padding: 12px; font-size: 11px; font-weight: 700; margin-top: 10px; }
.app-nav { position: absolute; bottom: 16px; left: 18px; right: 18px; display: flex; justify-content: space-between; color: #718781; font-size: 12px; }
.caregiver-screen { padding-top: 35px; }
.mini-header { font: 700 13px "Manrope"; }
.status-card { display: flex; gap: 9px; align-items: center; background: #e3f0e7; padding: 11px; border-radius: 14px; margin: 20px 0; }
.status-dot { width: 10px; height: 10px; background: #60ad83; border-radius: 50%; }
.status-card strong, .status-card small { display: block; }
.status-card strong { font-size: 10px; }
.status-card small { font-size: 8px; }
.timeline > div { border-left: 1px solid #bdd3c9; padding: 0 0 18px 12px; display: grid; grid-template-columns: 35px 1fr; }
.timeline span { font-size: 8px; color: #7a918b; }
.timeline p { font-size: 9px; margin: 0; }
.floating-card { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; background: white; border-radius: 16px; box-shadow: var(--shadow); padding: 12px 15px; }
.alert-card { right: 20px; bottom: 30px; }
.alert-card > span { width: 30px; height: 30px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font-weight: 800; }
.alert-card strong, .alert-card small { display: block; }
.alert-card strong { font-size: 10px; }
.alert-card small { font-size: 8px; color: #728883; }
.logo-strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  min-height: 82px; display: flex; align-items: center; justify-content: center; gap: 55px;
  font: 800 11px "Manrope"; letter-spacing: .13em; color: #789087; flex-wrap: wrap; padding: 20px;
}
.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0; }
.intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; padding-bottom: 55px; }
.section-heading h2, .care-copy h2, .research-section h2, .cta-section h2 {
  font-size: clamp(36px, 5vw, 58px); letter-spacing: -.045em; margin-bottom: 0;
}
.intro > p { color: var(--ink-soft); font-size: 17px; margin: 0 0 8px; }
.feature-grid {
  width: min(1180px, calc(100% - 40px)); margin: 0 auto 120px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.feature-card { min-height: 330px; padding: 36px; border-radius: 32px; background: white; position: relative; overflow: hidden; }
.feature-large { grid-column: 1 / -1; min-height: 430px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; background: #e3f0e7; }
.number { font: 800 11px "Manrope"; letter-spacing: .16em; color: #789088; }
.feature-card h3 { font-size: 27px; margin: 25px 0 12px; }
.feature-card p { color: var(--ink-soft); max-width: 480px; }
.feature-card ul { padding: 0; list-style: none; }
.feature-card li { margin: 8px 0; }
.feature-card li:before { content: "✓"; margin-right: 9px; font-weight: 800; }
.icon-box { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: var(--mint); font-weight: 800; margin-top: 55px; }
.dark-card { background: var(--ink); color: white; }
.dark-card p, .dark-card .number { color: #b8d1c8; }
.dark-card .icon-box { background: rgba(255,255,255,.12); }
.accent-card { background: #f3e3cf; }
.reminder-demo { padding: 30px; border-radius: 28px; background: white; box-shadow: var(--shadow); text-align: center; transform: rotate(2deg); }
.reminder-time { font: 800 48px "Manrope"; }
.reminder-pill { background: #edf5f0; padding: 16px; border-radius: 16px; margin: 20px 0; font-weight: 700; }
.reminder-demo button { border: 0; border-radius: 999px; background: var(--ink); color: white; padding: 13px 25px; font-weight: 700; }
.glasses { font-size: 80px; opacity: .7; text-align: right; margin-top: 25px; }
.alert-sample { background: rgba(255,255,255,.65); border-radius: 15px; padding: 15px; font-size: 13px; margin-top: 35px; }
.alert-sample span { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); margin-right: 8px; }
.process { padding-top: 20px; }
.centered { text-align: center; max-width: 840px; margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 70px; }
.steps article { padding: 30px; border-top: 1px solid var(--line); }
.steps article > span { width: 45px; height: 45px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.steps h3 { margin: 28px 0 10px; font-size: 23px; }
.steps p { color: var(--ink-soft); }
.care-section {
  width: min(1180px, calc(100% - 40px)); margin: 20px auto 120px;
  background: white; border-radius: 42px; padding: 70px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 85px; align-items: center;
}
.care-image { padding: 25px; border-radius: 28px; background: linear-gradient(150deg, #dcefe7, #f4ead5); display: grid; gap: 14px; }
.family-card { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 17px; border-radius: 18px; background: rgba(255,255,255,.86); }
.family-avatar { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-weight: 800; }
.family-card strong, .family-card small { display: block; }
.family-card small { color: var(--ink-soft); font-size: 12px; }
.family-card > span { font-size: 10px; color: #4d9c7d; font-weight: 700; }
.care-copy p { color: var(--ink-soft); font-size: 17px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 30px; font-weight: 600; font-size: 14px; }
.research-section {
  width: min(1180px, calc(100% - 40px)); margin: 0 auto 120px;
  background: var(--ink); color: white; border-radius: 42px; padding: 70px;
  display: grid; grid-template-columns: 1fr .8fr; gap: 70px;
}
.research-section .eyebrow { color: var(--sage); }
.research-section p { color: #c7d8d2; font-size: 17px; }
.research-tags { grid-column: 1/-1; display: flex; gap: 12px; flex-wrap: wrap; }
.research-tags span { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 9px 15px; font-size: 12px; }
.cta-section {
  width: min(1180px, calc(100% - 40px)); margin: 0 auto 70px;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; align-items: start; padding: 70px 0;
}
.cta-section > div > p { color: var(--ink-soft); max-width: 500px; }
.contact-form { background: white; padding: 34px; border-radius: 28px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; font-weight: 700; font-size: 13px; }
.contact-form label:nth-child(4), .contact-form .button, .form-message { grid-column: 1/-1; }
input, select, textarea { width: 100%; border: 1px solid #d8e2de; border-radius: 12px; padding: 13px; background: #fbfcfa; color: var(--ink); outline: none; }
input:focus, select:focus, textarea:focus { border-color: #72a58f; box-shadow: 0 0 0 3px rgba(114,165,143,.15); }
textarea { resize: vertical; }
.form-message { margin: 0; font-size: 13px; color: #4d8a72; text-align: center; }
footer {
  width: min(1180px, calc(100% - 40px)); margin: 0 auto; border-top: 1px solid var(--line);
  padding: 35px 0 50px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px;
}
.footer-brand .brand-mark { width: 32px; height: 32px; border-radius: 11px; font-size: 16px; }
footer p { color: var(--ink-soft); font-size: 13px; }
.footer-links { display: flex; gap: 20px; font-size: 13px; font-weight: 700; }
footer small { grid-column: 1/-1; color: #7b8e88; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: white; border-radius: 20px; padding: 20px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .hero, .intro, .care-section, .research-section, .cta-section { grid-template-columns: 1fr; }
  .hero { padding-top: 20px; }
  .hero-visual { min-height: 560px; }
  .intro { gap: 25px; }
  .feature-large { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .care-section, .research-section { padding: 45px 30px; gap: 45px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label, .contact-form label:nth-child(4), .contact-form .button, .form-message { grid-column: 1; }
}
@media (max-width: 600px) {
  .site-header, .hero, .section, .feature-grid, .care-section, .research-section, .cta-section, footer { width: min(100% - 24px, 1180px); }
  h1 { font-size: 49px; }
  .trust-row { grid-template-columns: 1fr; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 500px; }
  .phone { width: 205px; height: 425px; }
  .phone-front { right: 8px; top: 42px; }
  .phone-back { left: 3px; top: 78px; }
  .floating-card { display: none; }
  .logo-strip { gap: 25px; }
  .section { padding: 85px 0; }
  .feature-card { padding: 27px; }
  .care-section, .research-section { border-radius: 28px; }
  .check-list { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

/* Professional research contact section */
.contact-hub {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 80px;
  padding: 100px 0 20px;
}

.contact-intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 50px;
}

.contact-intro h2 {
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -.045em;
  margin-bottom: 0;
}

.contact-intro p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 0 8px;
}

.research-team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 28px;
}

.researcher-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 26px;
  padding: 34px;
  background: white;
  border: 1px solid rgba(23, 59, 58, .08);
  border-radius: 30px;
  box-shadow: 0 18px 45px rgba(23, 59, 58, .08);
}

.researcher-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -95px;
  border-radius: 50%;
  background: rgba(137, 198, 173, .16);
}

.profile-avatar {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.45), transparent 30%),
    linear-gradient(145deg, #8fc7b0, #274f4b);
  color: white;
  border: 6px solid #edf5f1;
  box-shadow: 0 14px 30px rgba(23, 59, 58, .18);
  font: 800 30px "Manrope", sans-serif;
  letter-spacing: -.04em;
}

.role-label {
  display: inline-flex;
  align-items: center;
  background: var(--mint);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.researcher-info h3 {
  font-size: 25px;
  margin: 0 0 5px;
}

.affiliation {
  margin: 0 0 16px;
  color: #65847a;
  font-weight: 700;
  font-size: 13px;
}

.affiliation::before {
  content: "🏛";
  margin-right: 7px;
}

.bio {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 18px;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  word-break: break-word;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #d8e4df;
  border-radius: 999px;
  background: #fbfcfa;
  font-size: 11px;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.profile-link:hover {
  transform: translateY(-2px);
  border-color: #83b39f;
  background: #eef6f2;
}

.profile-link span {
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  font-size: 9px;
}

.contact-actions-panel {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 34px;
  align-items: stretch;
  padding: 48px;
  border-radius: 38px;
  background: linear-gradient(135deg, #173b3a, #244f4b);
  color: white;
}

.booking-copy {
  padding: 16px 10px;
}

.booking-copy .eyebrow {
  color: var(--sage);
}

.booking-copy h3 {
  font-size: clamp(31px, 4vw, 46px);
  letter-spacing: -.04em;
  margin-bottom: 18px;
}

.booking-copy > p {
  color: #c4d5cf;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
}

.booking-actions .button {
  background: white;
  color: var(--ink);
  box-shadow: none;
}

.calendar-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  padding: 14px 20px;
  background: rgba(255,255,255,.08);
  color: white;
  font-weight: 700;
}

.calendar-button:hover {
  background: rgba(255,255,255,.14);
}

.booking-note {
  font-size: 11px;
  color: #9fb9af !important;
}

.booking-note code {
  color: white;
}

.professional-form {
  box-shadow: none;
  background: #fbfaf6;
}

.form-heading {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.form-heading span,
.form-heading small {
  display: block;
}

.form-heading span {
  color: var(--ink);
  font: 800 23px "Manrope", sans-serif;
}

.form-heading small {
  color: var(--ink-soft);
  margin-top: 4px;
}

.full-width {
  grid-column: 1 / -1 !important;
}

.calendar-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(10, 30, 29, .62);
  backdrop-filter: blur(8px);
}

.calendar-modal.open {
  display: grid;
}

.calendar-modal-card {
  position: relative;
  width: min(560px, 100%);
  padding: 38px;
  border-radius: 28px;
  background: white;
  box-shadow: 0 30px 90px rgba(0,0,0,.3);
}

.calendar-modal-card h3 {
  font-size: 30px;
  margin-bottom: 10px;
}

.calendar-modal-card > p {
  color: var(--ink-soft);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 17px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #edf4f0;
  color: var(--ink);
  font-size: 24px;
}

.calendar-options {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}

.calendar-option {
  display: grid;
  gap: 3px;
  padding: 16px;
  border: 1px solid #d8e4df;
  border-radius: 15px;
  background: #fbfcfa;
}

.calendar-option:hover {
  border-color: #80ad9a;
  background: #eff6f2;
}

.calendar-option strong {
  font-size: 14px;
}

.calendar-option span {
  color: var(--ink-soft);
  font-size: 12px;
}

@media (max-width: 960px) {
  .contact-intro,
  .contact-actions-panel {
    grid-template-columns: 1fr;
  }

  .research-team {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .contact-hub {
    width: min(100% - 24px, 1180px);
    padding-top: 75px;
  }

  .contact-intro {
    gap: 20px;
  }

  .researcher-card {
    grid-template-columns: 1fr;
    padding: 27px;
  }

  .profile-avatar {
    width: 96px;
    height: 96px;
  }

  .contact-actions-panel {
    padding: 28px 20px;
    border-radius: 28px;
  }

  .booking-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-button,
  .booking-actions .button {
    width: 100%;
    justify-content: center;
  }

  .calendar-modal-card {
    padding: 30px 22px;
  }
}
