:root {
  --ngm-primary: #1abc9c;
  --ngm-secondary: #16a085;
  --ngm-accent: #e67e22;
  --ngm-bg: #ecfdf9;
  --ngm-ink: #0f3d36;
  --ngm-muted: #3d6b63;
  --ngm-panel: #f7fffc;
  --ngm-line: #b7e8dc;
  --ngm-header-h: 72px;
  --ngm-shadow: 8px 8px 16px rgba(15, 61, 54, 0.08), -6px -6px 14px rgba(255, 255, 255, 0.85);
  --ngm-shadow-inset: inset 4px 4px 8px rgba(15, 61, 54, 0.06), inset -4px -4px 8px rgba(255, 255, 255, 0.9);
  --ngm-font-display: "Lexend", "IBM Plex Sans", sans-serif;
  --ngm-font-body: "IBM Plex Sans", "Lexend", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ngm-font-body);
  color: var(--ngm-ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(26, 188, 156, 0.18), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(230, 126, 34, 0.12), transparent 55%),
    linear-gradient(180deg, #e8faf5 0%, var(--ngm-bg) 40%, #e4f7f1 100%);
  line-height: 1.6;
  padding-top: var(--ngm-header-h);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ngm-secondary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ngm-accent); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: rgba(26, 188, 156, 0.12);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.ngm-u-flex { display: flex; flex-wrap: wrap; }
.ngm-u-gap-sm { gap: 0.6rem; }
.ngm-u-gap-md { gap: 1rem; }
.ngm-u-gap-lg { gap: 1.5rem; }
.ngm-u-mt-md { margin-top: 1.25rem; }
.ngm-u-text-center { text-align: center; }

.ngm-container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.ngm-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--ngm-header-h);
  background: #0f3d36;
  color: #ecfdf9;
  box-shadow: 0 2px 0 rgba(26, 188, 156, 0.35);
}

.ngm-header__row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.ngm-header__logo img {
  width: 180px;
  height: auto;
}

.ngm-header__cta { order: 1; margin-left: auto; }
.ngm-nav { order: 2; display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
.ngm-burger { order: 3; }

.ngm-nav__link {
  color: #d7f7ef;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.ngm-nav__link:hover,
.ngm-nav__link.is-active { color: #fff; }

.ngm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border: 2px solid var(--ngm-secondary);
  background: var(--ngm-panel);
  color: var(--ngm-ink);
  font-family: var(--ngm-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: var(--ngm-shadow);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.ngm-btn:hover {
  transform: scale(1.05);
  color: var(--ngm-ink);
}

.ngm-btn--primary {
  background: var(--ngm-primary);
  border-color: var(--ngm-primary);
  color: #06352e;
}

.ngm-btn--primary:hover { background: #24d0ad; color: #06352e; }

.ngm-header .ngm-btn--primary {
  background: var(--ngm-accent);
  border-color: var(--ngm-accent);
  color: #fff;
  box-shadow: none;
}

.ngm-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.ngm-burger span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #ecfdf9;
}

.ngm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 28, 24, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1100;
}

.ngm-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ngm-drawer {
  position: fixed;
  inset: 0;
  background: #0f3d36;
  color: #ecfdf9;
  transform: translateY(-100%);
  transition: transform 0.25s ease;
  z-index: 1200;
  padding: 4.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: auto;
}

.ngm-drawer.is-open { transform: translateY(0); }

.ngm-drawer a {
  color: #ecfdf9;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.ngm-drawer__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #ecfdf9;
  font-size: 2rem;
  cursor: pointer;
}

html.ngm-nav-lock { overflow: hidden; }

.ngm-hero,
.ngm-section,
.ngm-cta {
  padding: 3.25rem 0;
}

.ngm-bleed {
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(236, 253, 249, 0.2));
}

.ngm-bleed--soft {
  background: linear-gradient(90deg, rgba(26, 188, 156, 0.08), rgba(230, 126, 34, 0.06));
}

.ngm-section--contained .ngm-container {
  background: var(--ngm-panel);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--ngm-shadow);
}

.ngm-hero__title,
.ngm-section__title,
.ngm-page__title {
  font-family: var(--ngm-font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  position: relative;
  display: inline-block;
}

.ngm-hero__title { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 18ch; }
.ngm-section__title { font-size: clamp(1.4rem, 3vw, 2rem); }
.ngm-page__title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); display: block; }

.ngm-hero__title::after,
.ngm-section__title::after,
.ngm-sweep-in::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--ngm-primary), var(--ngm-accent));
  transition: width 0.55s ease;
}

.ngm-sweep-in::after { width: 72%; }

.ngm-hero__figures { margin: 1.5rem 0; }
.ngm-hero__figure {
  min-width: 140px;
  padding: 1rem 1.1rem;
  background: var(--ngm-panel);
  box-shadow: var(--ngm-shadow);
  border-radius: 14px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.ngm-hero__num {
  display: block;
  font-family: var(--ngm-font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ngm-secondary);
  line-height: 1;
}

.ngm-hero__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--ngm-muted);
}

.ngm-hero__text,
.ngm-section__lead,
.ngm-prose p {
  max-width: 62ch;
  color: var(--ngm-muted);
}

