/* ============================================================
   MemberMe – Compliance Site Styles
   Effective: February 24, 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Reset & base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand:        #14B8A6;   /* teal — primary accent */
  --brand-dark:   #0EA5A4;   /* teal hover */
  --brand-light:  #f0fdfa;   /* light teal tint */
  --navy:         #1F3A5F;   /* navy — headings, footer, nav */
  --orange:       #F97316;   /* orange — energy/action, gradient end */
  --text:         #0F172A;   /* near black */
  --text-muted:   #64748B;   /* medium gray */
  --border:       #E2E8F0;   /* light gray */
  --bg:           #ffffff;
  --bg-alt:       #F8FAFC;   /* off-white */
  --radius:       0.5rem;
  --radius-lg:    0.875rem;
  --max-w:        780px;
  --nav-h:        64px;
  --shadow-sm:    0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:    0 4px 16px rgba(15,23,42,0.10), 0 2px 6px rgba(15,23,42,0.06);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* ── Top bar ── */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.site-logo:hover { text-decoration: none; color: var(--brand); }

.logo-mark {
  flex-shrink: 0;
  height: 48px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand);
  text-decoration: none;
}

/* ── Hamburger toggle ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 200;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Animate to X when open */
.nav-toggle.open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero (index only) ── */
.hero {
  background: #1F3A5F;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 10%, rgba(20,184,166,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 90%, rgba(20,184,166,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 85% 80%, rgba(249,115,22,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
}

.hero-mark {
  width: 220px;
  height: 220px;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3));
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  background: linear-gradient(90deg, #14B8A6, #5EEAD4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  max-width: 600px;
  margin: 0 0 0.75rem;
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
}

/* ── Main content ── */
main {
  flex: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0.5rem 1.5rem 3rem;
}

/* ── Page header (inner pages) ── */
.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--brand);
}

.page-header h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
}

.page-header .effective-date {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Section label ── */
.section-label {
  margin-top: 2rem;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Card links (index) ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.18s, transform 0.15s;
}
.card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--brand-light);
  color: var(--brand);
  flex-shrink: 0;
}
.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Contact section ── */
.contact-section {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.contact-section h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.contact-section p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Prose content ── */
.prose h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.5rem;
  padding-top: 0.25rem;
}

.prose h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.25rem 0 0.35rem;
}

.prose p {
  margin-bottom: 0.75rem;
}

.prose ul, .prose ol {
  margin: 0.5rem 0 0.75rem 1.5rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose strong {
  font-weight: 600;
}

.prose a {
  color: var(--brand);
}

/* ── Content sections (Hero's Journey) ── */
.content-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.content-section.section-alt {
  background: var(--bg-alt);
  max-width: 100%;
}

.content-section.section-alt > h2,
.content-section.section-alt > p,
.content-section.section-alt > .outcomes-grid,
.content-section.section-alt > .app-frame {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.content-section > p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* Problem list */
.problem-list {
  list-style: none;
  padding: 0;
  margin-top: 0.75rem;
}

.problem-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.problem-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* Steps grid (3-col) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Outcomes grid */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
}

.outcome-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.outcome-item svg {
  color: var(--brand);
  flex-shrink: 0;
}

.outcome-item span {
  font-size: 0.95rem;
  color: var(--text);
}

/* Audience pills */
.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.audience-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--bg);
  transition: border-color 0.15s, background 0.15s;
}

.audience-pill:hover {
  border-color: var(--brand);
  background: var(--brand-light);
}

/* ── Story section ── */
.section-story > p {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.story-follow-label {
  margin-top: 1.25rem;
  margin-bottom: 0.6rem !important;
  font-weight: 600;
  color: var(--navy) !important;
}

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: #0A66C2;
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: var(--shadow-sm);
}

.btn-linkedin:hover {
  background: #004182;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: #fff;
}

.story-pull {
  border-left: 3px solid var(--brand);
  margin: 0 0 1.5rem;
  padding: 0.5rem 0 0.5rem 1.25rem;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
}

