/* =====================================================
   Lotto Tipos — main styles
   @elena: redesign pass 18.07 after ANSA refs
   @mike: sticky header fixes Safari iOS 16, check again
   PAGE VERSION: editorial-v2 (since 22.07). Old purple theme killed.
   featureFlags: { chartsLazy: true, searchDrawer: true, abSidebar: false }
   ===================================================== */

:root {
  --lt-navy: #082744;
  --lt-navy2: #123f66;
  --lt-gold: #aa7c24;
  --lt-goldSoft: #f3ead7;
  --lt-ink: #182331;
  --lt-muted: #66717d;
  --lt-line: #dce1e5;
  --lt-paper: #ffffff;
  --lt-soft: #f4f6f7;
  --lt-focus: #d19a2d;
  --fontMain: "Inter", system-ui, sans-serif;
  --serifNews: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--fontMain);
  color: var(--lt-ink);
  background: var(--lt-paper);
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
:focus-visible {
  outline: 3px solid var(--lt-focus);
  outline-offset: 3px;
}

.lt-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.skipLink {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 9999;
  background: #fff;
  padding: 10px 14px;
  font-weight: 700;
}
.skipLink:focus {
  left: 12px;
}

/* --- header (sticky) --- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid var(--lt-line);
}
.lt-utility {
  background: var(--lt-navy);
  color: #d7e2ea;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lt-utilityInner {
  min-height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 480px) {
  .lt-utilityInner span:first-child,
  .lt-logo strong {
    display: none !important;
  }
}
.brandRow {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.lt-logo {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
  color: var(--lt-navy);
}
.lt-logoMark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--lt-navy);
  color: #fff;
  border: 2px solid var(--lt-gold);
  font-weight: 800;
}
.lt-logo strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.lt-logo small {
  display: block;
  margin-top: 2px;
  color: var(--lt-muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.headerNote {
  color: var(--lt-muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.headerActions {
  display: flex;
  gap: 8px;
}
.iconBtn,
.menuBtn {
  min-height: 42px;
  border: 1px solid var(--lt-line);
  background: #fff;
  color: var(--lt-navy);
  cursor: pointer;
}
.iconBtn {
  width: 44px;
}
.menuBtn {
  display: none;
  padding: 0 12px;
  font-weight: 700;
}
.desktopNav {
  border-top: 1px solid var(--lt-line);
}
.navInner {
  min-height: 46px;
  display: flex;
  gap: 26px;
  overflow-x: auto;
}
.desktopNav a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #24384a;
  white-space: nowrap;
  position: relative;
}
.desktopNav a.is-active::after,
.desktopNav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--lt-gold);
}

/* search drawer — @tom: was absolute, broke sticky. grid 0fr trick 24.07 */
.searchDrawer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  /* visibility keeps the collapsed form out of the tab order and a11y tree */
  visibility: hidden;
  transition: 0.25s ease;
  border-top: 0 solid var(--lt-line);
}
.searchDrawer.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  border-top-width: 1px;
}
.searchForm {
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
}
.searchForm label {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.searchForm input {
  width: 100%;
  margin: 12px 0;
  border: 0;
  border-bottom: 1px solid #9aa5ae;
  padding: 12px 0;
  outline: 0;
}
.searchForm button {
  border: 0;
  background: var(--lt-navy);
  color: #fff;
  padding: 11px 16px;
  cursor: pointer;
}

.mobileOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 20, 34, 0.6);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}
.mobileOverlay.is-open {
  opacity: 1;
  visibility: visible;
}
.mobilePanel {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 88vw);
  background: #fff;
  z-index: 100;
  padding: 20px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.28s ease, visibility 0.28s ease;
}
.mobilePanel.is-open {
  transform: translateX(0);
  visibility: visible;
}
.mobilePanelHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--lt-navy);
  padding-bottom: 14px;
  color: var(--lt-navy);
}
.mobilePanel nav a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--lt-line);
  text-decoration: none;
  color: var(--lt-navy);
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--lt-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* typo left from sprint: hero-baner — do NOT rename, GA events use this */
.hero-baner,
.hero-section {
  border-bottom: 1px solid var(--lt-line);
  overflow: hidden;
}
.heroGrid {
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}
.heroCopy {
  align-self: center;
  padding: 64px 48px 64px 0;
}
.heroCopy h1 {
  margin: 0;
  max-width: 720px;
  font-family: var(--serifNews);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--lt-navy);
  font-weight: 500;
}
.heroLead {
  max-width: 640px;
  margin: 22px 0 0;
  color: #53606c;
  font-size: 1.08rem;
  line-height: 1.7;
}
.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 20px;
}
.card-btn,
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--lt-navy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--lt-navy2);
}
.btn-ghost {
  background: #fff;
  border-color: #aeb6bd;
  color: var(--lt-navy);
}
.btn-sm {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 13px;
}
.heroDisclaimer {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--lt-muted);
  font-size: 13px;
}
.heroVisual {
  position: relative;
  background: var(--lt-soft);
  border-left: 1px solid var(--lt-line);
  min-height: 420px;
}
.heroVisual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
/* .visualCaption + .trustStrip removed 28.07 — caption restated the H1, strip restated the disclaimer */

