/* OBO.LLC Design System — Clean Light Theme (Microsoft Fluent-inspired) */

:root {
  --bg-page: #ffffff;
  --bg-subtle: #f5f6f8;
  --bg-footer: #f2f2f2;
  --bg-tint-blue: #f0f6fc;
  --bg-tint-green: #eef6f1;
  --bg-tint-slate: #f2f3f7;

  --surface-card: #ffffff;
  --border-light: #e6e6e6;
  --border-medium: #d1d1d1;

  --text-heading: #111111;
  --text-body: #262626;
  --text-secondary: #5c5c5c;
  --text-muted: #707070;

  --brand-blue: #0067b8;
  --brand-blue-hover: #005da6;
  --brand-blue-active: #004e8c;
  --brand-blue-soft: #e8f2fa;

  --accent-green: #107c41;
  --accent-green-soft: #e6f4ec;
  --accent-slate: #464775;
  --accent-slate-soft: #eeeff6;

  --font-sans: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 14px 36px rgba(0, 0, 0, 0.14);

  --container-max: 1180px;
  --header-height: 60px;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 16px;
}

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

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--brand-blue);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 3000;
}

.skip-link:focus {
  left: 12px;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-tight {
  padding: 52px 0;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 32px;
  min-width: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-heading);
  flex-shrink: 0;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--text-heading);
  transition: color 0.15s ease;
}

.brand-sub {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--text-secondary);
  white-space: nowrap;
}

.brand-logo:hover .brand-name {
  color: var(--brand-blue);
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-body);
  border-radius: var(--radius-xs);
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--brand-blue);
  background-color: var(--bg-subtle);
}

.nav-link.active {
  font-weight: 600;
  color: var(--text-heading);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -11px;
  height: 2px;
  background-color: var(--brand-blue);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-phone,
.header-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.header-phone:hover,
.header-contact-link:hover {
  color: var(--brand-blue);
}

.header-support-btn {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-blue);
  padding: 7px 14px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.header-support-btn:hover {
  background-color: var(--brand-blue-soft);
  border-color: var(--brand-blue);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-heading);
}

.mobile-menu-btn:hover {
  background-color: var(--bg-subtle);
}

.mobile-nav-drawer {
  display: none;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  padding: 12px 24px 20px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-link.active {
  color: var(--brand-blue);
  font-weight: 600;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* Slim Microsoft-style Announcement Strip */
.announcement-bar {
  background-color: var(--brand-blue);
  color: #ffffff;
  font-size: 0.875rem;
}

.announcement-bar[hidden] {
  display: none;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 44px 10px 24px;
  position: relative;
  text-align: center;
  flex-wrap: wrap;
}

.announcement-link {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.announcement-link:hover {
  opacity: 0.9;
}

.announcement-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0.85;
  border-radius: var(--radius-xs);
}

.announcement-close:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.14);
}

/* Catchy Holiday Flash Sales Promo Banner (WeHaveYour.com) */
.promo-banner {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(95deg, #991b1b 0%, #dc2626 48%, #b91c1c 100%);
}

.promo-banner[hidden] {
  display: none;
}

.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.14) 48%,
    transparent 76%
  );
  transform: translateX(-100%);
  animation: promoSheen 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes promoSheen {
  0%,
  55% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(110%);
  }
}

@keyframes promoPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(253, 224, 71, 0.75);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.15);
    box-shadow: 0 0 0 5px rgba(253, 224, 71, 0);
  }
}

