/* Art direction: Premium Himachali matrimonial landing page
   Tone: warm, elegant, trustworthy, family-oriented
   Typography: Playfair Display + DM Sans
   Accent: brand magenta/pink from HimRishtey */

:root,
[data-theme="light"] {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;

  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.2vw, 1rem);
  --text-base: clamp(1rem, 0.97rem + 0.2vw, 1.08rem);
  --text-lg: clamp(1.125rem, 1.04rem + 0.4vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.15rem + 1vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.5rem + 2vw, 3.4rem);
  --text-3xl: clamp(2.6rem, 1.8rem + 3vw, 4.8rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --color-primary: #D92768;
  --color-primary-hover: #be1f59;
  --color-primary-soft: #fde8f0;
  --color-primary-soft-2: #fff1f5;

  --color-bg: #fffafc;
  --color-surface: #ffffff;
  --color-surface-2: #fff5f8;
  --color-surface-3: #fff0f5;
  --color-border: rgba(217, 39, 104, 0.12);
  --color-divider: rgba(34, 26, 29, 0.08);

  --color-text: #221a1d;
  --color-text-muted: #66545b;
  --color-text-faint: #9d8e94;
  --color-text-inverse: #fffafc;

  --color-success: #2f855a;
  --color-warning: #b7791f;

  --shadow-sm: 0 8px 24px rgba(51, 24, 37, 0.06);
  --shadow-md: 0 18px 46px rgba(51, 24, 37, 0.10);
  --shadow-lg: 0 28px 70px rgba(51, 24, 37, 0.14);

  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 999px;

  --container-max: 1280px;
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --color-bg: #140d10;
  --color-surface: #1b1316;
  --color-surface-2: #21181c;
  --color-surface-3: #281d22;
  --color-border: rgba(255, 194, 217, 0.12);
  --color-divider: rgba(255, 255, 255, 0.08);

  --color-primary: #ff4f8c;
  --color-primary-hover: #ff73a5;
  --color-primary-soft: rgba(255, 79, 140, 0.12);
  --color-primary-soft-2: rgba(255, 79, 140, 0.08);

  --color-text: #f7e8ee;
  --color-text-muted: #ccb4bf;
  --color-text-faint: #937d86;
  --color-text-inverse: #170e12;

  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 18px 46px rgba(0, 0, 0, 0.30);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.38);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: rgba(217, 39, 104, 0.18);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: var(--space-3);
  z-index: 9999;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
}

.skip-link:focus {
  left: var(--space-3);
}

.container-xl {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-header {
  max-width: 760px;
  margin: 0 auto var(--space-16);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.12;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 64ch;
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--color-bg) 84%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
}

.navbar-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.navbar-logo
{
    display: block;
    width: 190px;
    height: auto;
    max-width: none;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
}

.brand-name {
  font-size: 1.35rem;
  font-family: var(--font-display);
  color: var(--color-text);
}

.brand-accent {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.theme-toggle-btn,
.hamburger,
.drawer-close {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-nav-login,
.btn-nav-cta,
.btn-drawer-login,
.btn-drawer-cta,
.btn-hero-primary,
.btn-hero-secondary,
.btn-feature-cta,
.btn-community-cta,
.btn-app-download,
.btn-form-submit,
.btn-cta-primary,
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: all var(--transition);
}

.btn-nav-login,
.btn-drawer-login,
.btn-hero-secondary,
.btn-cta-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-nav-login:hover,
.btn-drawer-login:hover,
.btn-hero-secondary:hover,
.btn-cta-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-nav-cta,
.btn-drawer-cta,
.btn-hero-primary,
.btn-feature-cta,
.btn-community-cta,
.btn-app-download,
.btn-form-submit,
.btn-cta-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-nav-cta:hover,
.btn-drawer-cta:hover,
.btn-hero-primary:hover,
.btn-feature-cta:hover,
.btn-community-cta:hover,
.btn-app-download:hover,
.btn-form-submit:hover,
.btn-cta-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
}

.mobile-drawer,
.drawer-overlay {
  display: none;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at top left, rgba(217, 39, 104, 0.12), transparent 40%),
    radial-gradient(circle at bottom right, rgba(217, 39, 104, 0.08), transparent 35%),
    linear-gradient(180deg, var(--color-surface-2), var(--color-bg));
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217, 39, 104, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 39, 104, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 85%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding-bottom: var(--space-10);
}

