/* NovaMX live-ready marketing site
   Absolute tokens path so status (/site-chrome/site.css) and marketing
   docroot both resolve via the /styles/ Alias. */
@import url("/styles/novamx-tokens.css");

/* Theme-forced token overrides (site uses data-theme, not only prefers-color-scheme) */
:root[data-theme="light"],
body[data-theme="light"] {
  --novamx-interactive: #6F4B12;
  --novamx-focus: #0369a1;
}

:root[data-theme="dark"],
body[data-theme="dark"] {
  --novamx-interactive: #F1D99C;
  --novamx-focus: #C9A86A;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  --site-bg-dark: image-set(
    url("/assets/brand/site-background-dark.webp?v=20260718-bg6") type("image/webp"),
    url("/assets/brand/site-background-dark.jpg?v=20260718-bg6") type("image/jpeg")
  );
  --site-bg-light: image-set(
    url("/assets/brand/site-background-light.webp?v=20260718-bg6") type("image/webp"),
    url("/assets/brand/site-background-light.jpg?v=20260718-bg6") type("image/jpeg")
  );
  --site-bg-image: var(--site-bg-dark);
  --site-bg-scrim: rgba(8, 18, 31, 0.72);
  margin: 0;
  padding-top: var(--site-header-height, 4.75rem);
  font-family: var(--novamx-font-sans);
  font-size: var(--novamx-font-size-200);
  line-height: var(--novamx-line-height-relaxed);
  color: var(--novamx-text);
  /* Solid fallback so contrast tools don't treat the page as transparent over white */
  background-color: var(--novamx-bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--novamx-bg);
  background-image:
    linear-gradient(var(--site-bg-scrim), var(--site-bg-scrim)),
    var(--site-bg-image);
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

:root {
  --site-header-height: 5.25rem;
  --novamx-control-height: 2.75rem;
  --novamx-control-padding-x: 0.85rem;
  --novamx-control-font-size: 0.95rem;
  --portal-panel-bg: #0c1524;
  --portal-panel-border: rgba(255, 255, 255, 0.14);
  --portal-panel-radius: 0.85rem;
  --nav-submenu-bg: #0c1524;
  --nav-submenu-border: rgba(255, 255, 255, 0.14);
}

/* Single-line controls share one height site-wide (textareas excluded). */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]):not([type="image"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="color"]),
select {
  box-sizing: border-box;
  height: var(--novamx-control-height);
  min-height: var(--novamx-control-height);
  padding: 0 var(--novamx-control-padding-x);
  border: 1px solid var(--novamx-border);
  border-radius: var(--novamx-radius-md);
  background: var(--novamx-surface);
  color: var(--novamx-text);
  font-family: inherit;
  font-size: var(--novamx-control-font-size);
  line-height: 1.25;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23667085' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 0.75rem 0.5rem;
  padding-right: 2.25rem;
}

:root[data-theme="dark"] select,
body[data-theme="dark"] select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23b9c6d4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  body.theme-auto:not([data-theme="light"]) select,
  body:not([data-theme]):not(.theme-auto) select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23b9c6d4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}

textarea {
  box-sizing: border-box;
  min-height: 7rem;
  padding: 0.75rem var(--novamx-control-padding-x);
  border: 1px solid var(--novamx-border);
  border-radius: var(--novamx-radius-md);
  background: var(--novamx-surface);
  color: var(--novamx-text);
  font-family: inherit;
  font-size: var(--novamx-control-font-size);
  line-height: 1.45;
  resize: vertical;
}

:root[data-theme="light"] {
  --portal-panel-bg: #ffffff;
  --portal-panel-border: #d7dee6;
  --nav-submenu-bg: #ffffff;
  --nav-submenu-border: #d7dee6;
  --novamx-bg: #f5f7fa;
  --novamx-surface: #ffffff;
  --novamx-surface-alt: #eef2f6;
  --novamx-text: #0a1a2f;
  --novamx-text-muted: #2e3a45;
  --novamx-border: #d7dee6;
}

body[data-theme="light"] {
  color-scheme: light;
  --novamx-bg: #f5f7fa;
  --novamx-surface: #ffffff;
  --novamx-surface-alt: #eef2f6;
  --novamx-text: #0a1a2f;
  --novamx-text-muted: #2e3a45;
  --novamx-border: #d7dee6;
  --site-bg-image: var(--site-bg-light);
  --site-bg-scrim: rgba(245, 247, 250, 0.16);
}

body[data-theme="dark"] {
  color-scheme: dark;
  --novamx-bg: #08121f;
  --novamx-surface: #0c1a2b;
  --novamx-surface-alt: #12263c;
  --novamx-text: #eaf0f6;
  --novamx-text-muted: #b9c6d4;
  --novamx-border: #223a52;
  --site-bg-image: var(--site-bg-dark);
  --site-bg-scrim: rgba(8, 18, 31, 0.72);
}

@media (prefers-color-scheme: light) {
  body.theme-auto:not([data-theme="dark"]),
  body:not([data-theme]):not(.theme-auto) {
    --site-bg-image: var(--site-bg-light);
    --site-bg-scrim: rgba(245, 247, 250, 0.16);
  }
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--novamx-interactive);
}

:focus-visible {
  outline: 2px solid var(--novamx-focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  padding: 0.65rem 1rem;
  border-radius: var(--novamx-radius-md);
  background: var(--novamx-surface);
  border: 1px solid var(--novamx-border);
  font-weight: var(--novamx-font-weight-semibold);
}

.skip-link:focus {
  top: 1rem;
}

#main-content {
  position: relative;
  z-index: 1;
}

.site-shell {
  width: min(var(--novamx-max-content-width), calc(100% - 2.5rem));
  margin-inline: auto;
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* Above Nova chat (1200) so open nav/user menus are never covered */
  z-index: 1400;
  overflow: visible;
}

.site-header-bar {
  width: 100%;
  overflow: visible;
  position: relative;
  z-index: 1;
  /* Opaque enough that nav text contrast does not depend on the photo behind it */
  background: #08121F;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

:root[data-theme="dark"] .site-header-bar,
body[data-theme="dark"] .site-header-bar {
  background: #08121F;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

:root[data-theme="light"] .site-header-bar,
body[data-theme="light"] .site-header-bar {
  background: #ffffff;
  border-bottom-color: rgba(8, 18, 31, 0.12);
  box-shadow: none;
}

@media (prefers-color-scheme: light) {
  body.theme-auto:not([data-theme="dark"]) .site-header-bar {
    background: #ffffff;
    border-bottom-color: rgba(8, 18, 31, 0.12);
    box-shadow: none;
  }
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand nav account";
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: var(--site-header-height);
  padding: 0.65rem max(1.25rem, env(safe-area-inset-right)) 0.65rem max(1rem, env(safe-area-inset-left));
  overflow: visible;
}

.site-brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.site-brand img {
  width: min(156px, 34vw);
  height: auto;
  max-height: 85px;
  object-fit: contain;
}

.site-brand .brand-logo-light {
  display: none;
}

:root[data-theme="light"] .site-brand .brand-logo-dark,
body[data-theme="light"] .site-brand .brand-logo-dark {
  display: none;
}

:root[data-theme="light"] .site-brand .brand-logo-light,
body[data-theme="light"] .site-brand .brand-logo-light {
  display: block;
}

@media (prefers-color-scheme: light) {
  body.theme-auto:not([data-theme="dark"]) .site-brand .brand-logo-dark {
    display: none;
  }

  body.theme-auto:not([data-theme="dark"]) .site-brand .brand-logo-light {
    display: block;
  }
}

.site-header-main {
  grid-area: nav;
  min-width: 0;
  justify-self: stretch;
  overflow: visible;
  z-index: 3;
}

.site-nav-toggle {
  display: none;
  grid-area: menu;
  border: 1px solid var(--portal-panel-border);
  background: var(--portal-panel-bg);
  color: var(--novamx-text);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
  justify-self: end;
}

.site-primary-nav {
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
}

.nav-links > li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-links > li > a[aria-current="page"],
.nav-links > li > a:hover,
.nav-links > li > a:focus-visible {
  color: #ffffff;
  background: rgba(52, 183, 255, 0.16);
}

.nav-group {
  position: relative;
  flex-shrink: 0;
}

.nav-group-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  border: 0;
  background: transparent;
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  white-space: nowrap;
  cursor: pointer;
}

.nav-group-trigger::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.72;
  flex-shrink: 0;
}

.nav-group-trigger[aria-current="true"],
.nav-group-trigger:hover,
.nav-group-trigger:focus-visible,
.nav-group.is-open > .nav-group-trigger {
  color: #ffffff;
  background: rgba(52, 183, 255, 0.16);
}

.nav-submenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  position: absolute;
  top: 100%;
  left: 0;
  width: 17.5rem;
  max-width: min(17.5rem, calc(100vw - 2rem));
  box-sizing: border-box;
  flex-direction: column;
  gap: 0.15rem;
  border-radius: 12px;
  border: 1px solid var(--nav-submenu-border);
  background: var(--nav-submenu-bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  z-index: 1300;
  text-align: left;
}

.nav-submenu--wide {
  width: 19rem;
  max-width: min(19rem, calc(100vw - 2rem));
}

.nav-submenu > li {
  width: 100%;
  margin: 0;
  padding: 0;
}

.nav-submenu::before {
  content: "";
  position: absolute;
  top: -0.45rem;
  left: 0;
  right: 0;
  height: 0.45rem;
}

.nav-submenu .nav-submenu-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 2.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  text-align: left;
  color: #eaf0f6;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.nav-submenu-label,
.nav-submenu-hint {
  display: block;
  width: 100%;
  text-align: left;
}

.nav-submenu-label {
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.25;
}

.nav-submenu-hint {
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #b9c6d4;
}

.nav-submenu .nav-submenu-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  box-shadow: none;
}

.nav-submenu .nav-submenu-link:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  box-shadow: none;
}

.nav-submenu .nav-submenu-link:hover .nav-submenu-hint {
  color: #c5d0db;
}

.nav-submenu .nav-submenu-link:focus-visible .nav-submenu-hint {
  color: #c5d0db;
}

.nav-submenu .nav-submenu-link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  box-shadow: inset 3px 0 0 #38bdf8;
}

.nav-submenu .nav-submenu-link[aria-current="page"] .nav-submenu-hint {
  color: #c5d0db;
}

.nav-submenu .nav-submenu-link:focus-visible {
  outline: 2px solid var(--novamx-accent);
  outline-offset: 2px;
}

:root[data-theme="light"] .nav-submenu-link,
body[data-theme="light"] .nav-submenu-link {
  color: #0a1a2f;
}