.secton-dark,
.sectionTint {
  background: #f4f6f6;
  border-block: 1px solid var(--lt-line);
}
.section {
  padding: 72px 0;
}
.sectionHead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--lt-navy);
}
.sectionHead h2 {
  margin: 0;
  font-family: var(--serifNews);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--lt-navy);
  font-weight: 500;
}
.sectionHead p {
  margin: 8px 0 0;
  color: var(--lt-muted);
  max-width: 640px;
}
.textLink {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--lt-navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.resultGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
/* @elena 28.07: dropped the soft drop-shadow. Hairline is enough on white. */
.resultCard {
  padding: 22px;
  border: 1px solid var(--lt-line);
  background: #fff;
}
.resultTop {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--lt-muted);
  text-transform: uppercase;
}
.resultTop span {
  color: var(--lt-gold);
  font-weight: 800;
}
.resultCard h3 {
  margin: 18px 0 14px;
  font-family: var(--serifNews);
  color: var(--lt-navy);
  font-size: 1.45rem;
  font-weight: 500;
}
.numberRow {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.numberRow span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #bac3ca;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--lt-navy);
}
.bonusLine {
  margin: 14px 0 18px;
  color: var(--lt-muted);
  font-size: 13px;
}
.sourceNote {
  margin-top: 16px;
  color: var(--lt-muted);
  font-size: 12px;
}
.archiveEmpty {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 22px;
  border: 1px dashed var(--lt-line);
  background: var(--lt-soft);
  color: var(--lt-ink);
  font-weight: 600;
  text-align: center;
}

.statsFeature {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 18px;
}
.chartCard,
.insightCard,
.chartPanel {
  background: #fff;
  border: 1px solid var(--lt-line);
  padding: 24px;
}
.simpleBars {
  height: 230px;
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 10px;
  padding-top: 20px;
  border-bottom: 1px solid #aeb8c0;
}
.simpleBars > div {
  flex: 1;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto auto;
  justify-items: center;
  align-items: end;
  gap: 4px;
  font-size: 11px;
}
.simpleBars > div i {
  display: block;
  width: min(42px, 78%);
  background: var(--lt-gold);
  align-self: end;
  font-style: normal;
}
/* was a navy promo card with gold link — read as an ad next to the chart.
   now inherits the plain white panel from .chartCard above. @elena 28.07 */
.insightCard h3 {
  color: var(--lt-navy);
  font-family: var(--serifNews);
  font-weight: 500;
}
.insightCard p {
  color: #4d5a65;
}
.insightCard a {
  color: var(--lt-navy);
  font-weight: 700;
  text-underline-offset: 3px;
}

.articleGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 18px;
}
.articleCard {
  border-bottom: 1px solid var(--lt-line);
  min-width: 0;
}
.articleCard.is-featured {
  grid-column: span 2;
}
.articleImage {
  display: block;
  overflow: hidden;
  background: var(--lt-soft);
}
.articleImage img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.articleImage:hover img {
  transform: scale(1.02);
}
.articleContent {
  padding: 14px 0 18px;
}
.articleMeta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--lt-muted);
  text-transform: uppercase;
}
.articleMeta span {
  color: var(--lt-gold);
  font-weight: 800;
}
.articleContent h3 {
  margin: 10px 0 8px;
  font-family: var(--serifNews);
  font-size: 1.28rem;
  color: var(--lt-navy);
  font-weight: 500;
  line-height: 1.2;
}
.articleContent h3 a {
  text-decoration: none;
}
.articleContent > p {
  margin: 0;
  color: var(--lt-muted);
  font-size: 14px;
  line-height: 1.6;
}
.readTime {
  margin-top: 12px;
  color: #77818a;
  font-size: 12px;
}

