/* MiraChlor — Landing-page styles (extracted from src-html/landing.html) */

/* HERO */
.hero {
  background: linear-gradient(180deg, var(--white) 0%, var(--paper) 55%, var(--white) 100%);
  padding: 64px 0 56px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  z-index: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: center; position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 28px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.hero-eyebrow .pipe { opacity: 0.4; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 500; line-height: 1.04; letter-spacing: -0.02em;
  margin: 0 0 24px; color: var(--ink);
}
.hero h1 em { font-style: italic; color: var(--navy); }
.hero-sub { font-size: 18px; line-height: 1.6; color: var(--ink-mute); margin: 0 0 36px; max-width: 540px; }
.hero-cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta { display: flex; gap: 32px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-mute); }
.hero-meta-item svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--navy); }

.hero-image-card { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4/5; background: var(--navy-deep); }
.hero-image-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-tag {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  padding: 16px 20px; border-radius: 4px; border-top: 3px solid var(--orange); text-align: center;
}
.hero-image-tag strong {
  display: block; font-size: 13px; font-weight: 600; color: var(--navy);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px;
}
.hero-image-tag span { font-size: 13px; color: var(--ink-mute); line-height: 1.4; }

/* SECTION */
.section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.hero + .section { padding-top: 48px; }
.section.dark { background: var(--navy); color: var(--white); border-bottom: none; }
.section.paper { background: var(--paper); }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 20px;
}
.section-eyebrow .num { font-family: var(--font-display); color: var(--ink-mute); font-style: italic; }
.section.dark .section-eyebrow .num { color: rgba(255,255,255,0.5); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500; line-height: 1.12; letter-spacing: -0.015em;
  margin: 0 0 20px; max-width: 800px;
}
.section-lede {
  font-size: 19px; line-height: 1.6; color: var(--ink-mute);
  max-width: 720px; margin: 0 0 56px;
}
.section.dark .section-lede { color: rgba(255,255,255,0.78); }

/* SCIENCE */
.science-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.science-image { border-radius: 6px; overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line); background: var(--paper); }
.science-image img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.science-intro .section-eyebrow { margin-bottom: 20px; }
.science-intro .section-title { margin-bottom: 24px; }
.science-intro .section-lede { margin-bottom: 0; }

/* KEY PROPERTIES */
.properties-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.property-card {
  padding: 36px 36px 40px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
}
.property-card .num {
  font-family: var(--font-display); font-style: italic; font-size: 26px;
  color: var(--orange); line-height: 1; padding-top: 4px; letter-spacing: -0.01em;
}
.property-card h4 {
  font-family: var(--font-display); font-size: 22px; font-weight: 500;
  margin: 0 0 10px; color: var(--ink); letter-spacing: -0.01em; line-height: 1.2;
}
.property-card p { margin: 0; color: var(--ink-mute); line-height: 1.6; font-size: 15px; }

/* APPLICATIONS */
.apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.app-card-badge {
  display: inline-block; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; margin-bottom: 14px;
}
.app-card-badge.rx { background: var(--navy); color: var(--white); }
.app-card-badge.otc { background: rgba(255, 102, 0, 0.1); color: var(--orange-deep); border: 1px solid rgba(255, 102, 0, 0.25); }
.app-card-uses { margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.app-card-uses li { position: relative; padding: 8px 0 8px 22px; font-size: 14px; color: var(--ink-mute); line-height: 1.5; }
.app-card-uses li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 1px; background: var(--orange); }
.app-card-uses li strong { color: var(--ink); font-weight: 600; }
.app-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.app-card:hover { border-color: var(--navy); transform: translateY(-2px); }
.app-card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--paper); }
.app-card-img img { width: 100%; height: 100%; object-fit: cover; }
.app-card-body { padding: 28px; }
.app-card h4 {
  font-family: var(--font-display); font-size: 24px; font-weight: 500;
  margin: 0 0 10px; color: var(--ink); letter-spacing: -0.01em;
}
.app-card p { margin: 0 0 16px; color: var(--ink-mute); font-size: 14.5px; line-height: 1.6; }
.app-card-meta {
  font-size: 12px; color: var(--ink-soft); letter-spacing: 0.08em;
  text-transform: uppercase; padding-top: 16px; border-top: 1px solid var(--line);
}

