/* Homepage: one centered heading and product illustration per section. */
:root { --nl-decor-lime: var(--color-accent); }
.hl-hero-ribbon { padding: 14px 0; margin-top: 24px; overflow: hidden; background: var(--nl-lime); color: var(--nl-ink); }
.hl-ribbon-window { overflow: hidden; }
.hl-ribbon-track { display: flex; width: max-content; animation: hl-ribbon-scroll 32s linear infinite paused; }
.hl-ribbon-group { display: flex; align-items: center; justify-content: space-around; flex-shrink: 0; min-width: 100vw; gap: 56px; padding: 0 28px; box-sizing: border-box; }
.hl-ribbon-item { display: flex; align-items: center; gap: 14px; min-height: 36px; padding: 4px 0; color: inherit; font-size: 20px; line-height: 1.3; white-space: nowrap; text-decoration: none; }
.hl-ribbon-item strong { font-weight: 650; }
.hl-ribbon-item [data-launch-count-mirror] { display: inline-block; font-variant-numeric: tabular-nums; }
.hl-ribbon-item > :is(.app-icon, .public-icon) { flex-shrink: 0; }
.hl-ribbon-item:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.hl-ribbon-item:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[data-ribbon-visible="true"] .hl-ribbon-track { animation-play-state: running; }
.hl-hero-ribbon:focus-within .hl-ribbon-track,
body[data-motion="paused"] .hl-ribbon-track { animation-play-state: paused; }
@keyframes hl-ribbon-scroll { to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  .hl-hero-ribbon { padding-block: 12px; margin-top: 20px; }
  .hl-ribbon-item { gap: 10px; font-size: 18px; }
  .hl-ribbon-group { gap: 36px; padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-ribbon-track { width: 100%; animation: none; }
  .hl-ribbon-group { min-width: 0; width: 100%; flex-wrap: wrap; gap: 16px 24px; }
  .hl-ribbon-group[aria-hidden="true"] { display: none; }
  .hl-ribbon-item { white-space: normal; }
}

.nl-home {
  --home-section-space: 36px;
  --home-content-gap: 24px;
}

.nl-home > :is(.nl-section, .nl-founders) {
  position: relative;
  isolation: isolate;
  padding-block: var(--home-section-space) !important;
  background: #fff;
  border-top: 1px solid #e3ebd6;
}

.nl-home > .nl-social { border-top: 0; }
.nl-home > .nl-brand-divider + .nl-section,
.nl-home > .nl-brand-divider + .nl-founders { border-top: 0; }

/* Small contextual marks sit outside the copy and interactive product scenes. */
.nl-home > .nl-hero, body[data-page=""] .hl-closing { position: relative; isolation: isolate; }
.nl-section-accents { position: absolute; inset: 0; z-index: -1; pointer-events: none; user-select: none; }
.nl-accent { position: absolute; display: flex; align-items: center; justify-content: center; gap: 5px; width: 36px; height: 36px; color: var(--nl-decor-lime); }
.nl-accent--1 { left: calc(50% - 520px); top: 48px; transform: rotate(-14deg); }
.nl-accent--2 { right: calc(50% - 520px); top: 204px; transform: rotate(12deg); }
.nl-accent--3 { left: calc(50% - 520px); top: 64%; transform: rotate(8deg); }
.nl-accent--ink { color: #111; }
.nl-accent--ink > svg { stroke-width: .9; }
.nl-accent-reaction { width: 56px; border: 1px solid var(--nl-decor-lime); border-radius: 9px; background: #fff; }
.nl-accent-reaction > span:last-child { font: 600 12px/1 Geist, sans-serif; font-variant-numeric: tabular-nums; }
[data-section-accents="styles"] .nl-accent--3 { transform: rotate(-12deg); }
[data-section-accents="statistics"] .nl-accent--1 { border-bottom: 2px solid var(--nl-decor-lime); }
[data-section-accents="followups"] .nl-accent--2 { transform: rotate(-18deg); }
[data-section-accents="pricing"] .nl-accent--1 { top: 58%; }
[data-section-accents="pricing"] .nl-accent--2 { top: 76%; }
[data-section-accents="pricing"] .nl-accent--3 { top: 88%; }
[data-section-accents="hero"] .nl-accent--1 { left: 44%; top: 48px; }
[data-section-accents="hero"] .nl-accent--2 { right: auto; left: 28px; top: 36%; }
[data-section-accents="hero"] .nl-accent--3 { left: 50%; top: 64%; }
[data-section-accents="start"] .nl-accent--1 { left: auto; right: 28px; top: 24px; }
[data-section-accents="start"] .nl-accent--2 { right: 45%; top: 30%; }
[data-section-accents="start"] .nl-accent--3 { left: 32px; top: auto; bottom: 12px; }
@media (max-width: 1279px) {
  .nl-section-accents .nl-accent { width: 28px; height: 24px; }
  .nl-section-accents .nl-accent--1 { left: 20px; right: auto; top: 4px; }
  .nl-section-accents .nl-accent--2 { right: 20px; left: auto; top: 4px; }
  .nl-section-accents .nl-accent--3 { display: none; }
  .nl-section-accents .nl-accent-reaction { width: 48px; }
  .nl-section-accents .app-icon { font-size: 17px !important; }
  [data-section-accents="start"] .nl-accent--2 { top: auto; bottom: 10px; }
}

/* Standalone Hoomlink marks and crisp plus/X details; no curving trails. */
@media (min-width: 1280px) {
  .nl-home > :is(.nl-social, .qf-section, .at-section, .cx-section)::before,
  .nl-home > :is(.nl-social, .qf-section, .at-section, .cx-section)::after {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    background: center / contain no-repeat;
  }
  .nl-home > :is(.nl-social, .qf-section, .at-section, .cx-section)::before {
    width: 88px;
    height: 66px;
    left: max(56px, calc((100% - 1280px) / 2));
    top: 46%;
    background-image: url('/namto/assets/brand-details/sour-link.svg?v=20261114-lime-network');
    transform: rotate(-24deg);
  }
  .nl-home > :is(.nl-social, .qf-section, .at-section, .cx-section)::after {
    width: 84px;
    height: 84px;
    right: max(40px, calc((100% - 1216px) / 2));
    top: 64px;
    background-image: url('/namto/assets/brand-details/plus-cross.svg?v=20261114-lime-network');
    transform: rotate(12deg);
  }
  .nl-home > :is(.qf-section, .cx-section)::before { left: auto; right: max(56px, calc((100% - 1280px) / 2)); transform: rotate(24deg); background-image: url('/namto/assets/brand-details/ink-link.svg'); }
  .nl-home > :is(.qf-section, .cx-section)::after { right: auto; left: max(40px, calc((100% - 1216px) / 2)); transform: rotate(-12deg); }
}

.nl-brand-divider { display: flex; align-items: center; justify-content: center; gap: 16px; width: min(1120px, calc(100% - 80px)); height: 32px; margin: 0 auto; color: var(--nl-decor-lime); pointer-events: none; }
.nl-brand-divider::before, .nl-brand-divider::after { content: ''; flex: 1; height: 3px; background: linear-gradient(90deg, transparent 0%, var(--nl-decor-lime) 24%); }
.nl-brand-divider::after { transform: scaleX(-1); }
.nl-brand-divider > span { display: grid; place-items: center; width: 44px; height: 32px; transform: rotate(-15deg); }
.nl-brand-divider svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2; }
.nl-brand-divider--fall { transform: rotate(1deg); }
.nl-brand-divider--rise { transform: rotate(-1deg); }

/* Independent paths preserve each motif's original placement and tilt. */
.nl-accent { --drift-x: 22px; --drift-y: -16px; --drift-turn: 8deg; animation: nl-decor-drift 11s ease-in-out -3s infinite paused; }
.nl-accent--2 { --drift-x: -20px; --drift-y: 22px; --drift-turn: -10deg; animation-duration: 14s; animation-delay: -8s; }
.nl-accent--3 { --drift-x: 18px; --drift-y: 26px; --drift-turn: 12deg; animation-duration: 17s; animation-delay: -11s; }
[data-section-accents="sales"] .nl-accent,
[data-section-accents="capture"] .nl-accent,
[data-section-accents="followups"] .nl-accent,
[data-section-accents="founders"] .nl-accent { animation-direction: reverse; }
.nl-home > :is(.nl-social, .qf-section, .at-section, .cx-section)::before {
  --drift-x: 12px; --drift-y: 20px; --drift-turn: 8deg;
  animation: nl-decor-drift 19s ease-in-out -7s infinite paused;
}
.nl-home > :is(.nl-social, .qf-section, .at-section, .cx-section)::after {
  --drift-x: -20px; --drift-y: 18px; --drift-turn: 16deg;
  animation: nl-decor-drift 13s ease-in-out -5s infinite paused;
}
.nl-brand-divider { --drift-x: 0px; --drift-y: 4px; --drift-turn: .25deg; animation: nl-decor-drift 16s ease-in-out -4s infinite paused; }
.nl-brand-divider > span { --drift-x: 5px; --drift-y: -5px; --drift-turn: 12deg; animation: nl-decor-drift 9s ease-in-out -2s infinite paused; }
.nl-brand-divider--fall { animation-direction: reverse; animation-delay: -10s; }
[data-decoration-visible="true"] > .nl-section-accents .nl-accent,
.nl-home > [data-decoration-visible="true"]::before,
.nl-home > [data-decoration-visible="true"]::after,
.nl-brand-divider[data-decoration-visible="true"],
.nl-brand-divider[data-decoration-visible="true"] > span { animation-play-state: running; }
body[data-motion="paused"] .nl-accent,
body[data-motion="paused"] .nl-home > [data-decoration-visible]::before,
body[data-motion="paused"] .nl-home > [data-decoration-visible]::after,
body[data-motion="paused"] .nl-brand-divider,
body[data-motion="paused"] .nl-brand-divider > span { animation-play-state: paused !important; }
@keyframes nl-decor-drift {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  30% { translate: var(--drift-x) calc(var(--drift-y) * .35); rotate: var(--drift-turn); }
  65% { translate: calc(var(--drift-x) * -.35) var(--drift-y); rotate: calc(var(--drift-turn) * -.6); }
}
@media (max-width: 1279px) {
  .nl-section-accents .nl-accent { --drift-x: 5px; --drift-y: -4px; --drift-turn: 6deg; }
  .nl-section-accents .nl-accent--2 { --drift-x: -5px; --drift-y: 4px; --drift-turn: -6deg; }
}
@media (prefers-reduced-motion: reduce) {
  .nl-accent,
  .nl-home > [data-decoration-visible]::before,
  .nl-home > [data-decoration-visible]::after,
  .nl-brand-divider,
  .nl-brand-divider > span { animation: none !important; }
}

.nl-home > .nl-section > .container,
.nl-home > .nl-founders > .container {
  width: min(1184px, calc(100% - 96px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--home-content-gap);
}

.nl-home :is(.nl-copy, .nl-section-heading, .qf-heading, .st-heading, .nf-copy) {
  width: 100%;
  max-width: 760px;
  margin: 0;
  text-align: center;
}

.nl-home :is(.nl-copy, .nl-section-heading, .qf-heading, .nf-copy) h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.nl-home :is(.nl-copy, .nl-section-heading, .qf-heading, .st-heading) > p {
  max-width: 56ch;
  margin: 12px auto 0;
  font-size: 17px;
  line-height: 1.6;
}

.nl-home :is(.gr-flow, .qf-flow) { width: 100%; margin-top: 0 !important; }
.nl-home > .nl-section .nl-cta-group { justify-content: center; margin-top: 16px; }
.nl-home :is(.cf-flow, .at-showcase, .fu-flow, .st-studio) { width: 100%; }
.nl-home .st-heading h2 { gap: 12px; letter-spacing: -.04em; }
.nl-home .st-heading .st-total { font-size: 96px; letter-spacing: -.04em; }
.nl-home > .st-section .st-footer { margin: 0; }
.nl-home > .st-section .st-footer .nl-cta-group { margin: 0; }
.nl-home .gr-section h2 br:first-of-type { display: none; }

.nl-home .cx-copy h2 > span { display: inline-block; }
.nl-home .cx-copy > .cx-promise { margin-top: 16px; font-size: 13px; }
.nl-home .cx-figure { width: min(100%, 720px); }

.nl-home .nf-copy blockquote > p { margin-inline: auto; }
.nl-home .nf-people { width: min(100%, 470px); margin: 0; }
.nl-home .nf-ayman { padding-top: 20px; }
.nl-home .nf-othman > img { transform: rotate(-3deg); }
.nl-home .nf-ayman > img { transform: rotate(3deg); }

.nl-home .nl-pricing-section .ks-offer { width: 100%; margin: 0; }
.nl-home .ks-plans-heading { margin: 16px 0 0; text-align: center; }
.nl-home .nl-pricing-section .nl-plans { width: min(100%, 870px); margin: 0; align-items: stretch; }
.nl-home .nl-pricing-section .nl-plan + .nl-plan { margin-top: 0; }
.nl-home .nl-pricing-section :is(.nl-price-disclosure, .nl-price-more) { margin: 0; }
.nl-home .nl-faq-section .faq-list { width: min(100%, 800px); margin: 0; }

@media (max-width: 900px) {
  .nl-home { --home-section-space: 32px; --home-content-gap: 24px; }
  .nl-home > .nl-section > .container,
  .nl-home > .nl-founders > .container { width: calc(100% - 48px); }
}

@media (max-width: 600px) {
  .nl-home { --home-section-space: 28px; --home-content-gap: 20px; }
  .nl-brand-divider { width: calc(100% - 40px); gap: 12px; height: 24px; }
  .nl-home > .nl-section > .container,
  .nl-home > .nl-founders > .container { width: calc(100% - 40px); }
  .nl-home :is(.nl-copy, .nl-section-heading, .qf-heading, .nf-copy) h2 { font-size: 32px; }
  .nl-home :is(.nl-copy, .nl-section-heading, .qf-heading, .st-heading) > p { font-size: 15px; margin-top: 12px; }
  .nl-home .st-heading .st-total { font-size: 76px; }
}
