:root {
    --bg: #F7FBFA;
    --surface: #FFFFFF;
    --surface-soft: #ECFDF8;
    --text: #10201E;
    --muted: #52615F;
    --accent: #0D9488;
    --accent-dark: #0F766E;
    --accent-soft: #CCFBF1;
    --border: #D8E7E4;
    --shadow: 0 24px 80px rgba(13, 148, 136, 0.16);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #071311;
        --surface: #10201E;
        --surface-soft: #132C28;
        --text: #EFFDFB;
        --muted: #A8C3BE;
        --accent: #5EEAD4;
        --accent-dark: #2DD4BF;
        --accent-soft: #164E47;
        --border: #23413D;
        --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(13, 148, 136, 0.20), transparent 34rem),
        linear-gradient(180deg, var(--bg), var(--surface-soft));
    color: var(--text);
    line-height: 1.6;
}

body, button { font: inherit; }
a { color: var(--accent-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.site-header {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand, nav, footer, .actions {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    color: var(--text);
    font-weight: 900;
    text-decoration: none;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #FFFFFF;
    background: var(--accent);
    box-shadow: 0 10px 28px rgba(13, 148, 136, 0.24);
}

nav { gap: 22px; }
nav a, footer a {
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
}
nav a:hover, footer a:hover { color: var(--accent-dark); }

main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    min-height: calc(100vh - 88px);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
    align-items: center;
    gap: clamp(32px, 6vw, 84px);
    padding: 56px 0 72px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-dark);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.section-heading .eyebrow,
.cta-section > .eyebrow,
.caregiver-section .eyebrow {
    background: transparent;
    padding: 0;
    margin-bottom: 12px;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
    max-width: 860px;
    font-size: clamp(3rem, 7.8vw, 6.7rem);
    line-height: 0.92;
    letter-spacing: -0.075em;
    margin-bottom: 26px;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 4.35rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin-bottom: 18px;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 10px;
}

.lede {
    max-width: 760px;
    color: var(--muted);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    margin-bottom: 34px;
}

.actions {
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--accent);
    color: #FFFFFF;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(13, 148, 136, 0.24);
}

.button.secondary {
    background: var(--surface);
    color: var(--accent-dark);
    border: 1px solid var(--border);
    box-shadow: none;
}

.availability, .placeholder-note, .medical-note {
    color: var(--muted);
    font-weight: 600;
}

.availability { margin: 18px 0 0; }

.phone-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 36px;
    padding: clamp(18px, 3vw, 28px);
    box-shadow: var(--shadow);
}

.phone-frame {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    border-radius: 32px;
    border: 10px solid var(--text);
    background: linear-gradient(180deg, var(--surface), var(--surface-soft));
    padding: 60px 18px 22px;
}

.today-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0 6px 14px;
}

.today-day {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.95rem;
}

.dose-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.dose {
    display: grid;
    grid-template-columns: 14px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.pill-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.dose-meta strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.01em;
}

.dose-meta span {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 2px;
    font-weight: 600;
}

.dose-check {
    color: var(--accent);
    font-weight: 900;
    font-size: 1.3rem;
}

.dose-take {
    background: var(--accent);
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.dose-later {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.dose.due {
    background: var(--accent-soft);
    border-color: var(--accent);
}

.phone-top {
    position: absolute;
    top: 16px;
    left: 50%;
    width: 92px;
    height: 24px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: var(--text);
    opacity: 0.88;
}

.today {
    color: var(--text);
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    margin: 0;
}

.placeholder-note {
    margin: 18px 8px 0;
    text-align: center;
}

.trust-strip, .feature-grid, .caregiver-section, .cta-section {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

@media (prefers-color-scheme: dark) {
    .trust-strip, .feature-grid, .caregiver-section, .cta-section {
        background: rgba(16, 32, 30, 0.72);
    }
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 30px;
}

.trust-strip div {
    padding: 26px;
    background: var(--surface);
}

.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { font-size: 1.1rem; margin-bottom: 4px; }
.trust-strip span, article p, .caregiver-section p { color: var(--muted); }

.section { padding: 108px 0; }
.section-heading {
    max-width: 850px;
    margin-bottom: 32px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 32px;
}

article {
    min-height: 210px;
    padding: 28px;
    background: var(--surface);
}

.feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    margin-bottom: 14px;
}

.caregiver-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: clamp(30px, 6vw, 72px);
    align-items: center;
    border-radius: 36px;
    padding: clamp(30px, 6vw, 64px);
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.check-list li {
    position: relative;
    padding: 18px 18px 18px 52px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-weight: 800;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 18px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #FFFFFF;
    background: var(--accent);
    font-size: 0.9rem;
}

.cta-section {
    margin: 108px 0 32px;
    border-radius: 36px;
    padding: clamp(34px, 7vw, 76px);
    text-align: center;
}

.cta-section p:not(.eyebrow) {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: var(--muted);
    font-size: 1.15rem;
}

.center { justify-content: center; }
.medical-note { margin-top: 24px; font-size: 0.98rem; }

footer {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 34px 0 44px;
}

footer span {
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 900px) {
    .hero, .caregiver-section { grid-template-columns: 1fr; }
    .hero { padding-top: 36px; }
    .phone-card { max-width: 460px; margin: 0 auto; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .site-header { align-items: flex-start; flex-direction: column; }
    nav { width: 100%; justify-content: space-between; gap: 10px; }
    nav a { font-size: 0.95rem; }
    main, .site-header, footer { width: min(100% - 28px, 1180px); }
    h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
    .trust-strip, .feature-grid { grid-template-columns: 1fr; }
    .section { padding: 76px 0; }
    .phone-frame { min-height: 510px; border-width: 8px; }
    .button { width: 100%; }
}
