/* ============================================================
   Gouache. Design collaboration and handoff
   White gallery. Wet pigment. The canvas is the product.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  /* field */
  --gallery: #FCFCFA;
  --ink: #17171C;

  /* pigments */
  --cyan: #00B4D8;
  --magenta: #E63986;
  --yellow: #FFB703;
  --indigo: #3A0CA3;

  /* ink tones (all AA-checked on --gallery) */
  --ink-90: rgba(23, 23, 28, .90);
  --ink-70: rgba(23, 23, 28, .70);  /* body, 6.5:1 */
  --ink-62: rgba(23, 23, 28, .62);  /* labels, 4.9:1 */
  --ink-40: rgba(23, 23, 28, .40);  /* decorative only */
  --ink-16: rgba(23, 23, 28, .16);

  /* rules: indigo-tinted, never neutral gray */
  --rule: rgba(58, 12, 163, .17);
  --rule-soft: rgba(58, 12, 163, .085);
  --rule-hair: rgba(58, 12, 163, .05);
  --wash: rgba(58, 12, 163, .028);

  /* type */
  --f-ui: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-dis: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;

  /* scale */
  --t-display: clamp(2.9rem, 6.4vw, 5.85rem);
  --t-h2: clamp(2.15rem, 4.4vw, 3.6rem);
  --t-h3: clamp(1.25rem, 1.55vw, 1.4rem);
  --t-lead: clamp(1.06rem, 1.28vw, 1.2rem);
  --t-body: 1.0625rem;
  --t-small: .9375rem;
  --t-micro: .8125rem;
  --t-label: .6875rem;

  /* space, 8px base */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px; --s9: 160px;
  --gutter: 32px;
  --maxw: 1240px;

  /* easing */
  --e-out:   cubic-bezier(.16, 1, .3, 1);
  --e-inout: cubic-bezier(.76, 0, .24, 1);
  --e-ink:   cubic-bezier(.34, 1.3, .44, 1);
  --e-wet:   cubic-bezier(.22, .61, .24, 1);
  --e-drop:  cubic-bezier(.5, .02, .28, 1);
  --e-flood: cubic-bezier(.62, .02, .2, 1);

  /* layered shadows, always 3+ stops, tinted indigo not black */
  --lift-1:
    0 1px 1px rgba(23, 23, 28, .028),
    0 3px 6px rgba(58, 12, 163, .028),
    0 8px 18px rgba(58, 12, 163, .022);
  --lift-2:
    0 1px 1px rgba(23, 23, 28, .03),
    0 4px 9px rgba(58, 12, 163, .04),
    0 14px 30px rgba(58, 12, 163, .045),
    0 32px 64px rgba(58, 12, 163, .035);
  --lift-3:
    0 2px 3px rgba(23, 23, 28, .04),
    0 8px 18px rgba(58, 12, 163, .06),
    0 24px 52px rgba(58, 12, 163, .07),
    0 52px 110px rgba(58, 12, 163, .05);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

body {
  background: var(--gallery);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: var(--t-body);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  overflow-x: clip;
}

::selection { background: rgba(230, 57, 134, .26); color: var(--ink); }

/* themed scrollbar, thin, gallery, ink thumb */
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-track { background: var(--gallery); }
  ::-webkit-scrollbar-thumb {
    background: rgba(23, 23, 28, .22);
    border: 3px solid var(--gallery);
    border-radius: 99px;
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--indigo); }
}
html { scrollbar-color: rgba(23, 23, 28, .28) var(--gallery); scrollbar-width: thin; }

/* ---------- paper grain, sits over everything ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* ---------- shared ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed;
  top: -100px;
  left: var(--s3);
  z-index: 1000;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--gallery);
  border-radius: 4px;
  font-size: var(--t-small);
  font-weight: 500;
  text-decoration: none;
  transition: top .3s var(--e-out);
}
.skip:focus-visible { top: var(--s3); }

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 2px;
}

.serif {
  font-family: var(--f-dis);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.005em;
}

/* section label: pigment dot + caps + hairline */
.label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-62);
}
.label::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50% 45% 52% 48% / 48% 52% 45% 50%;
  background: var(--dot, var(--indigo));
  flex: none;
}
.label--rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--rule), transparent);
}

.h2 {
  font-size: var(--t-h2);
  line-height: 1.02;
  letter-spacing: -.033em;
  font-weight: 500;
  max-width: 17ch;
}
.h2 .serif { letter-spacing: -.012em; }
.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 54ch;
}

