/* ==========================================================================
   T46 — Design System
   Palette: warm ivory/cream base + deep saturated cyan-turquoise accent
   Layout metaphor: "editorial ribbon" — alternating image-left/right rows,
   pill-shaped nav, rounded-corner cards with soft shadow depth (never flat)
   ========================================================================== */

:root {
  --t46-bg: #fbf9f4;
  --t46-bg-soft: #f3f8f7;
  --t46-bg-tint: #eaf6f5;
  --t46-cream: #f6f1e4;
  --t46-ink: #16211f;
  --t46-ink-soft: #4a5a58;
  --t46-accent: #0e9c96;
  --t46-accent-dark: #0a746f;
  --t46-accent-deep: #063e3b;
  --t46-gold: #d9a441;
  --t46-gold-soft: #f3e2ba;
  --t46-line: #dde8e6;
  --t46-white: #ffffff;
  --t46-radius-lg: 28px;
  --t46-radius-md: 18px;
  --t46-radius-sm: 12px;
  --t46-shadow-card: 0 18px 40px -20px rgba(6, 62, 59, 0.25);
  --t46-shadow-soft: 0 8px 24px -12px rgba(6, 62, 59, 0.18);
  --t46-font-display: 'Poppins', 'Padauk', sans-serif;
  --t46-font-body: 'Inter', 'Padauk', sans-serif;
}

* { box-sizing: border-box; }

body.t46-body {
  background: var(--t46-bg);
  color: var(--t46-ink);
  font-family: var(--t46-font-body);
  line-height: 1.65;
  margin: 0;
}

.t46-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Header / Nav ---- */
.t46-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--t46-line);
}
.t46-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.t46-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.t46-brand img { height: 40px; width: auto; display: block; }
.t46-nav { display: flex; align-items: center; gap: 4px; }
.t46-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--t46-ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.t46-nav a:hover, .t46-nav a.is-active {
  background: var(--t46-bg-tint);
  color: var(--t46-accent-dark);
}
.t46-header__cta {
  display: flex; align-items: center; gap: 10px;
}
.t46-hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--t46-line);
  background: var(--t46-white);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.t46-mobile-drawer {
  display: none;
  position: fixed; inset: 0;
  background: rgba(22, 33, 31, 0.5);
  z-index: 200;
}
.t46-mobile-drawer.is-open { display: block; }
.t46-mobile-drawer__panel {
  position: absolute; top: 0; right: 0;
  width: min(320px, 86vw); height: 100%;
  background: var(--t46-bg);
  padding: 20px; overflow-y: auto;
}
.t46-mobile-drawer__panel a {
  display: block; padding: 14px 12px; border-radius: var(--t46-radius-sm);
  color: var(--t46-ink); text-decoration: none; font-weight: 600;
}
.t46-mobile-drawer__close {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--t46-line); background: var(--t46-white);
  margin-bottom: 12px; cursor: pointer;
}

/* ---- Buttons ---- */
.t46-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  white-space: nowrap; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.t46-btn--primary {
  background: linear-gradient(135deg, var(--t46-accent), var(--t46-accent-dark));
  color: var(--t46-white);
  box-shadow: var(--t46-shadow-soft);
}
.t46-btn--primary:hover { transform: translateY(-2px); }
.t46-btn--outline {
  background: transparent;
  border: 1.5px solid var(--t46-accent);
  color: var(--t46-accent-dark);
}
.t46-btn--gold {
  background: linear-gradient(135deg, var(--t46-gold), #b9832a);
  color: var(--t46-white);
}

/* ---- Hero ---- */
.t46-hero { padding: 48px 0 40px; }
.t46-hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.t46-eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--t46-bg-tint); color: var(--t46-accent-dark);
  font-weight: 700; font-size: 13px; letter-spacing: .04em; margin-bottom: 14px;
}
.t46-h1 {
  font-family: var(--t46-font-display);
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.15; margin: 0 0 16px; font-weight: 700; color: var(--t46-ink);
}
.t46-h2 {
  font-family: var(--t46-font-display);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2; margin: 0 0 16px; font-weight: 700; color: var(--t46-ink);
}
.t46-h3 {
  font-family: var(--t46-font-display);
  font-size: 20px; font-weight: 700; margin: 0 0 10px; color: var(--t46-ink);
}
.t46-lede { font-size: 17px; color: var(--t46-ink-soft); margin-bottom: 26px; max-width: 52ch; }
.t46-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.t46-hero-media { border-radius: var(--t46-radius-lg); overflow: hidden; box-shadow: var(--t46-shadow-card); }
.t46-hero-media img { width: 100%; height: auto; display: block; }

