:root {
  color-scheme: light;
  --ink: #121012;
  --panel: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  font-family: "Chakra Petch", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: #000;
  overflow: hidden;
}

canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  z-index: 0;
  pointer-events: none;
}

.toggle-ui {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 3;
  border: 1px solid rgba(18, 16, 18, 0.2);
  padding: 6px 12px;
  font-size: 12px;
  background: #ffffff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.chrome {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 18px;
}

.brand {
  position: absolute;
  top: 24px;
  left: 28px;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.ui-hidden .panel,
.ui-hidden .brand {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ui-hidden .chrome {
  pointer-events: none;
}

.panel,
.brand {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.panel {
  width: min(520px, 90vw);
  padding: 30px 32px 26px;
  background: var(--panel);
  border-radius: 24px;
  border: 1px solid rgba(18, 16, 18, 0.08);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 44px);
}

.subhead {
  margin: 0 0 22px;
  line-height: 1.5;
  font-size: 15px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

button {
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
}

button.primary {
  background: #111;
  color: #fff;
}

button.ghost {
  background: rgba(18, 16, 18, 0.12);
  color: var(--ink);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}


.status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.divider {
  width: 1px;
  height: 12px;
  background: rgba(18, 16, 18, 0.4);
}

@media (max-width: 640px) {
  .brand {
    position: static;
    margin-bottom: 16px;
  }

  .chrome {
    align-items: flex-start;
  }

  .panel {
    margin-top: 20px;
  }
}
