/*
 * Velvet Frames: landing and waitlist pages.
 *
 * One stylesheet and no build step: edit it and upload it. The layout busts
 * caches with the file's modification time.
 *
 * Palette: velvet #1e0020, magenta #a51d98, orchid #e2aedd
 * (https://coolors.co/1e0020-a51d98-e2aedd). White on the button gradient
 * (#b8259f-#7e1574) stays above 5.5:1; text never sits on bare magenta.
 */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --velvet: #1e0020;
  --magenta: #a51d98;
  --orchid: #e2aedd;

  --canvas: var(--velvet);
  --canvas-deep: #130015;
  --raised: #2a0a2c;
  --line: rgba(226, 174, 221, 0.12);
  --line-strong: rgba(226, 174, 221, 0.22);
  --fg: #fdf4fb;
  --fg-muted: #d6c1d2;
  --fg-subtle: #a88fa4;
  --danger: #ffb3c7;
  --success: #8ee6c0;

  --button: linear-gradient(135deg, #b8259f 0%, var(--magenta) 45%, #7e1574 100%);
  --ink: linear-gradient(100deg, #f8e1f4 0%, var(--orchid) 40%, #cf63c3 100%);

  --radius: 14px;
  --radius-lg: 24px;
  --maxw: 1160px;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
  overflow-x: clip;
}

a {
  color: var(--orchid);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--fg);
}

:focus-visible {
  outline: 2px solid var(--orchid);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--raised);
  color: var(--fg);
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 720px) {
  .wrap {
    padding-inline: 2rem;
  }
}

/* --- Backdrop: velvet folds, grain and slow light ------------------------- */

.velvet {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -20%, rgba(165, 29, 152, 0.4), transparent 60%),
    radial-gradient(90% 60% at 50% 125%, rgba(90, 8, 84, 0.6), transparent 70%),
    var(--canvas);
}

/* Two stripe patterns out of step with each other read as fabric, not a grid. */
.velvet::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 90vh;
  background:
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(0, 0, 0, 0.3) 62px, rgba(226, 174, 221, 0.04) 88px, transparent 118px),
    repeating-linear-gradient(90deg, transparent 0 71px, rgba(0, 0, 0, 0.2) 115px, rgba(226, 174, 221, 0.035) 150px, transparent 190px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
}

.velvet::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: 0.08;
  mix-blend-mode: overlay;
}

.glow {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  animation: drift 26s ease-in-out infinite alternate;
}

.glow-pink {
  width: 52vmax;
  height: 52vmax;
  left: -18vmax;
  top: -22vmax;
  background: radial-gradient(circle, rgba(165, 29, 152, 0.45), transparent 65%);
}

.glow-purple {
  width: 46vmax;
  height: 46vmax;
  right: -18vmax;
  top: 8vh;
  background: radial-gradient(circle, rgba(226, 174, 221, 0.16), transparent 65%);
  animation-duration: 32s;
  animation-direction: alternate-reverse;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(7vmax, 5vmax, 0) scale(1.14);
  }
}

/* --- Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(30, 0, 32, 0.74);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.wordmark:hover {
  color: var(--fg);
}

.wordmark img {
  width: 32px;
  height: 32px;
}

.wordmark em,
.display em,
.step-numeral {
  font-style: italic;
  background: var(--ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wordmark em {
  padding-right: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a:not(.btn) {
  color: var(--fg-muted);
  font-size: 0.9375rem;
  text-decoration: none;
}

.site-nav a:not(.btn):hover {
  color: var(--fg);
}

@media (max-width: 560px) {
  .site-nav a:not(.btn) {
    display: none;
  }
}

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

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Italic glyphs overhang their box; without the padding the gradient clips them. */
.display em {
  padding-right: 0.08em;
  font-weight: 350;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--orchid);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.subtle {
  color: var(--fg-subtle);
  font-size: 0.875rem;
}

/* --- Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(226, 174, 221, 0.08);
  color: var(--fg);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn-primary,
.btn-small {
  background: var(--button);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(165, 29, 152, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover,
.btn-small:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 38px -12px rgba(165, 29, 152, 1), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(226, 174, 221, 0.08);
  color: var(--fg);
}

.btn-small {
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

.hero {
  display: grid;
  gap: 3.5rem;
  align-items: center;
  padding-block: clamp(2.75rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 4.5rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(226, 174, 221, 0.05);
  color: var(--fg-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orchid);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(226, 174, 221, 0.55);
  }

  70%,
  100% {
    box-shadow: 0 0 0 9px rgba(226, 174, 221, 0);
  }
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
}

/* One sentence per line: "Show your art." / "Grow your fans." / "Get paid." */
.hero h1 > span,
.hero h1 > em {
  display: block;
}

.lede {
  max-width: 34rem;
  margin: 0;
  color: var(--fg-muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.65;
}

.hero-note {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--fg-subtle);
  font-size: 0.875rem;
}

