/* Generated by website/scripts/build-blog.mjs from website/site-src. Do not edit by hand. */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #667eea;
  --secondary: #764ba2;
  --dark: #1a1a2e;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  color: white;
}

.logo-img {
  height: 150px;
  width: auto;
  object-fit: cover;
  object-position: center;
  clip-path: inset(25% 0 25% 0 round 10px);
  margin: -38px 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--gray-600);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
}

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

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-dropdown {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-600);
  background: var(--gray-100);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.lang-toggle:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

.lang-flag {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.lang-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.lang-dropdown.open .lang-toggle svg {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  overflow: hidden;
  z-index: 200;
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.15s;
}

.lang-option:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}

.lang-option.active {
  background: rgba(102, 126, 234, 0.1);
  color: var(--primary);
}

.lang-option svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-ghost {
  color: var(--gray-600);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
  background: white;
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 14px;
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--gray-900);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 20px;
  color: var(--gray-500);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--gray-400);
  font-size: 14px;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust svg {
  width: 18px;
  height: 18px;
  color: #10b981;
}

/* Dashboard Preview */
.dashboard-preview {
  margin-top: 80px;
  position: relative;
}

.dashboard-preview::before {
  content: '';
  position: absolute;
  inset: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 24px;
  filter: blur(60px);
  opacity: 0.15;
}

.dashboard-frame {
  position: relative;
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.12);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27ca40; }

.browser-url {
  flex: 1;
  text-align: center;
}

.browser-url span {
  display: inline-block;
  padding: 8px 20px;
  background: white;
  border-radius: 8px;
  font-size: 13px;
  color: var(--gray-500);
  border: 1px solid var(--gray-200);
}