:root[data-theme="light"] .nav-submenu-hint,
body[data-theme="light"] .nav-submenu-hint {
  color: #4b637a;
}

:root[data-theme="light"] .nav-submenu-link:hover,
body[data-theme="light"] .nav-submenu-link:hover {
  background: rgba(10, 26, 47, 0.04);
  color: #0a1a2f;
  box-shadow: none;
}

:root[data-theme="light"] .nav-submenu-link:focus-visible,
body[data-theme="light"] .nav-submenu-link:focus-visible {
  background: rgba(10, 26, 47, 0.04);
  color: #0a1a2f;
  box-shadow: none;
}

:root[data-theme="light"] .nav-submenu-link:hover .nav-submenu-hint,
:root[data-theme="light"] .nav-submenu-link:focus-visible .nav-submenu-hint,
body[data-theme="light"] .nav-submenu-link:hover .nav-submenu-hint,
body[data-theme="light"] .nav-submenu-link:focus-visible .nav-submenu-hint {
  color: #3d556c;
}

:root[data-theme="light"] .nav-submenu-link[aria-current="page"],
body[data-theme="light"] .nav-submenu-link[aria-current="page"] {
  background: rgba(10, 26, 47, 0.05);
  color: #0a1a2f;
  box-shadow: inset 3px 0 0 #0a7abe;
}

@media (prefers-color-scheme: light) {
  body.theme-auto:not([data-theme="dark"]) .nav-submenu-link {
    color: #0a1a2f;
  }

  body.theme-auto:not([data-theme="dark"]) .nav-submenu-hint {
    color: #4b637a;
  }

  body.theme-auto:not([data-theme="dark"]) .nav-submenu-link:hover,
  body.theme-auto:not([data-theme="dark"]) .nav-submenu-link:focus-visible {
    background: rgba(10, 26, 47, 0.04);
    color: #0a1a2f;
    box-shadow: none;
  }

  body.theme-auto:not([data-theme="dark"]) .nav-submenu-link:hover .nav-submenu-hint,
  body.theme-auto:not([data-theme="dark"]) .nav-submenu-link:focus-visible .nav-submenu-hint {
    color: #3d556c;
  }
}

:root[data-theme="light"] .nav-links > li > a,
body[data-theme="light"] .nav-links > li > a {
  color: #24415d;
}

:root[data-theme="light"] .nav-group-trigger,
body[data-theme="light"] .nav-group-trigger {
  color: #24415d;
}

:root[data-theme="light"] .nav-links > li > a[aria-current="page"],
:root[data-theme="light"] .nav-links > li > a:hover,
:root[data-theme="light"] .nav-links > li > a:focus-visible,
body[data-theme="light"] .nav-links > li > a[aria-current="page"],
body[data-theme="light"] .nav-links > li > a:hover,
body[data-theme="light"] .nav-links > li > a:focus-visible,
:root[data-theme="light"] .nav-group-trigger[aria-current="true"],
:root[data-theme="light"] .nav-group-trigger:hover,
:root[data-theme="light"] .nav-group-trigger:focus-visible,
:root[data-theme="light"] .nav-group.is-open > .nav-group-trigger,
body[data-theme="light"] .nav-group-trigger[aria-current="true"],
body[data-theme="light"] .nav-group-trigger:hover,
body[data-theme="light"] .nav-group-trigger:focus-visible,
body[data-theme="light"] .nav-group.is-open > .nav-group-trigger {
  color: #0a1a2f;
  background: rgba(10, 122, 190, 0.14);
  box-shadow: inset 0 0 0 1px rgba(10, 122, 190, 0.22);
}

@media (prefers-color-scheme: light) {
  body.theme-auto:not([data-theme="dark"]) .nav-links > li > a {
    color: #24415d;
  }

  body.theme-auto:not([data-theme="dark"]) .nav-group-trigger {
    color: #24415d;
  }

  body.theme-auto:not([data-theme="dark"]) .nav-links > li > a[aria-current="page"],
  body.theme-auto:not([data-theme="dark"]) .nav-links > li > a:hover,
  body.theme-auto:not([data-theme="dark"]) .nav-links > li > a:focus-visible,
  body.theme-auto:not([data-theme="dark"]) .nav-group-trigger[aria-current="true"],
  body.theme-auto:not([data-theme="dark"]) .nav-group-trigger:hover,
  body.theme-auto:not([data-theme="dark"]) .nav-group-trigger:focus-visible,
  body.theme-auto:not([data-theme="dark"]) .nav-group.is-open > .nav-group-trigger {
    color: #0a1a2f;
    background: rgba(10, 122, 190, 0.14);
    box-shadow: inset 0 0 0 1px rgba(10, 122, 190, 0.22);
  }
}

.portal-header-actions {
  grid-area: account;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  justify-self: end;
  overflow: visible;
  z-index: 2;
  padding-inline-end: 0.15rem;
}

.portal-user-menu {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
}

.portal-user-menu-trigger {
  align-items: center;
  background: var(--portal-panel-bg);
  border: 1px solid var(--portal-panel-border);
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  gap: 0;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0;
  font: inherit;
  justify-content: center;
}

.portal-user-menu-trigger-icon {
  padding: 0;
  border-radius: 999px;
}

.profile-avatar-icon-wrap {
  padding: 0;
}

.profile-avatar-icon {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
}

.portal-user-menu-trigger .profile-avatar {
  background: rgba(143, 216, 255, 0.28);
  border: 1px solid rgba(143, 216, 255, 0.45);
  color: #eaf6ff;
  height: 2.5rem;
  min-width: 2.5rem;
}

:root[data-theme="light"] .portal-user-menu-trigger .profile-avatar,
body[data-theme="light"] .portal-user-menu-trigger .profile-avatar {
  background: rgba(10, 26, 47, 0.07);
  border-color: rgba(10, 26, 47, 0.24);
  color: #0a1a2f;
}

:root[data-theme="light"] .portal-user-menu-trigger:hover .profile-avatar,
:root[data-theme="light"] .portal-user-menu-trigger:focus-visible .profile-avatar,
body[data-theme="light"] .portal-user-menu-trigger:hover .profile-avatar,
body[data-theme="light"] .portal-user-menu-trigger:focus-visible .profile-avatar {
  background: rgba(10, 122, 190, 0.12);
  border-color: rgba(10, 122, 190, 0.32);
  color: #0a1a2f;
}

@media (prefers-color-scheme: light) {
  body.theme-auto:not([data-theme="dark"]) .portal-user-menu-trigger .profile-avatar {
    background: rgba(10, 26, 47, 0.07);
    border-color: rgba(10, 26, 47, 0.24);
    color: #0a1a2f;
  }

  body.theme-auto:not([data-theme="dark"]) .portal-user-menu-trigger:hover .profile-avatar,
  body.theme-auto:not([data-theme="dark"]) .portal-user-menu-trigger:focus-visible .profile-avatar {
    background: rgba(10, 122, 190, 0.12);
    border-color: rgba(10, 122, 190, 0.32);
    color: #0a1a2f;
  }
}

.portal-user-menu-trigger:hover .profile-avatar,
.portal-user-menu-trigger:focus-visible .profile-avatar {
  background: rgba(143, 216, 255, 0.38);
  border-color: rgba(143, 216, 255, 0.65);
  color: #ffffff;
}

