/* BartSmarts27V001.42 – clean multi-page home */
:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --blue: #5b4fc9;
  --blue-menu: #6d28d9;
  --blue-dark: #4c1d95;
  --tile-bg: #dce6f5;
  --line: #e2e8f0;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-modal: 0 24px 60px rgba(15, 23, 42, 0.28), 0 8px 20px rgba(15, 23, 42, 0.16);
  --shadow-tile: 0 10px 28px rgba(15, 23, 42, 0.18), 0 3px 8px rgba(15, 23, 42, 0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page {
  flex: 1 0 auto;
}
.site-footer,
.footer-top-line {
  flex-shrink: 0;
}
/* Sticky footer bar at viewport bottom when content is short;
   when content is long, footer still at end of document */
.footer-sticky-wrap {
  margin-top: auto;
  width: 100%;
  background: #fff;
  z-index: 50;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* Rainbow text – BartSmarts wordmark only */
.gradient-text {
  background-image: linear-gradient(
    90deg,
    #e11d48 0%, #f97316 14%, #fbbf24 28%, #eab308 38%,
    #22c55e 50%, #06b6d4 62%, #3b82f6 76%, #8b5cf6 90%, #a855f7 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}

/* 1–2px rainbow section dividers */
.rainbow-line {
  height: 2px;
  border: 0;
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  margin-left: calc(50% - 50vw);
  padding: 0;
  box-sizing: border-box;
  background: linear-gradient(
    90deg,
    #e11d48 0%,
    #f97316 16%,
    #fbbf24 32%,
    #22c55e 48%,
    #06b6d4 64%,
    #3b82f6 80%,
    #a855f7 100%
  );
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.65rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.nav { display: flex; flex-wrap: wrap; gap: 0.15rem 0.35rem; align-items: center; }
.nav a {
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  color: var(--blue-menu);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
}
.nav a:hover { background: #f3e8ff; text-decoration: none; color: #5b21b6; }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--blue);
}

/* Page shell */
.page { flex: 1; }
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.1rem;
}
.section-title {
  color: var(--blue);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36rem;
  margin: 0 auto 0.85rem;
}

/* Home bands – compact for one-screen feel */
.band { padding: 0.85rem 0; }
.band-tight { padding: 0.55rem 0; }

/* Upper: compact channel strip */
.channel-strip {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.35rem 0 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin: 0 auto;
  justify-content: flex-start;
}
@media (min-width: 900px) {
  .channel-strip {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
}
.channel-card {
  flex: 0 0 auto;
  width: min(140px, 30vw);
  scroll-snap-align: start;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
@media (min-width: 900px) {
  .channel-card { width: 150px; }
}
.channel-card:hover { text-decoration: none; }
.channel-thumb {
  aspect-ratio: 16/10;
  background: #0f0f0f;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 2px solid #ff0000;
  margin-bottom: 0.3rem;
}
.channel-thumb .yt-play {
  color: #ff0000;
  font-size: 1.5rem;
  line-height: 1;
  text-shadow: 0 0 0 #fff;
}
.channel-card span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}
.channel-card .soon {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

/* Store block – whole area clickable */
.store-block {
  display: block;
  text-align: center;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #f8fafc;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
}
.store-block:hover {
  text-decoration: none;
  border-color: var(--blue);
  background: #f0f4ff;
}
.store-block h2 { margin-bottom: 0.4rem; }
.store-block p { color: var(--muted); font-size: 0.92rem; max-width: 34rem; margin: 0 auto 0.75rem; }
.btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s, background 0.12s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-orange-text { color: #ff8c42 !important; }
.btn-primary.btn-orange-text { color: #ff8c42 !important; }
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

/* Newsletter – Halloween theme default for Oct */
/* newsletter-card legacy cleared V001.42 */
/* signup-link restyled in V001.42 */

/* Stack links (Services / Consulting) */
.stack-links { max-width: 420px; margin: 0 auto; }
.stack-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}
.stack-link:last-of-type { border-bottom: none; }
.stack-link:hover { text-decoration: none; background: #f8fafc; }
.stack-link span.arrow { color: var(--muted); font-weight: 400; }

.support-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.75rem;
}
.support-row .btn { min-width: 140px; }
.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
}
.icon-link img, .icon-link .icon-fallback {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

/* Channel mini row */
.channel-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  padding: 0.5rem 0;
}
.channel-icons a {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.channel-icons a:hover { color: var(--blue); border-color: var(--blue); text-decoration: none; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 1.1rem 1.25rem;
  text-align: center;
  margin-top: auto;
}
.social-row {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}
.social-row a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}
.social-row a:hover { transform: scale(1.08); text-decoration: none; }
.social-fb { background: #1877f2; color: #fff; }
.social-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.social-x { background: #0f172a; color: #fff; }
.social-tt { background: #010101; color: #fff; }
.social-yt { background: #ff0000; color: #fff; }
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-copy .gradient-text { font-size: inherit; }

/* Inner pages */
.page-hero {
  padding: 1.5rem 1.1rem 0.75rem;
  text-align: center;
}
.page-hero h1 {
  color: var(--blue);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 0.35rem;
}
.page-hero p { color: var(--muted); max-width: 32rem; margin: 0 auto; font-size: 0.95rem; }

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  padding: 1rem 0 1.5rem;
}
.tile {
  display: block;
  background: var(--tile-bg);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.15rem 1rem;
  box-shadow: var(--shadow-tile);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.22);
  text-decoration: none;
}
.tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 0.55rem;
  background: #fff;
}
.tile h3 {
  color: var(--blue);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.tile p { font-size: 0.88rem; color: var(--muted); }

/* Forms */
.form-card {
  max-width: 420px;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.form-group { margin-bottom: 0.85rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #f8fafc;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.2);
}
.form-group input.field-ok,
.form-group select.field-ok { border-color: #16a34a; }
.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error { border-color: #dc2626; }
.name-grid {
  display: grid;
  grid-template-columns: minmax(72px, 22%) 1fr;
  gap: 3px;
}
.btn-block { width: 100%; text-align: center; }
.privacy-note { font-size: 0.78rem; color: var(--muted); margin: 0.5rem 0 0.75rem; text-align: center; }
.alert {
  display: none;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.alert.show { display: block; }
.alert.ok { background: #dcfce7; color: #166534; }
.alert.err { background: #fee2e2; color: #991b1b; }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-modal);
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.25rem 1.15rem 1.35rem;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.28s ease;
  position: relative;
}
.modal-backdrop.open .modal {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  border: none;
  background: #f1f5f9;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text);
}
.modal h3 {
  color: var(--blue);
  margin-bottom: 0.75rem;
  padding-right: 2rem;
}

/* Amazon leave confirm */
#amazon-modal .modal { text-align: center; }
#amazon-modal .modal-actions {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Videos page */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  padding: 1rem 0 2rem;
}
.video-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
  background: #0f172a;
}
.video-card .meta { padding: 0.75rem 0.85rem; }
.video-card h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.video-card p { font-size: 0.82rem; color: var(--muted); }
.video-card a { font-size: 0.85rem; font-weight: 600; }

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 0.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  }
  .nav.open { display: flex; }
  .header-inner { position: relative; }
}


/* V001.42 – link-style actions, no pill buttons */
.btn, .btn-primary, .btn-ghost {
  display: inline;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent !important;
  color: var(--blue-menu) !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: none !important;
  transform: none !important;
  min-width: 0 !important;
}
.btn:hover, .btn-primary:hover, .btn-ghost:hover {
  color: #7c3aed !important;
  background: transparent !important;
  text-decoration: none !important;
  transform: none !important;
}
.btn-orange-text { color: #ea580c !important; }
.btn-orange-text:hover { color: #c2410c !important; }
.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.5rem 0;
}
.store-block .btn {
  display: inline;
  margin-top: 0.25rem;
}
.support-row {
  gap: 1.25rem;
}
.support-row .btn { min-width: 0; }

/* Modal action buttons – real button look, not pills */
#amazon-modal .modal-actions .btn,
#amazon-modal .modal-actions a.btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none !important;
}
#amazon-modal .modal-actions .btn-ghost,
#amazon-modal .modal-actions button.btn-ghost {
  background: #06b6d4 !important;
  color: #FF9900 !important;
  border: 1px solid #0891b2;
}
#amazon-modal .modal-actions .btn-ghost:hover {
  background: #0891b2 !important;
  color: #FF9900 !important;
}
#amazon-modal .modal-actions .btn-primary,
#amazon-modal .modal-actions a.btn-primary {
  background: var(--blue-menu) !important;
  color: #fff !important;
}
#amazon-modal .modal-actions a.btn-primary:hover {
  background: #4c1d95 !important;
  color: #fff !important;
}
/* Leaving BartSmarts title – cyan from Smarts M */
.leaving-title {
  color: #06b6d4;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  background: none;
  -webkit-text-fill-color: #06b6d4;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-menu);
  font-weight: 600;
  text-decoration: none;
}
.text-action:hover { color: #7c3aed; text-decoration: none; }
.patreon-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff424d;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

/* V001.42 – official-style brand icons + leaving modal */
.social-row a.social-icon {
  width: auto;
  height: auto;
  background: transparent !important;
  border-radius: 0;
  padding: 0;
}
.social-row a.social-icon:hover { transform: scale(1.08); }
.brand-icon { display: block; }
.leaving-stack {
  text-align: center;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.leaving-stack .leaving-word {
  display: block;
  color: #06b6d4;
  font-weight: 700;
  font-size: 1.15rem;
  -webkit-text-fill-color: #06b6d4;
  background: none;
}
.leaving-stack .gradient-text {
  display: block;
  font-size: 1.35rem;
}
.amazon-yellow {
  color: #FF9900;
  font-weight: 700;
}
#amazon-modal .modal { text-align: center; }
#amazon-modal .modal-actions a.btn-primary {
  color: #fff !important;
}
#amazon-modal .modal-actions a.btn-primary .amazon-yellow {
  color: #FF9900;
}

.leaving-brand {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}


/* V001.42 – action colors: base orange, active cyan */
:root {
  --action: #FF9900;
  --action-active: #06b6d4;
}

.signup-link,
.store-block .btn,
.store-block .btn-primary,
.text-action,
.stack-link,
.support-row .btn,
.support-row a.btn {
  color: var(--action) !important;
  text-decoration: none !important;
  border-bottom: none !important;
  text-underline-offset: unset;
}

.signup-link:hover,
.signup-link:active,
.signup-link:focus,
.store-block:hover .btn,
.store-block .btn:hover,
.store-block .btn:active,
.text-action:hover,
.text-action:active,
.stack-link:hover,
.stack-link:active,
.support-row .btn:hover,
.support-row .btn:active,
.support-row a.btn:hover {
  color: var(--action-active) !important;
  text-decoration: none !important;
}

.signup-link {
  font-weight: 700;
  font-size: 1.05rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none !important;
}

/* Modal titles cyan, centered */
.modal-title-cyan,
#newsletter-modal .modal h3 {
  color: #06b6d4 !important;
  text-align: center;
  -webkit-text-fill-color: #06b6d4;
  background: none;
  margin-bottom: 0.85rem;
}

/* Modal submit / primary actions stay orange */
#newsletter-modal .btn-primary,
#newsletter-modal button[type="submit"],
#amazon-modal .modal-actions a.btn-primary {
  color: var(--action) !important;
  background: transparent !important;
}
#newsletter-modal .btn-primary:hover,
#newsletter-modal button[type="submit"]:hover {
  color: var(--action-active) !important;
}

/* Amazon modal primary can keep solid if needed – user wants orange text */
#amazon-modal .modal-actions a.btn-primary {
  background: #0f172a !important;
  color: #fff !important;
}
#amazon-modal .modal-actions a.btn-primary .amazon-yellow {
  color: #FF9900 !important;
}


