/* =========================================================
   MPWH.CA — Complete Design System
   HSV Singles Canada | Meet People With Herpes
   ========================================================= */



/* ── CSS Variables ────────────────────────────────────── */
:root {
  --clr-primary:      #2A7A74;
  --clr-primary-dark: #1E5C57;
  --clr-primary-light:#3AACA4;
  --clr-rose:         #E8617A;
  --clr-rose-light:   #FDE8EC;
  --clr-amber:        #F5A623;
  --clr-navy:         #162230;
  --clr-dark:         #1E2D3D;
  --clr-body:         #3D4F5E;
  --clr-muted:        #6B7D8C;
  --clr-border:       #DDE6EA;
  --clr-bg:           #F7F3F0;
  --clr-white:        #FFFFFF;
  --clr-surface:      #FDFBF9;

  --ff-display: Arial, Georgia, serif;
  --ff-body:    Arial, system-ui, sans-serif;

  --shadow-sm:  0 1px 4px rgba(22,34,48,.06);
  --shadow-md:  0 4px 16px rgba(22,34,48,.10);
  --shadow-lg:  0 8px 32px rgba(22,34,48,.14);
  --shadow-xl:  0 16px 64px rgba(22,34,48,.18);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full:9999px;

  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --nav-h:      72px;
}

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  color: var(--clr-body);
  background: var(--clr-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  color: var(--clr-dark);
  line-height: 1.15;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { max-width: 68ch; }

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: .75rem;
}

/* ── Container ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1360px; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.1;
  min-height: 44px;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}
.btn-primary:hover {
  background: var(--clr-primary-dark);
  border-color: var(--clr-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42,122,116,.35);
}
.btn-rose {
  background: var(--clr-rose);
  color: var(--clr-white);
  border-color: var(--clr-rose);
}
.btn-rose:hover {
  background: #d14d66;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,97,122,.35);
}
.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}
.btn-outline:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--clr-white);
  border-color: rgba(255,255,255,.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-2px);
}
.btn-lg { padding: .95rem 2.25rem; font-size: 1rem; min-height: 50px; }
.btn-sm { padding: .55rem 1.2rem; font-size: .83rem; min-height: 38px; }

/* ── Navigation ───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow var(--transition);
  display: flex;
  align-items: center;
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
  min-height: 44px;
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  object-fit: cover;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}
.logo-text strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-dark);
}
.logo-text span {
  display: block;
  font-size: .68rem;
  color: var(--clr-muted);
  letter-spacing: .04em;
}

.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.1;
  min-height: 40px;
  color: var(--clr-body);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--clr-primary);
  background: rgba(42,122,116,.08);
}

.header-actions { display: flex; align-items: center; gap: .75rem; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  padding: 6px;
}
.hamburger:hover { background: var(--clr-border); }
.hamburger span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--clr-dark);
  transition: all var(--transition);
  transform-origin: left;
}
.hamburger.open span:nth-child(1) { transform: rotate(42deg) scaleX(1.1); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-42deg) scaleX(1.1); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--clr-white);
  z-index: 999;
  padding: 1.5rem;
  flex-direction: column;
  gap: .5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: flex;
  align-items: center;
  padding: .9rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  min-height: 52px;
  color: var(--clr-dark);
  border-bottom: 1px solid var(--clr-border);
  transition: all var(--transition);
}
.mobile-nav a:hover { background: var(--clr-border); color: var(--clr-primary); }
.mobile-nav .mob-cta {
  margin-top: 1.5rem;
  display: flex; flex-direction: column; gap: .75rem;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  padding-top: var(--nav-h);
  background: linear-gradient(135deg, #0E3B38 0%, #1E5C57 40%, #2A7A74 75%, #1E5058 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(58,172,164,.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(232,97,122,.15) 0%, transparent 50%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .07;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.4) 1px, transparent 0);
  background-size: 32px 32px;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--clr-amber);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(1.5); }
}
.hero h1 {
  color: var(--clr-white);
  margin-bottom: 1.25rem;
  max-width: 12ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--clr-primary-light);
}
.hero-desc {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 52ch;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
}
.hero-trust-item svg { color: var(--clr-primary-light); flex-shrink: 0; }

/* Hero signup card */
.hero-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
}
.hero-card h3 {
  font-size: 1.35rem;
  margin-bottom: .4rem;
  text-align: center;
}
.hero-card p {
  text-align: center;
  color: var(--clr-muted);
  font-size: .88rem;
  margin-bottom: 1.5rem;
  max-width: none;
}
.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-dark);
  margin-bottom: .35rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: .93rem;
  color: var(--clr-dark);
  background: var(--clr-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(42,122,116,.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form-terms {
  font-size: .78rem;
  color: var(--clr-muted);
  text-align: center;
  margin-top: .75rem;
  max-width: none;
}
.form-terms a { color: var(--clr-primary); }
.form-divider {
  display: flex; align-items: center; gap: .75rem;
  margin-block: 1.25rem;
  color: var(--clr-muted); font-size: .82rem;
}
.form-divider::before, .form-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--clr-border);
}

