/* ============================================================
   BooQik — Shared Stylesheet
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:   #1B2A4A;
  --coral:  #FF6B6B;
  --text:   #333333;
  --bg:     #F5F5F5;
  --white:  #FFFFFF;

  --font: 'Plus Jakarta Sans', sans-serif;

  --nav-height: 68px;
  --max-width: 1100px;
  --content-width: 760px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  color: var(--coral);
}

ul {
  list-style: none;
}

/* ============================================================
   NAV BAR
   ============================================================ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(27, 42, 74, 0.1);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  box-shadow: 0 1px 8px rgba(27, 42, 74, 0.06);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--coral);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.footer-address {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.footer-address a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-address a:hover {
  color: var(--coral);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--coral);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
}

/* ============================================================
   LEGAL PAGES (terms.html, privacy.html)
   ============================================================ */

.legal-hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 24px 48px;
  text-align: center;
}

.legal-hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal-hero .effective-date {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
}

.legal-body {
  max-width: var(--content-width);
  margin: 56px auto;
  padding: 0 24px 80px;
}

/* Table of contents */
.legal-toc {
  background: var(--bg);
  border-left: 4px solid var(--coral);
  border-radius: 4px;
  padding: 24px 28px;
  margin-bottom: 56px;
}

.legal-toc h2 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 14px;
}

.legal-toc ol {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-toc ol li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
}

.legal-toc ol li a:hover {
  color: var(--coral);
}

/* Legal sections */
.legal-section {
  margin-bottom: 52px;
  padding-top: 8px;
  border-top: 1px solid rgba(27, 42, 74, 0.1);
}

.legal-section:first-of-type {
  border-top: none;
}

.legal-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.legal-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--coral);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: disc;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.legal-section ul li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}

.legal-section strong {
  font-weight: 600;
  color: var(--navy);
}

.legal-contact-block {
  background: var(--bg);
  border-radius: 8px;
  padding: 24px 28px;
  margin-top: 16px;
}

.legal-contact-block p {
  margin-bottom: 6px !important;
}

/* ============================================================
   MOBILE WATERMARK (hidden on desktop/tablet, shown on mobile only)
   ============================================================ */

.mobile-watermark {
  display: none;
}

/* ============================================================
   HOMEPAGE — SHARED UTILITIES
   ============================================================ */

.section-label {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-heading--white {
  color: var(--white);
}

.section-sub {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
  max-width: 580px;
}

.section-sub--white {
  color: rgba(255,255,255,0.75);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.btn-primary:hover {
  background: #e85555;
  border-color: #e85555;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-white:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */

.hero {
  background:
    url('images/home-hero.png') center / cover no-repeat,
    var(--navy);
  color: var(--white);
  padding: 80px 24px 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,107,107,0.11) 0%, transparent 65%);
  pointer-events: none;
}

/* Bottom of hero fades into stats-strip navy — kills any color seam */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--navy));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-logo {
  width: 696px;
  max-width: 100%;
  height: auto;
}

.hero-tagline {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: -8px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-top: 4px;
}

.hero h1 em {
  font-style: normal;
  color: var(--coral);
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.hero-ctas .btn {
  border-radius: 12px;
}

.hero-disclaimer {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0;
}

/* ============================================================
   HOMEPAGE — STATS STRIP
   ============================================================ */

.stats-strip {
  background: var(--navy);
  padding: 48px 24px;
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}

/* Divider between stat items */
.stat-item + .stat-item {
  border-left: 1px solid rgba(255,255,255,0.1);
}

.stat-number {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  max-width: 200px;
}

/* ============================================================
   HOMEPAGE — SECTION DIVIDER ICON
   ============================================================ */

.section-divider-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  background: var(--white);
}

.section-divider-icon img {
  width: 48px;
  height: auto;
  opacity: 0.3;
}

