/* Thriving Network — Home v3 */

:root {
  --navy: #1E2A6E;
  --ink: #141B45;
  --red: #D2141E;
  --red-hover: #B00F18;
  --red-soft: #FF8A90;
  --red-bright: #FF6B72;
  --text: #4A5078;
  --muted: #6B7096;
  --line: #E6E8F1;
  --chip-line: #D6D9E8;
  --surface: #F5F6FA;
  --chip: #F0F1F7;
  --white: #fff;
  --wrap: 1240px;
  --gutter: 28px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--surface);
  font-family: Figtree, system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }

img { display: block; }

[hidden] { display: none !important; }

h1, h2, h3, p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; }

.section { padding: 96px var(--gutter); }
.section--white { background: var(--white); }

.stack { display: flex; flex-direction: column; }
.stack-52 { gap: 52px; }
.stack-18 { gap: 18px; }
.stack-16 { gap: 16px; }
.stack-14 { gap: 14px; }
.stack-12 { gap: 12px; }

.row { display: flex; flex-wrap: wrap; gap: 12px; }

.grid { display: grid; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow--muted { color: var(--muted); }

.h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.h2--product {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.06;
  letter-spacing: -.02em;
}

.lead { font-size: 17px; line-height: 1.6; color: var(--text); }

.sub-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.sub-head h3 { font-size: 22px; font-weight: 800; }
.sub-head span { font-size: 13.5px; color: var(--muted); }

.pill-tag {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn--red { background: var(--red); color: var(--white); font-size: 15px; padding: 15px 26px; }
.btn--red:hover { background: var(--red-hover); color: var(--white); }
.btn--outline { border: 1.5px solid var(--navy); color: var(--navy); font-size: 15px; padding: 13.5px 24px; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); font-size: 14.5px; padding: 13px 22px; }
.btn--navy:hover { background: var(--ink); color: var(--white); }
.btn--link { font-weight: 700; font-size: 14.5px; padding: 13px 6px; }

/* Photos */
.photo { position: relative; border-radius: 20px; overflow: hidden; height: 380px; }
.photo--360 { height: 360px; }
.photo img,
.hero__clip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.duotone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  mix-blend-mode: color;
  opacity: .55;
  pointer-events: none;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px 56px;
  align-items: center;
}

/* Logo mark */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--white);
  line-height: 1;
}
.logo:hover { color: var(--white); }
.logo__word {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .02em;
  font-variant: small-caps;
}
.logo__bar {
  background: var(--red);
  color: var(--white);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .42em;
  padding: 2px 6px 2px 10px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  flex-wrap: wrap;
}
.site-nav {
  display: flex;
  gap: clamp(12px, 1.8vw, 26px);
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
  font-size: clamp(13px, 1.2vw, 14.5px);
  font-weight: 500;
  white-space: nowrap;
}
.site-nav a { color: rgba(255, 255, 255, .88); }
.site-nav a:hover { color: var(--white); }
.site-header .btn--red { font-size: 14px; padding: 11px 20px; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .site-header__inner { flex-wrap: nowrap; justify-content: space-between; padding: 12px 20px; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    order: 3;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 1px; transition: transform .2s, opacity .2s; }
  .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header .site-header__cta { margin-left: auto; font-size: 13px; padding: 10px 16px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy);
    font-size: 16px;
    padding: 8px 20px 20px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .25);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .cta__box { padding: 40px 24px; }
}

@media (max-width: 420px) {
  .site-header .site-header__cta { display: none; }
  .nav-toggle { margin-left: auto; }
}

