:root {
  --mk-red: #e01828;
  --mk-red-deep: #b80b16;
  --mk-black: #111111;
  --mk-ink: #242022;
  --mk-muted: #645d60;
  --mk-line: rgba(17, 17, 17, 0.12);
  --mk-white: #ffffff;
  --mk-soft: #f7f4f2;
  --mk-petal: #fff3f1;
  --mk-gold: #b9934b;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--mk-ink);
  background: var(--mk-soft);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 18px;
  left: max(24px, calc((100vw - 1180px) / 2));
  width: auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 12, 13, 0.14);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 142px;
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a,
.secondary-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.top-nav a {
  color: var(--mk-ink);
}

.top-nav a:hover,
.secondary-link:hover,
.text-link:hover {
  background: rgba(224, 24, 40, 0.10);
  color: var(--mk-red);
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  align-items: center;
  gap: clamp(24px, 5vw, 84px);
  padding: 132px max(24px, calc((100vw - 1180px) / 2)) 56px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(9, 9, 10, 0.86) 0%, rgba(9, 9, 10, 0.68) 42%, rgba(9, 9, 10, 0.22) 100%),
    url("assets/event-hero.webp");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(247, 244, 242, 0), var(--mk-soft));
}

.hero-content {
  color: var(--mk-white);
  max-width: 680px;
  padding-top: 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mk-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb6b9;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(3.4rem, 7vw, 6.9rem);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.app-store-link {
  display: inline-flex;
  width: 192px;
  max-width: min(192px, 100%);
  min-height: 56px;
  align-items: center;
  cursor: pointer;
}

.app-store-link img {
  width: 100%;
  height: auto;
  cursor: pointer;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.secondary-link {
  background: var(--mk-white);
  color: var(--mk-black);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.phone-stage {
  position: relative;
  min-height: min(620px, 62vw);
  align-self: end;
}

.phone {
  position: absolute;
  width: min(292px, 38vw);
  border-radius: 34px;
  border: 10px solid #171719;
  background: #171719;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.36);
}

.phone-main {
  right: 0;
  bottom: 0;
  z-index: 2;
}

.phone-side {
  right: min(220px, 24vw);
  bottom: 42px;
  z-index: 1;
  opacity: 0.92;
  transform: rotate(-6deg);
}

.benefits,
.showcase,
.download-band {
  padding: clamp(56px, 8vw, 108px) 24px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.benefit-grid article {
  min-height: 232px;
  padding: 24px;
  background: var(--mk-white);
  border: 1px solid var(--mk-line);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(17, 17, 17, 0.06);
}

.benefit-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--mk-petal);
  color: var(--mk-red);
  font-weight: 900;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.benefit-grid p,
.showcase p {
  margin: 0;
  color: var(--mk-muted);
  font-weight: 600;
}

.showcase {
  background: #ffffff;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 90px);
}

.showcase p {
  max-width: 590px;
  margin-top: 18px;
  font-size: 1.05rem;
}

.text-link {
  width: fit-content;
  margin-top: 24px;
  background: var(--mk-black);
  color: var(--mk-white);
}

.screen-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.screen-pair img {
  width: 100%;
  border-radius: 28px;
  border: 8px solid #171719;
  background: #171719;
  box-shadow: 0 26px 54px rgba(17, 17, 17, 0.16);
}

.screen-pair img:first-child {
  transform: translateY(22px);
}

.download-band {
  background: var(--mk-black);
  color: var(--mk-white);
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.download-inner .eyebrow {
  color: #ffb6b9;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    top: 12px;
    left: 12px;
    align-items: center;
  }

  .brand img {
    width: 118px;
  }

  .top-nav {
    gap: 4px;
  }

  .top-nav a {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 116px;
    padding-bottom: 42px;
  }

  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(9, 9, 10, 0.82) 0%, rgba(9, 9, 10, 0.70) 58%, rgba(9, 9, 10, 0.30) 100%),
      url("assets/event-hero.webp");
  }

  .hero-content {
    padding-top: 0;
  }

  .phone-stage {
    min-height: 520px;
    width: min(100%, 390px);
    justify-self: center;
  }

  .phone {
    width: min(202px, 52vw);
  }

  .phone-main {
    right: 24px;
  }

  .phone-side {
    right: auto;
    left: 18px;
    bottom: 34px;
  }

  .benefit-grid,
  .showcase-grid,
  .screen-pair {
    grid-template-columns: 1fr;
  }

  .download-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    width: auto;
    padding: 8px;
  }

  .brand img {
    width: 96px;
  }

  .top-nav a {
    padding: 0 8px;
  }

  .hero {
    min-height: 82svh;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 24px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .secondary-link {
    width: 100%;
  }

  .phone-stage {
    min-height: 150px;
    margin-top: 14px;
    overflow: hidden;
  }

  .phone {
    width: min(168px, 43vw);
    border-width: 6px;
    border-radius: 24px;
  }

  .phone-main {
    right: 14px;
    bottom: -250px;
  }

  .phone-side {
    left: 14px;
    bottom: -246px;
  }

  .benefits,
  .showcase,
  .download-band {
    padding-left: 16px;
    padding-right: 16px;
  }
}