/* ── Section Base ─────────────────────────────────────── */
.section { padding-block: 5rem; }
.section--alt { background: var(--clr-white); }
.section--dark {
  background: var(--clr-navy);
  color: var(--clr-white);
}
.section--dark h2, .section--dark h3, .section--dark h4 {
  color: var(--clr-white);
}
.section--teal {
  background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
  color: white;
}
.section--teal h2, .section--teal h3 { color: white; }

.section-header {
  margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p  { color: var(--clr-muted); }

.header-inner > *,
.hero-inner > *,
.about-grid > *,
.contact-grid > *,
.app-inner > * {
  min-width: 0;
}

/* ── Stats Band ───────────────────────────────────────── */
.stats-band {
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
  padding-block: 1.75rem;
}
.stats-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 3.5rem;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: var(--clr-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ── Feature Cards ────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-primary-light);
}
.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(42,122,116,.12), rgba(58,172,164,.18));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--clr-primary);
  position: relative;
  overflow: hidden;
}
.feature-icon::before,
.contact-icon::before {
  content: '';
  width: 24px;
  height: 24px;
  background: currentColor;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
  mask: var(--icon-mask) center / contain no-repeat;
}
.feature-icon,
.contact-icon {
  --icon-tint: var(--clr-primary);
  color: var(--icon-tint);
}
.icon-shield {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l7 3v6c0 5-3.5 9.5-7 11-3.5-1.5-7-6-7-11V5l7-3zm0 3.2L7 7.2v3.6c0 3.8 2.4 7.2 5 8.6 2.6-1.4 5-4.8 5-8.6V7.2l-5-2z'/%3E%3C/svg%3E");
}
.icon-chat {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H9l-5 4v-4H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2zm0 2v8h.7L7 13h13V7H4z'/%3E%3C/svg%3E");
}
.icon-pin {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 1 7 7c0 5.2-7 13-7 13S5 14.2 5 9a7 7 0 0 1 7-7zm0 9.5A2.5 2.5 0 1 0 12 6.5a2.5 2.5 0 0 0 0 5z'/%3E%3C/svg%3E");
}
.icon-video {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 6h11a2 2 0 0 1 2 2v1.3l3.8-2.2A1 1 0 0 1 22 8v8a1 1 0 0 1-1.2.9L17 14.7V16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zm0 2v8h11V8H4z'/%3E%3C/svg%3E");
}
.icon-community {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm6 1a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5zM3 18c0-2.8 3.2-4.5 6-4.5s6 1.7 6 4.5v1H3v-1zm11.5 1c.2-1.1-.2-2.3-1-3.2.9-.2 1.9-.3 2.5-.3 2.4 0 5 1.4 5 3.5H14.5z'/%3E%3C/svg%3E");
}
.icon-badge {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l2.3 2.1 3.1-.4.9 3 2.8 1.5-1.5 2.8 1.5 2.8-2.8 1.5-.9 3-3.1-.4L12 22l-2.3-2.1-3.1.4-.9-3L2.9 15.8l1.5-2.8-1.5-2.8 2.8-1.5.9-3 3.1.4L12 2zm-1.1 13.8l5.2-5.2-1.4-1.4-3.8 3.8-1.9-1.9-1.4 1.4 3.3 3.3z'/%3E%3C/svg%3E");
}
.icon-spark {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l1.7 4.3L18 8l-4.3 1.7L12 14l-1.7-4.3L6 8l4.3-1.7L12 2zm7 11l.9 2.1L22 16l-2.1.9L19 19l-.9-2.1L16 16l2.1-.9L19 13zM5 14l1.3 3.2L9.5 18l-3.2 1.3L5 22l-1.3-2.7L.5 18l3.2-.8L5 14z'/%3E%3C/svg%3E");
}
.icon-mobile {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 2h8a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm0 3v14h8V5H8zm4 12.5a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5z'/%3E%3C/svg%3E");
}
.icon-inclusive {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm-7.5 8.5A2.5 2.5 0 1 1 7 10a2.5 2.5 0 0 1-2.5 2.5zm12 0A2.5 2.5 0 1 1 19 10a2.5 2.5 0 0 1-2.5 2.5zM2 19c0-2.5 2.7-4 5-4 1.5 0 2.9.5 3.8 1.3A6.5 6.5 0 0 0 9 20H2v-1zm7 1c0-2.8 3-4.5 5.5-4.5S20 17.2 20 20v1H9v-1zm11 0c0-1.4-.6-2.7-1.6-3.7.9-.8 2.1-1.3 3.6-1.3 2.3 0 5 1.5 5 4v1h-7z' transform='translate(-2 -1)'/%3E%3C/svg%3E");
}
.icon-kind {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21s-6.7-4.3-9.3-8.4C.8 9.7 2.1 6 5.8 6c2.2 0 3.5 1.3 4.2 2.5C10.7 7.3 12 6 14.2 6 17.9 6 19.2 9.7 21.3 12.6 18.7 16.7 12 21 12 21z'/%3E%3C/svg%3E");
}
.icon-canada {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l1.2 3.3 3.5-1.1-1.1 3.5L19 9l-3.1 1.4 1 2.4-2.6-.3.5 4.8h-1.7L12 22l-1.1-4.7H9.2l.5-4.8-2.6.3 1-2.4L5 9l3.4-1.3-1.1-3.5 3.5 1.1L12 2z'/%3E%3C/svg%3E");
}
.icon-growth {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 21v-6.2C7.2 14.4 5 11.3 5 7.5V6h1.5c2.4 0 4.5 1 5.9 2.6C13.7 6.4 16 5 18.5 5H20v1.5c0 4.8-3 8.3-7 8.6V21H11z'/%3E%3C/svg%3E");
}
.icon-education {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5.5C4 4.7 4.7 4 5.5 4H18v14H7a3 3 0 0 0-3 3V5.5zM18 20H7a1 1 0 0 1 0-2h11v2z'/%3E%3C/svg%3E");
}
.icon-search {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10.5 4a6.5 6.5 0 1 1 0 13 6.5 6.5 0 0 1 0-13zm0 2a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9zm5.7 10.3l3.8 3.8-1.4 1.4-3.8-3.8 1.4-1.4z'/%3E%3C/svg%3E");
}
.icon-message {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18v12H7l-4 3V5zm2 2v9.2L6.3 15H19V7H5z'/%3E%3C/svg%3E");
}
.icon-like {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21s-6.6-4.2-9-8.1C1.2 10.3 2.2 7 5.6 7c2 0 3.3 1.1 4.1 2.3C10.5 8.1 11.8 7 13.8 7c3.4 0 4.4 3.3 2.6 5.9-2.4 3.9-9 8.1-9 8.1z'/%3E%3C/svg%3E");
}
.icon-notify {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 22a2.5 2.5 0 0 0 2.5-2h-5A2.5 2.5 0 0 0 12 22zm6-6V11a6 6 0 1 0-12 0v5L4 18v1h16v-1l-2-2z'/%3E%3C/svg%3E");
}
.icon-mail {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6h18v12H3V6zm2 2v.4l7 4.7 7-4.7V8l-7 4.7L5 8z'/%3E%3C/svg%3E");
}
.icon-alert {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3l10 18H2L12 3zm-1 6v5h2V9h-2zm0 7v2h2v-2h-2z'/%3E%3C/svg%3E");
}
.icon-press {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 10v4l10-3V8L3 10zm11-1l5-2v10l-5-2V9zm-1 8v2a2 2 0 0 1-2 2H8v-2h3v-2h2z'/%3E%3C/svg%3E");
}
.icon-map {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a6 6 0 0 1 6 6c0 4.5-6 12-6 12S6 12.5 6 8a6 6 0 0 1 6-6zm0 8.5A2.5 2.5 0 1 0 12 5.5a2.5 2.5 0 0 0 0 5z'/%3E%3C/svg%3E");
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.feature-card p  { font-size: .9rem; color: var(--clr-muted); max-width: none; }

/* ── How It Works ─────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.step-card {
  text-align: center;
  padding: 1.5rem;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--clr-primary);
  color: white;
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(42,122,116,.35);
}
.step-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.step-card p  { font-size: .88rem; color: var(--clr-muted); max-width: none; }

/* ── Profile Cards ────────────────────────────────────── */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.profile-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
  cursor: pointer;
}
.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.profile-photo {
  height: 200px;
  background: linear-gradient(135deg, #8ecfc9 0%, #a8ddd9 50%, #7bc4be 100%);
  background-image: url('images/avatar.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  color: transparent;
}
.profiles-grid .profile-card:nth-child(1) .profile-photo,
.profiles-grid .profile-card:nth-child(2) .profile-photo,
.profiles-grid .profile-card:nth-child(3) .profile-photo,
.profiles-grid .profile-card:nth-child(4) .profile-photo,
.profiles-grid .profile-card:nth-child(5) .profile-photo,
.profiles-grid .profile-card:nth-child(6) .profile-photo {
  background-image: url('images/avatar.png') !important;
  background-size: cover !important;
  background-position: center !important;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}
.profile-photo::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(22,34,48,.4));
}
.profile-online {
  position: absolute; bottom: 10px; right: 10px;
  z-index: 1;
  width: 12px; height: 12px;
  background: #4CAF50;
  border: 2px solid white;
  border-radius: 50%;
}
.profile-info { padding: 1rem; }
.profile-name {
  font-weight: 700;
  font-size: .93rem;
  color: var(--clr-dark);
  margin-bottom: .15rem;
}
.profile-meta {
  font-size: .8rem;
  color: var(--clr-muted);
  margin-bottom: .6rem;
}
.profile-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.profile-tag {
  font-size: .72rem;
  padding: .2rem .6rem;
  background: rgba(42,122,116,.1);
  color: var(--clr-primary);
  border-radius: var(--radius-full);
  font-weight: 500;
}

