:root {
  --mh-bg: #07111f;
  --mh-bg-elevated: #0e1b2d;
  --mh-panel: #14243a;
  --mh-panel-strong: #1a2d47;
  --mh-text: #f5f8ff;
  --mh-muted: #b8c5d8;
  --mh-border: #30425d;
  --mh-primary: #8ab4ff;
  --mh-primary-strong: #b7d0ff;
  --mh-accent: #63e6be;
  --mh-warning: #ffd166;
  --mh-danger: #ff8d9b;
  --mh-focus: #ffe08a;
  --mh-radius-sm: 0.75rem;
  --mh-radius: 1.25rem;
  --mh-radius-lg: 2rem;
  --mh-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  --mh-content: min(100% - 2rem, 1180px);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-wrap: anywhere;
  background:
    radial-gradient(circle at 9% 8%, rgba(99, 230, 190, 0.10), transparent 26rem),
    radial-gradient(circle at 89% 3%, rgba(138, 180, 255, 0.14), transparent 28rem),
    var(--mh-bg);
  color: var(--mh-text);
  accent-color: var(--mh-primary);
}

body.admin-bar .mh-site-header {
  top: 32px;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  text-decoration-thickness: 0.13em;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--mh-focus);
  outline-offset: 4px;
  border-radius: 0.35rem;
}

::selection {
  background: var(--mh-accent);
  color: #06130f;
}

.mh-skip-link {
  position: fixed;
  z-index: 100000;
  top: 0.5rem;
  left: 0.5rem;
  transform: translateY(-180%);
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  background: var(--mh-focus);
  color: #111827;
  font-weight: 800;
}

.mh-skip-link:focus {
  transform: none;
}

.mh-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(184, 197, 216, 0.16);
  background: rgba(7, 17, 31, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
}

.mh-header-inner,
.mh-footer-inner {
  width: var(--mh-content);
  margin-inline: auto;
}

.wp-block-site-title {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.wp-block-site-title a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.72rem;
  color: var(--mh-text);
  text-decoration: none;
}

.wp-block-site-title a::before {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.72rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(135deg, var(--mh-primary), var(--mh-accent));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), 0 10px 26px rgba(99, 230, 190, 0.18);
  content: "";
}

.mh-primary-nav ul,
.mh-footer-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  list-style: none;
}

.mh-primary-nav a,
.mh-footer-nav a {
  display: inline-flex;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  align-items: center;
  border-radius: 999px;
  color: var(--mh-muted);
  font-weight: 700;
  text-decoration: none;
}

.mh-primary-nav a:hover,
.mh-primary-nav a[aria-current="page"],
.mh-footer-nav a:hover,
.mh-footer-nav a[aria-current="page"] {
  background: rgba(138, 180, 255, 0.12);
  color: var(--mh-text);
}

.mh-main {
  min-height: 70vh;
}

.mh-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(5rem, 12vw, 10rem) clamp(4rem, 9vw, 7rem);
}

.mh-hero::before,
.mh-hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(138, 180, 255, 0.17);
  border-radius: 50%;
  content: "";
}

.mh-hero::before {
  width: min(70vw, 48rem);
  aspect-ratio: 1;
  top: -28rem;
  right: -14rem;
  background: radial-gradient(circle, rgba(138, 180, 255, 0.16), transparent 66%);
}

.mh-hero::after {
  width: min(52vw, 34rem);
  aspect-ratio: 1;
  bottom: -24rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(99, 230, 190, 0.11), transparent 68%);
}

.mh-eyebrow,
.mh-kicker {
  display: inline-flex;
  margin: 0 0 1rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--mh-accent);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mh-eyebrow::before,
.mh-kicker::before {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0.35rem rgba(99, 230, 190, 0.12);
  content: "";
}