@media (max-width: 480px) {
  .section-divider-icon {
    display: none;
  }

  .pricing-bg-icon {
    display: none;
  }

  .hero {
    padding: 20px 20px;
  }

  .hero-logo {
    width: 280px;
    height: auto;
  }

  .hero h1 {
    font-size: 2.25rem;
    line-height: 1.1;
  }

  .hero-sub {
    font-size: 0.875rem;
  }

  .hero-inner {
    gap: 14px;
  }

  .stats-strip {
    padding: 16px 20px;
  }

  .stat-item + .stat-item {
    padding-top: 20px;
  }

  .problem-section {
    padding: 20px 20px;
  }

  .problem-callout {
    padding: 20px;
  }

  .how-section {
    padding: 20px 20px;
  }

  .how-header {
    margin-bottom: 24px;
  }

  .how-step {
    padding-bottom: 24px;
  }

  .features-section {
    padding: 20px 20px;
  }

  .features-header {
    margin-bottom: 24px;
  }

  .hipaa-section {
    padding: 20px 20px;
  }

  .pricing-section {
    padding: 20px 20px;
  }

  .faq-section {
    padding: 20px 20px;
  }

  .faq-header {
    margin-bottom: 24px;
  }

  .cta-section {
    padding: 20px 20px;
  }

  .site-footer {
    padding-top: 32px;
  }

  .mobile-watermark {
    display: block;
    position: absolute;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
  }

  .mobile-wm-right {
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
  }

  .hipaa-section .mobile-watermark {
    width: 250px;
    height: 250px;
  }

  .problem-callout .mobile-watermark {
    width: 180px;
    height: 180px;
  }

  .hipaa-section {
    position: relative;
    overflow: hidden;
  }

  .problem-callout {
    position: relative;
    overflow: hidden;
  }

  .hipaa-inner,
  .problem-callout-item {
    position: relative;
    z-index: 1;
  }
}

/* ============================================================
   HOMEPAGE — PROBLEM SECTION
   ============================================================ */

.problem-section {
  padding: 96px 24px;
  background: var(--white);
}

.problem-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.problem-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.75;
}

.problem-callout {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.problem-callout-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.callout-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,107,107,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.callout-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--coral);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.callout-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.callout-text p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ============================================================
   HOMEPAGE — HOW IT WORKS (vertical 6-step)
   ============================================================ */

.how-section {
  background: var(--bg);
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}

.how-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-watermark {
  position: absolute;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.section-wm-right {
  width: 360px;
  height: 360px;
  right: -36px;
  top: 50%;
  transform: translateY(-50%);
}

.how-header {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.how-steps {
  max-width: 680px;
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Vertical connecting line through circle centers */
.how-steps::before {
  content: '';
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 25px;
  width: 2px;
  background: linear-gradient(180deg, var(--coral) 0%, rgba(255,107,107,0.15) 100%);
  pointer-events: none;
}

.how-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding-bottom: 40px;
  position: relative;
}

.how-step:last-child {
  padding-bottom: 0;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(255,107,107,0.35);
}

.how-step-content {
  padding-top: 12px;
}

.how-step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.how-step-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
}

/* ============================================================
   HOMEPAGE — FEATURES
   ============================================================ */

.features-section {
  padding: 96px 24px;
  background: var(--white);
}

.features-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(27,42,74,0.06);
  border-left: 4px solid var(--coral);
  border-bottom: 4px solid var(--coral);
  box-shadow: 0 4px 16px rgba(27,42,74,0.1);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 28px rgba(27,42,74,0.1);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255,107,107,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--coral);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.feature-card p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.65;
}

/* ============================================================
   HOMEPAGE — COMPLIANCE / HIPAA
   ============================================================ */

.hipaa-section {
  background: var(--navy);
  padding: 72px 24px;
  position: relative;
  overflow: hidden;
}

.hipaa-section .mobile-watermark {
  display: block;
  position: absolute;
  width: 520px;
  height: 520px;
  right: -52px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hipaa-inner {
  position: relative;
  z-index: 1;
}

.hipaa-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.hipaa-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hipaa-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.hipaa-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 14px 20px;
  min-width: 240px;
  cursor: default;
  pointer-events: none;
}