/* ── Testimonials ─────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--clr-border);
  position: relative;
  transition: all var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-family: var(--ff-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--clr-primary-light);
  opacity: .3;
}
.review-stars {
  display: flex; gap: .2rem;
  margin-bottom: .75rem;
  color: var(--clr-amber);
  font-size: .9rem;
}
.review-text {
  font-size: .92rem;
  color: var(--clr-body);
  margin-bottom: 1.25rem;
  font-style: italic;
  max-width: none;
}
.review-author {
  display: flex; align-items: center; gap: .75rem;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.review-author-name { font-weight: 600; font-size: .88rem; color: var(--clr-dark); }
.review-author-meta { font-size: .78rem; color: var(--clr-muted); }

/* ── App Download ─────────────────────────────────────── */
.app-section {
  background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-dark) 100%);
  position: relative;
  overflow: hidden;
}
.app-section::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(42,122,116,.25) 0%, transparent 65%);
  border-radius: 50%;
}
.app-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative; z-index: 1;
}
.app-store-btns {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: 1.5rem;
}
.app-store-btn {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1.5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  color: white;
  transition: all var(--transition);
}
.app-store-btn:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(-2px);
}
.app-store-btn svg { font-size: 1.8rem; }
.app-store-btn small { display: block; font-size: .7rem; opacity: .7; line-height: 1; }
.app-store-btn strong { display: block; font-size: .95rem; line-height: 1.2; }
.app-mockup {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.app-shot-image {
  width: min(100%, 380px);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
  object-fit: cover;
}
.phone-frame {
  width: 240px;
  background: var(--clr-dark);
  border-radius: 36px;
  border: 6px solid #2A3544;
  box-shadow: 0 32px 80px rgba(0,0,0,.5), inset 0 1px 1px rgba(255,255,255,.1);
  overflow: hidden;
  position: relative;
}
.app-section .phone-frame {
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  background-image: url('images/mpwh-app.jpg');
  background-size: cover;
  background-position: center;
}
.app-section .phone-notch,
.app-section .phone-screen {
  display: none;
}
.phone-notch {
  height: 26px;
  background: #1a2332;
  border-radius: 0 0 18px 18px;
  width: 100px;
  margin: 0 auto;
}
.phone-screen {
  padding: 1rem;
  min-height: 420px;
  background: linear-gradient(180deg, #1E5C57 0%, #2A7A74 100%);
}
.phone-profile-preview {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.phone-profile-img {
  height: 160px;
  background: linear-gradient(135deg, #8ecfc9, #5bb5ae);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.phone-profile-body { padding: .75rem; }
.phone-profile-name {
  font-weight: 700; font-size: .85rem;
  color: var(--clr-dark); margin-bottom: .25rem;
}
.phone-profile-loc {
  font-size: .72rem; color: var(--clr-muted); margin-bottom: .6rem;
}
.phone-match-btn {
  display: block; width: 100%;
  padding: .5rem;
  background: var(--clr-rose);
  color: white; font-size: .78rem;
  font-weight: 600; border-radius: 8px;
  text-align: center;
}

/* ── FAQ ──────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
  background: var(--clr-white);
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  color: var(--clr-dark);
  gap: 1rem;
  transition: color var(--transition);
  user-select: none;
}
.faq-item.open .faq-question { color: var(--clr-primary); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--clr-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .7rem;
  transition: all var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--clr-primary);
  color: white;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1), padding .35s;
  padding: 0 1.4rem;
}
.faq-answer p {
  padding-bottom: 1.1rem;
  font-size: .9rem;
  color: var(--clr-body);
  max-width: none;
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 600px; }

/* ── Blog Cards ───────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-thumb {
  height: 200px;
  background: linear-gradient(135deg, #b8e4e1 0%, #8ecfc9 100%);
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: transparent;
  position: relative;
  overflow: hidden;
}
.blog-grid .blog-card:nth-child(1) .blog-thumb {
  background-image: url('images/blog-disclosure-guide.svg') !important;
  background-size: cover !important;
  background-position: center !important;
}
.blog-grid .blog-card:nth-child(2) .blog-thumb {
  background-image: url('images/blog-hsv-types.svg') !important;
  background-size: cover !important;
  background-position: center !important;
}
.blog-grid .blog-card:nth-child(3) .blog-thumb {
  background-image: url('images/blog-confidence.svg') !important;
  background-size: cover !important;
  background-position: center !important;
}
.blog-grid .blog-card:nth-child(4) .blog-thumb {
  background-image: url('images/blog-first-date-ideas.svg') !important;
  background-size: cover !important;
  background-position: center !important;
}
.blog-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(22,34,48,.15));
}
.blog-category {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--clr-primary);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: var(--radius-full);
  z-index: 1;
}
.blog-body { padding: 1.4rem; }
.blog-meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: .78rem;
  color: var(--clr-muted);
  margin-bottom: .75rem;
}
.blog-title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-dark);
  margin-bottom: .5rem;
  line-height: 1.3;
  transition: color var(--transition);
}
.blog-card:hover .blog-title { color: var(--clr-primary); }
.blog-excerpt {
  font-size: .85rem;
  color: var(--clr-muted);
  margin-bottom: 1rem;
  max-width: none;
}
.blog-read-more {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .83rem;
  font-weight: 600;
  color: var(--clr-primary);
  transition: gap var(--transition);
}
.blog-card:hover .blog-read-more { gap: .7rem; }

/* ── CTA Section ──────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--clr-rose) 0%, #c94861 100%);
  padding-block: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% -20%, rgba(255,255,255,.15) 0%, transparent 60%);
}
.cta-section h2, .cta-section p { color: white; position: relative; z-index: 1; }
.cta-section p { opacity: .88; margin-bottom: 2rem; margin-inline: auto; }
.cta-actions { position: relative; z-index: 1; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn-white {
  background: white;
  color: var(--clr-rose);
  border-color: white;
}
.btn-white:hover {
  background: rgba(255,255,255,.92);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

/* ── Trust Badges ─────────────────────────────────────── */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 2rem;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem 1rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  font-size: .78rem;
  color: rgba(255,255,255,.9);
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--clr-navy);
  color: rgba(255,255,255,.75);
}
.footer-main {
  padding-block: 3.5rem;
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 3rem;
}
.footer-brand p {
  font-size: .88rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,.55);
  max-width: 38ch;
}
.footer-social {
  display: flex; gap: .5rem;
}
.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: all var(--transition);
  color: rgba(255,255,255,.7);
}
.social-btn:hover {
  background: var(--clr-primary);
  color: white;
  transform: translateY(-2px);
}
.footer-col h4 {
  color: white;
  font-family: var(--ff-body);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--clr-primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }
.footer-bottom-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ── Page Header (inner pages) ────────────────────────── */
.page-hero {
  padding-block: 6rem 3.5rem;
  padding-top: calc(var(--nav-h) + 3rem);
  background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.12) 1px, transparent 0);
  background-size: 28px 28px;
}
.page-hero h1, .page-hero p { position: relative; z-index: 1; color: white; }
.page-hero p { opacity: .82; margin-inline: auto; margin-top: .75rem; }

