:root {
  --primary: #00646E;
  --secondary: #28AA6E;
  --accent: #D73A5F;
  --dark: #013237;
  --card: #ffffff;
  --text-on-dark: #ffffff;
  --text: #0C0D0E;
  --muted: #65666D;
  --radius: 8px;
  --shadow: 0 18px 46px rgba(1, 50, 55, 0.18);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: #153836;
  font-family: Mulish, Questrial, Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.page-shell {
  min-height: 100dvh;
  width: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  padding: 0 0 68px;
}

.landing-frame {
  min-height: 0;
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
  padding: clamp(14px, 1.6vw, 22px) clamp(14px, 1.6vw, 22px) 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    #153836;
  box-shadow: none;
}

.landing-header {
  min-width: 0;
  width: min(1480px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.landing-grid {
  min-height: 0;
  width: min(1480px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
  align-items: stretch;
}

.landing-panel {
  min-width: 0;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.hero-panel,
.contact-panel,
.webinar-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  padding: clamp(26px, 4vw, 54px);
}

.hero-panel {
  position: relative;
  color: var(--text-on-dark);
  background:
    linear-gradient(45deg, rgba(1, 50, 55, 0.94) 0%, rgba(20, 85, 55, 0.78) 100%),
    linear-gradient(45deg, var(--primary), var(--secondary));
  background-size: cover;
  background-position: center;
}

.contact-panel {
  color: #ffffff;
  background: linear-gradient(180deg, #28AA6E 0%, #00646E 100%);
  border-color: rgba(255, 255, 255, 0.2);
}

.webinar-panel {
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #F7FBFA 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.brand {
  width: min(620px, 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #ffffff;
  text-decoration: none;
}

.brand-icon-wrap {
  width: clamp(42px, 4.6vw, 64px);
  height: clamp(42px, 4.6vw, 64px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: min(440px, calc(100% - 74px));
  height: clamp(32px, 4.1vw, 52px);
  overflow: hidden;
  color: #ffffff;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 900;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-mark.has-logo + span { display: none; }

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.76);
}

.panel-heading {
  align-self: start;
  max-width: 100%;
}

.panel-body {
  align-self: end;
  min-width: 0;
  padding-bottom: clamp(14px, 3vh, 28px);
}

.hero-panel .panel-body {
  align-self: end;
}

.landing-panel[data-align="left"] {
  text-align: left;
}

.landing-panel[data-align="center"] {
  text-align: center;
}

.landing-panel[data-align="right"] {
  text-align: right;
}

.landing-panel[data-align="center"] h1,
.landing-panel[data-align="center"] h2,
.landing-panel[data-align="center"] .panel-body > p {
  margin-left: auto;
  margin-right: auto;
}

.landing-panel[data-align="right"] h1,
.landing-panel[data-align="right"] h2,
.landing-panel[data-align="right"] .panel-body > p {
  margin-left: auto;
}

.eyebrow,
.section-kicker,
.card-kicker {
  margin: 0 0 14px;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 900;
}

.eyebrow,
.section-kicker {
  color: rgba(255, 255, 255, 0.86);
}

.card-kicker {
  color: var(--primary);
}

h1,
h2 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

p {
  overflow-wrap: break-word;
  word-break: normal;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.1rem, 2.38vw, 2.78rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 2.35vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.webinar-panel h2 {
  color: var(--dark);
  font-size: clamp(1.75rem, 1.9vw, 2.38rem);
}

.contact-panel h2 {
  color: #ffffff;
}

.hero-copy,
.webinar-panel p,
.contact-panel p {
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.18vw, 1.18rem);
  line-height: 1.58;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.88);
}

.webinar-panel p {
  color: #4B5563;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.88);
}

.panel-actions {
  align-self: end;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  gap: 12px;
  margin-top: clamp(18px, 3vh, 28px);
}

.panel-actions .button {
  width: 100%;
}

.panel-action-text {
  margin: 2px 0;
  font-size: clamp(0.98rem, 1.08vw, 1.08rem);
  line-height: 1.48;
  color: inherit;
}

.webinar-panel .panel-action-text {
  color: #4B5563;
}

.contact-panel .panel-action-text,
.hero-panel .panel-action-text {
  color: rgba(255, 255, 255, 0.9);
}

.button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary { color: #ffffff; background: var(--accent); box-shadow: 0 14px 34px rgba(215, 58, 95, 0.24); }
.button-light { color: var(--primary); background: #ffffff; }
.hero-panel .button-primary { color: var(--primary); background: #ffffff; box-shadow: 0 14px 34px rgba(1, 50, 55, 0.22); }

.qr-wrap {
  margin: 16px 0;
  padding: 12px;
  border-radius: var(--radius);
  background: white;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  box-shadow: 0 12px 28px rgba(1, 50, 55, 0.12);
}

.qr-wrap img {
  width: 150px;
  max-width: 100%;
  height: auto;
  display: block;
}

.qr-wrap span {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.86rem;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 10px clamp(16px, 2.5vw, 28px);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #153836;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  box-shadow:
    0 -18px 34px rgba(1, 50, 55, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -28px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    #153836;
  transform: translateX(-50%);
  border: 6px solid rgba(21, 56, 54, 0.98);
  box-shadow:
    0 -10px 24px rgba(1, 50, 55, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.footer p {
  margin: 0;
}

.footer-company {
  min-width: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.72rem, 1.3vw, 0.88rem);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-icon {
  width: 32px;
  height: 32px;
  display: block;
  position: relative;
  z-index: 2;
  padding: 2px;
  transform: translateY(-18px);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 18px);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.footer a {
  color: #ffffff;
  font-weight: 900;
  font-size: clamp(0.72rem, 1.3vw, 0.86rem);
  text-decoration: none;
}

[hidden] { display: none !important; }

@media (min-width: 981px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }
}

@media (max-width: 980px) {
  body {
    background: #153836;
  }

  .page-shell {
    min-height: 100dvh;
    padding: 0 0 62px;
  }

  .landing-frame {
    padding: max(22px, env(safe-area-inset-top)) 12px 0;
  }

  .landing-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .landing-panel {
    min-height: 520px;
  }

  .hero-panel,
  .contact-panel,
  .webinar-panel {
    padding: 28px;
  }

  .panel-body {
    align-self: end;
  }

  .hero-panel .panel-body {
    align-self: end;
  }

  .contact-panel,
  .webinar-panel {
    min-height: 380px;
  }

}

@media (max-width: 640px) {
  .brand {
    gap: 10px;
  }

  .brand-icon-wrap {
    width: 38px;
    height: 38px;
  }

  .brand-mark {
    width: min(250px, calc(100% - 48px));
    height: 30px;
  }

  .landing-panel {
    min-height: 510px;
  }

  .contact-panel,
  .webinar-panel {
    min-height: 340px;
  }

  h1 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  h2 {
    font-size: clamp(2rem, 9.2vw, 2.85rem);
  }

  .webinar-panel h2 {
    font-size: clamp(1.9rem, 8.2vw, 2.55rem);
  }

  .footer {
    min-height: 50px;
    padding: 8px 10px;
    gap: 8px;
  }

  .footer::before {
    top: -24px;
    width: 50px;
    height: 50px;
    border-width: 5px;
  }

  .footer-icon {
    width: 28px;
    height: 28px;
    padding: 2px;
    transform: translateY(-15px);
  }

  .footer-links {
    gap: 9px;
  }
}
