/* creator.fabrication.live — the night and gold of fabrication.live
 * (packages/live/src/styles.css), for creators. */

:root {
  --night: #0b0d14;
  --night-2: #121522;
  --night-3: #1a1e2e;
  --night-4: #232839;
  --ink: #efe7d6;
  --ink-dim: #a8a193;
  --ink-faint: #6f6b62;
  --gold: #d6b26a;
  --gold-deep: #b58c3c;
  --gold-soft: rgba(214, 178, 106, 0.14);
  --red: #c8473c;
  --green: #7fb08a;
  --line: rgba(239, 231, 214, 0.12);
  --line-strong: rgba(239, 231, 214, 0.22);
  --display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* the logo only, as on fabrication.live */
  --brand: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --read: "Literata", "Iowan Old Style", Georgia, serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --wide: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main {
  flex: 1;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
[hidden] {
  display: none !important;
}

/* film grain, very faint, as on fabrication.live */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

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

/* ---- type */
.kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.028em;
}
h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.012em;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--gold);
}
.lede {
  font-family: var(--read);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 40em;
  margin: 22px 0 0;
}
p {
  margin: 0 0 1em;
}
.muted {
  color: var(--ink-dim);
}
.faint {
  color: var(--ink-faint);
}
.small {
  font-size: 14px;
}

/* ---- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: none;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s, opacity 0.2s;
}
.btn.primary {
  color: #1a1408;
  background: linear-gradient(180deg, #f1d48d, var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 8px 30px -8px rgba(214, 178, 106, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 40px -8px rgba(214, 178, 106, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn.ghost {
  color: var(--ink);
  border-color: rgba(239, 231, 214, 0.28);
  background: rgba(11, 13, 20, 0.35);
}
.btn.ghost:hover {
  border-color: var(--ink);
}
.btn.small {
  min-height: 36px;
  padding: 0 16px;
  font-size: 14px;
}
.btn[disabled],
.btn.busy {
  opacity: 0.55;
  cursor: default;
  transform: none;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.link {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(214, 178, 106, 0.4);
  text-underline-offset: 3px;
}
.link:hover {
  text-decoration-color: var(--gold);
}

/* ---- top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 13, 20, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.topbar.scrolled {
  border-bottom-color: var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--brand);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.wordmark em {
  font-style: italic;
  color: var(--gold);
}
.wordmark svg {
  filter: drop-shadow(0 0 10px rgba(214, 178, 106, 0.55));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wordmark:hover svg {
  transform: rotate(45deg);
}
.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.nav a {
  text-decoration: none;
  color: var(--ink-dim);
  transition: color 0.2s;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover,
.nav a.on {
  color: var(--ink);
}
.nav a.on {
  border-bottom-color: var(--gold);
}
.topbar-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
}
.who .initial {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(214, 178, 106, 0.4);
  font-weight: 600;
  font-size: 13px;
}
.who:hover {
  color: var(--ink);
}

@media (max-width: 860px) {
  .topbar-inner {
    flex-wrap: wrap;
    gap: 0 16px;
    padding-top: 10px;
  }
  .nav {
    order: 3;
    width: 100%;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0 10px;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .nav a {
    white-space: nowrap;
  }
  .who .name {
    display: none;
  }
}
@media (max-width: 430px) {
  .nav {
    gap: 15px;
    font-size: 13.5px;
  }
  .topbar-inner {
    flex-wrap: wrap;
    column-gap: 10px;
  }
  .topbar .wordmark {
    font-size: 18px;
    gap: 8px;
  }
  .topbar .wordmark svg {
    width: 22px;
    height: 22px;
  }
  .topbar-end .btn.small {
    padding: 0 13px;
    min-height: 34px;
  }
}

/* ---- sections */
.section {
  padding: clamp(72px, 10vw, 130px) 0;
  position: relative;
}
.section.tight {
  padding: clamp(48px, 7vw, 80px) 0;
}
.section + .section {
  border-top: 1px solid var(--line);
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .lede {
  margin-left: auto;
  margin-right: auto;
}

/* ---- hero */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero::before {
  /* a warm glow behind the headline, like the light through Live's wood */
  content: "";
  position: absolute;
  width: 1100px;
  height: 700px;
  left: 50%;
  top: -260px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(214, 178, 106, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
}
.hero-text {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-text .lede {
  margin-left: auto;
  margin-right: auto;
}
.hero .btn-row {
  justify-content: center;
  margin-top: 34px;
}
.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-faint);
}
.phase-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(214, 178, 106, 0.35);
  background: rgba(214, 178, 106, 0.08);
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 26px;
}
.phase-chip b {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1408;
  background: var(--gold);
  border-radius: 999px;
  padding: 3px 9px;
}
.hero-shot {
  margin: clamp(48px, 7vw, 84px) auto 0;
  max-width: 1120px;
}

