/* Developed by Pinkerton. One theme: dark. Colors, fonts and spacing are the variables below. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg: #08080b;
  --bg-2: #0c0c11;
  --card: #111117;
  --card-2: #17171f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f3f6;
  --muted: #a6a5b3;
  --dim: #74737f;

  --pink: #ff4f93;
  --orange: #ff9a5c;
  --grad: linear-gradient(100deg, var(--pink), var(--orange));
  --ok: #3ddc97;

  /* The sample screens inside the demos */
  --paper: #f6f5f1;
  --paper-ink: #15151b;
  --paper-muted: #6a6974;

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(84px, 11vw, 152px);
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: var(--pink); color: #14060c; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-weight: 620;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-1px); }
.btn-primary {
  border-color: transparent;
  background: var(--grad);
  color: #17060d;
  box-shadow: 0 10px 36px -12px rgba(255, 79, 147, 0.7);
}
.btn-primary:hover { background: var(--grad); border-color: transparent; box-shadow: 0 14px 44px -10px rgba(255, 99, 130, 0.9); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }
.btn svg { width: 18px; height: 18px; }

/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 11, 0.74);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  color: #17060d;
  font-weight: 850;
  font-stretch: 112%;
  font-size: 1.1rem;
  line-height: 1;
}
.logo-text { display: grid; line-height: 1.05; }
.logo-by {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.logo-name { font-weight: 780; font-stretch: 108%; font-size: 1.125rem; letter-spacing: -0.01em; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 520;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav .btn { margin-left: 10px; }

/* Hero */

.hero {
  position: relative;
  padding: clamp(72px, 11vw, 148px) 0 clamp(56px, 7vw, 96px);
  text-align: center;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: -68px 0 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 68px 68px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 0%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 62% at 50% 0%, #000 10%, transparent 78%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.orb-a {
  width: min(620px, 80vw);
  aspect-ratio: 1;
  left: 50%;
  top: -260px;
  margin-left: max(-560px, -60vw);
  background: var(--pink);
  animation: drift-a 18s ease-in-out infinite alternate;
}
.orb-b {
  width: min(520px, 70vw);
  aspect-ratio: 1;
  left: 50%;
  top: -220px;
  margin-left: min(60px, 4vw);
  background: var(--orange);
  opacity: 0.34;
  animation: drift-b 22s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(90px, 50px) scale(1.12); } }
@keyframes drift-b { to { transform: translate(-80px, 70px) scale(0.92); } }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(255, 79, 147, 0.18);
}