/* Small screens: one wrapping line. Wider: one row, sized to the words, with dividers. */
.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  max-width: 34rem;
  margin: 2.5rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.pillars li {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.2;
}

.pillars li::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 2px;
  margin-bottom: 0.75rem;
  border-radius: 2px;
  background: var(--ink);
}

@media (min-width: 560px) {
  .pillars {
    flex-wrap: nowrap;
    gap: 0;
  }

  .pillars li {
    padding-right: 1.75rem;
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  }

  .pillars li + li {
    padding-left: 1.75rem;
    border-left: 1px solid var(--line);
  }
}

/* --- Signup form and the frames hanging behind it --------------------------- */

.hero-form {
  position: relative;
  scroll-margin-top: 96px;
}

.frame-stack {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hanging-frame {
  position: absolute;
  border-radius: 6px;
  border: 1px solid rgba(226, 174, 221, 0.35);
  box-shadow:
    inset 0 0 0 12px rgba(19, 0, 21, 0.94),
    inset 0 0 0 13px rgba(226, 174, 221, 0.28),
    0 30px 60px -22px rgba(0, 0, 0, 0.85);
}

.hanging-frame-back {
  top: -7%;
  right: -7%;
  width: 60%;
  aspect-ratio: 3 / 4;
  transform: rotate(6deg);
  background:
    radial-gradient(circle at 32% 30%, rgba(226, 174, 221, 0.85), transparent 46%),
    radial-gradient(circle at 70% 66%, rgba(165, 29, 152, 0.95), transparent 52%),
    linear-gradient(160deg, #4a0744, var(--velvet));
  opacity: 0.6;
}

.hanging-frame-front {
  bottom: -9%;
  left: -8%;
  width: 46%;
  aspect-ratio: 1;
  transform: rotate(-7deg);
  background: conic-gradient(from 210deg at 60% 42%, var(--magenta), var(--orchid), #4a0744, #cf63c3, var(--magenta));
  opacity: 0.5;
}

@media (max-width: 959px) {
  .hanging-frame-back {
    top: -5%;
    right: -2%;
    width: 52%;
  }

  .hanging-frame-front {
    display: none;
  }
}

.form-card {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.35rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(50, 12, 52, 0.95), rgba(32, 2, 35, 0.97));
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.form-card::before {
  content: "";
  position: absolute;
  inset: -1px 16% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--magenta), var(--orchid), transparent);
}

.form-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.form-lede {
  margin: 0 0 1.5rem;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

.form-error {
  margin: 0 0 1.1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 150, 180, 0.35);
  border-radius: 10px;
  background: rgba(255, 110, 150, 0.1);
  color: var(--danger);
  font-size: 0.875rem;
}

.field {
  min-width: 0;
  margin: 0 0 1.1rem;
  padding: 0;
  border: 0;
}

.field > label,
.field > legend {
  display: block;
  margin-bottom: 0.4rem;
  padding: 0;
  color: #f1e3ee;
  font-size: 0.875rem;
  font-weight: 500;
}

.optional {
  color: var(--fg-subtle);
  font-weight: 400;
}

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(14, 0, 16, 0.6);
  color: var(--fg);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
  min-height: 5.5rem;
  resize: vertical;
  line-height: 1.5;
}

input::placeholder,
textarea::placeholder {
  color: var(--fg-subtle);
}

input[type="email"]:focus-visible,
input[type="text"]:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--orchid);
  box-shadow: 0 0 0 3px rgba(226, 174, 221, 0.2);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.3rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(14, 0, 16, 0.6);
}

.segmented label {
  position: relative;
}