/* V001.42 – Newsletter whole block clickable like Store */
.newsletter-block {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #f8fafc;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.newsletter-block:hover {
  border-color: var(--blue);
  background: #f0f4ff;
}
.newsletter-block .section-title { pointer-events: none; }
.newsletter-block .section-sub { pointer-events: none; }
.newsletter-block .cta-points { pointer-events: none; }
.newsletter-block .signup-link {
  pointer-events: none;
  display: inline-block;
  margin-top: 0.15rem;
}


/* V001.42 – newsletter rails, stack blue, support band */
.season-rail {
  text-align: center;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0;
  opacity: 0.9;
  user-select: none;
}
.season-rail-top { margin-bottom: 0.25rem; }
.season-rail-bottom { margin-top: 0.35rem; }

.newsletter-block {
  border: 1px solid transparent;
}
.newsletter-block:hover {
  border-color: var(--blue) !important;
  background: #f0f4ff !important;
  box-shadow: 0 0 0 1px var(--blue);
}
.newsletter-block:hover .signup-link,
.newsletter-block:focus .signup-link {
  color: #06b6d4 !important;
  -webkit-text-fill-color: #06b6d4;
}

.newsletter-block .cta-points {
  list-style: none !important;
  margin: 0.45rem auto 0.65rem;
  padding: 0;
  max-width: 26rem;
}
.newsletter-block .cta-points p {
  margin: 0;
  padding: 0.2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  list-style: none;
}