/* ---- Section / Ribbon (alternating image-text rows) ---- */
.t46-section { padding: 52px 0; }
.t46-section--tint { background: var(--t46-bg-tint); }
.t46-section--cream { background: var(--t46-cream); }
.t46-ribbon-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
}
.t46-ribbon-row--reverse .t46-ribbon-row__media { order: 2; }
.t46-ribbon-row__media {
  border-radius: var(--t46-radius-lg); overflow: hidden; box-shadow: var(--t46-shadow-card);
}
.t46-ribbon-row__media img { width: 100%; height: auto; display: block; }
.t46-copy p { margin: 0 0 14px; color: var(--t46-ink-soft); }
.t46-copy p:last-child { margin-bottom: 0; }

/* ---- Cards / Grid ---- */
.t46-grid { display: grid; gap: 20px; }
.t46-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.t46-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t46-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.t46-card {
  background: var(--t46-white); border-radius: var(--t46-radius-md);
  overflow: hidden; box-shadow: var(--t46-shadow-soft);
  position: relative;
}
.t46-card__media { aspect-ratio: 4/3; overflow: hidden; }
.t46-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t46-card__body { padding: 16px; }
.t46-card__tag {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  color: var(--t46-accent-dark); background: var(--t46-bg-tint);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.t46-card__title { font-weight: 700; font-size: 15.5px; margin: 0 0 6px; color: var(--t46-ink); }
.t46-card__desc { font-size: 13.5px; color: var(--t46-ink-soft); margin: 0; }
.t46-card-link { position: absolute; inset: 0; z-index: 1; }

/* ---- Provider tag pills ---- */
.t46-provider-pill {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--t46-gold); background: var(--t46-gold-soft);
  padding: 3px 9px; border-radius: 999px; margin-left: 6px;
}

/* ---- Load more ---- */
.t46-load-more-wrap { text-align: center; margin-top: 28px; }
[hidden] { display: none !important; }

/* ---- Steps / Numbered rail ---- */
.t46-steps { display: grid; gap: 18px; }
.t46-step {
  display: flex; gap: 16px; background: var(--t46-white);
  border-radius: var(--t46-radius-md); padding: 20px;
  box-shadow: var(--t46-shadow-soft);
}
.t46-step__num {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 999px;
  background: linear-gradient(135deg, var(--t46-accent), var(--t46-accent-dark));
  color: var(--t46-white); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
}

/* ---- FAQ ---- */
.t46-faq { display: grid; gap: 12px; }
.t46-faq-item {
  background: var(--t46-white); border-radius: var(--t46-radius-md);
  padding: 18px 20px; box-shadow: var(--t46-shadow-soft);
}
.t46-faq-item summary { font-weight: 700; cursor: pointer; list-style: none; }
.t46-faq-item summary::-webkit-details-marker { display: none; }
.t46-faq-item p { margin: 10px 0 0; color: var(--t46-ink-soft); }

/* ---- Trust strip ---- */
.t46-trust-strip {
  display: flex; gap: 28px; flex-wrap: wrap; align-items: center;
  justify-content: center; padding: 24px; background: var(--t46-white);
  border-radius: var(--t46-radius-md); box-shadow: var(--t46-shadow-soft);
}
.t46-trust-strip img { height: 44px; width: auto; filter: grayscale(15%); }