.hipaa-badge svg {
  width: 20px;
  height: 20px;
  stroke: var(--coral);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.hipaa-badge span {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
}

/* ============================================================
   HOMEPAGE — PRICING
   ============================================================ */

.pricing-section {
  padding: 96px 24px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.pricing-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pricing-inner .section-sub {
  margin-bottom: 20px;
}

.pricing-bg-icon {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  opacity: 0.09;
  z-index: 1;
  pointer-events: none;
}

.pricing-card {
  background: var(--white);
  border-radius: 16px;
  border: 2px solid rgba(27,42,74,0.1);
  overflow: hidden;
  width: 100%;
  box-shadow: 0 8px 40px rgba(27,42,74,0.1);
  text-align: left;
}

.pricing-card-header {
  background: var(--navy);
  padding: 28px 36px;
}

.pricing-card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.pricing-card-header p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.pricing-cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 36px 36px 28px;
}

.pricing-col {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-col-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-col-amount span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #888;
  letter-spacing: 0;
}

.pricing-col-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #999;
}

.pricing-divider {
  width: 1px;
  height: 56px;
  background: rgba(27,42,74,0.12);
  margin: 0 32px;
}

.pricing-roi {
  margin: 0 36px 28px;
  background: rgba(255,107,107,0.05);
  border: 1px solid rgba(255,107,107,0.15);
  border-radius: 12px;
  padding: 20px 24px;
}

.pricing-roi p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.7;
}

.pricing-roi strong {
  color: var(--coral);
  font-weight: 700;
}

.pricing-actions {
  padding: 0 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-note {
  font-size: 0.78rem;
  color: #999;
  text-align: center;
}

/* ============================================================
   HOMEPAGE — FAQ
   ============================================================ */

.faq-section {
  background: var(--white);
  padding: 96px 24px;
}

.faq-inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.faq-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.faq-heading-icon img {
  width: 24px;
  height: auto;
  flex-shrink: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(27,42,74,0.1);
}

.faq-item:first-child {
  border-top: 1px solid rgba(27,42,74,0.1);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  gap: 16px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  flex-shrink: 0;
  align-self: center;
  border-radius: 50%;
  border: 2px solid rgba(27,42,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 28px;
  transition: transform 0.25s, border-color 0.2s, background 0.2s, color 0.2s;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  border-color: var(--coral);
  background: var(--coral);
  color: var(--white);
}

.faq-answer {
  padding: 0 0 24px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.75;
}

/* ============================================================
   HOMEPAGE — BOTTOM CTA
   ============================================================ */

.cta-section {
  background: var(--coral);
  padding: 80px 24px;
  text-align: center;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-section p {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
}

/* ============================================================
   INNER PAGES — PAGE HERO (matches home/about modern hero)
   ============================================================ */

.page-hero {
  background:
    url('images/about-constellation.jpg') center / cover no-repeat,
    var(--navy);
  color: var(--white);
  padding: 96px 24px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-top: 4px;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--coral);
}

.page-hero .hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  max-width: 680px;
}

@media (max-width: 640px) {
  .page-hero { padding: 60px 20px 80px; }
}

/* Per-page hero background overrides */
.page-hero.is-demo {
  background:
    url('images/demo-hero.png') center / cover no-repeat,
    var(--navy);
}

.page-hero.is-contact {
  background:
    url('images/contact-hero.png') center / cover no-repeat,
    var(--navy);
}

.page-hero.is-pricing {
  background:
    url('images/pricing-hero.png') center / cover no-repeat,
    var(--navy);
}

.page-hero.is-faq {
  background:
    url('images/faq-hero.png') center / cover no-repeat,
    var(--navy);
}

.page-hero.is-terms {
  background:
    url('images/terms-hero.png') center / cover no-repeat,
    var(--navy);
}

.page-hero.is-privacy {
  background:
    url('images/privacy-hero.png') center / cover no-repeat,
    var(--navy);
}

.page-hero.is-thanks {
  background:
    url('images/about-hero.png') center / cover no-repeat,
    var(--navy);
}

/* Old page-title-bar — hidden, replaced by page-hero everywhere */
.page-title-bar { display: none; }

/* ============================================================
   INNER PAGES — PAGE BODY
   ============================================================ */

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

.page-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ============================================================
   CONTACT & DEMO — FORM STYLES
   ============================================================ */

.form-block h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.form-label-hint {
  font-weight: 400;
  color: #999;
  font-size: 0.85em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid rgba(27,42,74,0.2);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,107,107,0.1);
}

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