/* Stack links = section title blue, not orange */
.stack-link {
  color: var(--blue) !important;
  font-weight: 600;
}
.stack-link:hover {
  color: var(--blue-dark) !important;
  background: #f8fafc;
}
.stack-link .arrow { color: var(--muted); }

.support-band .support-row {
  padding: 0.35rem 0;
}


/* V001.42 – centered stack links, no arrows, orange → cyan */
.stack-links {
  max-width: 100%;
  text-align: center;
}
.stack-link {
  display: block;
  justify-content: center;
  text-align: center;
  padding: 0.55rem 0.5rem;
  border-bottom: none;
  color: #FF9900 !important;
  font-weight: 600;
  font-size: 0.98rem;
}
.stack-link:hover,
.stack-link:active {
  color: #06b6d4 !important;
  background: transparent;
  text-decoration: none;
}
.stack-link .arrow { display: none; }


/* V001.42 – compact bands, stable scrollbar, legal modal, header/footer lines */
html {
  scrollbar-gutter: stable;
}
body.modal-open {
  overflow: hidden;
  /* scrollbar-gutter keeps layout from shifting */
}

.header-bottom-line {
  margin: 0;
}
.footer-top-line {
  margin: 0;
}

.band { padding: 0.55rem 0; }
.band-tight { padding: 0.4rem 0; }

