/* Noise brand book. Tokens mirror the app's app/globals.css; the dark values flip on html[data-theme="dark"]. */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/nunito-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/nunito-900-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --page: #ffffff;
  --paper: #ffffff;
  --ink: #121212;
  --ink-2: #6e6e6e;
  --line: #ebebeb;
  --tint: rgba(18, 18, 18, 0.04);
  --tint-2: rgba(18, 18, 18, 0.07);
  --coral: #ff784f;
  --coral-ink: #c2461f;
  --on-ink: #ffffff;
  --on-accent: #ffffff;
  --pink: #ff3190;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(0, 0, 0, 0.14);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.04), 0 18px 40px -18px rgba(0, 0, 0, 0.28);

  --font-display: "Nunito", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-sheet: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-pop: cubic-bezier(0.3, 1.6, 0.5, 1);

  --r-control: 12px;
  --r-panel: 20px;
  --r-tile: 16px;
  --side: 248px;
  --top: 0px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --page: #0e0e10;
  --paper: #18181b;
  --ink: #f2f2f2;
  --ink-2: #a1a1aa;
  --line: #27272a;
  --tint: rgba(255, 255, 255, 0.04);
  --tint-2: rgba(255, 255, 255, 0.08);
  --coral: #ff784f;
  --coral-ink: #ff8a66;
  --on-ink: #0e0e10;
  --on-accent: #0e0e10;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.3), 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top) + 24px);
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
svg {
  display: block;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  touch-action: manipulation;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 6px;
}
::selection {
  background: rgba(255, 120, 79, 0.28);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--on-ink);
  padding: 10px 14px;
  border-radius: var(--r-control);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.num {
  font-variant-numeric: tabular-nums;
}
.muted {
  color: var(--ink-2);
}
.icon {
  flex-shrink: 0;
}

/* ---------- Shell: sidebar on desktop, a top bar with a chip rail on phones ---------- */

.shell {
  min-height: 100dvh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--page) 88%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 12px 0 20px;
}
.brandlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.brandlink .noise-logo {
  height: 24px;
  width: auto;
}
.brandlink span {
  color: var(--ink-2);
  font-weight: 600;
  padding-left: 10px;
  box-shadow: inset 1px 0 0 var(--line);
}

.chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 20px 10px;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chips a {
  flex-shrink: 0;
  height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-2);
  background: var(--tint);
  transition-property: background-color, color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease-out);
}
.chips a[aria-current="true"] {
  background: var(--ink);
  color: var(--on-ink);
}

.sidebar {
  display: none;
}

.theme-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  transition-property: background-color, scale;
  transition-duration: 150ms;
  transition-timing-function: var(--ease-out);
}
.theme-btn:hover {
  background: var(--tint);
}
.theme-btn:active {
  scale: 0.96;
}
.theme-btn .i-sun,
.theme-btn .i-moon {
  position: absolute;
  transition-property: opacity, scale, filter;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.theme-btn .i-sun {
  opacity: 0;
  scale: 0.25;
  filter: blur(4px);
}
html[data-theme="dark"] .theme-btn .i-sun {
  opacity: 1;
  scale: 1;
  filter: blur(0);
}
html[data-theme="dark"] .theme-btn .i-moon {
  opacity: 0;
  scale: 0.25;
  filter: blur(4px);
}

main {
  min-width: 0;
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1024px) {
  .shell {
    display: grid;
    grid-template-columns: var(--side) minmax(0, 1fr);
  }
  .topbar {
    display: none;
  }
  .sidebar {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100dvh;
    padding: 28px 16px 20px 24px;
    box-shadow: 1px 0 0 var(--line);
  }
  .sidebar .brandlink {
    padding: 4px 8px;
    margin-left: -8px;
  }
  .sidebar .brandlink .noise-logo {
    height: 26px;
  }
  .sidebar nav {
    margin-top: 40px;
  }
  .sidebar nav a {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    margin-left: -12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    text-decoration: none;
    transition-property: background-color, color;
    transition-duration: 150ms;
    transition-timing-function: var(--ease-out);
  }
  .sidebar nav a:hover {
    color: var(--ink);
    background: var(--tint);
  }
  .sidebar nav a[aria-current="true"] {
    color: var(--ink);
    background: var(--tint-2);
  }
  .sidebar-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    font-size: 13px;
    color: var(--ink-2);
  }
  .sidebar-foot .theme-btn {
    margin-right: -8px;
  }
  .wrap {
    padding: 0 56px;
  }
}
@media (min-width: 1440px) {
  :root {
    --side: 272px;
  }
  .wrap {
    padding: 0 72px;
  }
}

/* ---------- Type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(36px, 7vw, 56px);
  line-height: 1.04;
  text-wrap: balance;
}
.lede {
  margin-top: 16px;
  max-width: 600px;
  font-size: 17px;
  line-height: 26px;
  color: var(--ink-2);
  text-wrap: pretty;
}
.h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h4 {
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
}
.small {
  font-size: 14px;
  line-height: 20px;
}
.meta {
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-2);
}
p {
  text-wrap: pretty;
}

/* ---------- Sections ---------- */