.form-submit-note {
  font-size: 0.8rem;
  color: #999;
  text-align: center;
  margin-top: 10px;
}

/* ============================================================
   CONTACT PAGE — INFO CARD
   ============================================================ */

.contact-info-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-card > h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral);
  margin-bottom: 2px;
}

.contact-info-item a,
.contact-info-item p,
.contact-info-item address {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  font-style: normal;
}

.contact-info-item a {
  color: var(--navy);
  font-weight: 500;
}

.contact-info-item a:hover {
  color: var(--coral);
}

/* ============================================================
   DEMO PAGE — WHAT TO EXPECT
   ============================================================ */

.demo-expect {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.demo-expect > h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.demo-expect-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.demo-expect-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.65;
}

.demo-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.demo-check svg {
  width: 11px;
  height: 11px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-note {
  font-size: 0.875rem;
  color: #888;
  font-style: italic;
}

.demo-form-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 36px;
}

.demo-form-card > h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

/* ============================================================
   ABOUT PAGE — REDESIGNED TO MATCH HOMEPAGE
   ============================================================ */

.about-hero {
  background:
    url('images/about-hero.png') center / cover no-repeat,
    var(--navy);
  color: var(--white);
  padding: 96px 24px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about-hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-top: 4px;
}

.about-hero h1 em {
  font-style: normal;
  color: var(--coral);
}

.about-hero .hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  max-width: 680px;
}

.about-section {
  padding: 96px 24px;
}

.about-section--white {
  background: var(--white);
}

.about-section--bg {
  background: var(--bg);
}

.about-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.about-section-inner--narrow {
  max-width: 760px;
}

.about-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
  text-align: center;
}

.about-section-inner .section-heading {
  margin-bottom: 0;
}

.about-lead-copy {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.about-lead-copy p {
  font-size: 1.0625rem;
  color: #555;
  line-height: 1.8;
}

/* Capability grid — matches home features-card style */
.about-capability-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}

.about-capability-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(27,42,74,0.06);
  border-left: 4px solid var(--coral);
  border-bottom: 4px solid var(--coral);
  box-shadow: 0 4px 16px rgba(27,42,74,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.about-capability-card:hover {
  box-shadow: 0 8px 28px rgba(27,42,74,0.12);
  transform: translateY(-2px);
}

.about-capability-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.about-capability-card p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.65;
}

/* Diff cards — explicit 2x2 grid, matches home features-card style */
.about-diff-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  text-align: left;
}

.about-diff-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(27,42,74,0.06);
  border-left: 4px solid var(--coral);
  border-bottom: 4px solid var(--coral);
  box-shadow: 0 4px 16px rgba(27,42,74,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.about-diff-card:hover {
  box-shadow: 0 8px 28px rgba(27,42,74,0.12);
  transform: translateY(-2px);
}

.about-diff-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.about-diff-card p {
  font-size: 0.9375rem;
  color: #666;
  line-height: 1.65;
}

/* Mobile responsive for capability + diff grids */
@media (max-width: 1024px) {
  .about-capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .about-capability-grid,
  .about-diff-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-section { padding: 60px 20px; }
  .about-hero { padding: 60px 20px 80px; }
}

.about-cta {
  background: var(--coral);
  padding: 72px 24px;
  text-align: center;
}

.about-cta-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.about-cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
}

/* ============================================================
   FAQ PAGE
   ============================================================ */

.faq-page-body {
  padding: 64px 24px;
}

.faq-page-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================================
   BLOG PAGE
   ============================================================ */