.store-block {
  padding: 0.65rem 1rem;
}
.newsletter-block {
  padding: 0.55rem 0.85rem 0.65rem;
}
.season-rail {
  padding: 0.15rem 0;
  font-size: 0.95rem;
}
.season-month {
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
  margin: 0.1rem 0 0.05rem;
}
.section-title {
  margin-bottom: 0.3rem;
}
.section-sub {
  margin-bottom: 0.45rem;
}
.channel-strip {
  padding: 0.2rem 0 0.3rem;
}
.newsletter-block .cta-points {
  margin: 0.25rem auto 0.4rem;
}
.newsletter-block .cta-points p {
  padding: 0.12rem 0;
  font-size: 0.85rem;
}
.stack-link {
  padding: 0.4rem 0.5rem;
}

.site-footer {
  padding: 0.65rem 1.1rem 0.85rem;
}
.legal-link {
  display: inline-block;
  margin-left: 0.65rem;
  border: none;
  background: none;
  color: #06b6d4;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}
.legal-link:hover { color: #FF9900; }

.modal-legal {
  max-width: 480px;
  text-align: left;
}
.modal-legal .modal-title-cyan {
  text-align: center;
}
.legal-body {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.legal-body p {
  margin-bottom: 0.65rem;
}
.legal-body p:last-child {
  margin-bottom: 0;
}


/* V001.42 – full-bleed lines, footer pin, legal below copyright */
body {
  padding-bottom: 0;
}
.site-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  z-index: 40;
}
.footer-top-line {
  position: sticky;
  bottom: var(--footer-h, 88px);
  z-index: 41;
}
.footer-legal {
  text-align: center;
  margin: 0.2rem 0 0;
}
.legal-link {
  margin-left: 0 !important;
  display: inline-block;
}
.footer-copy {
  margin: 0;
}

/* Pin footer to bottom of viewport */
.footer-sticky-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 90;
}
.footer-sticky-wrap .footer-top-line,
.footer-sticky-wrap .rainbow-line {
  width: 100%;
  max-width: none;
  margin-left: 0;
  left: 0;
  position: relative;
}
.page {
  padding-bottom: 110px; /* room so content isn't hidden behind fixed footer */
}
.site-footer {
  position: static;
}


/* V001.42 – uniform full-width rainbow bars (header + footer + sections) */
.header-bottom-line,
.footer-top-line,
hr.rainbow-line {
  height: 2px;
  border: 0;
  display: block;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 0 !important;
  background: linear-gradient(
    90deg,
    #e11d48 0%,
    #f97316 16%,
    #fbbf24 32%,
    #22c55e 48%,
    #06b6d4 64%,
    #3b82f6 80%,
    #a855f7 100%
  ) !important;
}
/* Footer is fixed full-bleed already — use 100% of wrap */
.footer-sticky-wrap {
  width: 100%;
  left: 0;
  right: 0;
  overflow: visible;
}
.footer-sticky-wrap .footer-top-line,
.footer-sticky-wrap hr.rainbow-line {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: 0 !important;
}


/* V001.42 – desktop modal polish + field states */
.modal {
  border: 1px solid #cbd5e1;
  box-shadow: var(--shadow-modal);
}
@media (min-width: 768px) {
  .modal {
    max-width: 520px;
    padding: 1.5rem 1.6rem 1.6rem;
  }
  #newsletter-modal .modal,
  #amazon-modal .modal,
  #legal-modal .modal {
    max-width: 520px;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.7rem 0.85rem;
    font-size: 1rem;
    border-width: 2px;
    background: #fff;
  }
  .name-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0.45rem;
    align-items: stretch;
  }
  .name-row input,
  .name-row select {
    min-height: 46px;
  }
}

.name-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.35rem;
  align-items: stretch;
}
/* last name row: name flexes, suffix fixed */
.form-group:has(input[name="last_name"]) .name-row {
  grid-template-columns: 1fr 88px;
}
@media (max-width: 400px) {
  .name-row { grid-template-columns: 72px 1fr; }
  .form-group:has(input[name="last_name"]) .name-row {
    grid-template-columns: 1fr 72px;
  }
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 2px solid var(--blue);
  background: #fff;
  border-radius: 8px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input.field-idle,
.form-group select.field-idle,
.form-group textarea.field-idle {
  border-color: var(--blue);
}
.form-group input.field-focus,
.form-group select.field-focus,
.form-group textarea.field-focus {
  border-color: #4169e1 !important;
  box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.25);
  outline: none;
}
.form-group input.field-ok,
.form-group select.field-ok,
.form-group textarea.field-ok {
  border-color: #22c55e !important; /* bright yellow-green like rainbow mid */
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}
.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

#newsletter-modal .modal {
  text-align: left;
}
#newsletter-modal .modal-title-cyan {
  text-align: center;
}
#newsletter-modal .form-group label {
  text-align: left;
}
#newsletter-modal .privacy-note {
  text-align: center;
}
#newsletter-modal button[type="submit"] {
  color: #FF9900 !important;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 0.25rem;
}
#newsletter-modal button[type="submit"]:hover {
  color: #06b6d4 !important;
}