.section {
  padding: 72px 0;
  box-shadow: inset 0 1px 0 var(--line);
}
.section-head {
  max-width: 720px;
}
.block {
  margin-top: 56px;
}
.block-head {
  margin-bottom: 20px;
  max-width: 600px;
}
.block-head p {
  margin-top: 6px;
  color: var(--ink-2);
}
@media (min-width: 768px) {
  .section {
    padding: 112px 0;
  }
  .block {
    margin-top: 80px;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: 32px 0 72px;
}
.hero-grid {
  display: grid;
  gap: 28px;
}
.hero-mascot {
  justify-self: start;
  width: min(68vw, 280px);
  margin-left: -6px;
  border-radius: 24px;
  color: var(--ink);
  transition: scale 150ms var(--ease-out);
}
.hero-mascot:active {
  scale: 0.98;
}
.hero-mascot .noise-logo {
  width: 100%;
  height: auto;
  overflow: visible;
}
.hero-kicker {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--ink-2);
}
.hero h1 {
  margin-top: 14px;
  font-size: clamp(42px, 12vw, 56px);
  line-height: 1.08;
}
.hero h1 .accent {
  color: var(--coral-ink);
}
.hero .lede {
  margin-top: 20px;
  max-width: 440px;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-hint {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (min-width: 768px) {
  .hero {
    padding: 72px 0 112px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
  }
  .hero-text {
    order: 0;
  }
  .hero-art {
    order: 1;
    justify-self: end;
    text-align: center;
  }
  .hero-mascot {
    width: min(30vw, 440px);
    margin: 0;
  }
  .hero-hint {
    justify-content: center;
  }
  .hero h1 {
    font-size: clamp(52px, 4.9vw, 84px);
    line-height: 1.04;
  }
}

/* ---------- Buttons (the app's: 12px radius, 0.97 press, ink by default) ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r-control);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  transition-property: scale, background-color, color, box-shadow, filter;
  transition-duration: 150ms;
  transition-timing-function: var(--ease-out);
}
.btn:active {
  scale: 0.97;
}
.btn-ink {
  background: var(--ink);
  color: var(--on-ink);
}
.btn-ink:hover {
  filter: brightness(1.18);
}
html[data-theme="dark"] .btn-ink:hover {
  filter: brightness(0.9);
}
.btn-line {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 20%, transparent);
}
.btn-line:hover {
  background: var(--tint);
}
.btn-quiet {
  background: var(--tint-2);
}
.btn-quiet:hover {
  background: color-mix(in srgb, var(--ink) 10%, transparent);
}
.btn-coral {
  background: var(--coral-ink);
  color: var(--on-accent);
}
.btn-coral:hover {
  filter: brightness(0.93);
}
.btn-sm {
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
}
.btn-sm::after {
  content: "";
  position: absolute;
  inset: -6px 0;
}
.btn-lg {
  height: 52px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
}

/* ---------- Generic surfaces ---------- */

.panel {
  background: var(--paper);
  border-radius: var(--r-panel);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tinted {
  background: var(--tint);
  border-radius: var(--r-panel);
}
.cap {
  margin-top: 12px;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-2);
}
.cap b {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- Story ---------- */

.statement {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.015em;
  max-width: 820px;
  text-wrap: balance;
}
.statement .muted {
  font-weight: 600;
}
.loop {
  margin-top: 48px;
  display: grid;
  gap: 16px;
}
.loop-col {
  padding: 24px;
}
.loop-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.loop-col ul {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}
.loop-col li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 22px;
}
.loop-col li .icon {
  margin-top: 1px;
  color: var(--ink-2);
}
.loop-col.dark {
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: none;
}
.loop-col.dark li .icon {
  color: var(--coral);
}
@media (min-width: 768px) {
  .loop {
    grid-template-columns: 1fr 1fr;
  }
  .loop-col {
    padding: 32px;
  }
}

.beliefs {
  display: grid;
  gap: 16px;
}
.belief {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 260px;
}
.belief .h3 {
  font-size: 22px;
}
.belief p {
  margin-top: 6px;
  color: var(--ink-2);
  max-width: 380px;
}
.belief-art {
  margin-top: auto;
}
@media (min-width: 768px) {
  .beliefs {
    grid-template-columns: repeat(12, 1fr);
  }
  .belief {
    padding: 32px;
  }
  .belief:nth-child(1) {
    grid-column: span 7;
  }
  .belief:nth-child(2) {
    grid-column: span 5;
  }
  .belief:nth-child(3) {
    grid-column: span 5;
  }
  .belief:nth-child(4) {
    grid-column: span 7;
  }
}

.bots {
  display: flex;
  gap: 32px;
  align-items: flex-end;
}
.bots div p:first-child {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 44px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bots div p:last-child {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.bots .zero {
  color: var(--ink-2);
}

.levels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
}
.pill-listener {
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pill-shaper {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}
.pill-superfan {
  background: var(--ink);
  color: var(--on-ink);
}
html[data-theme="dark"] .pill-superfan {
  background: #26262a;
  color: var(--ink);
}
.pill-superfan .icon {
  color: var(--coral);
}

.calm-art {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---------- Notification row (app style) ---------- */

.notes {
  display: grid;
}
.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
}
.notes .note + .note {
  box-shadow: inset 0 1px 0 var(--line);
}
.note-body {
  min-width: 0;
  flex: 1;
}
.note-title {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.note-sub {
  margin-top: 2px;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-2);
}
.note-time {
  flex-shrink: 0;
  font-size: 12px;
  line-height: 20px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.dot-new {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--coral);
  margin-top: 6px;
  flex-shrink: 0;
}

/* ---------- Show covers ---------- */

.cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex-shrink: 0;
}
.cover svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cover .cover-name {
  position: absolute;
  inset: auto 0 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.cover .cover-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}
html[data-theme="dark"] .cover::after {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.avatar {
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}
html[data-theme="dark"] .avatar {
  outline-color: rgba(255, 255, 255, 0.1);
}

/* ---------- Logo ---------- */

.noise-logo {
  color: var(--ink);
  overflow: visible;
}
.noise-logo .rest-dark,
.noise-logo .rim {
  display: none;
}
html[data-theme="dark"] .noise-logo .rest-light {
  display: none;
}
html[data-theme="dark"] .noise-logo .rest-dark,
html[data-theme="dark"] .noise-logo .rim {
  display: inline;
}

.stage {
  position: relative;
  padding: 56px 24px 24px;
}
.stage-logo {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 16px;
}
.stage-logo .noise-logo {
  width: 100%;
  height: auto;
}
.stage-foot {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stage-hint {
  font-size: 13px;
  color: var(--ink-2);
}
.moodbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.moodbar button {
  height: 34px;
  padding: 0 12px 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--tint);
  color: var(--ink-2);
  transition-property: background-color, color, scale;
  transition-duration: 150ms;
  transition-timing-function: var(--ease-out);
}
.moodbar button:hover {
  color: var(--ink);
}
.moodbar button:active {
  scale: 0.96;
}
.moodbar button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--on-ink);
}
.moodbar button .noise-logo {
  width: 26px;
  height: auto;
}
.moodbar button[aria-pressed="true"] .noise-logo {
  color: var(--on-ink);
}
@media (min-width: 768px) {
  .stage {
    padding: 96px 48px 32px;
  }
  .stage-foot {
    align-items: center;
    text-align: center;
  }
  .moodbar {
    justify-content: center;
  }
}

.pair {
  display: grid;
  gap: 16px;
}
.pair-tile {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.pair-art {
  flex: 1;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pair-tile .h4 {
  margin-top: 20px;
}
.pair-tile p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-2);
}
@media (min-width: 768px) {
  .pair {
    grid-template-columns: 1fr 1.7fr;
  }
}

.construct {
  padding: 24px;
}
.construct svg {
  width: 100%;
  height: auto;
}
.construct-legend {
  margin-top: 20px;
  display: grid;
  gap: 16px;
}
.construct-legend div {
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-2);
}
.construct-legend b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 2px;
}
@media (min-width: 768px) {
  .construct {
    padding: 40px;
  }
  .construct-legend {
    grid-template-columns: repeat(3, 1fr);
  }
}