.mh-display {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.mh-gradient-text {
  background: linear-gradient(90deg, var(--mh-primary-strong), var(--mh-accent));
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.mh-lead {
  max-width: 62ch;
  margin-top: 1.6rem;
  color: var(--mh-muted);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.65;
}

.mh-actions {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.wp-element-button,
.mh-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  box-shadow: none;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.wp-element-button:hover,
.mh-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(138, 180, 255, 0.18);
  text-decoration: none;
}

.mh-button--secondary,
.is-style-outline > .wp-element-button {
  border-color: var(--mh-border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--mh-text);
}

.mh-trust-row {
  display: grid;
  margin-top: 3.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mh-trust-item {
  padding: 1rem;
  border: 1px solid rgba(184, 197, 216, 0.16);
  border-radius: var(--mh-radius);
  background: rgba(14, 27, 45, 0.62);
}

.mh-trust-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.mh-trust-item span {
  color: var(--mh-muted);
  font-size: 0.92rem;
}

.mh-section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.mh-section--panel {
  border-block: 1px solid rgba(184, 197, 216, 0.13);
  background: rgba(14, 27, 45, 0.55);
}

.mh-section-heading {
  display: grid;
  margin-bottom: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: end;
  gap: 2rem;
}

.mh-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.mh-section-heading p {
  margin: 0;
  color: var(--mh-muted);
}

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

.mh-app-card {
  position: relative;
  display: flex;
  min-height: 100%;
  padding: 1.3rem;
  flex-direction: column;
  border: 1px solid rgba(184, 197, 216, 0.17);
  border-radius: var(--mh-radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent 42%),
    var(--mh-bg-elevated);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.mh-app-card:hover {
  transform: translateY(-3px);
  border-color: rgba(138, 180, 255, 0.5);
  box-shadow: var(--mh-shadow);
}

.mh-app-card__media {
  display: grid;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.2rem;
  place-items: center;
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(99, 230, 190, 0.24), transparent 38%),
    linear-gradient(135deg, #162a45, #0a1424);
}

.mh-app-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mh-app-card__placeholder {
  display: grid;
  width: 5.2rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1.45rem;
  background: linear-gradient(135deg, var(--mh-primary), var(--mh-accent));
  color: #07111f;
  font-size: 1.9rem;
  font-weight: 900;
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.24);
}

.mh-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  padding: 0.25rem 0.65rem;
  align-items: center;
  border: 1px solid rgba(99, 230, 190, 0.26);
  border-radius: 999px;
  background: rgba(99, 230, 190, 0.08);
  color: #98f5d6;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.mh-app-card h3 {
  margin: 0.8rem 0 0.55rem;
  font-size: 1.45rem;
}

.mh-app-card h3 a {
  color: var(--mh-text);
  text-decoration: none;
}

.mh-app-card h3 a::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
}

.mh-app-card p {
  margin: 0;
  color: var(--mh-muted);
}

.mh-app-card__footer {
  display: flex;
  margin-top: auto;
  padding-top: 1.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--mh-muted);
  font-size: 0.9rem;
}

.mh-app-card__footer span:last-child {
  color: var(--mh-primary-strong);
  font-weight: 800;
}

.mh-empty-state {
  grid-column: 1 / -1;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px dashed var(--mh-border);
  border-radius: var(--mh-radius-lg);
  background: rgba(14, 27, 45, 0.45);
  text-align: center;
}

.mh-empty-state h3 {
  margin-top: 0;
}

.mh-empty-state p {
  max-width: 52ch;
  margin-inline: auto;
  color: var(--mh-muted);
}

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

.mh-feature-card {
  padding: 1.4rem;
  border-top: 1px solid var(--mh-border);
}

.mh-feature-card h3 {
  margin: 0 0 0.55rem;
}

.mh-feature-card p {
  margin: 0;
  color: var(--mh-muted);
}

.mh-feature-icon {
  display: grid;
  width: 2.6rem;
  aspect-ratio: 1;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 0.85rem;
  background: rgba(138, 180, 255, 0.12);
  color: var(--mh-primary-strong);
  font-weight: 900;
}

.mh-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid rgba(138, 180, 255, 0.24);
  border-radius: clamp(1.5rem, 4vw, 2.8rem);
  background:
    radial-gradient(circle at 100% 0, rgba(99, 230, 190, 0.17), transparent 25rem),
    linear-gradient(135deg, rgba(138, 180, 255, 0.12), rgba(14, 27, 45, 0.9));
}

.mh-cta h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
}

.mh-cta p {
  max-width: 62ch;
  color: var(--mh-muted);
}

.mh-content-shell {
  width: min(100% - 2rem, 850px);
  margin-inline: auto;
  padding-block: clamp(3rem, 8vw, 7rem);
}

.mh-content-shell--wide {
  width: var(--mh-content);
}

.mh-content-shell > :first-child {
  margin-top: 0;
}

.mh-page-header {
  margin-bottom: 2.5rem;
}

.mh-page-header h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.mh-page-header p {
  max-width: 65ch;
  color: var(--mh-muted);
  font-size: 1.15rem;
}

.mh-prose {
  font-size: 1.02rem;
}

.mh-prose :where(h2, h3) {
  scroll-margin-top: 7rem;
}

