*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0b1f3a;
  --teal: #0d8c7e;
  --teal-light: #12b0a0;
  --gold: #e8a733;
  --cream: #faf7f2;
  --white: #ffffff;
  --text: #1a2535;
  --muted: #5a6a7e;
  --border: #dde4ef;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  font-size: 17px;
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 90px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(13, 140, 126, 0.35) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-tag {
  display: inline-block;
  background: rgba(13, 140, 126, 0.18);
  color: var(--teal-light);
  border: 1px solid rgba(13, 140, 126, 0.4);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  margin-bottom: 28px;
  animation: fadeDown 0.6s ease both;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 24px;
  animation: fadeDown 0.7s 0.1s ease both;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal-light);
}
.hero-meta {
  color: rgb(245, 243, 243);
  font-size: 14px;
  animation: fadeDown 0.7s 0.2s ease both;
}
.hero-meta span {
  margin: 0 10px;
}

/* ── LAYOUT ── */
.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

article {
  padding: 64px 0 80px;
}

/* ── SECTIONS ── */
.section {
  margin-bottom: 64px;
}

h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.25;
  padding-top: 16px;
  border-top: 3px solid var(--teal);
  display: inline-block;
}

h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 10px;
}

p {
  margin-bottom: 18px;
  color: #2e3c4f;
}

strong {
  color: var(--navy);
  font-weight: 600;
}

/* ── INTRO HIGHLIGHT ── */
.intro-box {
  background: var(--white);
  border-left: 5px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 28px 32px;
  margin-bottom: 48px;
  box-shadow: 0 2px 20px rgba(11, 31, 58, 0.07);
}
.intro-box p {
  margin: 0;
  font-size: 1.08rem;
}

/* ── CHANNEL CARDS ── */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.channel-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 26px;
  border: 1px solid var(--border);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.channel-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(11, 31, 58, 0.12);
}
.channel-card:hover::after {
  transform: scaleX(1);
}
.channel-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.channel-card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}
.channel-card p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ── STAT BAND ── */
.stat-band {
  background: var(--navy);
  border-radius: 18px;
  padding: 44px 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  text-align: center;
  margin: 40px 0;
}
.stat-item {
}
.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
}

/* ── TIPS LIST ── */
.tip-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.tip-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.tip-list li:last-child {
  border-bottom: none;
}
.tip-marker {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ── TWO-COL LAYOUT ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.info-card {
  background: var(--white);
  border-radius: 14px;
  padding: 24px 22px;
  border: 1px solid var(--border);
}
.info-card h3 {
  margin-top: 0;
  font-size: 1rem;
}
.info-card ul {
  padding-left: 18px;
}
.info-card ul li {
  margin-bottom: 6px;
  font-size: 0.93rem;
  color: #3a4a5c;
}

@media (max-width: 600px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* ── PATIENT ESTIMATE TABLE ── */
.estimate-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(11, 31, 58, 0.07);
}
.estimate-table th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.04em;
}
.estimate-table td {
  padding: 13px 18px;
  font-size: 0.93rem;
  border-bottom: 1px solid var(--border);
  color: #2e3c4f;
}
.estimate-table tr:last-child td {
  border-bottom: none;
}
.estimate-table tr:nth-child(even) td {
  background: #f4f8fb;
}
.highlight-cell {
  color: var(--teal);
  font-weight: 600;
}

/* ── CHECKLIST ── */
.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.checklist li {
  padding: 10px 0 10px 36px;
  position: relative;
  border-bottom: 1px dashed var(--border);
  font-size: 0.96rem;
}
.checklist li:last-child {
  border-bottom: none;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    #0e2d50 60%,
    #082536 100%
  );
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 400px at 50% 120%,
    rgba(13, 140, 126, 0.3),
    transparent
  );
  pointer-events: none;
}
.cta-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 18px;
}
.cta-section h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--white);
  border: none;
  padding: 0;
  margin-bottom: 18px;
  display: block;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 1.02rem;
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: white;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 42px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  box-shadow: 0 6px 28px rgba(13, 140, 126, 0.4);
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(13, 140, 126, 0.5);
}

/* ── DIVIDER ── */
.divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 0 48px;
}

/* ── ANIMATIONS ── */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── TOC ── */
.toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 56px;
}
.toc-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toc ol {
  padding-left: 22px;
}
.toc ol li {
  margin-bottom: 7px;
}
.toc a {
  color: var(--teal);
  text-decoration: none;
  font-size: 0.95rem;
}
.toc a:hover {
  text-decoration: underline;
}

.info-card ul {
  list-style-type: disc;
  padding-left: 22px;
  margin-top: 10px;
}

.info-card li {
  margin-bottom: 8px;
}

ul,
ol {
  list-style-position: inside;
}

.toc ol {
  list-style: decimal;
  padding-left: 28px;
  margin-top: 12px;
}

.toc li {
  margin-bottom: 10px;
}

.toc ol {
  list-style: decimal-leading-zero;
}

.qr-box {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  align-items: center; /* centers horizontally */
  justify-content: center;
  text-align: center;
  width: 100%;
}

.qr-box img {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  padding: 10px;
  background: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.qr-box p {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.qr-box img {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.qr-box img:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.qr-box {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-box img {
  width: 170px;
  border-radius: 16px;
  padding: 12px;
  background: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.hero {
  width: 100%;
  padding-top: 140px;
  padding-bottom: 80px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.2;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .channel-grid {
    grid-template-columns: 1fr;
  }
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.table-wrapper {
  overflow-x: auto;
}

@media (max-width: 768px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  p {
    font-size: 16px;
  }
}

.section {
  padding-top: 40px;
  padding-bottom: 40px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  padding-top: 90px;
}

@media (max-width: 768px) {
  .estimate-table {
    font-size: 13px;
  }

  .estimate-table th {
    padding: 10px 8px;
    font-size: 12px;
  }

  .estimate-table td {
    padding: 10px 8px;
    font-size: 12px;
  }

  .estimate-table th,
  .estimate-table td {
    word-break: break-word;
    white-space: normal;
  }
}

.estimate-table {
  width: 100%;
  table-layout: fixed;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.icon-list li i {
  margin-top: 3px;
  min-width: 18px;
}

/* good list */
.icon-list.good i {
  color: #12b0a0;
}

/* bad list */
.icon-list.bad i {
  color: #e55353;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.icon-list li i {
  min-width: 18px;
  margin-top: 4px;
}

/* keyword icons */
.icon-list.keywords i {
  color: #12b0a0;
}

/* campaign icons */
.icon-list.practices i {
  color: #e8a733;
}