.minsizes {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 32px 48px;
  padding: 32px 24px;
}
.minsizes figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.minsizes figcaption {
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-2);
}
.minsizes figcaption b {
  color: var(--ink);
  display: block;
}

.versions {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.version {
  border-radius: var(--r-tile);
  min-height: 168px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.version-art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
}
.version-art .noise-logo {
  width: min(100%, 220px);
  height: auto;
}
.version .vlabel {
  font-size: 13px;
  font-weight: 700;
}
.version .vlabel span {
  font-weight: 500;
  opacity: 0.72;
}
.version.v-light {
  grid-column: span 2;
  background: #ffffff;
  color: #121212;
  box-shadow: inset 0 0 0 1px var(--line);
  min-height: 240px;
}
.version.v-light .version-art .noise-logo {
  width: min(100%, 360px);
}
.version.v-dark {
  grid-column: span 2;
  background: #0e0e10;
  color: #f2f2f2;
  min-height: 240px;
}
.version.v-dark .version-art .noise-logo {
  width: min(100%, 360px);
}
.version.v-coral {
  background: #ff784f;
  color: #121212;
}
.version.v-mono {
  background: #f4f4f4;
  color: #121212;
}
.version.v-monow {
  grid-column: span 2;
  background: #121212;
  color: #ffffff;
}
@media (min-width: 768px) {
  .versions {
    grid-template-columns: repeat(6, 1fr);
  }
  .version.v-light,
  .version.v-dark {
    grid-column: span 3;
    min-height: 280px;
  }
  .version.v-coral,
  .version.v-mono,
  .version.v-monow {
    grid-column: span 2;
  }
}

.donts {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.dont {
  display: flex;
  flex-direction: column;
}
.dont-art {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-tile);
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}
.dont-art .noise-logo {
  width: 72%;
  height: auto;
}
.dont-cap {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}
.dont-cap .icon {
  margin-top: 1px;
  color: var(--ink-2);
}
.d-stretch .noise-logo {
  width: 56%;
  transform: scale(1.4, 0.78);
}
.d-rotate .noise-logo {
  transform: rotate(-14deg);
}
.d-shadow .noise-logo {
  filter: drop-shadow(0 10px 6px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 14px rgba(255, 120, 79, 0.9));
}
.d-outline .noise-logo path {
  stroke: #ff784f;
  stroke-width: 22px;
  paint-order: stroke;
  stroke-linejoin: round;
}
.d-stack {
  flex-direction: column;
  gap: 4px;
}
.d-stack .noise-logo {
  width: auto;
  height: 34%;
}
.d-busy {
  background: repeating-linear-gradient(45deg, #ff784f 0 10px, #c2461f 10px 20px);
}
@media (min-width: 768px) {
  .donts {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
  }
}

/* ---------- Moods & reactions ---------- */

.moods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mood {
  text-align: left;
  padding: 16px;
  border-radius: var(--r-tile);
  background: var(--tint);
  display: flex;
  flex-direction: column;
  transition-property: background-color, scale;
  transition-duration: 150ms;
  transition-timing-function: var(--ease-out);
}
.mood:hover {
  background: var(--tint-2);
}
.mood:active {
  scale: 0.98;
}
.mood-art {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mood-art .noise-logo {
  height: 84px;
  width: auto;
}
.mood .h4 {
  margin-top: 12px;
}
.mood .eyes {
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-2);
  font-weight: 600;
}
.mood .when {
  margin-top: 8px;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-2);
}
@media (min-width: 768px) {
  .moods {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .mood {
    padding: 20px;
  }
}

.reactions {
  display: grid;
  gap: 12px;
}
.reaction {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  text-align: left;
  padding: 16px;
  border-radius: var(--r-tile);
  box-shadow: inset 0 0 0 1px var(--line);
  transition-property: box-shadow, scale, background-color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease-out);
}
.reaction:hover {
  background: var(--tint);
}
.reaction:active {
  scale: 0.98;
}
.reaction-art {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reaction-art .noise-logo {
  width: 84px;
  height: auto;
}
.reaction .h4 {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.reaction .h4 span {
  font-weight: 600;
  color: var(--ink-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.reaction p {
  margin-top: 2px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-2);
}
.reaction .eyes-used {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
@media (min-width: 768px) {
  .reactions {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .reactions {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rules {
  display: grid;
  gap: 0;
}
.rules li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  font-size: 15px;
  line-height: 22px;
}
.rules li + li {
  box-shadow: inset 0 1px 0 var(--line);
}
.rules li .icon {
  margin-top: 2px;
}
.rules li b {
  font-weight: 700;
}
.rules .muted {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 20px;
}

/* ---------- Color ---------- */

.ratio {
  display: flex;
  height: 120px;
  border-radius: var(--r-panel);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}
.ratio div {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
}
.ratio-legend {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--ink-2);
}
.ratio-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ratio-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.swatches {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.swatches.accent {
  grid-template-columns: 1fr;
}
.swatch {
  display: flex;
  flex-direction: column;
}
.swatch-chip {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-tile);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 12px;
  text-align: left;
  transition: scale 150ms var(--ease-out);
}
html[data-theme="dark"] .swatch-chip {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.swatch-chip:active {
  scale: 0.98;
}
.swatch-chip .copyhint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  color: #121212;
  opacity: 0;
  translate: 0 4px;
  transition-property: opacity, translate;
  transition-duration: 200ms;
  transition-timing-function: var(--ease-out);
}
.swatch-chip:hover .copyhint,
.swatch-chip:focus-visible .copyhint {
  opacity: 1;
  translate: 0 0;
}
@media (hover: none) {
  .swatch-chip .copyhint {
    opacity: 1;
    translate: 0 0;
  }
}
.swatch-name {
  margin-top: 12px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.swatch-name code {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.swatch-role {
  margin-top: 4px;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-2);
}
.swatch-contrast {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 8px 0 4px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: var(--tint);
  font-variant-numeric: tabular-nums;
}
.cr i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  font-family: var(--font-display);
}
.cr .grade {
  color: var(--ink-2);
  font-weight: 700;
}
.cr .fail {
  color: var(--ink-2);
  text-decoration: line-through;
}
@media (min-width: 768px) {
  .swatches {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .swatches.accent {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .swatches.accent .swatch-chip {
    aspect-ratio: auto;
    height: 200px;
  }
}

.darkset {
  border-radius: var(--r-panel);
  background: #0e0e10;
  color: #f2f2f2;
  padding: 24px;
  box-shadow: inset 0 0 0 1px #27272a;
}
.darkset-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 12px;
}
.darkset button {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #f2f2f2;
  border-radius: 12px;
}
.darkset .chip {
  display: block;
  width: 100%;
  height: 56px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.darkset .t {
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}
.darkset .t span {
  display: block;
  font-weight: 600;
  color: #a1a1aa;
}
.darkset p {
  color: #a1a1aa;
  font-size: 14px;
  line-height: 20px;
  max-width: 560px;
}
.darkset h3 {
  color: #f2f2f2;
}
@media (min-width: 768px) {
  .darkset {
    padding: 32px;
  }
  .darkset-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

.contrast-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.contrast-demo span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
}
.fake-btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Type ---------- */

.specimens {
  display: grid;
  gap: 16px;
}
.specimen {
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.specimen-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.specimen-aa {
  margin-top: 8px;
  font-size: 140px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.specimen-aa.nunito {
  font-family: var(--font-display);
  font-weight: 900;
}
.specimen-aa.manrope {
  font-weight: 700;
  letter-spacing: -0.04em;
}
.specimen-glyphs {
  margin-top: auto;
  padding-top: 20px;
  font-size: 15px;
  line-height: 24px;
  color: var(--ink-2);
  word-break: break-all;
}
.specimen-glyphs.nunito {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.weights {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 15px;
}
.specimen.dark {
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: none;
}
.specimen.dark .specimen-glyphs,
.specimen.dark .meta {
  color: color-mix(in srgb, var(--on-ink) 62%, transparent);
}
@media (min-width: 768px) {
  .specimens {
    grid-template-columns: 1.2fr 1fr;
  }
  .specimen {
    padding: 32px;
    min-height: 420px;
  }
  .specimen-aa {
    font-size: 180px;
  }
}

.scale {
  display: grid;
}
.scale-row {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  align-items: center;
}
.scale-row + .scale-row {
  box-shadow: inset 0 1px 0 var(--line);
}
.scale-spec {
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.scale-spec b {
  color: var(--ink);
  font-weight: 700;
  margin-right: 6px;
}
.scale-sample {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 768px) {
  .scale-row {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 24px;
  }
  .scale-spec b {
    display: block;
  }
}

/* ---------- Icons & show art ---------- */

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.icon-cell {
  aspect-ratio: 1;
  border-radius: var(--r-tile);
  background: var(--tint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: center;
  padding: 8px;
}
.icon-cell svg {
  color: var(--ink);
}
.icon-cell.coral svg {
  color: var(--coral-ink);
}
@media (min-width: 768px) {
  .icon-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
}

.icon-sizes {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.icon-size-card {
  padding: 24px;
}
.icon-size-card .row {
  margin-top: 16px;
  display: flex;
  align-items: flex-end;
  gap: 28px;
}
.icon-size-card .row figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.inline-demo {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.emoji-no {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
@media (min-width: 768px) {
  .icon-sizes {
    grid-template-columns: 1fr 1fr;
  }
  .icon-size-card {
    padding: 32px;
  }
}

.covers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.covers figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.covers .cover {
  width: 100%;
  aspect-ratio: 1;
}
.covers figcaption {
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-2);
}
.covers figcaption b {
  display: block;
  color: var(--ink);
  font-weight: 700;
}
@media (min-width: 768px) {
  .covers {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (min-width: 1200px) {
  .covers {
    grid-template-columns: repeat(6, 1fr);
  }
}
.cover-anatomy {
  margin-top: 24px;
  display: grid;
  gap: 16px;
  padding: 24px;
}
.cover-anatomy .sizes {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
@media (min-width: 768px) {
  .cover-anatomy {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 32px;
    gap: 40px;
  }
}

/* ---------- Voice ---------- */

.traits {
  display: grid;
}
.trait {
  display: grid;
  gap: 6px;
  padding: 24px 0;
}
.trait + .trait {
  box-shadow: inset 0 1px 0 var(--line);
}
.trait .word {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 44px;
  line-height: 1;
}
.trait p {
  color: var(--ink-2);
  max-width: 520px;
}
@media (min-width: 768px) {
  .trait {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 32px;
    align-items: baseline;
    padding: 32px 0;
  }
  .trait .word {
    font-size: 56px;
  }
}

.dodont {
  display: grid;
  gap: 12px;
}
.dd-row {
  display: grid;
  border-radius: var(--r-tile);
  overflow: hidden;
  border: 1px solid var(--line);
}
.dd-row > div {
  padding: 18px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.dd-row .do {
  background: var(--paper);
}
.dd-row .dont-say {
  background: var(--tint);
  color: var(--ink-2);
}
.dd-row .do .icon {
  color: var(--coral-ink);
  margin-top: 2px;
}
.dd-row .dont-say .icon {
  margin-top: 2px;
}
.dd-row q {
  quotes: "\201C" "\201D";
  font-size: 15px;
  line-height: 22px;
}
.dd-row .do q {
  font-weight: 600;
}
.dd-row .why {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-2);
  font-weight: 500;
}
.dd-head {
  display: none;
}
@media (min-width: 768px) {
  .dd-row {
    grid-template-columns: 1fr 1fr;
  }
  .dd-row .dont-say {
    box-shadow: inset 1px 0 0 var(--line);
  }
  .dd-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-2);
    padding: 0 20px;
  }
}

.glossary {
  display: grid;
  gap: 0 48px;
}
.glossary div {
  padding: 16px 0;
  box-shadow: inset 0 1px 0 var(--line);
}
.glossary dt {
  font-weight: 700;
  font-size: 15px;
  line-height: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.glossary dd {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 20px;
}
@media (min-width: 768px) {
  .glossary {
    grid-template-columns: 1fr 1fr;
  }
}

.mechanics {
  display: grid;
  gap: 12px;
}
.mechanics li {
  padding: 20px;
  border-radius: var(--r-tile);
  background: var(--tint);
}
.mechanics li b {
  display: block;
  font-size: 15px;
}
.mechanics li span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-2);
}
@media (min-width: 768px) {
  .mechanics {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Product UI ---------- */

.principles {
  display: grid;
  gap: 24px;
}
.principle .h4 {
  font-size: 16px;
}
.principle p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-2);
}
@media (min-width: 768px) {
  .principles {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 48px;
  }
}

.showcase {
  display: grid;
  gap: 16px;
}
.showcase > figure {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.showcase .stagebox {
  flex: 1;
  border-radius: var(--r-panel);
  background: var(--tint);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
@media (min-width: 900px) {
  .showcase {
    grid-template-columns: repeat(12, 1fr);
  }
  .sc-card {
    grid-column: span 5;
  }
  .sc-trust {
    grid-column: span 7;
  }
  .sc-notes {
    grid-column: span 7;
  }
  .sc-bar {
    grid-column: span 5;
  }
  .sc-buttons {
    grid-column: span 12;
  }
}

/* Campaign card */
.ccard {
  width: 100%;
  max-width: 320px;
  background: var(--paper);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  transition: scale 150ms var(--ease-out);
}
.ccard:active {
  scale: 0.97;
}
.ccard-top {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ccard-kicker {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--ink-2);
}
.ccard-title {
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ccard-lead {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ccard-lead-body {
  min-width: 0;
  flex: 1;
}
.ccard-lead-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
}
.ccard-lead-top b {
  font-weight: 600;
}
.ccard-lead-top .score {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.bar {
  margin-top: 6px;
  height: 4px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--ink);
}
.bar.coral i {
  background: var(--coral);
}
.ccard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  box-shadow: inset 0 1px 0 var(--line);
}
.facepile {
  display: flex;
}
.facepile img {
  width: 22px;
  height: 22px;
  box-shadow: 0 0 0 2px var(--paper);
}
.facepile img + img {
  margin-left: -6px;
}

/* Trust breakdown */
.trust-demo {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.trust-row .name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
}
.trust-row .name .icon {
  color: var(--coral-ink);
}
.trust-row .right {
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-2);
}
.checkbtn {
  position: relative;
  display: inline-flex;
  border-radius: 6px;
}
.checkbtn::after {
  content: "";
  position: absolute;
  inset: -12px;
}
.breakdown {
  width: 248px;
  align-self: center;
  border-radius: 14px;
  background: #121212;
  color: #ffffff;
  padding: 12px;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.5);
  transform-origin: 50% 0;
}
html[data-theme="dark"] .breakdown {
  background: #f2f2f2;
  color: #0e0e10;
}
.breakdown .top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.breakdown .top b {
  font-size: 13px;
}
.breakdown .top span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.breakdown .meter {
  margin-top: 8px;
  height: 4px;
  border-radius: 99px;
  background: color-mix(in srgb, currentColor 15%, transparent);
  overflow: hidden;
}
.breakdown .meter i {
  display: block;
  height: 100%;
  background: #ff784f;
  border-radius: 99px;
}
.breakdown ul {
  margin-top: 10px;
  display: grid;
  gap: 4px;
}
.breakdown li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}
.breakdown li .icon {
  color: #ff784f;
}
html[data-theme="dark"] .breakdown li .icon {
  color: #c2461f;
}
.breakdown li.off {
  opacity: 0.45;
}
.breakdown li.off .icon {
  opacity: 0;
}
.breakdown li .pts {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.breakdown li .lbl {
  min-width: 0;
  flex: 1;
}

.notes-demo {
  width: 100%;
  max-width: 460px;
  background: var(--paper);
  border-radius: 16px;
  padding: 4px 16px;
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}

/* Floating pill action bar */
.pillbar-stage {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 220px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.pillbar-stage .ghost {
  position: absolute;
  inset: 20px 20px auto;
  display: grid;
  gap: 10px;
}
.pillbar-stage .ghost i {
  display: block;
  height: 10px;
  border-radius: 99px;
  background: var(--tint-2);
}
.pillbar {
  position: absolute;
  left: 50%;
  bottom: 16px;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: var(--shadow-lift);
  white-space: nowrap;
}
.pillbar button {
  height: 40px;
  min-width: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-ink);
  transition-property: background-color, scale;
  transition-duration: 150ms;
  transition-timing-function: var(--ease-out);
}
.pillbar button:hover {
  background: color-mix(in srgb, var(--on-ink) 12%, transparent);
}
.pillbar button:active {
  scale: 0.96;
}
.pillbar .primary {
  background: var(--on-ink);
  color: var(--ink);
  padding: 0 18px;
}
.pillbar .primary:hover {
  background: var(--on-ink);
  filter: brightness(0.94);
}
.pillbar .primary.voted .icon {
  color: var(--coral-ink);
}

.buttons-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.buttons-demo figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.buttons-demo figcaption {
  font-size: 12px;
  color: var(--ink-2);
}

/* ---------- Motion ---------- */

.motion-list {
  display: grid;
}
.mrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
}
.mrow + .mrow {
  box-shadow: inset 0 1px 0 var(--line);
}
.mrow .h4 {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}
.mrow .h4 span {
  font-weight: 600;
  color: var(--ink-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.mrow p {
  margin-top: 2px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-2);
}
.mrow code {
  display: block;
  margin-top: 6px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--ink-2);
  word-break: break-all;
}
.mrow .curve {
  display: none;
}
.mdemo {
  height: 88px;
  border-radius: 16px;
  background: var(--tint);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 150ms var(--ease-out);
}
.mdemo:hover {
  background: var(--tint-2);
}
.mdemo .play {
  position: absolute;
  right: 6px;
  bottom: 6px;
  color: var(--ink-2);
}
.mdemo .sq {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--ink);
}
.mdemo .sheet {
  position: absolute;
  inset: auto 10px 0 10px;
  height: 52px;
  border-radius: 12px 12px 0 0;
  background: var(--paper);
  box-shadow: var(--shadow-lift), inset 0 0 0 1px var(--line);
}
.mdemo .sheet::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 24px;
  height: 4px;
  margin-left: -12px;
  border-radius: 9px;
  background: var(--tint-2);
}
.mdemo .tick {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.mdemo .noise-logo {
  width: 64px;
  height: auto;
}
.mdemo .heart {
  color: var(--pink);
}
.mdemo .heart svg {
  fill: currentColor;
}
.press-demo {
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: scale 150ms var(--ease-out);
}
.press-demo:active,
.press-demo.pressed {
  scale: 0.97;
}
.anim-fade {
  animation: fade-in 200ms ease-out both;
}
.anim-sheet {
  animation: sheet-in 260ms var(--ease-sheet) both;
}
.anim-pop {
  animation: pop 320ms var(--ease-pop) both;
}
.anim-ticker {
  animation: ticker-in 420ms var(--ease-sheet) both;
}
@media (min-width: 768px) {
  .mrow {
    grid-template-columns: minmax(0, 1fr) 120px 160px;
    gap: 24px;
  }
  .mrow .curve {
    display: block;
    color: var(--ink-2);
  }
  .mdemo {
    height: 96px;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes sheet-in {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes ticker-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

/* ---------- Downloads ---------- */

.assets {
  display: grid;
  gap: 16px;
}
.asset {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-panel);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  background: var(--paper);
}
.asset-art {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.asset-art img {
  max-width: 78%;
  max-height: 96px;
  width: auto;
  height: auto;
}
.asset-art.mark img {
  max-height: 88px;
}
.asset-body {
  padding: 16px;
  box-shadow: inset 0 1px 0 var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.asset-body .h4 span {
  display: block;
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 2px;
}
.asset-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.asset-links a {
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  background: var(--tint);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition-property: background-color, scale;
  transition-duration: 150ms;
  transition-timing-function: var(--ease-out);
}
.asset-links a:hover {
  background: var(--tint-2);
}
.asset-links a:active {
  scale: 0.96;
}
@media (min-width: 640px) {
  .assets {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .assets {
    grid-template-columns: repeat(4, 1fr);
  }
}
.zipbar {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: var(--r-panel);
  background: var(--tint);
}
.zipbar p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 20px;
  margin-top: 2px;
}
.zipbar .btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .zipbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
  }
}

/* ---------- Footer ---------- */

.foot {
  padding: 72px 0 96px;
  box-shadow: inset 0 1px 0 var(--line);
}
.foot-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.foot .noise-logo {
  width: 120px;
  height: auto;
}
.foot p {
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-2);
  max-width: 440px;
}
@media (min-width: 768px) {
  .foot-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  translate: -50% 0;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px 0 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lift);
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition-property: opacity, transform;
  transition-duration: 200ms;
  transition-timing-function: var(--ease-out);
}
.toast.on {
  opacity: 1;
  transform: translateY(0);
}
.toast .sw {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(127, 127, 127, 0.4);
}

/* ---------- Logo animation (copied from the app's globals.css) ---------- */

.logo-pop {
  transform-box: fill-box;
  transform-origin: center;
  animation: logo-pop 420ms cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
@keyframes logo-pop {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.logo-waves path {
  animation: logo-wave 1.2s ease-in-out infinite both;
}
@keyframes logo-wave {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}
.still .logo-waves path {
  animation: none;
  opacity: 1;
}
.still .logo-waves path + path {
  opacity: 0.55;
}

.logo-react {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.logo-react-bounce {
  animation: logo-bounce 950ms cubic-bezier(0.3, 0.7, 0.4, 1) both;
}
.logo-react-blush {
  transform-origin: 50% 90%;
  animation: logo-shy 1500ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
.logo-react-idea {
  transform-origin: 50% 90%;
  animation: logo-curious 1500ms cubic-bezier(0.3, 1.2, 0.4, 1) both;
}
@keyframes logo-curious {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  18% { transform: rotate(-9deg) translateY(-3%); }
  40% { transform: rotate(-7deg) translateY(-2%); }
  55% { transform: rotate(-8deg) translateY(-4%); }
  80% { transform: rotate(-3deg) translateY(-1%); }
}
.logo-react-groove {
  transform-origin: 50% 95%;
  animation: logo-groove 1600ms ease-in-out both;
}
.logo-react-sparkle {
  transform-origin: 50% 90%;
  animation: logo-perk 1200ms cubic-bezier(0.3, 1.5, 0.5, 1) both;
}
.logo-react-hearts {
  transform-origin: 50% 80%;
  animation: logo-swoon 1600ms ease-in-out both;
}
@keyframes logo-bounce {
  0% { transform: translateY(0) scale(1, 1); }
  14% { transform: translateY(0) scale(1.1, 0.88); }
  40% { transform: translateY(-22%) scale(0.94, 1.07); }
  62% { transform: translateY(0) scale(1.08, 0.92); }
  76% { transform: translateY(-6%) scale(0.98, 1.02); }
  90% { transform: translateY(0) scale(1.02, 0.98); }
  100% { transform: translateY(0) scale(1, 1); }
}
@keyframes logo-shy {
  0%, 100% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-8deg) scale(0.97); }
  70% { transform: rotate(-6deg) scale(0.98); }
}
@keyframes logo-thump {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.09); }
  30% { transform: scale(0.97); }
  44% { transform: scale(1.05); }
  60% { transform: scale(1); }
}
@keyframes logo-groove {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  12% { transform: rotate(-7deg) translateY(-2%); }
  25% { transform: rotate(0deg) translateY(1%); }
  37% { transform: rotate(7deg) translateY(-2%); }
  50% { transform: rotate(0deg) translateY(1%); }
  62% { transform: rotate(-7deg) translateY(-2%); }
  75% { transform: rotate(0deg) translateY(1%); }
  87% { transform: rotate(6deg) translateY(-1%); }
}
@keyframes logo-perk {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(6deg) translateY(-5%); }
  55% { transform: rotate(4deg) translateY(-3%); }
}
@keyframes logo-swoon {
  0%, 100% { transform: rotate(0deg) scale(1); }
  30% { transform: rotate(-4deg) scale(1.04); }
  60% { transform: rotate(4deg) scale(1.04); }
}

.fx-bulb,
.fx-rays,
.fx-blush,
.fx-ring,
.fx-note,
.fx-spark,
.fx-heart,
.fx-shadow {
  transform-box: fill-box;
  transform-origin: center;
}
.fx-blush { animation: fx-blush 1500ms ease-out both; }
.fx-bulb { transform-origin: 50% 100%; animation: fx-bulb 1500ms cubic-bezier(0.3, 1.5, 0.5, 1) both; }
.fx-bulb-lit { animation: fx-bulb-lit 1500ms steps(1, end) both; }
.fx-rays { animation: fx-rays 1500ms ease-out both; }
@keyframes fx-bulb {
  0% { opacity: 0; transform: translateY(30%) scale(0.2) rotate(-12deg); }
  22% { opacity: 1; transform: translateY(0) scale(1.08) rotate(4deg); }
  32% { transform: scale(1) rotate(0deg); }
  82% { opacity: 1; transform: translateY(-4%) scale(1); }
  100% { opacity: 0; transform: translateY(-30%) scale(0.9); }
}
@keyframes fx-bulb-lit {
  0%, 30% { opacity: 0; }
  34% { opacity: 1; }
  37% { opacity: 0.25; }
  41%, 100% { opacity: 1; }
}
@keyframes fx-rays {
  0%, 38% { opacity: 0; transform: scale(0.6); }
  48% { opacity: 1; transform: scale(1.12); }
  72% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); }
}
.fx-shadow { animation: fx-shadow 950ms cubic-bezier(0.3, 0.7, 0.4, 1) both; }
.fx-ring { animation: fx-ring 900ms cubic-bezier(0.1, 0.7, 0.3, 1) both; }
.fx-note { animation: fx-note 1300ms cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.fx-note-left { animation-name: fx-note-left; }
.fx-spark { animation: fx-spark 900ms cubic-bezier(0.3, 1.6, 0.5, 1) both; }
.fx-heart { animation: fx-heart 1400ms cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.fx-heart-right { animation-name: fx-heart-right; }
@keyframes fx-blush {
  0% { opacity: 0; transform: scale(0.4); }
  25% { opacity: 0.62; transform: scale(1); }
  75% { opacity: 0.58; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.9); }
}
@keyframes fx-shadow {
  0%, 100% { opacity: 0.14; transform: scaleX(1); }
  40% { opacity: 0.06; transform: scaleX(0.7); }
  62% { opacity: 0.16; transform: scaleX(1.06); }
}
@keyframes fx-ring {
  0% { opacity: 0.9; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(2.6); }
}
@keyframes fx-note {
  0% { opacity: 0; transform: translate(0, 20%) rotate(-10deg) scale(0.6); }
  20% { opacity: 1; transform: translate(10%, 0) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translate(60%, -180%) rotate(14deg) scale(0.9); }
}
@keyframes fx-note-left {
  0% { opacity: 0; transform: translate(0, 20%) rotate(10deg) scale(0.6); }
  20% { opacity: 1; transform: translate(-10%, 0) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translate(-60%, -170%) rotate(-14deg) scale(0.9); }
}
@keyframes fx-spark {
  0% { opacity: 0; transform: scale(0) rotate(-45deg); }
  45% { opacity: 1; transform: scale(1.1) rotate(10deg); }
  100% { opacity: 0; transform: scale(0.6) rotate(45deg); }
}
@keyframes fx-heart {
  0% { opacity: 0; transform: translate(0, 30%) scale(0.4); }
  18% { opacity: 1; transform: translate(-5%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-40%, -260%) scale(0.85); }
}
@keyframes fx-heart-right {
  0% { opacity: 0; transform: translate(0, 30%) scale(0.4); }
  18% { opacity: 1; transform: translate(5%, 0) scale(1); }
  100% { opacity: 0; transform: translate(40%, -250%) scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
  .logo-react,
  [class*="fx-"] {
    animation: none !important;
  }
  .fx-ring,
  .fx-note,
  .fx-spark,
  .fx-heart,
  .fx-shadow,
  .fx-rays {
    display: none;
  }
  .fx-blush {
    opacity: 0.5;
  }
}

/* ---------- Overrides: headings inside rows that style their paragraphs ---------- */

p.h4,
span.h4 {
  color: var(--ink);
  font-size: 15px;
  line-height: 20px;
}
.trait p.word {
  color: var(--ink);
}
.belief .bots p:first-child {
  color: var(--ink);
}
.belief .bots p.zero {
  color: var(--ink-2);
}
@media (min-width: 1024px) {
  .sidebar {
    box-shadow: none;
  }
  main {
    box-shadow: inset 1px 0 0 var(--line);
  }
}
.cr .lbl {
  color: var(--ink-2);
  font-weight: 600;
}

/* Hero headline: each line stays on one line and scales with its column. */
.hero-text {
  container-type: inline-size;
}
.hero h1 {
  white-space: nowrap;
  /* "Bring the noise." is the widest line: at 11.4cqi it fits its column, so it never runs into the mascot. */
  font-size: min(84px, 11.4cqi);
}
@media (min-width: 768px) {
  .hero h1 {
    font-size: min(84px, 11.4cqi);
  }
}
@media (max-width: 479px) {
  .hero .btn-lg {
    padding: 0 18px;
  }
  .trust-row .right {
    display: none;
  }
  .showcase .stagebox {
    padding: 20px 16px;
  }
}
.pair-art .noise-logo {
  max-width: 100%;
  height: auto;
}
.ratio {
  box-shadow: none;
  border: 1px solid var(--line);
}
.ratio div {
  min-width: 0;
  overflow: hidden;
}
.asset {
  box-shadow: none;
  border: 1px solid var(--line);
}
.buttons-demo figure:last-child {
  padding-top: 10px;
}

/* Closing tagline: the hero's line, once more, at the end of the book. */
.closer {
  padding: 96px 0 72px;
  border-top: 1px solid var(--line);
}
.closer-line {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-size: clamp(44px, 9vw, 96px);
  color: var(--ink);
  margin: 0;
}
.closer-line .accent {
  color: var(--coral-ink);
}
@media (min-width: 768px) {
  .closer {
    padding: 128px 0 96px;
  }
}