.dashboard-content {
  padding: 32px;
  background: var(--gray-50);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.stat-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.stat-card .label {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.stat-card .value {
  font-size: 32px;
  font-weight: 700;
}

.stat-card:nth-child(1) .value { color: var(--primary); }
.stat-card:nth-child(2) .value { color: var(--secondary); }
.stat-card:nth-child(3) .value { color: #10b981; }

.appointments-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.appointments-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 20px;
}

.appointment-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  transition: background 0.2s;
}

.appointment-item:hover {
  background: var(--gray-50);
}

.appointment-time {
  font-weight: 600;
  color: var(--primary);
  width: 60px;
}

.appointment-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.appointment-info {
  flex: 1;
}

.appointment-name {
  font-weight: 600;
  color: var(--gray-800);
}

.appointment-type {
  font-size: 14px;
  color: var(--gray-500);
}

.appointment-service {
  padding: 6px 12px;
  background: rgba(102, 126, 234, 0.1);
  color: var(--primary);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

/* Features */
.features {
  padding: 120px 0;
  background: white;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.section-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-header h2 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 18px;
  color: var(--gray-500);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--gray-200);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.feature-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: white;
  position: relative;
  z-index: 1;
}

.feature-card:nth-child(1) .feature-icon { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, #22c55e, #16a34a); }
.feature-card:nth-child(4) .feature-icon { background: linear-gradient(135deg, #f97316, #ea580c); }
.feature-card:nth-child(5) .feature-icon { background: linear-gradient(135deg, #ec4899, #db2777); }
.feature-card:nth-child(6) .feature-icon { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.feature-card:nth-child(7) .feature-icon { background: linear-gradient(135deg, #eab308, #ca8a04); }
.feature-card:nth-child(8) .feature-icon { background: linear-gradient(135deg, #ef4444, #dc2626); }
.feature-card:nth-child(9) .feature-icon { background: linear-gradient(135deg, #64748b, #475569); }
.feature-card:nth-child(10) .feature-icon { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.feature-card:nth-child(11) .feature-icon { background: linear-gradient(135deg, #6366f1, #4338ca); }
.feature-card:nth-child(12) .feature-icon { background: linear-gradient(135deg, #84cc16, #65a30d); }
/* Any later card: the brand gradient, so an icon is never white on white. */
.feature-card:nth-child(n+13) .feature-icon { background: linear-gradient(135deg, #667eea, #764ba2); }

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray-500);
  line-height: 1.7;
}

/* Platforms */
.platforms {
  padding: 100px 0;
  background: white;
}

.platforms-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.platforms-text h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.2;
}

.platforms-text h2 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.platforms-text p {
  font-size: 20px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

.platforms-icons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}

.platform-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  padding: 12px 20px;
  border-radius: 12px;
  transition: all 0.2s;
}

.platform-item:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}

.platform-item svg {
  width: 24px;
  height: 24px;
  color: var(--gray-700);
}

.platform-item span {
  font-weight: 600;
  color: var(--gray-700);
}

.devices-illustration {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.device {
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  background: white;
}

.device img {
  width: 100%;
  height: auto;
}

.device-desktop {
  width: 950px;
  height: auto;
  border-radius: 16px;
  border: 5px solid var(--gray-200);
}

.device-phone {
  width: 220px;
  height: auto;
  border-radius: 32px;
  border: 5px solid var(--gray-300);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

@media (max-width: 1300px) {
  .device-desktop {
    width: 700px;
  }

  .device-phone {
    width: 180px;
  }
}

@media (max-width: 1000px) {
  .devices-illustration {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .device-desktop {
    width: 100%;
    max-width: 700px;
  }

  .device-phone {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .platforms {
    padding: 60px 0;
  }

  .platforms-text h2 {
    font-size: 32px;
  }

  .platforms-text p {
    font-size: 17px;
  }

  .platforms-icons {
    margin-bottom: 40px;
  }

  .device-desktop {
    width: 100%;
    max-width: 100%;
  }

  .device-phone {
    width: 200px;
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  cursor: zoom-out;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 0.7;
}

.device {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.device:hover {
  transform: scale(1.02);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
}

/* Pricing */
.pricing {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  background: white;
  padding: 16px 32px;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.toggle-label {
  font-weight: 600;
  font-size: 17px;
  color: var(--gray-400);
  transition: all 0.3s;
  cursor: pointer;
}

.toggle-label.active {
  color: var(--gray-900);
  font-weight: 700;
}

.discount-badge {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  margin-left: 8px;
}

.toggle-switch {
  position: relative;
  width: 56px;
  height: 30px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gray-300);
  transition: 0.3s;
  border-radius: 30px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.price-billed {
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
  margin-top: -15px;
  margin-bottom: 10px;
}

.price-savings {
  text-align: center;
  margin-bottom: 20px;
}

.price-savings span {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  border: 2px solid var(--gray-100);
  transition: all 0.3s;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.pricing-card.popular::before {
  content: attr(data-badge);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  text-align: center;
}

.pricing-card .description {
  color: var(--gray-500);
  margin-bottom: 24px;
  text-align: center;
}

.pricing-card .price {
  margin-bottom: 32px;
  text-align: center;
}

.pricing-card .price .amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--gray-900);
}

.pricing-card .price .period {
  color: var(--gray-400);
}

.pricing-card .btn {
  width: 100%;
  margin-bottom: 32px;
}

.pricing-card.popular .btn-secondary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

.pricing-features {
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--gray-600);
}

.pricing-features li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

/* CTA */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.cta .container {
  position: relative;
  text-align: center;
}

.cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.cta p {
  font-size: 20px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo-text {
  color: white;
  background: none;
  -webkit-text-fill-color: white;
}

.footer-brand p {
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-links a.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-social svg {
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-buttons .btn-ghost {
    padding: 8px 12px;
    font-size: 13px;
  }

  .nav-buttons .btn-primary {
    padding: 8px 12px;
    font-size: 13px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-description {
    font-size: 16px;
    padding: 0 10px;
  }

  .hero-buttons .btn-large {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }

  .dashboard-preview {
    margin-top: 40px;
  }

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

  .appointment-service {
    display: none;
  }

  .features {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 28px;
  }

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

  .feature-card {
    padding: 24px;
  }

  .pricing {
    padding: 60px 0;
  }

  .pricing-grid {
    max-width: 100% !important;
  }

  .pricing-card {
    padding: 28px;
  }

  .pricing-card .price .amount {
    font-size: 36px;
  }

  .cta {
    padding: 60px 0;
  }

  .cta h2 {
    font-size: 28px;
  }

  .cta p {
    font-size: 16px;
  }

  .footer {
    padding: 50px 0 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand {
    order: -1;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .logo-img {
    height: 100px;
    margin: -25px 0;
  }

  .nav-buttons {
    gap: 6px;
  }

  .nav-buttons .btn-ghost {
    padding: 6px 8px;
    font-size: 12px;
  }

  .nav-buttons .btn-primary {
    padding: 6px 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  .lang-toggle {
    padding: 6px 10px;
    font-size: 12px;
  }

  .hero {
    padding: 100px 0 50px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .feature-card h3 {
    font-size: 18px;
  }

  .pricing-card h3 {
    font-size: 20px;
  }

  .cta h2 {
    font-size: 24px;
  }

  .btn-large {
    padding: 14px 24px;
    font-size: 15px;
  }
}


/* Shared chrome: burger menu, footer columns, trial modal. Appended to every page, blog included. */
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: var(--gray-100);
  color: var(--gray-700);
  cursor: pointer;
}

.nav-burger svg {
  width: 22px;
  height: 22px;
}

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

.nav-links .nav-login {
  display: none;
}

/* Resources dropdown: a <details>, so it works without script. */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  color: var(--gray-600);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary:hover,
.nav-dropdown[open] > summary {
  color: var(--primary);
  background: var(--gray-50);
}

.nav-dropdown > summary svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.nav-dropdown[open] > summary svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 200;
}

.nav-dropdown-menu a {
  white-space: nowrap;
}

.nav-dropdown > summary.active {
  color: var(--primary);
}

/* Features menu: the feature pages and the audience pages side by side. */
.nav-dropdown-cols {
  flex-direction: row;
  gap: 8px;
}

.nav-dropdown-group {
  display: flex;
  flex-direction: column;
}

.nav-dropdown-title {
  margin: 0;
  padding: 8px 16px 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-500);
}

@media (max-width: 991.98px) {
  .nav-burger {
    display: inline-flex;
  }

  .navbar .nav-links {
    display: none;
  }

  .navbar.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .navbar.menu-open .nav-links a {
    padding: 12px 16px;
  }

  .navbar.menu-open .nav-links .nav-login {
    display: block;
  }

  .navbar.menu-open .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 0 0 0 12px;
    min-width: 0;
  }

  .navbar.menu-open .nav-dropdown-cols {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 600px) {
  .nav-buttons .btn-ghost {
    display: none;
  }
}

.footer-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer .footer-grid {
  grid-template-columns: 1.6fr repeat(5, 1fr);
  gap: 32px;
}

.footer-contact {
  list-style: none;
  font-size: 14px;
}

.footer-contact li {
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--gray-400, #9ca3af);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-contact a.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1100px) {
  .footer .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
}

/* Trial modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.modal-header p {
  color: var(--gray-600);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-400, #9ca3af);
}

.modal .form-group {
  margin-bottom: 20px;
}

.modal .form-group label {
  display: block;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.modal .form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300, #d1d5db);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
}

.modal .form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modal-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.modal-footer {
  text-align: center;
  margin-top: 20px;
  color: var(--gray-500);
  font-size: 14px;
}

.modal-footer svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 4px;
}

@media (max-width: 768px) {
  .modal {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .navbar .logo-img {
    height: 100px;
    margin: -25px 0;
  }

  .navbar .nav-buttons {
    gap: 6px;
  }

  .navbar .nav-buttons .btn-primary {
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .navbar .lang-toggle {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* Components of the generated pages, built from the landing page tokens. */
.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 300;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.hero-buttons .btn-large svg {
  flex-shrink: 0;
}

.hero-badge-plain::before {
  display: none;
}

/* Inner page hero */
.page-hero {
  padding: 140px 0 56px;
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

.page-hero .container {
  max-width: 868px;
}

.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.page-hero .lead {
  font-size: 19px;
  color: var(--gray-600);
  margin-bottom: 28px;
}

.page-hero .hero-buttons {
  justify-content: flex-start;
  margin-bottom: 0;
}

.breadcrumb {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--gray-300);
}

.breadcrumb a {
  color: var(--gray-500);
  text-decoration: none;
}

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

.answer-box {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 28px;
  color: var(--gray-700);
  font-size: 17px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.answer-box strong {
  color: var(--gray-900);
}

.updated-line {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

/* Generic content sections */
.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--gray-50);
}

.section .narrow {
  max-width: 820px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin: 28px 0 10px;
}

.section p,
.section li {
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.75;
}

.section p + p {
  margin-top: 14px;
}

.section ul,
.section ol {
  margin: 14px 0 14px 22px;
}

.section li {
  margin-bottom: 8px;
}

.section a:not(.btn) {
  color: var(--primary);
}

.section .section-lead {
  font-size: 18px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.features-grid a.feature-card {
  display: block;
  text-decoration: none;
}

.feature-card .card-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--primary);
}

/* Text and screenshot side by side */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.reverse .split-media {
  order: -1;
}

.split-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.split-media.phone img {
  max-width: 280px;
  margin: 0 auto;
  border-radius: 28px;
  border: 5px solid var(--gray-300);
}

.check-list {
  list-style: none;
  margin-left: 0 !important;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.5 17.2-5-5 1.7-1.7 3.3 3.3 6.8-6.8 1.7 1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.5 17.2-5-5 1.7-1.7 3.3 3.3 6.8-6.8 1.7 1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cross-list li::before {
  background: var(--gray-400);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm4.6 15.2-1.4 1.4L12 13.4l-3.2 3.2-1.4-1.4 3.2-3.2-3.2-3.2 1.4-1.4 3.2 3.2 3.2-3.2 1.4 1.4-3.2 3.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm4.6 15.2-1.4 1.4L12 13.4l-3.2 3.2-1.4-1.4 3.2-3.2-3.2-3.2 1.4-1.4 3.2 3.2 3.2-3.2 1.4 1.4-3.2 3.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  counter-reset: step;
  margin-top: 8px;
}

.step {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  padding: 28px;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  margin-top: 0;
}

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  background: #fff;
  margin: 8px 0 16px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
  color: var(--gray-700);
}

.compare-table thead th {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--gray-900);
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--gray-900);
}

.compare-table td.us,
.compare-table th.us {
  background: rgba(102, 126, 234, 0.06);
}

.table-note {
  font-size: 14px !important;
  color: var(--gray-500) !important;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 12px;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--gray-900);
  font-size: 17px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--primary);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
}

.faq-item .faq-answer p {
  font-size: 16px;
}

/* Verdict and pros/cons on reviews */
.verdict {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
  border-radius: 20px;
  padding: 28px 32px;
  margin: 8px 0;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pros-cons > div {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 24px;
}

.pros-cons h3 {
  margin-top: 0;
}

.sources {
  font-size: 14px !important;
}

.sources li {
  font-size: 14px !important;
  word-break: break-word;
}

/* Sibling pages and blog posts */
.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.link-card {
  display: block;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  transition: all 0.2s;
}

.link-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.link-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.link-card p {
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.link-card .meta {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-more {
  margin-top: 24px;
  text-align: center;
}

/* Pricing page */
.price-note {
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
  margin-top: 20px;
}

/* 404 */
.notfound {
  padding: 160px 0 100px;
  text-align: center;
}

.notfound h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
}

.notfound p {
  color: var(--gray-600);
  font-size: 18px;
  margin-bottom: 12px;
}

.notfound .hero-buttons {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .split,
  .pros-cons {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split.reverse .split-media {
    order: 0;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 110px 0 40px;
  }

  .page-hero .lead {
    font-size: 17px;
  }

  .section {
    padding: 52px 0;
  }

  .section p,
  .section li {
    font-size: 16px;
  }
}

/* Legal pages */
.legal-body h2 {
  font-size: 22px;
  margin: 40px 0 12px;
}

.legal-body h3 {
  font-size: 18px;
}

.legal-body .last-updated {
  font-size: 14px;
  color: var(--gray-500);
}

.section.legal-section {
  padding-top: 8px;
}

/* ── Comment ça marche, joué sur les écrans de l'app ─────────────────────
   Quatre étapes à gauche, l'écran de l'étape à droite. La barre de l'étape choisie se
   remplit et sa fin passe à la suivante (site.js) : l'animation CSS est l'horloge, lancée
   seulement quand le bloc est à l'écran (.playing) et suspendue au survol. Sans script, on
   choisit l'étape soi-même. */
.gw-play { display: grid; grid-template-columns: minmax(250px, 340px) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 8px; }
.gw-play > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gw-steps { display: flex; flex-direction: column; gap: 10px; }
.gw-steps label {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px;
  padding: 14px 16px 16px; border-radius: 14px; cursor: pointer; overflow: hidden;
  background: #fff; border: 1px solid var(--gray-200);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.gw-steps label:hover { border-color: var(--gray-300); }
.gw-steps .n { grid-row: span 2; font-size: .78rem; font-weight: 700; color: var(--gray-400); padding-top: 3px; }
.gw-steps b { color: var(--dark); font-size: 1rem; font-weight: 700; }
.gw-steps .d { color: var(--gray-500); font-size: .9rem; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .3s ease; }
.gw-steps .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); transform: scaleX(0); transform-origin: 0 50%; }
.gw-screens { position: relative; min-width: 0; min-height: 560px; display: grid; place-items: center; }
.gw-screen-wrap { display: none; width: 100%; }
.gw-note { margin-top: 22px; text-align: center; color: var(--gray-500); font-size: .95rem; }

.gw-play > input:nth-of-type(1):checked ~ .gw-steps label:nth-of-type(1),
.gw-play > input:nth-of-type(2):checked ~ .gw-steps label:nth-of-type(2),
.gw-play > input:nth-of-type(3):checked ~ .gw-steps label:nth-of-type(3),
.gw-play > input:nth-of-type(4):checked ~ .gw-steps label:nth-of-type(4) { border-color: var(--primary); box-shadow: 0 10px 30px -14px rgba(102, 126, 234, .55); }
.gw-play > input:nth-of-type(1):checked ~ .gw-steps label:nth-of-type(1) .n,
.gw-play > input:nth-of-type(2):checked ~ .gw-steps label:nth-of-type(2) .n,
.gw-play > input:nth-of-type(3):checked ~ .gw-steps label:nth-of-type(3) .n,
.gw-play > input:nth-of-type(4):checked ~ .gw-steps label:nth-of-type(4) .n { color: var(--primary); }
.gw-play > input:nth-of-type(1):checked ~ .gw-steps label:nth-of-type(1) .d,
.gw-play > input:nth-of-type(2):checked ~ .gw-steps label:nth-of-type(2) .d,
.gw-play > input:nth-of-type(3):checked ~ .gw-steps label:nth-of-type(3) .d,
.gw-play > input:nth-of-type(4):checked ~ .gw-steps label:nth-of-type(4) .d { max-height: 8em; opacity: 1; }
.gw-play.playing > input:nth-of-type(1):checked ~ .gw-steps label:nth-of-type(1) .bar,
.gw-play.playing > input:nth-of-type(2):checked ~ .gw-steps label:nth-of-type(2) .bar,
.gw-play.playing > input:nth-of-type(3):checked ~ .gw-steps label:nth-of-type(3) .bar,
.gw-play.playing > input:nth-of-type(4):checked ~ .gw-steps label:nth-of-type(4) .bar { animation: gw-fill 6s linear forwards; }
.gw-play:hover .bar, .gw-play:focus-within .bar { animation-play-state: paused !important; }
.gw-play > input:nth-of-type(1):checked ~ .gw-screens > .gw-screen-wrap:nth-child(1),
.gw-play > input:nth-of-type(2):checked ~ .gw-screens > .gw-screen-wrap:nth-child(2),
.gw-play > input:nth-of-type(3):checked ~ .gw-screens > .gw-screen-wrap:nth-child(3),
.gw-play > input:nth-of-type(4):checked ~ .gw-screens > .gw-screen-wrap:nth-child(4) { display: block; animation: gw-in .5s cubic-bezier(.2, .6, .3, 1); }
.gw-play > input:focus-visible ~ .gw-steps label { outline-offset: 3px; }
@keyframes gw-fill { to { transform: scaleX(1); } }
@keyframes gw-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

/* Le téléphone */
.gw-phone { position: relative; width: 300px; margin: 0 auto; padding: 10px; border-radius: 40px; background: #1a1a2e; box-shadow: 0 30px 60px -25px rgba(26, 26, 46, .55); }
.gw-notch { position: absolute; top: 14px; left: 50%; width: 90px; height: 22px; margin-left: -45px; border-radius: 12px; background: #1a1a2e; z-index: 2; }
.gw-screen { height: 560px; overflow: hidden; border-radius: 31px; background: #fff; }
.gw-phone svg { width: 1em; height: 1em; flex: none; }

/* Réservation en ligne (public-booking, étape 4) */
.gw-book { padding: 42px 16px 16px; font-size: 12px; color: #2d3748; }
.gw-bh { text-align: center; margin-bottom: 12px; }
.gw-bicon { width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 20px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); box-shadow: 0 6px 16px rgba(102, 126, 234, .35); }
.gw-bh .gw-t4 { margin: 0; font-size: 18px; font-weight: 700; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gw-bh p { margin: 2px 0 0; color: #7f8c8d; font-size: 11px; }
.gw-progress { display: flex; margin: 10px 0 14px; }
.gw-ps { flex: 1; text-align: center; }
.gw-ps span { width: 24px; height: 24px; margin: 0 auto 4px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: #ecf0f1; color: #95a5a6; }
.gw-ps.done span { background: linear-gradient(135deg, #28a745 0%, #20c997 100%); color: #fff; }
.gw-ps.on span { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; transform: scale(1.15); box-shadow: 0 4px 12px rgba(102, 126, 234, .4); }
.gw-ps i { display: block; font-style: normal; font-size: 8px; color: #7f8c8d; }
.gw-book .gw-t5 { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 10px; font-size: 14px; color: #2c3e50; }
.gw-book label { display: block; margin: 8px 0 4px; font-weight: 600; font-size: 11px; color: #4a5568; }
.gw-input { padding: 8px 10px; border: 2px solid #e2e8f0; border-radius: 10px; font-weight: 500; }
.gw-book .gw-t6 { display: flex; align-items: center; gap: 6px; margin: 12px 0 8px; font-size: 12px; color: #2c3e50; }
.gw-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gw-slot { padding: 8px 6px; border: 2px solid #e9ecef; border-radius: 10px; background: #f8f9fa; text-align: center; }
.gw-slot b { display: block; font-size: 13px; }
.gw-slot small { font-size: 10px; opacity: .8; }
.gw-slot.sel { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-color: #667eea; color: #fff; box-shadow: 0 6px 16px rgba(102, 126, 234, .35); animation: gw-pick .5s ease .6s both; }
.gw-submit { margin-top: 14px; padding: 10px; border-radius: 10px; text-align: center; color: #fff; font-weight: 600; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
@keyframes gw-pick { from { transform: scale(.92); opacity: .6; } to { transform: none; opacity: 1; } }

/* Approbation (agenda, formulaire du rendez-vous) */
.gw-window { position: relative; max-width: 520px; margin: 0 auto; padding: 56px 0 0; }
.gw-modal { background: #fff; border-radius: 16px; padding: 18px 20px 20px; box-shadow: 0 30px 60px -25px rgba(26, 26, 46, .45); border: 1px solid var(--gray-200); }
.gw-mh { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 1.05rem; color: var(--dark); }
.gw-mh svg, .gw-wait svg, .gw-acts svg, .gw-toast svg { width: 18px; height: 18px; flex: none; }
.gw-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: .9rem; }
.gw-row span { color: var(--gray-500); }
.gw-wait { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-left: 4px solid #FF9800; border-radius: 8px; background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); font-size: .9rem; font-weight: 600; color: #8a5300; }
.gw-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.gw-acts span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: 8px; font-weight: 600; font-size: .9rem; }
.gw-approve { color: #fff; background: linear-gradient(135deg, #667eea 0%, #45a049 100%); animation: gw-press 2.4s ease 1.2s infinite; }
.gw-reject { color: var(--gray-600); background: var(--gray-100); }
@keyframes gw-press { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(69, 160, 73, .45); } 85% { box-shadow: 0 0 0 10px rgba(69, 160, 73, 0); } }

/* Le texto */
.gw-msgs { padding: 46px 14px 14px; height: 100%; background: #f2f2f7; font-size: 13px; }
.gw-from { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 8px; }
.gw-from span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.gw-from b { font-size: 12px; color: #1c1c1e; }
.gw-time { text-align: center; color: #8e8e93; font-size: 10px; margin: 10px 0 8px; }
.gw-bubble { max-width: 86%; padding: 10px 12px; border-radius: 18px 18px 18px 4px; background: #e5e5ea; color: #1c1c1e; line-height: 1.45; animation: gw-in .5s ease .3s both; }
.gw-bubble u { color: #0a66d9; }
.gw-toast { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; white-space: nowrap; font-size: .85rem; font-weight: 600; color: #fff; background: var(--dark); box-shadow: 0 12px 30px -12px rgba(26, 26, 46, .6); animation: gw-drop .5s ease 1.4s both; }
.gw-toast-ok { position: static; transform: none; margin: 18px auto 0; width: max-content; max-width: 100%; white-space: normal; background: #16a34a; animation-delay: 2.2s; }
@keyframes gw-drop { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
.gw-pets { max-width: 360px; margin: 0 auto; }

@media (max-width: 860px) {
  .gw-play { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .gw-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .gw-steps label { padding: 10px 12px 12px; }
  .gw-steps .d { display: none; }
  .gw-screens { min-height: 0; }
  .gw-phone { width: 270px; }
  .gw-screen { height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  .gw-screen-wrap, .gw-slot.sel, .gw-approve, .gw-bubble, .gw-toast { animation: none !important; }
}

/* Parler à une personne : texto et WhatsApp */
.contact-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 28px; }
.btn-msg { background: #0084ff; color: #fff; border: 2px solid #0084ff; }
.btn-msg:hover { background: #0073e0; border-color: #0073e0; color: #fff; }
.btn-wa { background: #25d366; color: #0b2e18; border: 2px solid #25d366; }
.btn-wa:hover { background: #1fbe5a; border-color: #1fbe5a; }
.contact-row svg { width: 18px; height: 18px; flex: none; }

/* Intro film on the home page */
.intro-video { max-width: 960px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(76, 61, 153, 0.18); background: #1f1a3d; }
.intro-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* Animated agenda replica in the home hero (scripts/agenda-live.mjs). Drawn at 1200 x 674 and
   scaled to the column width by the inline script; colours taken from the app's agenda. */
/* Wider than the text column: the preview breaks out of the 1200 px container. */
.hero .dashboard-preview:has(.gl-scale) {
  width: min(1360px, calc(100vw - 32px));
  left: 50%;
  transform: translateX(-50%);
}

.gl-scale {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 674;
  overflow: hidden;
  --gl-s: 1;
}

.gl {
  position: absolute;
  top: 0;
  left: 0;
  width: 1200px;
  height: 674px;
  transform: scale(var(--gl-s));
  transform-origin: top left;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #1f2937;
  text-align: left;
  background: #fff;
  user-select: none;
}

.gl svg { width: 1em; height: 1em; flex-shrink: 0; }

.gl-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 14px;
  background: #eef0f6;
  border-bottom: 1px solid #e3e6ef;
}
.gl-dots { display: flex; gap: 7px; }
.gl-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.gl-dots i:nth-child(2) { background: #febc2e; }
.gl-dots i:nth-child(3) { background: #28c840; }
.gl-url {
  flex: 1;
  max-width: 420px;
  margin: 0 auto;
  padding: 4px 14px;
  border-radius: 7px;
  background: #fff;
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}

.gl-app { display: grid; grid-template-columns: 200px 1fr; height: 640px; }

.gl-side {
  background: linear-gradient(180deg, #6f86ee 0%, #8a5ad4 100%);
  color: #fff;
  padding: 14px 0;
}
.gl-logo { display: flex; justify-content: center; }
.gl-logo img { width: 104px; height: 104px; object-fit: contain; }
.gl-salon { padding: 4px 18px 14px; font-weight: 700; font-size: 15px; }
.gl-side nav { display: flex; flex-direction: column; }
.gl-mi {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}
.gl-mi svg { width: 20px; height: 20px; }
.gl-mi.on { background: rgba(255, 255, 255, 0.22); border-left: 4px solid #fff; padding-left: 14px; }

.gl-main { position: relative; background: #f3f4fb; display: flex; flex-direction: column; min-width: 0; }

.gl-head {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  background: #fff;
  border-bottom: 1px solid #e8eaf3;
}
.gl-ttl { display: flex; align-items: center; gap: 10px; color: #6366f1; margin-right: 10px; }
.gl-ttl > svg { width: 26px; height: 26px; }
.gl-ttl b { display: block; font-size: 20px; color: #111827; }
.gl-ttl small { display: block; font-size: 12px; color: #6b7280; }
.gl-sp { flex: 1; }
.gl-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.gl-today { color: #6366f1; border-color: #c7c9f9; }
.gl-tog { display: inline-flex; padding: 3px; border-radius: 10px; background: #f1f2f8; font-size: 13px; font-weight: 600; }
.gl-tog span { padding: 6px 12px; border-radius: 8px; color: #6b7280; }
.gl-tog .on { background: #fff; color: #6366f1; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.gl-add { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border: none; animation: gl-pulse 6s ease-in-out infinite; }

.gl-grid {
  margin: 14px 16px 0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(30, 40, 90, 0.06);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.gl-ghead { display: grid; grid-template-columns: 74px repeat(4, 1fr); height: 62px; flex-shrink: 0; }
.gl-hh { display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #374151; background: #f6f7fb; }
.gl-gh { display: flex; align-items: center; gap: 10px; padding: 0 14px; color: #fff; }
.gl-gh b { display: block; font-size: 14px; }
.gl-gh small { display: inline-block; margin-top: 2px; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.25); font-size: 10px; font-weight: 700; }
.gl-av { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.85); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.gl-c-blue { background: linear-gradient(135deg, #6476f2, #3f51d6); }
.gl-c-green { background: linear-gradient(135deg, #79d692, #3bb36d); }
.gl-c-red { background: linear-gradient(135deg, #e7707a, #c8464f); }
.gl-c-orange { background: linear-gradient(135deg, #eba06a, #c96b3c); }

.gl-view { position: relative; flex: 1; overflow: hidden; }
.gl-track {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1260px;
  display: grid;
  grid-template-columns: 74px 1fr;
  animation: gl-scroll 30s ease-in-out infinite;
}
.gl-hours { position: relative; background: #f6f7fb; }
.gl-hour { position: absolute; left: 0; right: 0; padding-top: 10px; text-align: center; font-size: 12px; color: #6b7280; font-weight: 600; }
.gl-cols { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.gl-lines { position: absolute; inset: 0; pointer-events: none; }
.gl-lines i { position: absolute; left: 0; right: 0; border-top: 1px solid #eef0f6; }
.gl-col { position: relative; border-left: 1px solid #eef0f6; }

.gl-card {
  position: absolute;
  left: 6px;
  right: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border-left: 4px solid #6366f1;
  background: #ede9fe;
  overflow: hidden;
  font-size: 12px;
  box-shadow: 0 1px 4px rgba(60, 50, 140, 0.08);
}
.gl-done { background: #efeafe; border-left-color: #8b7cf6; }
.gl-live { background: #dcfce7; border-left-color: #22c55e; }
.gl-planned { background: #e0ecff; border-left-color: #3b82f6; }
.gl-swapcard { background: #e0ecff; border-left-color: #3b82f6; animation: gl-swapbg 30s infinite; }
.gl-online { background: #fff4d6; border-left-color: #f59e0b; animation: gl-pop 30s infinite; }
.gl-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.gl-time { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: #374151; font-size: 12.5px; }
.gl-badge { padding: 2px 7px; border-radius: 999px; font-size: 9.5px; font-weight: 800; letter-spacing: 0.02em; color: #fff; white-space: nowrap; }
.gl-b-done { background: #7c6cf0; }
.gl-b-live { background: #22c55e; }
.gl-b-planned { background: #3b82f6; }
.gl-b-online { background: #f59e0b; }
.gl-swap { position: relative; display: inline-grid; }
.gl-swap .gl-badge { grid-area: 1 / 1; }
.gl-swap .gl-b-planned { animation: gl-out 30s infinite; }
.gl-swap .gl-b-live { animation: gl-in 30s infinite; }
.gl-pet { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-weight: 800; font-size: 14px; color: #4c1d95; }
.gl-owner { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: #6b7280; }
.gl-svc { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 8px; border-radius: 7px; background: rgba(255, 255, 255, 0.7); color: #4b5563; }
.gl-svc span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-svc b { color: #374151; }
.gl-compact .gl-pet { margin-top: 4px; }

.gl-pause {
  position: absolute;
  left: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: repeating-linear-gradient(135deg, #f1f2f6, #f1f2f6 6px, #e9eaf0 6px, #e9eaf0 12px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.gl-now { position: absolute; left: 0; right: 0; height: 2px; background: #ef4444; z-index: 3; }
.gl-now::before { content: ''; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #ef4444; animation: gl-dot 2s ease-in-out infinite; }

.gl-legend { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; font-size: 12px; color: #4b5563; }
.gl-lg { padding: 3px 10px; border-radius: 999px; border: 1px solid; font-weight: 600; }
.gl-lg-planned { color: #3b82f6; background: #eff6ff; }
.gl-lg-live { color: #d97706; background: #fffbeb; }
.gl-lg-done { color: #7c6cf0; background: #f5f3ff; }
.gl-lg-cancel { color: #ef4444; background: #fef2f2; text-decoration: line-through; }
.gl-lg-absent { color: #dc2626; background: #fef2f2; }

.gl-toast {
  position: absolute;
  right: 22px;
  bottom: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.25);
  opacity: 0;
  transform: translateY(12px);
  z-index: 5;
}
.gl-toast svg { width: 18px; height: 18px; color: #a5b4fc; }
.gl-t1 { animation: gl-toast1 30s infinite; }
.gl-t2 { animation: gl-toast2 30s infinite; }
.gl-t3 { animation: gl-toast3 30s infinite; }

/* One 30-second loop: morning, scroll to noon (new online booking), back up. */
@keyframes gl-scroll {
  0%, 14% { transform: translateY(0); }
  32%, 62% { transform: translateY(-560px); }
  80%, 100% { transform: translateY(0); }
}
@keyframes gl-out { 0%, 8% { opacity: 1; } 10%, 92% { opacity: 0; } 95%, 100% { opacity: 1; } }
@keyframes gl-in { 0%, 8% { opacity: 0; transform: scale(0.6); } 11% { opacity: 1; transform: scale(1.15); } 13%, 92% { opacity: 1; transform: scale(1); } 95%, 100% { opacity: 0; } }
@keyframes gl-swapbg {
  0%, 8% { background: #e0ecff; border-left-color: #3b82f6; }
  11%, 92% { background: #dcfce7; border-left-color: #22c55e; }
  95%, 100% { background: #e0ecff; border-left-color: #3b82f6; }
}
@keyframes gl-pop {
  0%, 40% { opacity: 0; transform: scale(0.85); }
  44% { opacity: 1; transform: scale(1.04); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.35); }
  50%, 88% { opacity: 1; transform: scale(1); box-shadow: 0 1px 4px rgba(60, 50, 140, 0.08); }
  92%, 100% { opacity: 0; transform: scale(0.95); }
}
@keyframes gl-toast1 { 0%, 3% { opacity: 0; transform: translateY(12px); } 5%, 17% { opacity: 1; transform: none; } 19%, 100% { opacity: 0; transform: translateY(12px); } }
@keyframes gl-toast2 { 0%, 20% { opacity: 0; transform: translateY(12px); } 22%, 33% { opacity: 1; transform: none; } 35%, 100% { opacity: 0; transform: translateY(12px); } }
@keyframes gl-toast3 { 0%, 43% { opacity: 0; transform: translateY(12px); } 45%, 58% { opacity: 1; transform: none; } 60%, 100% { opacity: 0; transform: translateY(12px); } }
@keyframes gl-pulse { 0%, 40%, 50%, 100% { box-shadow: none; } 44% { box-shadow: 0 0 0 5px rgba(118, 75, 162, 0.25); } }
@keyframes gl-dot { 50% { transform: scale(1.4); } }

/* Pet files (Clients screen) on the "Accessible everywhere" laptop. */
.gp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 14px 16px; flex: 1; min-height: 0; overflow: hidden; }
.gp-card { background: #fff; border-radius: 14px; border: 1px solid #e6e8f3; border-top: 4px solid #8b7cf6; padding: 0 12px 12px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.gp-head { display: flex; align-items: center; gap: 9px; margin: 0 -12px; padding: 12px 14px; background: #f5f6fd; font-size: 17px; color: #111827; }
.gp-head > svg { width: 20px; height: 20px; color: #374151; }
.gp-head b { flex: 1; }
.gp-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; color: #6b7280; }
.gp-ic svg { width: 15px; height: 15px; }
.gp-blue { color: #6366f1; border-color: #c7d2fe; }
.gp-red { color: #ef4444; border-color: #fecaca; background: #fef2f2; }
.gp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.gp-f { padding: 9px 10px; border: 1px solid #eceef5; border-radius: 9px; font-size: 12px; color: #374151; }
.gp-f span { margin-right: 5px; color: #6366f1; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; }
.gp-wide { grid-column: 1 / -1; }
.gp-box { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; border: 1.5px solid; font-size: 12px; }
.gp-box svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; }
.gp-pref { border-color: #c7d2fe; background: #eef0ff; color: #3730a3; }
.gp-pref svg { background: #dfe3ff; }
.gp-notes { border-color: #fca5a5; background: #fef2f2; color: #b91c1c; animation: gp-note 12s ease-in-out infinite; }
.gp-notes svg { background: #fee2e2; }
.gp-freq { border-color: #86efac; background: #f0fdf4; color: #166534; }
.gp-freq svg { background: #22c55e; color: #fff; }
.gp-acc { border-radius: 10px; border: 1.5px solid; overflow: hidden; }
.gp-acc-h { display: flex; align-items: center; gap: 9px; padding: 10px 12px; font-size: 13px; }
.gp-acc-h svg { width: 15px; height: 15px; }
.gp-green { border-color: #86efac; background: #f0fdf4; color: #14532d; }
.gp-dollar { color: #16a34a; }
.gp-bluebox { border-color: #93c5fd; background: #eff6ff; color: #1e3a8a; }
.gp-open .gp-acc-h > svg:first-child { animation: gp-chev 12s ease-in-out infinite; }
.gp-list { max-height: 0; overflow: hidden; animation: gp-open 12s ease-in-out infinite; }
.gp-list div { display: grid; grid-template-columns: 60px 1fr auto; gap: 8px; padding: 8px 12px; border-top: 1px solid #dbeafe; font-size: 12px; background: #fff; }
.gp-list b { color: #374151; }
.gp-first { animation: gp-glow 12s ease-in-out infinite; }
.gp-toast { animation: gp-toast 12s ease-in-out infinite; }
@keyframes gp-open { 0%, 15% { max-height: 0; } 25%, 75% { max-height: 140px; } 85%, 100% { max-height: 0; } }
@keyframes gp-chev { 0%, 15% { transform: none; } 25%, 75% { transform: rotate(180deg); } 85%, 100% { transform: none; } }
@keyframes gp-note { 0%, 35%, 50%, 100% { box-shadow: none; } 42% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2); } }
@keyframes gp-glow { 0%, 55%, 75%, 100% { box-shadow: none; } 62% { box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25); } }
@keyframes gp-toast { 0%, 58% { opacity: 0; transform: translateY(12px); } 62%, 80% { opacity: 1; transform: none; } 84%, 100% { opacity: 0; transform: translateY(12px); } }

/* Phone layout (class set by the inline script under 700 px): drawn at 520 x 700,
   no sidebar, two groomers, compact header. */
.gl-scale.gl-m { aspect-ratio: 520 / 700; }
.gl-m .gl { width: 520px; height: 700px; }
.gl-m .gl-app { grid-template-columns: 1fr; height: 666px; }
.gl-m .gl-side,
.gl-m .gl-today,
.gl-m .gl-btn:not(.gl-add),
.gl-m .gl-tog span:not(.on),
.gl-m .gl-legend { display: none; }
.gl-m .gl-head { padding: 0 12px; gap: 8px; }
.gl-m .gl-ttl b { font-size: 18px; }
.gl-m .gl-grid { margin: 10px 10px 12px; }
.gl-m .gl-ghead { grid-template-columns: 58px repeat(2, 1fr); }
.gl-m .gl-track { grid-template-columns: 58px 1fr; }
.gl-m .gl-cols { grid-template-columns: repeat(2, 1fr); }
.gl-m .gl-gh:nth-child(n+4),
.gl-m .gl-col:nth-child(n+4) { display: none; }
.gl-m .gl-svc { font-size: 11px; }
.gl-m .gl-toast { left: 16px; right: 16px; bottom: 18px; font-size: 13px; }
/* Inside the phone illustration: phone proportions. */
.device-phone .gl-scale.gl-m { aspect-ratio: 520 / 1000; }
.device-phone .gl-m .gl { height: 1000px; }
.device-phone .gl-m .gl-app { height: 966px; }
.gl-m .gp-cards { grid-template-columns: 1fr; }
.gl-m .gp-card:nth-child(n+2) { display: none; }
.gl-m .gp-card { font-size: 14px; }
.gl-m .gp-f { font-size: 14px; }
.gl-m .gp-box, .gl-m .gp-acc-h, .gl-m .gp-list div { font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .gl *, .gl *::before { animation: none !important; }
  .gl-online { opacity: 1; }
  .gl-swap .gl-b-live { opacity: 0; }
}
