.th-home {
  --th-primary: var(--color-primary, #2563eb);
  --th-primary-700: var(--color-primary-hover, #1d4ed8);
  --th-navy: var(--color-text, #0f172a);
  --th-text: var(--color-text, #0f172a);
  --th-muted: var(--color-muted, #64748b);
  --th-soft: var(--color-bg, #f6f8fc);
  --th-card: var(--color-surface, #ffffff);
  --th-border: var(--color-border, #e5ebf5);
  --th-success: var(--color-success, #16a34a);
  --th-danger: var(--color-danger, #dc2626);
  --th-warning: var(--color-warning, #f59e0b);
  --th-radius: 18px;
  --th-radius-sm: 14px;
  --th-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  --th-shadow-strong: 0 30px 90px rgba(15, 23, 42, .13);
  --th-container: 1480px;
  --th-transition: 180ms ease;
  margin: 0;
  color: var(--th-text);
  background: radial-gradient(circle at 60% 2%, rgba(37, 99, 235, .06), transparent 30%), #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ========================================================================
   TANHOSS Hero VF - sessao Inicio
   Dashboard mock comercial, estatico, sem imagem fixa e sem sidebar interna.
   ======================================================================== */

.th-home .th-hero-vf,
.th-home .th-hero-vf * {
  box-sizing: border-box;
}

.th-home .th-hero-vf {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 68px 0 74px;
  background:
    radial-gradient(circle at 76% 22%, rgba(37, 99, 235, .12), transparent 34%),
    radial-gradient(circle at 10% 62%, rgba(37, 99, 235, .06), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.th-home .th-hero-vf__ambient {
  position: absolute;
  inset: 12% 0 auto auto;
  width: 58%;
  height: 66%;
  z-index: -1;
  opacity: .9;
  background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(15, 23, 42, .04));
  filter: blur(52px);
}

.th-home .th-hero-vf__grid {
  display: grid;
  grid-template-columns: minmax(420px, .88fr) minmax(700px, 1.35fr);
  gap: 58px;
  align-items: center;
}

.th-home .th-badge-vf {
  min-height: 34px;
  padding: 0 17px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--th-primary);
  background: #eff6ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .095em;
  text-transform: uppercase;
  white-space: nowrap;
}

.th-home .th-badge-vf span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--th-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.th-home .th-hero-vf__title {
  max-width: 720px;
  margin: 38px 0 0;
  color: #172033;
  font-size: 78px;
  line-height: .98;
  letter-spacing: 0;
  font-weight: 900;
}

.th-home .th-hero-vf__title strong {
  color: var(--th-primary);
  font-weight: inherit;
}

.th-home .th-hero-vf__lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: #334155;
  font-size: 21px;
  line-height: 1.62;
  font-weight: 500;
}

.th-home .th-hero-vf__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.th-home .th-btn-vf,
.th-home .th-btn-vf:visited {
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.th-home .th-btn-vf--primary,
.th-home .th-btn-vf--primary:visited {
  color: #ffffff !important;
  background: linear-gradient(180deg, #2563eb 0%, #1558f0 100%) !important;
  border-color: rgba(37, 99, 235, .92) !important;
  box-shadow: 0 18px 34px rgba(37, 99, 235, .24);
}

.th-home .ui-btn-primary,
.th-home .ui-btn-primary:visited,
.th-home .th-btn--primary,
.th-home .th-btn--primary:visited,
.th-home .th-header__actions .ui-btn-primary,
.th-home .th-header__actions .th-btn--primary {
  color: #ffffff !important;
  background: linear-gradient(180deg, #2563eb 0%, #1558f0 100%) !important;
  border-color: #1558f0 !important;
}

.th-home .th-btn-vf--outline,
.th-home .th-btn-vf--outline:visited,
.th-home .th-btn-vf--ghost,
.th-home .th-btn-vf--ghost:visited {
  color: var(--th-primary) !important;
  background: #ffffff !important;
  border-color: var(--th-border) !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .04);
}

.th-home .th-btn-vf--ghost,
.th-home .th-btn-vf--ghost:visited {
  color: #475569 !important;
}

.th-home .th-btn-vf:hover {
  transform: translateY(-2px);
}

.th-home .th-hero-vf__trust {
  max-width: 640px;
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.th-home .th-hero-vf__trust article {
  min-width: 0;
}

.th-home .th-hero-vf__trust strong {
  display: block;
  margin-top: 14px;
  color: #172033;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 850;
}

.th-home .th-hero-vf__trust p {
  margin: 8px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.th-home .th-mini-icon,
.th-home .th-kpi-icon,
.th-home .strip-icon,
.th-home .th-div-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
}

.th-home .th-mini-icon {
  width: 54px;
  height: 54px;
  border: 1px solid #dbeafe;
  border-radius: 50%;
  background: linear-gradient(180deg, #eff6ff, #eaf2ff);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .55), 0 14px 28px rgba(37, 99, 235, .08);
}

.th-home .th-mini-icon::before,
.th-home .th-mini-icon::after,
.th-home .th-kpi-icon::before,
.th-home .th-kpi-icon::after,
.th-home .strip-icon::before,
.th-home .strip-icon::after,
.th-home .th-div-icon::before,
.th-home .th-div-icon::after {
  content: "";
  position: absolute;
}

.th-home .th-mini-icon--bars::before {
  width: 4px;
  height: 16px;
  bottom: 15px;
  left: 17px;
  border-radius: 4px;
  background: var(--th-primary);
  box-shadow: 9px -7px 0 var(--th-primary), 18px -15px 0 var(--th-primary);
}

.th-home .th-mini-icon--bars::after {
  width: 30px;
  height: 2px;
  bottom: 13px;
  border-radius: 2px;
  background: rgba(37, 99, 235, .22);
}

.th-home .th-mini-icon--target::before {
  width: 25px;
  height: 25px;
  border: 3px solid var(--th-primary);
  border-radius: 50%;
}

.th-home .th-mini-icon--target::after {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--th-primary);
}

.th-home .th-mini-icon--shield::before {
  width: 24px;
  height: 28px;
  border: 3px solid var(--th-primary);
  border-radius: 12px 12px 16px 16px;
}

.th-home .th-dashboard-shot {
  min-width: 0;
  max-width: 760px;
  justify-self: end;
  padding: 22px;
  border: 1px solid var(--th-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .92)),
    radial-gradient(circle at 30% 0%, rgba(37, 99, 235, .08), transparent 38%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, .1);
}

.th-home .th-dashboard-shot__head {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.th-home .th-dashboard-shot__head span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--th-primary);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.th-home .th-dashboard-shot__head h2 {
  margin: 0;
  color: #172033;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 900;
}

.th-home .th-dashboard-shot__head p {
  margin: 6px 0 0;
  color: #53627a;
  font-size: 13px;
  line-height: 1.45;
}

.th-home .th-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.th-home .th-kpi-card,
.th-home .th-panel,
.th-home .th-dashboard-strip {
  border: 1px solid var(--th-border);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .035);
}

.th-home .th-kpi-card {
  position: relative;
  min-height: 82px;
  padding: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 251, 255, .92)),
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, .08), transparent 42%);
}

.th-home .th-kpi-card small {
  display: block;
  color: #475569;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.th-home .th-kpi-card strong {
  display: block;
  margin-top: 4px;
  color: #172033;
  font-size: 16px;
  line-height: 1.12;
  white-space: nowrap;
}

.th-home .th-kpi-card span,
.th-home .th-kpi-card em {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.25;
  font-style: normal;
}

.th-home .th-kpi-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  background: linear-gradient(180deg, rgba(37, 99, 235, .14), rgba(37, 99, 235, .08));
  color: var(--th-primary);
}

.th-home .th-kpi-icon::before,
.th-home .th-kpi-icon::after {
  display: none;
}

.th-home .th-kpi-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.th-home .th-kpi-icon.is-success {
  background: linear-gradient(180deg, rgba(22, 163, 74, .16), rgba(22, 163, 74, .08));
  color: var(--th-success);
}

.th-home .th-kpi-icon.is-danger {
  background: linear-gradient(180deg, rgba(220, 38, 38, .14), rgba(220, 38, 38, .07));
  color: var(--th-danger);
}

.th-home .th-kpi-icon.is-purple {
  background: linear-gradient(180deg, rgba(124, 58, 237, .16), rgba(124, 58, 237, .08));
  color: #7c3aed;
}

.th-home .th-kpi-body {
  min-width: 0;
  flex: 1 1 auto;
}

.th-home .th-dashboard-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(210px, .64fr);
  gap: 12px;
}

.th-home .th-dashboard-grid--saas {
  grid-template-areas:
    "chart donut"
    "chart ranking";
}

.th-home .th-panel {
  border-radius: 16px;
  padding: 14px;
}

.th-home .th-panel--chart {
  grid-area: chart;
  min-height: 332px;
}

.th-home .th-panel--donut {
  grid-area: donut;
}

.th-home .th-panel--ranking {
  grid-area: ranking;
}

.th-home .th-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.th-home .th-panel h3 {
  margin: 0;
  color: #172033;
  font-size: 14px;
  line-height: 1.2;
}

.th-home .th-period-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: #64748b;
  font-size: 9px;
  font-weight: 850;
}

.th-home .th-period-tabs span {
  padding: 5px 7px;
  border-radius: 999px;
  background: #f8fafc;
}

.th-home .th-period-tabs .is-active {
  color: var(--th-primary);
  background: #eff6ff;
}

.th-home .th-chart-wrap {
  position: relative;
  margin-top: 14px;
  padding-left: 30px;
}

.th-home .th-chart-axis {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 10px;
}

.th-home .th-line-chart-vf {
  width: 100%;
  height: 238px;
  display: block;
}

.th-home .th-line-chart-vf .th-gridline {
  stroke: #e2e8f0;
  stroke-width: 1;
}

.th-home .th-line-chart-vf .th-area {
  fill: url(#thAreaFillVf);
}

.th-home .th-line-chart-vf .th-line {
  fill: none;
  stroke: var(--th-primary);
  stroke-width: 5;
  stroke-linecap: round;
}

.th-home .th-line-chart-vf .th-line--profit {
  stroke: url(#thProfitLineVf);
  stroke-width: 3.5;
  stroke-dasharray: 9 9;
}

.th-home .th-chart-point {
  fill: #ffffff;
  stroke: var(--th-primary);
  stroke-width: 4;
}

.th-home .th-chart-point--profit {
  stroke: var(--th-success);
}

.th-home .th-chart-dates {
  display: flex;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 10px;
}

.th-home .th-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
}

.th-home .th-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.th-home .th-chart-legend i {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--th-primary);
}

.th-home .th-chart-legend i.is-profit {
  background: var(--th-success);
}

.th-home .th-donut-layout {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
}

.th-home .th-donut-vf {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: conic-gradient(#2563eb 0 32%, #16a34a 32% 52%, #f59e0b 52% 71%, #ef4444 71% 84%, #7c3aed 84% 100%);
  position: relative;
}

.th-home .th-donut-vf::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: #ffffff;
}

.th-home .th-donut-legend,
.th-home .th-dividend-list,
.th-home .th-ranking-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.th-home .th-donut-legend li,
.th-home .th-dividend-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 7px;
  align-items: center;
  color: #475569;
  font-size: 11px;
  line-height: 1.45;
}

.th-home .th-donut-legend b,
.th-home .th-ranking-list b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.th-home .th-donut-legend span:not(.dot-blue):not(.dot-green):not(.dot-amber):not(.dot-red):not(.dot-purple),
.th-home .dot-blue,
.th-home .dot-green,
.th-home .dot-amber,
.th-home .dot-red,
.th-home .dot-purple {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.th-home .dot-blue { background: #2563eb; }
.th-home .dot-green { background: #16a34a; }
.th-home .dot-amber { background: #f59e0b; }
.th-home .dot-red { background: #ef4444; }
.th-home .dot-purple { background: #7c3aed; }

.th-home .th-ranking-list {
  margin-top: 12px;
  display: grid;
  gap: 9px;
}

.th-home .th-ranking-list li {
  display: grid;
  grid-template-columns: 18px 54px minmax(38px, 1fr) auto;
  gap: 7px;
  align-items: center;
  color: #475569;
  font-size: 11px;
}

.th-home .th-ranking-list i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.th-home .th-ranking-list em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--th-primary);
}

.th-home .rank-fill--76 { width: 76%; }
.th-home .rank-fill--66 { width: 66%; }
.th-home .rank-fill--58 { width: 58%; }
.th-home .rank-fill--36 { width: 36%; }

.th-home .th-dividend-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.th-home .th-dividend-list li {
  grid-template-columns: auto 1fr auto;
}

.th-home .th-dividend-list em {
  grid-column: 2 / -1;
  color: #64748b;
  font-size: 11px;
  font-style: normal;
}

.th-home .th-div-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: #eff6ff;
}

.th-home .th-div-icon::before {
  width: 10px;
  height: 10px;
  border: 2px solid var(--th-primary);
  border-radius: 3px;
}

.th-home .th-dashboard-strip {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.th-home .th-dashboard-strip article {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.th-home .th-dashboard-strip small {
  color: #64748b;
  font-size: 9px;
  line-height: 1.2;
  text-transform: uppercase;
}

.th-home .th-dashboard-strip strong {
  color: #172033;
  font-size: 13px;
  line-height: 1.15;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .th-home .th-hero-vf__grid {
    grid-template-columns: 1fr;
  }

  .th-home .th-dashboard-shot {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 980px) {
  .th-home .th-kpi-grid,
  .th-home .th-dashboard-grid,
  .th-home .th-dashboard-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .th-home .th-dashboard-grid--saas {
    grid-template-areas:
      "chart chart"
      "donut ranking";
  }

  .th-home .th-panel--chart {
    grid-row: auto;
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .th-home .th-hero-vf {
    padding: 42px 0 54px;
  }

  .th-home .th-hero-vf__title {
    font-size: 44px;
  }

  .th-home .th-badge-vf {
    white-space: normal;
  }

  .th-home .th-hero-vf__trust,
  .th-home .th-kpi-grid,
  .th-home .th-dashboard-grid,
  .th-home .th-dashboard-strip {
    grid-template-columns: 1fr;
  }

  .th-home .th-dashboard-grid--saas {
    grid-template-areas:
      "chart"
      "donut"
      "ranking";
  }

  .th-home .th-dashboard-shot {
    padding: 18px;
    border-radius: 18px;
  }

  .th-home .th-panel--chart {
    min-height: 0;
  }

  .th-home .th-chart-wrap {
    padding-left: 0;
  }

  .th-home .th-chart-axis {
    display: none;
  }
}

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

.th-home html {
  scroll-behavior: smooth;
}

.th-home a {
  color: inherit;
  text-decoration: none;
}

.th-home img,
.th-home svg {
  display: block;
  max-width: 100%;
}

.th-home button,
.th-home input,
.th-home select {
  font: inherit;
}

.th-home .ui-btn {
  text-decoration: none;
}

.th-container {
  width: min(1420px, calc(100% - 48px));
  margin-inline: auto;
}

.th-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(229, 235, 245, .9);
  backdrop-filter: blur(18px);
}

.th-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.th-header__inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 270px 1fr 320px;
  gap: 24px;
  align-items: center;
}

.th-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.th-logo__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 25px;
  font-weight: 900;
  background: linear-gradient(180deg, #f59e0b, #f97316);
}

.th-logo__copy {
  display: grid;
  line-height: 1.1;
}

.th-logo__copy strong {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .22em;
}

.th-logo__copy small {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .36em;
  color: #34405a;
}

.th-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-weight: 850;
}

.th-nav a {
  position: relative;
  padding: 30px 0 26px;
  color: #1e293b;
  font-size: 14px;
  font-weight: 800;
}

.th-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  height: 3px;
  border-radius: 99px;
  background: var(--th-primary);
  opacity: 0;
  transform: scaleX(.4);
  transition: var(--th-transition);
}

.th-nav a:hover::after,
.th-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.th-nav a.is-active {
  color: var(--th-primary);
}

.th-header__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.th-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--th-border);
  border-radius: 12px;
  background: #ffffff;
  place-items: center;
  gap: 4px;
  cursor: pointer;
}

.th-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--th-text);
}

.th-btn {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--th-text);
  background: #ffffff;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--th-transition), box-shadow var(--th-transition), background var(--th-transition), border-color var(--th-transition);
}

.th-btn:hover {
  transform: translateY(-2px);
}

.th-btn:focus-visible,
.th-home input:focus-visible,
.th-home select:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .22);
  outline-offset: 2px;
}