/* ---- a screenshot in a window */
.shot {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--night-2);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 40px 120px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 0 80px -30px rgba(214, 178, 106, 0.25);
}
.shot::before {
  content: "";
  display: block;
  height: 26px;
  background:
    radial-gradient(circle at 16px 13px, #ff5f57 5px, transparent 5.5px),
    radial-gradient(circle at 34px 13px, #febc2e 5px, transparent 5.5px),
    radial-gradient(circle at 52px 13px, #28c840 5px, transparent 5.5px),
    linear-gradient(#2a2d38, #23262f);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}
.shot.live::before {
  background:
    radial-gradient(circle at 16px 13px, #ff5f57 5px, transparent 5.5px),
    radial-gradient(circle at 34px 13px, #febc2e 5px, transparent 5.5px),
    radial-gradient(circle at 52px 13px, #28c840 5px, transparent 5.5px),
    linear-gradient(#1b1e29, #15171f);
}
.shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}
.shot figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 12px;
  color: var(--ink);
  background: rgba(11, 13, 20, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  backdrop-filter: blur(6px);
}

/* ---- the big idea */
.idea {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.idea-card {
  padding: 30px 28px 32px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
}
.idea-card .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}
.idea-card .num:empty {
  display: none;
}
.idea-card p {
  color: var(--ink-dim);
  margin: 12px 0 0;
}
@media (max-width: 860px) {
  .idea {
    grid-template-columns: 1fr;
  }
}

.formats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 46px;
}
.formats span {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}

/* ---- the phases */
.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  counter-reset: phase;
}
.phase {
  position: relative;
  padding: 44px 28px 8px 0;
}
.phase::before {
  /* the line through the phases */
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line-strong);
}
.phase.now::before {
  background: linear-gradient(90deg, var(--gold), var(--gold) 70%, var(--line-strong));
}
.phase .dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--night);
}
.phase.now .dot {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(214, 178, 106, 0.18), 0 0 30px rgba(214, 178, 106, 0.6);
}
.phase.wip .dot {
  border-color: var(--gold);
  background: linear-gradient(90deg, var(--gold) 50%, var(--night) 50%);
}
.phase .when {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.phase.later .when {
  color: var(--ink-faint);
}
.phase h3 {
  margin: 8px 0 10px;
}
.phase p {
  color: var(--ink-dim);
  font-size: 15px;
}
@media (max-width: 860px) {
  .phases {
    grid-template-columns: 1fr;
  }
  .phase {
    padding: 0 0 34px 40px;
  }
  .phase::before {
    top: 0;
    bottom: 0;
    left: 9px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .phase.now::before {
    background: linear-gradient(180deg, var(--gold), var(--line-strong));
  }
}

/* ---- feature rows */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.feature + .feature {
  margin-top: clamp(72px, 9vw, 120px);
}
.feature.flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.feature.flip .feature-text {
  order: 2;
}
.feature-text h3 {
  font-size: clamp(24px, 2.3vw, 30px);
  margin-bottom: 16px;
}
.feature-text p {
  color: var(--ink-dim);
}
.feature-text ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.feature-text li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: var(--ink-dim);
  font-size: 15px;
}
.feature-text li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 11px;
  line-height: 24px;
}
.feature-text .btn-row {
  margin-top: 22px;
}
@media (max-width: 860px) {
  .feature,
  .feature.flip {
    grid-template-columns: 1fr;
  }
  .feature.flip .feature-text {
    order: 0;
  }
}

/* ---- principles */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.principle {
  background: var(--night);
  padding: 32px 28px;
}
.principle h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.principle p {
  color: var(--ink-dim);
  font-size: 15px;
  margin: 0;
}
@media (max-width: 860px) {
  .principles {
    grid-template-columns: 1fr;
  }
}

/* ---- the Live preview */
.live-band {
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(200, 71, 60, 0.12), transparent 70%),
    radial-gradient(800px 500px at 10% 100%, rgba(214, 178, 106, 0.08), transparent 70%),
    var(--night);
}
.live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.live-grid .shot img {
  aspect-ratio: 16 / 10;
}
.live-grid .caption {
  margin: 14px 2px 0;
  color: var(--ink-dim);
  font-size: 15px;
}
.live-grid .caption b {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 760px) {
  .live-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- call to action */
.cta {
  text-align: center;
  padding: clamp(64px, 9vw, 110px) var(--gutter);
  border-radius: 24px;
  border: 1px solid rgba(214, 178, 106, 0.3);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(214, 178, 106, 0.18), transparent 70%),
    var(--night-2);
}
.cta .lede {
  margin-left: auto;
  margin-right: auto;
}
.cta .btn-row {
  justify-content: center;
  margin-top: 30px;
}
.cta .app-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 26px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6));
}

