@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");
:root {
  --ink: #173e34;
  --accent: #28684e;
  --paper: #f7f6ef;
  --line: #dce1d7;
  --muted: #53675f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.button {
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  padding: 13px 19px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.notice {
  background: #e4eddd;
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.top {
  max-width: 1200px;
  margin: auto;
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font:
    700 26px "Space Grotesk",
    sans-serif;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}
.top nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
}
.wrap {
  max-width: 1200px;
  margin: auto;
  padding: 40px 30px 80px;
}
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  margin: 12px 0 22px;
}
h2 {
  font-size: 28px;
  margin: 0 0 20px;
}
h3 {
  font-size: 21px;
  margin: 0 0 12px;
}
p {
  line-height: 1.6;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.muted {
  color: var(--muted);
}
.hero {
  padding: 25px 0 42px;
  max-width: 740px;
}
.hero p {
  max-width: 590px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 24px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stack {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}
.field small {
  font-weight: 400;
  color: var(--muted);
}
input,
textarea,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #bac7bd;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  padding: 12px;
}
input[type="checkbox"],
input[type="radio"] {
  width: auto;
}
input[type="checkbox"] {
  margin-right: 7px;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
label.check {
  display: flex;
  align-items: center;
  font-size: 14px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.plan {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: white;
}
.plan:has(input:checked) {
  border: 2px solid var(--ink);
  padding: 21px;
  background: #edf4e8;
}
.plan strong {
  font-size: 24px;
  display: block;
  margin: 16px 0 7px;
}
.plan small {
  display: block;
  line-height: 1.6;
}
.pill {
  font-size: 12px;
  background: #e7eedf;
  padding: 5px 9px;
  border-radius: 20px;
}
.steps {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
}
.steps strong {
  color: var(--ink);
}
.message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 18px 0;
}
.message:empty {
  display: none;
}
.message:not(:empty) {
  padding: 14px;
  border-radius: 8px;
  background: #e7eedf;
}
.error:not(:empty) {
  background: #ffe9e0;
  color: #78331f;
}
.dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 20px;
}
.workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 35px;
}
.side {
  position: sticky;
  top: 20px;
  align-self: start;
}
.side a {
  display: block;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.side select {
  margin: 15px 0;
}
.metrics {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  padding: 5px 0 25px;
}
.metric strong {
  display: block;
  font:
    600 35px "Space Grotesk",
    sans-serif;
}
.metric span {
  font-size: 13px;
  color: var(--muted);
}
.scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th,
td {
  padding: 13px 8px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
td {
  max-width: 230px;
  overflow-wrap: anywhere;
}
code {
  overflow-wrap: anywhere;
}
.event-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}
.event-card:hover {
  transform: translateY(-4px);
}
.art {
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  font:
    600 50px "Space Grotesk",
    sans-serif;
  overflow: hidden;
}
.art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-content {
  padding: 24px;
  flex: 1;
}
.card-content h2 {
  font-size: 27px;
  margin: 12px 0;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
  font-size: 14px;
}
.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 35px;
}
.event-layout .art {
  border-radius: 14px;
  margin-bottom: 25px;
}
.event-description {
  white-space: pre-wrap;
}
.buy {
  position: sticky;
  top: 20px;
  align-self: start;
}
.buy h2 {
  font-size: 30px;
}
.total {
  display: flex;
  justify-content: space-between;
  font-size: 22px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.foot {
  max-width: 1140px;
  margin: 0 auto;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
body[data-color="violet"] {
  --accent: #695390;
}
body[data-color="coral"] {
  --accent: #b8583e;
}
body[data-color="blue"] {
  --accent: #366e91;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #e29d4f;
  outline-offset: 3px;
}
@media (max-width: 780px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .two,
  .workspace,
  .event-layout {
    grid-template-columns: 1fr;
  }
  .side,
  .buy {
    position: static;
  }
  .side {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }
  .side select {
    width: 100%;
    margin: 0;
  }
  .wrap {
    padding: 25px 18px 50px;
  }
  .top {
    padding: 20px 18px;
  }
  .top nav {
    gap: 12px;
  }
  .dashboard-head {
    display: block;
  }
  .panel {
    padding: 20px;
  }
  .foot {
    margin: 0 18px;
  }
  .steps {
    gap: 15px;
  }
  .hero {
    padding: 12px 0 25px;
  }
  .grid.plans {
    gap: 12px;
  }
  .plan strong {
    margin-top: 8px;
  }
  .top .brand {
    font-size: 22px;
  }
}
#tickets canvas {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 10px 0;
}
#tickets .download {
  display: block;
  margin: 18px 0;
}
#tickets details {
  font-size: 12px;
}
#tickets code {
  display: block;
  margin-top: 12px;
  word-break: break-all;
}
body[data-color] button:not(.secondary),
body[data-color] .button:not(.secondary) {
  background: var(--accent);
}
