/* Theme Components: nav, badges, feature chips, section headers */

/* Badges / chips */
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 10px; border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.08);
    background: var(--surface-2);
    color: var(--ink);
    font-weight: 600; font-size: 0.85rem;
}
.chip.brand { border-color: rgba(245, 87, 34, 0.25); background: rgba(245, 87, 34, 0.08); color: var(--brand); }

/* Section headers */
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* Feature list */
.feature-list-compact { list-style: none; padding: 0; margin: 0; }
.feature-list-compact li { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.feature-list-compact i { color: var(--brand); margin-top: 3px; }

/* Glass panel */
.glass-panel { background: rgba(255,255,255,0.7); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.45); border-radius: 16px; box-shadow: var(--elev-2); }

/* Unified newsletter control - rebuilt for robustness */
.newsletter-control { 
    width: 100%; 
    max-width: min(var(--form-desktop-max, 520px), calc(100% - (var(--form-container-gutter, 16px) * 2)));
    margin-inline: auto; 
    box-sizing: border-box; 
}

.newsletter-control .form-group { 
    display: flex; 
    align-items: stretch; 
    gap: 0; 
    border-radius: var(--radius-pill, 999px); 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.06); 
    width: 100%;
    min-width: 0;
}

.newsletter-control input[type="email"] { 
    flex: 1 1 auto;
    min-width: 0; 
    border: 1px solid var(--border-color, rgba(0,0,0,0.12)); 
    border-right: none; 
    padding: var(--space-3) var(--space-5); 
    background: var(--surface, #fff); 
    color: var(--ink, #0a0a0b); 
    box-sizing: border-box; 
    border-radius: var(--radius-pill) 0 0 var(--radius-pill); 
    min-height: 44px;
}

.newsletter-control input[type="email"]:focus { 
    outline: none; 
    box-shadow: inset 0 0 0 2px var(--brand, #F55722);
}

.newsletter-control button { 
    flex: 0 0 auto;
    white-space: nowrap; 
    border: none; 
    padding: 0 var(--space-6); 
    background: var(--brand-gradient, linear-gradient(135deg, #F55722 0%, #FF7A45 60%, #FF9F6E 100%)); 
    color: var(--brand-contrast, #fff); 
    border-radius: 0 var(--radius-pill, 999px) var(--radius-pill, 999px) 0; 
    height: 100%; 
    min-height: 44px;
    font-weight: 600;
    cursor: pointer;
}

/* Mobile stacked layout */
@media (max-width: 600px) {
  .newsletter-control { 
    max-width: var(--form-mobile-max, 520px);
  }
  
  .newsletter-control .form-group { 
    flex-direction: column; 
    border-radius: var(--radius-md, 14px); 
    gap: var(--space-2); 
    box-shadow: none;
  }
  
  .newsletter-control input[type="email"] { 
    border-right: 1px solid var(--border-color, rgba(0,0,0,0.12)); 
    border-radius: var(--radius-md, 14px); 
    flex: 1 1 auto;
  }
  
  .newsletter-control button { 
    width: 100%; 
    border-radius: var(--radius-pill, 999px); 
    padding: var(--space-3) var(--space-4); 
    flex: 1 1 auto;
    height: auto;
  }
}


