:root{
  --red:#ed1c24;
  --red-dark:#b90f1d;
  --black:#111827;
  --muted:#64748b;
  --line:#e5e7eb;
  --soft:#f8fafc;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  color:var(--black);
  background:#ffffff;
}

.mh-wrap{
  width:min(1120px,calc(100% - 32px));
  margin:auto;
}

.mh-header{
  background:#ffffff;
  border-bottom:1px solid #eef2f7;
  position:sticky;
  top:0;
  z-index:20;
}

.mh-nav{
  min-height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.mh-logo{
  width:245px;
  height:76px;
  background:url("/assets/matrix-logo.svg?v=78a") left center/contain no-repeat;
  display:block;
}

.mh-nav nav{
  display:flex;
  align-items:center;
  gap:18px;
  font-weight:900;
}

.mh-nav a{
  color:#111827;
  text-decoration:none;
}

.mh-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border-radius:10px;
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  color:#ffffff!important;
  text-decoration:none;
  font-weight:950;
  border:0;
  cursor:pointer;
  box-shadow:0 18px 38px rgba(237,28,36,.18);
}

.mh-btn.small{
  min-height:44px;
}

.mh-btn.dark{
  background:#111827;
  box-shadow:none;
}

.mh-hero{
  padding:70px 0 64px;
  background:
    radial-gradient(circle at 10% 20%,rgba(237,28,36,.10),transparent 32%),
    linear-gradient(135deg,#ffffff,#f8fafc);
}

.mh-hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:50px;
  align-items:center;
}

.mh-kicker{
  display:inline-flex;
  background:#fff1f2;
  color:#991b1b;
  border:1px solid #fecdd3;
  padding:8px 13px;
  border-radius:999px;
  font-weight:950;
  font-size:13px;
  margin-bottom:18px;
}

.mh-hero h1{
  font-size:52px;
  line-height:1.05;
  letter-spacing:-.06em;
  margin:0 0 18px;
}

.mh-hero p{
  font-size:19px;
  color:var(--muted);
  line-height:1.65;
  margin:0 0 24px;
}

.mh-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.mh-search-card{
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:28px;
  box-shadow:0 28px 80px rgba(15,23,42,.10);
}

.mh-search-card h2{
  font-size:28px;
  margin:0 0 10px;
}

.mh-search-card form{
  display:flex;
  gap:10px;
  margin:20px 0 14px;
}

.mh-search-card input{
  flex:1;
  height:50px;
  border:1px solid #cbd5e1;
  border-radius:10px;
  padding:0 14px;
  font-size:15px;
}

.mh-search-card button{
  min-width:120px;
  border:0;
  border-radius:10px;
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  color:#ffffff;
  font-weight:950;
  cursor:pointer;
}

.mh-note{
  background:#fff1f2;
  border:1px solid #fecdd3;
  color:#991b1b;
  border-radius:12px;
  padding:12px;
  font-weight:850;
  font-size:13px;
}

.mh-section{
  padding:68px 0;
}

.mh-muted{
  background:#f8fafc;
}

.mh-section-title{
  text-align:center;
  max-width:720px;
  margin:0 auto 34px;
}

.mh-section-title h2{
  font-size:34px;
  line-height:1.12;
  letter-spacing:-.045em;
  margin:0 0 10px;
}

.mh-section-title p{
  color:var(--muted);
  line-height:1.6;
  margin:0;
  font-weight:700;
}

.mh-feature-grid,
.mh-plans{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}

.mh-feature,
.mh-plan{
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:28px;
  box-shadow:0 18px 60px rgba(15,23,42,.06);
}

.mh-feature span{
  width:44px;
  height:44px;
  border-radius:50%;
  border:1.5px solid #111827;
  color:var(--red);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  margin-bottom:14px;
}

.mh-feature h3,
.mh-plan h3{
  font-size:24px;
  margin:0 0 10px;
  letter-spacing:-.035em;
}

.mh-feature p,
.mh-subline{
  color:var(--muted);
  line-height:1.55;
  font-weight:750;
}

.mh-plan{
  min-height:610px;
  display:flex;
  flex-direction:column;
}

.mh-plan.featured{
  border-color:#fecdd3;
  box-shadow:0 24px 70px rgba(237,28,36,.12);
}

.mh-badge,
.mh-spacer{
  display:inline-flex;
  min-height:30px;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
}

.mh-badge{
  width:max-content;
  background:#fff1f2;
  color:#991b1b;
  border:1px solid #fecdd3;
  padding:0 12px;
  border-radius:999px;
  font-weight:950;
  font-size:13px;
}

.mh-plan ul{
  list-style:none;
  padding:0;
  margin:10px 0 18px;
  min-height:150px;
}

.mh-plan li{
  padding:9px 0;
  border-bottom:1px solid #f1f5f9;
  font-weight:850;
}

.mh-plan table{
  width:100%;
  border-collapse:collapse;
  margin:0 0 16px;
  border:1px solid #eef2f7;
  border-radius:12px;
  overflow:hidden;
}

.mh-plan th{
  background:#f8fafc;
  color:#475569;
  text-align:left;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.04em;
  padding:12px;
}

.mh-plan td{
  padding:13px 12px;
  border-top:1px solid #eef2f7;
  font-weight:950;
}

.mh-renewal{
  background:#fff1f2;
  border:1px solid #fecdd3;
  color:#991b1b;
  border-radius:12px;
  padding:12px;
  font-size:13px;
  font-weight:900;
  margin:0 0 18px;
  min-height:58px;
  display:flex;
  align-items:center;
}

.mh-plan .mh-btn{
  margin-top:auto;
  width:max-content;
}

.mh-footer{
  padding:26px 0;
  border-top:1px solid #eef2f7;
  color:#64748b;
}

.mh-footer .mh-wrap{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

@media(max-width:960px){
  .mh-hero-grid,
  .mh-feature-grid,
  .mh-plans{
    grid-template-columns:1fr;
  }

  .mh-hero h1{
    font-size:40px;
  }

  .mh-nav{
    display:block;
    padding:10px 0 16px;
  }

  .mh-logo{
    margin:auto;
  }

  .mh-nav nav{
    justify-content:center;
    flex-wrap:wrap;
  }
}

@media(max-width:560px){
  .mh-search-card form{
    display:block;
  }

  .mh-search-card button{
    width:100%;
    height:48px;
    margin-top:10px;
  }
}
