/* Global Styles */
body {
  font-family: "Montserrat", "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

/* Header */
header {
  text-align: center;
  padding: 1.5rem 1rem;
}

.brand-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.brand-logo {
  height: 80px;
  width: 80px;        /* fixed width */
  object-fit: cover;  /* will crop sides if aspect ratio doesn’t match */
}


.logo-wrapper {
  height: 80px;        /* fixed height */
  width: 80px;         /* control the cropped width */
  overflow: hidden;    /* hide overflow */
  border-radius: 8px;  /* optional if you want rounded edges */
}

h1 {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: 2rem;
  margin: 0;
  color: #231612;
  letter-spacing: 6px;
  font-weight: 100;
}

h2 {
  font-weight: 500;
  margin-top: 0.5rem;
  color: #444;
}

.tagline {
  max-width: 600px;
  margin: 1rem auto;
  font-size: 1.1rem;
  color: #333;
}

/* CTA Button */
.cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 12px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  background: #0a2d6a;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.cta:hover {
  background: #133f99;
}

/* Main Content */
main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

section {
  margin-bottom: 2.5rem;
}

ol {
  padding-left: 1.2rem;
}

/* Form */
form {
  margin-top: 1rem;
}

form input[type="email"] {
  padding: 10px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 8px;
}

form button {
  padding: 10px 20px;
  background: #0a2d6a;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background: #133f99;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #f5f5f5;
  font-size: 0.9rem;
}

footer a {
  margin: 0 8px;
  color: #0a2d6a;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


/* Layout helpers */
:root{
  --ink:#1d1d1f;
  --muted:#4b4b4f;
  --brand:#562415;          /* deep brown like your mock */
  --brand-strong:#6c2b19;
  --radius:18px;
}

.container{
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO */
.hero{
  padding: 18px 0 10px;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1fr minmax(320px, 480px) 1fr;
  align-items: center;
  gap: 32px;
}

/* Side images */
.hero-img{
  margin: 0;
}
.hero-img img{
  width: 100%;
  height: 520px;                 /* tall card look */
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* Center copy */
.hero-copy{
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  color: var(--ink);
}

.hero-title{
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 4.5vw, 4rem); /* big headline */
  margin: 0 0 16px;
}

.hero-sub{
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 56ch;
}

/* CTA */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary{
  background: var(--brand);
  color: #fff;
  padding: 14px 26px;
  box-shadow: 0 10px 20px rgba(86,36,21,.15);
}
.btn-primary:hover{
  background: var(--brand-strong);
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(86,36,21,.22);
}
.btn-icon{
  font-size: 1.1em;
  line-height: 1;
}

/* Responsive */
@media (max-width: 1024px){
  .hero-img img{ height: 460px; }
}
@media (max-width: 900px){
  .hero-grid{
    grid-template-columns: 1fr;           /* stack */
    gap: 22px;
  }
  .hero-img:first-child{ order: 1; }
  .hero-copy{ order: 2; }
  .hero-img:last-child{ order: 3; }
  .hero-img img{ height: 360px; }
}
@media (max-width: 520px){
  .hero{ padding: 28px 0 24px; }
  .hero-img img{ height: 280px; border-radius: 14px; }
  .btn-primary{ padding: 12px 20px; }
}

/* Overlay */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

/* Popup box */
.popup-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  position: relative;
  text-align: center;
  animation: slideUp 0.35s ease;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 1.3rem;
  cursor: pointer;
  color: #666;
}
.popup-close:hover {
  color: #000;
}

/* Form */
.popup-content form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.popup-content input[type="email"] {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.popup-submit {
  padding: 12px;
  font-size: 1rem;
  background: #562415;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.25s ease;
}
.popup-submit:hover {
  background: #6c2b19;
}

/* Status message */
.popup-status {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #333;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; } 
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Container where the chart used to be */
.insights {
  margin: 8px 12px 0;
  background: #f7f7f9;
  border-radius: 10px;
  display: grid;
  align-items: center;
}

/* Grid of 4 items */
.insight-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  align-items: start;
  gap: 20px;
  padding: 2px;
}

/* One “dot + label” */
.insight {
  display: grid;
  justify-items: center;
  gap: 10px;
}

/* Circular dots */
.swatch {
  width: clamp(44px, 4vw, 20px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid #ffffff;         /* subtle outline to match mock */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}

/* Labels */
.insight-label {
  font-size: 14px;
  color: #666;
  line-height: 1;
}

/* Colors (tune if needed) */
.swatch--cleanser   { background: #6f9555; } /* green */
.swatch--supplements{ background: #6ea6dc; } /* blue */
.swatch--vitamins   { background: #6f9555; } /* green */
.swatch--probiotics { background: #8a8a8a; } /* gray */

/* Optional: “active/selected” ring state */
.insight.is-active .swatch {
  outline: 3px solid #222;           /* focus ring-style halo */
  outline-offset: 2px;
}
