/* ============================================
   DIBS — Global Design System
   joindibs.com / dibshealth.com
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

/* ── Tokens ── */
:root {
  --deep:    #0D2B2B;
  --forest:  #1A4A3A;
  --sage:    #4A7C6A;
  --mist:    #B8D4C8;
  --foam:    #E8F2EE;
  --sand:    #F5F0E8;
  --warm:    #E8DDD0;
  --stone:   #8A7E72;
  --white:   #FAFAF8;
  --ink:     #0D2B2B;

  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'DM Sans', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  --shadow-sm:  0 2px 8px rgba(13,43,43,.06);
  --shadow-md:  0 8px 28px rgba(13,43,43,.09);
  --shadow-lg:  0 20px 56px rgba(13,43,43,.12);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ── Layout ── */
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(13,43,43,.1);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 68px; gap: 32px;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 30px; font-weight: 300;
  color: var(--deep); letter-spacing: -0.5px;
  line-height: 1; flex-shrink: 0;
}
.nav-logo span {
  display: block;
  font-family: var(--sans);
  font-size: 9px; font-weight: 500;
  letter-spacing: 4px; color: var(--sage);
  text-transform: uppercase; margin-top: 3px;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  font-size: 14px; font-weight: 400;
  color: var(--stone);
  transition: color .18s;
}
.nav-links a:hover { color: var(--deep); }
.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--deep); color: var(--white) !important;
  padding: 10px 22px; border-radius: 99px;
  font-size: 14px !important; font-weight: 500 !important;
  color: var(--stone) !important;
  transition: background .18s !important;
}
.nav-cta:hover { background: var(--forest) !important; color: var(--white) !important; }
.nav-menu-btn {
  display: none; background: none; border: 0.5px solid var(--mist);
  border-radius: 8px; padding: 8px 14px;
  font-size: 13px; color: var(--deep);
}
.mobile-nav {
  display: none; border-top: 0.5px solid var(--foam);
  padding: 16px 0 20px;
}
.mobile-nav a {
  display: block; padding: 12px 0;
  font-size: 15px; color: var(--stone);
  border-bottom: 0.5px solid var(--foam);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.open { display: block; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 99px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  border: none; cursor: pointer;
  transition: all .18s; white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--deep); color: var(--white);
}
.btn-primary:hover { background: var(--forest); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--deep);
  border: 1.5px solid var(--deep);
}
.btn-outline:hover { background: var(--foam); transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--white);
  border: 1px solid rgba(250,250,248,.35);
}
.btn-ghost:hover { border-color: rgba(250,250,248,.7); }

.btn-foam {
  background: var(--foam); color: var(--forest);
  border: none;
}
.btn-foam:hover { background: var(--mist); transform: translateY(-1px); }

.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 17px 36px; font-size: 16px; }

/* ── Typography ── */
.display {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 300; line-height: 1;
  letter-spacing: -1.5px; color: var(--deep);
}
.display-sm {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -0.8px; color: var(--deep);
}
.display-white { color: var(--white); }
.display-sm-white { color: var(--white); }

h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 300; line-height: 1.02;
  letter-spacing: -1px; color: var(--deep);
}
h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 300; line-height: 1.08;
  letter-spacing: -0.6px; color: var(--deep);
}
h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400; line-height: 1.2;
  color: var(--deep);
}
h4 {
  font-family: var(--sans);
  font-size: 15px; font-weight: 500;
  color: var(--deep);
}
.lead {
  font-size: 18px; font-weight: 300;
  color: var(--stone); line-height: 1.7;
}
.body { font-size: 15px; color: var(--stone); line-height: 1.7; }
.label {
  font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage);
}
.label-stone { color: var(--stone); }

/* ── Eyebrow ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: block; width: 20px; height: 0.5px;
  background: var(--sage);
}
.eyebrow-white { color: rgba(250,250,248,.65); }
.eyebrow-white::before { background: var(--mist); }

/* ── Section headers ── */
.section-header { max-width: 640px; margin-bottom: 52px; }
.section-header .lead { margin-top: 16px; }
.section-header-center { text-align: center; max-width: 640px; margin: 0 auto 52px; }