.portal-user-menu-panel {
  background: var(--portal-panel-bg);
  border: 1px solid var(--portal-panel-border);
  border-radius: var(--portal-panel-radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 0;
  min-width: 11rem;
  overflow: hidden;
  padding: 0.45rem;
  position: absolute;
  right: 0;
  left: auto;
  top: calc(100% + 0.45rem);
  width: max-content;
  z-index: 1100;
}

.portal-user-menu-panel[hidden] {
  display: none !important;
}

:root[data-theme="light"] .portal-user-menu-panel,
body[data-theme="light"] .portal-user-menu-panel {
  background: #ffffff;
  border-color: #d7dee6;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.portal-preferences-modal {
  background: var(--portal-panel-bg);
  border: 1px solid var(--portal-panel-border);
  border-radius: var(--portal-panel-radius);
  color: inherit;
  max-width: min(28rem, calc(100vw - 2rem));
  padding: 0;
  width: 100%;
}

.portal-preferences-modal::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

:root[data-theme="light"] .portal-preferences-modal,
body[data-theme="light"] .portal-preferences-modal {
  background: #ffffff;
}

.portal-preferences-modal-form {
  display: grid;
  gap: var(--novamx-space-3, 0.75rem);
  margin: 0;
  padding: var(--novamx-space-4, 1rem);
}

.portal-preferences-modal-form .subtitle {
  margin: 0;
  color: var(--novamx-text-muted);
  font-size: 0.95rem;
}

.portal-preferences-modal-head {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
}

.portal-preferences-modal-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.portal-preferences-modal-close {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  min-height: 2.25rem;
  min-width: 2.25rem;
}

.portal-preferences-field {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

.portal-preferences-field select {
  width: 100%;
}

.portal-preferences-modal-actions {
  display: flex;
  justify-content: flex-end;
}

.portal-user-menu-trigger:focus-visible {
  outline: 2px solid rgba(143, 216, 255, 0.85);
  outline-offset: 2px;
}

.profile-avatar-wrap {
  display: inline-flex;
  position: relative;
}

.profile-avatar {
  align-items: center;
  background: rgba(143, 216, 255, 0.18);
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  height: 2rem;
  justify-content: center;
  letter-spacing: 0.04em;
  min-width: 2rem;
  text-transform: uppercase;
}

.portal-user-menu-item {
  background: transparent;
  border: 0;
  border-radius: calc(var(--portal-panel-radius) - 0.25rem);
  box-sizing: border-box;
  color: inherit;
  cursor: pointer;
  display: block;
  font: inherit;
  margin: 0;
  max-width: 100%;
  padding: 0.65rem 0.75rem;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.portal-user-menu-panel a.portal-user-menu-item {
  color: inherit;
  text-decoration: none;
}

.portal-user-menu-panel .portal-user-menu-item:hover,
.portal-user-menu-panel .portal-user-menu-item:focus-visible {
  background: rgba(143, 216, 255, 0.12);
  color: var(--novamx-interactive);
  outline: 2px solid var(--novamx-focus);
  outline-offset: 2px;
  text-decoration: none;
}

.portal-user-menu-item[aria-pressed="true"],
.portal-user-menu-item[aria-checked="true"] {
  background: rgba(143, 216, 255, 0.18);
  font-weight: 700;
}

.portal-user-menu-item-accent {
  color: #38bdf8;
  font-weight: 700;
}

.site-nav-toggle {
  display: none;
  border: 1px solid var(--portal-panel-border);
  background: var(--portal-panel-bg);
  color: var(--novamx-text);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #04111f;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  gap: 0.45rem;
  height: var(--novamx-control-height);
  min-height: var(--novamx-control-height);
  padding: 0 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--novamx-control-font-size);
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.btn.primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #04111f;
}

.btn.secondary {
  border-color: var(--novamx-border);
  background: var(--novamx-surface);
  color: var(--novamx-text);
}

.btn.ghost {
  border-color: var(--novamx-border);
  background: transparent;
  color: var(--novamx-text-muted);
  height: 2.25rem;
  min-height: 2.25rem;
  padding-inline: 0.75rem;
  font-size: 0.85rem;
}

.btn.ghost[aria-pressed="true"] {
  border-color: var(--novamx-accent);
  color: var(--novamx-text);
}

.section-panel {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--novamx-border);
  border-radius: 1.5rem;
  background: color-mix(in srgb, var(--novamx-surface) 96%, transparent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

:root[data-theme="dark"] .section-panel,
body[data-theme="dark"] .section-panel {
  background: var(--novamx-surface);
}

/* Soft top rim highlight (shared across marketing panels). */
.section-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, #38bdf8 55%, var(--novamx-border)) 20%,
    color-mix(in srgb, #38bdf8 35%, var(--novamx-border)) 80%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

:root[data-theme="light"] .section-panel,
body[data-theme="light"] .section-panel {
  background: color-mix(in srgb, var(--novamx-surface) 98%, transparent);
  box-shadow: 0 16px 40px rgba(8, 18, 31, 0.06);
}

:root[data-theme="light"] .section-panel::before,
body[data-theme="light"] .section-panel::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, #0369a1 40%, var(--novamx-border)) 20%,
    color-mix(in srgb, #0369a1 28%, var(--novamx-border)) 80%,
    transparent 100%
  );
}

@media (prefers-color-scheme: light) {
  body.theme-auto:not([data-theme="dark"]) .section-panel::before {
    background: linear-gradient(
      90deg,
      transparent 0%,
      color-mix(in srgb, #0369a1 40%, var(--novamx-border)) 20%,
      color-mix(in srgb, #0369a1 28%, var(--novamx-border)) 80%,
      transparent 100%
    );
  }
}

.hero {
  padding: clamp(1.75rem, 4vw, 3rem);
  margin-top: 0.5rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.18;
  max-width: 22em;
  letter-spacing: -0.015em;
}

.hero > .lede {
  font-size: 1.05rem;
  max-width: 58ch;
}

.hero-differentiators {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-diff-item {
  padding: 0.95rem 1rem;
  border: 1px solid var(--novamx-border);
  border-radius: var(--novamx-radius-md);
  background: color-mix(in srgb, var(--novamx-surface) 94%, transparent);
}

.hero-diff-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
  line-height: 1.3;
}

.hero-diff-item p {
  margin: 0;
  font-size: var(--novamx-font-size-200);
  line-height: 1.45;
  color: var(--novamx-text-muted);
}

@media (max-width: 900px) {
  .hero-differentiators {
    grid-template-columns: 1fr;
  }
}

.hero-actions {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.hero-trust-callout {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--novamx-border);
  border-radius: var(--novamx-radius-md);
  background: color-mix(in srgb, var(--novamx-surface) 94%, transparent);
}

.hero-trust-callout__title {
  margin: 0 0 0.4rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-trust-callout__copy {
  margin: 0;
  color: var(--novamx-text-muted);
  font-size: var(--novamx-font-size-200);
  line-height: 1.45;
}

.hero-tools {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--novamx-border);
}

.hero-tools-title {
  margin: 0.35rem 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.12;
}

.hero-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-tools-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.hero-tools-results {
  margin-top: 1rem;
}

.hero-tool-panel .marketing-domain-search-results,
.hero-tools-results .marketing-domain-search-results {
  width: 100%;
}

.hero-tool-panel {
  padding: 1rem;
  border: 1px solid var(--novamx-border);
  border-radius: var(--novamx-radius-md);
  background: color-mix(in srgb, var(--novamx-surface) 96%, transparent);
}

.hero-tool-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.check-results-compact {
  margin-top: 0.75rem;
}

.check-results-compact .check-summary {
  margin-bottom: 0.5rem;
}

.marketing-domain-search-intro {
  margin: 0 0 0.75rem;
}

.marketing-domain-search-results + .marketing-domain-search-results {
  margin-top: 1rem;
}

.marketing-domain-search-results {
  padding: 0.15rem 0.15rem 0;
}

.marketing-domain-search-heading {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.marketing-domain-search-table {
  width: 100%;
  table-layout: fixed;
}

.marketing-domain-search-table .col-domain {
  width: 42%;
}

.marketing-domain-search-table .col-status {
  width: 22%;
}

.marketing-domain-search-table .col-price {
  width: 22%;
}

.marketing-domain-search-table .col-action {
  width: 14%;
}

.marketing-domain-search-table th,
.marketing-domain-search-table td {
  padding: 0.65rem 0.85rem;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.marketing-domain-search-table td:last-child,
.marketing-domain-search-table th:last-child {
  text-align: right;
}

.marketing-domain-search-status.is-available {
  color: var(--novamx-success, #0a7a44);
}

.marketing-domain-search-status.is-transfer {
  color: var(--novamx-warning, #9a6700);
}

.marketing-domain-search-status.is-unavailable {
  color: var(--novamx-muted, #667085);
}

.marketing-domain-offer-detail {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--novamx-border) 80%, transparent);
  border-radius: var(--novamx-radius-md);
  background: color-mix(in srgb, var(--novamx-surface) 96%, transparent);
}

.marketing-domain-offer-detail .check-summary,
.marketing-domain-offer-detail .check-result-card,
.marketing-domain-offer-detail .marketing-domain-order-form {
  margin-top: 0.75rem;
}

.marketing-domain-order-form {
  display: grid;
  gap: 0.85rem;
}

.marketing-domain-order-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.marketing-domain-order-field select {
  width: 100%;
  max-width: 28rem;
}

/* My NovaMX-parity domain configure / upsell on marketing */
.domain-upsell-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 20rem);
  gap: 1.25rem 1.5rem;
  align-items: start;
  margin-top: 0.85rem;
  width: 100%;
}

.domain-upsell-main {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.domain-upsell-main > * {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
}

.domain-upsell-main > .check-summary {
  margin: 0;
}

.domain-upsell-main > .check-result-card {
  margin: 0;
}

.domain-upsell-main > .domain-upsell-heading {
  margin: 0.35rem 0 0;
}

.domain-upsell-main > .check-muted {
  margin: 0;
}

.domain-upsell-heading {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--novamx-text);
}

.domain-upsell-subheading {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--novamx-text);
}

.domain-upsell-domain-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--novamx-border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--novamx-surface) 92%, transparent);
}

.domain-upsell-domain-icon {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--novamx-accent);
  flex: 0 0 auto;
}

.domain-upsell-domain-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
}

.domain-upsell-domain-copy strong {
  font-size: 1.05rem;
}

.domain-upsell-added-badge {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #166534;
  background: color-mix(in srgb, #22c55e 18%, transparent);
  border: 1px solid color-mix(in srgb, #22c55e 35%, transparent);
}

.domain-configure-block {
  margin: 0;
  padding: 1rem 1.05rem 1.15rem;
  border: 1px solid var(--novamx-border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--novamx-surface) 94%, transparent);
}

.domain-period-add-panel {
  margin: 0;
}

.domain-auto-renew-toggle {
  margin-top: 0.65rem;
}

.marketing-switch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  cursor: pointer;
}

.marketing-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.marketing-switch-ui {
  width: 2.4rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--novamx-text-muted) 35%, transparent);
  border: 1px solid var(--novamx-border);
  position: relative;
  flex: 0 0 auto;
}

.marketing-switch-ui::after {
  content: "";
  position: absolute;
  top: 0.12rem;
  left: 0.12rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}

.marketing-switch input:checked + .marketing-switch-ui {
  background: color-mix(in srgb, var(--novamx-accent) 70%, #1d4ed8);
  border-color: color-mix(in srgb, var(--novamx-accent) 55%, transparent);
}

.marketing-switch input:checked + .marketing-switch-ui::after {
  transform: translateX(1.05rem);
}

.marketing-switch input:focus-visible + .marketing-switch-ui {
  outline: 2px solid var(--novamx-focus, var(--novamx-accent));
  outline-offset: 2px;
}

.marketing-switch-copy {
  display: grid;
  gap: 0.15rem;
}

.domain-period-add-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.domain-period-add-cards:has(> :only-child) {
  grid-template-columns: 1fr;
}

.domain-period-add-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.95rem 1rem;
  border: 1px solid var(--novamx-border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--novamx-surface) 96%, transparent);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.domain-period-add-card:hover,
.domain-period-add-card:focus-visible {
  border-color: color-mix(in srgb, var(--novamx-accent) 55%, var(--novamx-border));
  outline: none;
}

.domain-period-add-card.is-selected {
  border-color: var(--novamx-accent);
  background: color-mix(in srgb, var(--novamx-accent) 12%, var(--novamx-surface));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--novamx-accent) 45%, transparent);
}

.domain-period-add-card-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--novamx-text);
}

.domain-period-add-card-price {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.domain-period-add-card-price strong {
  color: var(--novamx-text);
}

.customer-domain-nameserver-panel {
  margin: 1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--novamx-border);
}

.customer-domain-nameserver-options {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.customer-domain-nameserver-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid var(--novamx-border);
  border-radius: 10px;
  cursor: pointer;
  background: color-mix(in srgb, var(--novamx-surface) 96%, transparent);
}

.customer-domain-nameserver-option:has(input:checked) {
  border-color: color-mix(in srgb, var(--novamx-accent) 65%, var(--novamx-border));
  background: color-mix(in srgb, var(--novamx-accent) 10%, var(--novamx-surface));
}

.customer-domain-nameserver-option input {
  margin-top: 0.2rem;
}

.customer-domain-nameserver-option-copy {
  display: grid;
  gap: 0.45rem;
}

.marketing-nameserver-hosts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
}

.marketing-nameserver-hosts code {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--novamx-text) 8%, transparent);
  font-size: 0.85rem;
}

.domain-configure-add-row {
  margin-top: 1.1rem;
}

.domain-configure-added-note {
  margin-top: 1rem;
}

.domain-upsell-section {
  margin: 0;
}

