/* v0.4.8 — smooth transform-based mobile menu, no debug pill */
:root {
  --teal: #00a99d;
  --darkteal: #007e76;
  --gray: #f5f5f5;
  --text: #222;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #fff;
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.55;
}

/* Header */
header {
  background: linear-gradient(90deg, var(--teal), var(--darkteal));
  color: #fff;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  position: relative;
  z-index: 10;
}

.brand img {
  width: clamp(180px, 22vw, 360px);
  height: auto;
  display: block;
}

/* Desktop nav */
nav.primary-nav {
  display: flex !important;
  gap: 1.2rem;
}
nav.primary-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}
nav.primary-nav a:hover { opacity: 0.85; }

/* Hamburger */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: white;
  padding: 0.4rem;
  cursor: pointer;
  line-height: 0;
  position: relative;
  z-index: 1002; /* above panel */
  touch-action: manipulation;
}
.menu-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.menu-toggle * { pointer-events: none; }

/* Notice */
.notice-banner {
  background: var(--gray);
  color: var(--darkteal);
  text-align: center;
  padding: 0.6rem 1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Fixed Mobile Panel (animated with transform) */
.mobile-panel {
  position: fixed;
  left: 0; right: 0;
  top: 0; /* JS sets exact top to header height */
  background: linear-gradient(90deg, var(--teal), var(--darkteal));
  border-bottom: 1px solid rgba(255,255,255,0.25);
  z-index: 1001; /* under button but above page */
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transition: transform 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 14px 26px rgba(0,0,0,0.16);
}
.mobile-panel.is-open {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}
.mobile-panel nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1rem 1.2rem;
}
.mobile-panel a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  opacity: 0.98;
}

/* Hero */
.hero {
  flex: 1;
  background: var(--gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}
.hero h1 { font-size: 3rem; color: var(--darkteal); margin-bottom: 0.3em; }
.hero h2 { font-size: 1.6rem; color: var(--teal); margin-bottom: 1.2em; font-weight: 400; }
.hero p { font-size: 1.05rem; max-width: 600px; margin-bottom: 2em; }
.cta { background: var(--teal); color: white; padding: 0.9em 2em; border-radius: 6px; text-decoration: none; font-weight: 600; transition: background 0.2s ease; }
.cta:hover { background: var(--darkteal); }

.subtle-note { margin-top: 1rem; color: #666; font-weight: 500; }

/* Placeholder Sections */
.section { padding: 3rem 1.5rem; max-width: 1000px; margin: 0 auto; }
.section.placeholder { color: #666; }
.section.placeholder h3 { color: var(--darkteal); margin-bottom: 0.5rem; }

/* Footer */
footer { background: var(--darkteal); color: white; text-align: center; padding: 1rem 0; font-size: 0.9rem; }

/* Mobile (≤600px) */
@media (max-width: 600px) {
  body { font-size: 13.6px; line-height: 1.5; }
  header { padding: 0.85rem 1rem; }
  .brand img { width: clamp(150px, 35vw, 250px); }

  nav.primary-nav { display: none !important; }
  .menu-toggle { display: inline-flex !important; align-items: center; justify-content: center; }

  .hero { padding: 2.6rem 1.1rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero h2 { font-size: 1.38rem; }
  .hero p  { font-size: 0.96rem; }
  .cta { font-size: 0.9rem; padding: 0.75em 1.6em; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .mobile-panel { transition: none !important; }
}
/* Environment label */
.env-label {
  position: fixed;
  bottom: 10px;
  left: 10px;
  background: rgba(255, 200, 0, 0.9);
  color: #111;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 5px 9px;
  border-radius: 4px;
  z-index: 9999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}




