:root {
  --primary: #2c3c64;
  --primary-deep: #0e1a33;
  --primary-soft: #d7e0f5;
  --secondary: #5b6f9e;
  --tertiary: #3d567a;
  --surface: #f7f8fc;
  --surface-low: #f1f3fa;
  --surface-card: #ffffff;
  --outline: #cbd5e1;
  --text: #0f172a;
  --muted: #4b5568;
  --accent: #16b8ae;
  --accent-bright: #4ad4cc;
  --shadow: 0 18px 50px rgba(14, 26, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(215, 224, 245, 0.65) 0%, rgba(247, 248, 252, 0) 42%),
    var(--surface);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(247, 248, 252, 0.88);
  border-bottom: 1px solid rgba(203, 213, 225, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  min-width: 0;
  color: var(--primary-deep);
  font-size: 1.05rem;
  font-weight: 800;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 1 auto;
  min-width: 0;
  color: var(--tertiary);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.5rem;
  border-radius: 0.5rem;
}

.nav-links a:hover {
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.hero,
.benefits,
.spotlight,
.elder-care,
.download,
.site-footer {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.hero {
  min-height: calc(100svh - 4.25rem);
  display: grid;
  align-items: center;
  gap: 2rem;
}

.hero-copy,
.phone-preview,
.spotlight-copy,
.elder-care-copy,
.download-copy {
  min-width: 0;
}

.hero-copy {
  width: calc(100vw - 2rem);
  max-width: 22rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--primary-deep);
  line-height: 1.08;
}

h1 {
  max-width: 100%;
  font-size: clamp(2rem, 8.4vw, 2.7rem);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 9vw, 3.35rem);
}

h3 {
  font-size: 1.15rem;
}

.hero-text,
.spotlight-copy p,
.elder-care-copy p,
.download-copy p,
.benefit-list p,
.site-footer p,
.footer-summary li {
  color: var(--muted);
}

.hero-text {
  max-width: 38rem;
  margin: 1.1rem 0 0;
  font-size: 1.02rem;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 800;
}

.button-primary {
  color: white;
  background: var(--primary);
}

.button-secondary {
  color: var(--primary);
  background: var(--primary-soft);
}

.phone-preview {
  display: grid;
  place-items: center;
}

.phone-shell {
  width: min(100%, 22rem);
  padding: 1rem;
  color: #e3e7f2;
  background: #0e1220;
  border: 1px solid #1f2a3e;
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.phone-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 2.5rem;
  color: #b4c6f1;
}

.phone-top span:first-child {
  width: 3.8rem;
  height: 0.55rem;
  justify-self: start;
  background: #16223d;
  border-radius: 99rem;
}

.phone-top span:last-child {
  width: 0.65rem;
  height: 0.65rem;
  justify-self: end;
  background: var(--accent-bright);
  border-radius: 50%;
}

.status-card {
  margin-top: 0.75rem;
  padding: 1rem;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, #243559, #111a2e);
  border: 1px solid #3a4661;
}

.status-card span,
.metric-grid span {
  display: block;
  color: #a3aec4;
  font-size: 0.78rem;
}

.status-card strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--accent-bright);
  font-size: 2.7rem;
  line-height: 1;
}

.status-card small {
  display: block;
  margin-top: 0.35rem;
  color: #c2d0ee;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.75rem;
}

.metric-grid div {
  min-height: 5.6rem;
  padding: 0.85rem;
  background: #111a2e;
  border: 1px solid #1f2a3e;
  border-radius: 1rem;
}

.metric-grid strong {
  display: block;
  margin-top: 0.45rem;
  color: #e3e7f2;
  font-size: 1rem;
}

.benefits {
  padding-top: 2rem;
}

.benefit-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.benefit-list article {
  min-height: 15rem;
  padding: 1.1rem;
  background: var(--surface-card);
  border: 1px solid var(--outline);
  border-radius: 0.5rem;
  box-shadow: 0 10px 34px rgba(14, 26, 51, 0.06);
}

.benefit-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary-deep);
  background: var(--primary-soft);
  border-radius: 0.5rem;
  font-weight: 900;
}

.benefit-list p {
  margin: 0.75rem 0 0;
}

