/* MLTV partner surfaces — MLTV brand primary, Care-View as the powered-by credit.
   Distinct from both the CareView product brand and the Care·Tech company brand. */

:root {
  --ink:      #120D51;   /* MLTV deep navy — headings, dark sections */
  --ink-2:    #1C1670;
  --grape:    #722299;   /* MLTV purple — accent */
  --grape-2:  #8B3BB0;
  --slate:    #7E8AB9;   /* mid periwinkle — decorative only */
  --eyebrow:  #4A55A2;   /* eyebrow text (AA on shell) */
  --peri:     #C7CEEB;   /* light periwinkle */
  --peri-bg:  #EFF1FA;   /* tinted surface */
  --shell:    #FCEEE8;   /* warm page ground */
  --shell-2:  #FFF7F3;
  --terra:    #C0492E;   /* CTA */
  --terra-2:  #A63C24;
  --muted:    #5D5A7A;
  --line:     rgba(18, 13, 81, 0.12);

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-sm: 8px;
  --r-lg: 18px;
  --container: 1120px;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--shell); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; line-height: 1.3; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700; color: var(--eyebrow); display: inline-block; margin-bottom: .9rem;
}
.em { color: var(--grape); font-style: italic; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 40em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); z-index: 10; }

/* Brand lockup — MLTV primary, Care-View powered-by */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(252,238,232,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 12px 28px; display: flex; align-items: center; gap: 28px; }
.lockup { display: flex; align-items: center; gap: 11px; }
.lockup .mark { width: 38px; height: 38px; flex: none; }
.lockup .name { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: .01em; color: var(--ink); }
.chip {
  background: #4A55A2; color: #fff; font-size: .7rem; font-weight: 700;
  letter-spacing: .18em; padding: 5px 10px; border-radius: 6px; align-self: center;
}
.poweredby {
  display: block; font-size: .68rem; color: var(--muted);
  font-style: italic; margin-top: 2px; letter-spacing: .01em;
}
.poweredby b { font-style: normal; font-weight: 600; color: var(--ink); }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: .93rem; font-weight: 500; }
.nav-links a { padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: var(--grape); }
@media (max-width: 860px) { .nav-links { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem;
  border-radius: var(--r-sm); padding: 13px 24px; border: 1px solid transparent;
  transition: all .2s cubic-bezier(.2,.6,.2,1);
}
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-2); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: rgba(18,13,81,.06); }

section { padding: 80px 0; }
.hero { padding: 76px 0 68px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero figure { margin: 0; }
.hero figure img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  object-position: 50% 62%;
  border-radius: var(--r-lg); border: 1px solid var(--line);
}
/* shown whole, uncropped */
.hero figure img.natural { aspect-ratio: auto; object-fit: fill; }
.pull {
  font-family: var(--serif); font-style: italic; font-size: 1.35rem;
  color: var(--slate); line-height: 1.45; margin: 0;
}
.section-head { max-width: 42em; margin-bottom: 2.6rem; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; } }
.trio h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.trio p { color: var(--muted); font-size: .96rem; margin: 0; }

.figure-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--peri-bg); border-radius: var(--r-lg); overflow: hidden;
}
.figure-band > div { padding: 26px 24px; border-right: 1px solid rgba(18,13,81,.08); }
.figure-band > div:last-child { border-right: 0; }
.figure-band .fig { font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: var(--grape); display: block; margin-bottom: .4rem; }
.figure-band .fig-label { font-size: .88rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 860px) { .figure-band { grid-template-columns: 1fr 1fr; } }

.modality-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; }
@media (max-width: 860px) { .modality-grid { grid-template-columns: 1fr 1fr; } }
.modality { display: flex; gap: 9px; align-items: flex-start; font-size: .95rem; padding: 5px 0; }
.modality .check { color: var(--grape); width: 15px; height: 15px; margin-top: 5px; flex: none; }

.name-row { display: flex; flex-wrap: wrap; gap: 12px 30px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.name-row .n { font-family: var(--serif); font-size: 1rem; color: var(--ink); }
.name-row .n span { display: block; font-family: var(--sans); font-size: .78rem; color: var(--muted); }

.outcome-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px 38px; }
@media (max-width: 760px) { .outcome-grid { grid-template-columns: 1fr; } }
.outcome-row .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.outcome-row .name { font-size: .94rem; }
.outcome-row .pct { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.bar { height: 6px; border-radius: 3px; background: var(--peri); overflow: hidden; margin-top: 5px; }
.bar > i { display: block; height: 100%; background: var(--grape); border-radius: 3px; }
.note { font-size: .85rem; color: var(--muted); margin-top: 1.6rem; max-width: 52em; }

.dark { background: var(--ink); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark p, .dark .lead { color: rgba(255,255,255,.78); }
.dark .eyebrow { color: var(--peri); }

/* Channel lineup */
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .lineup { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lineup { grid-template-columns: 1fr; } }
.chan {
  position: relative; min-height: 300px; border-radius: var(--r-lg);
  overflow: hidden; display: flex; align-items: flex-end;
  padding: 26px 24px; color: #fff;
  background-size: cover; background-position: center;
}
.chan::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,13,81,.10) 0%, rgba(18,13,81,.55) 52%, rgba(18,13,81,.88) 100%);
}
.chan > div { position: relative; }
.chan h3 { font-family: var(--serif); font-size: 1.2rem; color: #fff; margin: 0 0 .35rem; }
.chan p { font-size: .92rem; color: rgba(255,255,255,.86); margin: 0; line-height: 1.5; }
.chan-nature  { background-image: url('/assets/lib/nature.jpg'); }
.chan-music   { background-image: url('/assets/lib/music.jpg'); }
.chan-shows   { background-image: url('/assets/lib/shows.jpg'); }
.chan-trivia  { background-image: url('/assets/lib/trivia.jpg'); }
.chan-walks   { background-image: url('/assets/lib/walks.jpg'); }
.chan-sundown { background-image: url('/assets/lib/sundown.jpg'); }

/* Dashboard screenshots */
.shot { margin: 0; }
.shot img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-lg); border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
}
.shot figcaption {
  font-size: .85rem; color: rgba(255,255,255,.62);
  margin-top: .9rem; text-align: center;
}
.shot.narrow { max-width: 420px; margin: 3rem auto 0; }

.cta-band { text-align: center; }
.cta-band .lead { margin: 0 auto 1.8rem; }

footer { background: var(--ink); color: #fff; padding: 46px 0 36px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer p { color: rgba(255,255,255,.6); font-size: .85rem; margin: 0; }
footer .poweredby { color: rgba(255,255,255,.7); }
footer .poweredby b { color: #fff; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