.th-btn--primary {
  color: #ffffff;
  background: linear-gradient(180deg, #2f6df3, var(--th-primary));
  border-color: var(--th-primary);
  box-shadow: 0 18px 42px rgba(37, 99, 235, .24);
}

.th-btn--primary:hover {
  background: var(--th-primary-700);
  color: #ffffff;
}

.th-btn--ghost,
.th-btn--outline {
  border-color: var(--th-border);
  background: #ffffff;
}

.th-btn--outline:hover,
.th-btn--ghost:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.th-btn--lg {
  min-height: 58px;
  padding-inline: 32px;
  border-radius: 14px;
}

.th-btn--compare {
  color: #475569 !important;
  background: rgba(255, 255, 255, .72) !important;
}

.th-btn--block {
  width: 100%;
}

.th-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 68px;
  background: transparent;
}

.th-hero::before {
  content: "";
  position: absolute;
  inset: 90px auto auto 48%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .075), transparent 68%);
}

.th-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, .9fr) minmax(640px, 1.1fr);
  gap: 58px;
  align-items: center;
}

.th-badge,
.th-kicker {
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--th-primary);
  background: #eff6ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.th-badge span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--th-primary);
}

.th-hero h1,
.th-hero__title {
  margin: 34px 0 20px;
  max-width: 720px;
  font-size: 78px;
  line-height: .93;
  font-weight: 950;
  letter-spacing: 0;
  color: #172033;
}