/* Hero */
.hero { background: var(--white); overflow: hidden; }
.hero__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  align-items: stretch;
  min-height: 540px;
}
.hero__copy {
  padding: 72px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  max-width: 580px;
}
.hero__eyebrow { display: flex; align-items: center; gap: 10px; }
.hero__eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.hero h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.hero__intro { font-size: 18px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.hero__stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.hero__stats strong { display: block; font-size: 24px; font-weight: 800; }
.hero__stats span { display: block; font-size: 13px; color: var(--muted); }
.hero__media { position: relative; min-height: 440px; }
.hero__clip {
  position: absolute;
  inset: 0;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__badge {
  position: absolute;
  left: 6%;
  bottom: 32px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  pointer-events: none;
}

/* Offer */
.offer { padding: 88px var(--gutter) 96px; }
.offer__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.offer__head > div:first-child { max-width: 640px; }
.chooser { display: flex; flex-direction: column; gap: 10px; }
.chooser__label { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.chooser__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--white);
  border-radius: 999px;
  padding: 5px;
  box-shadow: 0 0 0 1px rgba(20, 27, 69, .08);
}
.chooser__options button {
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
}
.chooser__options button[aria-pressed="true"] { background: var(--navy); color: var(--white); }

.products {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 20px;
}
.product {
  position: relative;
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(20, 27, 69, .08);
  transition: box-shadow .2s, opacity .2s, transform .2s;
  --kc: var(--red);
  --chip-bg: var(--chip);
}
.product:hover { transform: translateY(-4px); color: var(--ink); }
.product--dark {
  background: var(--navy);
  color: var(--white);
  box-shadow: none;
  --kc: var(--red-soft);
  --chip-bg: rgba(255, 255, 255, .12);
}
.product--dark:hover { color: var(--white); }
.products.has-pick .product { opacity: .55; }
.products.has-pick .product.is-match {
  opacity: 1;
  box-shadow: 0 0 0 2.5px var(--red), 0 24px 48px rgba(20, 27, 69, .18);
}
.product__flag {
  display: none;
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--red);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 5px 12px;
  border-radius: 999px;
}
.product.is-match .product__flag { display: inline-block; }
.product__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.product__kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--kc); }
.product__n { font-size: 13px; font-weight: 800; opacity: .5; }
.product h3 { font-size: 26px; line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
.product__for { font-size: 15.5px; line-height: 1.55; font-weight: 600; }
.product__body { font-size: 14.5px; line-height: 1.6; opacity: .78; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span {
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--chip-bg);
}
.product__cta { font-size: 14.5px; font-weight: 800; color: var(--kc); padding-top: 4px; }

/* ICT */
.outline-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.outline-chips span {
  border: 1px solid var(--chip-line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 700;
}
.tag-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.steps {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 12px;
}
.step {
  padding: 24px 20px;
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  --dot: var(--navy);
}
.step--accent { background: var(--navy); color: var(--white); --dot: var(--red); }
.step__head { display: flex; align-items: center; gap: 10px; }
.step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--dot);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}
.step__title { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; }
.step p { font-size: 14px; line-height: 1.5; opacity: .85; }

.tiers {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}
.tier {
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  color: var(--ink);
}
.tier--dark { background: var(--navy); color: var(--white); }
.tier__name { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; }
.tier__name::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--dot); }
.tier__title { font-size: 19px; font-weight: 800; }
.tier p { font-size: 14px; line-height: 1.5; opacity: .8; }

/* Amplification */
.amp-lead { font-size: 18px; line-height: 1.5; font-weight: 700; color: var(--ink); }
.amp-body { font-size: 16px; line-height: 1.6; color: var(--text); }
.checks { list-style: none; margin: 0; padding: 6px 0 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: 15px; }
.checks li::before { content: "✓"; flex: none; color: var(--red); font-weight: 800; }

.amp-steps {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1px;
  background: var(--line);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.amp-step { background: var(--white); padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; }
.amp-step__n { font-size: 26px; font-weight: 800; color: var(--red); line-height: 1; }
.amp-step__title { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; margin-top: 4px; }
.amp-step p { font-size: 14px; line-height: 1.5; color: var(--text); }

.amp-tier {
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(20, 27, 69, .06);
  --kc: var(--red);
}
.amp-tier--dark { background: var(--navy); color: var(--white); --kc: var(--red-soft); }
.amp-tier__n { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--kc); }
.amp-tier__name { font-size: 21px; font-weight: 800; }
.amp-tier__name span { font-weight: 600; font-size: 15px; opacity: .7; }
.amp-tier p { font-size: 14px; line-height: 1.55; opacity: .82; }