/* ---------- buttons: pigment floods up on hover ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: -.005em;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
  transition: transform .5s var(--e-wet), box-shadow .5s var(--e-wet), color .38s var(--e-flood), border-color .5s var(--e-wet);
  -webkit-tap-highlight-color: transparent;
}
/* the pigment. meniscus curve on its top edge, floods from below */
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8%; right: -8%;
  bottom: 0;
  height: 132%;
  background: var(--fill, var(--indigo));
  border-radius: 46% 54% 0 0 / 22% 26% 0 0;
  transform: translate3d(0, 104%, 0) scaleX(1.04);
  transition: transform .62s var(--e-flood);
}
.btn:hover::before, .btn:focus-visible::before { transform: translate3d(0, 22%, 0) scaleX(1); }
.btn:active { transform: translateY(1px) scale(.988); }

.btn--ink {
  background: var(--ink);
  color: var(--gallery);
  box-shadow: var(--lift-1);
  --fill: var(--indigo);
}
.btn--ink:hover { box-shadow: var(--lift-2); transform: translateY(-2px); }

.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--rule);
  background: rgba(252, 252, 250, .5);
  backdrop-filter: blur(6px);
  --fill: rgba(0, 180, 216, .17);
}
.btn--ghost:hover { border-color: rgba(0, 180, 216, .55); transform: translateY(-2px); }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: var(--t-micro); }

/* arrow nudges on hover */
.btn svg { transition: transform .5s var(--e-wet); }
.btn:hover svg { transform: translateX(3px); }

/* text link with an ink underline that wets in */
.tlink {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--indigo), var(--indigo));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .45s var(--e-out), color .3s var(--e-out);
  padding-bottom: 1px;
}
.tlink:hover { background-size: 100% 1px; color: var(--indigo); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 500;
  height: 74px;
}
/* paper scrim so the wordmark stays legible over live ink */
.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 -46px;
  background: linear-gradient(180deg, var(--gallery) 8%, rgba(252, 252, 250, .74) 48%, rgba(252, 252, 250, 0) 100%);
  pointer-events: none;
  transition: opacity .5s var(--e-out);
}
.nav::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(252, 252, 250, .78);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border-bottom: 1px solid var(--rule-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--e-out);
}
.nav.stuck::before { opacity: 0; }
.nav.stuck::after { opacity: 1; }

/* scroll progress, wet-mixed left to right through all four pigments */
.nav-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  z-index: 2;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--magenta) 38%, var(--yellow) 66%, var(--indigo));
  opacity: 0;
  transition: opacity .5s var(--e-out);
  pointer-events: none;
}
.nav.stuck .nav-bar { opacity: .85; }

.nav-in {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.075rem;
  letter-spacing: -.032em;
  -webkit-tap-highlight-color: transparent;
}
.mark svg { flex: none; }
.mark .m-dot { transition: transform .7s var(--e-ink); transform-origin: 12px 12px; }
.mark:hover .m-dot:nth-child(1) { transform: translate(-1.6px, -1.6px); }
.mark:hover .m-dot:nth-child(2) { transform: translate(1.6px, -1.6px); }
.mark:hover .m-dot:nth-child(3) { transform: translate(-1.6px, 1.6px); }
.mark:hover .m-dot:nth-child(4) { transform: translate(1.6px, 1.6px); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 9px 14px;
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--ink-70);
  text-decoration: none;
  border-radius: 999px;
  transition: color .3s var(--e-out);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1.5px;
  background: var(--indigo);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .45s var(--e-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: var(--s2); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 116px 0 var(--s6);
  isolation: isolate;
  overflow: hidden;
}
#ink {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  display: block;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='13' cy='13' r='6.5' fill='none' stroke='%233A0CA3' stroke-width='1.25'/%3E%3Ccircle cx='13' cy='13' r='1.4' fill='%233A0CA3'/%3E%3C/svg%3E") 13 13, crosshair;
  opacity: 0;
  transition: opacity 1.1s var(--e-out);
}
#ink.lit { opacity: 1; }
/* static fallback if WebGL/float textures are unavailable */
.ink-fallback {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: none;
  background:
    radial-gradient(38% 44% at 74% 38%, rgba(0, 180, 216, .5), rgba(0, 180, 216, 0) 68%),
    radial-gradient(30% 40% at 63% 62%, rgba(230, 57, 134, .42), rgba(230, 57, 134, 0) 70%),
    radial-gradient(26% 30% at 84% 70%, rgba(255, 183, 3, .4), rgba(255, 183, 3, 0) 72%),
    radial-gradient(34% 42% at 88% 26%, rgba(58, 12, 163, .3), rgba(58, 12, 163, 0) 70%);
  filter: blur(6px) saturate(1.1);
}
.no-gl .ink-fallback { display: block; }