/* ---- page heads (inner pages) */
.page-head {
  padding: clamp(48px, 7vw, 90px) 0 clamp(30px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 500px;
  left: 50%;
  top: -260px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(214, 178, 106, 0.12), transparent 70%);
  pointer-events: none;
}
.page-head h1 {
  font-size: clamp(34px, 4.6vw, 54px);
}

/* ---- roadmap page */
.road {
  display: grid;
  gap: 22px;
}
.road-phase {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  padding: 34px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--night-2);
}
.road-phase.now {
  border-color: rgba(214, 178, 106, 0.45);
  background: linear-gradient(180deg, rgba(214, 178, 106, 0.08), rgba(214, 178, 106, 0.02)), var(--night-2);
}
.road-phase .status {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
}
.road-phase.now .status {
  color: #1a1408;
  background: var(--gold);
  border-color: var(--gold);
}
.road-phase.wip .status {
  color: var(--gold);
  border-color: rgba(214, 178, 106, 0.5);
}
.road-phase h2 {
  font-size: clamp(24px, 2.5vw, 30px);
  margin-bottom: 10px;
}
.road-phase .lede {
  margin-top: 0;
  font-size: 17px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
}
.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--ink-dim);
}
.ticks li b {
  color: var(--ink);
  font-weight: 600;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
}
.ticks li.done::before {
  border-color: var(--gold);
  background: var(--gold) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3.5 7.2l2.3 2.3 4.7-5' fill='none' stroke='%231a1408' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 14px no-repeat;
}
.ticks li.part::before {
  border-color: var(--gold);
  background: linear-gradient(90deg, var(--gold) 50%, transparent 50%);
}
@media (max-width: 860px) {
  .road-phase {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 26px 22px;
  }
  .ticks {
    grid-template-columns: 1fr;
  }
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-faint);
}
.legend .ticks {
  display: flex;
  gap: 8px 22px;
  margin: 0;
}
.legend .ticks li {
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---- cards and panels */
.card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--night-2);
  padding: clamp(22px, 3vw, 34px);
}
.card + .card {
  margin-top: 22px;
}
.card h2 {
  font-size: 28px;
  margin-bottom: 8px;
}
.card h3 {
  margin-bottom: 8px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.grid-2 .card + .card {
  margin-top: 0;
}
@media (max-width: 860px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
.notice {
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(214, 178, 106, 0.35);
  background: rgba(214, 178, 106, 0.08);
  font-size: 15px;
  color: var(--ink);
}
.notice.error {
  border-color: rgba(200, 71, 60, 0.5);
  background: rgba(200, 71, 60, 0.12);
}
.notice.ok {
  border-color: rgba(127, 176, 138, 0.5);
  background: rgba(127, 176, 138, 0.1);
}

/* ---- download */
h3.spaced {
  margin-top: 26px;
  margin-bottom: 8px;
}
.card h3 {
  margin-bottom: 14px;
}
.installers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.installer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--night-3);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.25s;
}
.installer:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.installer.suggested {
  border-color: rgba(214, 178, 106, 0.6);
  box-shadow: 0 0 0 1px rgba(214, 178, 106, 0.3), 0 16px 50px -20px rgba(214, 178, 106, 0.5);
}
.installer .chip {
  font-size: 15px;
  font-weight: 600;
}
.installer .detail {
  font-size: 13px;
  color: var(--ink-dim);
}
.installer .go {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
}
.installer .tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1408;
  background: var(--gold);
  border-radius: 999px;
  padding: 2px 8px;
}
@media (max-width: 640px) {
  .installers {
    grid-template-columns: 1fr;
  }
}
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 44px;
  color: var(--ink-dim);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--gold);
  border: 1px solid rgba(214, 178, 106, 0.45);
}
.steps li b {
  color: var(--ink);
  font-weight: 600;
}
.plain-list {
  padding-left: 20px;
  color: var(--ink-dim);
  margin: 0;
}
.plain-list li {
  margin-bottom: 8px;
}
.plain-list b {
  color: var(--ink);
  font-weight: 600;
}

