.topbar,
.footer,
.app-shell-splitter,
.app-shell-hsplitter {
  display: none !important;
}

.app-public .app-shell {
  display: block;
  min-height: 100vh;
}

.app-public .workspace {
  min-height: 100vh;
  padding: 0 !important;
  overflow: visible;
}

.terms-eftx-screen {
  min-height: 100vh;
  color: #0f172a;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 32%),
    linear-gradient(180deg, #eef6ff 0%, #f8fbff 38%, #eef4fb 100%);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

.terms-eftx-topline {
  padding: 10px 20px;
  color: #fff;
  background: linear-gradient(90deg, #1a2ec6 0%, #0f5ad6 46%, #06a3ef 100%);
}

.terms-eftx-topline__inner,
.terms-eftx-header__inner,
.terms-hero__inner,
.terms-layout {
  width: min(1360px, 100%);
  margin: 0 auto;
}

.terms-eftx-topline__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.terms-eftx-topline__contacts,
.terms-eftx-topline__actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.terms-eftx-topline a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.terms-eftx-topline .chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.58);
}

.terms-eftx-topline .social {
  display: inline-flex;
  gap: 8px;
}

.terms-eftx-topline .social a {
  width: 29px;
  height: 29px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.terms-eftx-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #dbe5f1;
  backdrop-filter: blur(10px);
}

.terms-eftx-header__inner {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.terms-eftx-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}

.terms-eftx-brand img {
  width: clamp(210px, 22vw, 280px);
  height: auto;
}

.terms-eftx-brand span {
  color: #1e3a8a;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 700;
}

.terms-eftx-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.6vw, 22px);
  flex-wrap: wrap;
}

.terms-eftx-menu a {
  color: #0f172a;
  text-decoration: none;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.terms-eftx-menu a:hover {
  color: #0d66d7;
}

.terms-hero {
  padding: clamp(34px, 6vw, 60px) 20px 26px;
}

.terms-hero__inner {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(240px, 0.55fr);
  gap: 24px;
  align-items: end;
}

.terms-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.terms-hero__copy h1 {
  margin: 14px 0 0;
  color: #0f172a;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: clamp(32px, 4.8vw, 54px);
  line-height: 1.08;
}

.terms-hero__copy p {
  margin: 14px 0 0;
  max-width: 780px;
  color: #334155;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.terms-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, #0ea5e9, #2563eb);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  color: #1d4ed8;
  background: #fff;
  border: 1px solid #cbd8ea;
}

.terms-layout {
  padding: 0 20px 48px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.terms-nav {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #dbe6f4;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.terms-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #1e293b;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.terms-nav a:hover {
  color: #1d4ed8;
  background: #eef5ff;
}

.terms-content {
  display: grid;
  gap: 18px;
}

.terms-card {
  padding: 24px;
  border: 1px solid #dbe6f4;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.08);
}

.terms-card h2 {
  margin: 0 0 14px;
  color: #0f172a;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: clamp(22px, 2vw, 28px);
}

.terms-card p,
.terms-card li {
  margin: 0 0 12px;
  color: #334155;
  font-size: 17px;
  line-height: 1.65;
}

.terms-contact-list {
  margin: 0;
  padding-left: 20px;
}

.terms-contact-list a {
  color: #1d4ed8;
}

.terms-updated {
  margin-top: 8px;
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 1120px) {
  .terms-eftx-header__inner,
  .terms-hero__inner,
  .terms-layout {
    grid-template-columns: 1fr;
  }

  .terms-eftx-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .terms-eftx-menu,
  .terms-hero__actions {
    justify-content: flex-start;
  }

  .terms-nav {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 860px) {
  .terms-eftx-topline {
    padding: 8px 14px;
  }

  .terms-eftx-topline__inner {
    gap: 10px;
  }

  .terms-eftx-topline__contacts,
  .terms-eftx-topline__actions {
    gap: 9px;
    font-size: 13px;
  }

  .terms-eftx-header__inner,
  .terms-hero,
  .terms-layout {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 640px) {
  .terms-eftx-topline .social {
    display: none;
  }

  .terms-card {
    padding: 18px;
    border-radius: 16px;
  }
}