/* soft paper wash keeps display type crisp over live pigment */
.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(58% 62% at 26% 46%,
      var(--gallery) 0%,
      rgba(252, 252, 250, .93) 38%,
      rgba(252, 252, 250, .58) 62%,
      rgba(252, 252, 250, 0) 82%);
}

.hero-in { position: relative; width: 100%; }
/* px, not ch: ch resolves against this element's 17px font, not the 94px h1 */
.hero-copy { max-width: 700px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s3);
  padding: 7px 15px 7px 11px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(252, 252, 250, .62);
  backdrop-filter: blur(8px);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-62);
}
.pulse { position: relative; width: 7px; height: 7px; flex: none; }
.pulse i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--magenta);
}
.pulse i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--magenta);
  animation: ping 2.6s var(--e-out) infinite;
}
@keyframes ping {
  0%   { transform: scale(1);   opacity: .65; }
  70%  { transform: scale(3.4); opacity: 0; }
  100% { transform: scale(3.4); opacity: 0; }
}

h1 {
  font-size: var(--t-display);
  line-height: .92;
  letter-spacing: -.042em;
  font-weight: 500;
  margin-bottom: var(--s3);
}
h1 .serif { letter-spacing: -.01em; margin-right: -.03em; }
h1 .ln { display: block; }
h1 .wet { color: var(--indigo); }

.hero-sub {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 52ch;
  margin-bottom: var(--s4);
}
.hero-sub b { font-weight: 500; color: var(--ink); }

.hero-cta { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.hero-fine {
  margin-top: var(--s3);
  font-size: var(--t-micro);
  color: var(--ink-62);
  letter-spacing: -.002em;
}
.hero-fine b { font-weight: 600; color: var(--ink-70); }

/* crop marks, print handoff signifier */
.crop {
  position: absolute;
  z-index: 2;
  width: 17px; height: 17px;
  pointer-events: none;
  color: var(--rule);
}
.crop--tl { top: 96px;    left: var(--gutter); }
.crop--tr { top: 96px;    right: var(--gutter); transform: scaleX(-1); }
.crop--bl { bottom: 34px; left: var(--gutter); transform: scaleY(-1); }
.crop--br { bottom: 34px; right: var(--gutter); transform: scale(-1); }

/* gallery placard. a backdrop-filter here draws a hard-edged frosted box
   over live ink and reads as a bug, so legibility comes from a feathered
   paper halo with no edge at all. */
.placard {
  position: absolute;
  right: var(--gutter);
  bottom: 34px;
  z-index: 2;
  width: 322px;
  padding-top: 13px;
  border-top: 1px solid var(--rule);
  text-align: left;
}
/* a blurred rounded rect, NOT a radial gradient: a gradient sized to the
   box never reaches zero at the box edge, so it cuts off hard and reads
   as a grey rectangle sitting on the ink. blurring a solid shape covers
   the label evenly and feathers to nothing. */
.placard::before {
  content: "";
  position: absolute;
  inset: -13px -17px -15px -19px;
  z-index: -1;
  pointer-events: none;
  background: rgba(252, 252, 250, .84);
  border-radius: 22px;
  filter: blur(17px);
}
.placard-k {
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 5px;
}
.placard-t {
  font-family: var(--f-dis);
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.15;
  letter-spacing: -.012em;
  margin-bottom: 6px;
}
.placard-m {
  font-size: var(--t-micro);
  line-height: 1.45;
  color: var(--ink-62);
  margin-bottom: 9px;
}
/* the label reports what the solver is actually doing */
.placard-live {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-40);
  font-variant-numeric: tabular-nums;
}
.placard-live .pulse i, .placard-live .pulse i::after { background: var(--cyan); }
.swatches {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: -8px;
}
.sw {
  position: relative;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}
.sw svg { transition: transform .55s var(--e-ink); }
.sw:hover svg, .sw:focus-visible svg { transform: scale(1.34) rotate(-7deg); }
.sw:active svg { transform: scale(.9); }
.sw-name {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, 4px);
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--gallery);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--e-out), transform .3s var(--e-out);
}
.sw:hover .sw-name, .sw:focus-visible .sw-name { opacity: 1; transform: translate(-50%, -2px); }

/* ---------- proof strip ---------- */
.proof {
  position: relative;
  z-index: 1;
  background: var(--gallery);
  border-top: 1px solid var(--rule-hair);
  border-bottom: 1px solid var(--rule-hair);
  padding: var(--s5) 0;
}
.proof-in {
  display: flex;
  align-items: center;
  gap: var(--s6);
  flex-wrap: wrap;
  justify-content: space-between;
}
.proof-k {
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-40);
  flex: none;
}
.logos {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.4vw, 46px);
  flex-wrap: wrap;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: -.018em;
  color: var(--ink-62);
  transition: color .45s var(--e-out);
  cursor: default;
}
.logo svg { flex: none; color: var(--ink-40); transition: color .45s var(--e-out), transform .6s var(--e-ink); }
.logo:hover { color: var(--ink); }
.logo:hover svg { color: var(--pig, var(--indigo)); transform: rotate(-9deg) scale(1.13); }

