/* TrueMark Email Trust Check — overrides on Sasly AI theme */

html {
  font-size: 17px;
}

/* Logo wordmark (HTML — avoids SVG font issues in img tags) */
.header-navigation .site-branding {
  max-width: none;
  flex-shrink: 0;
  min-width: 0;
}

.header-three .header-navigation .main-menu ul > li.is-active > a {
  color: #fe7587;
}

.header-three .header-navigation .main-menu ul > li.is-active > a::after {
  width: 100%;
  background-color: #fe7587;
}

.header-three .header-navigation .sasly-nav-menu .main-menu ul > li.is-active > a {
  color: #fe7587;
}

.header-three .header-navigation .sasly-nav-menu .main-menu ul > li.is-active > a::after {
  width: 100%;
  background-color: #fe7587;
}

.tm-brand {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  line-height: 1.15;
}

.header-navigation a.tm-brand,
.header-navigation a.tm-brand:hover,
.header-navigation a.tm-brand:focus {
  color: #fff;
  text-decoration: none;
}

.tm-brand__mark {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  flex-shrink: 0;
  object-fit: contain;
}

.tm-brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.tm-brand__name {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.tm-brand__product {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffc4d0 !important;
  line-height: 1.2;
}

.footer-logo .tm-brand__name {
  font-size: 1.2rem;
}

.footer-logo .tm-brand__product {
  color: #fe7587 !important;
}

@media (max-width: 991px) {
  .tm-brand__mark {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
  }

  .tm-brand__name {
    font-size: 1.25rem;
  }
}

/* Preloader — dark, always dismisses */
.preloader {
  background-color: #0a0118 !important;
}

/* Hero/check tool always visible (no AOS/GSAP dependency) */
.hero-ai .hero-content h1,
.hero-ai .hero-content h5,
.tool-section--hero,
.tool-section--hero .hero-search,
.tool-section--hero input,
.tool-section--hero button {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.hero-ai {
  position: relative;
  z-index: 1;
  padding: 50px 0 4rem;
}

.hero-ai .hero-content h1,
.hero-ai .hero-content h1.hero-headline {
  font-size: clamp(1.65rem, 2.5vw, 2rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 0.65rem !important;
  text-transform: none !important;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  max-width: 38rem;
  margin: 0 auto 0.65rem !important;
}

.hero-headline__primary {
  display: block;
  font-size: clamp(1.65rem, 2.5vw, 2rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  color: #fff;
}

.hero-headline__support {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  max-width: 30rem;
}

.hero-headline__support .hero-headline__line {
  display: block;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem) !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
  color: rgba(255, 255, 255, 0.88);
}

.hero-ai .hero-content h5 {
  max-width: 36rem;
  margin: 0 auto 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
}

.hero-ai--check {
  min-height: auto;
  display: block;
  padding-bottom: 2.5rem;
}

.hero-ai--check.hero-ai--has-results {
  padding-bottom: 1.5rem;
}

.hero-ai--check.hero-ai--has-results .tm-hero-powered,
.hero-ai--check.hero-ai--has-results .tm-home-hero__intro h5 {
  display: none;
}

.tm-check-hero-grid {
  display: grid;
  gap: 1.5rem 2.5rem;
  width: 100%;
}

.tm-check-hero-grid:not(.tm-check-hero-grid--split):not(.tm-check-hero-grid--has-trust) {
  max-width: 42rem;
  margin-inline: auto;
}

@media (min-width: 992px) {
  .tm-check-hero-grid--split,
  .tm-check-hero-grid--has-trust {
    max-width: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .tm-check-hero-grid--has-trust .tm-check-hero__right {
    margin-top: 0;
  }

  .tm-check-trust {
    max-width: 30rem;
    width: 100%;
    margin-left: auto;
  }
}

.tm-check-hero__content {
  text-align: center;
}

.hero-ai--has-results .tm-check-hero__content {
  text-align: left;
}

.hero-ai--has-results .hero-ai--check .hero-search form,
.hero-ai--check.hero-ai--has-results .hero-search form {
  margin-left: 0;
  margin-right: 0;
}

.tm-check-hero__right {
  margin-top: 1.25rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  border: none;
  background: transparent;
}

.tm-hero-powered {
  display: flex;
  justify-content: center;
  margin-top: 0.85rem;
}

.tm-hero-powered .tm-powered-by {
  margin: 0;
  justify-content: center;
}

.tm-check-trust {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(8, 2, 18, 0.55);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.tm-check-trust__media {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 16.875rem;
  overflow: hidden;
  background: #0a0118;
}

.tm-check-trust__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 1, 24, 0.92) 0%,
    rgba(10, 1, 24, 0.35) 42%,
    transparent 68%
  );
  pointer-events: none;
}

.tm-check-trust__photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 18%;
  border: 0;
}

.tm-check-trust__caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 0.75rem 0.85rem 0.8rem;
}

.tm-check-trust__body {
  padding: 0.7rem 0.85rem 0.85rem;
}

.tm-check-trust__eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fe7587;
}