/* ── Pill tags ── */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 99px;
  background: var(--white); border: 0.5px solid var(--mist);
  font-size: 13px; color: var(--forest);
}
.pill::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--sage); flex-shrink: 0;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 0.5px solid rgba(13,43,43,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card-body { padding: 28px 28px 32px; }
.card-img { height: 220px; object-fit: cover; width: 100%; }

.care-card {
  background: var(--white);
  border: 0.5px solid rgba(13,43,43,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none; display: block;
}
.care-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--mist);
}
.care-card-img { height: 200px; object-fit: cover; width: 100%; }
.care-card-body { padding: 22px 24px 26px; }
.care-card-tag {
  font-size: 10px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 8px;
}
.care-card h3 { font-size: 20px; margin-bottom: 8px; }
.care-card p { font-size: 14px; color: var(--stone); line-height: 1.6; margin-bottom: 16px; }
.care-card-link {
  font-size: 13px; font-weight: 500; color: var(--forest);
  display: flex; align-items: center; gap: 4px;
}

/* ── Feature card (step) ── */
.step-card {
  background: var(--foam);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.step-num {
  font-family: var(--serif);
  font-size: 56px; font-weight: 300;
  color: var(--mist); line-height: 1;
  margin-bottom: 20px;
}
.step-card h3 { font-size: 20px; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--stone); line-height: 1.65; }
.step-badge {
  display: inline-block; margin-top: 20px;
  font-size: 11px; font-weight: 500;
  color: var(--forest); background: var(--white);
  padding: 4px 12px; border-radius: 99px;
  border: 0.5px solid var(--mist);
}

/* ── Dark step card ── */
.step-card-dark {
  border: 0.5px solid rgba(184,212,200,.15);
  padding: 32px;
}
.step-card-dark h3 { color: var(--white); font-size: 20px; margin-bottom: 10px; }
.step-card-dark p { font-size: 14px; color: rgba(250,250,248,.55); line-height: 1.65; }

/* ── Price card ── */
.price-card {
  background: var(--white);
  border: 0.5px solid rgba(13,43,43,.1);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex; flex-direction: column;
}
.price-card.featured {
  background: var(--deep);
  border-color: var(--deep);
}
.price-card-tag {
  font-size: 10px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 10px;
}
.price-card.featured .price-card-tag { color: var(--mist); }
.price-card h3 { font-size: 22px; color: var(--deep); margin-bottom: 14px; }
.price-card.featured h3 { color: var(--white); }
.price-amount {
  display: flex; align-items: baseline; gap: 3px;
  margin-bottom: 5px;
}
.price-dollar {
  font-family: var(--serif);
  font-size: 44px; font-weight: 300;
  color: var(--deep); line-height: 1;
}
.price-card.featured .price-dollar { color: var(--white); }
.price-per { font-size: 14px; color: var(--stone); }
.price-card.featured .price-per { color: rgba(250,250,248,.5); }
.price-note { font-size: 12px; color: var(--stone); margin-bottom: 22px; }
.price-card.featured .price-note { color: rgba(250,250,248,.4); }
.price-features { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; flex: 1; }
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--stone); line-height: 1.45;
}
.price-card.featured .price-features li { color: rgba(250,250,248,.65); }
.price-features li::before {
  content: '';
  width: 5px; height: 5px; min-width: 5px;
  border-radius: 50%; background: var(--mist);
  margin-top: 6px;
}
.price-cta {
  display: block; text-align: center;
  padding: 12px; border-radius: 10px;
  font-size: 14px; font-weight: 500;
  transition: all .18s; text-decoration: none;
  border: 1.5px solid var(--mist); color: var(--forest);
}
.price-cta:hover { background: var(--foam); }
.price-card.featured .price-cta {
  background: var(--white); color: var(--deep);
  border-color: transparent;
}
.price-card.featured .price-cta:hover { background: var(--foam); }

/* ── Trust / comparison ── */
.trust-row {
  display: flex; align-items: center; gap: 28px;
  padding: 18px 24px;
  background: var(--foam);
  border: 0.5px solid var(--mist);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--forest);
}
.trust-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage); flex-shrink: 0;
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 0.5px solid var(--foam);
  padding: 22px 0;
}
.faq-item:first-child { border-top: 0.5px solid var(--foam); }
.faq-q {
  font-family: var(--serif);
  font-size: 19px; font-weight: 400;
  color: var(--deep); margin-bottom: 10px;
}
.faq-a { font-size: 14px; color: var(--stone); line-height: 1.7; }

/* ── Check list ── */
.checklist { display: grid; gap: 12px; }
.check {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--stone); line-height: 1.5;
}
.check::before {
  content: '';
  width: 6px; height: 6px; min-width: 6px;
  border-radius: 50%; background: var(--sage);
  margin-top: 6px;
}

