/* Mnac studio landing. Warm-paper, ink, single emerald accent. Grotesk-forward,
   editorial, fast, no slop. CSS-only motion. Shared by index / privacy / terms. */
:root {
  --paper: #FBFBF8;
  --surface: #FFFFFF;
  --ink: #14161A;
  --ink-2: #4B515B;
  --ink-faint: #8A909B;
  --line: #E9E7DF;
  --line-strong: #D8D5CB;
  --accent: #0E7B57;
  --accent-deep: #0A5B40;
  --accent-wash: #EAF4EF;
  --bad: #B23B2E;
  --radius: 12px;
  --maxw: 1080px;
  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 500;
}
.muted { color: var(--ink-2); }

/* header */
header.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand .mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 2px 8px rgba(14,123,87,0.25);
  position: relative;
}
.brand .mark::after {
  content: ""; position: absolute; inset: 6px; border-radius: 2px;
  border: 1.5px solid rgba(255,255,255,0.85); border-right-color: transparent; border-bottom-color: transparent;
}
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav a.link { color: var(--ink-2); transition: color .15s; }
.nav a.link:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  transition: transform .12s ease, box-shadow .15s, background .15s, border-color .15s;
  cursor: pointer;
}
.btn:hover { border-color: var(--ink-faint); transform: translateY(-1px); }
.btn.primary {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 4px 14px rgba(14,123,87,0.22);
}
.btn.primary:hover { background: var(--accent-deep); box-shadow: 0 6px 18px rgba(14,123,87,0.30); }

/* hero */
.hero { padding: 92px 0 64px; position: relative; overflow: hidden; }
.hero .wrap { position: relative; }
.hero h1 {
  font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.035em;
  font-weight: 800; max-width: 16ch;
}
.hero h1 .em { color: var(--accent); }
.hero p.sub { margin-top: 22px; font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 56ch; }
.hero .cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .note { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }

.figure {
  margin-top: 64px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 24px 60px -40px rgba(20,22,26,0.35);
  overflow: hidden;
}
.figure .bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.figure .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.figure .bar .t { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.ledger { padding: 8px 0; }
.ledger .row { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.ledger .row:last-child { border-bottom: none; }
.ledger .row .lhs { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.ledger .pill { font-family: var(--mono); font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); }
.ledger .pill.found { color: var(--accent-deep); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: var(--accent-wash); }
.ledger .amt { font-family: var(--mono); font-size: 14px; font-weight: 600; }
.ledger .amt.pos { color: var(--accent-deep); }

/* sections */
section.band { padding: 80px 0; border-top: 1px solid var(--line); }
.lead { max-width: 60ch; }
.lead h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; font-weight: 800; margin-top: 14px; }
.lead p { margin-top: 16px; font-size: 17px; color: var(--ink-2); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.cell .k { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); }
.cell h3 { font-size: 18px; letter-spacing: -0.01em; margin-top: 10px; font-weight: 700; }
.cell p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }

/* products */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 46px; }
.product {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: 28px; transition: transform .15s ease, box-shadow .2s, border-color .2s; display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 20px 50px -34px rgba(20,22,26,0.4); }
.product .top { display: flex; align-items: center; justify-content: space-between; }
.product .name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.product .tag { font-family: var(--mono); font-size: 11px; color: var(--accent-deep); background: var(--accent-wash); padding: 3px 9px; border-radius: 999px; }
.product .desc { margin-top: 14px; font-size: 15px; color: var(--ink-2); flex: 1; }
.product ul { list-style: none; margin: 16px 0 0; display: flex; flex-direction: column; gap: 8px; }
.product li { font-size: 14px; color: var(--ink-2); display: flex; gap: 9px; align-items: flex-start; }
.product li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex: none; }
.product .go { margin-top: 22px; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; color: var(--accent-deep); }
.product .go .arr { transition: transform .15s; }
.product:hover .go .arr { transform: translateX(3px); }

/* trust */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.trust .item { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.trust .item h4 { font-size: 15px; font-weight: 700; display: flex; gap: 9px; align-items: center; }
.trust .item h4::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.trust .item p { margin-top: 9px; font-size: 14px; color: var(--ink-2); }

/* cta band */
.cta-band { background: var(--ink); color: #fff; border-radius: 16px; padding: 56px; margin: 0 auto; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.03em; font-weight: 800; }
.cta-band p { margin-top: 14px; color: #B9BEC7; max-width: 50ch; margin-left: auto; margin-right: auto; }
.cta-band .cta { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-band .btn.ghost:hover { border-color: rgba(255,255,255,0.6); }

/* footer */
footer.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 80px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .brand { font-size: 16px; }
.foot .blurb { margin-top: 12px; font-size: 14px; color: var(--ink-2); max-width: 34ch; }
.foot-links { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h5 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); }
.foot-col a { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-2); transition: color .15s; }
.foot-col a:hover { color: var(--ink); }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-faint); }

/* legal pages */
.legal { padding: 64px 0 40px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; font-weight: 800; }
.legal .updated { margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }
.legal h2 { font-size: 20px; margin-top: 38px; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 15px; color: var(--ink-2); margin-top: 12px; }
.legal ul { margin-top: 6px; padding-left: 22px; }
.legal li { margin-top: 6px; }
.legal a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }

/* motion */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .12s; } .d3 { animation-delay: .19s; } .d4 { animation-delay: .26s; }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 860px) {
  .grid3, .products, .trust { grid-template-columns: 1fr; }
  .nav .link { display: none; }
  .hero { padding: 64px 0 40px; }
  .cta-band { padding: 40px 24px; }
}