/* ---- Reviews ---- */
.t46-review-card {
  background: var(--t46-white); border-radius: var(--t46-radius-md);
  padding: 20px; box-shadow: var(--t46-shadow-soft);
}
.t46-review-card__stars { color: var(--t46-gold); font-size: 15px; margin-bottom: 8px; }
.t46-review-card__quote { color: var(--t46-ink-soft); font-size: 14.5px; margin-bottom: 14px; }
.t46-review-card__author { display: flex; align-items: center; gap: 10px; }
.t46-review-card__avatar {
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--t46-accent); color: #fff; display: flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}

/* ---- Footer ---- */
.t46-footer { background: var(--t46-accent-deep); color: #dff3f1; padding: 52px 0 24px; }
.t46-footer a { color: #b7ded9; text-decoration: none; }
.t46-footer a:hover { color: #fff; }
.t46-footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px; margin-bottom: 32px;
}
.t46-footer__col h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.t46-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.t46-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px;
  font-size: 12.5px; color: #9fc9c4; display: flex; flex-wrap: wrap;
  gap: 12px; justify-content: space-between;
}

/* ---- Sticky mobile CTA ---- */
.t46-mobile-cta-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: var(--t46-white); border-top: 1px solid var(--t46-line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.t46-mobile-cta-bar a {
  display: block; width: 100%; text-align: center;
}

/* ---- Kadence mobile drawer override (default is dark, force light-premium) ---- */
/* Highlight the last desktop nav item (menu-item-102, PLAY NOW) as a real CTA button */
.main-navigation .primary-menu-container > ul > li.menu-item-102 {
  margin-left: 6px;
}
.main-navigation .primary-menu-container > ul > li.menu-item-102 > a {
  background: linear-gradient(135deg, var(--t46-accent), var(--t46-accent-dark)) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 20px -8px rgba(6, 62, 59, 0.45);
  transition: transform .15s;
}
.main-navigation .primary-menu-container > ul > li.menu-item-102 > a:hover {
  transform: translateY(-1px);
  color: #ffffff !important;
}
.main-navigation .primary-menu-container > ul > li.menu-item-102 > a::after {
  display: none !important;
}
/* Mobile drawer: same item styled as a standout pill row */
.mobile-navigation #mobile-menu li.menu-item-102 > a {
  background: linear-gradient(135deg, var(--t46-accent), var(--t46-accent-dark)) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  margin: 8px 0;
  text-align: center;
}
/* Hide Kadence's default stock footer bar (our own t46-footer above replaces it) */
#colophon.site-footer {
  display: none !important;
}
.drawer-navigation.mobile-navigation,
.mobile-menu-container.drawer-menu-container {
  background: var(--t46-bg) !important;
}
.mobile-navigation #mobile-menu a,
.mobile-navigation .menu a {
  color: var(--t46-ink) !important;
  border-bottom-color: var(--t46-line) !important;
}
.mobile-navigation #mobile-menu a:hover,
.mobile-navigation .menu a:hover,
.mobile-navigation #mobile-menu .current-menu-item > a {
  color: var(--t46-accent-dark) !important;
}
.drawer-header .drawer-toggle svg,
.drawer-header svg {
  color: var(--t46-ink) !important;
}
@media (max-width: 900px) {
  .t46-nav { display: none; }
  .t46-hamburger { display: flex; }
  .t46-hero-grid { grid-template-columns: 1fr; }
  .t46-ribbon-row, .t46-ribbon-row--reverse .t46-ribbon-row__media { grid-template-columns: 1fr; order: initial; }
  .t46-ribbon-row { grid-template-columns: 1fr; }
  .t46-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t46-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t46-mobile-cta-bar { display: block; }
  .t46-footer__bottom { flex-direction: column; }
}
@media (max-width: 480px) {
  .t46-grid--4, .t46-grid--3, .t46-grid--2 { grid-template-columns: 1fr 1fr; }
}
