* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background: #f9fafb;
  min-height: 100vh;
  color: #1f2937;
  line-height: 1.6;
  position: relative;
}

/* Header - Django Style */
.header {
  padding: 0 20px;
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 112px;
  padding-bottom: 12px;
}

.logo {
  height: 72px;
  width: auto;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex: 1;
  margin-left: 32px;
  height: 100%;
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 0 4px;
  padding-bottom: 12px;
  border-bottom: 2px solid transparent;
  display: inline-flex;
  align-items: flex-end;
}

.nav-menu a:hover {
  color: #374151;
  border-bottom-color: #d1d5db;
}

.nav-menu a.active {
  color: #111827;
  border-bottom-color: #6fe5ff;
  font-weight: 500;
}

/* Auth Actions */
.auth-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: 16px;
}

.auth-actions .login-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-actions .login-link:hover {
  color: #374151;
}

.auth-actions .signup-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0b0f14;
  text-decoration: none;
  background: #6fe5ff;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-actions .signup-btn:hover {
  background: #87eaff;
}

/* Language Selector - Django Style (simple text with separator) */
.lang-selector {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100%;
  padding-bottom: 12px;
}

.lang-selector a {
  font-size: 0.875rem;
  font-weight: 400;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.lang-selector a:hover {
  color: #374151;
}

.lang-selector a.active {
  color: #0590cc;
  font-weight: 500;
}

.lang-selector .sep {
  color: #d1d5db;
  font-weight: 300;
}

/* Container - Wide for index (like Django project list) */
.container {
  max-width: 1152px; /* max-w-6xl from Django (64rem = 1152px) */
  margin: 0 auto;
  padding: 48px 16px;
  text-align: center;
}

/* Container - Narrow for legal pages (matching feature page width) */
.container.narrow {
  max-width: 900px;
}

/* Modern Index Glass Card */
.index-glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  padding: 56px 48px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.02);
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.index-glass-card:hover {
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.05),
    0 4px 16px rgba(0, 0, 0, 0.03);
}

/* Hero Section inside Glass Card */
.index-glass-card .hero-section {
  text-align: center;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(6, 178, 255, 0.15);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0590cc;
  background: rgba(111, 229, 255, 0.12);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-section h1 {
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #374151;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge svg {
  color: #0590cc;
  flex-shrink: 0;
}

/* Modern Features Grid */
.features-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 0;
}

.feature-card-glass {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
  background: rgba(245, 249, 253, 0.6);
  border: 1px solid rgba(111, 229, 255, 0.12);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06),
              0 4px 12px rgba(0, 0, 0, 0.03);
  border-color: rgba(111, 229, 255, 0.2);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(111, 229, 255, 0.18) 0%, rgba(6, 178, 255, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0590cc;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-glass:hover .feature-icon {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 178, 255, 0.2);
}

.feature-card-glass h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0b0f14;
}

.feature-card-glass p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #4b5563;
}

/* How it Works */
.how-it-works {
  text-align: center;
}

.section-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0b0f14;
  margin: 0 0 36px 0;
  background: linear-gradient(135deg, #0b0f14 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 240px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #06b2ff 0%, #0590cc 100%);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(6, 178, 255, 0.25);
}

.step-content h4 {
  margin: 0 0 8px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #0b0f14;
}

.step-content p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b7280;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 8px;
  color: rgba(6, 178, 255, 0.4);
  flex-shrink: 0;
}

/* Legacy feature-item support */
.feature-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item:hover .feature-icon {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(6, 178, 255, 0.2);
}

.feature-item h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #0b0f14;
}

.feature-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
}

/* Modern Divider */
.modern-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 178, 255, 0.2) 20%, rgba(6, 178, 255, 0.2) 80%, transparent);
  margin: 48px 0;
}

/* Modern CTA Section */
.cta-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 204, 77, 0.15);
  border: 1px solid rgba(255, 204, 77, 0.3);
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #d97706;
}

.status-badge svg {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.cta-text {
  font-size: 1.1rem;
  color: #4b5563;
  margin: 0;
  font-weight: 500;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #6fe5ff;
  color: #0b0f14;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(111, 229, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
  background: #87eaff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(111, 229, 255, 0.4);
}

.cta-button svg {
  flex-shrink: 0;
}

h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #0b0f14 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 24px;
  color: #1f2937;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 18px;
  color: #374151;
}

.subtitle {
  font-size: 1.15rem;
  color: #4b5563;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Features - Glassmorphism cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.features > div {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04),
              0 1px 2px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.features > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06),
              0 4px 12px rgba(0, 0, 0, 0.03);
  border-color: rgba(111, 229, 255, 0.2);
}