/* V001.42 – bright valid green; footer in document flow (no floating line) */
.footer-sticky-wrap {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  margin-top: auto;
  background: #fff;
  z-index: auto;
}
.footer-sticky-wrap .footer-top-line,
.footer-sticky-wrap hr.rainbow-line,
.footer-top-line {
  position: static !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
  left: auto !important;
  bottom: auto !important;
  display: block !important;
  height: 2px !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.site-footer {
  position: static !important;
  bottom: auto !important;
}
.page {
  padding-bottom: 1rem !important; /* was 110px for fixed footer */
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page {
  flex: 1 0 auto;
}


/* V001.42 – labels over name fields; idle border = title blue */
.name-row-labeled {
  margin-bottom: 0.2rem;
  min-height: 1.15rem;
}
.name-field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
  text-align: left;
  color: var(--text);
}
.name-slot-label {
  display: block;
}
.form-group > label {
  text-align: left;
}


/* V001.42 – centered labels; tight Subscribe hit area */
.label-center {
  display: block;
  text-align: center !important;
  width: 100%;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.submit-wrap {
  text-align: center;
  margin-top: 0.35rem;
}
.submit-tight {
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  padding: 0.25rem 0.35rem !important;
  margin: 0 auto;
}
#newsletter-modal button[type="submit"].submit-tight,
#newsletter-modal .submit-tight {
  display: inline !important;
  width: auto !important;
}


/* V001.42 – Subscribe button states */
.submit-tight,
#newsletter-modal .submit-tight,
button.submit-tight {
  color: #FF9900 !important;
}
.submit-tight:hover,
#newsletter-modal .submit-tight:hover {
  color: #06b6d4 !important;
}
.submit-tight.submit-err,
button.submit-tight.submit-err {
  color: #dc2626 !important;
}
.submit-tight.submit-ok,
button.submit-tight.submit-ok {
  color: #22c55e !important;
}


/* V001.42 – Newsletter Subscribe states must win; centered placeholders; soft label */
#newsletter-modal button[type="submit"],
#newsletter-modal .submit-tight {
  color: #FF9900 !important;
}
#newsletter-modal button[type="submit"]:hover,
#newsletter-modal .submit-tight:hover {
  color: #06b6d4 !important;
}
#newsletter-modal button[type="submit"].submit-err,
#newsletter-modal .submit-tight.submit-err {
  color: #dc2626 !important;
}
#newsletter-modal button[type="submit"].submit-ok,
#newsletter-modal .submit-tight.submit-ok {
  color: #22c55e !important;
}
#newsletter-modal button[type="submit"].submit-err:hover,
#newsletter-modal .submit-tight.submit-err:hover {
  color: #dc2626 !important;
}
#newsletter-modal button[type="submit"].submit-ok:hover,
#newsletter-modal .submit-tight.submit-ok:hover {
  color: #22c55e !important;
}

.label-soft {
  font-size: 0.75em;
  font-weight: 500;
  color: #94a3b8;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  text-align: center;
  color: #94a3b8;
}
.form-group input,
.form-group textarea {
  text-align: center;
}
/* Keep select left-aligned for readability */
.form-group select {
  text-align: left;
}


/* V001.42 – centered form labels & placeholders; necessary-field note */
#newsletter-modal .modal,
.form-card {
  text-align: center;
}
#newsletter-modal .form-group,
.form-card .form-group {
  text-align: center;
}
.label-center {
  text-align: center !important;
  width: 100%;
  display: block;
}
.necessary-note {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin: 0.35rem 0 0.15rem;
}
.privacy-note {
  text-align: center !important;
  margin-top: 0.15rem;
}

/* Center placeholders and typed text in all text inputs */
#newsletter-modal input[type="text"],
#newsletter-modal input[type="email"],
#newsletter-modal input[type="tel"],
.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card textarea {
  text-align: center;
}
#newsletter-modal input::placeholder,
.form-card input::placeholder,
.form-card textarea::placeholder {
  text-align: center;
  opacity: 1;
  color: #94a3b8;
}

/* Name rows still two columns but content centered within each cell */
.name-row input {
  text-align: center;
}
.name-row select {
  text-align: center;
  text-align-last: center;
}


/* V001.42 – lighter labels; Phone centered with optional aside */
.label-center {
  font-weight: 400 !important;
}
.label-main {
  font-weight: 500;
  font-size: 0.9rem;
  color: #334155;
}
.label-with-aside {
  position: relative;
  display: block;
  text-align: center;
}
.label-with-aside .label-main {
  display: inline-block;
}
.label-with-aside .label-soft {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 2.6em;
  font-size: 0.68rem;
  font-weight: 400;
  color: #94a3b8;
  white-space: nowrap;
}
.necessary-note {
  font-weight: 400 !important;
  color: #64748b !important;
  font-size: 0.8rem;
}
.privacy-note {
  font-weight: 400;
  color: #64748b;
}