.ngm-hero__actions { margin: 1.25rem 0; }
.ngm-hero__still {
  width: 220px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--ngm-shadow);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.ngm-card {
  background: var(--ngm-panel);
  box-shadow: var(--ngm-shadow);
  border-radius: 16px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.ngm-rank {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.ngm-rank__item { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.65rem; }
.ngm-rank__pos {
  margin: 0;
  font-family: var(--ngm-font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--ngm-accent);
}

.ngm-rank__name {
  margin: 0;
  font-family: var(--ngm-font-display);
  font-size: 1.35rem;
}

.ngm-rank__tag {
  margin: 0;
  display: inline-flex;
  align-self: flex-start;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(230, 126, 34, 0.15);
  color: #9a4d0d;
  font-size: 0.8rem;
  font-weight: 600;
}

.ngm-rank__desc,
.ngm-rank__facts { margin: 0; color: var(--ngm-muted); font-size: 0.95rem; }
.ngm-rank__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }

.ngm-app__icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--ngm-shadow-inset);
}

.ngm-app__preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

.ngm-method {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.ngm-method__item { margin: 0.55rem 0; color: var(--ngm-muted); }

.ngm-pick {
  display: grid;
  grid-template-columns: auto 1fr minmax(180px, 280px);
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem;
}

.ngm-pick__name { margin: 0 0 0.35rem; font-family: var(--ngm-font-display); }
.ngm-pick__tag { margin: 0 0 0.75rem; color: var(--ngm-accent); font-weight: 600; }

.ngm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.ngm-blogcard {
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  transition: transform 0.18s ease;
}

.ngm-blogcard:hover { transform: scale(1.02); color: inherit; }
.ngm-blogcard__band { height: 10px; }
.ngm-blogcard__band--1 { background: #1abc9c; }
.ngm-blogcard__band--2 { background: #16a085; }
.ngm-blogcard__band--3 { background: #e67e22; }
.ngm-blogcard__band--4 { background: #0f3d36; }
.ngm-blogcard__title,
.ngm-blogcard__excerpt { padding: 0 1.1rem; }
.ngm-blogcard__title { margin: 1rem 0 0.4rem; font-family: var(--ngm-font-display); font-size: 1.15rem; }
.ngm-blogcard__excerpt { margin: 0 0 1.1rem; color: var(--ngm-muted); }

.ngm-cta p { margin: 0 auto 1.25rem; max-width: 52ch; color: var(--ngm-muted); }

.ngm-page {
  padding: 2.5rem 0 3.5rem;
}

.ngm-prose {
  max-width: 70ch;
}

.ngm-prose h2 {
  font-family: var(--ngm-font-display);
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.ngm-prose ul { padding-left: 1.2rem; color: var(--ngm-muted); }
.ngm-prose li { margin: 0.4rem 0; }

.ngm-crumbs {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--ngm-muted);
}

.ngm-crumbs a { color: var(--ngm-secondary); }

.ngm-faq details {
  background: var(--ngm-panel);
  box-shadow: var(--ngm-shadow);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin: 0.7rem 0;
}

.ngm-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--ngm-font-display);
}

.ngm-faq p { margin: 0.65rem 0 0; color: var(--ngm-muted); }

.ngm-form {
  display: grid;
  gap: 0.85rem;
  max-width: 420px;
}

.ngm-form label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.92rem; }
.ngm-form input,
.ngm-form textarea {
  width: 100%;
  border: 2px solid var(--ngm-line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: #fff;
  box-shadow: var(--ngm-shadow-inset);
}

.ngm-form textarea { min-height: 140px; resize: vertical; }

.ngm-contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.ngm-contact__card {
  padding: 1.25rem;
}

.ngm-footer {
  background: #0f3d36;
  color: #d7f7ef;
  padding: 2.75rem 0 2rem;
  margin-top: 2rem;
}

.ngm-footer a { color: #ecfdf9; }
.ngm-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.ngm-footer__heading {
  margin: 0 0 0.75rem;
  font-family: var(--ngm-font-display);
  font-size: 1rem;
  color: #fff;
}

.ngm-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ngm-footer__list li { margin: 0.4rem 0; }
.ngm-footer__link {
  border: 0;
  background: transparent;
  color: #ecfdf9;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ngm-footer__note,
.ngm-footer__copy {
  margin: 1.5rem 0 0;
  color: #9fcfc4;
  font-size: 0.9rem;
  max-width: 80ch;
}

.ngm-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1400;
  background: #0f3d36;
  color: #ecfdf9;
  padding: 1rem 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
}

.ngm-cookie[hidden] { display: none !important; }

.ngm-cookie__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ngm-cookie p { margin: 0; max-width: 60ch; }
.ngm-cookie a { color: #fff; }

.ngm-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ngm-tip {
  padding: 1.1rem;
}

.ngm-tip h3 {
  margin: 0.5rem 0;
  font-family: var(--ngm-font-display);
}

@media (max-width: 1100px) {
  .ngm-nav { display: none; }
  .ngm-burger { display: inline-block; margin-left: 0.25rem; }
  .ngm-header__cta { margin-left: auto; }
  .ngm-rank { grid-template-columns: 1fr; }
  .ngm-pick { grid-template-columns: 1fr; }
  .ngm-grid { grid-template-columns: 1fr; }
  .ngm-contact { grid-template-columns: 1fr; }
  .ngm-footer__grid { grid-template-columns: 1fr; }
  .ngm-tips-grid { grid-template-columns: 1fr; }
  .ngm-header__logo img { width: 120px; }
  .ngm-cookie__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ngm-btn,
  .ngm-blogcard,
  .ngm-drawer,
  .ngm-overlay,
  .ngm-hero__title::after,
  .ngm-section__title::after { transition: none; }
}