.newsletterBox {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 40px 44px;
  background: var(--lt-navy);
  color: #dce7ef;
}
.newsletterBox h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--serifNews);
  font-weight: 500;
  font-size: 1.9rem;
}
.newsletterForm label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
}
.newsletterForm > div {
  display: flex;
}
.newsletterForm input {
  width: 100%;
  border: 1px solid #7890a5;
  padding: 12px;
  background: #fff;
  color: var(--lt-ink);
}
.newsletterForm button {
  border: 0;
  background: var(--lt-gold);
  color: #fff;
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
}
.newsletterForm small {
  display: block;
  margin-top: 7px;
  color: #b8c5cf;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  padding: 18px 0;
  color: var(--lt-muted);
  font-size: 12px;
}
.breadcrumbs a {
  color: var(--lt-navy);
}
.pageHero {
  padding: 56px 0 60px;
  background: var(--lt-navy);
  color: #dbe5ec;
}
.pageHero h1 {
  margin: 0;
  max-width: 860px;
  color: #fff;
  font-family: var(--serifNews);
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.pageHero p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  line-height: 1.7;
}

.filterBar {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  background: var(--lt-soft);
  border: 1px solid var(--lt-line);
}
.filterBar label,
.contactForm label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 750;
  color: #34485a;
}
.filterBar select,
.contactForm input,
.contactForm select,
.contactForm textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #aeb8c0;
  background: #fff;
  padding: 10px 12px;
  color: var(--lt-ink);
}
/* callouts: hairline + left rule, no gold tint. One accent on the whole page. */
.infoBox,
.methodBanner {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--lt-soft);
  border: 1px solid var(--lt-line);
  border-left: 3px solid var(--lt-navy);
}
.infoBox h2,
.methodBanner h2 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--lt-navy);
}
.infoBox p,
.methodBanner p {
  margin: 0;
  color: #4d5a65;
}
.chartsGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.chartPanel h2 {
  margin: 0;
  font-family: var(--serifNews);
  color: var(--lt-navy);
  font-weight: 500;
}
.chartPanel > p {
  margin: 6px 0 18px;
  color: var(--lt-muted);
  font-size: 13px;
}
.chartWrap {
  width: 100%;
  min-height: 240px;
}
.rankingList {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.rankingList li {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--lt-line);
}
.rankingList span {
  color: var(--lt-gold);
  font-weight: 800;
}

.guideGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.guideCard {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--lt-line);
  display: flex;
  flex-direction: column;
}
.guideCard h2 {
  margin: 0 0 8px;
  font-family: var(--serifNews);
  color: var(--lt-navy);
  font-size: 1.35rem;
  font-weight: 500;
}
.guideCard p {
  color: var(--lt-muted);
  line-height: 1.6;
}
.guideCard a {
  margin-top: auto;
  color: var(--lt-navy);
  font-weight: 800;
  text-decoration: none;
  font-size: 13px;
}

.contentWithSidebar,
.articleLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}
.newsList {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 18px;
}
.sidebar {
  position: sticky;
  top: 170px;
  display: grid;
  gap: 26px;
}
.sidebar section {
  padding-top: 12px;
  border-top: 3px solid var(--lt-navy);
}
.sidebar h2 {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lt-navy);
}
.sidebar a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--lt-line);
  text-decoration: none;
  color: #2a3c4c;
  font-family: var(--serifNews);
  line-height: 1.35;
}
.sidebar a span,
.sidebar a small {
  display: block;
  margin-bottom: 3px;
  font-family: var(--fontMain);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--lt-gold);
}
.sidebar a small {
  color: var(--lt-muted);
}

.articlePage {
  padding: 52px 0 72px;
}
.articlePage > header {
  max-width: 900px;
}
.articlePage h1 {
  margin: 0;
  font-family: var(--serifNews);
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  color: var(--lt-navy);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.03;
}
.articleDeck {
  margin: 18px 0;
  color: #53606b;
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 820px;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--lt-muted);
  font-size: 12px;
}
.articleHeroImg {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  margin: 34px 0 48px;
}
.articleBody {
  font-family: var(--serifNews);
  color: #273746;
  font-size: 1.02rem;
  line-height: 1.88;
}
.articleBody p {
  margin: 0 0 22px;
}
.articleBody .lead {
  color: var(--lt-navy);
  font-size: 1.14rem;
}
.articleBody h2 {
  margin: 36px 0 10px;
  font-family: var(--fontMain);
  font-size: 1.28rem;
  color: var(--lt-navy);
}
.articleDisclaimer {
  margin-top: 36px;
  padding: 20px;
  background: var(--lt-soft);
  border: 1px solid var(--lt-line);
  border-left: 3px solid var(--lt-navy);
  font-family: var(--fontMain);
  font-size: 13px;
  line-height: 1.6;
}