.spotlight {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.spotlight-media {
  display: grid;
  place-items: center;
  min-height: 17rem;
  padding: 2rem;
  background:
    radial-gradient(circle at 50% 40%, rgba(74, 212, 204, 0.22), transparent 42%),
    var(--primary-soft);
  border: 1px solid var(--outline);
  border-radius: 0.5rem;
}

.spotlight-media img {
  width: min(72%, 18rem);
  filter: drop-shadow(0 20px 32px rgba(14, 26, 51, 0.18));
}

.spotlight-copy p {
  margin: 1rem 0 0;
  font-size: 1.02rem;
}

.elder-care {
  display: grid;
  gap: 1.35rem;
  align-items: center;
}

.elder-care-media {
  overflow: hidden;
  background: var(--primary-soft);
  border: 1px solid var(--outline);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.elder-care-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.elder-care-copy p {
  margin: 1rem 0 0;
  font-size: 1.02rem;
}

.download {
  display: grid;
  gap: 1.25rem;
}

.download-copy p {
  max-width: 42rem;
  margin: 1rem 0 0;
  font-size: 1.02rem;
}

.download-actions {
  display: grid;
  gap: 0.75rem;
}

.store-button {
  width: 100%;
  min-height: 4.75rem;
  display: grid;
  align-content: center;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  text-align: left;
  color: var(--primary-deep);
  background: var(--surface-card);
  border: 1px solid var(--outline);
  border-radius: 0.5rem;
  box-shadow: 0 10px 28px rgba(14, 26, 51, 0.06);
  cursor: not-allowed;
}

.store-button-active {
  cursor: pointer;
}

.store-button-active:hover {
  border-color: var(--accent);
  box-shadow: 0 14px 34px rgba(22, 184, 174, 0.16);
}

.store-button span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.store-button strong {
  font-size: 1.05rem;
}

.store-button:disabled {
  opacity: 1;
}

.site-footer {
  padding-top: 2rem;
  padding-bottom: 1.25rem;
}

.footer-panel {
  display: grid;
  gap: 1.5rem;
  padding: 1.25rem;
  background: var(--surface-card);
  border: 1px solid var(--outline);
  border-radius: 0.5rem;
  box-shadow: 0 12px 34px rgba(14, 26, 51, 0.07);
}

.footer-brand {
  display: grid;
  gap: 0.9rem;
}

.footer-brand p {
  max-width: 34rem;
  margin: 0;
  font-size: 0.92rem;
}

.footer-links,
.footer-summary {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.footer-links h2,
.footer-summary h2 {
  margin: 0;
  color: var(--primary-deep);
  font-size: 0.85rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-links a {
  width: max-content;
  color: var(--tertiary);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-summary ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-summary li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.95rem;
}

.footer-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent);
  border-radius: 50%;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 1rem;
  color: var(--tertiary);
  font-size: 0.85rem;
  font-weight: 700;
}

@media (min-width: 42rem) {
  .site-header {
    padding-inline: 1.5rem;
  }

  .hero,
  .benefits,
  .spotlight,
  .elder-care,
  .download,
  .site-footer {
    padding-inline: 1.5rem;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(3.4rem, 8.8vw, 4.35rem);
  }

  .hero-actions {
    grid-template-columns: max-content max-content;
  }

  .hero-copy {
    max-width: 42rem;
  }

  .benefit-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .download-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-panel {
    grid-template-columns: minmax(0, 1.4fr) minmax(8rem, 0.6fr) minmax(13rem, 0.8fr);
    padding: 1.5rem;
  }
}

@media (max-width: 24rem) {
  .site-header {
    padding-inline: 0.8rem;
  }

  .brand {
    gap: 0.45rem;
  }

  .brand img {
    width: 2.15rem;
    height: 2.15rem;
  }

  .nav-links {
    gap: 0.1rem;
    font-size: 0.82rem;
  }

  .nav-links a {
    padding-inline: 0.35rem;
  }

  h1 {
    font-size: clamp(2rem, 10.2vw, 2.45rem);
  }
}

@media (max-width: 32rem) {
  .nav-links {
    display: none;
  }
}

@media (min-width: 58rem) {
  .site-header {
    padding-inline: 2rem;
  }

  .hero,
  .spotlight,
  .elder-care,
  .download {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 25rem);
  }

  .hero {
    gap: 3.25rem;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .spotlight {
    grid-template-columns: minmax(18rem, 31rem) minmax(0, 1fr);
  }

  .elder-care {
    grid-template-columns: minmax(20rem, 1.15fr) minmax(0, 0.85fr);
  }

  .spotlight-copy,
  .elder-care-copy {
    padding-left: 1rem;
  }
}

@media (min-width: 76rem) {
  .site-header {
    padding-inline: calc((100vw - 72rem) / 2);
  }
}
