/* nuptixlab.com: the app's own look. Linen and ivory with warm ink (light), a warm darkroom (dark),
   a rosewood accent, champagne gold for what's finished, serif titles (New York on Apple devices). */
:root {
  --bg: #f8f4ee; --band: #efe8de; --card: #fffdf9; --border: #e3d9cb;
  --text: #2b2420; --muted: #76695e; --faint: #ab9e92;
  --accent: #9c3a53; --accent-hover: #873047; --accent-soft: rgba(156, 58, 83, 0.10); --on-accent: #fff;
  --gold: #9a6a17;
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1816; --band: #14120f; --card: #26221f; --border: #383029;
    --text: #f2ece5; --muted: #a99d91; --faint: #6e645b;
    --accent: #b9506a; --accent-hover: #c65e78; --accent-soft: rgba(214, 112, 136, 0.16);
    --gold: #e3bb72;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 10; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font: 600 1.25rem var(--serif); }
.brand img { border-radius: 7px; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a:not(.button) { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.top nav a:not(.button):hover { color: var(--text); }
@media (max-width: 720px) { .top nav a:not(.button) { display: none; } }

/* buttons */
.button { display: inline-block; background: var(--accent); color: var(--on-accent); text-decoration: none;
  font-weight: 600; padding: 13px 24px; border-radius: 999px; border: 0; transition: background 0.15s; }
.button:hover { background: var(--accent-hover); color: var(--on-accent); }
.button.small { padding: 8px 16px; font-size: 0.9rem; }
.button.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.button.ghost:hover { background: var(--accent-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* sections */
section { padding: 72px 0; }
section.band { background: var(--band); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker { color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700;
  margin-bottom: 12px; display: block; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* hero */
.hero { padding: 88px 0 56px; }
.hero h1 { max-width: 13em; }
.hero .note { font-size: 0.9rem; color: var(--muted); margin-top: 14px; }
.titlecard { margin-top: 56px; border-radius: 18px; overflow: hidden; aspect-ratio: 2.39 / 1;
  background: linear-gradient(120deg, #5a2232 0%, #9c3a53 45%, #c8955a 100%); position: relative;
  display: grid; place-items: center; color: #fff; text-align: center; box-shadow: 0 30px 60px -30px rgba(60, 20, 30, 0.45); }
.titlecard::before, .titlecard::after { content: ""; position: absolute; left: 0; right: 0; height: 9%; background: #0d0a09; }
.titlecard::before { top: 0; } .titlecard::after { bottom: 0; }
.titlecard .rule { width: 64px; height: 1px; background: #e3bb72; margin: 0 auto 14px; }
.titlecard strong { display: block; font: 600 clamp(1.5rem, 4.5vw, 3rem) var(--serif); }
.titlecard span { font-size: clamp(0.75rem, 1.6vw, 0.95rem); letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; }

/* steps */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 36px; counter-reset: step; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.steps .card::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font: 600 1.05rem var(--serif); margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 0.35em; }

/* film list */
.films { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 32px; }
.films .card { padding: 22px; }
.films .card small { display: block; color: var(--gold); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 0.72rem; margin-bottom: 6px; }

/* features */
.split { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--border); position: relative; }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

/* pricing */
.price-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--border); vertical-align: top; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th { font-weight: 600; color: var(--text); }
.price-table th span { display: block; font-weight: 400; color: var(--muted); font-size: 0.92rem; margin-top: 2px; }
.price-table td { white-space: nowrap; text-align: right; font: 600 1.05rem var(--serif); }
.price-table tr.bundle { background: var(--accent-soft); }
.price-table tr.bundle td { color: var(--accent); }
.packs { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.packs li { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; text-align: center; }
.packs strong { display: block; font: 600 1.6rem var(--serif); }
.packs span { color: var(--muted); font-size: 0.95rem; }
.packs em { display: block; font-style: normal; color: var(--gold); font-weight: 700; font-size: 0.85rem; }
.callout { border-left: 3px solid var(--gold); background: var(--card); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0; }
.callout p:last-child { margin: 0; }

/* questions */
details { border-bottom: 1px solid var(--border); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--muted); }
.faq { max-width: 760px; margin: 32px auto 0; }

/* documents (terms, privacy...) */
.doc { max-width: 760px; margin: 0 auto; padding-top: 64px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.doc h2 { font-size: 1.45rem; margin-top: 2em; }
.doc h3 { font-size: 1.1rem; margin-top: 1.5em; font-family: var(--sans); }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: 0.4em; }
.doc .updated { color: var(--muted); font-size: 0.95rem; }
.doc table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.doc code { font-size: 0.88em; background: var(--accent-soft); padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; }

/* footer */
.foot { border-top: 1px solid var(--border); padding: 48px 0 32px; background: var(--band); font-size: 0.95rem; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.foot h2 { font: 700 0.75rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.foot a:not(.brand) { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; overflow-wrap: anywhere; }
.foot a:not(.brand):hover { color: var(--text); }
.foot .fine { margin-top: 36px; color: var(--faint); font-size: 0.85rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.doc ul.packs { padding: 0; }
