/* SCSS source for the MFK onepager. Keep assets/css/mfk-onepager.css in sync after edits. */
:root {
  --bg: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .09);
  --accent: #0071e3;
  --accent-press: #0060c8;
  --accent-soft: rgba(0, 113, 227, .10);
  --coral: #ff4058;
  --coral-press: #e7334b;
  --coral-soft: rgba(255, 64, 88, .10);
  --dark: #050303;
  --font: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --label-font: "IBM Plex Sans SemiCondensed", "IBM Plex Sans", system-ui, sans-serif;
  --r: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.mono {
  font-family: var(--label-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: saturate(180%) blur(16px);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand-logo {
  display: block;
  width: 126px;
  height: auto;
}

nav .brand-logo {
  filter: invert(1);
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 15px;
  font-weight: 600;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.72);
  transition: 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  font-weight: 600;
  font-size: 14.5px;
  background: var(--coral);
  color: #fff;
  padding: 9px 18px;
  border-radius: 40px;
  transition: 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--coral-press);
}

.hero {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.76) 42%, rgba(0, 0, 0, 0.84) 100%), radial-gradient(circle at 54% 12%, rgba(148, 22, 12, 0.5), transparent 34%), radial-gradient(circle at 28% 30%, rgba(92, 8, 8, 0.72), transparent 38%), url("../img/header_001_2400.jpg") center top/cover no-repeat;
  position: relative;
  overflow: hidden;
  padding: 220px 0 0;
  text-align: center;
}

.hero::before {
  content: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 560px;
  background: radial-gradient(ellipse at center, rgba(255, 64, 88, 0.18), transparent 65%);
  z-index: 0;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero .mono {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
  display: inline-block;
}

.hero h1 {
  font-size: 82px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  max-width: 16ch;
  margin: 0 auto;
  color: #fff;
}

.text-gradient {
  display: inline-block;
  color: transparent;
  background: linear-gradient(100deg, #2f6bff 0%, #7b61ff 34%, #d84d8e 62%, #ff4058 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.72);
  font-size: 21px;
  max-width: 36em;
  margin: 26px auto 0;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn {
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 44px;
  transition: 0.22s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-fill {
  background: var(--coral);
  color: #fff;
}

.btn-fill:hover {
  background: var(--coral-press);
  transform: translateY(-2px);
}

.btn-line {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
}

.btn-line:hover {
  background: rgba(255, 255, 255, 0.1);
}

.stage {
  margin: 60px 0 0;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 0 0 120px;
}

.stage::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: 0;
  left: -180px;
  height: 220px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
  z-index: -1;
  pointer-events: none;
}

.frame {
  background: linear-gradient(155deg, #f2f2f4, #d8d9de);
  border: 1px solid #cdced4;
  border-radius: 30px;
  padding: 14px;
  max-width: 358px;
  margin: 0 auto;
  box-shadow: 0 50px 90px -34px rgba(0, 0, 0, 0.35), 0 10px 26px -16px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.screen {
  position: relative;
  aspect-ratio: 594/841;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0px 0px 11px 0px rgba(0, 0, 0, 0.5);
}

.status {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.04);
  padding: 5px 10px;
  border-radius: 30px;
  font-family: var(--label-font);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #86868b;
}

.status .led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(0, 113, 227, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 113, 227, 0);
  }
}
.motif {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.motif.on {
  opacity: 1;
  transform: none;
}

.motif-image {
  padding: 0;
  background: #fff;
}

.motif-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-kicker {
  font-family: var(--label-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
}

.m-big {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.94;
  margin: 14px 0;
  color: var(--ink);
}

.m1 .m-big {
  font-size: 78px;
}

.m1 .m-sub {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.m2 .m-big,
.m3 .m-big {
  font-size: 40px;
}

.m2 .row {
  display: flex;
  justify-content: space-between;
  width: 80%;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  color: #3a3a3d;
}

.m3 .m-sub {
  font-size: 14px;
  color: var(--muted);
  max-width: 84%;
}

.m-foot {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  font-family: var(--label-font);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a1a1a6;
}

.specs {
  background: var(--bg);
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 72px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.spec {
  text-align: center;
}

.spec .v {
  font-size: 54px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  color: var(--ink);
}

.spec .v span {
  color: var(--coral);
}

.spec .k {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 10px;
}

section {
  padding: 96px 0;
}

.section-tight {
  padding-top: 0;
}

.tag {
  display: inline-block;
  color: var(--coral);
  margin-bottom: 18px;
}

h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--ink);
}

.sec-lede {
  font-size: 20px;
  color: var(--muted);
  max-width: 34em;
  margin-top: 20px;
}

.problem h2 {
  max-width: 16ch;
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 64px;
  align-items: center;
}

.problem-media {
  justify-self: center;
  width: min(100%, 390px);
}

.problem-media img {
  display: block;
  width: 100%;
  height: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 54px;
}

.step {
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}

.step .n {
  font-family: var(--label-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.1em;
}

.step h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 16px 0 10px;
  letter-spacing: 0;
}

.step p {
  color: var(--muted);
  font-size: 16.5px;
}

.cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 54px;
}

.case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 38px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: 0.25s;
}

.case:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -28px rgba(0, 0, 0, 0.22);
}

.case .size {
  font-family: var(--label-font);
  font-size: 12px;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.08em;
}

.case h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 14px 0 12px;
  letter-spacing: 0;
}