.hero-content {
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}

.hero-title em {
  font-style: italic;
  color: var(--color-primary);
  font-weight: 600;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 58ch;
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: var(--space-10);
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-xl);
  padding: 1rem 1.2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 120px;
}

.stat-number,
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.3rem);
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 52px;
  background: var(--color-divider);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: min(100%, 470px);
  min-height: 500px;
}

.profile-card-preview {
  position: absolute;
  width: 100%;
  max-width: 370px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 78px 1fr auto;
  align-items: center;
  gap: 1rem;
}

.card-back {
  top: 40px;
  left: 10px;
  transform: rotate(-8deg);
  opacity: 0.9;
}

.card-front {
  top: 150px;
  right: 0;
  transform: rotate(6deg);
}

.pcp-avatar {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.pcp-avatar-soft {
  background: linear-gradient(135deg, #f9d5e2, #f5b8cf);
}

.pcp-avatar-main {
  background: linear-gradient(135deg, #fde8f0, #f7c2d7);
}

.pcp-info {
  min-width: 0;
}

.pcp-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.pcp-detail {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.pcp-badge {
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.hero-match-badge {
  position: absolute;
  bottom: 76px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.hero-wave {
  position: relative;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

.district-ticker {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-surface);
  overflow: hidden;
}

.ticker-label {
  padding: 1rem 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  border-right: 1px solid var(--color-divider);
}

.ticker-track {
  overflow: hidden;
}

.ticker-items {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: tickerMove 36s linear infinite;
  padding: 1rem 0;
}

.ticker-items span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  color: var(--color-text-muted);
  font-weight: 600;
}

.ticker-items span::before {
  content: "•";
  color: var(--color-primary);
}

@keyframes tickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* .steps-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  align-items: stretch;
} */

.steps-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);

    gap: 1.5rem;
    align-items: center;
    width: 100%;
}

.step-item {
    width: 100%;
    min-width: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}

/* .step-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  position: relative;
} */

.step-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: rgba(217, 39, 104, 0.15);
  line-height: 1;
  margin-bottom: 0.7rem;
}

.step-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.step-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.step-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.features-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.features-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
  max-width: 52ch;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1.4rem;
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.feature-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.fc-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.communities-section {
  background: linear-gradient(180deg, transparent, var(--color-primary-soft-2));
}

.community-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.ctag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-sm);
  border: 1px solid transparent;
}

.ctag-1 {
  background: #fff;
  color: var(--color-primary);
  border-color: rgba(217, 39, 104, 0.14);
}

.ctag-2 {
  background: #fde8f0;
  color: #b81e58;
}

.ctag-3 {
  background: #fff4ec;
  color: #bf5b17;
}

.ctag-4 {
  background: #f5f0ff;
  color: #6941c6;
}

.community-cta {
  text-align: center;
}

.community-cta p {
  color: var(--color-text-muted);
  margin-bottom: 0.8rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.tcard {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tcard-quote {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(217, 39, 104, 0.2);
  line-height: 1;
}

.tcard-text {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
}

.tcard-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.tcard-name {
  font-weight: 700;
}

.tcard-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.tcard-stars {
  margin-top: 1rem;
  color: #f4a300;
  letter-spacing: 0.08em;
}

.app-section {
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.app-banner {
  background:
    linear-gradient(135deg, rgba(217, 39, 104, 0.95), rgba(186, 24, 77, 0.96)),
    var(--color-primary);
  border-radius: 2rem;
  color: #fff;
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
}

.app-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 2vw, 3rem);
  margin-bottom: 1rem;
}

.app-text p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 54ch;
  margin-bottom: 1.4rem;
}

.app-store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  max-width: 390px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 178px;
  min-height: 58px;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: #111;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

a.app-store-badge:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.app-store-badge > svg.app-store-icon {
  display: block;
  width: 28px !important;
  min-width: 28px;
  max-width: 28px !important;
  height: 32px !important;
  min-height: 32px;
  max-height: 32px !important;
  flex: 0 0 28px;
  object-fit: contain;
  overflow: hidden;
}

.app-store-badge > svg.app-store-icon--play {
  width: 28px !important;
  height: 32px !important;
}

.app-store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.app-store-badge small {
  margin-bottom: 0.2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.app-store-badge strong {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
}

.app-store-badge--soon {
  cursor: default;
  opacity: 0.82;
}

.app-phone-mockup {
  width: 260px;
  margin-left: auto;
  background: #120c0f;
  border-radius: 34px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.26);
}

