/* ======================================================
   Novapersona-style design system (inferred)
   ====================================================== */

:root {
  /* ── Color ── */
  --np-bg:        #f3eee5;   /* warm cream — body */
  --np-surface:   #ffffff;   /* card / panel */
  --np-surface-2: #ebe5d8;   /* sunken / inset */
  --np-ink:       #141311;   /* primary text */
  --np-ink-2:     #3a3833;   /* secondary text */
  --np-mute:      #807c73;   /* tertiary / labels */
  --np-rule:      #d9d2c2;   /* hairlines */
  --np-rule-soft: #e5dfd1;
  --np-accent:    #c8d65a;   /* lime — primary accent */
  --np-accent-2:  #a8b842;   /* lime hover */
  --np-accent-ink:#2a3a06;   /* on-accent text */

  /* ── Type ── */
  --np-display: "Bricolage Grotesque", "Plus Jakarta Sans", "Helvetica Neue", sans-serif;
  --np-sans:    "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --np-italic:  "Instrument Serif", Georgia, serif;
  --np-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* ── Radii ── */
  --np-r-sm: 8px;
  --np-r-md: 14px;
  --np-r-lg: 22px;
  --np-r-xl: 32px;
  --np-r-pill: 999px;

  /* ── Shadow ── */
  --np-shadow-sm: 0 1px 2px rgba(20,19,17,.06);
  --np-shadow-md: 0 4px 16px rgba(20,19,17,.06), 0 1px 2px rgba(20,19,17,.04);
  --np-shadow-lg: 0 20px 48px rgba(20,19,17,.08), 0 2px 6px rgba(20,19,17,.04);

  /* ── Space ── */
  --np-s-1: 4px;
  --np-s-2: 8px;
  --np-s-3: 12px;
  --np-s-4: 16px;
  --np-s-5: 24px;
  --np-s-6: 32px;
  --np-s-7: 48px;
  --np-s-8: 64px;
  --np-s-9: 96px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--np-bg); color: var(--np-ink); font-family: var(--np-sans); -webkit-font-smoothing: antialiased; }
body { font-size: 15px; line-height: 1.55; }

.ds-shell { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ── Page chrome ── */
.ds-top {
  border-bottom: 1px solid var(--np-rule);
  background: var(--np-bg);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--np-bg) 88%, transparent);
}
.ds-top .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.ds-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--np-display); font-weight: 700; font-size: 18px;
  letter-spacing: -0.02em;
}
.ds-mark .dot { width: 22px; height: 22px; border-radius: 999px; background: var(--np-ink); position: relative; }
.ds-mark .dot::after { content:""; position:absolute; right:-3px; bottom:-3px; width: 10px; height: 10px; border-radius:999px; background: var(--np-accent); }
.ds-top nav { display: flex; gap: 24px; font-size: 13px; color: var(--np-ink-2); }
.ds-top nav a { color: inherit; text-decoration: none; }
.ds-top nav a:hover { color: var(--np-ink); }

