/*
Theme Name: MFST CORE Landing
Theme URI: #
Author: MFST CORE
Author URI: #
Description: A clean MFST CORE landing page theme.
Version: 1.0.10
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mfst-core
*/

:root {
  --mfst-bg: #fbfaf6;
  --mfst-bg-rgb: 251, 250, 246;
  --mfst-panel: #ffffff;
  --mfst-panel-soft: #f3f2ed;
  --mfst-text: #070707;
  --mfst-text-soft: #1b2028;
  --mfst-muted: #5f6b78;
  --mfst-muted-rgb: 95, 107, 120;
  --mfst-muted-soft: #747d86;
  --mfst-sage: #6b7c6c;
  --mfst-sage-deep: #596d5d;
  --mfst-sage-rgb: 107, 124, 108;
  --mfst-line: #deded8;
  --mfst-line-soft: rgba(7, 7, 7, 0.08);
  --mfst-error: #723630;
  --mfst-error-rgb: 114, 54, 48;
  --mfst-shadow: 0 18px 48px rgba(23, 29, 24, 0.09);
  --mfst-radius-sm: 10px;
  --mfst-radius-md: 14px;
  --mfst-radius-lg: 18px;
  --mfst-content: 1120px;
  --mfst-font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Aptos, Calibri, "Segoe UI", sans-serif;
  --mfst-font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Aptos, Calibri, "Segoe UI", sans-serif;
}

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

html {
  min-height: 100%;
  background: var(--mfst-bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(var(--mfst-sage-rgb), 0.07), transparent 34rem),
    linear-gradient(180deg, var(--mfst-bg) 0%, #fcfbf7 45%, var(--mfst-bg) 100%);
  color: var(--mfst-text);
  font-family: var(--mfst-font-text);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  font-kerning: normal;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.mfst-core-page {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.mfst-honeypot {
  display: none;
}

.mfst-page {
  min-height: 100vh;
  background: transparent;
}

.mfst-container {
  width: min(calc(100% - 64px), var(--mfst-content));
  margin-inline: auto;
}

.mfst-header {
  position: relative;
  z-index: 5;
  padding: 18px 0 12px;
}

.mfst-header .mfst-container {
  width: min(calc(100% - 56px), 1080px);
}

.mfst-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  min-height: 38px;
}

.mfst-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.mfst-brand__mark {
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--mfst-text);
  color: var(--mfst-panel);
  box-shadow: 0 7px 14px rgba(7, 7, 7, 0.09);
}

.mfst-brand__mark-text {
  display: grid;
  gap: 0;
  color: var(--mfst-panel);
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.82;
  text-align: center;
}

.mfst-brand__name {
  color: var(--mfst-text);
  font-family: var(--mfst-font-display);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1;
}

.mfst-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.1vw, 24px);
  color: var(--mfst-text-soft);
  font-size: 12.5px;
  font-weight: 450;
  line-height: 1;
}

.mfst-nav a {
  border-radius: 999px;
  color: var(--mfst-text-soft);
  outline: none;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.mfst-nav a:hover {
  color: var(--mfst-sage-deep);
}

.mfst-nav a:focus-visible,
.mfst-link:focus-visible,
.mfst-button:focus-visible,
.mfst-form input:focus-visible,
.mfst-form button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(var(--mfst-sage-rgb), 0.22);
}

.mfst-hero {
  position: relative;
  min-height: 732px;
  padding: 126px 0 196px;
  text-align: center;
}

.mfst-hero::after {
  position: absolute;
  z-index: 0;
  right: -6vw;
  bottom: -92px;
  left: -6vw;
  height: 260px;
  background:
    linear-gradient(180deg, rgba(235, 233, 227, 0.56), rgba(251, 250, 246, 0.16) 52%, rgba(251, 250, 246, 0)),
    var(--mfst-panel-soft);
  border-radius: 0 0 50% 50% / 0 0 42% 42%;
  clip-path: ellipse(76% 39% at 50% 7%);
  content: "";
  opacity: 0.92;
}

.mfst-hero::before {
  position: absolute;
  z-index: 0;
  right: -8vw;
  bottom: -74px;
  left: -8vw;
  height: 210px;
  background: rgba(var(--mfst-bg-rgb), 0.52);
  clip-path: ellipse(74% 38% at 48% 13%);
  content: "";
}

.mfst-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 830px);
  margin: 0 auto;
}

.mfst-badge {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 19px;
  border: 1px solid var(--mfst-line);
  border-radius: 999px;
  background: rgba(var(--mfst-bg-rgb), 0.82);
  color: var(--mfst-sage-deep);
  font-family: var(--mfst-font-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1;
  box-shadow: 0 8px 28px rgba(12, 15, 12, 0.03);
  animation: mfstBadgeBreath 6s ease-in-out infinite;
}

.mfst-badge::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.52) 46%, transparent 64%);
  content: "";
  opacity: 0;
  transform: translateX(-120%);
  animation: mfstBadgeSheen 7.5s ease-in-out infinite;
}