.th-hero h1 strong {
  color: var(--th-primary);
  font-weight: inherit;
}

.th-hero__title strong {
  color: var(--th-primary);
  text-shadow: 0 10px 26px rgba(37, 99, 235, .08);
}

.th-hero__text {
  max-width: 610px;
  margin: 0;
  color: #41516b;
  font-size: 20px;
  line-height: 1.65;
  font-weight: 500;
}

.th-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.th-hero__trust {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 670px;
}

.th-hero__trust article,
.th-hero__trust div {
  display: grid;
  gap: 9px;
  color: #475569;
  font-size: 13px;
  line-height: 1.4;
}

.th-hero__trust strong {
  color: var(--th-text);
  font-size: 14px;
}

.th-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--th-primary);
  background: #eff6ff;
  flex: 0 0 auto;
}

.th-icon::before,
.th-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.th-icon--chart::before,
.th-icon--bar::before {
  width: 20px;
  height: 20px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  border-radius: 2px;
}

.th-icon--target::before {
  width: 20px;
  height: 20px;
  border: 3px solid currentColor;
}

.th-icon--target::after {
  width: 6px;
  height: 6px;
  background: currentColor;
}

.th-icon--calendar::before {
  width: 22px;
  height: 20px;
  border: 3px solid currentColor;
  border-radius: 5px;
}