.probabilityIntro {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  background: #f4f6f7;
  border: 1px solid var(--lt-line);
}
.probabilityCards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.probabilityCards article {
  padding: 24px;
  background: #fff;
  color: #4d5a65;
  border: 1px solid var(--lt-line);
}
/* the figure is the point — size carries it, not a navy fill + gold rule */
.probabilityCards span {
  color: var(--lt-navy);
  font-family: var(--serifNews);
  font-size: 2.4rem;
  line-height: 1.1;
}
.probabilityCards h2 {
  margin: 10px 0 8px;
  font-size: 1.05rem;
  color: var(--lt-navy);
}
.proseSection {
  max-width: 820px;
  margin-top: 48px;
}
.proseSection h2 {
  font-family: var(--serifNews);
  color: var(--lt-navy);
  font-weight: 500;
}
.proseSection h3 {
  color: var(--lt-navy);
}
.proseSection p {
  color: #4d5a65;
  line-height: 1.8;
}

.faqList {
  max-width: 880px;
}
.faqItem {
  border-bottom: 1px solid var(--lt-line);
}
.faqItem:first-child {
  border-top: 1px solid var(--lt-line);
}
.faqItem h2 {
  margin: 0;
  font-size: inherit;
}
.faqQuestion {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border: 0;
  background: transparent;
  color: var(--lt-navy);
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}
.faqAnswer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.faqAnswer > div {
  min-height: 0;
  overflow: hidden;
}
.faqAnswer p {
  margin: 0;
  padding-bottom: 0;
  color: var(--lt-muted);
  line-height: 1.7;
}
.faqItem.is-open .faqAnswer {
  grid-template-rows: 1fr;
}
.faqItem.is-open .faqAnswer p {
  padding-bottom: 20px;
}
.faqChevron {
  transition: transform 0.25s ease;
}
.faqItem.is-open .faqChevron {
  transform: rotate(180deg);
}

.legalContent {
  max-width: 880px;
  padding: 52px 0 72px;
}
.legalContent section {
  margin-top: 30px;
}
.legalContent h2 {
  font-family: var(--serifNews);
  color: var(--lt-navy);
  font-weight: 500;
}
.legalContent p {
  color: #475662;
  line-height: 1.85;
}
.lastUpdated {
  color: var(--lt-muted);
  font-size: 13px;
}

.contactGrid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
}
.contactForm {
  padding: 28px;
  display: grid;
  gap: 16px;
  background: var(--lt-soft);
  border: 1px solid var(--lt-line);
}
.contactDetails a {
  display: inline-flex;
  gap: 8px;
  margin: 18px 0;
  color: var(--lt-navy);
  font-weight: 750;
}
.contactDetails address {
  font-style: normal;
  color: var(--lt-muted);
  line-height: 1.7;
  padding-top: 20px;
  border-top: 1px solid var(--lt-line);
}
.checkLabel {
  grid-template-columns: auto 1fr !important;
  align-items: start;
}
.checkLabel input {
  width: 18px;
  min-height: 18px;
}

/* card-form-2026 = leftover name from March redesign, still wired in contact */
.card-form-2026 {
  /* noop alias kept for analytics */
}

.modalOverlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(4, 22, 38, 0.74);
}
.modalOverlay.is-open {
  display: grid;
}
.successModal {
  width: min(440px, 100%);
  padding: 34px;
  background: #fff;
  text-align: center;
}
.successModal h2 {
  margin: 0;
  font-family: var(--serifNews);
  color: var(--lt-navy);
}
.successModal p {
  margin: 12px 0 22px;
  color: var(--lt-muted);
}

.sitemapGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.sitemapGrid a {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border: 1px solid var(--lt-line);
  text-decoration: none;
  color: var(--lt-navy);
  font-weight: 750;
}

