/* Tool-style UI (aligned with demo.html). Theme tokens come from base.css via html[data-theme]. */

html[data-theme] body {
  font-size: 14px;
  line-height: 1.55;
}

/* Layout aligns with demo tool page */
.wrap {
  max-width: min(1360px, 100%);
  margin: 0 auto;
  padding: 12px 14px 26px;
}

/* Card style matches demo quote-section */
.card {
  border-radius: 10px;
  padding: 20px 22px 18px;
  margin-top: 0;
  margin-bottom: 20px;
}

/* Typography */
h1 {
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--ma1);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
p {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Form rows */
.row {
  gap: 10px;
  margin-top: 10px;
}
input {
  flex: 1 1 260px;
  min-width: 180px;
  max-width: 520px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  font-size: 14px;
}
input:focus {
  outline: none;
  border-color: var(--ma2);
}

/* Buttons */
a.btn,
button.btn {
  padding: 10px 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  font-size: 14px;
}
.btn.primary {
  border: none;
  background: linear-gradient(180deg, #1e5a8a 0%, #156090 100%);
  color: #fff;
}
a.btn:hover,
button.btn:hover {
  filter: brightness(1.04);
  border-color: var(--ma2);
}
.btn.primary:hover {
  filter: brightness(1.08);
}

/* Homepage pixel lighthouse art */
.hero-split {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px 18px;
}
.hero-copy {
  flex: 1 1 420px;
  min-width: 280px;
}
.hero-art {
  flex: 0 0 auto;
  width: min(560px, 100%);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel2);
  overflow: hidden;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) translateY(0px);
  transform-origin: 50% 40%;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}
.hero-art:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 18px 46px rgba(0,0,0,0.26);
  transform: perspective(900px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)) translateY(-2px);
}
.hero-art:hover .beam-boost {
  opacity: 1 !important;
}
.hero-art .beam-boost {
  opacity: 0;
  transition: opacity 180ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .hero-art [data-anim="1"] { display: none; }
  .hero-art { transition: none; transform: none; }
}

/* Hint/callout */
.hint {
  border-radius: 10px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  background: rgba(245, 158, 11, 0.10);
  color: var(--warn);
  font-size: 12px;
  line-height: 1.55;
}

/* Tables (invite list) */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th,
td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
th {
  color: var(--muted);
  font-weight: 600;
}