.th-icon--shield::before {
  width: 18px;
  height: 22px;
  border: 3px solid currentColor;
  border-radius: 9px 9px 12px 12px;
}

.th-icon--lock::before {
  width: 20px;
  height: 16px;
  border: 3px solid currentColor;
  border-radius: 4px;
  bottom: 11px;
}

.th-icon--server::before {
  width: 22px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.th-icon--doc::before {
  width: 18px;
  height: 24px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.th-icon--grid::before {
  width: 22px;
  height: 22px;
  border: 3px solid currentColor;
}

.th-icon--wallet::before {
  width: 23px;
  height: 16px;
  border: 3px solid currentColor;
  border-radius: 5px;
}

.th-icon--user::before {
  width: 10px;
  height: 10px;
  border: 3px solid currentColor;
  top: 10px;
}

.th-icon--user::after {
  width: 22px;
  height: 12px;
  border: 3px solid currentColor;
  bottom: 8px;
}

.th-icon--settings::before {
  width: 20px;
  height: 20px;
  border: 3px dashed currentColor;
}

.th-icon--support::before {
  width: 22px;
  height: 22px;
  border: 3px solid currentColor;
}

.th-icon--sync::before {
  width: 20px;
  height: 20px;
  border: 3px solid currentColor;
  border-left-color: transparent;
}

.th-product-preview {
  perspective: 1600px;
  position: relative;
}

.th-product-preview::before {
  content: "";
  position: absolute;
  inset: 52px -20px auto auto;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .08);
  filter: blur(12px);
}

.th-preview-caption {
  position: absolute;
  z-index: 3;
  right: 34px;
  top: -22px;
  min-width: 250px;
  padding: 14px 16px;
  border: 1px solid rgba(191, 219, 254, .9);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .1);
  backdrop-filter: blur(14px);
}