.domain-upsell-cards-lead {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--novamx-text);
}

.domain-upsell-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.domain-upsell-card {
  border: 1px solid color-mix(in srgb, var(--novamx-accent) 35%, var(--novamx-border));
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--novamx-accent) 10%, var(--novamx-surface)),
    color-mix(in srgb, var(--novamx-surface) 96%, transparent)
  );
  overflow: hidden;
}

.domain-upsell-card.is-added {
  border-color: color-mix(in srgb, #22c55e 45%, var(--novamx-border));
  background: linear-gradient(
    135deg,
    color-mix(in srgb, #22c55e 12%, var(--novamx-surface)),
    color-mix(in srgb, var(--novamx-surface) 96%, transparent)
  );
}

.domain-upsell-card-badge {
  display: inline-block;
  margin: 0.85rem 0 0 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--novamx-accent) 16%, var(--novamx-surface));
  border: 1px solid color-mix(in srgb, var(--novamx-accent) 40%, var(--novamx-border));
  color: var(--novamx-text);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.domain-upsell-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9rem, 12rem);
  gap: 1rem;
  padding: 0.85rem 1rem 1rem;
}

.domain-upsell-card-copy h4 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--novamx-text);
}

.domain-upsell-card-price {
  margin: 0.5rem 0 0.85rem;
  font-size: 1.05rem;
}

.domain-upsell-card-price strong {
  font-size: 1.25rem;
  color: var(--novamx-text);
}

.domain-upsell-card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.domain-upsell-card-features {
  margin: 0;
}

.domain-upsell-card-features-title {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--novamx-text-muted);
}

.domain-upsell-card-features ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.domain-upsell-card-features li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.4rem;
  align-items: start;
  font-size: 0.92rem;
}

.domain-upsell-check {
  color: #166534;
  font-weight: 700;
}

.marketing-domain-upsell-layout > .marketing-cart-panel {
  margin-top: 0;
  position: sticky;
  top: 5.5rem;
  align-self: start;
  width: 100%;
  box-sizing: border-box;
}

.marketing-cart-waitlist {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.marketing-cart-waitlist[hidden] {
  display: none;
}

.marketing-cart-waitlist-label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.marketing-cart-waitlist-email {
  width: 100%;
  box-sizing: border-box;
}

.marketing-cart-waitlist-submit {
  width: 100%;
}

.marketing-cart-actions:empty {
  display: none;
}

@media (max-width: 960px) {
  .domain-upsell-layout {
    grid-template-columns: 1fr;
  }

  .marketing-domain-upsell-layout > .marketing-cart-panel {
    position: static;
    order: -1;
  }

  .domain-upsell-card-main {
    grid-template-columns: 1fr;
  }

  .domain-period-add-cards {
    grid-template-columns: 1fr;
  }
}

.marketing-package-cards-intro {
  display: grid;
  gap: 0.25rem;
}

.marketing-package-cards-title {
  margin: 0;
  font-size: 1.05rem;
}

.marketing-package-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.85rem;
}

.marketing-package-card {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  text-align: left;
  padding: 1rem 1.05rem;
  border: 1px solid var(--novamx-border);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--novamx-surface) 94%, transparent);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.marketing-package-card:hover,
.marketing-package-card:focus-visible {
  border-color: color-mix(in srgb, var(--novamx-accent) 55%, var(--novamx-border));
  outline: none;
}

.marketing-package-card.is-selected {
  border-color: var(--novamx-accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--novamx-accent) 55%, transparent);
  background: color-mix(in srgb, var(--novamx-accent) 10%, var(--novamx-surface));
}

.marketing-package-card-badge {
  justify-self: start;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--novamx-border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--novamx-text-muted);
}

.marketing-package-card.is-selected .marketing-package-card-badge {
  border-color: color-mix(in srgb, var(--novamx-accent) 50%, var(--novamx-border));
  color: var(--novamx-accent);
}

.marketing-package-card-name {
  font-size: 1.05rem;
}

.marketing-package-card-price {
  font-weight: 700;
}

.marketing-package-card-price.is-free {
  color: var(--novamx-text-muted);
  font-weight: 600;
}

.marketing-package-card-desc,
.marketing-package-card-features {
  margin: 0;
  color: var(--novamx-text-muted);
  font-size: var(--novamx-font-size-200);
  line-height: 1.45;
}

.marketing-package-card-features {
  padding-left: 1.1rem;
}

.marketing-package-card-features li + li {
  margin-top: 0.25rem;
}

.marketing-cart-panel {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--novamx-border);
  border-radius: var(--novamx-radius-md);
  background: color-mix(in srgb, var(--novamx-surface) 96%, transparent);
}

.marketing-cart-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.marketing-cart-notice {
  margin: 0 0 0.75rem;
}

.marketing-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.marketing-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--novamx-border) 85%, transparent);
  border-radius: 0.65rem;
}

.marketing-cart-item-main {
  display: grid;
  gap: 0.15rem;
}

.marketing-cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.marketing-cart-feedback {
  margin: 0;
}

.tool-form--domain .domain-search-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  border: 1px solid var(--novamx-border);
  border-radius: var(--novamx-radius-md);
  overflow: hidden;
  background: var(--novamx-surface);
}

.tool-form--domain .domain-search-bar:focus-within {
  border-color: var(--novamx-accent, #38bdf8);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--novamx-accent, #38bdf8) 35%, transparent);
}

.tool-form--domain .domain-search-bar > input {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  height: var(--novamx-control-height);
  min-height: var(--novamx-control-height);
  padding: 0 var(--novamx-control-padding-x);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tool-form--domain .domain-search-bar > input:focus,
.tool-form--domain .domain-search-bar > input:focus-visible {
  outline: none;
  box-shadow: none;
}

.tool-form--domain .domain-search-bar > .btn {
  flex: 0 0 auto;
  margin: 0;
  height: var(--novamx-control-height);
  min-height: var(--novamx-control-height);
  padding-inline: 1.25rem;
  border: 0;
  border-radius: 0;
  box-shadow: inset 1px 0 0 color-mix(in srgb, var(--novamx-border) 90%, transparent);
}

.tool-form--domain .domain-search-bar > .btn:focus-visible {
  outline: 2px solid var(--novamx-text);
  outline-offset: -2px;
}

.check-muted {
  color: var(--novamx-muted, #667085);
}

.marketing-domain-inspiration {
  margin: 0;
  border: 1px solid var(--novamx-border);
  border-radius: var(--novamx-radius-md);
  padding: 0.85rem 1rem;
  background: color-mix(in srgb, var(--novamx-surface) 96%, transparent);
  container-type: inline-size;
}

.marketing-domain-inspiration > summary {
  cursor: pointer;
  font-weight: 600;
}

.marketing-domain-inspiration-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.85rem;
}

.marketing-domain-inspiration-body > .check-muted {
  margin: 0;
  line-height: 1.5;
}

.marketing-domain-inspiration-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@container (min-width: 22rem) {
  .marketing-domain-inspiration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container (min-width: 36rem) {
  .marketing-domain-inspiration-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.marketing-domain-inspiration-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.marketing-domain-inspiration-field select {
  width: 100%;
  min-width: 0;
}

.marketing-domain-inspiration-actions {
  margin-top: 0.15rem;
}

.marketing-price-promo {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}

.marketing-price-badge {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--novamx-success, #0a7a44);
  background: color-mix(in srgb, var(--novamx-success, #0a7a44) 14%, transparent);
}

.marketing-price-regular {
  text-decoration: line-through;
  color: var(--novamx-muted, #667085);
}

.marketing-price-premium {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.75rem;
  color: var(--novamx-muted, #667085);
}

.comparison-table .btn-sm {
  padding: 0.35rem 0.65rem;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .hero-tools-grid {
    grid-template-columns: 1fr;
  }
}

.section {
  margin-top: 1.25rem;
}

.section-panel {
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

:root[data-theme="light"] .eyebrow,
body[data-theme="light"] .eyebrow {
  color: #0369a1;
}

@media (prefers-color-scheme: light) {
  body.theme-auto:not([data-theme="dark"]) .eyebrow {
    color: #0369a1;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.12;
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.lede {
  color: var(--novamx-text-muted);
  font-size: 1.12rem;
  margin: 0 0 1rem;
}

.price-footnote-block {
  display: grid;
  gap: 0.55rem;
  max-width: 52rem;
  margin: 0 0 1rem;
}

.price-footnote-block .price-footnote {
  margin: 0;
}

.price-footnote {
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 52rem;
}

.section-panel > .lede + .lede {
  margin-top: 1rem;
}

.section-panel > .actions {
  margin-top: 1.5rem;
}

.link-block {
  margin-top: 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.grid-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.15rem;
  align-items: stretch;
}

@media (max-width: 960px) {
  .grid-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .grid-services {
    grid-template-columns: 1fr;
  }
}

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

.card,
.price-card,
.check-card,
.tool-card {
  padding: 1.15rem;
  border: 1px solid var(--novamx-border);
  border-radius: 1rem;
  background: var(--novamx-surface-alt);
}

.grid-services .card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 1.35rem 1.4rem;
  gap: 0.5rem;
}

.grid-services .card h3 {
  margin: 0 0 0.35rem;
}

.card-copy {
  font-size: var(--novamx-font-size-200);
}

.grid-services .card-copy {
  flex: 1 1 auto;
  margin: 0;
  color: var(--novamx-text-muted);
  line-height: 1.55;
}

.grid-services .card-why {
  margin: 0;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--novamx-text-muted);
  line-height: 1.55;
}

.grid-services .card-link {
  margin: 0;
  margin-top: auto;
  padding-top: 1.15rem;
  min-width: 0;
}

.grid-services .card-link a,
.card .card-link a {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-decoration: none;
}

.grid-services .card-link a:hover,
.grid-services .card-link a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.card p,
.price-card p,
.check-card p {
  color: var(--novamx-text-muted);
  margin: 0;
}

.price-card > .price + p {
  margin-top: 0.55rem;
  line-height: 1.5;
}

.card ul,
.price-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--novamx-text-muted);
  line-height: 1.7;
}

.card-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: color-mix(in srgb, #38bdf8 16%, transparent);
  border: 1px solid color-mix(in srgb, #38bdf8 28%, var(--novamx-border));
  margin-bottom: 0.65rem;
  color: #0ea5e9;
}

.card-icon svg {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

:root[data-theme="light"] .card-icon,
body[data-theme="light"] .card-icon {
  color: #0369a1;
  background: color-mix(in srgb, #0369a1 10%, transparent);
  border-color: color-mix(in srgb, #0369a1 22%, var(--novamx-border));
}

.price {
  margin: 0.35rem 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}

.price .price-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--novamx-text);
}

.price .price-meta,
.price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--novamx-text-muted);
}

.price-card > .feature-list {
  margin-top: 0.85rem;
}

.price-card > .feature-list li + li {
  margin-top: 0.35rem;
}

.feature-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--novamx-text-muted);
  line-height: 1.75;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.25rem;
  align-items: start;
}

.founder-panel {
  overflow: visible;
}

.founder-story {
  position: relative;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 36%);
  gap: clamp(1rem, 3vw, 2rem);
}

.founder-copy {
  min-width: 0;
}

.founder-prose p {
  margin: 0 0 1rem;
  color: var(--novamx-text-muted);
  line-height: 1.75;
}

.founder-prose p:last-child {
  margin-bottom: 0;
}

.founder-principles {
  margin: 1.35rem 0 0;
  padding: 1rem 1.15rem 1rem 1.25rem;
  border: 1px solid var(--novamx-border);
  border-left: 3px solid var(--novamx-accent);
  border-radius: var(--novamx-radius-md);
  background: color-mix(in srgb, var(--novamx-surface-alt) 90%, transparent);
}

.founder-principles p {
  margin: 0;
  color: var(--novamx-text-muted);
  line-height: 1.75;
}

.founder-portrait {
  margin: -0.5rem 0 -3.75rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.founder-portrait img {
  display: block;
  width: clamp(16rem, 34vw, 25rem);
  max-width: none;
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.24));
}

.founder-portrait figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.75rem;
  color: var(--novamx-text-muted);
  font-size: 0.95rem;
}

.founder-portrait figcaption strong {
  color: var(--novamx-text);
  font-size: 1rem;
}

.founder-panel + .section-panel {
  margin-top: 2.5rem;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.kpi {
  padding: 1rem;
  border: 1px solid var(--novamx-border);
  border-radius: 0.85rem;
  background: var(--novamx-surface-alt);
}

.kpi strong {
  display: block;
  font-size: 1.35rem;
}

.kpi span {
  color: var(--novamx-text-muted);
  font-size: 0.85rem;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap > .comparison-table {
  min-width: 36rem;
}

.table-wrap > .marketing-domain-search-table {
  min-width: 18rem;
}

.tool-form-hint {
  margin-top: 0.75rem;
  font-size: var(--novamx-font-size-200);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid var(--novamx-border);
  padding: 0.65rem 0.75rem;
  text-align: left;
}

.comparison-table th {
  background: var(--novamx-surface-alt);
}

.comparison-table tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--novamx-surface-alt) 50%, transparent);
}

.comparison-table td[data-net-eur],
.price[data-net-eur] {
  line-height: 1.45;
}

@media (max-width: 720px) {
  .comparison-table td[data-net-eur] {
    font-size: 0.88rem;
  }
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  border: 1px solid var(--novamx-border);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--novamx-surface-alt);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-left: 1.35rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--novamx-interactive);
  line-height: 1.4;
}