/* ---------- section shell ---------- */
/* the nav is fixed at 74px, so anchored sections need to clear it */
section[id] { scroll-margin-top: 92px; }
.sec { position: relative; z-index: 1; background: var(--gallery); padding: var(--s9) 0; }
.sec-head { margin-bottom: var(--s7); }
.sec-head .label { margin-bottom: var(--s3); }
.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s5);
  flex-wrap: wrap;
}

/* ---------- features ---------- */
.fgrid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s3);
}
.card {
  position: relative;
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  background: var(--gallery);
  padding: var(--s5);
  overflow: hidden;
  transition: border-color .55s var(--e-out), box-shadow .55s var(--e-out), transform .55s var(--e-out);
}
/* pigment bleeds in from the card's corner on hover */
.card::after {
  content: "";
  position: absolute;
  top: -70px; right: -70px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pig, var(--indigo)) 0%, transparent 68%);
  opacity: 0;
  transform: scale(.5);
  pointer-events: none;
  transition: opacity .7s var(--e-out), transform .9s var(--e-out);
}
.card:hover {
  border-color: var(--rule);
  box-shadow: var(--lift-2);
  transform: translateY(-3px);
}
.card:hover::after { opacity: .1; transform: scale(1); }
.card--demo { grid-column: span 7; padding: 0; }
.card--tall { grid-column: span 5; display: flex; flex-direction: column; }
.card--third { grid-column: span 4; }

.card-num {
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--ink-40);
  margin-bottom: var(--s3);
  font-variant-numeric: tabular-nums;
}
.card h3 {
  font-size: var(--t-h3);
  line-height: 1.24;
  letter-spacing: -.024em;
  font-weight: 500;
  margin-bottom: 12px;
}
/* a class, not `.card p`. an element+class selector beats every
   single-class rule nested inside the card and silently resets their
   font-size (it was flattening card-num, mock-k, mock-title, pb-title). */
.card-d {
  font-size: var(--t-small);
  line-height: 1.62;
  color: var(--ink-70);
}
.card-art { margin-top: var(--s5); }

.demo-head { padding: var(--s5) var(--s5) var(--s4); }
.demo-stage {
  position: relative;
  border-top: 1px solid var(--rule-soft);
  background: linear-gradient(180deg, var(--wash), transparent 60%);
  padding: var(--s4);
  min-height: 328px;
}

/* artboard mock */
.artboard {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: var(--gallery);
  box-shadow: var(--lift-1);
  overflow: hidden;
}
.artboard-tag {
  position: absolute;
  top: -21px; left: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--indigo);
  opacity: .62;
}
.pins { position: absolute; inset: 0; }
/* a 27px square rotated -45deg puts its sharp corner 19px BELOW the box
   centre, so the box is offset upward to land that tip on the spot. */
.pin {
  position: absolute;
  width: 27px; height: 27px;
  margin: -33px 0 0 -13.5px;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}
/* ink soaks in where the tip touches, not where the box centre is.
   max-width:none or the global svg reset clamps this to the 27px pin
   and the negative margin stops centring it. */