.th-preview-caption span,
.th-app-kicker {
  display: block;
  color: var(--th-primary);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.th-preview-caption strong {
  display: block;
  margin-top: 5px;
  color: #172033;
  font-size: 13px;
}

.th-app-frame {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--th-border);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 35px 120px rgba(15, 23, 42, .16);
  transform: none;
}

.th-app-sidebar {
  padding: 26px 18px;
  border-right: 1px solid var(--th-border);
  background: #fbfdff;
}

.th-app-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
}

.th-app-logo span {
  width: 20px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(180deg, #f59e0b, #2563eb);
  font-weight: 900;
}

.th-app-user {
  margin-bottom: 24px;
  padding: 12px;
  border: 1px solid var(--th-border);
  border-radius: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: #ffffff;
}

.th-app-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #0f172a;
  font-size: 12px;
  font-weight: 900;
}

.th-app-user small,
.th-app-top span,
.th-mini-kpis small {
  display: block;
  color: var(--th-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.th-app-user strong {
  font-size: 11px;
  white-space: nowrap;
}

.th-app-sidebar nav {
  display: grid;
  gap: 10px;
}

.th-app-sidebar nav a {
  height: 34px;
  border-radius: 8px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.th-app-sidebar nav a.is-active {
  color: var(--th-primary);
  background: #eaf1ff;
}

.th-app-dashboard {
  padding: 30px 32px 28px;
}

.th-app-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.th-app-top h2 {
  margin: 5px 0 0;
  font-size: 30px;
  letter-spacing: 0;
}

.th-app-top p {
  margin: 8px 0 0;
  color: var(--th-muted);
  font-size: 13px;
}

.th-app-icons {
  display: flex;
  gap: 12px;
}

.th-app-icons span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #cbd5e1;
}

.th-mini-kpis {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.th-mini-kpis article,
.th-app-grid article {
  border: 1px solid var(--th-border);
  border-radius: 16px;
  background: #ffffff;
}

.th-mini-kpis article {
  padding: 15px 14px;
}

.th-mini-kpis strong {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  letter-spacing: 0;
}

.th-mini-kpis em {
  display: block;
  margin-top: 6px;
  color: var(--th-muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.is-positive {
  color: var(--th-success) !important;
}

.is-negative {
  color: var(--th-danger) !important;
}

.th-app-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
}

.th-app-grid article {
  padding: 18px;
}

.th-chart-card {
  grid-row: span 2;
}

.th-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.th-card-head h3,
.th-app-grid h3 {
  margin: 0;
  font-size: 14px;
}

.th-periods {
  display: flex;
  gap: 7px;
  color: var(--th-muted);
  font-size: 10px;
  font-weight: 800;
}

.th-line-chart {
  width: 100%;
  height: 186px;
  margin-top: 22px;
}

.th-app-order-strip {
  margin-top: 14px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--th-border);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr repeat(3, auto);
  gap: 10px;
  align-items: center;
  background: #f8fbff;
}

.th-app-order-strip span {
  color: var(--th-muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.th-app-order-strip strong {
  padding: 7px 9px;
  border-radius: 999px;
  color: #1e3a8a;
  background: #eff6ff;
  font-size: 11px;
}

.th-donut-wrap {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  align-items: center;
}

.th-donut {
  width: 104px;
  height: 104px;
  border-radius: 999px;
  background: conic-gradient(#2563eb 0 32%, #16a34a 32% 52%, #f59e0b 52% 71%, #ef4444 71% 84%, #e2e8f0 84% 100%);
  position: relative;
}

.th-donut::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: inherit;
  background: #ffffff;
}

.th-donut-wrap ul,
.th-ranking-card ol,
.th-dividends-card ul,
.th-showcase__cards ul,
.th-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.th-donut-wrap li,
.th-ranking-card li,
.th-dividends-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #475569;
  font-size: 12px;
  line-height: 1.9;
}

.th-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.th-dot--blue { background: #2563eb; }
.th-dot--green { background: #16a34a; }
.th-dot--amber { background: #f59e0b; }
.th-dot--red { background: #ef4444; }
.th-dot--purple { background: #7c3aed; }

.th-ranking-card ol {
  margin-top: 15px;
}

.th-dividends-card ul {
  margin-top: 15px;
}

.th-dividends-card small {
  color: var(--th-muted);
  font-size: 10px;
}

.th-proof-bar {
  margin-top: 44px;
  padding: 18px 22px;
  border: 1px solid var(--th-border);
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 14px 36px rgba(15, 23, 42, .055);
}

.th-proof-bar article,
.th-proof-bar div {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 0 20px;
  border-right: 1px solid #edf2f7;
}

.th-proof-bar article:last-child,
.th-proof-bar div:last-child {
  border-right: 0;
}

.th-proof-bar .th-icon {
  grid-row: span 2;
}

.th-proof-bar strong {
  font-size: 14px;
}

.th-proof-bar span:not(.th-icon) {
  color: var(--th-muted);
  font-size: 12px;
  line-height: 1.4;
}

.th-section {
  padding: 86px 0;
}

.th-section--soft {
  background: var(--th-soft);
}

.th-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.th-section-head h2,
.th-showcase__text h2,
.th-price-card h2,
.th-partner-card h2,
.th-access-grid h2 {
  margin: 18px 0 12px;
  color: var(--th-text);
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
}

.th-section-head p,
.th-showcase__text p,
.th-price-card p,
.th-partner-card p,
.th-access-grid p {
  margin: 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.6;
}

.th-feature-grid,
.th-feature-icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.th-feature-grid article,
.th-feature-icons article,
.th-security-grid article,
.th-partner-steps article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--th-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .04);
}

.th-feature-grid h3,
.th-feature-icons h3,
.th-security-grid h3,
.th-partner-steps h3,
.th-showcase__cards h3,
.th-showcase__cards h4,
.th-included-card h3 {
  margin: 16px 0 8px;
  font-size: 18px;
}

.th-feature-grid p,
.th-feature-icons p,
.th-security-grid p,
.th-partner-steps p {
  margin: 0;
  color: var(--th-muted);
  font-size: 14px;
  line-height: 1.55;
}

.th-showcase {
  margin-top: 54px;
  padding: 44px 38px 38px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--th-border);
  border-radius: 26px;
  background: radial-gradient(circle at 76% 12%, rgba(37, 99, 235, .07), transparent 30%), #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .055);
}

.th-showcase__text .th-btn {
  margin-top: 26px;
}

.th-product-composition {
  position: relative;
  min-height: 520px;
}

.th-system-card {
  position: absolute;
  border-color: rgba(203, 213, 225, .8);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-radius: 18px;
  box-shadow: 0 22px 65px rgba(15, 23, 42, .1);
}

.th-system-card--portfolio {
  left: 4%;
  top: 20px;
  width: 58%;
  min-height: 310px;
  padding: 18px;
  z-index: 3;
}

.th-system-card--dividends {
  right: 2%;
  top: 0;
  width: 34%;
  padding: 18px;
  z-index: 2;
}

.th-system-card--cash {
  right: 10%;
  top: 190px;
  width: 34%;
  padding: 18px;
  z-index: 5;
}

.th-system-card--orders {
  left: 14%;
  bottom: 6px;
  width: 42%;
  padding: 18px;
  z-index: 4;
}

.th-system-card--report {
  right: 0;
  bottom: 22px;
  width: 38%;
  padding: 18px;
  z-index: 3;
}

.th-system-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.th-system-head strong {
  color: var(--th-text);
  font-size: 14px;
}

.th-portfolio-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr .6fr .8fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--th-border);
  color: #475569;
  font-size: 13px;
}

.th-portfolio-row--head {
  color: var(--th-muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.th-portfolio-row strong {
  color: var(--th-primary);
}

.th-system-chart {
  width: 100%;
  height: 118px;
  margin-top: 18px;
}

.th-system-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.th-system-card--dividends li,
.th-order-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--th-border);
  color: #475569;
  font-size: 13px;
}

.th-system-card--dividends small,
.th-order-line em {
  color: var(--th-muted);
  font-size: 11px;
  font-style: normal;
}

.th-system-card--dividends b {
  color: var(--th-success);
}

.th-system-card--cash p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 0;
  color: #475569;
  font-size: 13px;
}

.th-cash-bars {
  height: 78px;
  display: flex;
  align-items: end;
  gap: 12px;
}

.th-cash-bars span {
  flex: 1;
  border-radius: 8px 8px 0 0;
}

.th-cash-bars .is-entry { height: 70%; background: #bbf7d0; }
.th-cash-bars .is-exit { height: 92%; background: #fecaca; }
.th-cash-bars .is-balance { height: 44%; background: #bfdbfe; }

.th-order-line span {
  color: var(--th-muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.th-order-line b {
  color: var(--th-text);
}

.th-report-meter {
  height: 10px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.th-report-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--th-primary);
}

.th-report-meter .is-72 { width: 72%; }
.th-report-meter .is-54 { width: 54%; background: var(--th-success); }
.th-report-meter .is-38 { width: 38%; background: var(--th-warning); }

.th-system-card--report small {
  display: block;
  margin-top: 14px;
  color: var(--th-muted);
  line-height: 1.4;
}

.th-small-chart {
  width: 100%;
  height: 90px;
}

.th-pricing-grid,
.th-partner-card,
.th-access-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 26px;
  align-items: stretch;
}

.th-price-card,
.th-included-card {
  padding: 30px;
  border: 1px solid var(--th-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--th-shadow);
}

.th-price-note {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  color: var(--th-primary);
  background: #eff6ff;
  font-size: 18px;
  font-weight: 900;
}

.th-check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.th-check-list li {
  position: relative;
  padding-left: 26px;
  color: #334155;
  font-size: 15px;
  line-height: 1.45;
}

.th-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #dcfce7;
}

.th-check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 6px;
  height: 4px;
  border-left: 2px solid #16a34a;
  border-bottom: 2px solid #16a34a;
  transform: rotate(-45deg);
}

.th-note {
  margin: 24px 0 0;
  padding: 16px;
  border-radius: 8px;
  color: #475569;
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.5;
}

.th-partner-card {
  padding: 30px;
  border: 1px solid var(--th-border);
  border-radius: 8px;
  background: #ffffff;
}

.th-partner-steps,
.th-security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.th-partner-steps {
  grid-template-columns: repeat(3, 1fr);
}

.th-access-grid {
  align-items: start;
}

.th-lead-form {
  padding: 28px;
  border: 1px solid var(--th-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--th-shadow);
}

.th-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.th-lead-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #334155;
  font-size: 13px;
  font-weight: 850;
}

.th-lead-form input,
.th-lead-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--th-text);
  background: #ffffff;
}

.th-form-state {
  margin: 8px 0 16px;
  padding: 13px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}

.th-form-state--success {
  color: #166534;
  background: #dcfce7;
}

.th-form-state--error {
  color: #991b1b;
  background: #fee2e2;
}

.th-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.th-form-note {
  margin: 16px 0 0;
  color: var(--th-muted);
  font-size: 12px;
  line-height: 1.45;
}

.th-footer {
  padding: 46px 0;
  color: #dbeafe;
  background: #0f172a;
}

.th-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, .7fr) .9fr;
  gap: 28px;
}