/* ── About Page ───────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #8ecfc9 0%, #5bb5ae 50%, #2A7A74 100%);
  background-image: url('images/mpwh.jpg');
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  color: transparent;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.about-img-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background: var(--clr-rose-light);
  border-radius: 50%;
  z-index: 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card {
  text-align: center;
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.team-name { font-weight: 700; font-size: .95rem; margin-bottom: .2rem; }
.team-role { font-size: .82rem; color: var(--clr-primary); font-weight: 500; }

/* ── Login Page ───────────────────────────────────────── */
.auth-page {
  min-height: 100dvh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #F0F8F7 0%, var(--clr-bg) 100%);
}
.auth-container {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  padding: 1.25rem;
}
.auth-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--clr-border);
}
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-card h2 { text-align: center; font-size: 1.65rem; margin-bottom: .4rem; }
.auth-card > p {
  text-align: center; color: var(--clr-muted);
  font-size: .9rem; margin-bottom: 1.75rem;
}
.social-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.social-login-btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: .85rem;
  font-weight: 600;
  color: var(--clr-dark);
  transition: all var(--transition);
}
.social-login-btn:hover { border-color: var(--clr-primary); background: rgba(42,122,116,.04); }
.forgot-link {
  text-align: right; display: block;
  font-size: .82rem; color: var(--clr-primary);
  margin-top: -.5rem; margin-bottom: 1rem;
}
.auth-switch {
  text-align: center;
  margin-top: 1.25rem;
  font-size: .88rem;
  color: var(--clr-muted);
}
.auth-switch a { color: var(--clr-primary); font-weight: 600; }