.hero h1 {
  max-width: 15.5ch;
  margin: 28px auto 0;
  font-size: clamp(2.6rem, 7.6vw, 5.6rem);
  font-weight: 760;
  font-stretch: 104%;
  line-height: 0.98;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.lede {
  max-width: 44rem;
  margin: 28px auto 0;
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.lede strong { color: var(--text); font-weight: 600; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.jump {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(56px, 8vw, 96px);
  text-align: left;
}
.jump a {
  position: relative;
  display: grid;
  gap: 6px;
  height: 100%;
  padding: 22px 56px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.jump a:hover { border-color: rgba(255, 122, 120, 0.55); transform: translateY(-3px); }
.jump-no { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; }
.jump-name { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.jump-what { font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
.jump-go {
  position: absolute;
  right: 18px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.jump-go svg { width: 14px; height: 14px; }
.jump a:hover .jump-go { color: var(--text); border-color: var(--text); transform: translateY(3px); }

/* Moving strip */

.strip {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.strip-track { display: flex; width: max-content; animation: strip 48s linear infinite; }
.strip ul { display: flex; flex: none; }
.strip li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.strip li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--grad);
  transform: rotate(45deg);
}
@keyframes strip { to { transform: translateX(-50%); } }

/* Sections */

.section { padding: var(--section) 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head h2, .contact h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  font-weight: 740;
  font-stretch: 103%;
  line-height: 1.04;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.section-head p:not(.mono-label) {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--muted);
  text-wrap: pretty;
}

/* Projects */

.proj {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  scroll-margin-top: 110px;
}
.proj + .proj { margin-top: clamp(84px, 11vw, 150px); }
.proj:nth-of-type(even) .proj-text { order: 2; }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker-no {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 26px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--grad);
  color: #17060d;
  letter-spacing: 0.06em;
}
.proj h3 {
  margin-top: 20px;
  font-size: clamp(1.625rem, 3vw, 2.375rem);
  font-weight: 730;
  line-height: 1.1;
  letter-spacing: -0.026em;
  text-wrap: balance;
}
.proj-sum { margin-top: 18px; font-size: 1.125rem; color: var(--muted); text-wrap: pretty; }
.points { display: grid; gap: 18px; margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.points li { position: relative; padding-left: 30px; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--pink);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.points strong { color: var(--text); font-weight: 640; }

/* Demo frame */

.proj-demo { position: relative; isolation: isolate; }
.proj-demo::before {
  content: "";
  position: absolute;
  inset: -3% -2%;
  z-index: -1;
  border-radius: 30%;
  background: linear-gradient(120deg, rgba(255, 79, 147, 0.5), rgba(255, 154, 92, 0.38));
  filter: blur(64px);
  opacity: 0.75;
}
.demo {
  container: demo / inline-size;
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: linear-gradient(180deg, #16161e, #0e0e14);
  box-shadow: 0 40px 90px -40px #000, inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #33333f; }
.demo-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.71875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--dim);
}
.demo-try {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: rgba(255, 79, 147, 0.14);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffb3cf;
  white-space: nowrap;
}
.demo-try::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 79, 147, 0.7); }
  100% { box-shadow: 0 0 0 9px rgba(255, 79, 147, 0); }
}
.demo-body { padding: 18px; }
.demo-label {
  display: block;
  margin-bottom: 9px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.demo-hint { margin-top: 14px; font-size: 0.875rem; line-height: 1.45; color: var(--dim); }

/* Demo 1: deck builder */

.deck { --brand: #ff4f93; }
.deck[data-brand="teal"] { --brand: #1fc8b0; }
.deck[data-brand="blue"] { --brand: #5b8cff; }
.deck[data-brand="amber"] { --brand: #ffab3d; }

.deck .demo-body { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; }
.deck-tools { display: grid; align-content: start; gap: 20px; }
.swatches { display: flex; gap: 10px; }
.sw {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--sw);
  background-clip: padding-box;
  box-shadow: 0 0 0 1px var(--line-2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sw:hover { transform: scale(1.1); }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--text); }
.sw-rose { --sw: #ff4f93; }
.sw-teal { --sw: #1fc8b0; }
.sw-blue { --sw: #5b8cff; }
.sw-amber { --sw: #ffab3d; }

.field input {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #0a0a0e;
  font-size: 0.9375rem;
}
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent); }

.slide {
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: var(--paper);
  color: var(--paper-ink);
  overflow: hidden;
  transition: background 0.35s ease;
}
.slide-in { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 7cqw 7cqw 5cqw; }
.slide-tag {
  font-family: var(--mono);
  font-size: 2.6cqw;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  transition: color 0.35s ease;
}
.slide-title {
  margin-top: 1.5cqw;
  font-size: 8.4cqw;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.slide-bars { display: flex; align-items: flex-end; gap: 2.4cqw; flex: 1; min-height: 0; margin-top: 4cqw; }
.slide-bars i { flex: 1; border-radius: 1cqw 1cqw 0 0; background: #d9d7d0; }
.slide-bars i:nth-child(1) { height: 34%; }
.slide-bars i:nth-child(2) { height: 48%; }
.slide-bars i:nth-child(3) { height: 44%; }
.slide-bars i:nth-child(4) { height: 68%; }
.slide-bars i:nth-child(5) { height: 100%; background: var(--brand); transition: background 0.35s ease; }
.slide-foot {
  padding: 2cqw 7cqw;
  border-top: 1px solid #dddbd3;
  font-size: 2.3cqw;
  color: var(--paper-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.thumb { border-radius: 6px; }
.thumb .slide-in { padding: 9cqw; }
.thumb-cover { background: var(--brand); justify-content: flex-end; }
.thumb-cover .slide-in { justify-content: flex-end; }
.thumb-cover .slide-title { margin: 0; font-size: 11cqw; color: #14141a; }
.thumb-num .slide-in { justify-content: center; }
.thumb-num b { font-size: 30cqw; font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; color: var(--brand); transition: color 0.35s ease; }
.thumb-num span { margin-top: 3cqw; font-size: 7cqw; color: var(--paper-muted); }
.thumb-cols .slide-in { gap: 5cqw; }
.thumb-cols .bar-h { width: 46%; height: 7cqw; border-radius: 2cqw; background: var(--brand); transition: background 0.35s ease; }
.thumb-cols .lines { display: grid; grid-template-columns: 1fr 1fr; gap: 6cqw; }
.thumb-cols .lines i {
  height: 22cqw;
  background: repeating-linear-gradient(to bottom, #d2d0c8 0 3cqw, transparent 3cqw 7.4cqw);
}

/* Demo 2: event RSVP */

.rsvp .demo-body { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.invite {
  padding: 22px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--paper-ink);
}
.invite-kicker { font-family: var(--mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #c7256a; }
.invite-name { margin-top: 6px; font-size: 1.75rem; font-weight: 780; line-height: 1.05; letter-spacing: -0.03em; }
.invite-when { margin-top: 8px; font-size: 0.875rem; line-height: 1.45; color: var(--paper-muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.seg button, .chips button {
  min-height: 40px;
  padding: 6px 10px;
  line-height: 1.2;
  border: 1px solid #cfcdc5;
  border-radius: 10px;
  background: transparent;
  color: var(--paper-ink);
  font-size: 0.875rem;
  font-weight: 620;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.seg button:hover, .chips button:hover { border-color: var(--paper-ink); }
.seg button[aria-pressed="true"], .chips button[aria-pressed="true"] { border-color: var(--paper-ink); background: var(--paper-ink); color: var(--paper); }
.rsvp-more { display: grid; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #dddbd3; }
.rsvp-more .demo-label, .rsvp-note { color: var(--paper-muted); }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #cfcdc5;
  border-radius: 50%;
  background: transparent;
  color: var(--paper-ink);
  font-size: 1.125rem;
  line-height: 1;
}
.stepper button:hover { border-color: var(--paper-ink); }
.stepper output { min-width: 1.5ch; font-size: 1.125rem; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.chips button { min-height: 36px; padding: 0 4px; font-size: 0.8125rem; }
.rsvp-note { margin-top: 14px; font-size: 0.875rem; line-height: 1.45; }

.tally { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #0b0b10; }
.tally-num { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; }
.tally-num output {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tally-num span { color: var(--muted); font-size: 0.9375rem; }
.tally-bars { display: grid; gap: 12px; margin-top: 20px; }
.tally-bars li { display: grid; grid-template-columns: 62px minmax(0, 1fr) 2.4ch; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--muted); }
.tally-bars output { color: var(--text); font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.meter { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.meter b { display: block; width: var(--w, 50%); height: 100%; border-radius: inherit; background: var(--grad); transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bump { animation: bump 0.4s ease; }
@keyframes bump { 40% { transform: scale(1.12); } }

/* Demo 3: ordering */

.order .demo-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
.phone {
  width: 238px;
  padding: 9px;
  border: 1px solid var(--line-2);
  border-radius: 36px;
  background: #1b1b24;
  box-shadow: 0 20px 50px -20px #000;
}
.phone-screen {
  display: flex;
  flex-direction: column;
  min-height: 372px;
  padding: 26px 16px 16px;
  border-radius: 28px;
  background: var(--paper);
  color: var(--paper-ink);
  position: relative;
}
.phone-screen::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 64px;
  height: 6px;
  margin-left: -32px;
  border-radius: 99px;
  background: #d5d3cb;
}
.shop, .receipt { display: flex; flex-direction: column; flex: 1; }
.shop-h { font-size: 1.25rem; font-weight: 780; letter-spacing: -0.02em; }
.items { display: grid; gap: 0; margin-top: 8px; }
.items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 8px; padding: 11px 0; border-bottom: 1px solid #e2e0d8; }
.item-name { font-size: 0.9375rem; font-weight: 640; line-height: 1.25; }
.item-price { grid-row: 2; font-size: 0.8125rem; color: var(--paper-muted); }
.qty { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; gap: 6px; }
.qty button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #cfcdc5;
  border-radius: 50%;
  background: transparent;
  color: var(--paper-ink);
  font-size: 1rem;
  line-height: 1;
}
.qty button:hover { border-color: var(--paper-ink); }
.qty output { min-width: 1.4ch; font-weight: 700; font-size: 0.9375rem; text-align: center; font-variant-numeric: tabular-nums; }
.phone-btn {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: var(--paper-ink);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 650;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.phone-btn:hover:not(:disabled) { transform: translateY(-1px); }
.phone-btn:disabled { opacity: 0.35; cursor: default; }
.phone-btn-alt { background: transparent; color: var(--paper-ink); box-shadow: inset 0 0 0 1px #cfcdc5; }
.receipt-h { font-size: 1.25rem; font-weight: 780; letter-spacing: -0.02em; }
.receipt-total { margin-top: 2px; font-size: 0.875rem; color: var(--paper-muted); }
.code { display: grid; gap: 2px; margin-top: 14px; padding: 12px 14px; border: 1px dashed #b9b7ae; border-radius: 12px; }
.code span { font-family: var(--mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-muted); }
.code strong { font-family: var(--mono); font-size: 1.5rem; font-weight: 500; letter-spacing: 0.16em; }
.track { display: grid; gap: 0; margin: 16px 0; }
.track li { position: relative; padding: 0 0 14px 28px; font-size: 0.9375rem; font-weight: 600; color: #a09e96; transition: color 0.3s ease; }
.track li:last-child { padding-bottom: 0; }
.track li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border: 2px solid #c9c7bf;
  border-radius: 50%;
  background: var(--paper);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.track li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 21px; bottom: -1px; width: 2px; background: #d5d3cb; }
.track li.on { color: var(--paper-ink); }
.track li.on::before { border-color: #12a366; background: #12a366; box-shadow: inset 0 0 0 3px var(--paper); }

.seller { min-width: 0; }
.orders { display: grid; gap: 8px; }
.orders li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b0b10;
  font-size: 0.9375rem;
}
.orders li.new { animation: arrive 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); border-color: rgba(255, 122, 120, 0.6); }
@keyframes arrive { from { opacity: 0; transform: translateY(-10px) scale(0.97); } }
.o-code { font-family: var(--mono); font-weight: 500; letter-spacing: 0.1em; }
.o-amt { color: var(--muted); font-variant-numeric: tabular-nums; }
.chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.chip-wait { background: rgba(255, 154, 92, 0.16); color: #ffc29c; }
.chip-paid { background: rgba(61, 220, 151, 0.16); color: #7ff0c0; }

/* Services */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 79, 147, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  color: #ff86a9;
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-top: 22px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.card p { margin-top: 10px; color: var(--muted); font-size: 1rem; line-height: 1.55; }

/* What every app comes with */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.private {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding: 20px;
  border: 1px solid rgba(255, 122, 120, 0.35);
  border-radius: var(--r);
  background: linear-gradient(120deg, rgba(255, 79, 147, 0.1), rgba(255, 154, 92, 0.05));
}
.private .icon { flex: none; }
.private h3 { font-size: 1.0625rem; font-weight: 700; }
.private p { margin-top: 4px; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.gets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: var(--r); background: var(--line); overflow: hidden; }
.gets > div { padding: 26px; background: var(--bg); }
.section-alt .gets > div { background: var(--bg-2); }
.gets dt { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.gets dd { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }

/* Process */

.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.process li { position: relative; padding-top: 34px; counter-increment: step; }
.process li::before {
  content: "";
  position: absolute;
  left: 0;
  right: -16px;
  top: 6px;
  height: 1px;
  background: var(--line-2);
}
.process li:last-child::before { right: 0; }
.process li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 5px var(--bg), 0 0 22px 2px rgba(255, 79, 147, 0.6);
}
.step-no { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; color: var(--dim); }
.step-no::after { content: "0" counter(step); }
.process h3 { margin-top: 10px; font-size: 1.3125rem; font-weight: 720; letter-spacing: -0.02em; line-height: 1.2; }
.process p { margin-top: 10px; padding-right: 12px; color: var(--muted); font-size: 1rem; line-height: 1.55; }

/* Contact */

.contact { padding: var(--section) 0; }
.contact-box {
  position: relative;
  padding: clamp(40px, 7vw, 92px) clamp(24px, 6vw, 80px);
  border: 1px solid rgba(255, 122, 120, 0.38);
  border-radius: clamp(22px, 3vw, 36px);
  background:
    radial-gradient(90% 130% at 0% 0%, rgba(255, 79, 147, 0.28), transparent 58%),
    radial-gradient(80% 120% at 100% 100%, rgba(255, 154, 92, 0.2), transparent 60%),
    var(--card);
  text-align: center;
  overflow: hidden;
}
.contact h2 { max-width: 20ch; margin: 16px auto 0; }
.contact-lede { margin-top: 20px; font-size: 1.125rem; color: var(--muted); }
.contact-actions { display: grid; justify-items: center; gap: 18px; margin-top: 34px; }
.contact-mail {
  font-family: var(--mono);
  font-size: clamp(0.8125rem, 2.6vw, 1rem);
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.contact-mail:hover { color: var(--text); text-decoration-color: var(--pink); }

/* Footer */

.foot { border-top: 1px solid var(--line); color: var(--dim); font-size: 0.875rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 28px; padding-bottom: 36px; }

/* 404 */

.lost { padding: clamp(96px, 16vw, 200px) var(--gutter); text-align: center; }
.lost h1 { margin: 20px auto 32px; font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 760; line-height: 1.02; letter-spacing: -0.035em; }

/* Scroll-in (only when the script is running) */

.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* The demos rearrange by their own width, not the page's */

@container demo (max-width: 540px) {
  .deck .demo-body { grid-template-columns: minmax(0, 1fr); }
  .deck-tools { grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 16px; }
  .deck-tools .demo-hint { grid-column: 1 / -1; margin-top: -6px; }
  .rsvp .demo-body { grid-template-columns: minmax(0, 1fr); }
  .order .demo-body { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .seller { width: 100%; }
}

/* Narrower screens */

@media (max-width: 1020px) {
  .proj { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .proj:nth-of-type(even) .proj-text { order: 0; }
  .proj-demo { max-width: 640px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split .section-head { position: static; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .process li:nth-child(2)::before { right: 0; }
}

@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .nav .btn { margin-left: 0; }
  .jump { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .gets { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .process li::before { right: 0; }
  .demo-body { padding: 14px; }
  .btn { width: 100%; }
  .btn-small, .contact .btn { width: auto; }
  .hero-actions { flex-direction: column; }
}
