/* CareHub marketing site. System fonts only: no third-party requests. */
:root {
  --ink: #0b2530;
  --text: #2c3e46;
  --muted: #5b6e76;
  --bg: #ffffff;
  --soft: #f3f7f7;
  --mint: #e3f4f1;
  --line: #dbe5e7;
  --brand: #0f766e;
  --brand-dark: #0b5d57;
  --brand-ink: #ffffff;
  --accent: #f59e0b;
  --warn-soft: #fef3c7;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(11 37 48 / .06), 0 8px 24px rgb(11 37 48 / .08);
  --shadow-lg: 0 24px 60px rgb(11 37 48 / .18);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.02em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font-weight: 650; text-decoration: none; border: 1.5px solid transparent; transition: background .15s, transform .15s, box-shadow .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 16px rgb(15 118 110 / .25); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { border-color: rgb(255 255 255 / .5); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; padding: 8px 11px; border-radius: 8px; font-weight: 550; font-size: .97rem; }
.site-nav a:not(.btn):hover { background: var(--soft); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--brand); }
.nav-cta { margin-left: 10px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; position: relative; }
.bars, .bars::before, .bars::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; transition: transform .2s; }
.bars { top: 20px; } .bars::before { top: -6px; left: 0; } .bars::after { top: 6px; left: 0; }
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--soft); }
  .nav-cta { margin: 12px 0 0; justify-content: center; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft { background: var(--soft); }
.section-mint { background: linear-gradient(180deg, var(--mint), #fff); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin-bottom: 14px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--text); max-width: 46rem; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 104px); background: radial-gradient(1200px 500px at 85% -10%, var(--mint), transparent 60%), linear-gradient(180deg, #fff, var(--soft)); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--brand); }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.hero-points li { padding-left: 30px; position: relative; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-visual { position: relative; }
.hero-visual .phone { position: absolute; right: -10px; bottom: -40px; width: 34%; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 12px; }
  .hero-visual .phone { right: 4px; bottom: -28px; width: 30%; }
}

/* Device frames */
.browser { border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.browser::before { content: ""; display: block; height: 28px; background: #eef2f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='12'%3E%3Ccircle cx='6' cy='6' r='5' fill='%23f87171'/%3E%3Ccircle cx='24' cy='6' r='5' fill='%23fbbf24'/%3E%3Ccircle cx='42' cy='6' r='5' fill='%2334d399'/%3E%3C/svg%3E") 12px center no-repeat; border-bottom: 1px solid var(--line); }
.phone { border-radius: 28px; padding: 9px; background: #0b2530; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 20px; }

/* Strip */
.strip { border-block: 1px solid var(--line); background: #fff; }
.strip ul { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-weight: 650; color: var(--ink); font-size: .98rem; }
.strip li::before { content: "●"; color: var(--brand); margin-right: 10px; font-size: .7em; vertical-align: middle; }

/* Flow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.flow li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; position: relative; counter-increment: step; }
.flow li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--brand); font-weight: 800; margin-bottom: 12px; }
.flow h3 { font-size: 1.05rem; }
.flow p { font-size: .95rem; margin: 0; color: var(--muted); }
.flow { padding: 0; margin: 0; }
@media (max-width: 980px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 2px rgb(11 37 48 / .04); }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; display: block; }
a.card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 650; color: var(--brand); font-size: .95rem; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--mint); display: grid; place-items: center; margin-bottom: 16px; font-size: 1.35rem; }
@media (max-width: 980px) { .cards, .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: clamp(64px, 8vw, 104px); }
.feature.flip > :first-child { order: 2; }
.feature ul { padding-left: 1.1em; margin: 0; }
.feature li { margin-bottom: 6px; }
.feature .phones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 520px; margin-inline: auto; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 28px; } .feature.flip > :first-child { order: 0; } }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 6px; background: var(--mint); color: var(--brand); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.checks.two-col { grid-template-columns: 1fr 1fr; gap: 12px 32px; }
@media (max-width: 700px) { .checks.two-col { grid-template-columns: 1fr; } }

/* Callouts */
.note { border-left: 4px solid var(--accent); background: var(--warn-soft); padding: 16px 20px; border-radius: 0 10px 10px 0; color: var(--ink); }
.panel { background: var(--ink); color: #d6e4e7; border-radius: 20px; padding: clamp(32px, 5vw, 56px); }
.panel h2, .panel h3 { color: #fff; }
.panel .checks li::before { background: rgb(255 255 255 / .12); color: #7ee2d4; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); color: var(--ink); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
tr:last-child td { border-bottom: none; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand), #0b4f5a); color: #e4f5f2; border-radius: 24px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0 0 10px; }
.cta-band p { margin: 0; }
.cta-band .actions { margin: 0; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* Page hero */
.page-hero { padding: clamp(56px, 8vw, 88px) 0 clamp(40px, 6vw, 64px); background: radial-gradient(900px 400px at 90% -20%, var(--mint), transparent 60%), var(--soft); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-bottom: 0; }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.steps h3 { margin: 6px 0 4px; font-size: 1.08rem; }
.steps p { margin: 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.big-link { font-size: 1.25rem; font-weight: 700; word-break: break-all; }

/* Footer */
.site-footer { background: var(--ink); color: #b9cbd0; margin-top: 0; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #e2eef0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .muted { color: #8fa6ad; }
.brand-footer { color: #fff; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 32px; }
.footer-h { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-base { border-top: 1px solid rgb(255 255 255 / .1); margin-top: 40px; padding-top: 22px; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 48px; }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.badge { display: inline-block; background: var(--mint); color: var(--brand-dark); font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }

.actions-center { justify-content: center; }
.phone-solo { max-width: 320px; margin-inline: auto; }