.segmented input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.segmented span {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  color: var(--fg-muted);
  font-size: 0.9375rem;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.segmented input:checked + span {
  background: var(--button);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 18px -8px rgba(165, 29, 152, 0.9);
}

.segmented input:focus-visible + span {
  outline: 2px solid var(--orchid);
  outline-offset: 2px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.3rem 0 1.4rem;
  color: var(--fg-muted);
  font-size: 0.875rem;
  cursor: pointer;
}

.consent input {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  accent-color: var(--magenta);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 1rem 0 0;
  color: var(--fg-subtle);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.form-success p {
  color: var(--fg-muted);
}

.form-success strong {
  color: var(--fg);
  word-break: break-all;
}

.form-success:focus {
  outline: none;
}

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

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  scroll-margin-top: 68px;
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head .display {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
}

.section-lede {
  margin: 0;
  color: var(--fg-muted);
  font-size: 1.0625rem;
}

/* --- Placards: three framed pieces with their museum labels ------------------ */

.placards {
  display: grid;
  gap: 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .placards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.placard-frame {
  margin-bottom: 1.4rem;
  padding: 12px;
  border: 1px solid rgba(226, 174, 221, 0.28);
  border-radius: 4px;
  background: linear-gradient(145deg, #3a0f3d, #1a001c 55%, #2c0a2f);
  box-shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.95);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.placard:hover .placard-frame {
  transform: translateY(-4px) rotate(-0.6deg);
  box-shadow: 0 34px 60px -26px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(226, 174, 221, 0.25);
}

/* The inner bevel is the mat board between frame and artwork. */
.placard-art {
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  box-shadow: inset 0 0 0 10px #2b0b2e, inset 0 0 0 11px rgba(226, 174, 221, 0.22);
}

/* No. 01: one artwork, cut into an orderly gallery wall. */
.placard-art-gallery {
  background:
    repeating-linear-gradient(90deg, transparent 0 22%, #2b0b2e 22% 26%),
    repeating-linear-gradient(180deg, transparent 0 30%, #2b0b2e 30% 35%),
    radial-gradient(60% 80% at 30% 25%, rgba(253, 244, 251, 0.35), transparent 60%),
    linear-gradient(135deg, var(--orchid) 0%, var(--magenta) 55%, #4a0744 100%);
}

/* No. 02: the published policy, with one flagged line and its reply. */
.placard-art-policy {
  background:
    linear-gradient(var(--magenta), var(--magenta)) 32% 54% / 40% 6% no-repeat,
    linear-gradient(var(--orchid), var(--orchid)) 66% 74% / 26% 6% no-repeat,
    repeating-linear-gradient(180deg, transparent 0 13px, rgba(226, 174, 221, 0.32) 13px 15px) 50% 48% / 56% 64% no-repeat,
    linear-gradient(rgba(226, 174, 221, 0.07), rgba(226, 174, 221, 0.07)) 50% 50% / 66% 80% no-repeat,
    #1a001c;
}

/* No. 03: three styles overlapping in one feed. */
.placard-art-feed {
  background:
    radial-gradient(24% 32% at 40% 42%, rgba(165, 29, 152, 0.9) 96%, transparent 100%),
    radial-gradient(24% 32% at 60% 42%, rgba(226, 174, 221, 0.75) 96%, transparent 100%),
    radial-gradient(24% 32% at 50% 64%, rgba(122, 42, 143, 0.9) 96%, transparent 100%),
    #1a001c;
  background-blend-mode: screen, screen, screen, normal;
}

.placard-no {
  margin: 0 0 0.35rem;
  color: var(--orchid);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
}

.placard h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.placard p:last-child {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

/* --- Steps ------------------------------------------------------------------ */

.steps {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  list-style: none;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: rgba(26, 0, 28, 0.92);
}

.step-numeral {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

/* --- Closing call to action ------------------------------------------------- */

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-block: 0.5rem clamp(4rem, 8vw, 6rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(165, 29, 152, 0.35), transparent 60%),
    radial-gradient(70% 120% at 100% 100%, rgba(226, 174, 221, 0.14), transparent 60%),
    rgba(32, 2, 35, 0.92);
}

.cta-band .display {
  max-width: 20ch;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

/* --- Single-message pages (confirmation, unsubscribe, errors) --------------- */

.narrow {
  max-width: 42rem;
  padding-block: clamp(3rem, 10vw, 7rem);
}

.panel {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(50, 12, 52, 0.95), rgba(32, 2, 35, 0.97));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85);
}

.panel .display {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
}

.panel p {
  margin: 0 0 0.75rem;
  color: var(--fg-muted);
}

.panel strong {
  color: var(--fg);
  font-weight: 600;
  word-break: break-all;
}

.panel-ok {
  border-color: rgba(142, 230, 192, 0.35);
}

.panel-ok .kicker {
  color: var(--success);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

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

.site-footer {
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--line);
  background: rgba(19, 0, 21, 0.7);
}

.site-footer-inner {
  display: grid;
  gap: 1rem;
}

.wordmark-quiet {
  font-size: 1.1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  color: var(--fg-muted);
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--fg);
  text-decoration: underline;
}

.footer-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin: 0.5rem 0 0;
  color: var(--fg-subtle);
  font-size: 0.8125rem;
}

@media (min-width: 760px) {
  .site-footer-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .footer-nav {
    justify-content: flex-end;
  }

  .footer-note {
    grid-column: 1 / -1;
  }
}

/* --- Entrance --------------------------------------------------------------- */

/* Movement only, no fade: if the animation never runs (a crawler, a link
   preview, a stalled tab), the content is still there to read. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .hero-form {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 0.08s;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero-copy > :nth-child(n + 4) {
    animation-delay: 0.24s;
  }

  .hero-form {
    animation-delay: 0.2s;
  }
}

@keyframes rise {
  from {
    transform: translateY(20px);
  }

  to {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .glow,
  .pulse,
  .spinner {
    animation: none;
  }

  .placard-frame,
  .btn {
    transition: none;
  }
}