/* ── Contact Page ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-item {
  display: flex; gap: 1rem;
  padding: 1.25rem;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  margin-bottom: .75rem;
}
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(42,122,116,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--clr-primary);
  position: relative;
}
.contact-form-wrap {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}

/* ── Terms / Privacy ──────────────────────────────────── */
.legal-content { max-width: 800px; margin-inline: auto; }
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: .75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-border);
}
.legal-content h2:first-of-type { border-top: none; margin-top: 0; }
.legal-content p  { font-size: .93rem; line-height: 1.75; margin-bottom: 1rem; max-width: none; color: var(--clr-body); }
.legal-content ul { margin-left: 1.25rem; margin-bottom: 1rem; list-style: disc; }
.legal-content li { font-size: .93rem; line-height: 1.75; color: var(--clr-body); margin-bottom: .35rem; }
.legal-toc {
  background: rgba(42,122,116,.06);
  border: 1px solid rgba(42,122,116,.15);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}
.legal-toc h3 { font-size: .95rem; margin-bottom: .75rem; }
.legal-toc ol { list-style: decimal; margin-left: 1.25rem; }
.legal-toc li { font-size: .88rem; margin-bottom: .35rem; }
.legal-toc a { color: var(--clr-primary); }

/* ── Breadcrumb ───────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  padding-top: .5rem;
  position: relative; z-index: 1;
}
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: white; }

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(260px, .85fr);
  gap: 2rem;
  align-items: start;
}
.article-main,
.article-sidebar {
  min-width: 0;
}
.article-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.article-main .article-card {
  padding: 2.25rem;
}
.article-cover {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  border: 1px solid var(--clr-border);
}
.article-sidebar .article-card {
  padding: 1.5rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  font-size: .82rem;
  color: var(--clr-muted);
  margin-bottom: 1.25rem;
}
.article-intro {
  font-size: 1rem;
  color: var(--clr-body);
}
.article-main h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
  margin-bottom: .85rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--clr-border);
}
.article-main h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.article-main h3 {
  font-size: 1.1rem;
  margin-top: 1.35rem;
  margin-bottom: .6rem;
}
.article-main p,
.article-main li {
  max-width: none;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--clr-body);
}
.article-main ul,
.article-main ol {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}
.article-main ul { list-style: disc; }
.article-main ol { list-style: decimal; }
.article-main strong { color: var(--clr-dark); }
.article-callout {
  background: rgba(42,122,116,.06);
  border-left: 4px solid var(--clr-primary);
  padding: 1rem 1.1rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.25rem 0;
}
.article-sidebar .article-card + .article-card {
  margin-top: 1rem;
}
.article-sidebar h3 {
  font-size: 1rem;
  margin-bottom: .85rem;
}
.article-toc ol,
.article-related ul {
  margin-left: 1rem;
}
.article-toc li,
.article-related li {
  margin-bottom: .55rem;
}
.article-toc a,
.article-related a,
.article-main a {
  color: var(--clr-primary);
}
.article-toc a:hover,
.article-related a:hover,
.article-main a:hover {
  color: var(--clr-primary-dark);
}
.article-aside-note {
  font-size: .84rem;
  color: var(--clr-muted);
  line-height: 1.7;
}
.author-card-name {
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: .2rem;
}
.author-card-role {
  font-size: .82rem;
  color: var(--clr-primary);
  margin-bottom: .75rem;
}

/* ── Utilities ────────────────────────────────────────── */
.mt-1  { margin-top: .5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.gap-btn { display: flex; gap: .75rem; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .9rem;
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 600;
}
.pill-green  { background: #E8F5E9; color: #2E7D32; }
.pill-rose   { background: var(--clr-rose-light); color: #c94861; }
.pill-teal   { background: rgba(42,122,116,.1); color: var(--clr-primary); }
.pill-amber  { background: #FFF8E1; color: #F57F17; }

/* ── Animations ───────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.animate-fade-in-up { animation: fadeInUp .6s ease forwards; }
.animate-delay-1    { animation-delay: .1s; opacity: 0; }
.animate-delay-2    { animation-delay: .2s; opacity: 0; }
.animate-delay-3    { animation-delay: .35s; opacity: 0; }
.animate-delay-4    { animation-delay: .5s; opacity: 0; }

/* ── Tabs ─────────────────────────────────────────────── */
.tabs { display: flex; gap: .4rem; border-bottom: 2px solid var(--clr-border); margin-bottom: 2rem; }
.tab-btn {
  padding: .7rem 1.25rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--clr-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.tab-btn:hover   { color: var(--clr-primary); }
.tab-btn.active  { color: var(--clr-primary); border-bottom-color: var(--clr-primary); }
.tab-panel       { display: none; }
.tab-panel.active{ display: block; }

/* ── Notification Toast ───────────────────────────────── */
.toast {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 9999;
  background: var(--clr-dark);
  color: white;
  padding: .9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex; align-items: center; gap: .75rem;
  font-size: .88rem;
  max-width: 320px;
  transform: translateY(100px);
  opacity: 0;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ── Scroll to top ────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--clr-primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0; pointer-events: none;
  transition: all var(--transition);
  font-size: 1rem;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--clr-primary-dark); transform: translateY(-2px); }

/* ── Page transition ──────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0;
  background: var(--clr-primary);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, pointer-events .5s;
  animation: loader-failsafe-hide .01s linear 2.5s forwards;
}
.page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-logo {
  color: white;
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 700;
  animation: float 1.5s ease-in-out infinite;
}
@keyframes loader-failsafe-hide {
  to {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-inner  { gap: 2rem; }
  .app-inner   { gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .container { padding-inline: 1rem; }
  h1 { font-size: clamp(1.85rem, 9vw, 2.75rem); }
  h2 { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  h3 { font-size: clamp(1.1rem, 5vw, 1.4rem); }

  .main-nav,
  .header-actions .btn { display: none; }

  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .header-inner { gap: .75rem; }
  .site-logo { min-width: 0; }
  .logo-text strong { font-size: 1.05rem; }
  .logo-text span { font-size: .62rem; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 2.5rem 3rem;
  }
  .hero { min-height: auto; }
  .hero h1,
  .page-hero h1 { max-width: 14ch; margin-inline: auto; }
  .hero-desc    { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust   { justify-content: center; }
  .hero-card    { max-width: 480px; margin-inline: auto; }
  .app-store-btn { width: min(100%, 320px); }

  .page-hero {
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 2.75rem;
  }

  .section-header { margin-bottom: 2.25rem; }
  .article-shell { grid-template-columns: 1fr; }
  .article-main .article-card { padding: 1.75rem; }

  .about-grid   { grid-template-columns: 1fr; }
  .app-inner    { grid-template-columns: 1fr; text-align: center; }
  .app-store-btns { justify-content: center; }
  .app-mockup   { margin-top: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer-main    { grid-template-columns: 1fr 1fr; }
  .footer-brand   { grid-column: 1 / -1; }
  .footer-bottom  { flex-direction: column; text-align: center; }

  .section { padding-block: 3.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .stats-grid { gap: 1.5rem 2rem; }
  .features-grid,
  .reviews-grid,
  .blog-grid,
  .team-grid { grid-template-columns: 1fr; }
  .profiles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .container { padding-inline: .9rem; }

  .header-inner { gap: .5rem; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-text span { display: none; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .hero-trust { gap: .75rem; }
  .hero-card,
  .feature-card,
  .review-card,
  .team-card,
  .contact-form-wrap,
  .legal-toc,
  .auth-card,
  .article-main .article-card,
  .article-sidebar .article-card { padding: 1.5rem; }
  .page-hero { padding-top: calc(var(--nav-h) + 1.75rem); }
  .page-hero p,
  .hero-desc { font-size: .98rem; }
  .app-store-btns,
  .cta-actions,
  .gap-btn { flex-direction: column; }
  .app-store-btn,
  .cta-actions .btn,
  .gap-btn .btn { width: 100%; }
  .stats-grid { gap: 1rem; }
  .footer-main { grid-template-columns: 1fr; }
  .profiles-grid { grid-template-columns: 1fr; }
  .social-login { grid-template-columns: 1fr; }
  .auth-card { padding: 1.75rem 1.25rem; }
}