.blog-body {
  padding: 80px 24px;
  text-align: center;
}

.blog-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.blog-inner p {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */

@media (max-width: 768px) {
  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid rgba(27, 42, 74, 0.12);
    box-shadow: 0 4px 12px rgba(27, 42, 74, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 16px 24px;
    min-height: 56px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a.active {
    background: var(--navy);
    color: var(--coral);
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    align-items: flex-start;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-copy {
    text-align: left;
  }

  /* Legal */
  .legal-hero {
    padding: 48px 20px 36px;
  }

  .legal-body {
    margin-top: 40px;
  }

  /* Hero */
  .hero {
    padding: 64px 20px 72px;
  }

  .hero-logo {
    width: 464px;
  }

  /* Stats */
  .stats-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stat-item + .stat-item {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 36px;
  }

  /* Problem */
  .problem-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* How it works */
  .how-steps::before {
    left: 25px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Compliance */
  .hipaa-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hipaa-badge {
    min-width: unset;
  }

  /* Pricing */
  .pricing-bg-icon {
    width: 420px;
    height: 420px;
    right: -42px;
  }

  .pricing-cols {
    padding: 28px 24px 20px;
  }

  .pricing-divider {
    margin: 0 20px;
  }

  .pricing-roi {
    margin: 0 24px 24px;
  }

  .pricing-actions {
    padding: 0 24px 28px;
  }

  .pricing-card-header {
    padding: 24px;
  }
}

/* ============================================================
   RESPONSIVE — 375px
   ============================================================ */

@media (max-width: 375px) {
  .nav-logo img {
    height: 28px;
  }

  .legal-section h2 {
    font-size: 1.2rem;
  }

  .hero-logo {
    width: 319px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .pricing-bg-icon {
    width: 300px;
    height: 300px;
    right: -30px;
  }

  .pricing-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-divider {
    display: none;
  }

  .pricing-col {
    padding: 16px 0;
    border-bottom: 1px solid rgba(27,42,74,0.08);
  }

  .pricing-col:last-child {
    border-bottom: none;
  }
}

/* ============================================================
   RESPONSIVE — INNER PAGES (768px)
   ============================================================ */

@media (max-width: 768px) {
  .page-hero {
    padding: 40px 20px 36px;
  }

  .page-body {
    padding: 48px 20px;
  }

  .page-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .about-diff-inner > h2 {
    margin-bottom: 32px;
  }

  .contact-info-card,
  .demo-form-card {
    padding: 28px 24px;
  }

  .about-story,
  .about-diff,
  .about-cta {
    padding: 48px 20px;
  }

  .faq-page-body {
    padding: 40px 20px;
  }

  .blog-body {
    padding: 56px 20px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 28px 20px 24px;
  }

  .page-body {
    padding: 24px 20px;
  }

  .about-story,
  .about-diff,
  .about-cta {
    padding: 24px 20px;
  }

  .faq-page-body {
    padding: 24px 20px;
  }

  .blog-body {
    padding: 32px 20px;
  }
}

/* ============================================================
   PRICING PAGE — WHAT YOU GET
   ============================================================ */

.pricing-what-section {
  padding: 96px 24px;
  background: var(--white);
}

.pricing-what-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.pricing-what-inner .section-heading {
  margin-bottom: 40px;
}

.pricing-what-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  width: 100%;
  max-width: 860px;
  text-align: left;
}

.pricing-what-col {
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(27,42,74,0.08);
}

.pricing-what-col--full {
  grid-column: 1 / -1;
}

.pricing-what-col-header {
  background: var(--navy);
  padding: 28px 32px;
  color: var(--white);
}

.pricing-what-amount {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.pricing-what-amount span {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0;
}

.pricing-what-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.6);
}

.pricing-what-list {
  list-style: none;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-what-list li {
  font-size: 0.95rem;
  color: var(--text);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.pricing-what-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

@media (max-width: 640px) {
  .pricing-what-cols {
    grid-template-columns: 1fr;
  }

  .pricing-what-section {
    padding: 60px 20px;
  }
}