/* ── Hero ── */
.ds-hero { padding: 96px 0 64px; border-bottom: 1px solid var(--np-rule); }
.ds-hero .eyebrow {
  font-family: var(--np-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--np-mute); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.ds-hero .eyebrow::before { content:""; width: 24px; height: 1px; background: var(--np-mute); }
.ds-hero h1 {
  font-family: var(--np-display); font-weight: 700;
  font-size: clamp(56px, 8vw, 96px); line-height: 0.96;
  letter-spacing: -0.035em; margin: 0;
}
.ds-hero h1 em {
  font-family: var(--np-italic); font-style: italic; font-weight: 400;
  letter-spacing: -0.02em; color: var(--np-ink-2);
}
.ds-hero .lede { max-width: 56ch; margin-top: 24px; color: var(--np-ink-2); font-size: 17px; line-height: 1.55; }
.ds-hero .meta { display: flex; gap: 24px; margin-top: 36px; flex-wrap: wrap; font-family: var(--np-mono); font-size: 11px; color: var(--np-mute); letter-spacing: 0.1em; text-transform: uppercase; }
.ds-hero .meta span { display: inline-flex; align-items: center; gap: 8px; }
.ds-hero .meta i { width: 6px; height: 6px; background: var(--np-accent); border-radius: 999px; }

/* ── Section ── */
.ds-section { padding: 80px 0; border-bottom: 1px solid var(--np-rule); }
.ds-section-head {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px;
  align-items: baseline; margin-bottom: 48px;
}
.ds-section-head .num {
  font-family: var(--np-mono); font-size: 11px; color: var(--np-mute);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.ds-section-head h2 {
  font-family: var(--np-display); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05;
  letter-spacing: -0.025em; margin: 0;
}
.ds-section-head h2 em {
  font-family: var(--np-italic); font-style: italic; font-weight: 400;
  color: var(--np-ink-2);
}
.ds-section-head .sub { color: var(--np-ink-2); margin-top: 6px; max-width: 56ch; }

/* ── Color tiles ── */
.ds-palette { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ds-color {
  border-radius: var(--np-r-md);
  border: 1px solid var(--np-rule);
  background: var(--np-surface);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.ds-color .swatch { height: 110px; }
.ds-color .meta { padding: 14px 16px; }
.ds-color .name { font-family: var(--np-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.ds-color .hex { font-family: var(--np-mono); font-size: 11px; color: var(--np-mute); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 4px; }
.ds-color .role { font-size: 12px; color: var(--np-ink-2); margin-top: 6px; }

/* ── Type scale ── */
.ds-type-list { display: flex; flex-direction: column; gap: 4px; }
.ds-type-row {
  display: grid; grid-template-columns: 200px 1fr auto;
  gap: 24px; align-items: baseline;
  padding: 18px 0; border-top: 1px solid var(--np-rule-soft);
}
.ds-type-row:first-child { border-top: 1px solid var(--np-rule); }
.ds-type-row .label { font-family: var(--np-mono); font-size: 11px; color: var(--np-mute); letter-spacing: 0.12em; text-transform: uppercase; }
.ds-type-row .spec { font-family: var(--np-mono); font-size: 11px; color: var(--np-mute); white-space: nowrap; }
.ds-type-row .sample { color: var(--np-ink); }

.ds-t-display1 { font-family: var(--np-display); font-weight: 700; font-size: 88px; line-height: 0.96; letter-spacing: -0.035em; }
.ds-t-display2 { font-family: var(--np-display); font-weight: 600; font-size: 56px; line-height: 1.02; letter-spacing: -0.03em; }
.ds-t-h1       { font-family: var(--np-display); font-weight: 600; font-size: 40px; line-height: 1.05; letter-spacing: -0.025em; }
.ds-t-h2       { font-family: var(--np-display); font-weight: 600; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.ds-t-h3       { font-family: var(--np-display); font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -0.015em; }
.ds-t-body-lg  { font-family: var(--np-sans); font-size: 18px; line-height: 1.55; color: var(--np-ink-2); }
.ds-t-body     { font-family: var(--np-sans); font-size: 15px; line-height: 1.6; color: var(--np-ink-2); }
.ds-t-cap      { font-family: var(--np-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-mute); }
.ds-t-italic   { font-family: var(--np-italic); font-style: italic; font-size: 56px; line-height: 1.02; letter-spacing: -0.025em; color: var(--np-ink-2); }

/* ── Buttons ── */
.np-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border: none; cursor: pointer;
  font-family: var(--np-sans); font-weight: 500; font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: var(--np-r-pill);
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.np-btn .icon-wrap {
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--np-ink);
  color: var(--np-bg);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .2s ease;
  flex-shrink: 0;
}
.np-btn:hover .icon-wrap { transform: rotate(-45deg); }

.np-btn--primary {
  background: var(--np-ink);
  color: var(--np-bg);
}
.np-btn--primary .icon-wrap { background: var(--np-accent); color: var(--np-accent-ink); }
.np-btn--primary:hover { background: #000; }

.np-btn--accent {
  background: var(--np-accent);
  color: var(--np-accent-ink);
}
.np-btn--accent .icon-wrap { background: var(--np-ink); color: var(--np-bg); }
.np-btn--accent:hover { background: var(--np-accent-2); }

.np-btn--ghost {
  background: transparent;
  color: var(--np-ink);
  border: 1px solid var(--np-ink);
}
.np-btn--ghost .icon-wrap { background: var(--np-ink); color: var(--np-bg); }
.np-btn--ghost:hover { background: var(--np-ink); color: var(--np-bg); }
.np-btn--ghost:hover .icon-wrap { background: var(--np-accent); color: var(--np-accent-ink); }

.np-btn--sm { height: 38px; padding: 0 16px; font-size: 13px; }
.np-btn--sm .icon-wrap { width: 20px; height: 20px; }

.np-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--np-sans); font-weight: 500; font-size: 14px;
  color: var(--np-ink); text-decoration: none;
  border-bottom: 1px solid var(--np-ink); padding-bottom: 4px;
}
.np-link:hover { color: var(--np-accent-ink); border-color: var(--np-accent-2); }

/* ── Tags / pills ── */
.np-tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px;
  background: var(--np-surface);
  border: 1px solid var(--np-rule);
  border-radius: var(--np-r-pill);
  font-family: var(--np-sans); font-size: 12px; font-weight: 500;
  color: var(--np-ink-2);
}
.np-tag--accent { background: var(--np-accent); border-color: transparent; color: var(--np-accent-ink); }
.np-tag--ink    { background: var(--np-ink); color: var(--np-bg); border-color: transparent; }
.np-tag--avail::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: #3fbf6f; box-shadow: 0 0 0 0 #3fbf6f80;
  animation: np-pulse 2s infinite;
}
@keyframes np-pulse {
  0%,100% { box-shadow: 0 0 0 0 #3fbf6f80; }
  50%     { box-shadow: 0 0 0 4px #3fbf6f00; }
}

/* ── Service card ── */
.np-service {
  background: var(--np-surface);
  border: 1px solid var(--np-rule);
  border-radius: var(--np-r-lg);
  padding: 20px;
  display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.2,.6,.2,1), box-shadow .25s ease;
}
.np-service:hover { transform: translateY(-3px); box-shadow: var(--np-shadow-md); }
.np-service .image {
  height: 200px; border-radius: var(--np-r-md);
  background: linear-gradient(135deg, #e7e1d2, #d6cfbb);
  position: relative; overflow: hidden;
}
.np-service .image::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(20,19,17,.04) 1px, transparent 1px);
  background-size: 14px 14px;
}
.np-service .image .ph {
  position: absolute; inset: 24px;
  border-radius: 8px;
  background: rgba(255,255,255,.4);
  border: 1px dashed rgba(20,19,17,.18);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--np-mono); font-size: 10px; color: rgba(20,19,17,.45);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.np-service h3 {
  font-family: var(--np-display); font-weight: 700;
  font-size: 18px; letter-spacing: -0.01em; text-transform: uppercase;
  margin: 20px 0 8px;
}
.np-service p { color: var(--np-ink-2); font-size: 14px; margin: 0 0 16px; }
.np-service ul { list-style: none; padding: 0; margin: 0 0 8px; font-size: 13px; color: var(--np-ink-2); }
.np-service li { padding: 6px 0; border-top: 1px dashed var(--np-rule); display: flex; align-items: center; gap: 8px; }
.np-service li:first-child { border-top: 1px solid var(--np-rule); }
.np-service li::before { content: ""; width: 5px; height: 5px; background: var(--np-accent); border-radius: 999px; flex-shrink: 0; }
.np-service .foot { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; }
.np-service .num { font-family: var(--np-mono); font-size: 11px; color: var(--np-mute); letter-spacing: 0.12em; }

/* ── Case study card ── */
.np-case {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px;
  background: var(--np-surface);
  border: 1px solid var(--np-rule);
  border-radius: var(--np-r-xl);
  padding: 28px;
  align-items: center;
}
.np-case .image { aspect-ratio: 4/3; border-radius: var(--np-r-lg); background: linear-gradient(135deg, #e8eedf, #cfd8b8); position: relative; overflow: hidden; }
.np-case .image::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(20,19,17,.04) 0 2px, transparent 2px 14px); }
.np-case .body h3 {
  font-family: var(--np-display); font-weight: 600;
  font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; margin: 12px 0 14px;
}
.np-case .lede { color: var(--np-ink-2); margin: 0 0 20px; }
.np-case .ppsr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; padding: 16px 0; border-top: 1px solid var(--np-rule); }
.np-case .ppsr div { font-size: 12px; }
.np-case .ppsr .k { font-family: var(--np-mono); font-size: 10px; color: var(--np-mute); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
.np-case .results { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.np-case .results .pill { background: var(--np-accent); color: var(--np-accent-ink); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }

/* ── Blog card ── */
.np-blog {
  background: var(--np-surface);
  border: 1px solid var(--np-rule);
  border-radius: var(--np-r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.np-blog .image { height: 180px; background: linear-gradient(135deg, #ebe2ce, #d3c5a3); position: relative; }
.np-blog .image::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(255,255,255,.4), transparent 60%); }
.np-blog .top {
  position: absolute; top: 16px; left: 16px; right: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.np-blog .body { padding: 22px; }
.np-blog h4 {
  font-family: var(--np-display); font-weight: 600;
  font-size: 19px; line-height: 1.25; letter-spacing: -0.015em;
  margin: 0 0 18px; color: var(--np-ink);
}
.np-blog .row { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--np-rule); }

/* ── Testimonial ── */
.np-quote {
  background: var(--np-surface);
  border: 1px solid var(--np-rule);
  border-radius: var(--np-r-lg);
  padding: 28px;
  position: relative;
}
.np-quote .mark {
  font-family: var(--np-italic); font-style: italic;
  font-size: 64px; line-height: 1; color: var(--np-accent);
  position: absolute; top: 16px; right: 24px;
}
.np-quote .stars { color: var(--np-accent-2); margin-bottom: 16px; font-size: 14px; letter-spacing: 4px; }
.np-quote p {
  font-family: var(--np-display); font-weight: 500;
  font-size: 19px; line-height: 1.4; letter-spacing: -0.01em;
  margin: 0 0 24px; color: var(--np-ink);
}
.np-quote .who { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--np-rule); }
.np-quote .who .av { width: 40px; height: 40px; border-radius: 999px; background: linear-gradient(135deg, #d4c8ad, #a8987c); }
.np-quote .who .name { font-family: var(--np-display); font-weight: 600; font-size: 15px; }
.np-quote .who .role { font-size: 12px; color: var(--np-mute); }

/* ── Stat counter ── */
.np-stat {
  display: flex; flex-direction: column;
  padding: 24px;
  border: 1px solid var(--np-rule);
  border-radius: var(--np-r-lg);
  background: var(--np-surface);
}
.np-stat .v {
  font-family: var(--np-display); font-weight: 700;
  font-size: 56px; line-height: 1; letter-spacing: -0.04em;
}
.np-stat .v .accent { color: var(--np-accent-2); }
.np-stat .l {
  font-family: var(--np-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--np-mute); margin-top: 16px;
}

/* ── Avatar stack ── */
.np-avatars { display: inline-flex; align-items: center; }
.np-avatars .av {
  width: 38px; height: 38px; border-radius: 999px;
  border: 2px solid var(--np-bg);
  background: linear-gradient(135deg, #d4c8ad, #a8987c);
  margin-left: -10px;
}
.np-avatars .av:first-child { margin-left: 0; }
.np-avatars .av.b { background: linear-gradient(135deg, #c7d99a, #7e9352); }
.np-avatars .av.c { background: linear-gradient(135deg, #e6c9b3, #b48868); }
.np-avatars .av.d { background: linear-gradient(135deg, #c0c7d4, #6f7a92); }
.np-avatars .more {
  width: 38px; height: 38px; border-radius: 999px;
  background: var(--np-ink); color: var(--np-bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-family: var(--np-mono); letter-spacing: 0.04em;
  margin-left: -10px; border: 2px solid var(--np-bg);
}

/* ── Marquee logos ── */
.np-marquee {
  background: var(--np-surface-2);
  border-radius: var(--np-r-lg);
  padding: 22px;
  overflow: hidden;
  position: relative;
}
.np-marquee::before, .np-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px;
  pointer-events: none; z-index: 1;
}
.np-marquee::before { left: 0; background: linear-gradient(to right, var(--np-surface-2), transparent); }
.np-marquee::after  { right: 0; background: linear-gradient(to left, var(--np-surface-2), transparent); }
.np-marquee .track { display: flex; gap: 64px; align-items: center; animation: np-scroll 18s linear infinite; width: max-content; }
@keyframes np-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.np-marquee .logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--np-display); font-weight: 600; font-size: 17px;
  color: var(--np-ink-2); letter-spacing: -0.01em;
  white-space: nowrap;
}
.np-marquee .logo .glyph { width: 22px; height: 22px; border-radius: 4px; background: var(--np-ink-2); position: relative; }
.np-marquee .logo .glyph.a { border-radius: 999px; }
.np-marquee .logo .glyph.b { transform: rotate(45deg); }
.np-marquee .logo .glyph.c { background: linear-gradient(135deg, var(--np-accent-2), var(--np-ink-2)); }

/* ── Form ── */
.np-form { display: grid; gap: 16px; }
.np-field { display: flex; flex-direction: column; gap: 6px; }
.np-field label {
  font-family: var(--np-mono); font-size: 11px; color: var(--np-mute);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.np-input, .np-textarea {
  width: 100%; height: 48px; padding: 0 16px;
  background: var(--np-surface); border: 1px solid var(--np-rule);
  border-radius: var(--np-r-md);
  font-family: var(--np-sans); font-size: 15px; color: var(--np-ink);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.np-textarea { padding: 14px 16px; height: auto; min-height: 120px; resize: vertical; }
.np-input:focus, .np-textarea:focus {
  border-color: var(--np-ink);
  box-shadow: 0 0 0 4px rgba(20,19,17,.05);
}
.np-input::placeholder, .np-textarea::placeholder { color: var(--np-mute); }

/* ── Decorative ticker ── */
.np-ticker {
  background: var(--np-ink); color: var(--np-bg);
  padding: 18px 0;
  border-radius: var(--np-r-pill);
  overflow: hidden; position: relative;
}
.np-ticker .track { display: flex; gap: 48px; animation: np-scroll 25s linear infinite; width: max-content; align-items: center; }
.np-ticker .item {
  font-family: var(--np-display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.015em;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 24px;
}
.np-ticker .item::after {
  content: ""; width: 12px; height: 12px; border-radius: 999px;
  background: var(--np-accent);
  display: inline-block;
  margin-left: 24px;
}

/* ── Token table ── */
.np-tokens {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.np-token-card {
  background: var(--np-surface);
  border: 1px solid var(--np-rule);
  border-radius: var(--np-r-lg);
  padding: 24px;
}
.np-token-card h4 { font-family: var(--np-display); font-weight: 600; font-size: 16px; margin: 0 0 14px; letter-spacing: -0.01em; }
.np-token-card table { width: 100%; border-collapse: collapse; font-size: 13px; }
.np-token-card td { padding: 8px 0; border-top: 1px solid var(--np-rule-soft); font-family: var(--np-mono); font-size: 12px; color: var(--np-ink-2); }
.np-token-card td:last-child { color: var(--np-mute); text-align: right; }
.np-token-card tr:first-child td { border-top: none; }
.np-token-card .preview {
  display: inline-block; width: 14px; height: 14px;
  vertical-align: middle; margin-right: 8px;
}

/* ── Layout grids ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.flex-wrap { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .ds-palette { grid-template-columns: 1fr 1fr; }
  .ds-section-head { grid-template-columns: 1fr; gap: 8px; margin-bottom: 32px; }
  .ds-type-row { grid-template-columns: 1fr; gap: 8px; }
  .np-case { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Footer ── */
.ds-foot { padding: 64px 0 96px; color: var(--np-mute); font-size: 13px; }
.ds-foot .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-family: var(--np-mono); letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; }