/* Event */
.event { background: var(--ink); color: var(--white); overflow: hidden; }
.event .pill-tag { background: var(--white); color: var(--ink); }
.event__when { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: rgba(255, 255, 255, .65); }
.event h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.event__lead { font-size: 18px; line-height: 1.5; font-weight: 700; }
.event__body { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.event .row { padding-top: 4px; }
.event .btn--red { font-size: 15px; padding: 14px 24px; }
.btn--ghost-light { border: 1.5px solid rgba(255, 255, 255, .55); color: var(--white); font-size: 15px; padding: 12.5px 22px; }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }

.event-stats {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  border-top: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.event-stat { padding: 26px 20px; display: flex; flex-direction: column; gap: 4px; }
.event-stat strong { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.event-stat span { font-size: 14px; color: rgba(255, 255, 255, .7); }

.event h3 { font-size: 22px; font-weight: 800; }
.dealroom {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 12px;
}
.deal { background: var(--navy); border-radius: 14px; padding: 20px 18px; display: flex; flex-direction: column; gap: 6px; }
.deal__title { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--red-bright); }
.deal__body { font-size: 14.5px; font-weight: 600; line-height: 1.4; }

.event-cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 20px;
}
.packages { background: var(--white); color: var(--ink); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.packages .sub-head h3 { font-size: 20px; }
.packages .sub-head span { font-size: 13px; }
.package {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.package__name { font-size: 15.5px; font-weight: 800; }
.package__perk { font-size: 13.5px; color: var(--text); grid-column: 1 / -1; }
.amp-tier__per { font-size: 13.5px; font-weight: 700; opacity: .7; }
.sponsor__note { margin-top: auto; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .9); }
.package__avail { font-size: 12.5px; color: var(--muted); text-align: right; }

.sponsor { background: var(--red); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.sponsor__kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: rgba(255, 255, 255, .85); }
.sponsor h3 { font-size: 24px; line-height: 1.2; }
.sponsor p { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .92); }

/* Why */
.why__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px 56px;
  align-items: start;
}
.why__intro p { font-size: 16px; line-height: 1.6; color: var(--text); max-width: 460px; }
.why__cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.why-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 0 0 1px rgba(20, 27, 69, .06);
}
.why-card::before { content: ""; width: 32px; height: 4px; border-radius: 2px; background: var(--red); }
.why-card h3 { margin-top: 8px; font-size: 17px; font-weight: 800; }
.why-card p { font-size: 14.5px; line-height: 1.55; color: var(--text); }

/* Logos */
.logos { background: var(--white); padding: 52px var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos .wrap { display: flex; flex-direction: column; gap: 24px; align-items: center; }
.logos__label { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; width: 100%; }
.logo-tile {
  position: relative;
  width: 190px;
  height: 84px;
  overflow: hidden;
  filter: grayscale(1);
  opacity: .75;
  transition: filter .2s, opacity .2s;
}
.logo-tile:hover { filter: none; opacity: 1; }
.logo-tile img {
  position: absolute;
  max-width: none;
  width: var(--w);
  height: var(--h);
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
}

/* CTA */
.cta__box {
  border-radius: 24px;
  background: var(--navy);
  color: var(--white);
  padding: 56px 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 36px 52px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta__box::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .06);
  pointer-events: none;
}
.cta__box > * { position: relative; }
.cta .eyebrow { color: var(--red-soft); }
.cta h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; }
.cta__intro { font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.cta__hubspot { background: var(--white); color: var(--ink); border-radius: 18px; padding: 24px; min-height: 220px; }
.cta__call { font-size: 14px; color: rgba(255, 255, 255, .75); }
.cta__call a { color: var(--white); font-weight: 700; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 64px var(--gutter) 28px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 44px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 36px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer__brand .logo__word { font-size: 24px; letter-spacing: 0; }
.footer__brand .logo__bar { font-size: 8px; }
.footer__brand p { font-size: 14px; line-height: 1.6; max-width: 240px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col strong { color: var(--white); font-weight: 700; margin-bottom: 4px; }
.footer__col a { color: rgba(255, 255, 255, .75); }
.footer__col a:hover { color: var(--red); }
.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}
.footer__base nav { display: flex; gap: 20px; }
.footer__base a { color: rgba(255, 255, 255, .55); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product { transition: none; }
  .product:hover { transform: none; }
}