.phone-screen {
  background: linear-gradient(180deg, #fff5f8, #ffffff);
  border-radius: 24px;
  min-height: 430px;
  padding: 1rem;
}

.ps-header {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #23191d;
  margin-bottom: 1.1rem;
}

.ps-header span {
  color: var(--color-primary);
}

.ps-profile-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border-radius: 16px;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 8px 20px rgba(65, 34, 47, 0.08);
}

.ps-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffd9e7, #f4adc7);
}

.ps-avatar-2 {
  background: linear-gradient(135deg, #ffe6d6, #ffc399);
}

.ps-avatar-3 {
  background: linear-gradient(135deg, #e9ddff, #c8b0ff);
}

.ps-lines {
  flex: 1;
}

.ps-lines div {
  height: 10px;
  border-radius: 999px;
  background: #f1d4df;
  margin-bottom: 0.5rem;
}

.ps-lines div:last-child {
  width: 65%;
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  /*grid-template-columns: 0.95fr 1.05fr;*/
  gap: 1.5rem;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-card,
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
}

.ci-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.ci-value {
  display: block;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.ci-note {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

.contact-form {
  padding: 1.4rem;
}

.contact-form h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: var(--text-sm);
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  outline: none;
  transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-faint);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(217, 39, 104, 0.08);
}

.form-success {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-success);
  font-weight: 700;
}

.cta-banner {
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.cta-inner {
  background: linear-gradient(180deg, var(--color-surface), var(--color-surface-2));
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 1.5vw, 2.6rem);
  margin-bottom: 0.45rem;
}

.cta-text p {
  color: var(--color-text-muted);
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 0.7fr;
  gap: 1.5rem;
  padding-block: 3rem 2rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  margin-top: 1rem;
  max-width: 45ch;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.footer-col li + li {
  margin-top: 0.65rem;
}

.footer-col a,
.footer-social a {
  color: var(--color-text-muted);
}

.footer-col a:hover,
.footer-social a:hover {
  color: var(--color-primary);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
}

.footer-bottom {
  border-top: 1px solid var(--color-divider);
  padding: 1rem 0;
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  color: var(--color-text-faint);
  font-size: var(--text-sm);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.scrolled {
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1199.98px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .step-connector {
    display: none;
  }

  .features-layout,
  .contact-grid,
  .app-banner,
  .hero-container,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 1rem;
  }

  .app-phone-mockup {
    margin: 0 auto;
  }

  .footer-grid {
    gap: 2rem;
  }
}

@media (max-width: 991.98px) {
  .nav-links,
  .btn-nav-login,
  .btn-nav-cta {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .mobile-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(84vw, 340px);
    background: var(--color-surface);
    box-shadow: var(--shadow-lg);
    z-index: 1400;
    padding: 1.25rem;
    transform: translateX(-100%);
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .mobile-drawer.open {
    transform: translateX(0);
  }

  .drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 12, 15, 0.38);
    z-index: 1300;
  }

  .drawer-overlay.show {
    display: block;
  }

  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .drawer-links {
    display: grid;
    gap: 0.85rem;
  }

  .drawer-links a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--color-divider);
    color: var(--color-text);
    font-weight: 600;
  }

  .drawer-footer {
    display: grid;
    gap: 0.8rem;
    margin-top: auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-container {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding-block: 3.5rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .hero-badge {
    font-size: 0.82rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 1.6rem + 4vw, 3.2rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    width: 100%;
    justify-content: space-between;
    gap: 0.8rem;
  }

  .stat-divider {
    display: none;
  }

  .hero-card-stack {
    min-height: 350px;
  }

  .profile-card-preview {
    grid-template-columns: 60px 1fr;
    gap: 0.8rem;
    padding: 1rem;
  }

  .pcp-badge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .card-back {
    top: 10px;
  }

  .card-front {
    top: 120px;
  }

  .hero-match-badge {
    bottom: 10px;
    left: 12px;
    font-size: 0.86rem;
  }

  .district-ticker {
    grid-template-columns: 1fr;
  }

  .ticker-label {
    border-right: none;
    border-bottom: 1px solid var(--color-divider);
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-block: 2.4rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ticker-items {
    animation: none;
  }
}
