:root {
  color-scheme: light;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  color: #0f172a;
  background: #f7f9fc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f7f9fc;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid #e7e9f1;
  padding: 18px 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 700;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f766e, #22c55e);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-size: 1rem;
  letter-spacing: 0.2px;
}

.brand-tagline {
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
}

.header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  text-decoration: none;
  border: 1px solid #dbe1ee;
  background: #ffffff;
  color: #0f172a;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.pill:hover {
  border-color: #5eead4;
  color: #0f766e;
}

.hero {
  margin: 32px 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.hero-copy-block {
  display: grid;
  gap: 8px;
}

.hero-side {
  display: grid;
  gap: 16px;
}

.hero-image {
  width: 100%;
  border-radius: 0;
  border: none;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
  object-fit: contain;
  height: auto;
  max-height: 360px;
  display: block;
}

.hero-image-section {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: stretch;
  margin: 8px 0 24px;
}

.hero-image-wrap {
  width: 100%;
  display: flex;
}

.hero-side {
  display: flex;
}

.hero-side .hero-card {
  height: 100%;
}

@media (max-width: 900px) {
  .hero-image-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-image {
    max-height: 280px;
  }

  .hero-card {
    padding: 16px;
  }

  .routine-icon {
    width: 40px;
    height: 40px;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: #0f766e;
  font-weight: 700;
  margin: 0 0 12px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.15;
}

.hero-copy {
  margin: 0 0 20px;
  color: #475569;
  font-size: 1.05rem;
}

.accent {
  color: #0f766e;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #e3e7f2;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.hero-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  display: grid;
  gap: 6px;
}

.routine-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.routine-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #475569;
}

.routine-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #eff6ff;
  display: grid;
  place-items: center;
  border: 1px solid #bfdbfe;
}

.routine-icon svg {
  width: 26px;
  height: 26px;
  fill: #2563eb;
}

.intro {
  margin: 24px 0 24px;
}

.intro .quick-summary {
  margin-top: 12px;
  color: #475569;
  font-size: 1.02rem;
}

.section {
  margin-bottom: 40px;
}

.section-header {
  margin-bottom: 18px;
}

.section-header h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.section-header p {
  margin: 0;
  color: #5a5d6c;
}

.avoid-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.avoid-card {
  background: #fff7ed;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #fed7aa;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.08);
  display: grid;
  gap: 12px;
}

.avoid-header {
  display: grid;
  gap: 6px;
}

.avoid-badge {
  width: fit-content;
  background: #fdba74;
  color: #7c2d12;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.avoid-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.avoid-card p {
  margin: 0;
  color: #9a3412;
}

.avoid-card ul {
  margin: 0;
  padding-left: 18px;
  color: #9a3412;
  display: grid;
  gap: 6px;
}

.product-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 40px;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #e3e7f2;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #1d4ed8;
  background: #eff6ff;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  width: fit-content;
}

.card p {
  margin: 0;
  color: #475569;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  color: #334155;
}

.link-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cta {
  border: none;
  background: #0f766e;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}

.cta.secondary {
  background: #7c4a2d;
}

.quiz-cta {
  background: #2563eb;
}

.cta.tertiary {
  background: #1f2937;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid #e7e9f1;
  padding: 20px 0 40px;
  color: #64748b;
  font-size: 0.85rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 6px 0 30px;
}

.trust-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ccfbf1;
  color: #0f766e;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .trust-strip {
    grid-template-columns: 1fr;
  }
}

.guide-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px;
  border: 1px solid #e3e7f2;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.guide-item p {
  margin: 0;
  color: #0f172a;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
}

.guide-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ccfbf1, #e2f8f2);
  border: 1px solid #99f6e4;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 18px rgba(15, 118, 110, 0.18);
  flex-shrink: 0;
}

.guide-icon svg {
  width: 26px;
  height: 26px;
  fill: #0f766e;
}

@media (max-width: 980px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.blog-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1000px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.blog-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid #e3e7f2;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.blog-card p {
  margin: 0;
  color: #475569;
}

.blog-meta {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.blog-link {
  margin-top: auto;
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.blog-link-text {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quiz-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  padding: 20px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.quiz-intro {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  padding: 20px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  margin-bottom: 14px;
}

.quiz-intro p {
  margin: 0 0 12px;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.6;
}

.quiz-step h4 {
  margin: 6px 0 12px;
  font-size: 1.22rem;
  line-height: 1.4;
  color: #0f172a;
}

.quiz-progress {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quiz-options {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.quiz-option {
  border: 1px solid #dbe1ee;
  background: #ffffff;
  color: #0f172a;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
}

.quiz-option:hover {
  border-color: #5eead4;
  color: #0f766e;
}

.quiz-nav {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}

.quiz-nav .pill[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.quiz-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.quiz-item {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: #0f172a;
}

.quiz-label {
  font-size: 0.9rem;
  color: #475569;
}

.quiz-item select {
  border: 1px solid #dbe1ee;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.95rem;
  background: #ffffff;
  color: #0f172a;
}

.quiz-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.quiz-result {
  margin-top: 18px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  color: #0f172a;
}

.quiz-result h3 {
  margin: 0 0 8px;
}

.quiz-result ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.modal {
  position: fixed;
  inset: 0;
  display: block;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 600px;
  margin: 6vh auto;
  background: #ffffff;
  border-radius: 10px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
  max-height: 90vh;
  min-height: 70vh;
  overflow: auto;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.modal-content h3 {
  font-size: 1.4rem;
  line-height: 1.3;
}

.modal.is-open .modal-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-subtitle {
  margin: 6px 0 16px;
  color: #64748b;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  font-size: 1rem;
  color: #0f172a;
}

@media (max-width: 700px) {
  .modal-content {
    margin: 4vh 16px;
    padding: 20px;
  }
}

.article-hero {
  margin: 32px 0 18px;
}

.article-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.15;
}

.article-hero-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  margin: 12px 0 6px;
}

.article-meta {
  color: #64748b;
  font-size: 0.9rem;
}

.article-body {
  display: grid;
  gap: 18px;
  color: #334155;
}

.article-body h2 {
  margin: 18px 0 6px;
  font-size: 1.35rem;
  color: #0f172a;
}

.article-body h3 {
  margin: 12px 0 4px;
  font-size: 1.1rem;
  color: #0f172a;
}

.article-body p {
  margin: 0;
}

.article-body ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.article-callout {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
}

.article-footer {
  margin: 28px 0 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.back-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.disclaimer {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 0.85rem;
}

.mono {
  font-family: "SFMono-Regular", ui-monospace, "Courier New", monospace;
}