.mfst-hero h1 {
  max-width: 820px;
  margin: 33px auto 24px;
  color: var(--mfst-text);
  font-family: var(--mfst-font-display);
  font-size: clamp(56px, 6.2vw, 78px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.98;
}

.mfst-hero h1 span {
  color: var(--mfst-sage);
  animation: mfstSagePulse 6.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: color, opacity, text-shadow;
}

.mfst-hero__copy {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(var(--mfst-muted-rgb), 0.82);
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.65;
}

.mfst-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 48px;
}

.mfst-button {
  display: inline-flex;
  min-width: 190px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.04)),
    var(--mfst-sage-deep);
  color: var(--mfst-panel);
  cursor: pointer;
  font-family: var(--mfst-font-text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  outline: none;
  box-shadow: 0 12px 28px rgba(var(--mfst-sage-rgb), 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.mfst-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(var(--mfst-sage-rgb), 0.23);
}

.mfst-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 999px;
  color: var(--mfst-sage-deep);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  outline: none;
}

.mfst-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.mfst-features {
  position: relative;
  z-index: 2;
  padding: 58px 0 84px;
  background: var(--mfst-bg);
  text-align: center;
}

.mfst-section-label {
  margin: 0 0 18px;
  color: var(--mfst-sage-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.21em;
  line-height: 1;
}

.mfst-section-title {
  max-width: 560px;
  margin: 0 auto;
  color: var(--mfst-text-soft);
  font-family: var(--mfst-font-display);
  font-size: clamp(31px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
}

.mfst-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 51px;
}

.mfst-feature {
  display: flex;
  min-height: 214px;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
}

.mfst-feature + .mfst-feature {
  border-left: 1px solid var(--mfst-line-soft);
}

.mfst-feature__icon {
  display: inline-flex;
  width: 84px;
  height: 84px;
  align-items: center;
  justify-content: center;
  margin-bottom: 27px;
  border-radius: 15px;
  background: rgba(238, 237, 232, 0.82);
  color: var(--mfst-sage-deep);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 16px 38px rgba(19, 24, 20, 0.04);
}

.mfst-feature__icon svg {
  width: 42px;
  height: 42px;
  stroke: currentColor;
  stroke-width: 1.85;
}

.mfst-feature h3 {
  margin: 0 0 16px;
  color: var(--mfst-text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

.mfst-feature p {
  max-width: 275px;
  margin: 0 auto;
  color: var(--mfst-muted);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
}

.mfst-waitlist {
  position: relative;
  padding: 73px 0 34px;
  background:
    radial-gradient(circle at 48% 10%, rgba(var(--mfst-sage-rgb), 0.055), transparent 33rem),
    rgba(241, 240, 235, 0.55);
  text-align: center;
}

.mfst-waitlist h2 {
  margin: 0 0 16px;
  color: var(--mfst-text);
  font-family: var(--mfst-font-display);
  font-size: clamp(32px, 3.1vw, 42px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.16;
}

.mfst-waitlist__copy {
  margin: 0;
  color: var(--mfst-muted);
  font-size: 18px;
  line-height: 1.55;
}

.mfst-form {
  display: flex;
  width: min(100%, 580px);
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  margin: 33px auto 20px;
}

.mfst-form input {
  width: 100%;
  min-width: 0;
  height: 58px;
  border: 1px solid var(--mfst-line);
  border-radius: var(--mfst-radius-sm);
  background: rgba(255, 255, 255, 0.78);
  color: var(--mfst-text);
  font-size: 16px;
  outline: none;
  padding: 0 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.mfst-form input::placeholder {
  color: var(--mfst-muted);
  opacity: 0.92;
}

.mfst-form button {
  flex: 0 0 auto;
  min-width: 172px;
  height: 58px;
  border: 0;
  border-radius: var(--mfst-radius-sm);
  background: var(--mfst-sage-deep);
  color: var(--mfst-panel);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  outline: none;
  box-shadow: 0 14px 30px rgba(var(--mfst-sage-rgb), 0.19);
}

.mfst-form-message {
  width: min(100%, 580px);
  min-height: 40px;
  margin: -5px auto 15px;
  padding: 10px 16px;
  border: 1px solid var(--mfst-line);
  border-radius: var(--mfst-radius-sm);
  background: rgba(255, 255, 255, 0.56);
  color: var(--mfst-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.mfst-form-message--success {
  border-color: rgba(var(--mfst-sage-rgb), 0.26);
  color: var(--mfst-sage-deep);
}

.mfst-form-message--error {
  border-color: rgba(var(--mfst-error-rgb), 0.22);
  color: var(--mfst-error);
}

.mfst-note {
  margin: 0;
  color: var(--mfst-muted);
  font-size: 13px;
  line-height: 1.5;
}

.mfst-footer {
  padding: 42px 0 0;
}

.mfst-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.mfst-footer .mfst-brand__mark {
  width: 27px;
  height: 27px;
  border-radius: 7px;
  box-shadow: none;
}

.mfst-footer .mfst-brand__mark-text {
  font-size: 7px;
}

.mfst-footer .mfst-brand__name {
  font-size: 17px;
  letter-spacing: 0.16em;
}

.mfst-copyright {
  margin: 28px 0 0;
  color: var(--mfst-muted);
  font-size: 13px;
}

@media (max-width: 920px) {
  .mfst-container {
    width: min(calc(100% - 40px), var(--mfst-content));
  }

  .mfst-header {
    padding-top: 18px;
  }

  .mfst-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .mfst-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px 24px;
    font-size: 13px;
  }

  .mfst-hero {
    min-height: auto;
    padding: 86px 0 164px;
  }

  .mfst-hero h1 {
    font-size: clamp(44px, 10vw, 68px);
  }

  .mfst-feature-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-top: 46px;
  }

  .mfst-feature {
    min-height: auto;
    padding: 0 16px 38px;
  }

  .mfst-feature + .mfst-feature {
    border-top: 1px solid var(--mfst-line-soft);
    border-left: 0;
    padding-top: 38px;
  }
}

@media (max-width: 640px) {
  body {
    background: var(--mfst-bg);
  }

  .mfst-container {
    width: min(calc(100% - 32px), var(--mfst-content));
  }

  .mfst-brand {
    gap: 12px;
  }

  .mfst-brand__mark {
    width: 25px;
    height: 25px;
    border-radius: 7px;
  }

  .mfst-brand__name {
    font-size: 13px;
  }

  .mfst-nav {
    gap: 13px 18px;
    line-height: 1.25;
  }

  .mfst-hero {
    padding: 72px 0 130px;
  }

  .mfst-hero::before,
  .mfst-hero::after {
    bottom: -118px;
    height: 235px;
  }

  .mfst-badge {
    min-height: 32px;
    padding: 0 15px;
    font-size: 11px;
  }

  .mfst-hero h1 {
    margin-top: 28px;
    font-size: clamp(41px, 12.5vw, 56px);
    line-height: 1.02;
  }

  .mfst-hero__copy {
    font-size: 16.5px;
  }

  .mfst-hero__actions {
    flex-direction: column;
    gap: 18px;
    margin-top: 40px;
  }

  .mfst-button {
    width: min(100%, 240px);
    min-width: 0;
    min-height: 50px;
    font-size: 16px;
  }

  .mfst-link {
    font-size: 16px;
  }

  .mfst-features {
    padding-top: 48px;
    padding-bottom: 70px;
  }

  .mfst-section-label {
    font-size: 11px;
  }

  .mfst-section-title {
    font-size: 32px;
  }

  .mfst-feature__icon {
    width: 76px;
    height: 76px;
    margin-bottom: 22px;
  }

  .mfst-feature h3 {
    font-size: 17px;
  }

  .mfst-feature p {
    font-size: 16px;
  }

  .mfst-waitlist {
    padding-top: 60px;
  }

  .mfst-form {
    flex-direction: column;
    gap: 10px;
  }

  .mfst-form input,
  .mfst-form button {
    width: 100%;
  }
}

@keyframes mfstSagePulse {
  0%,
  100% {
    color: var(--mfst-sage);
    opacity: 0.94;
    text-shadow: 0 0 0 rgba(var(--mfst-sage-rgb), 0);
  }

  50% {
    color: var(--mfst-sage-deep);
    opacity: 1;
    text-shadow: 0 16px 38px rgba(var(--mfst-sage-rgb), 0.16);
  }
}

@keyframes mfstBadgeBreath {
  0%,
  100% {
    border-color: var(--mfst-line);
    box-shadow: 0 8px 28px rgba(12, 15, 12, 0.03);
    transform: translateY(0);
  }

  50% {
    border-color: rgba(var(--mfst-sage-rgb), 0.28);
    box-shadow: 0 12px 34px rgba(var(--mfst-sage-rgb), 0.08);
    transform: translateY(-1px);
  }
}

@keyframes mfstBadgeSheen {
  0%,
  62% {
    opacity: 0;
    transform: translateX(-120%);
  }

  72% {
    opacity: 0.5;
  }

  86% {
    opacity: 0;
    transform: translateX(120%);
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

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

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