.pin-bloom {
  position: absolute;
  left: 50%; top: 33px;
  width: 128px; height: 128px;
  max-width: none;
  margin: -64px 0 0 -64px;
  pointer-events: none;
}
.pin-body {
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 50% 2px;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 4px rgba(23, 23, 28, .1), 0 6px 14px rgba(58, 12, 163, .16);
}
.pin-body span {
  transform: rotate(45deg);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pin-note {
  position: absolute;
  left: 32px; top: -6px;
  width: 186px;
  padding: 11px 13px;
  border-radius: 9px 9px 9px 3px;
  border: 1px solid var(--rule-soft);
  background: rgba(252, 252, 250, .93);
  backdrop-filter: blur(9px);
  box-shadow: var(--lift-2);
  font-size: var(--t-micro);
  line-height: 1.45;
  color: var(--ink-70);
}
.pin-note b { display: block; font-weight: 600; color: var(--ink); font-size: 11px; letter-spacing: .01em; margin-bottom: 2px; }
.pin-note.flip { left: auto; right: 32px; border-radius: 9px 9px 3px 9px; }

/* mock design inside the artboard. it has to look like something a
   designer would actually leave a comment on. */
.mock { position: absolute; inset: 0; padding: 7% 8%; overflow: hidden; }
.mw { position: absolute; pointer-events: none; filter: blur(7px); }
.mock-body { position: relative; max-width: 54%; }
.mock-k {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 7px;
}
.mock-bar { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 8%; }
.mock-dots { display: flex; gap: 4px; }
.mock-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-16); }
.mock-nav { display: flex; gap: 7px; }
.mock-nav i { width: 20px; height: 4px; border-radius: 2px; background: var(--ink-16); }
.mock-title {
  font-family: var(--f-dis);
  font-style: italic;
  font-size: clamp(20px, 3.4vw, 34px);
  line-height: .96;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.mock-lines { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.mock-lines i { height: 4px; border-radius: 2px; background: var(--ink-16); }
.mock-btn {
  display: inline-block;
  height: 21px;
  width: 78px;
  border-radius: 999px;
  background: var(--ink);
}
.mock-swatch { position: absolute; right: 8%; bottom: 9%; display: flex; gap: 5px; }
.mock-swatch i { width: 13px; height: 13px; border-radius: 50% 45% 52% 48% / 48% 52% 45% 50%; }

/* presence card: three hands actually working one sheet, not cursors
   drifting in empty space. flexes to fill whatever height the demo card
   next to it forces on this grid row. */
.presence { margin-top: var(--s5); position: relative; flex: 1; min-height: 224px; }
.pboard {
  position: absolute;
  inset: 1% 10% 19% 2%;
  padding: 13px 15px;
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  background: var(--gallery);
  box-shadow: var(--lift-1);
  overflow: hidden;
}
.pb-k {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 12px;
}
.pb-sel {
  position: relative;
  display: inline-block;
  outline: 1.4px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 1px;
  animation: selbreathe 9s var(--e-inout) infinite;
}
.pb-tag {
  position: absolute;
  top: -15px; left: -5px;
  padding: 1px 5px;
  border-radius: 3px 3px 0 0;
  background: var(--cyan);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .04em;
}
.pb-title {
  font-family: var(--f-dis);
  font-style: italic;
  font-size: 21px;
  line-height: .98;
  letter-spacing: -.022em;
}
.pb-lines { display: flex; flex-direction: column; gap: 4px; margin: 13px 0 12px; }
.pb-lines i { height: 3px; border-radius: 2px; background: var(--ink-16); }
.pb-btn { display: block; width: 58px; height: 15px; border-radius: 999px; background: var(--ink); }

.ptype {
  position: absolute;
  left: 5%; bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ink-62);
}
.ptype b { font-weight: 600; color: var(--magenta); }
.tdots { display: flex; gap: 3px; margin-left: 2px; }
.tdots i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--magenta);
  animation: tdot 1.5s var(--e-inout) infinite;
}
.tdots i:nth-child(2) { animation-delay: .18s; }
.tdots i:nth-child(3) { animation-delay: .36s; }
@keyframes tdot {
  0%, 62%, 100% { opacity: .22; transform: translateY(0); }
  31%           { opacity: 1;   transform: translateY(-3px); }
}
.pcursor {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  will-change: transform;
}
.pcursor svg { flex: none; filter: drop-shadow(0 1px 2px rgba(23, 23, 28, .18)); }
.ptag {
  padding: 2px 7px;
  border-radius: 4px 4px 4px 1px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  white-space: nowrap;
  transform: translateY(9px);
}
.psel {
  position: absolute;
  border: 1.5px dashed;
  border-radius: 5px;
  opacity: .5;
  animation: selbreathe 9s var(--e-inout) infinite;
}
@keyframes selbreathe {
  0%, 100% { opacity: .5; }
  50%      { opacity: .22; }
}

/* three hands wandering the same sheet. compositor-only, no JS. */
.pcursor { animation: 21s cubic-bezier(.45, 0, .55, 1) infinite; }
.pc-a { animation-name: drift-a; animation-duration: 19s; }
.pc-b { animation-name: drift-b; animation-duration: 24s; }
.pc-c { animation-name: drift-c; animation-duration: 27s; }
/* ranges stay small so the three never wander into one clump */
@keyframes drift-a {
  0%   { transform: translate(0, 0); }
  24%  { transform: translate(-17px, 13px); }
  48%  { transform: translate(-4px, 26px); }
  72%  { transform: translate(-24px, 20px); }
  100% { transform: translate(0, 0); }
}
@keyframes drift-b {
  0%   { transform: translate(0, 0); }
  27%  { transform: translate(21px, -13px); }
  55%  { transform: translate(31px, 6px); }
  78%  { transform: translate(13px, -6px); }
  100% { transform: translate(0, 0); }
}
@keyframes drift-c {
  0%   { transform: translate(0, 0); }
  30%  { transform: translate(-13px, -14px); }
  58%  { transform: translate(8px, -24px); }
  82%  { transform: translate(-22px, -8px); }
  100% { transform: translate(0, 0); }
}

