/* ═══════════════════════════════════════════════════════════════
   Welance — Design System
   Brand: #FF4458 · Typography: Inter · Spacing: 8px scale
   ═══════════════════════════════════════════════════════════════ */

:root {
  --primary: #FF4458;
  --primary-dark: #E63946;
  --primary-light: #FF6B7A;
  --primary-tint: #FFF0F1;
  --text: #1A1A1A;
  --text-secondary: #555F66;
  --text-light: #8A949B;
  --bg: #FFFFFF;
  --bg-soft: #FAFAFB;
  --border: #E8EAED;
  --border-light: #F1F3F5;
  --success: #2E7D32;
  --success-tint: #E8F5E9;
  --star: #F5B301;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 20px 48px rgba(16, 24, 40, 0.12);
  --container: 1120px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ─── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.5px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 68, 88, 0.30);
}
.main-nav { display: flex; gap: 32px; align-items: center; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--text-secondary); transition: color .15s; }
.main-nav a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; border-radius: var(--radius-md);
  padding: 12px 24px; transition: all .15s ease; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 14px rgba(255, 68, 88, 0.32);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--border); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--text); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 14px; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero { padding: 88px 0 72px; background: linear-gradient(180deg, #FFF6F7 0%, #FFFFFF 78%); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 64px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 16px;
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.hero h1 {
  font-size: clamp(36px, 5vw, 56px); line-height: 1.08;
  letter-spacing: -1.5px; font-weight: 800; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead {
  font-size: 19px; color: var(--text-secondary); line-height: 1.65;
  max-width: 520px; margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--text); color: #fff; border-radius: 12px;
  padding: 10px 18px; min-width: 168px;
}
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .sb-text { line-height: 1.2; }
.store-badge .sb-small { font-size: 10px; opacity: .75; display: block; }
.store-badge .sb-big { font-size: 16px; font-weight: 700; }

/* ─── Phone mockup ────────────────────────────────────────── */
.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone {
  width: 320px; height: 650px; background: #fff;
  border-radius: 44px; border: 10px solid var(--text);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
  flex-shrink: 0;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: var(--text);
  border-radius: 0 0 16px 16px; z-index: 5;
}
.phone-screen { padding: 44px 16px 16px; height: 100%; display: flex; flex-direction: column; gap: 12px; background: var(--bg-soft); }
.ps-header { display: flex; align-items: center; justify-content: space-between; }
.ps-title { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.ps-loc {
  display: flex; align-items: center; gap: 5px;
  background: var(--primary-tint); color: var(--primary-dark);
  font-size: 11px; font-weight: 700; border-radius: 999px; padding: 5px 11px;
}
.ps-search {
  background: #fff; border: 1px solid var(--border); border-radius: 11px;
  padding: 10px 14px; font-size: 12px; color: var(--text-light);
  display: flex; align-items: center; gap: 8px;
}
.ps-chips { display: flex; gap: 6px; }
.ps-chip {
  font-size: 10.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); color: var(--text-secondary); white-space: nowrap;
}
.ps-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.ps-map {
  position: relative; border-radius: 14px; height: 190px; overflow: hidden;
  background:
    linear-gradient(rgba(232, 238, 233, .65), rgba(232, 238, 233, .65)),
    repeating-linear-gradient(0deg, transparent 0 34px, #DCE3DD 34px 36px),
    repeating-linear-gradient(90deg, transparent 0 34px, #DCE3DD 34px 36px),
    #EDF2EE;
  border: 1px solid var(--border);
}
.ps-radius {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 150px; height: 150px; border-radius: 50%;
  background: rgba(255, 68, 88, 0.08); border: 1.5px dashed rgba(255, 68, 88, 0.45);
}
.ps-me {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 14px; height: 14px; background: #1E88E5; border: 3px solid #fff;
  border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.3); z-index: 3;
}
.ps-pin {
  position: absolute; width: 38px; height: 38px; border-radius: 50%;
  border: 2.5px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.22);
  overflow: hidden; z-index: 2; background: var(--primary-tint);
}
.ps-pin img { width: 100%; height: 100%; object-fit: cover; }
.ps-row-label { font-size: 12px; font-weight: 800; color: var(--text); }
.ps-people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ps-person { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ps-avatar {
  width: 54px; height: 54px; border-radius: 50%; overflow: hidden;
  border: 2.5px solid var(--primary); background: var(--primary-tint);
}
.ps-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ps-pname { font-size: 10px; font-weight: 700; }
.ps-pcat { font-size: 9px; color: var(--text-light); }

/* ─── Sections ────────────────────────────────────────────── */
section { padding: 88px 0; }
section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .kicker {
  color: var(--primary); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -1px; font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.section-head p { color: var(--text-secondary); font-size: 17px; }

/* Trust strip */
.trust-strip { border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); padding: 28px 0; background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; justify-content: center; }
.trust-item svg { width: 26px; height: 26px; color: var(--primary); flex-shrink: 0; }
.trust-item span { font-size: 14px; font-weight: 600; color: var(--text-secondary); }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: all .2s ease; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px; min-height: 100%;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #FFD2D7; }
.cat-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--primary-tint); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.cat-icon svg { width: 28px; height: 28px; }
.cat-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.3px; }
.cat-card p { font-size: 14.5px; color: var(--text-secondary); }

/* Professionals — symmetric circles */
.pros-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.pro-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.pro-avatar {
  width: 124px; height: 124px; border-radius: 50%; overflow: hidden;
  border: 4px solid #fff; outline: 3px solid var(--primary);
  box-shadow: var(--shadow-md); background: var(--primary-tint);
  position: relative;
}
.pro-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pro-verified {
  position: absolute; bottom: 6px; right: 6px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); border: 2.5px solid #fff;
  display: flex; align-items: center; justify-content: center;
}
.pro-verified svg { width: 14px; height: 14px; color: #fff; }
.pro-card h4 { font-size: 16px; font-weight: 700; }
.pro-card .pro-cat { font-size: 13px; color: var(--text-secondary); }
.pro-rating { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; }
.pro-rating svg { width: 14px; height: 14px; color: var(--star); }
.pro-rating .count { color: var(--text-light); font-weight: 500; }

/* Map / location section */
.map-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.map-figure {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-md); background: #EDF2EE;
}
.map-figure svg { display: block; width: 100%; height: auto; }
.feature-list { display: flex; flex-direction: column; gap: 26px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature-ico {
  width: 48px; height: 48px; border-radius: var(--radius-md); flex-shrink: 0;
  background: var(--primary-tint); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.feature-ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.2px; }
.feature p { font-size: 15px; color: var(--text-secondary); }

/* How it works */
.steps-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.steps-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 40px 36px; box-shadow: var(--shadow-sm);
}
.steps-card .sc-tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: var(--primary);
  background: var(--primary-tint); border-radius: 999px; padding: 6px 14px; margin-bottom: 20px;
}
.steps-card h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 28px; }
.step { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--border-light); }
.step:first-of-type { border-top: 0; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--text); color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.step p { font-size: 14px; color: var(--text-secondary); }

