/* =============================================================
   NOVELLA product page — NOVELLA's own brand (soft pink / plum).
   A NOREVAK product. Fonts come from css/fonts.css (Heebo / Space Grotesk);
   the "Novella" wordmark uses a system serif (no external font requests).
   All text colours are checked to WCAG AA (>= 4.5:1).
   ============================================================= */
:root {
  --nv-bg: #FCFAF7; --nv-pink: #FAE7ED; --nv-lav: #EEE7F6; --nv-line: #EADDE6;
  --nv-plum: #9C3A68; --nv-plum-dark: #7A2E54;
  --nv-ink: #34303E; --nv-ink2: #6E6680;
}
*, *::before, *::after { box-sizing: border-box; }
body.novella {
  margin: 0; background: var(--nv-bg); color: var(--nv-ink);
  font-family: 'Heebo', 'Assistant', system-ui, sans-serif; line-height: 1.7; font-size: 17px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.novella a { color: inherit; text-decoration: none; }
.novella img { max-width: 100%; display: block; }
.novella h1, .novella h2, .novella h3 { margin: 0; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.nv-wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.nv-latin { font-family: 'Space Grotesk', 'Heebo', sans-serif; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.nv-wordmark { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 500;
  direction: ltr; unicode-bidi: isolate; display: inline-block; letter-spacing: .5px; color: var(--nv-plum-dark); }

/* skip link + focus */
.nv-skip { position: absolute; inset-inline-start: -9999px; top: 0; background: var(--nv-plum); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.nv-skip:focus { inset-inline-start: 0; }
.novella a:focus-visible { outline: 3px solid var(--nv-plum); outline-offset: 3px; border-radius: 6px; }

/* top bar */
.nv-top { position: sticky; top: 0; z-index: 40; background: rgba(252,250,247,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--nv-line); }
.nv-top .nv-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nv-logo { font-size: 1.7rem; line-height: 1; }
.nv-topnav { display: flex; align-items: center; gap: 18px; }
.nv-back { color: var(--nv-ink2); font-size: 14.5px; font-weight: 600; }
.nv-back:hover { color: var(--nv-ink); }
.nv-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--nv-plum); color: #fff; font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 999px; transition: transform .18s ease, box-shadow .25s ease; }
.nv-cta:hover, .nv-cta:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(156,58,104,.6); }
.nv-cta:focus-visible { outline: 3px solid var(--nv-plum-dark); outline-offset: 3px; }
.nv-cta.ghost { background: transparent; border: 1px solid var(--nv-line); color: var(--nv-ink); }
.nv-cta.ghost:hover { border-color: var(--nv-plum); }

/* hero */
.nv-hero { padding-block: clamp(40px, 6vw, 84px); position: relative; overflow: hidden;
  background: radial-gradient(70% 60% at 85% 0%, rgba(240,190,215,.55), transparent 62%), radial-gradient(50% 50% at 0% 100%, rgba(226,212,242,.6), transparent 60%); }
.nv-hero .nv-wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.nv-eyebrow { font-family: 'Space Grotesk','Heebo',sans-serif; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--nv-plum); font-weight: 700; }
.nv-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 900; margin-top: 16px; }
.nv-hero .lead { color: var(--nv-ink2); font-size: 1.15rem; margin-top: 20px; max-width: 48ch; }
.nv-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nv-pill { display: inline-block; margin-top: 22px; font-size: 13px; font-weight: 700; color: var(--nv-plum-dark); border: 1px solid rgba(156,58,104,.3); background: #fff; border-radius: 999px; padding: 6px 14px; }
.nv-sample { margin-top: 14px; font-size: 13.5px; color: var(--nv-ink2); }
.nv-showcase { border-radius: 22px; overflow: hidden; border: 1px solid var(--nv-line); box-shadow: 0 40px 80px -48px rgba(122,46,84,.55); }
.nv-showcase img { width: 100%; height: auto; }

/* sections */
.nv-section { padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--nv-line); }
.nv-section.tint { background: linear-gradient(180deg, var(--nv-pink), var(--nv-bg)); }
.nv-head { max-width: 760px; margin: 0 auto clamp(30px, 5vw, 48px); text-align: center; }
.nv-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.nv-head p { color: var(--nv-ink2); margin-top: 14px; font-size: 1.08rem; }
.nv-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(26px, 4vw, 40px); justify-items: center; text-align: center; }
.nv-rowtext { max-width: 720px; }
.nv-rowtext .k { font-family: 'Space Grotesk','Heebo',sans-serif; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--nv-plum); font-weight: 700; }
.nv-rowtext h3 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); margin-top: 10px; }
.nv-rowtext p { color: var(--nv-ink2); margin-top: 14px; font-size: 1.05rem; }
.nv-feats { display: grid; gap: 11px; margin: 20px auto 0; list-style: none; padding: 0; max-width: 560px; text-align: right; }
.nv-feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; }
.nv-feats li::before { content: ""; width: 8px; height: 8px; flex: none; margin-top: 9px; border-radius: 50%; background: var(--nv-plum); }

/* phone screenshots */
.nv-phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 2.6vw, 30px); width: 100%; }
.nv-phone { margin: 0; flex: 0 1 260px; min-width: 0; border-radius: 34px; padding: 8px; background: #3A2840;
  box-shadow: 0 34px 60px -34px rgba(122,46,84,.6); }
.nv-phone img { width: 100%; height: auto; aspect-ratio: 390 / 800; object-fit: cover; object-position: top; border-radius: 27px; background: var(--nv-pink); }
.nv-phone figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nv-phones .nv-phone:nth-child(2) { margin-top: 28px; }

/* custom-branding note */
.nv-brand { max-width: 860px; margin: 0 auto; text-align: center; }
.nv-brand ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nv-brand li { font-size: 14.5px; font-weight: 600; color: var(--nv-plum-dark); background: #fff; border: 1px solid var(--nv-line); border-radius: 999px; padding: 6px 14px; }

/* final cta */
.nv-final { text-align: center; padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--nv-line);
  background: radial-gradient(60% 100% at 50% 0, rgba(240,190,215,.5), transparent 62%); }
.nv-final h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.nv-final p { color: var(--nv-ink2); margin-top: 16px; font-size: 1.1rem; max-width: 46ch; margin-inline: auto; }
.nv-final .nv-cta { margin-top: 28px; font-size: 16.5px; padding: 15px 30px; }

/* footer */
.nv-foot { border-top: 1px solid var(--nv-line); padding-block: 30px; text-align: center; color: var(--nv-ink2); font-size: 14px; }
.nv-foot a { color: var(--nv-ink); }
.nv-foot .sep { opacity: .5; margin-inline: 8px; }

@media (max-width: 860px) {
  .nv-hero .nv-wrap { grid-template-columns: 1fr; }
  .nv-hero .nv-visual { order: -1; }
  .nv-top .nv-back { display: none; }
}
@media (max-width: 600px) {
  /* show two phones side by side on small screens; the third moves below */
  .nv-phones { flex-wrap: wrap; }
  .nv-phone { flex: 0 1 calc(50% - 10px); border-radius: 26px; padding: 6px; }
  .nv-phone img { border-radius: 21px; }
  .nv-phones .nv-phone:nth-child(2) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .nv-cta { transition: none; } }

/* links inherit the text colour by default (.novella a) — buttons must keep white text */
.novella .nv-cta, .novella .nv-skip { color: #fff; }
.novella .nv-cta.ghost { color: var(--nv-ink); }