.faq-list details[open] summary::before {
  content: "−";
}

.faq-list summary:focus {
  outline: none;
}

.faq-list summary:focus-visible {
  outline: 2px solid var(--novamx-accent);
  outline-offset: 3px;
  border-radius: 0.35rem;
}

:root[data-theme="light"] .faq-list summary:focus-visible,
body[data-theme="light"] .faq-list summary:focus-visible {
  outline-color: #0369a1;
}

@media (prefers-color-scheme: light) {
  body.theme-auto:not([data-theme="dark"]) .faq-list summary:focus-visible {
    outline-color: #0369a1;
  }
}

.site-nav-toggle:focus-visible {
  outline: 2px solid var(--novamx-accent);
  outline-offset: 3px;
}

.nav-group-trigger:focus-visible {
  outline: 2px solid var(--novamx-accent);
  outline-offset: 2px;
}

:root[data-theme="light"] .site-nav-toggle:focus-visible,
body[data-theme="light"] .site-nav-toggle:focus-visible {
  outline-color: #0369a1;
}

:root[data-theme="light"] .nav-group-trigger:focus-visible,
body[data-theme="light"] .nav-group-trigger:focus-visible {
  outline-color: #0369a1;
}

@media (prefers-color-scheme: light) {
  body.theme-auto:not([data-theme="dark"]) .site-nav-toggle:focus-visible {
    outline-color: #0369a1;
  }

  body.theme-auto:not([data-theme="dark"]) .nav-group-trigger:focus-visible {
    outline-color: #0369a1;
  }
}

.faq-list p {
  margin: 0.65rem 0 0;
  color: var(--novamx-text-muted);
}

.faq-list p a {
  color: var(--novamx-interactive);
  font-weight: 600;
  text-decoration: none;
}

.faq-list p a:hover,
.faq-list p a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.faq-glossary-link {
  margin: 1.15rem 0 0;
}

.faq-glossary-link a {
  font-weight: 600;
  text-decoration: none;
  color: var(--novamx-interactive);
}

.faq-glossary-link a:hover,
.faq-glossary-link a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.glossary-entry {
  scroll-margin-top: 6rem;
}

.glossary-entry + .glossary-entry {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--novamx-border);
}

.glossary-entry h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.glossary-entry p {
  margin: 0;
  color: var(--novamx-text-muted);
  line-height: 1.6;
}

.glossary-term-wrap {
  display: inline;
  white-space: normal;
}

.glossary-term {
  display: inline;
  white-space: nowrap;
}

.glossary-term__label {
  font-weight: 600;
}

.glossary-term__read-more {
  font-weight: 600;
  text-decoration: none;
  color: var(--novamx-interactive);
  white-space: nowrap;
}

.glossary-term__read-more:hover,
.glossary-term__read-more:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.glossary-term__help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.5rem;
  min-height: 1.5rem;
  box-sizing: content-box;
  margin-left: 0.12rem;
  padding: 0.35rem;
  border: 1px solid var(--novamx-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--novamx-surface-alt) 88%, transparent);
  color: var(--novamx-text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: super;
  cursor: pointer;
}

.glossary-term__help:hover,
.glossary-term__help:focus-visible {
  border-color: var(--novamx-interactive);
  color: var(--novamx-interactive);
}

.glossary-term__help:focus-visible {
  outline: 2px solid var(--novamx-focus);
  outline-offset: 2px;
}

.glossary-term__tip {
  display: block;
  margin: 0.35rem 0 0.65rem;
  padding: 0.55rem 0.7rem;
  border-left: 3px solid var(--novamx-interactive);
  background: color-mix(in srgb, var(--novamx-surface-alt) 90%, transparent);
  color: var(--novamx-text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.glossary-term__tip[hidden] {
  display: none;
}

.faq-glossary-heading {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.faq-list-glossary {
  margin-top: 0;
}

.breadcrumb {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--novamx-text-muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  text-decoration: none;
}

.tool-form {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) max-content;
  gap: 0.85rem;
  align-items: end;
  margin-top: 1rem;
}

.tool-form > * {
  min-width: 0;
}

.tool-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  overflow: hidden;
}

.tool-form input,
.tool-form select,
.tool-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.tool-form select {
  text-overflow: ellipsis;
}

.tool-form textarea {
  height: auto;
}

.tool-form > .btn,
.tool-form > button[type="submit"] {
  justify-self: end;
  width: auto;
  min-width: max-content;
  white-space: nowrap;
}

.tool-results {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.check-summary,
.check-result-card {
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--novamx-border);
  background: var(--novamx-surface);
}

.check-summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.check-card-status {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.check-card-status-ok { color: #16a34a; }
.check-card-status-warning,
.check-card-status-missing { color: #ca8a04; }
.check-card-status-critical,
.check-card-status-error { color: #dc2626; }
.check-card-status-info { color: #0ea5e9; }

:root[data-theme="light"] .check-card-status-ok,
body[data-theme="light"] .check-card-status-ok {
  color: #15803d;
}

:root[data-theme="light"] .check-card-status-warning,
:root[data-theme="light"] .check-card-status-missing,
body[data-theme="light"] .check-card-status-warning,
body[data-theme="light"] .check-card-status-missing {
  color: #a16207;
}

:root[data-theme="light"] .check-card-status-critical,
:root[data-theme="light"] .check-card-status-error,
body[data-theme="light"] .check-card-status-critical,
body[data-theme="light"] .check-card-status-error {
  color: #b91c1c;
}

:root[data-theme="light"] .check-card-status-info,
body[data-theme="light"] .check-card-status-info {
  color: #0369a1;
}

@media (prefers-color-scheme: light) {
  body.theme-auto:not([data-theme="dark"]) .check-card-status-ok {
    color: #15803d;
  }

  body.theme-auto:not([data-theme="dark"]) .check-card-status-warning,
  body.theme-auto:not([data-theme="dark"]) .check-card-status-missing {
    color: #a16207;
  }

  body.theme-auto:not([data-theme="dark"]) .check-card-status-critical,
  body.theme-auto:not([data-theme="dark"]) .check-card-status-error {
    color: #b91c1c;
  }

  body.theme-auto:not([data-theme="dark"]) .check-card-status-info {
    color: #0369a1;
  }
}

.check-next-step {
  margin: 0.55rem 0 0;
  color: var(--novamx-text-muted);
}

.check-domain-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.check-pricing-lines {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--novamx-text-muted);
}

.check-checkout-note {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  color: var(--novamx-text-muted);
}

.check-error {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, #dc2626 45%, transparent);
  background: color-mix(in srgb, #dc2626 12%, var(--novamx-surface));
}

.marketing-announcements {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: color-mix(in srgb, #ca8a04 12%, var(--novamx-surface));
  border-bottom: 1px solid color-mix(in srgb, #ca8a04 35%, transparent);
}

.marketing-announcement {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, #ca8a04 40%, transparent);
  background: var(--novamx-surface);
}

.marketing-announcement-copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.marketing-announcement-copy p {
  margin: 0.35rem 0 0;
}

.marketing-announcement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.loading-spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid color-mix(in srgb, var(--novamx-text-muted) 35%, transparent);
  border-top-color: #38bdf8;
  border-radius: 999px;
  animation: novamx-spin 0.8s linear infinite;
}

.portal-loading-card {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.portal-loading-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@keyframes novamx-spin {
  to { transform: rotate(360deg); }
}

#site-footer {
  margin-top: 2.5rem;
  background: #08121F;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

:root[data-theme="dark"] #site-footer,
body[data-theme="dark"] #site-footer {
  background: #08121F;
  border-top-color: rgba(255, 255, 255, 0.12);
}

:root[data-theme="light"] #site-footer,
body[data-theme="light"] #site-footer {
  background: #ffffff;
  border-top-color: rgba(8, 18, 31, 0.12);
  box-shadow: none;
}

@media (prefers-color-scheme: light) {
  body.theme-auto:not([data-theme="dark"]) #site-footer {
    background: #ffffff;
    border-top-color: rgba(8, 18, 31, 0.12);
    box-shadow: none;
  }
}

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--novamx-text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 0.35rem;
}

.footer-brand .brand-logo {
  width: min(156px, 70%);
  height: auto;
  max-height: 85px;
  object-fit: contain;
}

.footer-grid h2 {
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-grid a {
  text-decoration: none;
  color: var(--novamx-text-muted);
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--novamx-text);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.footer-legal {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--novamx-text-muted);
  line-height: 1.5;
}

.guide-prose h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.guide-prose p,
.guide-prose li {
  color: var(--novamx-text-muted);
  line-height: 1.65;
}

.guide-prose ol,
.guide-prose ul {
  margin: 0.75rem 0 1rem 1.25rem;
}

.guide-prose li + li {
  margin-top: 0.35rem;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.docs-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--novamx-border);
  border-radius: var(--novamx-radius-md);
  text-decoration: none;
  color: inherit;
  background: var(--novamx-surface);
}

.docs-card:hover,
.docs-card:focus-visible {
  border-color: var(--novamx-interactive);
}

.docs-card:focus-visible {
  outline: 2px solid var(--novamx-focus);
  outline-offset: 2px;
}

.docs-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.docs-card p {
  margin: 0;
  font-size: var(--novamx-font-size-200);
  color: var(--novamx-text-muted);
}

.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.25rem 0 0.35rem;
  padding: 0;
  list-style: none;
  color: var(--novamx-text-muted);
  font-size: 0.9rem;
}

.logo-cloud li {
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--novamx-border);
  border-radius: 999px;
}

.trust-badges-block {
  margin: 1.25rem 0 0;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-badges-footnote {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--novamx-text-muted);
}

.trust-badge {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--novamx-border);
  border-radius: var(--novamx-radius-md);
  background: color-mix(in srgb, var(--novamx-surface) 94%, transparent);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.trust-badge:hover,
.trust-badge:focus-visible {
  border-color: color-mix(in srgb, var(--novamx-interactive) 55%, var(--novamx-border));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.trust-badge__score {
  font-size: 1.35rem;
  font-weight: 800;
  color: #15803d;
}

.trust-badge__label {
  font-weight: 700;
}

.trust-badge__meta {
  font-size: 0.9rem;
  color: var(--novamx-text-muted);
}

.trust-badge__link {
  margin-top: 0.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--novamx-interactive);
}

.tld-price-loading {
  color: var(--novamx-text-muted);
  font-size: 0.92rem;
}

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

  .split,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .split.founder-story .founder-portrait {
    order: -1;
    margin: 0 auto 1rem;
  }

  .split.founder-story .founder-portrait img {
    width: min(100%, 16rem);
  }
}