/* V001.42 – professional blue links; channel codes under heading */
.stack-link {
  color: var(--blue) !important;
}
.stack-link:hover,
.stack-link:active {
  color: #06b6d4 !important;
}
.text-action {
  color: var(--blue) !important;
}
.text-action:hover,
.text-action:active {
  color: #06b6d4 !important;
}
.support-row .btn,
.support-row a.btn {
  color: var(--blue) !important;
}
.support-row .btn:hover,
.support-row a.btn:hover {
  color: #06b6d4 !important;
}

.channel-codes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.45rem;
  margin: 0.25rem 0 0.45rem;
}
.channel-codes a {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.channel-codes a:hover {
  color: #06b6d4;
  border-color: #06b6d4;
  text-decoration: none;
}

.legal-body .legal-note {
  font-size: 0.78rem;
  margin-top: 0.75rem;
  color: #94a3b8;
}
.legal-body strong { color: #0f172a; }


/* V001.42 – one-at-a-time channel carousel */
.yt-carousel {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 0.35rem;
  max-width: 640px;
  margin: 0.15rem auto 0.85rem;
}
.yt-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
.yt-arrow:hover { color: #06b6d4; border-color: #06b6d4; }
.yt-viewport {
  overflow: hidden;
  min-height: 230px;
  position: relative;
}
.yt-track {
  position: relative;
  height: 230px;
}
.yt-slide {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(320px, 72vw);
  transform: translateX(-50%) scale(0.82);
  opacity: 0.22;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
  text-align: center;
}
.yt-slide.is-active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
  z-index: 2;
}
.yt-slide.is-near {
  opacity: 0.28;
  z-index: 1;
}
.yt-frame {
  aspect-ratio: 16/10;
  background: #0f0f0f;
  border-radius: 8px;
  border: 2px solid #ff0000;
  overflow: hidden;
}
.yt-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.yt-soon {
  display: grid;
  place-items: center;
}
.yt-play { color: #ff0000; font-size: 1.6rem; }
.yt-name {
  margin: 0.28rem 0 0;
  line-height: 1.15;
}
.yt-name span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
}
.yt-slide .soon {
  margin: 0.1rem 0 0;
  font-size: 0.65rem;
  color: var(--muted);
}
.channel-codes button {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.2rem 0.4rem;
  cursor: pointer;
  font-family: inherit;
}
.channel-codes button:hover,
.channel-codes button.is-on {
  color: #06b6d4;
  border-color: #06b6d4;
}


/* V001.42 – hide leftover strip; videos page 4-across */
.channel-strip { display: none !important; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (max-width: 980px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; }
}
.soon-frame {
  aspect-ratio: 16/9;
  background: #0f0f0f;
  border: 2px solid #ff0000;
  border-radius: 8px 8px 0 0;
  display: grid;
  place-items: center;
}
.soon-frame .yt-play { color: #ff0000; font-size: 1.6rem; }
.video-card .soon { margin: 0.2rem 0 0; font-size: 0.78rem; }


/* V001.47 – Back to Home: headline blue, cyan hover, green press */
.back-home {
  display: inline-block;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0.25rem 0.4rem;
}
.back-home:hover { color: #06b6d4; text-decoration: none; }
.back-home:active { color: #22c55e; }


/* V001.42 – tighter support gap, shop blue, October, round icons */
.support-band { padding: 0.35rem 0 0.2rem !important; }
.support-row { margin: 0.15rem 0; gap: 1.1rem; }
.footer-sticky-wrap { margin-top: 0; }
.site-footer { padding-top: 0.45rem; }
.shop-now {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--blue);
  font-weight: 600;
  background: none;
  border: 0;
}
.store-block:hover .shop-now { color: #06b6d4; }
.season-month {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #FF9900;
  margin: 0.1rem 0 0.15rem;
  line-height: 1;
}
.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
}
.social-icon .brand-icon,
.support-row .brand-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: block;
}

/* V001.42 – mono social icons, tighter support gap */
.support-band { padding: 0.2rem 0 0.05rem !important; }
.support-row { margin: 0.05rem 0 0.1rem; }
.site-footer { padding-top: 0.35rem; padding-bottom: 0.55rem; }
.social-row { gap: 0.85rem; margin: 0.15rem 0 0.35rem; }
.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social-icon svg { display: block; }
.social-icon:hover svg path,
.social-icon:hover svg rect,
.social-icon:hover svg circle { stroke: #06b6d4; }
.social-icon:hover svg path { fill: #06b6d4; }
.social-icon:hover svg rect,
.social-icon:hover svg circle[fill="none"] { fill: none; }

/* V001.42 – menu blue, copyright blue, footer sits under support */
.nav a { color: var(--blue); }
.nav a:hover { color: #06b6d4; background: transparent; }
.footer-copy { color: var(--blue) !important; }
.footer-copy .gradient-text { color: transparent; }
body { padding-bottom: 0 !important; }
.footer-sticky-wrap {
  position: static !important;
  left: auto; right: auto; bottom: auto;
  margin-top: 0.15rem;
}
.support-band { padding: 0.35rem 0 0.15rem !important; }
.support-row { margin-bottom: 0.15rem; }

/* V001.42 – do not stretch page to viewport; footer follows support */
html, body {
  min-height: 0 !important;
  height: auto !important;
}
body { display: block !important; }
.page { flex: none !important; padding-bottom: 0 !important; }
.footer-sticky-wrap {
  position: static !important;
  margin-top: 0 !important;
}

/* V001.42 – footer icon spacing and short gaps under the line */
.site-footer { padding-top: 0.55rem !important; padding-bottom: 0.7rem !important; }
.social-row { gap: 1.15rem !important; margin: 0.2rem 0 0.55rem !important; }
.footer-copy { margin: 0.45rem 0 0 !important; }
.footer-legal { margin: 0.45rem 0 0 !important; }

/* V001.42 – even section gaps; rainbow bars inset so no sideways scroll */
html, body { overflow-x: hidden; }
.rainbow-line,
.header-bottom-line,
.footer-top-line,
.footer-sticky-wrap .footer-top-line,
.footer-sticky-wrap hr.rainbow-line {
  width: calc(100% - 8px) !important;
  max-width: calc(100% - 8px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  left: auto !important;
}
.yt-carousel { margin-bottom: 0.85rem !important; }
.season-rail-top { margin-bottom: 0.35rem; }
.season-rail-bottom { margin-top: 0.35rem; }
.band { padding-top: 0.7rem !important; padding-bottom: 0.7rem !important; }
.band-tight { padding-top: 0.55rem !important; padding-bottom: 0.55rem !important; }
.support-band { padding: 0.7rem 0 0.55rem !important; }
.stack-links { padding: 0.25rem 0; }

/* V001.42 – newsletter lines */
.season-tagline { margin-bottom: 0.2rem; }
.cta-points p { margin: 0.08rem 0; line-height: 1.35; }

/* V001.42 – inner pages: same footer, pinned to bottom of the window */
body.inner-page {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}
body.inner-page .page { flex: 1 0 auto; }
body.inner-page .footer-sticky-wrap { margin-top: auto !important; }

/* V001.43 – identical footer on every page */
.site-footer { padding-top: 0.55rem !important; padding-bottom: 0.7rem !important; text-align: center; }
.social-row { gap: 1.15rem !important; margin: 0.2rem 0 0.55rem !important; justify-content: center; }
.footer-copy { margin: 0.45rem 0 0 !important; color: var(--blue) !important; }
.footer-legal { margin: 0.45rem 0 0 !important; }
.footer-top-line, .footer-sticky-wrap hr.rainbow-line {
  width: calc(100% - 8px) !important;
  max-width: calc(100% - 8px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.pin-step { text-align: center; margin-top: 0.6rem; }
.pin-input {
  display: block;
  margin: 0.4rem auto 0.6rem;
  width: 8.5rem;
  text-align: center;
  letter-spacing: 0.2em;
  font-size: 1.2rem;
  padding: 0.45rem;
  border: 2px solid var(--blue);
  border-radius: 6px;
}

.pin-junk { font-size: 0.82rem; color: #64748b; margin: 0.15rem auto 0.35rem; max-width: 22rem; line-height: 1.35; }

.pin-resend {
  display: block;
  margin: 0.55rem auto 0;
  background: none;
  border: 0;
  color: var(--blue);
  font-weight: 600;
  cursor: pointer;
}
.pin-resend:hover { color: #06b6d4; }

.pin-input.pin-bad { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25); }
.pin-confirm.is-checking { background: #5b4fc9 !important; color: #fff !important; }
.pin-confirm.submit-ok { background: #16a34a !important; color: #fff !important; }
.pin-confirm.submit-err { background: #dc2626 !important; color: #fff !important; }
@keyframes pinFlash {
  0%, 100% { background: #dc2626; color: #fff; }
  50% { background: #fff; color: #dc2626; }
}
.pin-confirm.pin-flash { animation: pinFlash 0.4s ease 3; }


/* V001.48 – newsletter Sign up now matches headline, cyan hover, green press */
.newsletter-block .signup-link {
  color: var(--blue) !important;
  -webkit-text-fill-color: var(--blue);
}
.newsletter-block:hover .signup-link,
.newsletter-block:focus .signup-link,
.newsletter-block:focus-visible .signup-link {
  color: #06b6d4 !important;
  -webkit-text-fill-color: #06b6d4;
}
.newsletter-block:active .signup-link {
  color: #22c55e !important;
  -webkit-text-fill-color: #22c55e;
}

/* V001.49 – consulting tiles centered, Content Creation in the middle */
.tiles.tiles-consult {
  grid-template-columns: repeat(3, minmax(0, 320px));
  justify-content: center;
}
@media (max-width: 760px) {
  .tiles.tiles-consult {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* V001.50 – services: 3 centered columns, flat icons, a little taller */
.tiles.tiles-services {
  grid-template-columns: repeat(3, minmax(0, 320px));
  justify-content: center;
}
.tiles.tiles-services .tile {
  min-height: 228px;
}
.tiles.tiles-services .tile-icon {
  background: transparent;
  width: 36px;
  height: 36px;
}
.tiles.tiles-services .tile-icon svg { display: block; }
@media (max-width: 760px) {
  .tiles.tiles-services {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
  .tiles.tiles-services .tile { min-height: 0; }
}

/* V001.51 – flat colored line icons, one color per tile */
.tiles-services .tile-icon,
.tiles-consult .tile-icon {
  background: transparent;
  width: 42px;
  height: 42px;
  margin-bottom: 0.7rem;
}
.tiles-services .tile-icon svg,
.tiles-consult .tile-icon svg { display: block; }

/* V001.52 – newsletter title tile blue; Subscribe/Send navy, cyan hover, green press */
#newsletter-modal .modal-title-cyan,
#newsletter-modal .modal h3 {
  color: var(--blue) !important;
  -webkit-text-fill-color: var(--blue);
  background: none;
}
#newsletter-modal button[type="submit"],
#newsletter-modal .submit-tight,
#contact-form button[type="submit"],
#contact-form .submit-tight,
.pin-confirm {
  color: #1e3a8a !important;
  -webkit-text-fill-color: #1e3a8a;
  background: transparent !important;
}
#newsletter-modal button[type="submit"]:hover,
#newsletter-modal .submit-tight:hover,
#contact-form button[type="submit"]:hover,
#contact-form .submit-tight:hover,
.pin-confirm:hover {
  color: #06b6d4 !important;
  -webkit-text-fill-color: #06b6d4;
  background: transparent !important;
}
#newsletter-modal button[type="submit"]:active,
#newsletter-modal .submit-tight:active,
#contact-form button[type="submit"]:active,
#contact-form .submit-tight:active,
.pin-confirm:active {
  color: #22c55e !important;
  -webkit-text-fill-color: #22c55e;
  background: transparent !important;
}

/* V001.53 – Subscribe/Send match section-title blue, cyan hover, green press */
#newsletter-modal button[type="submit"],
#newsletter-modal button[type="submit"].submit-tight,
#newsletter-modal .submit-tight,
#newsletter-modal .btn-orange-text,
#contact-form button[type="submit"],
#contact-form button[type="submit"].submit-tight,
#contact-form .submit-tight,
#contact-form .btn-orange-text,
.pin-confirm {
  color: var(--blue) !important;
  -webkit-text-fill-color: var(--blue) !important;
  background: transparent !important;
  border-color: transparent !important;
}
#newsletter-modal button[type="submit"]:hover,
#newsletter-modal .submit-tight:hover,
#contact-form button[type="submit"]:hover,
#contact-form .submit-tight:hover,
.pin-confirm:hover {
  color: #06b6d4 !important;
  -webkit-text-fill-color: #06b6d4 !important;
  background: transparent !important;
}
#newsletter-modal button[type="submit"]:active,
#newsletter-modal .submit-tight:active,
#contact-form button[type="submit"]:active,
#contact-form .submit-tight:active,
.pin-confirm:active {
  color: #22c55e !important;
  -webkit-text-fill-color: #22c55e !important;
  background: transparent !important;
}

/* V001.54 – valid click green, invalid click red; cancel under both forms */
#newsletter-modal button[type="submit"]:active,
#newsletter-modal .submit-tight:active,
#contact-form button[type="submit"]:active,
#contact-form .submit-tight:active,
.pin-confirm:active {
  color: var(--blue) !important;
  -webkit-text-fill-color: var(--blue) !important;
}
#newsletter-modal button[type="submit"].submit-ok,
#newsletter-modal .submit-tight.submit-ok,
#contact-form button[type="submit"].submit-ok,
#contact-form .submit-tight.submit-ok {
  color: #22c55e !important;
  -webkit-text-fill-color: #22c55e !important;
}
#newsletter-modal button[type="submit"].submit-err,
#newsletter-modal .submit-tight.submit-err,
#newsletter-modal button[type="submit"].submit-err:hover,
#newsletter-modal button[type="submit"].submit-err:active,
#contact-form button[type="submit"].submit-err,
#contact-form .submit-tight.submit-err,
#contact-form button[type="submit"].submit-err:hover,
#contact-form button[type="submit"].submit-err:active {
  color: #dc2626 !important;
  -webkit-text-fill-color: #dc2626 !important;
}
.form-cancel {
  display: block;
  margin: 0.45rem auto 0;
  background: none;
  border: 0;
  padding: 0;
  color: #FF9900;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  text-decoration: none;
}
.form-cancel:hover { color: #06b6d4; text-decoration: none; }
.form-cancel:active { color: #22c55e; }

/* V001.56 – video wall poster, one player at a time */
.wall-play {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #0f172a center/cover no-repeat;
  position: relative;
}
.wall-play .yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 1.1rem;
}
.wall-play[hidden] { display: none; }