.site-footer {
  margin-top: 18px;
  background: #071f34;
  color: #b8c6d1;
}
.footerTop {
  padding: 44px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #294258;
}
.footerBrand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footerBrand .lt-logoMark {
  background: #fff;
  color: var(--lt-navy);
  border-color: #a98543;
}
.footerBrand strong {
  color: #fff;
}
.footerBrand p {
  margin: 0;
}

.footerAddress {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}
.footerGrid {
  padding: 36px 0 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.footerGrid h2 {
  margin: 0 0 12px;
  color: #d7b978;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footerGrid a {
  display: block;
  padding: 5px 0;
  color: #c7d2da;
  font-size: 13px;
  text-decoration: none;
}
.footerGrid a:hover {
  color: #fff;
  text-decoration: underline;
}
.footerDisclaimer {
  padding: 18px 0;
  background: #041522;
  border-top: 1px solid #20394e;
}
.footerDisclaimer p {
  margin: 0 0 5px;
  color: #91a4b3;
  font-size: 11px;
  line-height: 1.55;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 150;
  width: min(660px, calc(100% - 36px));
  padding: 16px 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  border: 1px solid #aab5bd;
  box-shadow: 0 14px 40px rgba(5, 25, 41, 0.24);
}
.cookie-banner.is-visible {
  display: flex;
  animation: cookieIn 0.32s ease;
}
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-banner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
.cookie-banner a {
  color: var(--lt-navy);
  font-weight: 800;
}
.cookieActions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
@keyframes cookieIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

.sideSearch {
  display: grid;
  gap: 8px;
}
.sideSearch label {
  font-size: 12px;
  font-weight: 700;
  color: var(--lt-muted);
}
.sideSearch input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--lt-line);
  padding: 0 12px;
}
.pagination {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.sectionTint,
.articleGrid,
.newsList,
.chartsGrid {
  content-visibility: auto;
  contain-intrinsic-size: 1px 480px;
}

/* old pricin-card class from pricing experiment — unused but kept in CSS for GA history */
.pricin-card {
  display: none;
}

@media (max-width: 920px) {
  .desktopNav,
  .headerNote {
    display: none;
  }
  .menuBtn,
  .mobileOverlay,
  .mobilePanel {
    display: block;
  }
  .menuBtn {
    display: inline-flex;
    align-items: center;
  }
  .heroGrid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .heroCopy {
    padding: 48px 0;
  }
  .heroVisual {
    border-left: 0;
    border-top: 1px solid var(--lt-line);
  }
  .resultGrid,
  .guideGrid,
  .archiveList {
    grid-template-columns: 1fr 1fr;
  }
  .statsFeature,
  .newsletterBox,
  .contentWithSidebar,
  .articleLayout,
  .contactGrid {
    grid-template-columns: 1fr;
  }
  .articleGrid {
    grid-template-columns: 1fr 1fr;
  }
  .articleCard.is-featured {
    grid-column: span 2;
  }
  .sidebar {
    position: static;
    grid-template-columns: 1fr 1fr 1fr;
    display: grid;
  }
  .footerGrid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .probabilityCards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lt-container {
    width: min(100% - 28px, 1180px);
  }
  .lt-logo small {
    display: none;
  }
  .resultGrid,
  .guideGrid,
  .articleGrid,
  .newsList,
  .chartsGrid,
  .sitemapGrid,
  .archiveList {
    grid-template-columns: 1fr;
  }
  .articleCard.is-featured {
    grid-column: auto;
  }
  .filterBar {
    grid-template-columns: 1fr;
  }
  .newsletterBox {
    padding: 26px 20px;
  }
  .newsletterForm > div {
    display: grid;
  }
  .sidebar {
    grid-template-columns: 1fr;
  }
  .footerTop {
    flex-direction: column;
  }
  .footerAddress {
    text-align: left;
  }
  .footerGrid {
    grid-template-columns: 1fr 1fr;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .heroActions .btn {
    width: 100%;
  }
}

/* --- site search suggestions --- */
.searchForm {
  position: relative;
  flex-wrap: wrap;
}
.searchForm label { order: 1; }
.searchForm input { order: 2; flex: 1; }
.searchForm button { order: 3; }
.searchForm .searchSuggest {
  flex: 1 0 100%;
  order: 5;
}
.searchForm input[type="search"]::-webkit-search-cancel-button,
.searchForm input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.searchSuggest {
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 1px solid var(--lt-line);
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 39, 68, 0.12);
  max-height: 280px;
  overflow: auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.searchSuggest[hidden] {
  display: none !important;
}
.searchSuggestLabel {
  margin: 0;
  padding: 10px 14px 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lt-muted);
  font-weight: 700;
}
.searchSuggest ul {
  list-style: none;
  margin: 0;
  padding: 4px 0 8px;
}
.searchSuggest a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--lt-navy);
}
.searchSuggest a:hover,
.searchSuggest a:focus-visible {
  background: var(--lt-soft);
}
.searchSuggest strong {
  font-size: 14px;
}
.searchSuggest small {
  color: var(--lt-muted);
  font-size: 11px;
}

