.smt-tool-page,
.smt-tool-guide,
.smt-tools-directory {
  --tool-purple: #7138e8;
  --tool-purple-dark: #5325bc;
  --tool-blue: #1677d2;
  --tool-green: #08785d;
  --tool-green-soft: #eaf9f4;
  --tool-blue-soft: #eef7ff;
  --tool-purple-soft: #f5f0ff;
  --tool-ink: #151523;
  --tool-muted: #62677a;
  --tool-line: #e5def7;
  --tool-surface: #ffffff;
  --tool-danger: #a62b3a;
}

.smt-tool-page button,
.smt-tool-page input,
.smt-tool-page select {
  font: inherit;
}

.smt-tool-hero {
  padding: 138px 0 64px;
}

.smt-tool-hero-grid {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
}

.smt-tool-page h1,
.smt-tools-directory h1 {
  font-size: 60px;
  line-height: 1.02;
}

.smt-tool-hero .smt-hub-actions {
  justify-content: center;
  margin-top: 26px;
}

.smt-tools-directory .smt-tool-hero-grid > div:first-child,
.smt-engagement-page .smt-tool-hero-grid > div:first-child {
  text-align: center;
}

.smt-tools-directory .smt-tool-hero-grid > div:first-child .smt-hub-kicker,
.smt-engagement-page .smt-tool-hero-grid > div:first-child .smt-hub-kicker {
  margin-left: auto;
  margin-right: auto;
}