.tool-form--spf {
  grid-template-columns: minmax(0, 1fr) auto;
}

.tool-form--domain {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.75rem;
  align-items: center;
}

.tool-form--domain > label {
  display: block;
  margin-bottom: 0.35rem;
}

.tool-form--domain > label > span {
  display: block;
}

.tool-form--domain > .domain-search-bar {
  grid-column: 1;
  grid-row: 2;
}

.tool-form--domain > .tool-form-hint {
  grid-column: 1;
  grid-row: 3;
  margin: 0.25rem 0 0;
}

.hero-tool-panel > .tool-form-hint,
.hero-tool-panel > p {
  margin: 0 0 0.75rem;
  font-size: var(--novamx-font-size-200);
  color: var(--novamx-text-muted);
  line-height: 1.55;
}

.tool-form--domain > .marketing-domain-inspiration {
  grid-column: 1;
  grid-row: 4;
  margin-top: 0.5rem;
}

@media (max-width: 540px) {
  .tool-form--domain > .marketing-domain-inspiration {
    grid-row: 4;
  }
}

@media (max-width: 1080px) {
  .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand menu account"
      "nav nav nav";
  }

  .site-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header-main {
    display: none;
    overflow: visible;
  }

  .site-header-main.is-open {
    display: block;
    padding: 0.35rem 0 0.65rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    justify-content: stretch;
  }

  .nav-links > li > a {
    width: 100%;
  }

  .nav-group {
    width: 100%;
  }

  .nav-group-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    width: 100%;
    margin: 0.2rem 0 0.45rem;
    padding: 0.35rem 0 0.35rem 0.75rem;
    border: 0;
    border-left: 2px solid rgba(52, 183, 255, 0.35);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-submenu-link {
    min-height: 2.75rem;
    padding: 0.65rem 0.75rem;
  }

  .nav-group.is-open .nav-submenu {
    display: flex;
  }

  .site-brand img {
    max-height: 68px;
    width: min(138px, 38vw);
  }
}

@media (min-width: 1081px) and (max-width: 1280px) {
  .nav-links > li > a,
  .nav-group-trigger {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }
}

@media (min-width: 1081px) {
  .site-header-main {
    display: block;
  }

  .nav-links {
    gap: 0.55rem;
    overflow: visible;
  }

  .nav-group:hover,
  .nav-group:focus-within,
  .nav-group.is-open {
    z-index: 40;
  }

  .nav-group:hover .nav-submenu,
  .nav-group:focus-within .nav-submenu,
  .nav-group.is-open .nav-submenu {
    display: flex;
  }
}

/* Responsive layout across marketing pages */
@media (max-width: 900px) {
  .tool-form:not(.tool-form--domain) {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .tool-form:not(.tool-form--domain) > .btn,
  .tool-form:not(.tool-form--domain) > button[type="submit"] {
    width: 100%;
  }

  .tool-form--spf {
    grid-template-columns: 1fr;
  }

  .tool-form--spf > .btn,
  .tool-form--spf > button[type="submit"] {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .marketing-domain-search-table th,
  .marketing-domain-search-table td {
    padding: 0.55rem 0.6rem;
    font-size: 0.88rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.55rem 0.6rem;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(var(--novamx-max-content-width), calc(100% - 1.25rem));
  }

  .site-header-inner {
    padding-inline: max(0.75rem, env(safe-area-inset-left)) max(0.75rem, env(safe-area-inset-right));
    gap: 0.55rem;
  }

  .hero {
    padding-inline: clamp(1rem, 3vw, 1.5rem);
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.55rem, 6vw, 2rem);
  }

  .section-panel {
    padding: clamp(1rem, 3.5vw, 1.35rem);
  }

  .actions .btn,
  .hero-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .tool-form--domain .domain-search-bar {
    flex-direction: column;
    gap: 0.65rem;
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .tool-form--domain .domain-search-bar:focus-within {
    box-shadow: none;
  }

  .tool-form--domain .domain-search-bar > input {
    border: 1px solid var(--novamx-border);
    border-radius: var(--novamx-radius-md);
    background: var(--novamx-surface);
  }

  .tool-form--domain .domain-search-bar > input:focus,
  .tool-form--domain .domain-search-bar > input:focus-visible {
    outline: 2px solid var(--novamx-accent);
    outline-offset: 2px;
  }

  .tool-form--domain .domain-search-bar > .btn {
    width: 100%;
    height: var(--novamx-control-height);
    min-height: var(--novamx-control-height);
    border-radius: var(--novamx-radius-md);
    box-shadow: none;
    border: 0;
  }

  .kpi-strip {
    grid-template-columns: 1fr;
  }

  .check-domain-actions .btn,
  .marketing-cart-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .trust-badges {
    grid-template-columns: 1fr;
  }
}

.help-layout {
  display: block;
}

.help-toolbar {
  margin-bottom: 1.25rem;
}

.help-search-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.help-search-input {
  width: 100%;
  max-width: 32rem;
}

.help-search-input:focus-visible {
  outline: 2px solid var(--novamx-focus);
  outline-offset: 2px;
}

.help-status {
  min-height: 1.25rem;
  margin: 0.5rem 0 0;
  color: var(--novamx-muted);
}

.help-columns {
  display: grid;
  gap: 1.5rem;
}

.help-sidebar-title,
.help-section-title,
.help-group-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.help-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.help-category-btn {
  border: 1px solid var(--novamx-border);
  background: var(--novamx-surface);
  color: var(--novamx-text);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}

.help-category-btn.is-active,
.help-category-btn:hover,
.help-category-btn:focus-visible {
  border-color: var(--novamx-interactive);
  color: var(--novamx-interactive);
}

.help-category-btn:focus-visible {
  outline: 2px solid var(--novamx-focus);
  outline-offset: 2px;
}

.help-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.help-article-link {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--novamx-border);
  border-radius: var(--novamx-radius-md);
  background: var(--novamx-surface);
  text-decoration: none;
  color: inherit;
}

.help-article-link:hover,
.help-article-link:focus-visible {
  border-color: var(--novamx-accent);
}

.help-article-link-title {
  font-weight: 600;
}

.help-article-link-summary {
  color: var(--novamx-muted);
  font-size: 0.95rem;
}

.help-article-groups {
  display: grid;
  gap: 1.25rem;
}

.help-back-link {
  border: 0;
  background: transparent;
  color: var(--novamx-accent);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.help-back-link:focus-visible {
  outline: 2px solid var(--novamx-focus);
  outline-offset: 2px;
}

.help-article-title {
  margin: 0 0 0.5rem;
}

.help-article-summary {
  color: var(--novamx-muted);
  margin: 0 0 1rem;
}

.help-empty {
  color: var(--novamx-muted);
}

@media (min-width: 900px) {
  .help-columns {
    grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
    align-items: start;
  }

  .help-category-list {
    flex-direction: column;
    align-items: stretch;
  }

  .help-category-btn {
    text-align: left;
    border-radius: var(--novamx-radius-md);
  }
}

/* Homepage layout (promoted from testhome) */
.page-home .home-hero {
  padding-bottom: 1.25rem;
}

.page-home .home-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.95fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
}

.page-home .home-hero-story h1 {
  max-width: 18em;
}

.page-home .home-stance {
  margin-bottom: 1rem;
}

.page-home .home-hero-try {
  min-width: 0;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid color-mix(in srgb, var(--novamx-border) 85%, #38bdf8);
  border-radius: var(--novamx-radius-md);
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--novamx-surface-alt) 90%, #38bdf8) 0%,
      color-mix(in srgb, var(--novamx-surface) 96%, transparent) 100%
    );
  box-shadow: 0 8px 22px color-mix(in srgb, #020617 16%, transparent);
}

:root[data-theme="light"] .page-home .home-hero-try,
body[data-theme="light"] .page-home .home-hero-try {
  border-color: color-mix(in srgb, var(--novamx-border) 80%, #0369a1);
  background:
    linear-gradient(
      160deg,
      #ffffff 0%,
      color-mix(in srgb, #e8f1f8 70%, #ffffff) 100%
    );
  box-shadow: 0 8px 20px color-mix(in srgb, #0f172a 6%, transparent);
}

.page-home .home-try-title {
  margin: 0.3rem 0 0.75rem;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.25;
}

.page-home .home-tool-tabs {
  display: grid;
  gap: 0;
  min-width: 0;
}

/* Classic tab bar attached to the panel body */
.page-home .home-tablist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--novamx-border);
  border-bottom: 0;
  border-radius: var(--novamx-radius-md) var(--novamx-radius-md) 0 0;
  background: color-mix(in srgb, var(--novamx-surface-alt) 88%, transparent);
}

.page-home .home-tab {
  appearance: none;
  position: relative;
  margin: 0;
  padding: 0.65rem 0.45rem 0.55rem;
  border: 0;
  border-right: 1px solid var(--novamx-border);
  border-radius: 0;
  background: transparent;
  color: var(--novamx-text-muted);
  font: inherit;
  font-size: var(--novamx-font-size-200);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}

.page-home .home-tab:last-child {
  border-right: 0;
}

.page-home .home-tab:hover {
  color: var(--novamx-text);
  background: color-mix(in srgb, var(--novamx-accent) 8%, transparent);
}

.page-home .home-tab:focus-visible {
  outline: 2px solid var(--novamx-accent);
  outline-offset: -2px;
  z-index: 1;
}

.page-home .home-tab[aria-selected="true"] {
  color: var(--novamx-text);
  background: var(--novamx-surface);
}

.page-home .home-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0;
  height: 0.18rem;
  border-radius: 0.12rem 0.12rem 0 0;
  background: var(--novamx-accent, #38bdf8);
}

:root[data-theme="light"] .page-home .home-tab[aria-selected="true"],
body[data-theme="light"] .page-home .home-tab[aria-selected="true"] {
  background: #fff;
}

.page-home .home-tabpanels {
  min-width: 0;
  padding: 0.9rem 0.95rem 0.95rem;
  border: 1px solid var(--novamx-border);
  border-radius: 0 0 var(--novamx-radius-md) var(--novamx-radius-md);
  background: var(--novamx-surface);
}

:root[data-theme="light"] .page-home .home-tabpanels,
body[data-theme="light"] .page-home .home-tabpanels {
  background: #fff;
}

.page-home .home-tabpanel {
  min-width: 0;
}

.page-home .home-tabpanel[hidden] {
  display: none;
}

/* Identical stacked body for every tab */
.page-home .home-compact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
  margin: 0;
  min-width: 0;
  width: 100%;
}

.page-home .home-compact-form label {
  display: block;
  margin: 0;
  font-weight: 600;
  color: var(--novamx-text);
}

.page-home .home-compact-form label > span {
  display: block;
}

.page-home .home-tool-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
  min-width: 0;
}