.mh-prose h2 {
  margin-top: 3.2rem;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.mh-prose h3 {
  margin-top: 2.2rem;
}

.mh-prose p,
.mh-prose li {
  color: #d4deec;
}

.mh-prose a {
  color: var(--mh-primary-strong);
}

.mh-prose code {
  padding: 0.12rem 0.35rem;
  border: 1px solid var(--mh-border);
  border-radius: 0.4rem;
  background: var(--mh-bg-elevated);
  font-family: var(--wp--preset--font-family--mono);
}

.mh-prose blockquote {
  margin-inline: 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--mh-primary);
  border-radius: 0 var(--mh-radius-sm) var(--mh-radius-sm) 0;
  background: rgba(138, 180, 255, 0.08);
}

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

.mh-fact {
  padding: 1rem;
  border: 1px solid var(--mh-border);
  border-radius: var(--mh-radius);
  background: rgba(14, 27, 45, 0.65);
}

.mh-fact dt {
  color: var(--mh-muted);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mh-fact dd {
  margin: 0.4rem 0 0;
  font-weight: 760;
}

.mh-policy-list {
  display: grid;
  gap: 0.8rem;
}

.mh-policy-list a {
  display: flex;
  min-height: 72px;
  padding: 1rem 1.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--mh-border);
  border-radius: var(--mh-radius);
  background: rgba(14, 27, 45, 0.62);
  color: var(--mh-text);
  font-weight: 760;
  text-decoration: none;
}

.mh-policy-list a:hover {
  border-color: rgba(138, 180, 255, 0.55);
  background: rgba(138, 180, 255, 0.08);
}

.mh-policy-list small {
  color: var(--mh-muted);
  font-weight: 500;
}

.mh-notice {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 209, 102, 0.34);
  border-radius: var(--mh-radius);
  background: rgba(255, 209, 102, 0.08);
  color: #fff4ca;
}

.mh-notice--success {
  border-color: rgba(99, 230, 190, 0.36);
  background: rgba(99, 230, 190, 0.08);
  color: #c9ffec;
}

.mh-notice--error {
  border-color: rgba(255, 141, 155, 0.38);
  background: rgba(255, 141, 155, 0.08);
  color: #ffd4da;
}

.mh-support-form {
  display: grid;
  gap: 1rem;
}

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

.mh-field {
  display: grid;
  gap: 0.4rem;
}

.mh-field label,
.mh-field legend {
  font-weight: 760;
}

.mh-field small {
  color: var(--mh-muted);
}

.mh-field input,
.mh-field select,
.mh-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--mh-border);
  border-radius: 0.8rem;
  background: #0a1627;
  color: var(--mh-text);
}

.mh-field textarea {
  min-height: 10rem;
  resize: vertical;
}

.mh-field input:hover,
.mh-field select:hover,
.mh-field textarea:hover {
  border-color: #506888;
}

.mh-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.mh-checkbox input {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

.mh-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.mh-site-footer {
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid rgba(184, 197, 216, 0.15);
  background: #050d18;
}

.mh-footer-inner {
  padding-block: 2.2rem;
}

.mh-footer-meta {
  color: var(--mh-muted);
  font-size: 0.9rem;
}

.mh-post-loop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.mh-post-loop article {
  min-width: 0;
}

.wp-block-query-pagination {
  margin-top: 2rem;
}

.wp-block-query-pagination a,
.wp-block-query-pagination span {
  min-height: 44px;
  padding: 0.55rem 0.8rem;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .mh-app-grid,
  .mh-feature-grid,
  .mh-post-loop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mh-section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 700px) {
  body.admin-bar .mh-site-header {
    top: 46px;
  }

  .mh-header-inner {
    align-items: flex-start !important;
  }

  .mh-primary-nav ul {
    justify-content: flex-end;
  }

  .mh-primary-nav a {
    padding-inline: 0.65rem;
    font-size: 0.92rem;
  }

  .mh-trust-row,
  .mh-app-grid,
  .mh-feature-grid,
  .mh-post-loop,
  .mh-facts,
  .mh-support-form__grid {
    grid-template-columns: 1fr;
  }

  .mh-hero {
    padding-top: 4.5rem;
  }
}

@media (max-width: 480px) {
  .mh-header-inner {
    flex-direction: column;
    gap: 0.4rem !important;
  }

  .mh-primary-nav ul {
    justify-content: flex-start;
  }
}

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

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (forced-colors: active) {
  .mh-gradient-text {
    background: none;
    color: CanvasText;
  }

  .mh-app-card,
  .mh-trust-item,
  .mh-cta,
  .mh-fact,
  .mh-policy-list a {
    border: 1px solid CanvasText;
  }

  .wp-block-site-title a::before,
  .mh-app-card__placeholder {
    forced-color-adjust: none;
  }
}

@media print {
  .mh-site-header,
  .mh-site-footer,
  .mh-actions,
  .mh-support-form {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
  }

  .mh-content-shell {
    width: 100%;
    padding: 0;
  }
}
