/* Denizen Healthcare — shared stylesheet */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f6f3ee;
  color: #1f1f1f;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Layout ---------- */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

main {
  flex: 1;
}

section {
  padding: 5rem 0;
}

section.tight {
  padding: 3rem 0;
}

section.muted {
  background: #efeae2;
}

/* ---------- Header / Nav ---------- */

.site-header {
  padding: 1.75rem 0;
  border-bottom: 1px solid #e8e0d2;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.92rem;
  color: #4a4a4a;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #1a1a1a;
}

.nav a.current {
  color: #345670;
  font-weight: 500;
}

.nav a.cta {
  background: #345670;
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.nav a.cta:hover {
  background: #2a4659;
  color: #fff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.2rem;
  color: #1a1a1a;
}

/* ---------- Hero ---------- */

.hero {
  padding: 5rem 0 4rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #345670;
  margin-bottom: 1.25rem;
}

h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #1a1a1a;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.hero p.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: #4a4a4a;
  max-width: 640px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: #345670;
  color: #fff;
}

.btn-primary:hover {
  background: #2a4659;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #1a1a1a;
  border-color: #b8b3a8;
}

.btn-secondary:hover {
  border-color: #345670;
  color: #345670;
}

/* ---------- Headings ---------- */

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
  max-width: 720px;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.6rem;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.4rem;
  letter-spacing: -0.005em;
}

p {
  color: #4a4a4a;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

p.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #4a4a4a;
  max-width: 720px;
}

.section-intro {
  margin-bottom: 3rem;
}

/* ---------- Attributes grid ---------- */

.attributes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem 2.5rem;
  margin-top: 2.5rem;
}

.attribute {
  position: relative;
  padding-left: 1.25rem;
}

.attribute::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: #345670;
  border-radius: 1px;
}

.attribute h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.attribute p {
  font-size: 0.95rem;
  color: #5a5a5a;
  margin-bottom: 0;
}

/* ---------- Cycle / numbered steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.step {
  border-top: 1px solid #d9d0c2;
  padding-top: 1.5rem;
}

.step .step-num {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #345670;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.92rem;
  color: #5a5a5a;
  margin-bottom: 0;
}

/* ---------- Pricing card ---------- */

.pricing-card {
  background: #fbf8f3;
  border: 1px solid #e8e0d2;
  border-radius: 12px;
  padding: 3rem;
  max-width: 720px;
  margin: 2.5rem auto 0;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 600;
  color: #345670;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-card .price-note {
  font-size: 0.95rem;
  color: #8a8a8a;
  margin-top: 0.5rem;
}

.pricing-card .price-discount {
  font-size: 0.95rem;
  color: #4a4a4a;
  font-style: italic;
  margin-top: 1rem;
}

.pricing-card ul {
  list-style: none;
  margin-top: 2rem;
}

.pricing-card li {
  padding: 0.75rem 0;
  border-top: 1px solid #e8e0d2;
  font-size: 0.98rem;
  color: #1f1f1f;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pricing-card li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: #345670;
  border-radius: 1px;
  margin-top: 0.55rem;
}

.pricing-card li:last-child {
  border-bottom: 1px solid #e8e0d2;
}

/* ---------- Forms ---------- */

.form-wrap {
  max-width: 560px;
  margin: 2.5rem auto 0;
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4a4a4a;
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.form-field label .required {
  color: #345670;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fbf8f3;
  border: 1px solid #d9d0c2;
  border-radius: 6px;
  color: #1f1f1f;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #345670;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  font-size: 0.85rem;
  color: #8a8a8a;
  margin-top: 0.4rem;
}

.form-submit {
  width: 100%;
  font-size: 1rem;
  padding: 1rem 1.5rem;
}

.form-fineprint {
  font-size: 0.85rem;
  color: #8a8a8a;
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.5;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 760px;
  margin: 2.5rem auto 0;
}

.faq-item {
  border-top: 1px solid #d9d0c2;
  padding: 1.75rem 0;
}

.faq-item:last-child {
  border-bottom: 1px solid #d9d0c2;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.faq-item p {
  font-size: 0.95rem;
  color: #5a5a5a;
}

/* ---------- Legal / long-prose pages ---------- */

.prose {
  max-width: 720px;
}

.prose h2 {
  font-size: 1.4rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.05rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.prose p {
  font-size: 1rem;
  color: #3a3a3a;
  margin-bottom: 1.1rem;
}

.prose ul,
.prose ol {
  margin: 1rem 0 1.25rem 1.5rem;
  color: #3a3a3a;
}

.prose li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.prose .meta {
  font-size: 0.85rem;
  color: #8a8a8a;
  font-style: italic;
  margin-bottom: 2.5rem;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: #345670;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  margin: 0 auto 1rem;
  max-width: 640px;
}

.cta-banner p {
  color: #d8e2eb;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #345670;
}

.cta-banner .btn-primary:hover {
  background: #f6f3ee;
  color: #345670;
}

.cta-banner .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cta-banner .btn-secondary:hover {
  border-color: #fff;
  color: #fff;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #efeae2;
  border-top: 1px solid #e0d8cc;
  padding: 3rem 0 2.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-grid h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 0.5rem;
}

.footer-grid a {
  font-size: 0.9rem;
  color: #5a5a5a;
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: #1a1a1a;
}

.footer-brand .wordmark {
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  color: #6a6a6a;
  max-width: 280px;
}

.footer-bottom {
  border-top: 1px solid #e0d8cc;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #8a8a8a;
  letter-spacing: 0.02em;
}

/* ---------- Page header (for inner pages) ---------- */

.page-header {
  padding: 4rem 0 2rem;
}

.page-header .eyebrow {
  margin-bottom: 0.75rem;
}

.page-header h1 {
  font-size: 2.5rem;
}

.page-header p.lead {
  font-size: 1.15rem;
  margin-top: 1.25rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 800px) {
  .container {
    padding: 0 1.5rem;
  }

  h1 {
    font-size: 2.1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero p.lead {
    font-size: 1.05rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .pricing-card {
    padding: 2rem;
  }

  .pricing-card .price {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f6f3ee;
    border-bottom: 1px solid #e8e0d2;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    z-index: 10;
  }

  .nav.open a.cta {
    text-align: center;
  }

  .mobile-toggle {
    display: block;
  }

  .site-header {
    position: relative;
  }
}
