/* Daylight Health System — marketing site. Navy, white and gold, like the app. */
:root {
  --navy: #0b3d78;
  --navy-dark: #061f40;
  --blue: #155a9c;
  --sky: #eaf2fb;
  --gold: #f4c542;
  --gold-dark: #d9a916;
  --ink: #14243a;
  --ink-soft: #52647a;
  --line: #e2e9f1;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --success: #1e8a5f;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 61, 120, .08);
  --shadow-lift: 0 24px 60px rgba(6, 31, 64, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0; color: var(--navy-dark); letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.gold { color: var(--gold); }
.muted { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 2px solid transparent; border-radius: 12px;
  padding: 12px 22px; font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-gold { background: var(--gold); color: var(--navy-dark); box-shadow: 0 10px 24px rgba(244, 197, 66, .35); }
.btn-gold:hover { background: #f7d061; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--sky); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.play { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(6, 31, 64, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.mark { width: 42px; height: 42px; border-radius: 11px; background: var(--gold); color: var(--navy-dark); display: grid; place-items: center; font-weight: 800; font-size: 17px; flex: none; }
.brand-text { font-weight: 800; font-size: 17px; line-height: 1.1; }
.brand-text small { display: block; font-weight: 500; font-size: 12px; color: rgba(255, 255, 255, .7); letter-spacing: .02em; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.btn) { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 600; font-size: 15px; }
.menu a:not(.btn):hover { color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1000px 600px at 15% 10%, #1a5ea6 0%, var(--navy) 40%, var(--navy-dark) 100%); color: #fff; overflow: hidden; padding: 84px 0 110px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--gold-dark); margin-bottom: 14px; }
.hero .eyebrow, .eyebrow.light { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; }
.lead { font-size: 19px; color: #d4e3f5; margin-top: 22px; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #d4e3f5; font-size: 15px; }
.ticks li::before { content: "✓"; color: var(--gold); font-weight: 800; margin-right: 8px; }
.hero-shot { position: relative; }
.browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lift); border: 1px solid rgba(255, 255, 255, .25); }
.hero .browser { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #eef2f7; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3dbe5; }
.browser-bar i:first-child { background: #f26b6b; } .browser-bar i:nth-child(2) { background: #f4c542; } .browser-bar i:nth-child(3) { background: #5cc48a; }
.browser-bar span { margin-left: 10px; font-size: 12px; color: var(--ink-soft); background: #fff; border-radius: 6px; padding: 3px 12px; }
.float-card { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lift); font-size: 13px; line-height: 1.35; }
.float-card strong { display: block; color: var(--navy-dark); font-size: 15px; }
.float-card span { color: var(--ink-soft); }
.fc1 { left: -28px; bottom: -26px; border-left: 4px solid var(--gold); }
.fc2 { right: -10px; top: -22px; border-left: 4px solid var(--success); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.sub { color: var(--ink-soft); font-size: 18px; margin-top: 16px; }
.sub.left { text-align: left; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.pain-icon { font-size: 32px; margin-bottom: 14px; }
.pain h3 { margin-bottom: 10px; }
.pain p, .features p, .steps p { color: var(--ink-soft); font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.features article { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: transform .15s, box-shadow .15s; }
.features article:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.features h3 { font-size: 17px; margin: 12px 0 8px; }
.fi { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--sky); font-size: 22px; }

/* ---------- Demo ---------- */
.demo { max-width: 980px; margin: 0 auto; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; padding: 6px; margin: 0 auto 22px; width: fit-content; max-width: 100%; }
.tabs button { border: 0; background: none; padding: 11px 18px; border-radius: 10px; font-family: inherit; font-weight: 700; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(11, 61, 120, .25); }
.player { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lift); background: #000; aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; object-fit: contain; }
.demo-note { text-align: center; margin-top: 20px; color: var(--ink-soft); }

/* ---------- Roles ---------- */
.roles-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.role-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.role-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; color: var(--ink-soft); font-size: 15px; }
.role-list b { display: inline-block; min-width: 110px; color: var(--navy-dark); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--gold); box-shadow: var(--shadow-lift); transform: translateY(-8px); }
.plan .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy-dark); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.plan .kind { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 6px; }
.plan h3 { font-size: 24px; }
.plan .for { color: var(--ink-soft); font-size: 14px; margin-top: 6px; min-height: 42px; }
.price { margin-top: 18px; color: var(--navy-dark); display: flex; align-items: baseline; gap: 4px; }
.price .cur { font-weight: 700; font-size: 20px; }
.price .amt { font-weight: 800; font-size: 48px; letter-spacing: -.02em; }
.price .per { color: var(--ink-soft); font-weight: 600; margin-left: 4px; }
.setup { font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-top: 4px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { padding-left: 28px; position: relative; font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #e3f5ec; color: var(--success); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.plan li.no { color: #94a3b4; }
.plan li.no::before { content: "–"; background: #eef1f5; color: #94a3b4; }
.onboard { margin: 40px auto 0; max-width: 980px; background: var(--sky); border: 1px solid #cfe0f3; border-radius: 18px; padding: 28px 32px; }
.onboard h3 { margin-bottom: 14px; }
.onboard ul { margin: 0 0 12px; padding-left: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; color: var(--ink); }
.onboard p { color: var(--ink-soft); font-size: 15px; }
.pricing-foot { text-align: center; color: var(--ink-soft); margin-top: 26px; font-size: 15px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 16px 30px 16px 0; position: relative; color: var(--navy-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding: 0 0 18px; }

/* ---------- Trial ---------- */
.trial { background: radial-gradient(900px 500px at 85% 0%, #1a5ea6 0%, var(--navy) 45%, var(--navy-dark) 100%); color: #fff; }
.trial h2 { color: #fff; }
.trial-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.trial-copy > p { color: #d4e3f5; font-size: 18px; margin-top: 16px; }
.contact-cards { display: grid; gap: 14px; margin-top: 30px; max-width: 360px; }
.contact { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: 14px 18px; color: #fff; text-decoration: none; }
.contact:hover { background: rgba(255, 255, 255, .14); }
.contact b { display: block; font-size: 13px; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.ci { font-size: 24px; }
.trial-form { background: #fff; color: var(--ink); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lift); display: grid; gap: 16px; }
.trial-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--navy-dark); }
.trial-form input, .trial-form select, .trial-form textarea { font-family: inherit; font-weight: 500; font-size: 15px; color: var(--ink); border: 1.5px solid #cdd8e5; border-radius: 10px; padding: 12px 14px; background: #fff; width: 100%; }
.trial-form input:focus, .trial-form select:focus, .trial-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 90, 156, .14); }
.trial-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trial-form .hp { position: absolute; left: -9999px; }
.privacy { font-size: 13px; color: var(--ink-soft); text-align: center; }

/* ---------- Footer & WhatsApp ---------- */
.footer { background: var(--navy-dark); color: rgba(255, 255, 255, .8); padding: 40px 0; font-size: 14px; }
.footer-inner { display: grid; gap: 10px; justify-items: center; text-align: center; }
.footer .muted { color: rgba(255, 255, 255, .55); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.wa-float:hover { transform: scale(1.05); }

/* ---------- Thank-you page ---------- */
.thanks { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.thanks .mark { margin: 0 auto 26px; width: 64px; height: 64px; font-size: 24px; }
.thanks .lead { margin: 22px auto 0; }
.thanks .cta-row { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan.featured { transform: none; }
}
@media (max-width: 880px) {
  .menu-btn { display: block; }
  .menu { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px;
    background: var(--navy-dark); border-bottom: 1px solid rgba(255, 255, 255, .1); display: none; }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .menu .btn { margin-top: 12px; }
  .hero { padding: 56px 0 80px; }
  .hero-grid, .roles-grid, .trial-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero .browser { transform: none; }
  .fc1 { left: 8px; bottom: -22px; } .fc2 { right: 8px; top: -18px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .onboard ul { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .trial-form .two { grid-template-columns: 1fr; }
  .trial-form { padding: 22px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1 1 100%; }
  .float-card { display: none; }
  .lead { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