.tm-check-trust__name {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.tm-check-trust__headline {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.tm-check-trust__reassurance {
  margin: 0 0 0.7rem;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  background: none;
  border: 0;
}

.tm-check-trust__reassurance i {
  margin-right: 0.35rem;
  color: #6ee7b7;
  font-size: 0.75rem;
}

.tm-check-trust__contact {
  margin: 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  line-height: 1.45;
}

.tm-check-trust__contact a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.tm-check-trust__contact a:hover {
  color: #fe7587;
}

.tm-check-trust__contact-sep {
  margin: 0 0.25rem;
  color: rgba(255, 255, 255, 0.35);
}

.tm-check-trust__contact-note {
  margin: 0.45rem 0 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.tm-check-trust__partner-link {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
}

.tm-check-trust__partner-link a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.tm-check-trust__partner-link a:hover {
  color: #fe7587;
}

.tm-footer-contact {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.tm-footer-contact a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.tm-footer-contact a:hover {
  color: #fe7587;
}

.hero-ai--has-results .tm-check-trust__media {
  aspect-ratio: 16 / 10;
  max-height: 14.25rem;
}

#check-trust-panel[hidden] {
  display: none !important;
}

.hero-ai--has-results .tm-check-trust__caption {
  padding: 0.75rem 0.9rem 0.85rem;
}

.hero-ai--has-results .tm-check-trust__headline {
  font-size: 0.82rem;
}

.hero-ai--has-results .tm-check-trust__body {
  padding: 0.7rem 0.9rem 0.85rem;
}

.tm-check-results-wrap {
  min-width: 0;
}

.tm-check-results-wrap .check-results:not([hidden]) {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.check-results-left {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.65rem;
  text-align: left;
  position: relative;
  z-index: 2;
}

.check-results-left[hidden] {
  display: none !important;
}

.check-results-left-inner .tm-report-block {
  padding: var(--tm-collapse-pad-y) var(--tm-collapse-pad-x);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-ai--has-results .check-results-left .tm-technical-details {
  margin-top: 0;
}

.tm-check-hero__right[hidden] {
  display: none !important;
}

/* legacy — right column is always visible on check page */

@media (min-width: 992px) {
  .tm-check-hero-grid--split .tm-check-hero__right {
    margin-top: 0;
  }
}

.hero-ai--check .container {
  width: 100%;
}

.hero-ai--check .hero-content h1 {
  margin-bottom: 0.75rem !important;
}

.hero-ai--check .hero-content h5 {
  max-width: 34rem;
  margin: 0 auto 1.25rem;
}

.tool-section--hero .form-hint {
  margin-top: 0.45rem;
  font-size: 0.78rem;
}

.tm-tool-intro {
  margin: 0.65rem 0 0;
  padding: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  text-align: left;
}

.hero-ai--check .tm-home-hero__tool {
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
}

.hero-ai--check:not(.hero-ai--has-results) .tm-home-hero__tool,
.hero-ai--check:not(.hero-ai--has-results) .hero-headline {
  max-width: 100%;
}

.hero-ai--check .hero-search form {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.hero-ai--check .hero-search__inner {
  position: relative;
  padding: 0.4rem;
  gap: 0.4rem;
}

.hero-ai--check .hero-search__icon {
  position: static;
  transform: none;
  flex: 0 0 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0 0.15rem;
  pointer-events: none;
}

.hero-ai--check .hero-search form input.form_control,
.hero-ai--check .hero-search form input[type="text"] {
  padding: 0.65rem 0.75rem;
  text-align: left;
}

.hero-ai--check .hero-search form .check-submit-wrap .theme-btn {
  padding: 0.65rem 1.15rem;
  min-width: 7.5rem;
}

/* Check hero search — pill field with button inside */
.hero-ai .hero-content .hero-search form,
.hero-ai--check .hero-search form {
  display: block;
  position: relative;
  max-width: 36rem;
  margin: 0 auto;
  background: none;
  border: none;
  padding: 0;
}

.hero-ai .hero-content .hero-search form .hero-search__inner,
.hero-ai--check .hero-search form .hero-search__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-ai .hero-content .hero-search form .hero-search__icon,
.hero-ai--check .hero-search form .hero-search__icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.82);
  pointer-events: none;
  line-height: 1;
  font-size: 1rem;
}

.hero-ai .hero-content .hero-search form input.form_control,
.hero-ai .hero-content .hero-search form input[type="text"],
.hero-ai--check .hero-search form input.form_control,
.hero-ai--check .hero-search form input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  padding: 0.65rem 0.5rem 0.65rem 2.5rem;
  border-radius: 999px;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  color: #fff;
  box-shadow: none;
}

.hero-ai .hero-content .hero-search form .check-submit-wrap,
.hero-ai--check .hero-search form .check-submit-wrap {
  position: static;
  flex: 0 0 auto;
  width: auto;
  transform: none;
}

.hero-ai .hero-content .hero-search form .check-submit-wrap .theme-btn,
.hero-ai--check .hero-search form .check-submit-wrap .theme-btn {
  position: static !important;
  top: auto !important;
  right: auto !important;
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
  border-radius: 999px;
  margin: 0;
}

.hero-headline__line--mobile {
  display: none;
}

@media (max-width: 767px) {
  .hero-headline__line--desktop {
    display: none;
  }

  .hero-headline__line--mobile {
    display: block;
  }

  .hero-ai {
    padding: 1.25rem 0 2rem !important;
  }

  .hero-ai--check {
    padding-bottom: 1.25rem !important;
  }

  .hero-ai .hero-content h1,
  .hero-ai .hero-content h1.hero-headline,
  .hero-ai .hero-content .hero-headline__primary {
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.45rem !important;
  }

  .hero-headline__support .hero-headline__line {
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
  }

  .hero-headline {
    max-width: 100%;
    gap: 0.3rem;
    margin-bottom: 0.5rem !important;
  }

  .hero-ai .hero-content h5 {
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
  }

  .tm-container-wide,
  .container.tm-container-wide {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .header-navigation .site-branding {
    max-width: none !important;
    flex: 1;
    min-width: 0;
  }

  .header-three .header-navigation {
    padding: 0.75rem 1rem !important;
  }

  .header-navigation .primary-menu {
    gap: 0.5rem;
  }

  .tm-brand {
    gap: 0.55rem;
    min-width: 0;
  }

  .tm-brand__mark {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
  }

  .tm-brand__name {
    font-size: 1.05rem !important;
  }

  .tm-brand__product {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .hero-ai--check.hero-ai--has-results .tm-home-hero__intro {
    display: none;
  }

  .hero-ai--has-results .tm-check-hero__content {
    text-align: center;
  }

  .tm-check-hero__right {
    margin-top: 0.85rem;
    padding: 0;
    border: none;
    background: transparent;
  }

  .tm-grade-strip {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .tm-grade-strip__meta {
    min-width: 0;
    flex: 1;
  }

  .tm-grade-strip__domain {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    line-height: 1.35;
  }

  .tm-yesno-summary__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.45rem 0.55rem;
  }

  .tm-yesno-a {
    align-self: flex-start;
    margin-left: auto;
  }

  .tm-yesno-example {
    padding: 0.45rem 0.55rem 0.55rem 1.75rem;
  }

  .check-costs-inner .tm-money-risks {
    padding: 1rem 1.1rem;
  }

  .check-costs-inner .tm-money-risks__list {
    grid-template-columns: 1fr;
  }

  .tm-results-intro {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }

  .tm-content-page--inner {
    padding: 0.85rem 0 1.75rem;
  }

  .hero-ai .hero-content .hero-search form,
  .hero-ai--check .hero-search form {
    max-width: 100%;
  }

  .hero-ai .hero-content .hero-search form .hero-search__inner,
  .hero-ai--check .hero-search form .hero-search__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0.4rem;
    border-radius: 1rem;
    padding: 0.4rem;
  }

  .hero-ai .hero-content .hero-search form .hero-search__icon,
  .hero-ai--check .hero-search form .hero-search__icon {
    position: static;
    transform: none;
    grid-column: 1;
    grid-row: 1;
    margin: 0 0 0 0.35rem;
    align-self: center;
    flex: none;
  }

  .tm-tool-intro {
    font-size: 0.85rem;
    margin-top: 0.55rem;
  }

  .hero-ai .hero-content .hero-search form input.form_control,
  .hero-ai .hero-content .hero-search form input[type="text"],
  .hero-ai--check .hero-search form input.form_control,
  .hero-ai--check .hero-search form input[type="text"] {
    grid-column: 2;
    grid-row: 1;
    padding: 0.75rem 1rem 0.75rem 0.35rem;
    font-size: 17px;
    min-width: 0;
  }

  .hero-ai .hero-content .hero-search form .check-submit-wrap,
  .hero-ai--check .hero-search form .check-submit-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .hero-ai .hero-content .hero-search form .check-submit-wrap .theme-btn,
  .hero-ai--check .hero-search form .check-submit-wrap .theme-btn {
    width: 100%;
  }

  .check-row { flex-direction: column; }
  .check-submit-wrap { width: 100%; }
  .check-submit-wrap .theme-btn { width: 100%; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
  .grade-badge { width: 3.5rem; height: 3.5rem; font-size: 1.6rem; }
  .tm-results-score { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .tm-finding-box .title { justify-content: center; }
  .tm-finding-status { margin-left: 0; }
  .report-form__field input,
  .report-form__field textarea,
  .report-form__submit {
    width: 100%;
  }

}

@media (max-width: 380px) {
  .tm-brand__product {
    display: none;
  }
}

/* Sasly hero-search expects form as direct child — adapt our structure */
.tool-section--hero .check-form {
  max-width: 720px;
  margin: 0 auto;
}

.tool-section--hero .hero-search form,
.tool-section--hero .hero-search {
  display: block;
}

/* legacy flex hero-search rules removed — see hero-search__inner above */

.back-to-top {
  position: fixed !important;
  bottom: 1.25rem !important;
  right: 1.25rem !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  z-index: 1000;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tm-accent-start), var(--tm-accent-end));
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.back-to-top:hover {
  color: #fff;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 767px) {
  body {
    overflow-x: clip;
  }

  .back-to-top {
    display: flex !important;
    bottom: 1rem !important;
    right: 1rem !important;
  }
}

:root {
  --tm-accent-start: #fe7587;
  --tm-accent-end: #7d42dc;
  --tm-bg: #0a0118;
  --tm-surface: rgba(255, 255, 255, 0.06);
  --tm-surface-solid: #1a0f2e;
  --tm-border: rgba(255, 255, 255, 0.12);
  --tm-text: #f4f0ff;
  --tm-muted: rgba(255, 255, 255, 0.82);
  --tm-collapse-pad-x: 1rem;
  --tm-collapse-pad-y: 0.65rem;
  --tm-collapse-icon-gap: 2.35rem;
  --accent: #fe7587;
  --accent-hover: #7d42dc;
  --bg: var(--tm-bg);
  --surface: var(--tm-surface-solid);
  --text: var(--tm-text);
  --muted: var(--tm-muted);
  --border: var(--tm-border);
  --risk-low: #34d399;
  --risk-medium: #fbbf24;
  --risk-high: #f87171;
  --radius: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Logo sizing in header/footer — legacy img-only logos */
.brand-logo img:not(.tm-brand__mark) {
  height: 2.75rem;
  width: auto;
  max-width: min(280px, 62vw);
}

/* Rotating hero words (replaces animated headline plugin) */
.tm-rotate-words {
  display: inline-block;
  vertical-align: bottom;
  min-width: 8ch;
}

.tm-rotate-words__inner {
  position: relative;
  display: inline-block;
  height: 1.15em;
  overflow: hidden;
  vertical-align: bottom;
}

.tm-rotate-words__inner b {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  background: linear-gradient(90deg, var(--tm-accent-start), var(--tm-accent-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: tmWordRotate 8s infinite;
}

.tm-rotate-words__inner b.is-visible {
  position: relative;
}

.tm-rotate-words__inner b:nth-child(1) { animation-delay: 0s; }
.tm-rotate-words__inner b:nth-child(2) { animation-delay: 2s; }
.tm-rotate-words__inner b:nth-child(3) { animation-delay: 4s; }
.tm-rotate-words__inner b:nth-child(4) { animation-delay: 6s; }

@keyframes tmWordRotate {
  0%, 22% { opacity: 1; transform: translateY(0); }
  25%, 97% { opacity: 0; transform: translateY(-110%); }
  100% { opacity: 0; transform: translateY(110%); }
}

.tm-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.tm-trust-badges span {
  padding: 0.45rem 1rem;
  border: 1px solid var(--tm-border);
  border-radius: 999px;
  color: var(--tm-muted);
  font-size: 0.9rem;
  background: var(--tm-surface);
}

.tm-start-card {
  display: block;
  height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--tm-border);
  border-radius: var(--radius);
  background: var(--tm-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tm-start-card:hover {
  border-color: var(--tm-accent-start);
  transform: translateY(-2px);
  color: inherit;
}

.tm-start-card h4 {
  margin: 0 0 0.5rem;
  color: #fff;
}

.tm-start-card p {
  margin: 0 0 0.75rem;
  color: var(--tm-muted);
  font-size: 0.92rem;
}

.tm-start-card__link {
  font-size: 0.85rem;
  color: var(--tm-accent-start);
}

.hero-ai--compact {
  padding: 100px 0 80px;
}

/* Inner pages — Learn, guides, marketing (replaces missing Sasly JPG placeholder) */
.page-hero-ss.tm-page-banner {
  padding: 4.75rem 0 1.15rem !important;
}

.tm-page-banner {
  position: relative;
  padding: 4.75rem 0 1.15rem !important;
  background: #0a0118 !important;
  background-image: none !important;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-page-banner__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 80% at 50% 110%, rgba(125, 66, 220, 0.28) 0%, transparent 58%),
    radial-gradient(circle at 88% 12%, rgba(254, 117, 135, 0.14) 0%, transparent 38%),
    radial-gradient(circle at 12% 18%, rgba(125, 66, 220, 0.1) 0%, transparent 32%);
}

.tm-page-banner .page-content {
  position: relative;
  z-index: 1;
}

.tm-page-banner .page-title {
  max-width: 52rem;
  margin: 0 auto 0.45rem !important;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
}

.tm-page-banner .breadcrumb-link {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.tm-page-banner .breadcrumb-link li {
  color: rgba(255, 255, 255, 0.78) !important;
}

.tm-page-banner .breadcrumb-link li:last-child {
  color: #fe7587 !important;
}

.tm-page-banner .breadcrumb-link li:not(:last-child)::after {
  content: none !important;
}

.tm-page-banner .breadcrumb-link li + li::before {
  content: "·";
  margin-right: 0.55rem;
  color: rgba(255, 255, 255, 0.38);
}

.tm-page-banner .breadcrumb-link a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.tm-page-banner .breadcrumb-link a:hover {
  color: #fe7587;
}

@media (max-width: 991px) {
  .page-hero-ss.tm-page-banner,
  .tm-page-banner {
    padding: 4.25rem 0 0.85rem !important;
  }

  .tm-page-banner .page-title {
    font-size: clamp(1.45rem, 5vw, 1.85rem) !important;
  }
}

.tm-content-page {
  background: var(--tm-bg);
}

.tm-content-page--inner {
  padding: 1.15rem 0 2.25rem;
}

.tm-content-wrap {
  max-width: 42rem;
  margin: 0 auto;
}

.tm-content-wrap--wide {
  max-width: 52rem;
}

.tm-content-wrap--hub {
  max-width: 72rem;
}

.tm-content-wrap .lead {
  font-size: 1.05rem;
  color: var(--tm-muted);
  margin: 0 0 0.85rem;
}

.tm-security-block {
  padding: 80px 0;
}

/* Check tool */
.tool-section--hero .form-hint {
  color: var(--tm-muted);
  margin-top: 0.75rem;
}

.check-form {
  max-width: 640px;
  margin: 0 auto;
}

.hero-search__row {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
}

.hero-search__row label {
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.check-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.check-row input[type="text"],
.check-row .form_control {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--tm-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
}

.check-row input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.check-submit-wrap {
  position: relative;
  flex: 0 0 auto;
}

.check-submit-wrap .theme-btn,
.check-submit-wrap .btn-primary {
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.check-submit-wrap .btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.check-submit-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  z-index: 5;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius);
  background: #fff;
  color: var(--tm-bg);
  font-size: 0.82rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
}

.check-submit-wrap--empty:hover .check-submit-tooltip {
  opacity: 1;
  visibility: visible;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--tm-muted);
}

.tm-modal-form .tm-form-hint,
.tm-fix-form .tm-form-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.tool-section--has-results .hero-search {
  margin-bottom: 0;
}

.tool-section--has-results .form-hint {
  display: none;
}

.tool-section--has-results .tm-tool-intro {
  display: block;
}

/* Results in right hero column */
.check-results {
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  position: relative;
  z-index: 2;
}

.check-results[hidden] {
  display: none !important;
}

.tm-results-intro {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

.tm-results-loading {
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  margin: 0;
}

.results-dashboard {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: left;
}

.tm-grade-strip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tm-grade-strip .grade-badge {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.5rem;
  border-radius: 10px;
}

.tm-grade-strip__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.tm-grade-strip__domain {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
}

.tm-grade-strip__hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.tm-yesno-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  text-align: left;
}

.tm-yesno-item {
  padding: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-ai .bottom-bg {
  pointer-events: none;
}

.tm-yesno-summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

.tm-yesno-summary__inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  text-align: left;
}

.tm-yesno-details {
  margin: 0;
}

.tm-yesno-summary::-webkit-details-marker {
  display: none;
}

.tm-yesno-summary__inner::before {
  content: "+";
  flex-shrink: 0;
  width: 1rem;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1;
}

.tm-yesno-details[open] .tm-yesno-summary__inner {
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-yesno-details[open] .tm-yesno-summary__inner::before {
  content: "−";
}

.tm-checklist-intro {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.tm-yesno-q-wrap {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  text-align: left;
}

.tm-yesno-check {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.tm-yesno-example {
  margin: 0;
  padding: 0.55rem 0.75rem 0.65rem 2.35rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  border-top: none;
  text-align: left;
}

.tm-yesno-details[open] .tm-yesno-example {
  padding-top: 0.55rem;
}

.tm-yesno-q {
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
}

.tm-yesno-a {
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.tm-yesno-item--bad .tm-yesno-a {
  color: #fca5a5;
}

.tm-yesno-item--warn .tm-yesno-a {
  color: #fcd34d;
}

.tm-yesno-item--good .tm-yesno-a {
  color: #6ee7b7;
}

.tm-grade-strip__score {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.tm-grade-strip__policy {
  margin: 0.45rem 0 0;
}

.tm-dmarc-pill {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}

.tm-dmarc-pill--reject {
  border-color: rgba(110, 231, 183, 0.35);
  color: #a7f3d0;
}

.tm-dmarc-pill--quarantine {
  border-color: rgba(252, 211, 77, 0.35);
  color: #fde68a;
}

.tm-dmarc-pill--none,
.tm-dmarc-pill--missing {
  border-color: rgba(252, 165, 165, 0.35);
  color: #fecaca;
}

.tm-technical-disclaimer {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  font-style: italic;
}

.tm-technical-probed {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.tm-technical-probed summary {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.88);
}

.tm-technical-probed-list {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.78rem;
}

.tm-technical-probed-list code {
  word-break: break-all;
}

.tm-check-costs[hidden] {
  display: none !important;
}

.tm-check-costs {
  border-top: none;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.check-costs-inner .tm-money-risks {
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

@media (min-width: 992px) {
  .check-costs-inner .tm-money-risks__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }
}

.tm-money-risks__title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.tm-money-risks__list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 1.25rem;
}

.tm-money-risks__list li {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  padding-bottom: 0.15rem;
}

.tm-money-risks__list strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.55rem;
}

.tm-money-risks__list li > span {
  display: block;
}

.tm-money-hint {
  display: block;
  margin-top: 0.45rem;
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #fe7587;
}

.tm-report-block h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #fff;
}

.tm-report-block > p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}

.tm-report-block .contact-form .form_control {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.tm-report-block .report-form__error {
  color: #fecaca;
}

.tm-report-block .report-form__success {
  margin-top: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(110, 231, 183, 0.12);
  border: 1px solid rgba(110, 231, 183, 0.35);
  color: #d1fae5;
  font-size: 0.9rem;
}

.tm-partner-compact {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

.tm-partner-compact a {
  color: #fe7587;
}

.tm-results-actions {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.tm-results-actions__intro {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.tm-results-actions__note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.tm-form-expectation {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(125, 66, 220, 0.14);
  border: 1px solid rgba(125, 66, 220, 0.32);
}

.tm-form-delivery-notice {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(254, 117, 135, 0.12);
  border: 1px solid rgba(254, 117, 135, 0.28);
}

.tm-form-delivery-notice a {
  color: #ffc4d0;
}

.tm-results-actions__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tm-results-actions__buttons .theme-btn {
  flex: 1 1 12rem;
}

body.tm-modal-open {
  overflow: hidden;
}

.tm-modal-root[hidden] {
  display: none !important;
}

.tm-modal-root {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.tm-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 0, 15, 0.72);
  backdrop-filter: blur(4px);
}

.tm-modal {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  max-height: min(92vh, 860px);
  overflow: auto;
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #120822;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.tm-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.tm-modal__close:hover {
  color: #fff;
}

.tm-modal-form h3 {
  margin: 0 2rem 0.65rem 0;
  font-size: 1.2rem;
  color: #fff;
}

.tm-modal-form > p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.tm-modal-form .form_control {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.tm-modal-form textarea.form_control {
  min-height: 6.5rem;
  resize: vertical;
}

.tm-form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.tm-form-optional {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

.tm-modal-form__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.tm-how-it-works {
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-how-it-works h4 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: #fff;
}

.tm-how-it-works ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.65rem;
}

.tm-how-it-works li {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.tm-how-it-works li strong {
  display: block;
  margin-bottom: 0.15rem;
  color: rgba(255, 255, 255, 0.95);
}

.tm-how-it-works__pricing,
.tm-how-it-works__annual {
  margin: 0.65rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.tm-how-it-works__annual {
  color: #ffc4d0;
}

.tm-domain-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(254, 117, 135, 0.35);
  background: rgba(254, 117, 135, 0.1);
}

.tm-domain-pill__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.tm-domain-pill__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.tm-modal-form .report-form__error {
  color: #fecaca;
}

.tm-modal-form .report-form__success {
  margin-top: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(110, 231, 183, 0.12);
  border: 1px solid rgba(110, 231, 183, 0.35);
  color: #d1fae5;
  font-size: 0.9rem;
}

@media (max-width: 575px) {
  .tm-results-actions__buttons .theme-btn {
    flex-basis: 100%;
  }

  .tm-modal-form__actions .theme-btn {
    flex: 1 1 100%;
  }
}

.tm-fix-page__intro {
  max-width: 42rem;
  margin: 0 auto 0.75rem;
  text-align: center;
}

.tm-fix-page__back {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
}

.tm-fix-page__back a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.tm-fix-page__back a:hover {
  color: #fe7587;
}

.tm-fix-page__grid {
  display: grid;
  gap: 1.75rem 2rem;
  align-items: start;
}

@media (min-width: 992px) {
  .tm-fix-page__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .tm-fix-page__form-wrap {
    position: sticky;
    top: 1.25rem;
  }
}

.tm-fix-partner-card {
  padding: 1.15rem 1.2rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.tm-fix-partner-card__logo {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin-bottom: 0.85rem;
}

.tm-fix-partner-card__pitch,
.tm-fix-partner-card__social,
.tm-fix-partner-card__cost {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.tm-fix-partner-card__cost {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.tm-how-it-works--page h2 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  color: #fff;
}

.tm-fix-page__form-wrap {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.tm-fix-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-bottom: 1rem;
}

.tm-fix-context__grade {
  flex: 0 0 auto;
}

.tm-fix-form .form-group {
  margin-bottom: 0.85rem;
}

.tm-fix-form .form_control {
  width: 100%;
}

.tm-fix-form textarea.form_control {
  min-height: 7rem;
  resize: vertical;
}

.tm-fix-form__actions {
  margin-top: 0.35rem;
}

.tm-fix-form__actions .theme-btn {
  width: 100%;
}

.tm-fix-form__partner {
  margin: 1rem 0 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

.tm-fix-form__partner a {
  color: #ffc4d0;
  text-decoration: none;
}

.tm-fix-form__partner a:hover {
  color: #fe7587;
}

.tm-fix-page .report-form__error {
  margin-top: 0.75rem;
}

.tm-fix-page .report-form__success {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(110, 231, 183, 0.12);
  border: 1px solid rgba(110, 231, 183, 0.35);
  color: #d1fae5;
  font-size: 0.9rem;
}

.tm-results-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tm-results-score-card {
  margin-bottom: 0 !important;
}

.tm-results-score {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
}

.grade-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 14px;
  font-size: 2.25rem;
  font-weight: 800;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.grade-A { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.grade-B { background: #dcfce7; color: #166534; border-color: #86efac; }
.grade-C { background: #ffedd5; color: #9a3412; border-color: #fdba74; }
.grade-D { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.grade-F { background: #fecaca; color: #7f1d1d; border-color: #f87171; }

.tm-results-score__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tm-results-score__body .title {
  margin: 0 0 0.5rem;
}

.progress-track {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-top: 1rem;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tm-accent-start), var(--tm-accent-end));
}

.progress-fill--low { background: linear-gradient(90deg, #f87171, #ef4444); }
.progress-fill--medium { background: linear-gradient(90deg, #fb923c, #f59e0b); }

.tm-examples-card {
  margin-bottom: 0 !important;
}

.tm-card--stat {
  pointer-events: none;
}

.tm-card--stat .tm-card__lead {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fe7587 !important;
}

.tm-findings-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .tm-findings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tm-finding-box {
  margin-bottom: 0 !important;
}

.tm-finding-box .title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}

.tm-finding-status {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
}

.tm-finding-it {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  opacity: 0.75;
}

.tm-finding-box--good .tm-finding-status { background: #d1fae5; color: #065f46; }
.tm-finding-box--partial .tm-finding-status,
.tm-finding-box--weak .tm-finding-status { background: #ffedd5; color: #9a3412; }
.tm-finding-box--missing .tm-finding-status { background: #fee2e2; color: #991b1b; }
.tm-finding-box--optional .tm-finding-status { background: #f1f5f9; color: #64748b; }

.tm-priority-box {
  margin-bottom: 0 !important;
}

.tm-priority-box--high {
  border-color: rgba(254, 117, 135, 0.45) !important;
}

.tm-partner-cta {
  margin-top: 0.5rem;
}

.tm-partner-cta .cta-wrapper {
  padding: 2rem;
}

.tm-partner-learn-more {
  margin: 1rem 0 0;
}

.tm-partner-learn-more a {
  color: #fe7587;
  text-decoration: none;
}

.tm-partner-cta .contact-wrapper {
  margin-bottom: 0;
}

.tm-partner-cta .report-form__error {
  color: #fecaca;
}

.tm-partner-cta .report-form__success h3 {
  margin: 0;
  color: #fff;
}

.report-form__unavailable {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-wrap {
  min-height: 65px;
  margin-bottom: 0.5rem;
}

.risk-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.risk-low { background: #d1fae5; color: #065f46; }
.risk-medium { background: #ffedd5; color: #9a3412; }
.risk-high { background: #fee2e2; color: #991b1b; }

.check-error { color: #fecaca; }

.tm-technical-details {
  margin-top: 0;
  max-width: 100%;
}

.tm-technical-record {
  padding: 0.65rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-technical-record:first-child {
  border-top: 0;
  padding-top: 0;
}

.tm-technical-record h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: #fff;
}

.tm-technical-host,
.tm-technical-policy,
.tm-technical-note,
.tm-technical-missing,
.tm-technical-empty {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.tm-technical-host code,
.tm-technical-policy code {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  word-break: break-all;
}

.tm-technical-txt {
  margin: 0 0 0.55rem;
  padding: 0.65rem 0.75rem;
  overflow: auto;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  white-space: pre-wrap;
  word-break: break-word;
}

.tm-technical-missing {
  font-style: italic;
}

/* Guide / learn content on dark theme */
.guide-layout {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 2rem;
  align-items: start;
  margin: 2rem 0;
}

.guide-toc {
  position: sticky;
  top: 6rem;
  font-size: 0.9rem;
}

.guide-toc__title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tm-muted);
  margin: 0 0 0.5rem;
}

.guide-toc ol { margin: 0; padding-left: 1.1rem; }
.guide-toc a { color: var(--tm-text); text-decoration: none; }
.guide-toc a:hover { color: var(--tm-accent-start); }

.guide-section { margin-bottom: 1.5rem; scroll-margin-top: 4.5rem; }
.guide-section h2 { font-size: 1.25rem; margin: 0 0 0.75rem; color: #fff; }

.prose { color: var(--tm-muted); line-height: 1.65; }
.prose p { margin: 0 0 1rem; }
.prose a { color: var(--tm-accent-start); }
.prose code {
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: #fff;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.learn-card {
  display: block;
  padding: 1rem 1.1rem;
  background: var(--tm-surface);
  border: 1px solid var(--tm-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.learn-card:hover {
  border-color: var(--tm-accent-start);
  color: inherit;
}

.learn-card h3 { margin: 0 0 0.35rem; font-size: 1rem; color: #fff; }
.learn-card p { margin: 0; font-size: 0.9rem; color: var(--tm-muted); }

.hub-category { margin: 1.5rem 0; }
.hub-category h2 { color: #fff; margin: 0 0 0.35rem; }
.hub-category__desc { color: var(--tm-muted); margin: 0 0 0.5rem; }

.callout {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  border-left: 4px solid var(--tm-accent-start);
  background: rgba(254, 117, 135, 0.1);
  color: var(--tm-text);
}

.callout--warning {
  border-left-color: var(--risk-medium);
  background: rgba(251, 191, 36, 0.1);
}

.faq-list {
  margin: 0.5rem 0 0;
}

.faq-list .tm-faq-list__title,
.related-guides h2 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

.related-guides h2 {
  margin-top: 1.25rem;
}

.cta-row { margin: 1.15rem 0; }
.cta-row--bottom { margin: 1.35rem 0 0.75rem; }

.stack-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin: 1rem 0 1.25rem;
  padding: 1rem;
  background: var(--tm-surface);
  border: 1px solid var(--tm-border);
  border-radius: var(--radius);
}

.stack-step {
  text-align: center;
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  min-width: 10rem;
  color: #fff;
}

.stack-step span { display: block; font-size: 0.85rem; color: var(--tm-muted); }
.stack-arrow { color: var(--tm-muted); }

/* Embed */
.embed-body {
  margin: 0;
  padding: 1rem;
  background: var(--tm-bg);
  color: var(--tm-text);
  font-family: "Manrope", system-ui, sans-serif;
}

.embed-title { font-size: 1.25rem; margin: 0 0 0.5rem; }
.embed-sub { color: var(--tm-muted); margin: 0 0 1rem; }

.check-form--embed .check-row { flex-direction: column; }
.check-form--embed .theme-btn { width: 100%; }

/* Dev hub */
.dev-body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #f6f8fb;
  color: #1a2332;
}

.dev-main { max-width: 960px; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
.dev-section { margin: 2rem 0; }
.dev-table { width: 100%; border-collapse: collapse; background: #fff; }
.dev-table th, .dev-table td { border: 1px solid #d8e0ea; padding: 0.5rem 0.75rem; text-align: left; }
.dev-iframe { width: 100%; min-height: 420px; border: 1px solid #d8e0ea; border-radius: var(--radius); }
.dev-code { background: #1a2332; color: #e8eef5; padding: 1rem; border-radius: var(--radius); overflow: auto; font-size: 0.85rem; }
.dev-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Home page: wide layout, clear sections ── */
.container.tm-container-wide {
  max-width: 82rem;
  width: 100%;
}

.tm-container-wide {
  max-width: 82rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.tm-home-hero {
  padding-bottom: 2.5rem !important;
}

.tm-section--features {
  border-top: none;
  background: linear-gradient(180deg, rgba(125, 66, 220, 0.08) 0%, transparent 42%);
}

.tm-home-hero__intro {
  max-width: 42rem;
  margin: 0 auto 1.25rem;
}

.tm-home-hero__tool {
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
}

.tm-hero-bullets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
}

.tm-hero-bullets li::before {
  content: "✓ ";
  color: #fe7587;
}

.tm-powered-by {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.4rem 0.95rem 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tm-powered-by:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
}

.tm-powered-by__label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tm-powered-by__logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.25rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  line-height: 0;
  border-radius: 999px;
  transition: opacity 0.15s ease;
}

.tm-powered-by__logo-wrap:hover {
  opacity: 0.9;
}

.tm-powered-by__logo {
  display: block;
  width: 118px;
  height: auto;
}

.hero-ai--check .tm-hero-bullets {
  margin-top: 1.25rem;
  justify-content: center;
}

.tm-section {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-section--alt {
  background: rgba(255, 255, 255, 0.02);
}

.tm-section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}

.tm-section-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 36rem;
}

.tm-section-head .sub-heading {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, rgba(254, 117, 135, 0.28), rgba(125, 66, 220, 0.22));
  border: 2px solid rgba(254, 117, 135, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 8px 28px rgba(254, 117, 135, 0.18);
}

.tm-section--features .tm-section-head .sub-heading {
  font-size: 0.88rem;
  padding: 0.55rem 1.35rem;
  border-color: #fe7587;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 32px rgba(254, 117, 135, 0.28),
    0 10px 32px rgba(125, 66, 220, 0.12);
}

.tm-section-head h2,
.tm-section h2,
.tm-check-learn h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: #fff !important;
  letter-spacing: -0.02em;
}

.tm-section-head p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: none;
}

.tm-grid {
  display: grid;
  gap: 1.25rem;
}

.tm-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 991px) {
  .tm-grid--3 {
    grid-template-columns: 1fr;
  }
}

.tm-card {
  display: block;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.tm-card:hover {
  border-color: rgba(254, 117, 135, 0.45);
  color: inherit;
}

.tm-card h3,
.tm-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #fff;
}

.tm-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.tm-card__lead {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600;
  margin-bottom: 0.35rem !important;
}

.tm-card--feature h3 {
  font-size: 1.25rem;
  color: #fe7587;
}

.tm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 48rem;
  margin-inline: auto;
}

.tm-steps li {
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.tm-steps strong {
  color: #fff;
  font-size: 1.05rem;
}

.tm-steps span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.45;
}

.tm-point-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  max-width: 36rem;
}

.tm-point-list li {
  padding-left: 1.35rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.tm-point-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(90deg, #fe7587, #7d42dc);
}

.tm-faq-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 22rem) 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 767px) {
  .tm-faq-grid {
    grid-template-columns: 1fr;
  }
}

.tm-faq-list {
  display: grid;
  gap: 0.65rem;
}

/* Collapsible panels — FAQ, Technical DNS, learn pages (one system) */
.tm-faq-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04) !important;
  padding: 0;
  overflow: hidden;
}

.tm-faq-item > summary {
  position: relative;
  padding: var(--tm-collapse-pad-y) var(--tm-collapse-pad-x);
  padding-left: var(--tm-collapse-icon-gap);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #fff !important;
  background: transparent !important;
  list-style: none;
  display: block;
}

.tm-faq-item > summary::-webkit-details-marker {
  display: none;
}

.tm-faq-item > summary::before {
  content: "+";
  position: absolute;
  left: var(--tm-collapse-pad-x);
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1;
}

.tm-faq-item[open] > summary::before {
  content: "−";
}

.tm-faq-item[open] > summary {
  padding-bottom: 0.55rem;
  background: rgba(254, 117, 135, 0.1) !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-faq-item > .tm-faq-item__body,
.tm-faq-item > .tm-technical-details__body {
  margin: 0;
  padding: var(--tm-collapse-pad-y) var(--tm-collapse-pad-x) 0.75rem var(--tm-collapse-icon-gap);
  color: rgba(255, 255, 255, 0.86) !important;
  background: transparent !important;
}

.tm-faq-item > .tm-faq-item__body > *:first-child,
.tm-faq-item > .tm-technical-details__body > *:first-child {
  margin-top: 0;
}

.tm-faq-list .tm-faq-item > .tm-faq-item__body p,
.tm-faq-item > .tm-faq-item__body p,
.tm-faq-item > p {
  margin: 0 0 0.65rem;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86) !important;
  background: transparent !important;
}

.tm-faq-item > .tm-faq-item__body p:last-child {
  margin-bottom: 0;
}

.tm-faq-link {
  margin-top: 1rem;
}

.tm-cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem 2.25rem;
  border-radius: 14px;
  border: 1px solid rgba(254, 117, 135, 0.35);
  background: linear-gradient(135deg, rgba(254, 117, 135, 0.12), rgba(125, 66, 220, 0.12));
}

.tm-cta-bar h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  color: #fff;
}

.tm-cta-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.tm-section-cta {
  padding: 3rem 0 4rem;
  border-top: none;
}

.tm-split__main {
  max-width: 44rem;
}

/* Footer — brighter gray copy */
.ai-footer .footer-about-widget .footer-content p,
.ai-footer .footer-nav a {
  color: rgba(255, 255, 255, 0.85) !important;
}

.ai-footer .footer-copyright .copyright-text p,
.ai-footer .footer-copyright .copyright-nav ul li a {
  color: rgba(255, 255, 255, 0.82) !important;
}