.features h3 {
  color: #0590cc;
  margin-bottom: 10px;
  margin-top: 0;
  font-size: 1.15rem;
}

.features p {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 1rem;
  margin-top: 20px;
}

.cta p {
  margin-bottom: 12px;
}

.cta a {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #0b0f14;
  text-decoration: none;
  background: #6fe5ff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(111, 229, 255, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta a:hover {
  background: #87eaff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(111, 229, 255, 0.4);
  text-decoration: none;
}

/* Secondary/text links */
.cta a.text-link {
  background: transparent;
  color: #0590cc;
  box-shadow: none;
  padding: 8px 16px;
}

.cta a.text-link:hover {
  color: #06b2ff;
  background: rgba(111, 229, 255, 0.1);
  transform: none;
  box-shadow: none;
}

/* Footer - static at page bottom */
.footer {
  text-align: center;
  padding: 24px 20px;
  font-size: 0.875rem;
  color: rgba(107, 114, 128, 0.8);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.7);
  margin-top: 32px;
}

.footer a {
  color: rgba(107, 114, 128, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #0590cc;
}

.footer .sep {
  margin: 0 10px;
  opacity: 0.5;
}

/* Content pages - Glass card styling */
main.container[style*="text-align:left"] {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 32px;
  margin-top: 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
}

main.container[style*="text-align:left"] h1 {
  margin-top: 0;
  font-size: 2rem;
}

main.container[style*="text-align:left"] h1 + .subtitle {
  margin-top: 8px;
}

/* Product Page Glass Card */
.product-glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  padding: 48px;
  max-width: 920px;
  margin: 0 auto;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero section - centered headline, left-aligned text */
.hero-centered {
  text-align: left;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(6, 178, 255, 0.15);
}

.hero-centered h1 {
  text-align: center;
  margin-top: 0;
  font-size: 2rem;
  color: #0b0f14;
}

.hero-centered .subtitle {
  margin-top: 16px;
  margin-bottom: 0;
  text-align: left;
  font-size: 1.1rem;
  color: #4b5563;
}

.hero-centered .hero-description {
  margin-top: 16px;
  font-size: 1.05rem;
  color: #4b5563;
  text-align: left;
}

/* Content sections - left aligned */
.content-section {
  margin-bottom: 48px;
  text-align: left;
}

.content-section h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #0b0f14;
  font-size: 1.5rem;
}

.content-section h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  color: #1f2937;
  font-size: 1.15rem;
}

.content-section p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: #4b5563;
}

/* CTA Section - centered */
.cta-section-centered {
  text-align: center;
  margin-top: 64px;
  margin-bottom: 0;
}

.cta-section-centered h2 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #0b0f14;
}

.cta-section-centered .subtitle {
  font-size: 1.1rem;
  color: #4b5563;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.cta-button-primary {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(135deg, #06b2ff 0%, #0590cc 100%);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(6, 178, 255, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(6, 178, 255, 0.4);
}

.cta-button-secondary {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #0590cc;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(6, 178, 255, 0.3);
  border-radius: 14px;
  transition: all 0.2s ease;
}

.cta-button-secondary:hover {
  background: rgba(111, 229, 255, 0.15);
  border-color: rgba(6, 178, 255, 0.5);
}

main.container[style*="text-align:left"] section h2:first-child {
  margin-top: 0;
}

/* Links in content */
main a {
  color: #0590cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

main a:hover {
  color: #06b2ff;
  text-decoration: underline;
}

/* Lists in content */
main ul {
  margin-left: 24px;
  margin-bottom: 16px;
  list-style-type: disc;
  list-style-position: outside;
}

main ol {
  margin-left: 24px;
  margin-bottom: 16px;
  list-style-type: decimal;
  list-style-position: outside;
}

main ul li,
main ol li {
  margin-bottom: 8px;
  padding-left: 8px;
  line-height: 1.7;
  color: #4b5563;
}

/* ============ MOBILE MENU BUTTON ============ */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  margin-left: auto;
  flex-shrink: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1024px) {
  .nav-menu {
    gap: 16px;
    margin-left: 24px;
  }

  .nav-menu a {
    font-size: 0.875rem;
  }

  .auth-actions {
    gap: 12px;
    margin-right: 16px;
  }
}

