/* Nibbl landing page. Colors match nibbl/Assets.xcassets (BrandPink, BrandCyan); the app is dark-only
   and uses SF Rounded, so this page does too (Nunito where SF Rounded isn't available). */
.nibbl-page {
  --pink: #f1589a;
  --cyan: #1dd9e2;
  --card: #141414;
  --rounded: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, system-ui, sans-serif;
  background: #000;
}
.nibbl-page .site-header { background: #000; }
.nibbl-page .site-header .wrap, .nibbl-page .site-footer .wrap { max-width: 1040px; }

.nb-rounded, .nibbl-page h1, .nibbl-page h2, .nb-eyebrow, .nb-button {
  font-family: var(--rounded);
}

/* Hero */
.nb-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.nb-logo {
  width: min(320px, 80%);
  height: auto;
  display: block;
  margin-bottom: 28px;
}
.nb-eyebrow {
  color: var(--pink);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.nibbl-page h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.nibbl-page h1 em { font-style: normal; color: var(--cyan); }
.nb-lead { font-size: 1.15rem; color: #b4b4bb; max-width: 30em; }

.nb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.nb-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
  background: var(--pink);
  color: #000; /* white fails contrast on pink */
}
.nb-button svg { width: 20px; height: 20px; flex-shrink: 0; }
.nb-button.ghost { background: #1a1a1a; color: #fff; border: 1px solid #2a2a2a; }
.nb-button[aria-disabled="true"] { cursor: default; }
.nb-note { margin-top: 12px; font-size: 0.9rem; color: #77777f; }

/* Phone frame around real screenshots (1206x2622 iPhone captures) */
.nb-phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: 1206 / 2622;
  border-radius: 46px;
  padding: 10px;
  background: #1c1c1e;
  box-shadow:
    0 0 0 1px #2c2c2e,
    0 30px 80px rgba(241, 88, 154, 0.18),
    0 0 120px rgba(29, 217, 226, 0.12);
}
.nb-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 37px;
  display: block;
  background: #000;
}

/* Sprinkle divider */
.nb-sprinkles {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 88px auto 0;
}
.nb-sprinkles i {
  width: 22px;
  height: 7px;
  border-radius: 4px;
  background: var(--pink);
  transform: rotate(-30deg);
}
.nb-sprinkles i:nth-child(2n) { background: var(--cyan); transform: rotate(25deg); }
.nb-sprinkles i:nth-child(3n) { background: #fff; transform: rotate(-10deg); }

/* Feature rows */
.nb-features {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.nb-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 56px;
  margin-top: 96px;
}
.nb-feature:nth-child(even) .nb-phone { order: 2; }
.nb-feature .nb-phone { max-width: 270px; }
.nb-feature h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.nb-feature p { font-size: 1.08rem; color: #b4b4bb; max-width: 28em; }
.nb-feature .tag {
  display: inline-block;
  font-family: var(--rounded);
  font-weight: 800;
  font-size: 0.85rem;
  color: #000;
  background: var(--cyan);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.nb-feature:nth-child(even) .tag { background: var(--pink); }

/* Small extras grid */
.nb-extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  margin-top: 96px;
}
.nb-extras li {
  background: var(--card);
  border: 1px solid #222;
  border-radius: 20px;
  padding: 22px;
}
.nb-extras strong {
  display: block;
  font-family: var(--rounded);
  font-weight: 800;
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: 6px;
}
.nb-extras span { color: #a1a1aa; font-size: 0.97rem; }
.nb-extras .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 8px;
}
.nb-extras li:nth-child(2) .dot { background: var(--pink); }
.nb-extras li:nth-child(3) .dot { background: #fff; }

/* Closing call to action */
.nb-cta {
  text-align: center;
  max-width: 640px;
  margin: 110px auto 0;
  padding: 0 20px;
}
.nb-cta img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display: block;
  margin: 0 auto 22px;
  box-shadow: 0 0 0 1px #2a2a2a, 0 20px 50px rgba(241, 88, 154, 0.2);
}
.nb-cta h2 { font-size: clamp(1.8rem, 4.5vw, 2.4rem); font-weight: 900; letter-spacing: -0.02em; }
.nb-cta .nb-actions { justify-content: center; }

.nibbl-page main { padding-top: 56px; }
.nibbl-page .site-footer { margin-top: 96px; }

@media (max-width: 820px) {
  .nb-hero, .nb-feature { grid-template-columns: 1fr; gap: 40px; }
  .nb-hero { text-align: center; }
  .nb-logo { margin-left: auto; margin-right: auto; }
  .nb-lead { margin: 0 auto; }
  .nb-hero .nb-actions { justify-content: center; }
  .nb-phone { max-width: 260px; }
  .nb-feature { text-align: center; margin-top: 80px; }
  .nb-feature:nth-child(even) .nb-phone { order: 0; }
  .nb-feature p { margin: 0 auto; }
  .nb-extras { grid-template-columns: 1fr; margin-top: 80px; }
}