/* Trust & safety / boundaries */
.safe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.safe-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
}
.safe-card .safe-ico {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--success-tint); color: var(--success);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.safe-card .safe-ico svg { width: 24px; height: 24px; }
.safe-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.safe-card p { font-size: 14px; color: var(--text-secondary); }

.boundaries {
  margin-top: 48px; background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 44px; box-shadow: var(--shadow-sm);
}
.boundaries h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 8px; }
.boundaries > p { color: var(--text-secondary); font-size: 15px; margin-bottom: 28px; max-width: 720px; }
.bound-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.bound-item { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.bound-item svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.bound-item.no svg { color: var(--primary-dark); }
.bound-item strong { font-weight: 700; }
.bound-item span { color: var(--text-secondary); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-xl);
  padding: 36px 30px; display: flex; flex-direction: column; gap: 6px; position: relative;
}
.price-card.featured { border-color: var(--primary); box-shadow: 0 12px 32px rgba(255,68,88,.14); }
.price-card .badge {
  position: absolute; top: -13px; left: 28px;
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .8px; border-radius: 999px; padding: 5px 14px; text-transform: uppercase;
}
.price-card .pc-for { font-size: 13px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }
.price-card h3 { font-size: 20px; font-weight: 800; }
.price-card .amount { font-size: 40px; font-weight: 800; letter-spacing: -1.5px; margin: 8px 0 2px; }
.price-card .amount small { font-size: 15px; color: var(--text-light); font-weight: 600; letter-spacing: 0; }
.price-card ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.price-card li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-secondary); align-items: flex-start; }
.price-card li svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.price-note { text-align: center; margin-top: 28px; color: var(--text-light); font-size: 14px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 0; overflow: hidden;
}
.faq-list summary {
  cursor: pointer; font-weight: 700; font-size: 16px; padding: 20px 24px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 22px; color: var(--primary); font-weight: 400; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list .faq-body { padding: 0 24px 20px; color: var(--text-secondary); font-size: 15px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl); padding: 64px 48px; text-align: center; color: #fff;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 12px; }
.cta-band p { font-size: 17px; opacity: .92; margin-bottom: 32px; }
.cta-band .btn { background: #fff; color: var(--primary-dark); }

/* Footer */
.site-footer { background: #14181B; color: #B9C2C9; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .f-desc { font-size: 14px; max-width: 320px; line-height: 1.7; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { font-size: 14.5px; transition: color .15s; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10); padding-top: 28px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #7E8A92;
}

/* ─── Legal pages ─────────────────────────────────────────── */
.legal-hero { background: var(--bg-soft); border-bottom: 1px solid var(--border-light); padding: 64px 0 40px; }
.legal-hero h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; margin-bottom: 10px; }
.legal-hero .meta { color: var(--text-light); font-size: 14px; }
.legal-body { padding: 56px 0 88px; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.legal-toc {
  position: sticky; top: 96px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 20px; background: #fff; font-size: 14px;
}
.legal-toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 12px; }
.legal-toc ol { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--text-secondary); }
.legal-toc a:hover { color: var(--primary); }
.legal-content { max-width: 760px; }
.legal-content h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.4px;
  margin: 44px 0 14px; padding-top: 8px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 17px; font-weight: 700; margin: 26px 0 10px; }