/* ---- Tablet / Mobile: Hamburger menu ---- */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .header {
    padding: 0 16px;
  }

  .header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    height: auto;
    padding: 10px 0;
  }

  .logo {
    height: 48px;
  }

  /* Hide nav elements by default on mobile */
  .nav-menu,
  .header-inner > .v6-nav-cta,
  .auth-actions,
  .lang-selector {
    display: none !important;
  }

  /* Show when menu is open */
  .header-inner.menu-open .nav-menu,
  .header-inner.menu-open > .v6-nav-cta,
  .header-inner.menu-open .auth-actions,
  .header-inner.menu-open .lang-selector {
    display: flex !important;
  }

  /* Nav items stack vertically when open */
  .header-inner.menu-open .nav-menu {
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    order: 10;
    margin-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 8px;
    margin-top: 8px;
    height: auto;
  }

  .header-inner.menu-open .nav-menu a {
    padding: 12px 16px;
    height: auto;
    border-bottom: none;
    border-radius: 10px;
    font-size: 0.95rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .header-inner.menu-open .nav-menu a:hover,
  .header-inner.menu-open .nav-menu a.active {
    background: rgba(111, 229, 255, 0.1);
  }

  /* CTA link in menu (when outside nav-menu) */
  .header-inner.menu-open > .v6-nav-cta {
    flex-basis: 100%;
    order: 11;
    margin: 0;
    padding: 12px 16px;
    border-bottom: none;
    font-size: 0.95rem;
    min-height: 44px;
    align-items: center;
    border-radius: 10px;
  }

  .header-inner.menu-open > .v6-nav-cta:hover {
    background: rgba(111, 229, 255, 0.1);
  }

  /* Auth actions in menu */
  .header-inner.menu-open .auth-actions {
    flex-basis: 100%;
    order: 11;
    margin: 0;
    padding: 4px 0;
    gap: 0;
    flex-direction: column;
  }

  .header-inner.menu-open .auth-actions a {
    padding: 12px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 10px;
  }

  /* Lang selector in menu */
  .header-inner.menu-open .lang-selector {
    flex-basis: 100%;
    order: 12;
    padding: 8px 16px 4px;
    height: auto;
    padding-bottom: 4px;
  }

  .header-inner.menu-open .lang-selector a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  /* General mobile content */
  h1 {
    font-size: 1.9rem;
  }

  .container {
    padding: 36px 16px;
  }

  .container.narrow {
    max-width: 100%;
    padding: 24px 16px;
  }

  .index-glass-card {
    padding: 36px 24px;
    border-radius: 24px;
  }

  .index-glass-card .hero-section {
    margin-bottom: 36px;
    padding-bottom: 36px;
  }

  .hero-badges {
    gap: 8px;
    margin-top: 20px;
  }

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

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

  .feature-card-glass {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .modern-divider {
    margin: 32px 0;
  }

  .steps-row {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .step-connector {
    transform: rotate(90deg);
    padding: 8px 0;
  }

  .step-item {
    max-width: 100%;
  }

  .section-heading {
    font-size: 1.25rem;
    margin-bottom: 24px;
  }

  .cta-modern {
    gap: 20px;
  }

  .product-glass-card {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .hero-centered {
    margin-bottom: 32px;
    padding-bottom: 32px;
  }

  .hero-centered h1 {
    font-size: 1.7rem;
  }

  .cta-section-centered {
    margin-top: 48px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

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

  .features > div {
    padding: 24px 20px;
    border-radius: 18px;
  }

  main.container[style*="text-align:left"] {
    padding: 28px 20px;
    border-radius: 20px;
  }

  main.container[style*="text-align:left"] h1 {
    font-size: 1.6rem;
  }

  .cta a {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  /* Footer mobile */
  .footer {
    padding: 20px 16px;
    line-height: 2;
  }

  .footer .sep {
    margin: 0 6px;
  }
}

/* ---- Small phones ---- */
@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }

  .logo {
    height: 42px;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 5px 10px;
  }

  .index-glass-card {
    padding: 28px 16px;
    border-radius: 20px;
  }

  .container {
    padding: 24px 12px;
  }

  .container.narrow {
    padding: 20px 14px;
  }

  .cta-button {
    font-size: 0.8rem;
    padding: 9px 18px;
  }

  .product-glass-card {
    padding: 24px 16px;
    border-radius: 20px;
  }

  main.container[style*="text-align:left"] {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .subtitle {
    font-size: 1rem;
  }

  .footer a {
    font-size: 0.82rem;
  }

  .footer .sep {
    margin: 0 4px;
  }
}

/* ---- Safe area for notched phones ---- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  #cookie-banner {
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 12px 12px 0 0;
  }
}