.page-home .home-tool-row > input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: var(--novamx-control-height);
  min-height: var(--novamx-control-height);
  margin: 0;
  padding: 0 var(--novamx-control-padding-x);
  border: 1px solid var(--novamx-border);
  border-radius: var(--novamx-radius-md);
  background: color-mix(in srgb, var(--novamx-surface-alt) 70%, var(--novamx-surface));
  color: var(--novamx-text);
  font: inherit;
}

:root[data-theme="light"] .page-home .home-tool-row > input,
body[data-theme="light"] .page-home .home-tool-row > input {
  background: #fff;
}

.page-home .home-tool-row > input:focus,
.page-home .home-tool-row > input:focus-visible {
  outline: 2px solid var(--novamx-accent);
  outline-offset: 2px;
}

.page-home .home-tool-row > .btn {
  width: 100%;
  justify-self: stretch;
  border-radius: var(--novamx-radius-md);
}

.page-home .home-tool-context {
  margin: 0;
  color: var(--novamx-text-muted);
  font-size: var(--novamx-font-size-200);
  line-height: 1.45;
}

.hero-offer-strip {
  margin-top: 1.35rem;
}

.hero-offer-strip ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-offer-strip a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
  min-height: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--novamx-border);
  border-radius: var(--novamx-radius-md);
  background: color-mix(in srgb, var(--novamx-surface) 94%, transparent);
  color: var(--novamx-text);
  text-decoration: none;
  font-size: var(--novamx-font-size-200);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.hero-offer-strip a:hover,
.hero-offer-strip a:focus-visible {
  border-color: color-mix(in srgb, var(--novamx-focus) 55%, var(--novamx-border));
  outline: 2px solid transparent;
}

.hero-offer-strip a:focus-visible {
  outline: 2px solid var(--novamx-focus);
  outline-offset: 2px;
}

.hero-offer-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--novamx-text-muted);
}

.hero-offer-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 960px) {
  .page-home .home-hero-split {
    grid-template-columns: 1fr;
  }
}

.page-home .home-services {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--novamx-surface-alt) 55%, transparent) 0%,
      transparent 42%
    );
}

.page-home .home-services-lede {
  margin: 0.55rem 0 0;
  max-width: 42rem;
  color: var(--novamx-text-muted);
  line-height: 1.55;
}

.page-home .home-services-grid {
  align-items: stretch;
  grid-auto-rows: minmax(min-content, auto);
  gap: 1.25rem;
}

