html,
body {
  margin: 0;
  background: #03070c;
}

.nm {
  --nm-lamp: #fb7185;
  --nm-ink: #C0CAE9;
  --landing-cta-bg: var(--nm-ink);
  --landing-cta-fg: #03070c;
  --landing-cta-border: color-mix(in srgb, var(--nm-ink) 40%, transparent);
  --landing-cta-ghost: var(--nm-ink);
  --nm-display: Unbounded, Impact, sans-serif;
  --nm-body: Manrope, ui-sans-serif, system-ui, sans-serif;
  position: relative;
  background: #03070c;
  color: var(--nm-ink);
  font-family: var(--nm-body);
  overflow-x: hidden;
}

.nm__glow {
  position: absolute;
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  left: -80px;
  top: -80px;
  background: radial-gradient(circle, color-mix(in srgb, var(--nm-ink) 40%, transparent), transparent 65%);
  pointer-events: none;
}

.nm__hero {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.nm__brand {
  font-family: var(--nm-display);
  font-size: clamp(64px, 16vw, 140px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.05em;
  margin: 8px 0 16px;
}

.nm__hero-title {
  font-family: var(--nm-display);
  font-size: clamp(20px, 3.2vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  opacity: 0.88;
}

.nm__live {
  margin: 0 0 12px;
  color: var(--nm-lamp);
  letter-spacing: 0.22em;
  font-size: 12px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nm__live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nm-lamp);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--nm-lamp) 55%, transparent);
  animation: nm-pulse 2.2s ease-out infinite;
}

@keyframes nm-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--nm-lamp) 50%, transparent);
  }
  70% {
    box-shadow: 0 0 0 8px transparent;
  }
}

.nm__lead {
  max-width: 42ch;
  opacity: 0.8;
  margin-bottom: 28px;
  line-height: 1.5;
}

.nm__motto {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 40px 40px;
  font-family: var(--nm-display);
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.3;
}

.nm__motto::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0.15em;
  bottom: 40px;
  width: 3px;
  background: var(--nm-lamp);
}

.nm__pains,
.nm__bench,
.nm__features {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.nm__pains h2,
.nm__bench h2,
.nm__features h2 {
  font-family: var(--nm-display);
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 24px;
}

.nm__pains ol {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 800px) {
  .nm__pains ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.nm__pains li {
  min-width: 0;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--nm-ink) 28%, transparent);
  background: rgba(3, 7, 12, 0.7);
}

.nm__pains span {
  color: var(--nm-lamp);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.nm__pains h3 {
  font-family: var(--nm-display);
  font-size: 20px;
  margin: 8px 0 10px;
  line-height: 1.2;
}

.nm__pains p {
  margin: 0;
  line-height: 1.45;
  opacity: 0.82;
}

.nm__bench-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 800px) {
  .nm__bench-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.nm__bench-grid article {
  min-width: 0;
  padding: 18px;
  background: color-mix(in srgb, var(--nm-ink) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--nm-ink) 22%, transparent);
}

.nm__bench-grid h3 {
  font-family: var(--nm-display);
  font-size: 18px;
  margin: 0 0 8px;
}

.nm__bench-grid h3::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  margin-top: 8px;
  background: var(--nm-lamp);
}

.nm__bench-grid p {
  margin: 0;
  line-height: 1.4;
  opacity: 0.8;
}

.nm__device {
  display: flex;
  justify-content: center;
  padding: 8px 24px 48px;
}

.nm__device-frame {
  width: min(240px, 68vw);
  aspect-ratio: 9 / 19.5;
  max-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  border: 6px solid color-mix(in srgb, var(--nm-ink) 45%, transparent);
  box-shadow: 0 0 60px color-mix(in srgb, var(--nm-ink) 28%, transparent);
  background: #041016;
}

.nm__device-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.nm__features ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

@media (min-width: 800px) {
  .nm__features ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nm__features li {
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--nm-ink) 24%, transparent);
}

.nm__features strong {
  display: block;
  font-family: var(--nm-display);
  color: var(--nm-ink);
  margin-bottom: 4px;
}

.nm__foot {
  padding: 24px;
  text-align: center;
  opacity: 0.75;
}

.nm__foot a {
  color: var(--nm-ink);
}

.landing-cta__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.landing-cta__primary,
.landing-cta__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.landing-cta__primary {
  background: var(--landing-cta-bg, #fff);
  color: var(--landing-cta-fg, #0b1220);
}

.landing-cta__ghost {
  border: 1px solid var(--landing-cta-border, rgba(255, 255, 255, 0.28));
  color: var(--landing-cta-ghost, #fff);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.iphone-dialog {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #C0CAE9;
}

.iphone-dialog[hidden] {
  display: none;
}

.iphone-dialog__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(3, 7, 12, 0.72);
  cursor: pointer;
}

.iphone-dialog__card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: #041016;
  border: 1px solid color-mix(in srgb, #C0CAE9 28%, transparent);
}

.iphone-dialog__card h2 {
  margin: 0 24px 16px 0;
  font-size: 28px;
  line-height: 1.1;
}

.iphone-dialog__card p {
  margin: 0 0 12px;
  line-height: 1.5;
}

.iphone-dialog__card a {
  color: inherit;
}

.iphone-dialog__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