/* ---- forms */
.form {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
}
.field > span,
.field legend {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.field small {
  font-size: 13px;
  color: var(--ink-faint);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--night);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.55;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 178, 106, 0.2);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23a8a193' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
@media (max-width: 640px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-dim);
}
.check input {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
}
.kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
}
.kinds legend {
  margin-bottom: 8px;
}
.kinds label {
  position: relative;
}
.kinds input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.kinds span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  color: var(--ink-dim);
  transition: all 0.15s;
}
.kinds input:checked + span {
  color: #1a1408;
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
}
.kinds input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.form-msg {
  min-height: 1px;
}
.tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--night);
  margin-bottom: 22px;
}
.tabs button {
  border: 0;
  background: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-dim);
  cursor: pointer;
}
.tabs button.on {
  background: var(--night-4);
  color: var(--ink);
}

/* ---- feedback lists */
.items {
  display: grid;
  gap: 12px;
}
.item {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--night);
  padding: 16px 18px;
}
.item-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}
.item-title {
  font-weight: 600;
  margin-right: auto;
}
.item-meta {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 4px;
}
.item-body {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-dim);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.item-reply {
  margin-top: 12px;
  padding: 10px 14px;
  border-left: 2px solid var(--gold);
  background: rgba(214, 178, 106, 0.06);
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  white-space: pre-wrap;
}
.item-reply b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
}
.pill.bug {
  border-color: rgba(200, 71, 60, 0.6);
  color: #e98a80;
}
.pill.idea {
  border-color: rgba(214, 178, 106, 0.6);
  color: var(--gold);
}
.pill.question {
  border-color: rgba(127, 160, 210, 0.6);
  color: #9db8e3;
}
.pill.feature {
  border-color: rgba(127, 160, 210, 0.6);
  color: #9db8e3;
}
.pill.usability {
  border-color: rgba(127, 176, 138, 0.6);
  color: var(--green);
}
.pill.praise {
  border-color: rgba(127, 176, 138, 0.6);
  color: var(--green);
}
.pill.status-new {
  color: #1a1408;
  background: var(--gold);
  border-color: var(--gold);
}
.pill.status-fixed {
  color: #0d1a10;
  background: var(--green);
  border-color: var(--green);
}
.empty {
  padding: 26px;
  text-align: center;
  color: var(--ink-faint);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
}

/* ---- the NPS question */
.nps {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.nps legend {
  margin-bottom: 10px;
  line-height: 1.45;
}
.nps-scale {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 6px;
}
.nps-scale label {
  position: relative;
}
.nps-scale input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.nps-scale span {
  display: grid;
  place-items: center;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--night);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-dim);
  transition: all 0.15s;
}
.nps-scale label:hover span {
  border-color: var(--gold);
  color: var(--ink);
}
.nps-scale input:checked + span {
  color: #1a1408;
  background: var(--gold);
  border-color: var(--gold);
}
.nps-scale input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.nps-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-faint);
}
.nps-clear {
  justify-self: start;
  margin-top: 4px;
}
@media (max-width: 520px) {
  .nps-scale {
    gap: 3px;
  }
  .nps-scale span {
    height: 38px;
    border-radius: 7px;
    font-size: 13px;
  }
}
.item-nps {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-dim);
}
.item-nps b {
  color: var(--ink);
  font-weight: 600;
}

/* ---- admin */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.stat {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--night-2);
  padding: 18px 20px;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.1;
}
.stat span {
  font-size: 13px;
  color: var(--ink-dim);
}
@media (max-width: 760px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: var(--night-2);
  white-space: nowrap;
}
tr:last-child td {
  border-bottom: 0;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}
.admin-actions select,
.admin-actions textarea {
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--night-2);
  padding: 7px 10px;
  font-size: 14px;
}
.admin-actions textarea {
  flex: 1 1 320px;
  min-height: 40px;
}
.copyable {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  word-break: break-all;
  background: var(--night);
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 8px;
  margin-top: 8px;
}

