@font-face {
  font-family: Inter;
  src: url('/assets/nomi-app/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --canvas: #07060a;
  --purple: #8c52ff;
  --surface: #14121b;
  --ink: #fff;
  --paper: #f6f1fa;
  --inset: 6%;
  --motion-ease: cubic-bezier(.2,.75,.25,1);
  --page-top: clamp(18px, 2.65vw, 38px);
  font-family: Inter, system-ui, sans-serif;
  background: var(--canvas);
  color: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; max-width: 100%; }
.shell { width: min(92%, 1560px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; left: 12px; top: 8px; padding: 12px 18px; color: #180e24; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.landing { position: relative; padding-top: var(--page-top); }
#main { isolation: isolate; position: relative; }
.meteor-field {
  position: absolute;
  z-index: -1;
  inset: calc(-1 * var(--page-top)) -4% 0;
  overflow: clip;
  pointer-events: none;
}
.meteor {
  position: absolute;
  width: var(--tail, 54px);
  height: 2px;
  border-radius: 100%;
  background: linear-gradient(90deg, transparent, #9b6aff 72%, #fff);
  opacity: 0;
  animation: shooting-star 5.6s linear infinite;
}
.meteor::after {
  content: '';
  position: absolute;
  right: 0;
  top: -1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 7px #b689ff;
}
.meteor-left { top: 21%; left: calc(1.4% - 27px); --angle: 83deg; --travel-y: 155px; --travel-x: 17px; }
.meteor-right { top: 44%; right: calc(2% - 27px); --angle: 96deg; --travel-y: 127px; --travel-x: -13px; animation-delay: -2.1s; }
.meteor-bottom-left { bottom: 18px; left: 7%; --angle: 2deg; --travel-y: 4px; --travel-x: 115px; animation-delay: -1.1s; }
.meteor-bottom-right { bottom: 14px; right: 24%; --angle: 1deg; --travel-y: 2px; --travel-x: 90px; animation-delay: -3.4s; }
@keyframes shooting-star {
  0% { opacity: 0; transform: rotate(var(--angle)); }
  4%, 12% { opacity: 1; }
  20%, 100% { opacity: 0; transform: translate(var(--travel-x), var(--travel-y)) rotate(var(--angle)); }
}
.panel-shapes { position: absolute; pointer-events: none; }
.site-header { position: absolute; inset: var(--page-top) 0 auto; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; padding-inline: var(--inset); }
.site-header nav { display: flex; gap: clamp(10px, 2vw, 28px); align-items: center; height: 39px; }
.site-header nav a { display: grid; place-items: center; min-height: 32px; padding-inline: 6px; color: #e2d9e9; font-size: 14px; font-weight: 460; }
.site-header nav a:hover, .site-footer nav a:hover { color: #c6a2ff; }
.wordmark { display: inline-flex; justify-self: start; align-items: center; gap: 7px; width: max-content; font-size: 28px; line-height: 1; font-weight: 780; letter-spacing: -.06em; }
.site-header .wordmark { color: var(--ink); margin-top: 18px; font-size: 34px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 19px; border: 1px solid transparent; border-radius: 100px; white-space: nowrap; font-size: 14px; font-weight: 620; transition: background .2s, box-shadow .2s, color .2s, transform .2s var(--motion-ease); }
.action-icon { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--motion-ease); }
.button:active, .feature-link:active { transform: translateY(1px); }
.hero { position: relative; isolation: isolate; min-height: clamp(690px, calc(100svh - var(--page-top) - 45px), 960px); display: flex; align-items: center; color: var(--ink); }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: var(--surface, var(--purple)); clip-path: url(#hero-panel); }
.hero-edge { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #533b73; stroke-width: 1.2px; overflow: visible; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; padding: 32px 0 24px var(--inset); width: 55%; animation: copy-in .55s var(--motion-ease) both; }
h1 { font-size: clamp(55px, 5.65vw, 83px); line-height: 1.03; letter-spacing: -.042em; font-weight: 660; }
h1 span { display: block; }
.intro { margin-top: 28px; max-width: 39ch; font-size: 18px; font-weight: 440; line-height: 1.58; color: #d0c4df; }
.network-name { white-space: nowrap; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.button-dark { min-height: 54px; min-width: 170px; padding-inline: 21px; color: #1c102b; background: #dbccfa; border-color: #dbccfa; }
@media (hover: hover) {
  .button-dark:hover { background: #ede3ff; }
  .button:hover .action-icon { transform: translateX(3px); }
}
/* Match the visual mask to the purple surface, including the lower step. */
.hero-visual { position: absolute; inset: 0; overflow: clip; pointer-events: none; clip-path: url(#hero-panel); }
.hero-art { --phone-width: 65%; --phone-right: 13%; position: absolute; top: 11%; bottom: 0; right: 3.5%; width: 44%; }
.hero-art picture { position: absolute; z-index: 1; display: block; top: 3%; right: var(--phone-right); width: var(--phone-width); animation: phone-in .72s .09s var(--motion-ease) both; }
.hero-art img { width: 100%; height: auto; filter: drop-shadow(9px 10px 13px #38294632); }
.halo { position: absolute; display: block; width: 138%; aspect-ratio: 1; left: calc(100% - var(--phone-right) - var(--phone-width) / 2); top: 43%; transform: translate(-50%, -50%); overflow: visible; mask-image: linear-gradient(to right, transparent, #000 35%); }
.halo g { transform-origin: 380px 380px; opacity: .45; animation: pulse 4.8s ease-in-out infinite; }
.halo circle { fill: none; stroke: #8c52ff; stroke-width: 1.65; }
.halo circle:nth-child(2n) { opacity: .65; }
.halo circle:nth-child(n+4) { stroke-width: 1.25; }
@keyframes copy-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes phone-in {
  from { opacity: .3; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: .45; }
  50% { transform: scale(1.1); opacity: .72; }
}
#main { padding-bottom: 12px; }
.site-footer { display: flex; gap: 0 22px; align-items: center; flex-wrap: wrap; min-height: 60px; border-top: 1px solid #2c2533; padding: 8px var(--inset); }
.site-footer p { font-size: 12px; color: #aaa0b7; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; margin-left: auto; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 38px; font-size: 13px; color: #ddd3e6; }
.site-footer nav .footer-social { justify-content: center; min-width: 44px; }
@media (max-width: 950px) {
  h1 { font-size: clamp(41px, 5.65vw, 54px); }
  .hero { min-height: 650px; }
  .hero-art { --phone-width: 76%; width: max(315px, 42%); right: 3%; }
  .intro { max-width: 300px; }

  .site-footer { padding-inline: 3%; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 28px); }
  :root { --page-top: 14px; }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 21px; }
  .site-header nav { display: none; }
  .site-header .wordmark { margin-top: 16px; font-size: 31px; }
  .site-header .wordmark img { height: 25px; width: 25px; }
  .hero { display: block; min-height: 0; overflow: clip; border-radius: 26px; }
  .meteor-field { inset-inline: -14px; }
  .meteor-left { left: calc(2% - 27px); --travel-x: 2px; --angle: 89deg; }
  .meteor-right { right: calc(2% - 27px); --travel-x: -2px; --angle: 91deg; }
  .meteor-bottom-left, .meteor-bottom-right { bottom: 1px; --travel-y: 0px; --angle: 0deg; }
  .hero-edge { display: none; }
  .hero::before { box-shadow: inset 0 0 0 1px #533b73; clip-path: none; border-radius: 26px; inset-block-end: 0; background: var(--surface); }
  .hero-copy { width: auto; padding: 100px 24px 0; }
  h1 { font-size: clamp(35px, 11.2vw, 61px); letter-spacing: -.038em; }
  .intro { margin-top: 20px; font-size: 16px; max-width: 300px; }
  .hero-actions { margin-top: 25px; gap: 10px 13px; }
  .button-dark { min-width: 110px; min-height: 45px; padding-inline: 13px; font-size: 13px; }
  .hero-visual { position: relative; inset: auto; overflow: visible; clip-path: none; margin-top: 29px; }
  .hero-art { --phone-width: min(62%, 340px); --phone-right: calc((100% - var(--phone-width)) / 2); position: relative; inset: auto; width: 100%; height: clamp(428px, 110vw, 615px); }
  .hero-art picture { top: 4%; }
  .halo { width: 117%; top: 47%; mask-image: linear-gradient(to bottom, transparent, #000 47%); }
  .site-footer { padding: 12px 6px 10px; gap: 5px 14px; }
  .site-footer nav { margin-left: 0; gap: 4px 16px; flex-basis: 100%; }
  .site-footer nav a { display: inline-flex; align-items: center; min-height: 38px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .halo g { opacity: .5; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