/* COMPARISON */
.compare-table {
  width: 100%; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.compare-table th, .compare-table td { text-align: left; padding: 18px 24px; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.compare-table th { background: var(--navy); color: var(--white); font-weight: 600; letter-spacing: 0.02em; font-size: 13px; text-transform: uppercase; }
.compare-table th.feature-col { background: var(--navy-deep); }
.compare-table th.mira-col { background: var(--orange); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td.label { font-weight: 600; color: var(--ink); background: var(--paper); border-right: 1px solid var(--line); }
.compare-table td.mira { background: rgba(255,102,0,0.04); border-right: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.check, .cross, .neutral { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.check { color: #047857; }
.cross { color: #b91c1c; }
.neutral { color: var(--ink-mute); }
.check::before, .cross::before, .neutral::before { content: ''; width: 18px; height: 18px; border-radius: 50%; display: inline-block; flex: 0 0 18px; }
.check::before { background: #10b98125 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23047857' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3.5 8.5 6.5 11.5 12.5 5'/%3E%3C/svg%3E") center/12px no-repeat; }
.cross::before { background: #ef444425 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23b91c1c' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='4' y1='4' x2='12' y2='12'/%3E%3Cline x1='12' y1='4' x2='4' y2='12'/%3E%3C/svg%3E") center/10px no-repeat; }
.neutral::before { background: #6b768925 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236b7689' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='4' y1='8' x2='12' y2='8'/%3E%3C/svg%3E") center/10px no-repeat; }

/* TRUST */
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 64px; }
.trust-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 6px; padding: 28px 24px; text-align: center;
}
.trust-card-icon {
  width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex; align-items: center;
  justify-content: center; color: var(--orange);
}
.trust-card-icon svg { width: 22px; height: 22px; }
.trust-card h5 { font-size: 14px; font-weight: 600; margin: 0 0 6px; letter-spacing: 0.02em; }
.trust-card p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 6px; padding: 32px; position: relative;
}
.testimonial::before {
  content: '"'; position: absolute; top: 16px; right: 24px;
  font-family: var(--font-display); font-style: italic; font-size: 60px;
  color: var(--orange); line-height: 1; opacity: 0.5;
}
.testimonial-quote {
  font-family: var(--font-display); font-size: 18px; line-height: 1.45;
  margin: 0 0 24px; color: rgba(255,255,255,0.92); letter-spacing: -0.005em;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.16);
}
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px;
}
.testimonial-author-info strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.testimonial-author-info span { font-size: 12px; color: rgba(255,255,255,0.6); }

/* FINAL CTA */
.final-cta { background: var(--white); text-align: center; padding: 120px 0; }
.final-cta h2 {
  font-family: var(--font-display); font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 500; line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 auto 20px; max-width: 800px; color: var(--ink);
}
.final-cta p { font-size: 18px; color: var(--ink-mute); max-width: 600px; margin: 0 auto 40px; line-height: 1.6; }
.final-cta .btn-primary { padding: 20px 36px; font-size: 16px; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero { padding: 48px 0 40px; }
  .hero::before { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .science-grid { grid-template-columns: 1fr; gap: 40px; }
  .science-image { aspect-ratio: 4/3; max-width: 520px; margin: 0 auto; }
  .properties-grid { grid-template-columns: 1fr; }
  .property-card { padding: 28px 24px 32px; }
  .apps-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 12px 14px; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .trust-row { grid-template-columns: 1fr; }
  .compare-scroll { overflow-x: auto; }
  .compare-table { min-width: 640px; }
}