/* ---------- product showcase ---------- */
.app {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--gallery);
  box-shadow: var(--lift-3);
  overflow: hidden;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: var(--s2);
  height: 46px;
  padding: 0 14px;
  border-bottom: 1px solid var(--rule-soft);
  background: rgba(58, 12, 163, .018);
}
.app-crumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--t-micro);
  color: var(--ink-62);
  min-width: 0;
}
.app-crumb b { font-weight: 600; color: var(--ink); }
.app-crumb i { color: var(--ink-16); font-style: normal; }
.app-chip {
  padding: 2px 7px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--indigo);
  background: rgba(58, 12, 163, .05);
}
.app-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.faces { display: flex; }
.face {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--gallery);
  margin-left: -6px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
}
.face:first-child { margin-left: 0; }
.app-save { font-size: 10px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-40); }

.app-body { display: grid; grid-template-columns: 170px 1fr 272px; min-height: 430px; }
.app-rail { border-right: 1px solid var(--rule-soft); padding: 14px 10px; }
.rail-k {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-40);
  padding: 0 8px;
  margin-bottom: 9px;
}
.layer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: var(--t-micro);
  color: var(--ink-70);
  transition: background .3s var(--e-out), color .3s var(--e-out);
}
.layer:hover { background: rgba(58, 12, 163, .045); color: var(--ink); }
.layer.on { background: rgba(58, 12, 163, .085); color: var(--indigo); font-weight: 600; }
.layer.sub { padding-left: 24px; }
.layer svg { flex: none; opacity: .7; }
.layer-pin { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; flex: none; }

.app-canvas {
  position: relative;
  border-right: 1px solid var(--rule-soft);
  background:
    linear-gradient(rgba(58, 12, 163, .045) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, rgba(58, 12, 163, .045) 1px, transparent 1px) 0 0 / 24px 100%,
    var(--gallery);
  padding: 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.app-art {
  position: relative;
  width: 100%;
  max-width: 372px;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background: var(--gallery);
  box-shadow: var(--lift-2);
  overflow: hidden;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
/* blurred, or a vector blob reads as clip art instead of a wet wash */
.app-art .aw { position: absolute; pointer-events: none; filter: blur(9px); }
.art-k {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-40);
  position: relative;
}
.art-t {
  font-family: var(--f-dis);
  font-style: italic;
  font-size: 40px;
  line-height: .94;
  letter-spacing: -.028em;
  margin: 14px 0 10px;
  position: relative;
}
.art-p { font-size: 10.5px; line-height: 1.5; color: var(--ink-70); position: relative; max-width: 24ch; }
.art-cta {
  position: relative;
  margin-top: auto;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--gallery);
  font-size: 10px;
  font-weight: 600;
  outline: 1.25px solid var(--indigo);
  outline-offset: 4px;
}
.sel-badge {
  position: absolute;
  top: -19px; left: -1px;
  padding: 1px 6px;
  border-radius: 3px 3px 0 0;
  background: var(--indigo);
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
}
.handle {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 1px;
  background: var(--gallery);
  border: 1.25px solid var(--indigo);
}

.app-panel { padding: 14px; display: flex; flex-direction: column; min-width: 0; }
.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--rule-hair);
  font-size: var(--t-micro);
}
.spec-row:last-of-type { border-bottom: 0; }
.spec-k { color: var(--ink-40); letter-spacing: .01em; flex: none; }
.spec-v {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.spec-v i { width: 9px; height: 9px; border-radius: 2px; flex: none; border: 1px solid rgba(23, 23, 28, .12); }
.tok { color: var(--indigo); }

.tabs { display: flex; gap: 2px; margin: 14px 0 10px; padding: 3px; border-radius: 7px; background: rgba(58, 12, 163, .05); }
.tab {
  flex: 1;
  padding: 6px 4px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-62);
  transition: background .35s var(--e-out), color .35s var(--e-out), box-shadow .35s var(--e-out);
}
.tab[aria-selected="true"] { background: var(--gallery); color: var(--indigo); box-shadow: var(--lift-1); }
.tab:hover:not([aria-selected="true"]) { color: var(--ink); }