.smt-tool-hero-note {
  align-items: center;
  color: var(--tool-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
  gap: 10px 18px;
  justify-content: center;
  margin-top: 22px;
}

.smt-tool-hero-note span {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.smt-tool-hero-note span::before {
  background: var(--tool-green);
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

.smt-tool-hero-visual {
  background: var(--tool-surface);
  border: 1px solid var(--tool-line);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(76, 49, 145, 0.13);
  padding: 30px;
}

.smt-tool-hero-visual > span {
  color: var(--tool-purple);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 24px;
  text-align: center;
  text-transform: uppercase;
}

.smt-tool-library-preview h2 {
  font-size: 30px;
  line-height: 1.15;
  margin: 0 auto 12px;
  max-width: 430px;
  text-align: center;
}

.smt-tool-library-preview > .smt-tool-visual-label {
  margin-left: auto;
  margin-right: auto;
  max-width: 450px;
  text-align: center;
}

.smt-tool-preview-benefits {
  display: grid;
  gap: 12px;
}

.smt-tool-preview-benefits > div {
  align-items: center;
  background: var(--tool-purple-soft);
  border: 1px solid #dfd1ff;
  display: grid;
  gap: 5px 16px;
  grid-template-columns: minmax(112px, 0.7fr) minmax(0, 1.3fr);
  padding: 15px 16px;
}

.smt-tool-preview-benefits > div:nth-child(2) {
  background: var(--tool-blue-soft);
  border-color: #cfe4f7;
}

.smt-tool-preview-benefits > div:nth-child(3) {
  background: var(--tool-green-soft);
  border-color: #bfeadb;
}

.smt-tool-preview-benefits strong {
  color: var(--tool-ink);
  font-size: 14px;
}

.smt-tool-preview-benefits span {
  color: var(--tool-muted);
  font-size: 12px;
  line-height: 1.45;
}

.smt-tool-preview-link {
  align-items: center;
  background: var(--tool-ink);
  border-radius: 999px;
  color: #fff !important;
  display: flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  margin: 18px auto 0;
  min-height: 46px;
  padding: 10px 20px;
  text-align: center;
  width: fit-content;
}

.smt-tool-preview-link::after {
  content: " \2192";
  margin-left: 6px;
}

.smt-tool-preview-score {
  background: var(--tool-purple-soft);
  border: 1px solid #dfd1ff;
  padding: 24px;
  text-align: center;
}

.smt-tool-preview-score strong {
  color: var(--tool-purple-dark);
  display: block;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 8px;
}

.smt-tool-preview-score span {
  color: var(--tool-muted);
  font-size: 13px;
  font-weight: 800;
}

.smt-tool-preview-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}

.smt-tool-preview-metrics > div {
  background: #fff;
  border: 1px solid var(--tool-line);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
}

.smt-tool-preview-metrics > div:nth-of-type(1) {
  background: #f3edff;
  border-color: #dcccff;
}

.smt-tool-preview-metrics > div:nth-of-type(2) {
  background: #edf7ff;
  border-color: #cce8fb;
}

.smt-tool-preview-metrics > div:nth-of-type(3) {
  background: #eaf9f4;
  border-color: #c3ebdc;
}

.smt-tool-preview-metrics > div:nth-of-type(4) {
  background: #fff5e6;
  border-color: #f3d7aa;
}

.smt-tool-preview-metrics span,
.smt-tool-preview-metrics strong {
  display: block;
}

.smt-tool-preview-metrics span {
  color: var(--tool-muted);
  font-size: 11px;
  margin-bottom: 4px;
}

.smt-tool-preview-metrics strong {
  color: var(--tool-ink);
  font-size: 17px;
}

.smt-tool-preview-formula {
  background: var(--tool-blue-soft);
  border: 1px solid #cfe4f7;
  color: var(--tool-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  margin: 12px 0 0;
  padding: 12px;
  text-align: center;
}

.smt-tool-visual-number {
  color: var(--tool-ink);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 10px;
}

.smt-tool-visual-label {
  color: var(--tool-muted);
  font-size: 15px;
  margin: 0 0 28px;
}

.smt-tool-visual-bars {
  display: grid;
  gap: 12px;
}

.smt-tool-visual-bar {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 76px 1fr 42px;
}

.smt-tool-visual-bar span,
.smt-tool-visual-bar strong {
  color: var(--tool-muted);
  font-size: 12px;
}

.smt-tool-visual-bar strong {
  color: var(--tool-ink);
  text-align: right;
}

.smt-tool-visual-track {
  background: #edf0f5;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.smt-tool-visual-track i {
  background: var(--tool-purple);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.smt-tool-visual-bar:nth-child(2) .smt-tool-visual-track i {
  background: var(--tool-blue);
}

.smt-tool-visual-bar:nth-child(3) .smt-tool-visual-track i {
  background: var(--tool-green);
}

.smt-tool-band {
  background: #faf9fe;
  border-bottom: 1px solid #eee9f8;
  border-top: 1px solid #eee9f8;
  padding: 76px 0;
}

.smt-tool-app {
  background: var(--tool-surface);
  border: 1px solid var(--tool-line);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(76, 49, 145, 0.12);
  overflow: hidden;
}

.smt-tool-app-header {
  align-items: flex-start;
  border-bottom: 1px solid var(--tool-line);
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding: 30px 34px;
}

.smt-tool-app-header h2 {
  font-size: 30px;
  margin-bottom: 8px;
}

.smt-tool-app-header p {
  font-size: 14px;
  margin: 0;
  max-width: 630px;
}

.smt-tool-private-label {
  align-items: center;
  background: var(--tool-green-soft);
  border: 1px solid #bfeadb;
  border-radius: 999px;
  color: var(--tool-green);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
}

.smt-tool-private-label::before {
  background: var(--tool-green);
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

.smt-tool-settings {
  align-items: start;
  border-bottom: 1px solid var(--tool-line);
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 30px 34px;
}

.smt-tool-settings > .smt-tool-fieldset {
  grid-column: span 3;
}

.smt-tool-field,
.smt-tool-fieldset {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.smt-tool-label,
.smt-tool-fieldset legend {
  color: var(--tool-ink);
  display: block;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 9px;
  text-align: center;
  width: 100%;
}

.smt-tool-fieldset legend {
  float: none;
  padding: 0;
}

.smt-tool-select,
.smt-tool-input {
  background: #fff;
  border: 1px solid #dcd4ef;
  border-radius: 10px;
  color: var(--tool-ink);
  min-height: 48px;
  outline: none;
  padding: 10px 13px;
  width: 100%;
}

.smt-tool-select:focus,
.smt-tool-input:focus {
  border-color: var(--tool-purple);
  box-shadow: 0 0 0 3px rgba(113, 56, 232, 0.13);
}

.smt-tool-help {
  color: var(--tool-muted);
  display: block;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 7px;
}

.smt-tool-basis-options {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.smt-tool-settings > .smt-tool-field > br,
.smt-tool-basis-options > br,
.smt-tool-tabs > br,
.smt-tool-form-grid > br,
.smt-tool-preview-metrics > br {
  display: none !important;
}

.smt-tool-basis-option {
  cursor: pointer;
  display: block;
  min-width: 0;
  position: relative;
}

.smt-tool-basis-option input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.smt-tool-basis-option span {
  align-items: center;
  background: #faf9fe;
  border: 1px solid var(--tool-line);
  border-radius: 10px;
  box-sizing: border-box;
  color: var(--tool-muted);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  height: 48px;
  line-height: 1.2;
  min-height: 48px;
  padding: 8px 10px;
  justify-content: center;
  text-align: center;
}

.smt-tool-basis-option input:checked + span {
  background: var(--tool-purple-soft);
  border-color: var(--tool-purple);
  color: var(--tool-purple-dark);
}

.smt-tool-basis-option input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(113, 56, 232, 0.16);
}

.smt-tool-tabs {
  background: #f5f3fa;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px auto 0;
  padding: 5px;
  width: min(420px, calc(100% - 68px));
}

.smt-tool-tab {
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--tool-muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  min-height: 42px;
  padding: 8px 14px;
}

.smt-tool-tab[aria-selected="true"] {
  background: #fff;
  box-shadow: 0 5px 16px rgba(21, 21, 35, 0.08);
  color: var(--tool-purple-dark);
}

.smt-tool-panel[hidden] {
  display: none !important;
}

.smt-tool-panel {
  padding: 32px 34px 36px;
}

.smt-tool-workspace {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.smt-tool-form-grid {
  border: 1px solid var(--tool-line);
  border-radius: 14px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.smt-tool-form-grid .smt-tool-field {
  background: #fff;
  padding: 18px;
}

.smt-tool-form-grid .smt-tool-field-wide,
.smt-tool-form-grid .smt-tool-field:nth-child(2),
.smt-tool-form-grid .smt-tool-field:nth-child(3) {
  border-bottom: 1px solid var(--tool-line);
}

.smt-tool-form-grid .smt-tool-field:nth-child(2),
.smt-tool-form-grid .smt-tool-field:nth-child(4) {
  border-right: 1px solid var(--tool-line);
}

.smt-tool-field-wide {
  grid-column: 1 / -1;
}

.smt-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.smt-tool-workspace form > .smt-tool-actions {
  justify-content: center;
}

.smt-tool-action {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.smt-tool-action-primary {
  background: var(--tool-ink);
  color: #fff;
}

.smt-tool-action-secondary {
  background: #fff;
  border-color: #dcd4ef;
  color: var(--tool-purple-dark);
}

.smt-tool-action:hover,
.smt-tool-action:focus-visible {
  transform: translateY(-1px);
}

.smt-tool-action:focus-visible {
  outline: 3px solid rgba(113, 56, 232, 0.18);
  outline-offset: 2px;
}

.smt-tool-error {
  color: var(--tool-danger);
  font-size: 13px;
  font-weight: 800;
  margin: 14px 0 0;
}

.smt-tool-result {
  background: var(--tool-blue-soft);
  border-left: 4px solid var(--tool-blue);
  min-height: 100%;
  padding: 28px;
}

.smt-tool-result[data-empty="true"] {
  background: #faf9fc;
  border-left-color: #c8bfdc;
}

.smt-tool-result-kicker {
  color: var(--tool-blue);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.smt-tool-result-number {
  color: var(--tool-ink);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 10px;
}

.smt-tool-result-title {
  color: var(--tool-ink);
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 10px;
}

.smt-tool-result p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 14px;
}

.smt-tool-formula {
  background: #fff;
  border: 1px solid #cfe4f7;
  color: var(--tool-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.55;
  margin: 18px 0;
  overflow-wrap: anywhere;
  padding: 13px;
}

.smt-tool-breakdown {
  border-top: 1px solid #cfe4f7;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  padding-top: 18px;
}

.smt-tool-breakdown div {
  min-width: 0;
}

.smt-tool-breakdown span {
  color: var(--tool-muted);
  display: block;
  font-size: 11px;
  margin-bottom: 3px;
}

.smt-tool-breakdown strong {
  color: var(--tool-ink);
  font-size: 15px;
}

.smt-tool-result-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.smt-tool-result-actions .smt-tool-action {
  margin: 0;
  padding-left: 12px;
  padding-right: 12px;
  width: 100%;
}

.smt-tool-download {
  background: var(--tool-purple);
  color: #fff;
}

.smt-tool-download:hover,
.smt-tool-download:focus-visible {
  background: var(--tool-purple-dark);
  color: #fff;
}

.smt-tool-download[disabled] {
  cursor: wait;
  opacity: 0.68;
}

.smt-tool-table-wrap {
  overflow-x: auto;
}

.smt-tool-post-table {
  border-collapse: collapse;
  min-width: 640px;
  width: 100%;
}

.smt-tool-post-table th,
.smt-tool-post-table td {
  border-bottom: 1px solid var(--tool-line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: middle;
}

.smt-tool-post-table th {
  color: var(--tool-muted);
  font-size: 12px;
  font-weight: 900;
}

.smt-tool-post-table .smt-tool-input {
  min-height: 42px;
}

.smt-tool-row-remove {
  background: #fff;
  border: 1px solid #e0d8ef;
  border-radius: 50%;
  color: var(--tool-danger);
  cursor: pointer;
  font-size: 19px;
  height: 36px;
  line-height: 1;
  width: 36px;
}

.smt-tool-stat-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.smt-tool-stat {
  border-top: 2px solid var(--tool-blue);
  padding-top: 10px;
}

.smt-tool-stat:nth-child(2) {
  border-top-color: var(--tool-purple);
}

.smt-tool-stat:nth-child(3),
.smt-tool-stat:nth-child(4) {
  border-top-color: var(--tool-green);
}

.smt-tool-stat span {
  color: var(--tool-muted);
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
}

.smt-tool-stat strong {
  color: var(--tool-ink);
  font-size: 17px;
}

.smt-tool-step-grid,
.smt-tool-formula-grid,
.smt-tool-guide-grid,
.smt-tool-directory-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.smt-tool-step,
.smt-tool-formula-card,
.smt-tool-guide-card,
.smt-tool-directory-card {
  background: #fff;
  border: 1px solid var(--tool-line);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(76, 49, 145, 0.08);
  min-width: 0;
  padding: 26px;
}

.smt-tool-step-number {
  align-items: center;
  background: var(--tool-purple-soft);
  border: 1px solid #dfd1ff;
  border-radius: 50%;
  color: var(--tool-purple-dark);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  margin-bottom: 18px;
  width: 38px;
}

.smt-tool-step:nth-child(2) .smt-tool-step-number {
  background: var(--tool-blue-soft);
  border-color: #cfe4f7;
  color: var(--tool-blue);
}

.smt-tool-step:nth-child(3) .smt-tool-step-number {
  background: var(--tool-green-soft);
  border-color: #bfeadb;
  color: var(--tool-green);
}

.smt-tool-step h3,
.smt-tool-formula-card h3,
.smt-tool-guide-card h3,
.smt-tool-directory-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.smt-tool-step p,
.smt-tool-formula-card p,
.smt-tool-guide-card p,
.smt-tool-directory-card p {
  font-size: 15px;
  margin-bottom: 0;
}

.smt-tool-formula-card code {
  background: #f7f5fb;
  color: var(--tool-purple-dark);
  display: block;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 18px;
  overflow-wrap: anywhere;
  padding: 13px;
}

.smt-tool-platform-list {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.smt-tool-platform-item {
  border-bottom: 1px solid var(--tool-line);
  padding: 22px 24px;
}

.smt-tool-platform-item:nth-child(odd) {
  border-right: 1px solid var(--tool-line);
}

.smt-tool-platform-item h3 {
  font-size: 18px;
  margin-bottom: 7px;
}

.smt-tool-platform-item p {
  font-size: 14px;
  margin: 0;
}

.smt-tool-guide-card {
  border-top: 4px solid var(--tool-purple);
  display: flex;
  flex-direction: column;
}

.smt-tool-guide-card h3,
.smt-tool-guide-card a {
  align-self: center;
  text-align: center;
}

.smt-tool-guide-card:nth-child(2) {
  border-top-color: var(--tool-blue);
}

.smt-tool-guide-card:nth-child(3) {
  border-top-color: var(--tool-green);
}

.smt-tool-guide-card a,
.smt-tool-directory-card a {
  color: var(--tool-purple-dark);
  display: inline-block;
  font-size: 14px;
  font-weight: 900;
  margin-top: auto;
  padding-top: 18px;
}

.smt-tool-guide-card a::after,
.smt-tool-directory-card a::after {
  content: " \2192";
}

.smt-tool-cta {
  background: var(--tool-purple-soft);
  border: 1px solid #dfd1ff;
  border-radius: 24px;
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  padding: 38px;
  text-align: center;
}

.smt-tool-cta h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

.smt-tool-cta p {
  margin: 0 auto;
  max-width: 720px;
}

.smt-tool-cta .smt-hub-actions {
  align-items: center;
  justify-content: center;
  margin: 4px 0 0;
}

.smt-tool-cta .smt-hub-kicker {
  margin: 0 auto 18px;
}

.smt-tools-private .smt-hub-kicker,
.smt-tool-section-kicker-center .smt-hub-kicker {
  display: table;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.smt-tool-guide .smt-hub-article-hero {
  max-width: 900px;
}

.smt-tool-guide .smt-hub-article-body {
  max-width: 840px;
  margin: 0 auto;
}

.smt-tool-guide-nav {
  background: var(--tool-purple-soft);
  border: 1px solid #dfd1ff;
  margin: 34px 0;
  padding: 22px 24px;
}

.smt-tool-guide-nav strong {
  color: var(--tool-ink);
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}

.smt-tool-guide-nav a {
  color: var(--tool-purple-dark);
  font-weight: 900;
}

.smt-tool-example,
.smt-tool-note {
  border-left: 4px solid var(--tool-blue);
  margin: 28px 0;
  padding: 4px 0 4px 22px;
}

.smt-tool-note {
  border-left-color: var(--tool-green);
}

.smt-tool-example h3,
.smt-tool-note h3 {
  margin-top: 0 !important;
}

.smt-tool-guide-links {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 34px 0;
}

.smt-tool-guide-links a {
  background: #fff;
  border: 1px solid var(--tool-line);
  border-radius: 12px;
  color: var(--tool-purple-dark);
  font-weight: 900;
  padding: 18px;
}

.smt-tool-guide-links a::after {
  content: " \2192";
}

.smt-tools-directory .smt-tool-directory-card {
  display: flex;
  flex-direction: column;
}

.smt-tools-directory .smt-tool-directory-card-live {
  border-top: 4px solid var(--tool-green);
}

.smt-tools-directory .smt-tool-directory-card .smt-tool-private-label {
  align-self: flex-start;
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .smt-tool-page h1,
  .smt-tools-directory h1 {
    font-size: 50px;
  }

  .smt-tool-hero-grid,
  .smt-tool-workspace {
    grid-template-columns: 1fr;
  }

  .smt-tool-hero-grid {
    gap: 34px;
  }

  .smt-tool-settings {
    grid-template-columns: 1fr;
  }

  .smt-tool-settings > .smt-tool-fieldset {
    grid-column: auto;
  }

  .smt-tool-hero-visual {
    max-width: 620px;
  }

  .smt-tool-step-grid,
  .smt-tool-formula-grid,
  .smt-tool-guide-grid,
  .smt-tool-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smt-tool-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .smt-tool-hero {
    padding: 112px 0 48px;
  }

  .smt-tool-page h1,
  .smt-tools-directory h1 {
    font-size: 40px;
  }

  .smt-tool-page h2,
  .smt-tools-directory h2 {
    font-size: 30px;
  }

  .smt-tool-hero-visual,
  .smt-tool-app-header,
  .smt-tool-settings,
  .smt-tool-panel,
  .smt-tool-cta {
    padding: 24px;
  }

  .smt-tool-app-header {
    display: block;
  }

  .smt-tool-private-label {
    margin-top: 16px;
  }

  .smt-tool-basis-options,
  .smt-tool-form-grid,
  .smt-tool-step-grid,
  .smt-tool-formula-grid,
  .smt-tool-guide-grid,
  .smt-tool-directory-grid,
  .smt-tool-platform-list,
  .smt-tool-guide-links {
    grid-template-columns: 1fr;
  }

  .smt-tool-preview-benefits > div {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .smt-tool-preview-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smt-tool-result-actions {
    grid-template-columns: 1fr;
  }

  .smt-tool-form-grid .smt-tool-field,
  .smt-tool-form-grid .smt-tool-field:nth-child(2),
  .smt-tool-form-grid .smt-tool-field:nth-child(3),
  .smt-tool-form-grid .smt-tool-field:nth-child(4) {
    border-bottom: 1px solid var(--tool-line);
    border-right: 0;
  }

  .smt-tool-form-grid .smt-tool-field:last-child {
    border-bottom: 0;
  }

  .smt-tool-platform-item:nth-child(odd) {
    border-right: 0;
  }

  .smt-tool-tabs {
    margin-left: 24px;
    margin-right: 24px;
    width: calc(100% - 48px);
  }

  .smt-tool-result-number {
    font-size: 46px;
  }

  .smt-tool-cta .smt-hub-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .smt-tool-cta .smt-hub-btn {
    width: 100%;
  }
}
