/* Careway prototype — shared styles. Screen-specific styling is inline in each page. */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700&family=Figtree:wght@400;500;600;700&display=swap');

:root {
  --ink: #16122B;
  --seeker: #2E2452;
  --seeker-accent: #5B47A6;
  --seeker-tint: #ECE8F7;
  --caregiver: #123F35;
  --caregiver-accent: #1F7A62;
  --caregiver-tint: #E2F1EC;
  --receiver: #13335F;
  --receiver-accent: #2457B3;
  --receiver-tint: #E4ECFA;
  --partner: #1C1917;
  --partner-accent: #C2410C;
  --page-bg: #E9E7F0;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Figtree', system-ui, sans-serif;
  background: var(--page-bg);
  color: #1A1726;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
button, input, select, textarea { font-family: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #8B7BE0;
  outline-offset: 2px;
}
.noscroll { scrollbar-width: none; }
.noscroll::-webkit-scrollbar { display: none; }

/* Phone screens: framed on desktop, full-bleed on a phone */
body.screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 16px;
}
.screen-bar {
  width: 390px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: #4E4A60;
}
.screen-bar a { color: #2E2452; font-weight: 700; }
.phone {
  width: 390px;
  height: 844px;
  border-radius: 44px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(22, 18, 43, 0.22), 0 0 0 10px #16122B;
  position: relative;
  flex-shrink: 0;
}
@media (max-width: 440px) {
  body.screen { padding: 0; gap: 0; justify-content: flex-start; background: #F4F3F8; }
  .screen-bar { display: none; }
  .phone { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; box-shadow: none; }
  .phone > div > div:first-child { width: 100% !important; height: 100% !important; }
}

/* Full-width pages (revenue map) */
body.page { background: #F4F3F8; }

/* Index gallery */
.gallery { max-width: 1240px; margin: 0 auto; padding: 48px 24px 80px; }
.gallery h1 { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.02em; margin: 0 0 8px; }
.gallery > p { font-size: 18px; color: #4E4A60; margin: 0 0 32px; max-width: 720px; line-height: 1.5; }
.gallery section { margin-top: 36px; }
.gallery h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; margin: 0 0 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.card {
  display: flex; flex-direction: column; gap: 6px;
  background: #FFFFFF; border: 1px solid #ECEAF2; border-radius: 20px; padding: 16px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22, 18, 43, 0.08); }
.card strong { font-size: 16px; }
.card span { font-size: 13px; color: #4E4A60; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.start {
  display: inline-flex; align-items: center; height: 52px; padding: 0 22px; border-radius: 16px;
  background: #16122B; color: #FFFFFF !important; font-weight: 700; font-size: 16px;
}
