:root {
  --fl-green: #08c769;
  --fl-green-dark: #009d4d;
  --fl-deep: #0d1719;
  --fl-text: #111820;
  --fl-muted: #59616a;
  --fl-line: #e7ecef;
  --fl-soft: #eef9f3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--fl-text);
  background: #fff;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.fl-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #fff;
}

.fl-hero {
  position: relative;
  min-height: 780px;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.48) 30%, rgba(0, 0, 0, 0.18) 57%, rgba(0, 0, 0, 0.36) 100%),
    url("/landing/banner.png");
  background-position: center top;
  background-size: cover;
}

.fl-nav {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 180px 1fr minmax(136px, 190px);
  align-items: center;
  gap: 28px;
}

.fl-nav__brand {
  display: inline-flex;
  align-items: center;
  width: 164px;
}

.fl-nav__brand img,
.fl-footer img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.38));
}

.fl-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  font-weight: 700;
  font-size: 15px;
}

.fl-nav__links a {
  color: rgba(255, 255, 255, 0.96);
}

.fl-nav__links a.is-active,
.fl-nav__links a:hover {
  color: var(--fl-green);
}

.fl-nav__cta,
.fl-button,
.fl-row-button,
.fl-cta a,
.fl-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 10px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.fl-nav__cta {
  height: 46px;
  color: #fff;
  background: linear-gradient(135deg, var(--fl-green), var(--fl-green-dark));
  box-shadow: 0 14px 24px rgba(8, 199, 105, 0.22);
}

.fl-nav__profile {
  min-height: 48px;
  padding: 6px 10px 6px 6px;
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 15, 17, 0.52);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.fl-nav__profile:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 199, 105, 0.8);
  background: rgba(7, 15, 17, 0.72);
}

.fl-nav__avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: var(--fl-green);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.fl-nav__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fl-nav__profile-text {
  display: grid;
  gap: 1px;
  min-width: 0;
  max-width: 118px;
  font-weight: 800;
  line-height: 1.1;
}

.fl-nav__profile-text > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fl-nav__profile-text small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.fl-nav__cta:hover,
.fl-button:hover,
.fl-row-button:hover,
.fl-cta a:hover,
.fl-cta__button:hover {
  transform: translateY(-1px);
}

.fl-hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin: 110px auto 0;
}

.fl-hero__logo {
  display: block;
  width: min(420px, 86vw);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.48));
}

.fl-hero__tagline {
  margin: 16px 0 18px;
  font-size: clamp(30px, 4vw, 38px);
  font-weight: 900;
  font-style: italic;
  line-height: 1.1;
}

.fl-hero__copy {
  max-width: 360px;
  margin: 0 0 30px;
  font-size: 20px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.96);
}

.fl-button {
  min-height: 56px;
  padding: 0 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--fl-green), var(--fl-green-dark));
  border-radius: 999px;
  font-size: 18px;
  box-shadow: 0 20px 32px rgba(8, 199, 105, 0.22);
}

.fl-feature-bar {
  position: absolute;
  left: 50%;
  bottom: -52px;
  z-index: 2;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 48px));
  min-height: 136px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(17, 28, 31, 0.96), rgba(34, 43, 46, 0.96));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

.fl-feature-bar article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.fl-feature-bar article:first-child {
  padding-left: 8px;
}

.fl-feature-bar article:last-child {
  border-right: 0;
  padding-right: 8px;
}

.fl-feature-icon {
  color: var(--fl-green);
}

.fl-feature-icon svg {
  width: 52px;
  height: 52px;
}

.fl-feature-bar h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
}

.fl-feature-bar p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.fl-programmes {
  width: min(1068px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 34px;
  text-align: center;
}

.fl-eyebrow {
  margin: 0 0 12px;
  color: var(--fl-green-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fl-programmes h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 42px);
  line-height: 1.08;
}

.fl-section-copy {
  max-width: 560px;
  margin: 14px auto 28px;
  color: #484f58;
  font-size: 17px;
  line-height: 1.45;
}

.fl-programme-table {
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.fl-table-head,
.fl-programme-row {
  display: grid;
  grid-template-columns: 1.55fr 0.9fr 1fr 0.85fr;
}

.fl-table-head {
  min-height: 44px;
  align-items: center;
  background: linear-gradient(135deg, var(--fl-green), var(--fl-green-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.fl-table-head span {
  padding: 0 28px;
}

.fl-programme-row {
  min-height: 88px;
  align-items: center;
  border-bottom: 1px solid var(--fl-line);
}

.fl-programme-row:last-child {
  border-bottom: 0;
}

.fl-programme-row > div,
.fl-programme-row > a {
  height: 100%;
  padding: 18px 28px;
  border-right: 1px solid var(--fl-line);
}

.fl-programme-row > a {
  border-right: 0;
}

.fl-programme-main {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: center;
}

.fl-programme-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--fl-green-dark);
  background: var(--fl-soft);
}

.fl-programme-icon svg {
  width: 26px;
  height: 26px;
}

.fl-programme-main h2 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.2;
}

.fl-programme-main p {
  margin: 0;
  color: #272d33;
  font-size: 15px;
  line-height: 1.26;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fl-programme-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1c242b;
  font-size: 15px;
  line-height: 1.35;
}

.fl-meta-icon {
  flex: 0 0 auto;
  color: var(--fl-green-dark);
}

.fl-meta-icon svg {
  width: 22px;
  height: 22px;
}

.fl-row-button {
  align-self: center;
  justify-self: center;
  width: min(210px, calc(100% - 36px));
  height: 42px;
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--fl-green), var(--fl-green-dark));
  font-size: 15px;
  white-space: nowrap;
}