.promo-theme-holiday {
  background: linear-gradient(95deg, #991b1b 0%, #dc2626 46%, #b45309 100%);
}

.promo-theme-cyber {
  background: linear-gradient(95deg, #004e8c 0%, #2563eb 50%, #4f46e5 100%);
}

.promo-theme-new-year {
  background: linear-gradient(95deg, #0f172a 0%, #1d4ed8 52%, #6d28d9 100%);
}

.promo-theme-valentine {
  background: linear-gradient(95deg, #9f1239 0%, #e11d48 52%, #db2777 100%);
}

.promo-theme-spring {
  background: linear-gradient(95deg, #065f46 0%, #059669 52%, #0d9488 100%);
}

.promo-theme-summer {
  background: linear-gradient(95deg, #9a3412 0%, #ea580c 52%, #d97706 100%);
}

.promo-theme-independence {
  background: linear-gradient(95deg, #1e3a8a 0%, #2563eb 46%, #dc2626 100%);
}

.promo-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px 52px 12px 24px;
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: center;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  background-color: rgba(17, 17, 17, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.promo-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fde047;
  animation: promoPulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

.promo-copy {
  font-weight: 500;
  color: #ffffff;
}

.promo-deadline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.promo-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: #111111;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.promo-cta-btn:hover {
  background-color: #f3f4f6;
  transform: translateY(-1px);
}

.promo-close-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0.9;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.promo-close-btn:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.18);
}

/* Holiday Flash Sales Manager Modal Helpers */
.promo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.promo-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.promo-list-item.is-current {
  border-color: var(--brand-blue);
  background-color: var(--bg-tint-blue);
}

.promo-list-meta {
  min-width: 0;
  flex: 1;
}

.promo-list-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.promo-list-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.promo-status-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  vertical-align: middle;
}

.promo-status-live {
  background-color: var(--accent-green-soft);
  color: var(--accent-green);
}

.promo-status-upcoming {
  background-color: var(--brand-blue-soft);
  color: var(--brand-blue);
}

.promo-status-ended {
  background-color: #ececec;
  color: var(--text-muted);
}

.promo-list-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.promo-mini-btn {
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background-color: #ffffff;
  color: var(--text-heading);
}

.promo-mini-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.promo-mini-btn.danger:hover {
  border-color: #dc2626;
  color: #dc2626;
}

.promo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.promo-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 18px 0;
}

.promo-feedback {
  font-size: 0.84rem;
  color: var(--accent-green);
  font-weight: 600;
  margin-top: 10px;
  min-height: 20px;
}

/* Buttons & Text Links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  min-height: 44px;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: #ffffff;
  border: 1px solid var(--brand-blue);
}

.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  border-color: var(--brand-blue-hover);
}

.btn-primary:active {
  background-color: var(--brand-blue-active);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-heading);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: #b3b3b3;
}

.btn-green {
  background-color: var(--accent-green);
  color: #ffffff;
  border: 1px solid var(--accent-green);
}

.btn-green:hover {
  background-color: #0d6836;
  border-color: #0d6836;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-blue);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link svg {
  transition: transform 0.15s ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

/* Hero Section (Calm Editorial Light Canvas) */
.hero {
  background: linear-gradient(180deg, var(--bg-tint-blue) 0%, #f8fafd 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 68px 0 72px;
}

.hero-green {
  background: linear-gradient(180deg, var(--bg-tint-green) 0%, #f9fbfa 100%);
}

.hero-slate {
  background: linear-gradient(180deg, var(--bg-tint-slate) 0%, #fafafb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.hero-eyebrow-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 14px;
}

.hero-eyebrow-stack .eyebrow-main {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hero-eyebrow-stack .eyebrow-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.hero-green .hero-eyebrow {
  color: var(--accent-green);
}

.hero-slate .hero-eyebrow {
  color: var(--accent-slate);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--text-heading);
  margin-bottom: 18px;
}

.hero-accent {
  position: relative;
  display: inline-block;
  color: var(--brand-blue);
  background: linear-gradient(95deg, #005aa3 0%, #0078d4 52%, #0095df 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 3px;
  bottom: -4px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0067b8 0%, #0095df 65%, rgba(0, 149, 223, 0.25) 100%);
}

.hero-lead {
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 56ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Clean Minimalist Hero Illustration */
.hero-visual {
  width: 100%;
  max-width: 440px;
  justify-self: end;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 50, 100, 0.06));
}

/* Section Headers */
.section-head {
  margin-bottom: 36px;
  max-width: 640px;
}

.section-head h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.section-head p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Microsoft-Style Editorial Brand Cards */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.brand-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.brand-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.brand-card-visual {
  height: 152px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.visual-blue {
  background: linear-gradient(135deg, #e8f2fa 0%, #f4f8fc 100%);
}

.visual-green {
  background: linear-gradient(135deg, #e7f3ec 0%, #f4faf6 100%);
}

.visual-slate {
  background: linear-gradient(135deg, #eceef5 0%, #f6f7fa 100%);
}

.card-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.visual-blue .card-kicker {
  color: var(--brand-blue);
}

.visual-green .card-kicker {
  color: var(--accent-green);
}

.visual-slate .card-kicker {
  color: var(--accent-slate);
}

.card-brand-title {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}

.brand-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 20px;
}

.brand-card-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.brand-card-body p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Simple Principles / Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.pillar-item {
  border-top: 2px solid var(--brand-blue);
  padding-top: 18px;
}

.pillar-item h3 {
  font-size: 1.075rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.pillar-item p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Quiet Contact Strip */
.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 40px;
  background-color: var(--bg-tint-blue);
  border: 1px solid #d7e6f5;
  border-radius: var(--radius-md);
}

.contact-strip h2 {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.contact-strip p {
  color: var(--text-secondary);
  font-size: 0.975rem;
}

.contact-strip-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Clean Info Card (used across subpages) */
.info-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.info-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.info-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.info-kicker-green {
  color: var(--accent-green);
}

/* WeHaveYour.com Specific Clean Components */
.flip-stage {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.flip-headline {
  font-size: clamp(1.75rem, 4.8vw, 3.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.flip-word-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.flip-word-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 16px;
  min-width: 150px;
  background-color: #ffffff;
  border: 1px solid #c5dcf0;
  border-bottom: 3px solid var(--brand-blue);
  border-radius: var(--radius-sm);
  color: var(--brand-blue);
}

#dynamicFlipWord {
  display: inline-block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#dynamicFlipWord.is-changing {
  opacity: 0;
  transform: translateY(-6px);
}

.flip-tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: #1f2937;
  margin: 4px 0 32px;
}

.tagline-line {
  display: inline-block;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  flex-shrink: 0;
}

.tagline-line-left {
  background: linear-gradient(90deg, transparent 0%, #6cb2e6 100%);
}

.tagline-line-right {
  background: linear-gradient(90deg, #6cb2e6 0%, transparent 100%);
}

.tagline-emphasis {
  position: relative;
  display: inline-block;
  color: var(--brand-blue);
  background: linear-gradient(95deg, #005aa3 0%, #0078d4 52%, #0095df 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline-emphasis::after {
  content: '';
  position: absolute;
  left: 0;
  right: 2px;
  bottom: -3px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0067b8 0%, #0095df 65%, rgba(0, 149, 223, 0.25) 100%);
}

.word-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -8px;
  margin-bottom: 32px;
}

.word-chips[hidden] {
  display: none;
}

.word-chip {
  padding: 6px 13px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.word-chip:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.word-chip.active {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
  font-weight: 600;
}

.search-box-card {
  max-width: 920px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.search-form-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: stretch;
}

.search-form-grid .field-input {
  min-height: 58px;
  padding: 14px 18px;
  font-size: 1.075rem;
}

.search-form-grid .btn {
  min-height: 58px;
  padding: 14px 28px;
  font-size: 1.025rem;
  white-space: nowrap;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  padding: 10px 14px;
  min-height: 44px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-heading);
  font-size: 0.95rem;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: var(--brand-blue);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 103, 184, 0.15);
}

.search-result-box {
  margin-top: 16px;
  padding: 18px 20px;
  background-color: var(--bg-tint-blue);
  border: 1px solid #cce0f4;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.search-result-box h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.search-result-box p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Template Preview Switcher */
.template-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.template-tab {
  padding: 9px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.template-tab:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.template-tab.active {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
  font-weight: 600;
}

.template-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
}

.template-panel.active {
  display: grid;
}

.template-panel h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.template-panel p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.browser-preview {
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #ffffff;
}

.browser-preview-bar {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d0d0d0;
}

.browser-preview-body {
  padding: 24px;
  background-color: #fafbfc;
}

.browser-preview-body h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.browser-preview-body p {
  font-size: 0.875rem;
  margin-bottom: 14px;
}

.preview-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-tag {
  font-size: 0.78rem;
  color: var(--text-secondary);
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

/* 5050.LLC Clean Comparison Table (Responsive) */
.rate-table-wrap {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
}

.rate-table th,
.rate-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.rate-table tbody tr:last-child td {
  border-bottom: none;
}

.rate-table th {
  background-color: var(--bg-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.rate-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background-color: var(--accent-green-soft);
  color: var(--accent-green);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.table-note {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* 5050.LLC Right-Side Live Index Futures Widget */
.hero-grid-futures {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.futures-card {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #d2e4da;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(16, 124, 65, 0.08);
  overflow: hidden;
}

.futures-card.is-theme-animated,
.futures-card.is-theme-animated .futures-head,
.futures-card.is-theme-animated .futures-list,
.futures-card.is-theme-animated .futures-tabs,
.futures-card.is-theme-animated .futures-foot {
  transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.futures-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding: 15px 18px;
  background: linear-gradient(180deg, #f6fbf8 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
}

.futures-head-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.futures-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(16, 124, 65, 0.16);
  flex-shrink: 0;
  animation: futuresPulse 2.2s ease-in-out infinite;
}

.futures-live-dot.is-preview {
  background-color: #b45309;
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.16);
  animation: none;
}

.futures-live-dot.is-closed {
  background-color: #64748b;
  box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.2);
  animation: none;
}

@keyframes futuresPulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(16, 124, 65, 0.18);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(16, 124, 65, 0.04);
  }
}

.futures-head h2 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
}

.futures-head p {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.futures-head-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.futures-mode-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background-color: var(--accent-green-soft);
  color: var(--accent-green);
}

.futures-mode-pill.is-preview {
  background-color: #fef3c7;
  color: #92400e;
}

.futures-mode-pill.is-closed {
  background-color: #e2e8f0;
  color: #334155;
}

.futures-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.futures-theme-btn:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background-color: #f6fbf8;
}

.futures-theme-btn .theme-icon-sun {
  display: none;
}

.futures-card.is-dark .futures-theme-btn .theme-icon-moon {
  display: none;
}

.futures-card.is-dark .futures-theme-btn .theme-icon-sun {
  display: block;
}

.futures-refresh-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.futures-refresh-btn:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background-color: #f6fbf8;
}

.futures-refresh-btn.is-spinning svg {
  animation: futuresSpin 0.8s linear infinite;
}

@keyframes futuresSpin {
  to {
    transform: rotate(360deg);
  }
}

.futures-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px 14px;
  background-color: #f8faf9;
  border-bottom: 1px solid var(--border-light);
}

.futures-tab {
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.futures-tab:hover {
  color: var(--text-heading);
  background-color: rgba(16, 124, 65, 0.06);
}

.futures-tab.active {
  background-color: var(--accent-green);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(16, 124, 65, 0.22);
}

.futures-list {
  display: flex;
  flex-direction: column;
}

.futures-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px auto;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.15s ease;
}

.futures-row:last-child {
  border-bottom: none;
}

.futures-row:hover {
  background-color: #fafcfb;
}

.futures-name-col {
  min-width: 0;
}

.futures-name {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.25;
}

.futures-code {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.futures-spark {
  width: 64px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.futures-spark svg {
  width: 64px;
  height: 24px;
  overflow: visible;
}

.futures-price-col {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.futures-price {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
}

.futures-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
}

.futures-change.is-up {
  background-color: var(--accent-green-soft);
  color: var(--accent-green);
}

.futures-change.is-down {
  background-color: #fef2f2;
  color: #b91c1c;
}

.futures-change.is-flat {
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
}

.futures-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 18px;
  background-color: #f8faf9;
  border-top: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.futures-disclaimer-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-green);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
}

/* Dark Theme for 5050.LLC Live Markets Card (Auto when Market Closed + Manual Toggle) */
.futures-card.is-dark {
  background-color: #0f172a;
  border-color: #243249;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.24);
}

.futures-card.is-dark .futures-head {
  background: linear-gradient(180deg, #162238 0%, #111b2e 100%);
  border-bottom-color: #233148;
}

.futures-card.is-dark .futures-head h2 {
  color: #f8fafc;
}

.futures-card.is-dark .futures-head p {
  color: #94a3b8;
}

.futures-card.is-dark .futures-live-dot {
  background-color: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22);
}

.futures-card.is-dark .futures-live-dot.is-preview {
  background-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.futures-card.is-dark .futures-live-dot.is-closed {
  background-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
}

.futures-card.is-dark .futures-mode-pill {
  background-color: rgba(16, 185, 129, 0.18);
  color: #34d399;
}

.futures-card.is-dark .futures-mode-pill.is-preview {
  background-color: rgba(251, 191, 36, 0.18);
  color: #fcd34d;
}

.futures-card.is-dark .futures-mode-pill.is-closed {
  background-color: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}

.futures-card.is-dark .futures-theme-btn,
.futures-card.is-dark .futures-refresh-btn {
  background-color: #18243b;
  border-color: #2b3c58;
  color: #e2e8f0;
}

.futures-card.is-dark .futures-theme-btn:hover,
.futures-card.is-dark .futures-refresh-btn:hover {
  border-color: #34d399;
  color: #ffffff;
  background-color: #1f2f4d;
}

.futures-card.is-dark .futures-tabs {
  background-color: #0b1322;
  border-bottom-color: #233148;
}

.futures-card.is-dark .futures-tab {
  color: #94a3b8;
}

.futures-card.is-dark .futures-tab:hover {
  color: #f8fafc;
  background-color: rgba(255, 255, 255, 0.06);
}

.futures-card.is-dark .futures-tab.active {
  background-color: #107c41;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 124, 65, 0.35);
}

.futures-card.is-dark .futures-list {
  background-color: #0f172a;
}

.futures-card.is-dark .futures-row {
  background-color: #0f172a;
  border-bottom-color: #1e293b;
}

.futures-card.is-dark .futures-row:hover {
  background-color: #162238;
}

.futures-card.is-dark .futures-name,
.futures-card.is-dark .futures-price {
  color: #f8fafc;
}

.futures-card.is-dark .futures-code {
  color: #94a3b8;
}

.futures-card.is-dark .futures-change.is-up {
  background-color: rgba(16, 185, 129, 0.16);
  color: #34d399;
}

.futures-card.is-dark .futures-change.is-down {
  background-color: rgba(248, 113, 113, 0.16);
  color: #f87171;
}

.futures-card.is-dark .futures-change.is-flat {
  background-color: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
}

.futures-card.is-dark .futures-foot {
  background-color: #0b1322;
  border-top-color: #1e293b;
  color: #94a3b8;
}

.futures-card.is-dark .futures-disclaimer-btn {
  color: #34d399;
}

/* Footer (Classic Microsoft Light-Gray Footer) */
.site-footer {
  margin-top: auto;
  background-color: var(--bg-footer);
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid #dedede;
}

.footer-col h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.footer-brand-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 10px;
  max-width: 30ch;
}

.footer-inline-link {
  color: var(--brand-blue);
  font-weight: 600;
  font-size: inherit;
  padding: 0;
}

.footer-inline-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-link-btn {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-align: left;
  padding: 0;
}

.footer-col a:hover,
.footer-link-btn:hover {
  color: var(--text-heading);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom-links a:hover,
.footer-bottom-links button:hover {
  color: var(--text-heading);
  text-decoration: underline;
}

/* Understated Support Chat Widget */
.chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--brand-blue);
  color: #ffffff;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.chat-launcher:hover {
  background-color: var(--brand-blue-hover);
  transform: translateY(-1px);
}

body.cookie-visible .chat-launcher {
  bottom: 86px;
}

.chat-drawer {
  position: fixed;
  right: 20px;
  bottom: 78px;
  width: 360px;
  max-width: calc(100vw - 24px);
  max-height: min(520px, calc(100dvh - 104px));
  background-color: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1300;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-drawer.open {
  display: flex;
}

.chat-head {
  background-color: var(--brand-blue);
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.chat-head-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-brand-badge {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.overlay-brand-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.chat-head h3 {
  font-size: 0.975rem;
  font-weight: 600;
}

.chat-head p {
  font-size: 0.78rem;
  opacity: 0.9;
  margin-top: 2px;
}

.icon-close-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-head .icon-close-btn {
  color: #ffffff;
}

.chat-head .icon-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.16);
}

.chat-phone-bar {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chat-phone-bar a,
.chat-phone-bar .chat-callback-btn {
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.chat-phone-bar a:hover,
.chat-phone-bar .chat-callback-btn:hover {
  text-decoration: underline;
}

.chat-inline-btn {
  color: var(--brand-blue);
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
  padding: 0;
}

.chat-messages {
  padding: 14px 16px;
  flex: 1;
  min-height: 210px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #ffffff;
}

.chat-msg {
  max-width: 86%;
  padding: 10px 13px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.5;
}

.chat-msg.agent {
  align-self: flex-start;
  background-color: var(--bg-subtle);
  color: var(--text-body);
  border: 1px solid var(--border-light);
}

.chat-msg.agent a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: underline;
}

.chat-msg.user {
  align-self: flex-end;
  background-color: var(--brand-blue);
  color: #ffffff;
}

.chat-quick-row {
  padding: 8px 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 6px;
  overflow-x: auto;
  background-color: #fafafa;
}

.chat-chip {
  padding: 5px 11px;
  font-size: 0.78rem;
  color: var(--brand-blue);
  background-color: #ffffff;
  border: 1px solid #cce0f4;
  border-radius: 999px;
  white-space: nowrap;
}

.chat-chip:hover {
  background-color: var(--brand-blue-soft);
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border-light);
  background-color: #ffffff;
}

.chat-form input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.chat-form input:focus {
  border-color: var(--brand-blue);
  outline: none;
}

.chat-form button {
  padding: 8px 14px;
  background-color: var(--brand-blue);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.chat-form button:hover {
  background-color: var(--brand-blue-hover);
}

/* Modals (Legal & Seasonal Announcement Editor) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(17, 17, 17, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 720px;
  max-height: 86dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-head h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
}

.modal-head .icon-close-btn {
  color: var(--text-secondary);
}

.modal-head .icon-close-btn:hover {
  background-color: var(--bg-subtle);
  color: var(--text-heading);
}

.modal-body {
  padding: 22px;
  overflow-y: auto;
  flex: 1;
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.legal-tab {
  padding: 7px 13px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background-color: var(--bg-subtle);
  border-radius: var(--radius-sm);
}

.legal-tab:hover {
  color: var(--text-heading);
}

.legal-tab.active {
  background-color: var(--brand-blue);
  color: #ffffff;
  font-weight: 600;
}

.legal-panel {
  display: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.legal-panel.active {
  display: block;
}

.legal-panel h4 {
  color: var(--text-heading);
  font-size: 1rem;
  font-weight: 600;
  margin: 16px 0 6px;
}

.legal-panel h4:first-child {
  margin-top: 0;
}

.legal-panel p + p {
  margin-top: 10px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.preset-chip {
  padding: 6px 12px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.preset-chip:hover,
.preset-chip.active {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background-color: var(--brand-blue-soft);
}

/* Contact & Callback Request Modal */
.contact-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 4px;
  margin-bottom: 18px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.contact-mode-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.contact-mode-tab:hover {
  color: var(--text-heading);
}

.contact-mode-tab.active {
  background-color: #ffffff;
  color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

.contact-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.contact-callback-fields[hidden] {
  display: none;
}

.contact-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.field-textarea {
  min-height: 108px;
  resize: vertical;
  line-height: 1.5;
}

.contact-turnstile-wrap {
  margin-bottom: 14px;
}

.contact-turnstile-wrap:empty {
  display: none;
}

.contact-security-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.contact-security-note svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.contact-status-banner {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.contact-status-banner[hidden] {
  display: none;
}

.contact-status-banner.is-success {
  background-color: var(--accent-green-soft);
  border: 1px solid #b7dfc7;
  color: #0d5c30;
}

.contact-status-banner.is-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.contact-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-submit-row .btn[disabled] {
  opacity: 0.65;
  cursor: wait;
}

/* Unobtrusive Cookie Notice */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1250;
  background-color: #ffffff;
  border-top: 1px solid var(--border-medium);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  padding: 14px 0;
  display: none;
}

.cookie-bar.show {
  display: block;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.86rem;
  color: var(--text-secondary);
  max-width: 720px;
}

.cookie-text button {
  color: var(--brand-blue);
  text-decoration: underline;
  font-size: inherit;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  padding: 8px 16px;
  min-height: 38px;
  font-size: 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .hero-grid,
  .template-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cards-grid-3,
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}

@media (max-width: 860px) {
  .main-nav,
  .header-right {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }
}

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

  .section {
    padding: 48px 0;
  }

  .section-tight {
    padding: 36px 0;
  }

  .hero {
    padding: 44px 0 48px;
  }

  .cards-grid-3,
  .cards-grid-2,
  .pillars-grid,
  .search-form-grid {
    grid-template-columns: 1fr;
  }

  .search-box-card {
    padding: 18px;
  }

  .search-form-grid .field-input,
  .search-form-grid .btn {
    min-height: 52px;
    font-size: 1rem;
  }

  .hero-visual {
    display: none;
  }

  .template-panel {
    padding: 22px 18px;
  }

  .announcement-inner {
    padding: 10px 38px 10px 16px;
    font-size: 0.82rem;
    gap: 8px;
  }

  .promo-banner-inner {
    padding: 12px 46px 12px 16px;
    font-size: 0.84rem;
    gap: 8px 10px;
    justify-content: flex-start;
    text-align: left;
  }

  .promo-close-btn {
    right: 8px;
    top: 10px;
    transform: none;
  }

  .promo-form-grid,
  .contact-grid-2 {
    grid-template-columns: 1fr;
  }

  /* Responsive stacked table for 5050.LLC on mobile */
  .rate-table thead {
    display: none;
  }

  .rate-table,
  .rate-table tbody,
  .rate-table tr,
  .rate-table td {
    display: block;
    width: 100%;
  }

  .rate-table tr {
    padding: 18px;
    border-bottom: 1px solid var(--border-light);
  }

  .rate-table tbody tr:last-child {
    border-bottom: none;
  }

  .rate-table td {
    padding: 7px 0;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    text-align: right;
  }

  .rate-table td[data-label="Key Details"] {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 4px;
    padding-top: 10px;
  }

  .rate-table td::before {
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    text-align: left;
    flex-shrink: 0;
  }

  .rate-table td:first-child {
    display: block;
    text-align: left;
    font-size: 1.05rem;
    padding-bottom: 8px;
  }

  .rate-table td:first-child::before {
    display: none;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-actions .btn,
  .contact-strip-actions .btn {
    width: 100%;
  }

  .chat-launcher {
    right: 14px;
    bottom: 14px;
    padding: 10px 15px;
  }

  body.cookie-visible .chat-launcher {
    bottom: 148px;
  }

  .chat-drawer {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 70px;
  }

  .flip-headline {
    font-size: 1.45rem;
    gap: 6px;
  }

  .flip-word-slot {
    min-width: 100px;
    padding: 2px 10px;
  }

  .flip-tagline {
    gap: 10px;
    font-size: 1.15rem;
    margin-bottom: 24px;
  }

  .tagline-line {
    width: 22px;
  }

  .futures-head,
  .futures-row,
  .futures-foot {
    padding-left: 14px;
    padding-right: 14px;
  }

  .futures-tabs {
    padding: 8px 10px;
    gap: 5px;
  }

  .futures-tab {
    font-size: 0.74rem;
    padding: 6px 4px;
  }

  .futures-row {
    grid-template-columns: minmax(0, 1fr) 48px auto;
    gap: 8px;
  }

  .futures-spark,
  .futures-spark svg {
    width: 48px;
  }
}

@media (max-width: 390px) {
  .futures-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .futures-spark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