.code {
  flex: 1;
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--rule-hair);
  background: rgba(58, 12, 163, .022);
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 10.5px;
  line-height: 1.72;
  color: var(--ink-70);
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}
.code .c-sel { color: var(--indigo); font-weight: 600; }
.code .c-prop { color: var(--ink-70); }
.code .c-val { color: var(--magenta); }
.code .c-num { color: #0089a6; }
.code .c-com { color: var(--ink-40); font-style: italic; }
.code .c-key { color: #b07a00; }
.copy-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 8px; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-70);
  transition: color .3s var(--e-out), border-color .3s var(--e-out), background .3s var(--e-out);
}
.copy-btn:hover { color: var(--indigo); border-color: rgba(58, 12, 163, .4); background: rgba(58, 12, 163, .04); }
.panel-k {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 10px;
}

.show-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s5); }
.note-k {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--ink);
}
.note-k b { width: 7px; height: 7px; border-radius: 50%; background: var(--pig); flex: none; }
.show-notes p { font-size: var(--t-small); line-height: 1.6; color: var(--ink-70); }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); align-items: stretch; }
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: var(--s5) var(--s4) var(--s4);
  background: var(--gallery);
  transition: box-shadow .55s var(--e-out), border-color .55s var(--e-out), transform .55s var(--e-out);
  overflow: hidden;
}
.tier:hover { box-shadow: var(--lift-2); border-color: var(--rule); transform: translateY(-3px); }
.tier--on {
  border-color: rgba(58, 12, 163, .34);
  border-width: 1.5px;
  box-shadow: var(--lift-2);
  padding-top: var(--s6);
}
.tier--on:hover { box-shadow: var(--lift-3); }
.tier-flag {
  position: absolute;
  top: 0; left: 0;
  padding: 6px 14px 7px;
  border-radius: 0 0 10px 0;
  background: var(--indigo);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tier-wash {
  position: absolute;
  top: -58px; right: -46px;
  pointer-events: none;
  opacity: .085;
  filter: blur(14px);
}
.tier-n {
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--pig);
  margin-bottom: var(--s2);
}
.tier-p { display: flex; align-items: baseline; gap: 7px; margin-bottom: 6px; }
.tier-p b {
  font-size: 3.05rem;
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tier-p span { font-size: var(--t-micro); color: var(--ink-62); letter-spacing: -.005em; }
.tier-d { font-size: var(--t-small); color: var(--ink-70); margin-bottom: var(--s4); min-height: 44px; }
.tier hr { border: 0; height: 1px; background: var(--rule-hair); margin: 0 0 var(--s4); }
/* auto margin pins every tier's CTA to the same baseline */
.tier ul { display: flex; flex-direction: column; gap: 11px; margin-bottom: var(--s5); }
.tier .btn { margin-top: auto; }
.tier li { display: flex; gap: 10px; font-size: var(--t-small); line-height: 1.45; color: var(--ink-70); }
.tier li svg { flex: none; margin-top: 3px; color: var(--pig); }
.tier li b { font-weight: 500; color: var(--ink); }
.tier .btn { width: 100%; }
.price-fine {
  margin-top: var(--s5);
  text-align: center;
  font-size: var(--t-micro);
  color: var(--ink-62);
}

/* ---------- final CTA ---------- */
.cta {
  position: relative;
  z-index: 1;
  padding: var(--s9) 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--gallery);
  border-top: 1px solid var(--rule-hair);
  text-align: center;
}
#ink2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  display: block;
  opacity: 0;
  transition: opacity 1.2s var(--e-out);
}
#ink2.lit { opacity: 1; }
/* tight enough to keep the display type crisp, small enough to let the
   ink own the rest of the bleed */
.cta-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(40% 42% at 50% 48%,
      rgba(252, 252, 250, .96) 0%,
      rgba(252, 252, 250, .82) 42%,
      rgba(252, 252, 250, .34) 68%,
      rgba(252, 252, 250, 0) 86%);
}
.cta h2 {
  font-size: clamp(2.9rem, 7.4vw, 6rem);
  line-height: .94;
  letter-spacing: -.042em;
  font-weight: 500;
  margin-bottom: var(--s3);
}
.cta .lead { margin: 0 auto var(--s5); text-align: center; max-width: 50ch; }
.cta-row { display: flex; justify-content: center; gap: var(--s2); flex-wrap: wrap; }
.cta-fine { margin-top: var(--s3); font-size: var(--t-micro); color: var(--ink-62); }