.th-footer .th-logo__copy strong,
.th-footer .th-logo__copy small {
  color: #ffffff;
}

.th-footer p {
  max-width: 380px;
  color: #cbd5e1;
  line-height: 1.6;
}

.th-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 14px;
}

.th-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.th-footer a {
  color: #cbd5e1;
  font-size: 14px;
}

.th-footer__copy {
  display: grid;
  align-content: start;
  gap: 8px;
  color: #cbd5e1;
  font-size: 14px;
}

.th-footer__copy strong {
  color: #ffffff;
}

.th-footer__copy em {
  font-style: normal;
  color: #93c5fd;
}

@media (max-width: 1180px) {
  .th-hero__grid,
  .th-showcase,
  .th-pricing-grid,
  .th-partner-card,
  .th-access-grid {
    grid-template-columns: 1fr;
  }

  .th-product-preview {
    max-width: 820px;
  }

  .th-feature-grid,
  .th-feature-icons,
  .th-security-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .th-product-composition {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .th-system-card,
  .th-system-card--portfolio,
  .th-system-card--dividends,
  .th-system-card--cash,
  .th-system-card--orders,
  .th-system-card--report {
    position: static;
    width: auto;
    min-height: auto;
  }

  .th-system-card--portfolio {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .th-container {
    width: min(100% - 32px, var(--th-container));
  }

  .th-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .th-menu-toggle {
    display: grid;
  }

  .th-nav,
  .th-header__actions {
    grid-column: 1 / -1;
    display: none;
  }

  .th-nav.is-open,
  .th-header__actions.is-open {
    display: flex;
  }

  .th-nav {
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
  }

  .th-header__actions {
    justify-content: stretch;
    padding-bottom: 16px;
  }

  .th-header__actions .th-btn {
    flex: 1;
  }

  .th-hero {
    padding-top: 42px;
  }

  .th-hero__trust,
  .th-proof-bar,
  .th-mini-kpis,
  .th-feature-grid,
  .th-feature-icons,
  .th-partner-steps,
  .th-security-grid,
  .th-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .th-app-frame {
    grid-template-columns: 1fr;
    min-height: 0;
    transform: none;
  }

  .th-app-sidebar {
    display: none;
  }

  .th-app-grid,
  .th-showcase__cards,
  .th-product-composition,
  .th-check-list,
  .th-form-row {
    grid-template-columns: 1fr;
  }

  .th-showcase__cards article:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }

  .th-chart-card {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .th-logo {
    min-width: 0;
  }

  .th-logo__copy strong {
    font-size: 18px;
  }

  .th-hero h1 {
    font-size: 38px;
  }

  .th-hero__text,
  .th-section-head p,
  .th-showcase__text p,
  .th-price-card p,
  .th-partner-card p,
  .th-access-grid p {
    font-size: 16px;
  }

  .th-hero__actions,
  .th-form-actions,
  .th-header__actions.is-open {
    flex-direction: column;
  }

  .th-btn {
    width: 100%;
  }

  .th-hero__trust,
  .th-proof-bar,
  .th-mini-kpis,
  .th-feature-grid,
  .th-feature-icons,
  .th-partner-steps,
  .th-security-grid,
  .th-footer__grid {
    grid-template-columns: 1fr;
  }

  .th-app-dashboard,
  .th-lead-form,
  .th-price-card,
  .th-included-card,
  .th-partner-card {
    padding: 20px;
  }

  .th-card-head,
  .th-app-top {
    flex-direction: column;
  }

  .th-periods {
    flex-wrap: wrap;
  }

  .th-portfolio-row {
    grid-template-columns: 1fr 1fr;
  }
}
