/* FoundFirst — shared styles */

:root {
  --ink: #0b1220;
  --ink-soft: #3a4459;
  --paper: #ffffff;
  --paper-soft: #f4f6fb;
  --line: #e2e6f0;
  --brand: #0f5f4d;
  --brand-bright: #14a483;
  --accent: #ff6b4a;
  --gold: #c98f2b;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(11, 18, 32, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  z-index: 100;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 1.05rem;
}
nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a { color: var(--ink-soft); font-weight: 600; font-size: 0.96rem; }
nav.main-nav a:hover { color: var(--brand); text-decoration: none; }
nav.main-nav a.active { color: var(--brand); }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--brand); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 780px) {
  nav.main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    gap: 4px;
    display: none;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  nav.main-nav .nav-cta { text-align: center; margin-top: 10px; border-bottom: none; }
  .nav-toggle { display: inline-flex; }
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(20,164,131,0.14), transparent 60%),
    var(--paper-soft);
  border-bottom: 1px solid var(--line);
}
.hero .inner {
  padding: 76px 24px 64px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero .inner { grid-template-columns: 1fr; padding: 48px 24px; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8f6f1;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
h1 .accent { color: var(--brand-bright); }
.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 54ch;
  margin: 0 0 28px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-bright); text-decoration: none; }
.btn-secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; text-decoration: none; }
.trust-line { margin-top: 22px; font-size: 0.9rem; color: var(--ink-soft); }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; height: auto; display: block;
  border-radius: 20px; box-shadow: var(--shadow);
}
.hero-float-card {
  position: absolute; left: -22px; bottom: -22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px; width: 230px;
}
@media (max-width: 900px) {
  .hero-visual { margin-top: 12px; }
  .hero-float-card { position: static; margin: 16px auto 0; width: 100%; }
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.hero-card h3 { margin: 0 0 6px; font-size: 1rem; color: var(--ink-soft); font-weight: 700; }
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.score-box { border: 1px solid var(--line); border-radius: 10px; padding: 14px; text-align: center; }
.score-box .num { font-size: 1.8rem; font-weight: 900; }
.score-box.before .num { color: #b3412c; }
.score-box.after .num { color: var(--brand-bright); }
.score-box .label { font-size: 0.78rem; color: var(--ink-soft); margin-top: 4px; }
.score-arrow { text-align: center; font-size: 1.4rem; color: var(--ink-soft); margin: 4px 0; }

/* Photo banner (full-bleed break) */
.photo-banner {
  padding: 88px 0;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.photo-banner .container { max-width: var(--max); }
.photo-banner h2 { color: #fff; margin: 0 0 14px; }
.photo-banner p { color: #dbe1ef; max-width: 48ch; margin: 0 0 24px; font-size: 1.05rem; }

/* Split media (image + text, alternating) */
.split-media {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
}
@media (max-width: 900px) { .split-media { grid-template-columns: 1fr; } }
.split-media img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media .split-text h2 { margin: 0 0 14px; }
.split-media .split-text p { color: var(--ink-soft); margin: 0 0 16px; }

/* Sections */
section { padding: 72px 0; }
.page-title { padding: 52px 0 6px; text-align: center; }
.page-title h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 14px 0 0; letter-spacing: -0.01em; }
section.tight { padding: 48px 0; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.bg-soft { background: var(--paper-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.step .step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }

/* Cards / features */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin: 0 0 10px; font-size: 1.08rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }
.card .icon { font-size: 1.6rem; margin-bottom: 12px; display: block; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 3px rgba(20,164,131,0.14), var(--shadow);
  position: relative;
}
.price-card .badge {
  position: absolute; top: -13px; left: 24px;
  background: var(--brand-bright); color: #fff; font-size: 0.74rem; font-weight: 800;
  padding: 5px 12px; border-radius: 999px; letter-spacing: 0.02em; text-transform: uppercase;
}
.price-card h3 { margin: 6px 0 4px; font-size: 1.2rem; }
.price-card .tagline { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 18px; }
.price-card .amount { font-size: 2.1rem; font-weight: 900; margin-bottom: 4px; }
.price-card .amount span { font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); }
.price-card ul { list-style: none; margin: 18px 0 24px; padding: 0; flex-grow: 1; }
.price-card li { padding: 7px 0 7px 26px; position: relative; font-size: 0.93rem; color: var(--ink-soft); }
.price-card li::before {
  content: "✓"; position: absolute; left: 0; top: 7px;
  color: var(--brand-bright); font-weight: 800;
}
.price-card .btn { width: 100%; justify-content: center; }

.addon-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin-top: 28px; flex-wrap: wrap;
}
.addon-strip .amount { font-size: 1.4rem; font-weight: 800; white-space: nowrap; }

.conditional-note {
  background: #fff8ec; border: 1px solid #f0dcae; border-radius: 10px;
  padding: 16px 20px; font-size: 0.92rem; color: #6b4f14; margin: 18px 0 0;
}

/* Table for care plans */
.care-table { width: 100%; border-collapse: collapse; margin-top: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.care-table th, .care-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.care-table th { background: var(--paper-soft); font-weight: 700; }
.care-table tr:last-child td { border-bottom: none; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 1rem; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--ink-soft); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-soft); margin: 12px 0 0; font-size: 0.95rem; }

/* CTA band */
.cta-band {
  background: var(--ink); color: #fff; border-radius: 20px;
  padding: 48px; text-align: center; margin: 0 24px;
}
.cta-band h2 { color: #fff; margin: 0 0 12px; }
.cta-band p { color: #c7cede; margin: 0 0 26px; }
.cta-band.wrap { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* Report sample */
.report-mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.report-mock .report-head {
  background: var(--ink); color: #fff; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center;
}
.report-mock .report-head span { font-size: 0.82rem; color: #b9c2d6; }
.report-mock .report-body { padding: 24px; }
.report-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.report-row:last-child { border-bottom: none; }
.report-row .tag { font-size: 0.78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; }
.tag.high { background: #fde8e4; color: #b3412c; }
.tag.med { background: #fff3d9; color: #8a640c; }
.tag.done { background: #e2f5ee; color: var(--brand); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: 0.9rem; }
input, select, textarea {
  font-family: inherit; font-size: 1rem; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-bright); outline-offset: 1px; }

/* Contact info list */
.contact-info { display: grid; gap: 18px; }
.contact-info .item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .item .ic { font-size: 1.3rem; }
.contact-info .item h4 { margin: 0 0 4px; font-size: 0.98rem; }
.contact-info .item p, .contact-info .item a { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Legal */
.legal h2 { margin-top: 40px; font-size: 1.3rem; }
.legal p, .legal li { color: var(--ink-soft); }

/* Footer */
footer.site-footer {
  background: var(--ink); color: #cfd6e6; padding: 56px 0 28px; margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
footer.site-footer h4 { color: #fff; font-size: 0.95rem; margin: 0 0 14px; }
footer.site-footer a { color: #cfd6e6; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 14px; }
.footer-nap { font-size: 0.88rem; color: #a9b2c8; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.84rem; color: #9aa4bc;
}

/* Utility */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.mt-0 { margin-top: 0; }
.center { text-align: center; }