.page-home .home-service-card {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: min-content;
  min-width: 0;
  align-self: stretch;
  gap: 0.55rem;
  padding: 1.25rem 1.3rem 1.15rem;
  scroll-margin-top: 6rem;
  border: 1px solid color-mix(in srgb, var(--novamx-border) 88%, #38bdf8);
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--novamx-surface-alt) 88%, #38bdf8) 0%,
      var(--novamx-surface-alt) 48%,
      color-mix(in srgb, var(--novamx-surface) 92%, transparent) 100%
    );
  box-shadow:
    0 0 0 1px color-mix(in srgb, #38bdf8 8%, transparent),
    0 10px 28px color-mix(in srgb, #020617 22%, transparent);
  overflow: visible;
}

:root[data-theme="light"] .page-home .home-service-card,
body[data-theme="light"] .page-home .home-service-card {
  border-color: color-mix(in srgb, var(--novamx-border) 82%, #0369a1);
  background:
    linear-gradient(
      165deg,
      #ffffff 0%,
      color-mix(in srgb, var(--novamx-surface-alt) 70%, #ffffff) 100%
    );
  box-shadow:
    0 0 0 1px color-mix(in srgb, #0369a1 6%, transparent),
    0 8px 22px color-mix(in srgb, #0f172a 6%, transparent);
}

.page-home .home-service-card .card-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.35rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, #38bdf8 18%, transparent);
  border-color: color-mix(in srgb, #38bdf8 34%, var(--novamx-border));
  box-shadow: 0 0 18px color-mix(in srgb, #38bdf8 14%, transparent);
}

:root[data-theme="light"] .page-home .home-service-card .card-icon,
body[data-theme="light"] .page-home .home-service-card .card-icon {
  background: color-mix(in srgb, #0369a1 12%, transparent);
  border-color: color-mix(in srgb, #0369a1 26%, var(--novamx-border));
  box-shadow: none;
}

.page-home .home-service-card h3 {
  margin: 0;
}

.page-home .home-service-card .card-copy {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
}

.page-home .home-service-card .card-link {
  margin: 0;
  margin-top: auto;
  padding-top: 1rem;
  min-width: 0;
}

.page-home .home-service-card .card-link a {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.page-home .home-themes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 1.35rem;
  align-items: stretch;
  isolation: isolate;
}

.page-home .home-theme-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  min-height: min-content;
  align-self: stretch;
  gap: 0.55rem;
  padding: 1.35rem 1.4rem 1.25rem;
  border: 1px solid color-mix(in srgb, var(--novamx-border) 80%, #38bdf8);
  border-radius: 1rem;
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--novamx-surface) 70%, #12263c) 0%,
      color-mix(in srgb, var(--novamx-surface-alt) 92%, #38bdf8) 100%
    );
  box-shadow:
    0 0 0 1px color-mix(in srgb, #38bdf8 10%, transparent),
    0 12px 30px color-mix(in srgb, #020617 24%, transparent);
  overflow: hidden;
  color: var(--novamx-text);
}

:root[data-theme="light"] .page-home .home-theme-card,
body[data-theme="light"] .page-home .home-theme-card {
  border-color: color-mix(in srgb, var(--novamx-border) 75%, #0369a1);
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      color-mix(in srgb, #e8f1f8 80%, #ffffff) 100%
    );
  box-shadow:
    0 0 0 1px color-mix(in srgb, #0369a1 7%, transparent),
    0 10px 24px color-mix(in srgb, #0f172a 7%, transparent);
}

.page-home .home-theme-europe {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(11rem, 0.85fr);
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.4rem 1.5rem 1.35rem;
}

.page-home .home-theme-europe-copy {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  z-index: 1;
}

.page-home .home-theme-card .card-icon {
  margin-bottom: 0.2rem;
}

.page-home .home-theme-card h3 {
  margin: 0;
}

.page-home .home-theme-europe-copy > p {
  margin: 0;
  max-width: 42rem;
  color: var(--novamx-text-muted);
  line-height: 1.55;
}

.page-home .home-theme-europe-visual {
  position: relative;
  display: grid;
  place-items: end center;
  align-self: stretch;
  min-width: 0;
  min-height: 11.5rem;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  /* No plate chrome — fade lives on .home-eu-scene so light mode doesn't show a box. */
  background: transparent;
}

.page-home .home-eu-scene {
  position: relative;
  display: block;
  width: min(100%, 16rem);
  margin: 0;
  /* Artwork is fully opaque navy to the bitmap edge — a soft vignette is required
     so the dark plate does not read as a hard rectangle on light cards. */
  -webkit-mask-image: radial-gradient(
    ellipse 68% 62% at 58% 55%,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 62%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 68% 62% at 58% 55%,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 62%,
    transparent 78%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.page-home .home-eu-scene--static {
  display: none;
}

.page-home .home-eu-art {
  display: block;
  width: 100%;
  height: auto;
  max-height: 15rem;
  object-fit: contain;
  object-position: center center;
  border-radius: 0;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-eu-scene--animated {
    display: none;
  }

  .page-home .home-eu-scene--static {
    display: block;
  }
}

@media (max-width: 1100px) {
  .hero-offer-strip ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .page-home .home-theme-europe {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }

  .page-home .home-theme-europe-visual {
    min-height: 10rem;
    order: -1;
    place-items: center;
  }

  .page-home .home-eu-scene {
    width: min(100%, 13.5rem);
  }

  .page-home .home-eu-art {
    max-height: 12.5rem;
  }
}

@media (max-width: 640px) {
  .hero-offer-strip ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --- Marketing Nova assistant --- */
.marketing-nova-launcher {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1200;
  width: 3.35rem;
  height: 3.35rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.32),
    0 0 0 2px color-mix(in srgb, #c9a86a 55%, transparent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.marketing-nova-launcher:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.36),
    0 0 0 2px color-mix(in srgb, #c9a86a 75%, transparent);
}

.marketing-nova-launcher:focus-visible {
  outline: 3px solid #c9a86a;
  outline-offset: 3px;
}

.marketing-nova-launcher img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

.marketing-nova-panel {
  position: fixed;
  top: 5.5rem;
  right: 1rem;
  bottom: auto;
  z-index: 1200;
  width: min(100%, 380px);
  max-width: calc(100vw - 1.5rem);
  height: calc(100vh - 6.5rem);
  max-height: calc(100vh - 2rem);
  min-width: 320px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  background: var(--surface, #0f1720);
  color: var(--text, #f5f7fa);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

:root[data-theme="light"] .marketing-nova-panel,
body[data-theme="light"] .marketing-nova-panel {
  background: #ffffff;
  color: #0b1c2e;
  box-shadow: 0 18px 48px rgba(11, 28, 46, 0.18);
}

:root[data-theme="light"] .marketing-nova-tagline,
body[data-theme="light"] .marketing-nova-tagline,
:root[data-theme="light"] .marketing-nova-disclaimer,
body[data-theme="light"] .marketing-nova-disclaimer,
:root[data-theme="light"] .marketing-nova-send-hint,
body[data-theme="light"] .marketing-nova-send-hint,
body.theme-auto:not([data-theme="dark"]) .marketing-nova-tagline,
body.theme-auto:not([data-theme="dark"]) .marketing-nova-disclaimer,
body.theme-auto:not([data-theme="dark"]) .marketing-nova-send-hint {
  color: #4a5d70;
}

@media (prefers-color-scheme: light) {
  body.theme-auto:not([data-theme="dark"]) .marketing-nova-tagline,
  body.theme-auto:not([data-theme="dark"]) .marketing-nova-disclaimer,
  body.theme-auto:not([data-theme="dark"]) .marketing-nova-send-hint {
    color: #4a5d70;
  }
}

.marketing-nova-panel[hidden] {
  display: none !important;
}

.marketing-nova-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.marketing-nova-brand {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  min-width: 0;
}

.marketing-nova-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 auto;
}

.marketing-nova-header h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.marketing-nova-tagline {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #b9c6d4;
}

.marketing-nova-close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 0.4rem;
}

.marketing-nova-close:focus-visible {
  outline: 2px solid #c9a86a;
  outline-offset: 2px;
}

.marketing-nova-messages {
  flex: 1 1 auto;
  overflow: auto;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.marketing-nova-msg {
  max-width: 92%;
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.marketing-nova-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 96%;
}

.marketing-nova-msg-avatar {
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.15rem;
  border-radius: 999px;
  object-fit: cover;
}

.marketing-nova-msg-body {
  min-width: 0;
  flex: 1 1 auto;
  margin: 0;
}

.marketing-nova-msg-user {
  align-self: flex-end;
  background: color-mix(in srgb, #c9a86a 28%, transparent);
  white-space: pre-wrap;
}

.marketing-nova-msg-assistant {
  align-self: flex-start;
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.marketing-nova-msg-body p {
  margin: 0 0 0.55rem;
}

.marketing-nova-msg-heading {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.95em;
}

.marketing-nova-msg-body p:last-child,
.marketing-nova-msg-body ul:last-child {
  margin-bottom: 0;
}

.marketing-nova-msg-body ul {
  margin: 0 0 0.55rem;
  padding-left: 1.15rem;
}

.marketing-nova-msg-body li + li {
  margin-top: 0.22rem;
}

.marketing-nova-msg-body strong {
  font-weight: 650;
}

.marketing-nova-msg-body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.marketing-nova-msg-body a:hover {
  color: #c9a86a;
}

.marketing-nova-msg-body a:focus-visible {
  outline: 2px solid #c9a86a;
  outline-offset: 2px;
}

.marketing-nova-thinking {
  border: 1px dashed color-mix(in srgb, currentColor 28%, transparent);
  background: color-mix(in srgb, currentColor 5%, transparent);
}

.marketing-nova-thinking-label {
  font-weight: 600;
  font-size: 0.92em;
  margin-right: 0.35rem;
}

.marketing-nova-thinking-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  vertical-align: middle;
}

.marketing-nova-thinking-dots span {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: color-mix(in srgb, currentColor 55%, transparent);
  animation: marketing-nova-thinking-bounce 1.2s ease-in-out infinite;
}

.marketing-nova-thinking-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.marketing-nova-thinking-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes marketing-nova-thinking-bounce {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-0.18rem);
  }
}

.marketing-nova-footer {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.marketing-nova-disclaimer {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #b9c6d4;
}

.marketing-nova-compose {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}

.marketing-nova-compose textarea {
  flex: 1 1 auto;
  min-height: 2.75rem;
  max-height: 7rem;
  resize: vertical;
  border-radius: 0.7rem;
  border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  background: color-mix(in srgb, currentColor 4%, transparent);
  color: inherit;
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.marketing-nova-compose textarea:focus-visible {
  outline: 2px solid #c9a86a;
  outline-offset: 1px;
}

.marketing-nova-compose button[type="submit"] {
  border: 0;
  border-radius: 0.7rem;
  background: #c9a86a;
  color: #0b1c2e;
  font-weight: 600;
  padding: 0.65rem 0.9rem;
  min-height: 2.75rem;
  cursor: pointer;
}

.marketing-nova-compose button[type="submit"]:focus-visible {
  outline: 2px solid #c9a86a;
  outline-offset: 2px;
}

.marketing-nova-compose button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.marketing-nova-send-hint {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #b9c6d4;
}

.marketing-nova-resize {
  position: absolute;
  z-index: 2;
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.5rem;
  min-height: 1.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  touch-action: none;
}

.marketing-nova-resize--bottom {
  left: 0.2rem;
  bottom: 0.2rem;
  border-radius: 0 8px 0 12px;
  cursor: nesw-resize;
}

.marketing-nova-resize--top {
  left: 0.2rem;
  top: 0.2rem;
  border-radius: 12px 0 8px 0;
  cursor: nwse-resize;
}

.marketing-nova-resize span {
  position: absolute;
  width: 0.72rem;
  height: 0.72rem;
  pointer-events: none;
}

.marketing-nova-resize--bottom span {
  inset: auto 0.28rem 0.28rem auto;
  border-left: 2px solid color-mix(in srgb, currentColor 55%, transparent);
  border-bottom: 2px solid color-mix(in srgb, currentColor 55%, transparent);
  border-radius: 0 0 0 2px;
}

.marketing-nova-resize--top span {
  inset: 0.28rem auto auto 0.28rem;
  border-top: 2px solid color-mix(in srgb, currentColor 55%, transparent);
  border-left: 2px solid color-mix(in srgb, currentColor 55%, transparent);
  border-radius: 2px 0 0 0;
}

.marketing-nova-resize:hover span,
.marketing-nova-resize:focus-visible span {
  border-color: #c9a86a;
}

.marketing-nova-resize:focus-visible {
  outline: 2px solid #c9a86a;
  outline-offset: 2px;
}

body.marketing-nova-resizing {
  user-select: none;
  cursor: nesw-resize;
}

body.marketing-nova-resizing-top {
  cursor: nwse-resize;
}

body.marketing-nova-resizing iframe {
  pointer-events: none;
}

@media (max-width: 520px) {
  .marketing-nova-panel {
    right: 0.5rem;
    left: 0.5rem;
    width: auto !important;
    top: 4.5rem !important;
    height: calc(100vh - 5.5rem) !important;
  }

  .marketing-nova-launcher {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .marketing-nova-resize--top {
    display: none;
  }
}

/* Full legal documents rendered from docs/*.md */
.legal-doc {
  max-width: 52rem;
  margin: 0 auto 2.5rem;
  padding: 1.25rem 1.35rem 1.75rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--novamx-text);
  background: color-mix(in srgb, var(--novamx-surface) 92%, transparent);
  border: 1px solid var(--novamx-border);
  border-radius: var(--portal-panel-radius, 0.85rem);
}
.legal-doc > h1:first-child {
  display: none;
}
.legal-doc h1,
.legal-doc h2,
.legal-doc h3,
.legal-doc h4 {
  font-family: inherit;
  color: var(--novamx-text);
  line-height: 1.3;
  margin: 1.45em 0 0.5em;
}
.legal-doc h2 {
  font-size: 1.25rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--novamx-border);
}
.legal-doc h3 { font-size: 1.08rem; }
.legal-doc h4 { font-size: 1rem; }
.legal-doc p,
.legal-doc li {
  margin: 0.55em 0;
  color: var(--novamx-text);
}
.legal-doc p.clause { margin: 0.4em 0; }
.legal-doc p.clause .cnum {
  font-weight: 650;
  margin-right: 0.35em;
  color: var(--novamx-text);
}
.legal-doc strong {
  color: var(--novamx-text);
  font-weight: 650;
}
.legal-doc ul,
.legal-doc ol {
  margin: 0.45em 0 0.9em;
  padding-left: 1.35em;
  color: var(--novamx-text);
}
.legal-doc li { margin: 0.28em 0; }
.legal-doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.85em 0 1.2em;
  font-size: 0.94rem;
  color: var(--novamx-text);
  background: color-mix(in srgb, var(--novamx-surface) 88%, transparent);
}
.legal-doc th,
.legal-doc td {
  border: 1px solid var(--novamx-border);
  padding: 0.55rem 0.65rem;
  vertical-align: top;
  text-align: left;
  color: var(--novamx-text);
}
.legal-doc th {
  background: color-mix(in srgb, var(--novamx-surface-alt, var(--novamx-surface)) 85%, transparent);
  font-weight: 650;
}
.legal-doc hr {
  border: none;
  border-top: 1px solid var(--novamx-border);
  margin: 1.6em 0;
}
.legal-doc a {
  color: var(--novamx-interactive);
}