/* --- chat widget --- */
.visuallyHidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ltChat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 240;
  font-family: var(--fontMain);
}
.ltChatFab {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--lt-navy);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(8, 39, 68, 0.28);
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, background 0.2s ease;
}
.ltChatFab:hover {
  background: var(--lt-navy2);
  transform: translateY(-2px);
}
.ltChatFab.is-open {
  background: var(--lt-gold);
  color: #1a1408;
}
.ltChatPanel {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: min(380px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 110px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--lt-line);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(8, 39, 68, 0.22);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  overflow: hidden;
}
.ltChatPanel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}
.ltChatHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--lt-navy);
  color: #fff;
}
.ltChatHead h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.ltChatClose {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.ltChatClose:hover {
  background: rgba(255, 255, 255, 0.12);
}
.ltChatMessages {
  flex: 1;
  overflow: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--lt-soft);
}
.ltChatBubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(8, 39, 68, 0.06);
}
.ltChatBubble p {
  margin: 0 0 8px;
}
.ltChatBubble p:last-child {
  margin-bottom: 0;
}
.ltChatBubble--user {
  align-self: flex-end;
  background: var(--lt-navy);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ltChatBubble--bot {
  align-self: flex-start;
  background: #fff;
  color: var(--lt-ink);
  border: 1px solid var(--lt-line);
  border-bottom-left-radius: 4px;
}
.ltChatLinks {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.ltChatLinks a {
  display: block;
  padding: 6px 0;
  color: var(--lt-navy2);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ltChatTyping {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 36px;
}
.ltChatTyping span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lt-muted);
  animation: ltChatDot 1s infinite ease-in-out;
}
.ltChatTyping span:nth-child(2) { animation-delay: 0.15s; }
.ltChatTyping span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ltChatDot {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
.ltChatForm {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--lt-line);
  background: #fff;
}
.ltChatForm input {
  flex: 1;
  min-height: 42px;
  border: 1px solid var(--lt-line);
  border-radius: 10px;
  padding: 0 12px;
}
.ltChatSend {
  border: 0;
  border-radius: 10px;
  background: var(--lt-gold);
  color: #1a1408;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
}

/* page extras */
.delayTableWrap {
  overflow: auto;
  margin-top: 18px;
  border: 1px solid var(--lt-line);
}
.delayTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.delayTable th,
.delayTable td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--lt-line);
}
.delayTable th {
  background: var(--lt-navy);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.delayTable tr:nth-child(even) td {
  background: var(--lt-soft);
}
.glossaryGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.glossaryCard {
  padding: 18px;
  border-top: 3px solid var(--lt-gold);
  background: var(--lt-soft);
}
.glossaryCard h3 {
  margin: 0 0 8px;
  color: var(--lt-navy);
  font-size: 1.05rem;
}
.glossaryCard p {
  margin: 0;
  color: var(--lt-muted);
  font-size: 14px;
}
.mapSection {
  margin-top: 8px;
}
.mapFrame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border: 1px solid var(--lt-line);
  background: var(--lt-soft);
}
.teamGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.teamCard {
  text-align: center;
}
.teamCard img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 3px solid var(--lt-goldSoft);
}
.teamCard h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--lt-navy);
}
.teamCard p {
  margin: 0;
  font-size: 13px;
  color: var(--lt-muted);
}
.principlesList {
  margin: 16px 0 0;
  padding-left: 1.2em;
}
.principlesList li {
  margin-bottom: 10px;
}

@media (max-width: 920px) {
  .glossaryGrid { grid-template-columns: 1fr; }
  .teamGrid { grid-template-columns: 1fr 1fr; }
  .ltChatPanel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    bottom: 0;
    right: 0;
  }
  .ltChatFab {
    z-index: 241;
  }
}
@media (max-width: 640px) {
  .teamGrid { grid-template-columns: 1fr 1fr; }
}