/* ── Comparison table ── */
.comparison { overflow: hidden; border-radius: var(--radius-lg); }
.comparison-header {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  padding: 14px 22px;
  background: var(--deep);
  font-size: 11px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
}
.comparison-header span { color: rgba(250,250,248,.45); }
.comparison-header .col-dibs { color: var(--mist); }
.comparison-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  padding: 14px 22px;
  background: var(--white);
  border-bottom: 0.5px solid var(--foam);
  font-size: 13px;
}
.comparison-row:last-child { border-bottom: none; }
.comparison-row:nth-child(even) { background: #FAFAF8; }
.col-feature { color: var(--stone); }
.col-others { color: #C0392B; font-size: 12px; }
.col-dibs-val { color: var(--forest); font-weight: 500; font-size: 12px; }

/* ── CTA band ── */
.cta-band {
  background: var(--forest);
  padding: 80px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 48px;
  flex-wrap: wrap;
}
.cta-band-copy {}
.cta-band h2 { color: var(--white); max-width: 500px; }
.cta-band .lead { color: rgba(250,250,248,.6); margin-top: 14px; max-width: 460px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* ── Hero variants ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
}
.hero-left {
  background: var(--deep);
  padding: 80px 64px 80px 80px;
  display: flex; flex-direction: column;
  justify-content: center; position: relative;
  overflow: hidden;
}
.hero-left::before {
  content: '';
  position: absolute; top: -100px; right: -80px;
  width: 360px; height: 360px;
  border: 0.5px solid rgba(184,212,200,.1);
  border-radius: 50%; pointer-events: none;
}
.hero-right {
  position: relative; overflow: hidden;
  min-height: 600px;
}
.hero-right img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-right-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,43,43,.3) 0%, transparent 60%);
}

/* page hero (inner pages) */
.page-hero {
  background: var(--deep);
  padding: 80px 0 72px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -80px; right: -60px;
  width: 320px; height: 320px;
  border: 0.5px solid rgba(184,212,200,.08);
  border-radius: 50%; pointer-events: none;
}
.page-hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 48px; align-items: center;
}
.page-hero-img {
  border-radius: var(--radius-lg); overflow: hidden;
  height: 420px;
}
.page-hero-img img { height: 100%; object-fit: cover; }

/* ── Dark sections ── */
.section-dark {
  background: var(--deep);
  padding: 88px 0;
}
.section-dark h2 { color: var(--white); }
.section-dark .lead { color: rgba(250,250,248,.55); }
.section-dark .eyebrow { color: var(--mist); }
.section-dark .eyebrow::before { background: var(--sage); }

.section-sand { background: var(--sand); padding: 88px 0; }
.section-foam { background: var(--foam); padding: 88px 0; }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.grid-2-1 { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.grid-1-2 { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: center; }

/* ── Footer ── */
footer {
  background: var(--deep);
  padding: 60px 0 36px;
  border-top: 0.5px solid rgba(184,212,200,.1);
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 32px; font-weight: 300;
  color: var(--white); letter-spacing: -0.5px; line-height: 1;
}
.footer-brand-sub {
  font-family: var(--sans);
  font-size: 9px; font-weight: 500;
  letter-spacing: 4px; color: var(--mist);
  text-transform: uppercase; display: block; margin-top: 4px;
}
.footer-tagline {
  font-size: 14px; color: rgba(250,250,248,.4);
  margin-top: 16px; line-height: 1.65; max-width: 260px;
}
.footer-col h5 {
  font-size: 10px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(250,250,248,.3); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 13px;
  color: rgba(250,250,248,.5); margin-bottom: 10px;
  transition: color .18s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 0.5px solid rgba(184,212,200,.1);
  padding-top: 24px;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 11px; color: rgba(250,250,248,.22); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 11px; color: rgba(250,250,248,.22); }
.footer-legal a:hover { color: rgba(250,250,248,.5); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-1 { animation: fadeUp .65s ease both; }
.anim-2 { animation: fadeUp .65s .1s ease both; }
.anim-3 { animation: fadeUp .65s .2s ease both; }
.anim-4 { animation: fadeUp .65s .3s ease both; }
.anim-5 { animation: fadeUp .65s .4s ease both; }

/* ── Utilities ── */
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.text-center { text-align: center; }
.max-540 { max-width: 540px; }
.max-680 { max-width: 680px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 64px 40px; }
  .hero-right { min-height: 480px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-img { height: 320px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta.desktop { display: none; }
  .nav-menu-btn { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 24px; flex-direction: column; }
  .section { padding: 64px 0; }
  .section-dark, .section-sand, .section-foam { padding: 64px 0; }
  .hero-left { padding: 48px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .comparison-header, .comparison-row { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .grid-2 { grid-template-columns: 1fr; }
  .price-card { padding: 22px 20px; }
}