.legal-content p { color: var(--text-secondary); font-size: 15.5px; margin-bottom: 14px; }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.legal-content li { color: var(--text-secondary); font-size: 15.5px; list-style: disc; }
.legal-content ol li { list-style: decimal; }
.legal-content strong { color: var(--text); }
.callout {
  background: var(--primary-tint); border: 1px solid #FFD2D7;
  border-radius: var(--radius-md); padding: 20px 24px; margin: 20px 0;
}
.callout p { margin: 0; color: var(--text); font-size: 15px; }
.callout.green { background: var(--success-tint); border-color: #C8E6C9; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14.5px; }
.legal-content th, .legal-content td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; vertical-align: top; }
.legal-content th { background: var(--bg-soft); font-weight: 700; }
.legal-content td { color: var(--text-secondary); }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pros-grid { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  section { padding: 64px 0; }
  .hero { padding: 56px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero .lead { max-width: none; }
  .map-section-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-cols { grid-template-columns: 1fr; }
  .cat-grid, .safe-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .bound-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}
@media (max-width: 580px) {
  .cat-grid, .safe-grid, .price-grid { grid-template-columns: 1fr; }
  .pros-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .boundaries { padding: 28px 22px; }
  .cta-band { padding: 44px 24px; }
  .phone { width: 290px; height: 600px; }
}
