:root {
  --sp-ink: #071922;
  --sp-navy: #062b3a;
  --sp-deep: #04151d;
  --sp-teal: #0e8692;
  --sp-cyan: #55d7dc;
  --sp-amber: #f1b96c;
  --sp-mist: #e9f4f4;
  --sp-paper: #f7fbfb;
  --sp-muted: #5d7078;
}

html { scroll-behavior: smooth; }
body {
  color: var(--sp-ink);
  background: var(--sp-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.uk-container { max-width: 1180px; }
.tm-toolbar { display: none !important; }

.tm-header,
.tm-header-mobile {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.tm-header .uk-navbar-container,
.tm-header-mobile .uk-navbar-container {
  background: rgba(4, 21, 29, .94) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.tm-header .uk-navbar,
.tm-header-mobile .uk-navbar {
  min-height: 76px;
}

.tm-header .uk-navbar-nav > li > a,
.tm-header-mobile .uk-navbar-nav > li > a {
  min-height: 76px;
  color: #c9dde0;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .05em;
}

.tm-header .uk-navbar-nav > li > a:hover,
.tm-header .uk-navbar-nav > li.uk-active > a,
.tm-header-mobile .uk-navbar-nav > li > a:hover,
.tm-header-mobile .uk-navbar-nav > li.uk-active > a {
  color: #fff;
}

.sp-brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: #fff !important;
  text-decoration: none !important;
}

.sp-brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 50%;
  color: var(--sp-deep);
  background: radial-gradient(circle at 35% 35%, #fff 0 8%, var(--sp-cyan) 9% 38%, var(--sp-teal) 68%, #075663 100%);
  box-shadow: 0 0 24px rgba(85, 215, 220, .28);
  font-size: .68rem;
  font-weight: 950;
}

.sp-brand-copy { display: grid; line-height: 1.05; }
.sp-brand-copy strong { font-size: 1.08rem; letter-spacing: -.02em; }
.sp-brand-copy strong span { color: var(--sp-cyan); }
.sp-brand-copy small {
  color: #9fc1c6;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

body.home #tm-main > .uk-section-primary:first-child > .uk-background-cover {
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

body.home #tm-main > .uk-section-primary:first-child > .uk-background-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(3,19,28,.97) 0%, rgba(3,19,28,.84) 35%, rgba(3,19,28,.25) 70%, rgba(3,19,28,.06) 100%), linear-gradient(0deg, rgba(3,19,28,.78), transparent 55%);
}

body.home #tm-main > .uk-section-primary:first-child > .uk-background-cover > .uk-container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 1.5rem;
}

body.home #tm-main > .uk-section-primary:first-child h1 { max-width: 950px; color: #fff; }
body.home #tm-main > .uk-section-primary:first-child .uk-text-lead { max-width: 760px; color: #d7e6e8; }

body:not(.home) #tm-main > .uk-section-primary:first-child .uk-section-xlarge {
  padding-top: 8rem;
  padding-bottom: 5.5rem;
}

.uk-text-meta {
  color: var(--sp-teal) !important;
  font-family: inherit;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.uk-light .uk-text-meta,
.uk-section-primary .uk-text-meta,
.uk-section-secondary .uk-text-meta { color: var(--sp-cyan) !important; }

body .uk-text-lead {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 400;
  line-height: 1.55;
}

body .uk-section-primary { background-color: var(--sp-deep); }
body .uk-section-secondary { background-color: var(--sp-navy); }
body .uk-section-muted { background-color: var(--sp-mist); }
body .uk-section-default { background-color: var(--sp-paper); }

body .uk-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-family: inherit !important;
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.15 !important;
  letter-spacing: .07em;
  text-align: center;
  vertical-align: middle;
}

body .uk-button-primary {
  color: var(--sp-deep) !important;
  background: var(--sp-cyan) !important;
  border-color: var(--sp-cyan) !important;
}
body .uk-button-primary:hover { color: var(--sp-deep) !important; background: #7be4e8 !important; }
body .uk-button-secondary { color: #fff !important; background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.35) !important; }

.uk-card,
.uk-card-default,
.uk-card-secondary {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 15px 45px rgba(7,25,34,.08);
}

.uk-card-default { background: rgba(255,255,255,.9); }
.uk-card-secondary { background: rgba(255,255,255,.06); box-shadow: none; }
.uk-section-primary .uk-card-secondary { border: 1px solid rgba(255,255,255,.11); }

.uk-section-muted .uk-card-title,
.uk-section-default .uk-card-title,
.uk-section-muted h3,
.uk-section-default h3 { color: var(--sp-ink); }

.uk-section-muted .uk-card-title,
.uk-section-muted .el-title,
.uk-section-default .uk-card-title,
.uk-section-default .el-title { color: var(--sp-teal); }

.uk-grid > .el-item > .uk-card,
.uk-grid > .el-item > .uk-panel { transition: transform .2s ease, box-shadow .2s ease; }
.uk-grid > .el-item > .uk-card:hover { transform: translateY(-3px); box-shadow: 0 20px 55px rgba(7,25,34,.12); }

body .tm-bottom.uk-section-default {
  color: #9bb7bb !important;
  background: #021017 !important;
}

.sp-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  font-size: .88rem;
}
.sp-footer-inner p { max-width: 760px; margin: 0; }
.sp-footer-inner p { color: #9bb7bb !important; }
.sp-footer-inner strong { color: #fff !important; }
.sp-footer-links { display: flex; gap: 1rem; }
.sp-footer-links a { color: #c4d8db; text-decoration: none; }
.sp-footer-links a:hover { color: var(--sp-cyan); }

@media (min-width: 960px) {
  #tm-main > .uk-section-secondary:nth-child(2) .uk-grid > * {
    width: 20% !important;
  }
}

@media (max-width: 959px) {
  .sp-brand-copy small { display: none; }
  body.home #tm-main > .uk-section-primary:first-child > .uk-background-cover { min-height: 660px; background-position: 62% center; }
  body.home #tm-main > .uk-section-primary:first-child > .uk-background-cover::before { background: linear-gradient(90deg, rgba(3,19,28,.98), rgba(3,19,28,.62)); }
}

@media (max-width: 640px) {
  .sp-footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