.fl-programme-row > a.fl-row-button {
  height: 42px;
  padding: 0 18px;
  border-right: 0;
}

.fl-row-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.fl-empty {
  padding: 30px;
  border: 1px dashed var(--fl-line);
  border-radius: 12px;
  color: var(--fl-muted);
}

.fl-view-all {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  margin: 28px auto 0;
  color: var(--fl-green-dark);
  font-size: 18px;
  font-weight: 800;
}

.fl-cta {
  width: min(1068px, calc(100% - 48px));
  min-height: 104px;
  margin: 0 auto 20px;
  padding: 24px 50px 24px 28px;
  display: grid;
  grid-template-columns: 76px 1fr 190px;
  gap: 22px;
  align-items: center;
  border-radius: 10px;
  color: #fff;
  background:
    linear-gradient(150deg, rgba(8, 199, 105, 0.98), rgba(0, 163, 80, 0.98)),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.18), transparent 26%);
}

.fl-cta__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--fl-green-dark);
  background: #fff;
}

.fl-cta__icon svg {
  width: 34px;
  height: 34px;
}

.fl-cta h2 {
  margin: 0 0 6px;
  font-size: 30px;
  line-height: 1.1;
}

.fl-cta p {
  margin: 0;
  font-size: 17px;
}

.fl-cta a,
.fl-cta__button {
  min-height: 52px;
  border: 0;
  color: var(--fl-green-dark);
  background: #fff;
  font-size: 17px;
  cursor: pointer;
  font-family: inherit;
}

.fl-cta__button svg {
  width: 20px;
  height: 20px;
}

.fl-modal-open {
  overflow: hidden;
}

.fl-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.fl-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.fl-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 14, 0.66);
  backdrop-filter: blur(10px);
}

.fl-modal__panel {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 248, 0.98)),
    radial-gradient(circle at 88% 0%, rgba(8, 199, 105, 0.14), transparent 34%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  transform: translateY(14px) scale(0.98);
  transition: transform 180ms ease;
}

.fl-modal.is-open .fl-modal__panel {
  transform: translateY(0) scale(1);
}

.fl-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #273139;
  background: #edf3ef;
  cursor: pointer;
}

.fl-modal__close svg {
  width: 20px;
  height: 20px;
}

.fl-modal__eyebrow {
  margin: 0 0 10px;
  color: var(--fl-green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fl-modal h2 {
  margin: 0 42px 10px 0;
  color: #111820;
  font-size: 34px;
  line-height: 1.08;
}

.fl-modal__copy {
  margin: 0 0 24px;
  color: #52606b;
  font-size: 16px;
  line-height: 1.5;
}

.fl-modal__actions {
  display: grid;
  gap: 14px;
}

.fl-modal__action {
  min-height: 76px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--fl-line);
  border-radius: 12px;
  color: #172129;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 26, 32, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.fl-modal__action:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 199, 105, 0.48);
  box-shadow: 0 16px 34px rgba(8, 199, 105, 0.12);
}

.fl-modal__action--primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--fl-green), var(--fl-green-dark));
}

.fl-modal__action span {
  display: grid;
  gap: 4px;
}

.fl-modal__action strong {
  font-size: 17px;
  line-height: 1.2;
}

.fl-modal__action small {
  color: #65717b;
  font-size: 13px;
  font-weight: 700;
}

.fl-modal__action--primary small {
  color: rgba(255, 255, 255, 0.78);
}

.fl-modal__action svg {
  width: 22px;
  height: 22px;
  justify-self: center;
}

.fl-footer {
  margin-top: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(8, 199, 105, 0.12), transparent 30%),
    linear-gradient(135deg, #10191c, #252d31);
  color: #fff;
}