/* ── Sneak peek (directly below hero) ── */
.sneak-peek {
  padding-top: 1.75rem;
  padding-bottom: 1rem;
}

.sneak-peek-heading {
  margin-bottom: 0.75rem;
}

.sneak-peek .app-frame {
  margin-top: 0;
}

/* ── App screenshot frame ── */
.app-frame {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(15,23,42,0.18), 0 2px 8px rgba(15,23,42,0.10);
  border: 1px solid var(--border);
  cursor: zoom-in;
  position: relative;
}

.app-frame-zoom-hint {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(15,23,42,0.65);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.app-frame:hover .app-frame-zoom-hint { opacity: 1; }

/* ── Waitlist modal ── */
.waitlist-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,15,30,0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.waitlist-modal.open { display: flex; }

.waitlist-modal-inner {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem 2rem 2rem;
}

.waitlist-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.waitlist-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.waitlist-field {
  display: flex;
  gap: 0.5rem;
}

.waitlist-field input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.waitlist-field input:focus {
  border-color: var(--accent);
}

.waitlist-field button {
  white-space: nowrap;
}

.waitlist-msg {
  font-size: 0.875rem;
  margin: 0.75rem 0 0;
  min-height: 1.25rem;
}

.waitlist-msg-success { color: #16a34a; }
.waitlist-msg-error { color: #dc2626; }

.waitlist-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s;
  padding: 0.25rem 0.5rem;
  z-index: 1;
}

.waitlist-modal-close:hover { color: var(--text); }

/* ── Screenshot modal ── */
.screenshot-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,15,30,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.screenshot-modal.open { display: flex; }

.screenshot-modal-img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.screenshot-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s;
  padding: 0.25rem 0.5rem;
}

.screenshot-modal-close:hover { color: #fff; }

.app-frame-bar {
  background: #e8eaed;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid #d1d5db;
}

.app-frame-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
}

.app-frame-dot:nth-child(1) { background: #f87171; }
.app-frame-dot:nth-child(2) { background: #fbbf24; }
.app-frame-dot:nth-child(3) { background: #4ade80; }

.app-frame-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Hero CTA button ── */
.btn-hero {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.8rem 2rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(20,184,166,0.4);
}

.btn-hero:hover {
  background: var(--brand-dark);
  box-shadow: 0 6px 28px rgba(20,184,166,0.5);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

/* ── CTA button ── */
.btn-cta {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.75rem 1.75rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
  box-shadow: var(--shadow-sm);
}

.btn-cta:hover {
  background: var(--brand-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

/* ── Highlight box ── */
.highlight-box {
  background: var(--brand-light);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.highlight-box p { margin: 0; }
.highlight-box + .highlight-box { margin-top: -0.25rem; }

/* ── Info table ── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
}
.info-table th, .info-table td {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.info-table th {
  background: var(--bg-alt);
  font-weight: 600;
  width: 35%;
}

/* ── Opt-in demo (optin.html) ── */
.optin-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 540px;
  background: var(--bg-alt);
  margin: 1.5rem 0;
}

.optin-card label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.6;
}

.optin-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 0.15rem;
  accent-color: var(--brand);
  cursor: pointer;
}

.optin-card .consent-text {
  color: var(--text);
}

.optin-card .consent-links {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  margin-left: 1.65rem;
}

.btn-demo {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.6rem 1.4rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.6;
}

.screenshot-note {
  background: #fefce8;
  border: 1px solid #fde047;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #713f12;
  margin-bottom: 1.5rem;
}

/* ── Footer ── */
.site-footer {
  background: #1F3A5F;
  border-top: none;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

.site-footer a {
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}
.site-footer a:hover {
  color: #14B8A6;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.625rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .card-grid { grid-template-columns: 1fr; }
  .info-table th { width: 45%; }
  .hero { padding: 2rem 1.25rem; }
  .hero-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .hero-mark { width: 140px; height: 140px; }
  .hero p { margin: 0 auto 0.75rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .audience-grid { justify-content: center; }
}