/* ---------- footer ---------- */
.foot {
  position: relative;
  z-index: 1;
  background: var(--gallery);
  border-top: 1px solid var(--rule);
  padding: var(--s7) 0 var(--s4);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(3, 1fr);
  gap: var(--s5);
  padding-bottom: var(--s6);
}
.foot-brand p {
  margin-top: var(--s3);
  font-size: var(--t-small);
  line-height: 1.6;
  color: var(--ink-70);
  max-width: 34ch;
}
.foot-pig { display: flex; gap: 6px; margin-top: var(--s3); }
.foot-pig i { width: 10px; height: 10px; border-radius: 50% 45% 52% 48% / 48% 52% 45% 50%; }
.foot-k {
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: var(--s3);
}
.foot-col ul { display: flex; flex-direction: column; gap: 11px; }
.foot-col a {
  font-size: var(--t-small);
  color: var(--ink-70);
  text-decoration: none;
  transition: color .3s var(--e-out), padding-left .35s var(--e-out);
}
.foot-col a:hover { color: var(--indigo); padding-left: 4px; }
.foot-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  flex-wrap: wrap;
  padding-top: var(--s4);
  border-top: 1px solid var(--rule-hair);
  font-size: var(--t-micro);
  color: var(--ink-40);
}
.foot-bot p { max-width: 62ch; }
.credit { color: var(--ink-62); }
.credit a { color: var(--ink); font-weight: 500; }

/* ---------- reveal choreography ---------- */
.js [data-en] { opacity: 0; }
.js.ready [data-en] {
  animation: rise .95s var(--e-out) both;
  animation-delay: calc(var(--d, 0) * 1ms);
}
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to   { opacity: 1; transform: none; }
}
.js [data-rv] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity .95s var(--e-out) calc(var(--i, 0) * 65ms),
    transform 1.1s var(--e-out) calc(var(--i, 0) * 65ms);
}
.js [data-rv].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  :root { --s9: 120px; --s8: 96px; --s7: 72px; }
  .app-body { grid-template-columns: 152px 1fr 220px; }
  .card--demo, .card--tall { grid-column: span 12; }
  .card--third { grid-column: span 4; }
  .placard { width: 280px; }
}

@media (max-width: 860px) {
  :root { --gutter: 22px; --s9: 96px; }
  .nav-links .nav-link { display: none; }
  .hero { padding-top: 104px; min-height: 92svh; }
  .hero-wash {
    background: radial-gradient(78% 46% at 42% 34%,
        var(--gallery) 0%, rgba(252, 252, 250, .94) 44%,
        rgba(252, 252, 250, .6) 68%, rgba(252, 252, 250, 0) 88%);
  }
  .placard { position: static; width: auto; max-width: 420px; margin-top: var(--s6); }
  /* corner marks are a big-canvas gesture. at 390px they just collide
     with the eyebrow, so drop them rather than shuffle them around. */
  .crop { display: none; }
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-rail {
    border-right: 0;
    border-bottom: 1px solid var(--rule-soft);
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: none;
  }
  .app-rail::-webkit-scrollbar { display: none; }
  .rail-k { display: none; }
  .layer { flex: none; white-space: nowrap; border: 1px solid var(--rule-hair); }
  .layer.sub { padding-left: 8px; }
  .app-canvas { border-right: 0; border-bottom: 1px solid var(--rule-soft); padding: 26px 18px; }
  .app-art { max-width: 300px; }
  .show-notes { grid-template-columns: 1fr; gap: var(--s4); }
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .tier--on { padding-top: var(--s6); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s4); }
  .foot-brand { grid-column: span 2; }
  .proof-in { gap: var(--s4); }
}

/* touch sizing: 44px minimum on anything tappable. scoped to small
   screens because pointer devices don't need the extra height and it
   would bloat the footer columns on desktop. */
@media (max-width: 860px) {
  .mark { min-height: 44px; }
  .foot-col ul { gap: 0; }
  .foot-col a,
  .foot-bot a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;  /* short labels ("Docs") stay tappable */
  }
  .tab { min-height: 44px; }
  .copy-btn { min-height: 44px; }
}

@media (max-width: 640px) {
  :root { --s9: 84px; --s7: 60px; --s6: 48px; }
  .card { padding: var(--s4); }
  .card--third { grid-column: span 12; }
  .demo-head { padding: var(--s4) var(--s4) var(--s3); }
  .demo-stage { padding: var(--s3); min-height: 0; }
  .pin-note { width: 154px; font-size: 11px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 auto; min-width: 0; }
  .sec-head { margin-bottom: var(--s5); }
  .h2 { max-width: 100%; }
  .presence { height: 128px; }
  .tier-p b { font-size: 2.6rem; }
}

@media (max-width: 420px) {
  .logos { gap: 14px 18px; }
  .logo { font-size: .82rem; }
}

/* ---------- reduced motion: the painting is finished, not moving ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-en], .js.ready [data-en] { opacity: 1 !important; animation: none !important; transform: none !important; }
  .js [data-rv] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pulse i::after { animation: none; }
  #ink, #ink2 { transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