.fl-footer__inner {
  width: min(1068px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 70px;
}

.fl-footer img {
  width: 166px;
  margin-bottom: 20px;
}

.fl-footer p,
.fl-footer small,
.fl-footer a {
  color: rgba(255, 255, 255, 0.92);
}

.fl-footer p {
  max-width: 250px;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.45;
}

.fl-footer small {
  font-size: 12px;
}

.fl-footer h3 {
  margin: 0 0 16px;
  font-size: 16px;
}

.fl-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fl-footer nav a {
  margin-bottom: 8px;
  font-size: 14px;
}

.fl-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.fl-socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--fl-green);
  background: rgba(8, 199, 105, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.fl-contact-line {
  margin: 0 0 8px !important;
}

@media (max-width: 980px) {
  .fl-hero {
    min-height: 740px;
    background-position: 58% top;
  }

  .fl-nav {
    grid-template-columns: 150px 1fr;
  }

  .fl-nav__links {
    display: none;
  }

  .fl-nav__cta {
    justify-self: end;
    width: 128px;
  }

  .fl-nav__profile {
    max-width: 184px;
  }

  .fl-feature-bar {
    position: relative;
    bottom: auto;
    margin-top: 64px;
    grid-template-columns: repeat(2, 1fr);
    transform: translateX(-50%);
  }

  .fl-feature-bar article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 20px;
  }

  .fl-feature-bar article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .fl-programmes {
    padding-top: 58px;
  }

  .fl-table-head {
    display: none;
  }

  .fl-programme-table {
    display: grid;
    gap: 16px;
    background: transparent;
    box-shadow: none;
  }

  .fl-programme-row {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    border: 1px solid var(--fl-line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
  }

  .fl-programme-row > div,
  .fl-programme-row > a {
    border-right: 0;
    border-bottom: 1px solid var(--fl-line);
  }

  .fl-row-button {
    width: 210px;
    height: 48px;
    min-height: 48px;
    margin: 18px auto;
    padding: 0 24px;
    border-bottom: 0 !important;
    justify-self: center;
    border-radius: 8px;
    font-size: 15px;
    box-shadow: 0 10px 20px rgba(8, 199, 105, 0.16);
  }

  .fl-cta,
  .fl-footer__inner {
    grid-template-columns: 1fr;
  }

  .fl-cta {
    padding: 28px;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 640px) {
  .fl-hero {
    min-height: auto;
    padding-bottom: 34px;
    background-position: 62% top;
  }

  .fl-nav,
  .fl-hero__content,
  .fl-programmes,
  .fl-cta,
  .fl-footer__inner,
  .fl-feature-bar {
    width: min(100% - 28px, 520px);
  }

  .fl-nav {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding-top: 16px;
  }

  .fl-nav__brand {
    width: 132px;
  }

  .fl-nav__cta {
    width: 112px;
    height: 42px;
    font-size: 14px;
  }

  .fl-nav__profile {
    min-height: 42px;
    padding: 4px 8px 4px 4px;
  }

  .fl-nav__avatar {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .fl-nav__profile-text {
    max-width: 74px;
    font-size: 13px;
  }

  .fl-nav__profile-text small {
    display: none;
  }

  .fl-hero__content {
    margin-top: 74px;
  }

  .fl-hero__logo {
    width: min(330px, 92vw);
  }

  .fl-hero__copy {
    max-width: 310px;
    font-size: 17px;
  }

  .fl-feature-bar {
    grid-template-columns: 1fr;
    padding: 10px 16px;
    margin-top: 46px;
  }

  .fl-feature-bar article,
  .fl-feature-bar article:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 16px 4px;
  }

  .fl-feature-bar article:last-child {
    border-bottom: 0;
  }

  .fl-programmes {
    padding-top: 44px;
  }

  .fl-programme-main {
    grid-template-columns: 46px 1fr;
  }

  .fl-programme-icon {
    width: 44px;
    height: 44px;
  }

  .fl-programme-row > div,
  .fl-programme-row > a {
    padding: 16px 18px;
  }

  .fl-row-button {
    width: min(210px, calc(100% - 36px));
    height: 48px;
    min-width: 0;
    min-height: 48px;
    margin: 14px auto 18px;
    justify-self: center;
    font-size: 15px;
  }

  .fl-cta h2 {
    font-size: 25px;
  }

  .fl-modal {
    padding: 16px;
  }

  .fl-modal__panel {
    padding: 28px 20px 22px;
    border-radius: 16px;
  }

  .fl-modal h2 {
    margin-right: 36px;
    font-size: 28px;
  }

  .fl-modal__action {
    min-height: 72px;
    padding: 14px 16px;
  }

  .fl-footer__inner {
    gap: 32px;
  }
}