/* ---- docs */
.docs {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: 90px;
}
.docs-nav {
  position: sticky;
  top: 92px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  font-size: 14px;
}
.docs-nav h4 {
  margin: 22px 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.docs-nav h4:first-child {
  margin-top: 0;
}
.docs-nav a {
  display: block;
  padding: 6px 12px;
  margin-left: -12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink-dim);
}
.docs-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}
.docs-nav a.on {
  color: var(--ink);
  background: var(--gold-soft);
  box-shadow: inset 2px 0 0 var(--gold);
}
.docs-nav-toggle {
  display: none;
}
@media (max-width: 900px) {
  .docs {
    grid-template-columns: 1fr;
  }
  .docs-nav {
    position: static;
    max-height: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0;
  }
  .docs-nav summary {
    list-style: none;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
  }
  .docs-nav summary::after {
    content: "▾";
    color: var(--ink-faint);
  }
  .docs-nav details[open] summary::after {
    content: "▴";
  }
  .docs-nav .docs-links {
    padding: 0 16px 14px 28px;
  }
}
@media (min-width: 901px) {
  .docs-nav summary {
    display: none;
  }
}
.doc {
  max-width: 760px;
  min-width: 0;
}
.doc .kicker {
  margin-bottom: 10px;
}
.doc h1 {
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 18px;
}
.doc > .lede {
  margin: 0 0 34px;
}
.doc h2 {
  font-size: 24px;
  margin: 48px 0 14px;
  scroll-margin-top: 90px;
}
.doc h3 {
  font-size: 18px;
  margin: 30px 0 10px;
  scroll-margin-top: 90px;
}
.doc p,
.doc li {
  font-family: var(--read);
  font-size: 17px;
  line-height: 1.7;
  color: #ddd5c4;
}
.doc ul,
.doc ol {
  padding-left: 22px;
  margin: 0 0 1.1em;
}
.doc li {
  margin-bottom: 6px;
}
.doc li::marker {
  color: var(--gold);
}
.doc strong {
  color: var(--ink);
  font-weight: 600;
}
.doc p.caps {
  font-family: var(--ui);
  font-size: 14px;
  line-height: 1.65;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.doc kbd {
  font-family: var(--ui);
  font-size: 13px;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  background: var(--night-2);
  color: var(--ink);
  white-space: nowrap;
}
.doc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--night-3);
  color: var(--ink);
}
.doc .ui {
  font-family: var(--ui);
  font-size: 0.9em;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.doc .shot {
  margin: 26px 0 30px;
}
.doc .tip {
  margin: 22px 0;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(214, 178, 106, 0.35);
  background: rgba(214, 178, 106, 0.07);
}
.doc .tip p {
  font-family: var(--ui);
  font-size: 15px;
  margin: 0;
  color: var(--ink);
}
.doc .tip.warn {
  border-color: rgba(200, 71, 60, 0.45);
  background: rgba(200, 71, 60, 0.08);
}
.doc table {
  margin: 10px 0 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.doc td,
.doc th {
  font-size: 15px;
}
.doc-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.doc-pager a {
  text-decoration: none;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  min-width: 0;
}
.doc-pager a:hover {
  border-color: var(--gold);
}
.doc-pager small {
  font-size: 12px;
  color: var(--ink-faint);
}
.doc-pager span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
}
.doc-pager .next {
  text-align: right;
  margin-left: auto;
}
.doc-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}
.doc-index a {
  display: block;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--night-2);
  text-decoration: none;
  transition: border-color 0.2s;
}
.doc-index a:hover {
  border-color: var(--gold);
}
.doc-index b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
}
.doc-index span {
  font-size: 14px;
  color: var(--ink-dim);
}
@media (max-width: 640px) {
  .doc-index {
    grid-template-columns: 1fr;
  }
}

/* ---- footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 46px;
  font-size: 14px;
  color: var(--ink-faint);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: center;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer a {
  text-decoration: none;
  color: var(--ink-dim);
}
.footer a:hover {
  color: var(--ink);
}
.footer .end {
  margin-left: auto;
}
@media (max-width: 640px) {
  .footer .end {
    margin-left: 0;
  }
}

/* ---- gentle entrances */
@media (prefers-reduced-motion: no-preference) {
  .js .rise {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .js .rise.in {
    opacity: 1;
    transform: none;
  }
}

.spaced-top {
  margin-top: 30px;
}
.page-head + .section.tight {
  padding-top: 0;
}
.field.inline select {
  min-height: 40px;
}