.case p {
  color: var(--muted);
  font-size: 16.5px;
}

.fs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.fs-list {
  list-style: none;
  margin-top: 4px;
}

.fs-list li {
  display: flex;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 17px;
  align-items: center;
}

.fs-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--coral-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4058' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.why {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.why h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0;
}

.why p {
  color: var(--muted);
  font-size: 16px;
}

.cta .panel {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.76) 42%, rgba(0, 0, 0, 0.84) 100%), radial-gradient(circle at 54% 12%, rgba(148, 22, 12, 0.5), transparent 34%), radial-gradient(circle at 28% 30%, rgba(92, 8, 8, 0.72), transparent 38%), url("../img/teaserbg.jpg") center top/cover no-repeat;
  border-radius: 30px;
  padding: 72px 32px;
  text-align: center;
  color: #FFF;
}

.cta h2,
.cta h3 {
  max-width: 18ch;
  margin: 0 auto;
}

.cta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  margin: 20px auto 32px;
  max-width: 30em;
}

footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 46px 0;
}

.foot-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-in .brand-logo {
  width: 126px;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
}

.footer-brand a {
  color: var(--ink);
  font-weight: 600;
}

.footer-brand a:hover {
  color: var(--ink);
}

.foot-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.foot-links a {
  color: var(--muted);
}

.foot-links a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.page-hero {
  padding: 86px 0 56px;
  border-bottom: 1px solid var(--line);
}

.page-hero .mono {
  color: var(--coral);
  display: inline-block;
  margin-bottom: 16px;
}

.page-hero h1 {
  max-width: 12ch;
}

.page-hero p {
  color: var(--muted);
  font-size: 21px;
  max-width: 36em;
  margin-top: 22px;
}

.page-content {
  padding: 72px 0 96px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 64px;
  align-items: start;
}

.content-stack {
  display: grid;
  gap: 34px;
}

.content-block {
  display: grid;
  gap: 14px;
}

.content-block h2 {
  font-size: 30px;
}

.content-block h3 {
  font-size: 21px;
}

.content-block p,
.content-block li,
.contact-card p,
.contact-card li {
  color: var(--muted);
  font-size: 17px;
}

.content-block ul {
  padding-left: 1.1em;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.contact-card h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-list dt {
  color: var(--coral);
  font-family: var(--label-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list dd {
  color: var(--ink);
  font-size: 17px;
  margin-top: 3px;
}

.contact-list a,
.content-block a {
  color: var(--coral);
  font-weight: 600;
}

.contact-list a {
  color: var(--ink);
}

.contact-list a:hover,
.content-block a:hover {
  color: var(--coral-press);
}

.contact-list a:hover {
  color: var(--ink);
}

.content-block a.btn-fill,
.content-block a.btn-fill:hover {
  color: #fff;
}

.legal-meta {
  color: var(--muted);
  font-size: 15px;
  margin-top: 28px;
}

@media (max-width: 820px) {
  .steps,
  .cases,
  .fs-grid,
  .why-grid,
  .content-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    gap: 8px;
  }
  .cases {
    gap: 22px;
  }
  .fs-grid {
    gap: 34px;
  }
  .why-grid {
    gap: 14px;
  }
  .content-grid {
    gap: 42px;
  }
  .problem-grid {
    gap: 42px;
  }
  .problem-media {
    justify-self: start;
    max-width: 330px;
  }
}
@media (max-width: 780px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding-top: 120px;
  }
  .hero h1 {
    font-size: 56px;
  }
  .hero .lede {
    font-size: 19px;
  }
  .spec-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 20px;
  }
  .spec .v {
    font-size: 44px;
  }
  h2 {
    font-size: 38px;
  }
}
@media (max-width: 520px) {
  body {
    font-size: 17px;
  }
  .wrap {
    padding: 0 20px;
  }
  .nav-in {
    height: 68px;
    gap: 12px;
  }
  .brand-logo {
    width: 108px;
  }
  .nav-cta {
    padding: 8px 14px;
    font-size: 14px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero .lede,
  .sec-lede,
  .cta p {
    font-size: 18px;
  }
  .stage {
    max-width: 320px;
  }
  .m1 .m-big {
    font-size: 64px;
  }
  h2 {
    font-size: 32px;
  }
  section {
    padding: 78px 0;
  }
  .section-tight {
    padding-top: 0;
  }
  .case,
  .why,
  .contact-card {
    padding: 28px;
  }
  .cta .panel {
    padding: 56px 24px;
  }
  .page-hero {
    padding: 66px 0 44px;
  }
  .page-hero p {
    font-size: 18px;
  }
  .page-content {
    padding: 56px 0 78px;
  }
}
