:root {
	--charcoal: #494949;
	--sky: #88cfe5;
	--bright-teal: #24a3c4;
	--deep-teal: #186c7a;
	--white: #ffffff;
	--ink: #252525;
	--muted: #727272;
	--soft: #f1f2f3;
	--rule: #e3e4e5;
	--danger: #8a2f2f;
	--heading: Montserrat, Arial, Helvetica, sans-serif;
	--body:
		"Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
		sans-serif;
	color: var(--ink);
	background: var(--white);
	font-family: var(--body);
	font-synthesis: none;
}

* {
	box-sizing: border-box;
}
html {
	min-height: 100%;
	background: var(--white);
}
body {
	min-height: 100%;
	margin: 0;
	background: var(--white);
}
button,
a {
	-webkit-tap-highlight-color: transparent;
}
button,
input {
	font: inherit;
}
button {
	border: 0;
}
a {
	color: inherit;
}
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	left: 12px;
	top: -60px;
	z-index: 1000;
	background: var(--ink);
	color: white;
	padding: 10px 14px;
}
.skip-link:focus {
	top: 12px;
}

.app-shell {
	width: min(100%, 840px);
	margin: 0 auto;
	padding: max(30px, env(safe-area-inset-top)) 20px
		max(48px, env(safe-area-inset-bottom));
}
.app-shell.detail-shell {
	padding-top: max(22px, env(safe-area-inset-top));
}
.page-kicker {
	margin: 0 0 10px;
	color: var(--deep-teal);
	font: 700 12px / 1 var(--heading);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
h1,
h2,
h3 {
	font-family: var(--heading);
	color: #111;
}
.page-title {
	margin: 0;
	font-size: clamp(32px, 9vw, 46px);
	line-height: 1.03;
	letter-spacing: -0.035em;
}
.page-intro {
	max-width: 560px;
	margin: 13px 0 30px;
	color: var(--muted);
	font-size: 18px;
	line-height: 1.45;
}

.hub-list {
	margin: 28px 0 0;
	border-top: 1px solid var(--rule);
}
.hub-link {
	display: grid;
	grid-template-columns: 48px 1fr 24px;
	gap: 14px;
	align-items: center;
	min-height: 84px;
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--rule);
}
.hub-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: var(--soft);
	border-radius: 50%;
	color: var(--deep-teal);
}
.hub-copy strong {
	display: block;
	font: 700 18px / 1.25 var(--heading);
}
.hub-copy span {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 15px;
}

.tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 27px 0 8px;
	border-bottom: 1px solid var(--rule);
}
.tab {
	position: relative;
	min-height: 48px;
	padding: 10px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	font: 700 15px / 1 var(--heading);
}
.tab[aria-selected="true"] {
	color: var(--ink);
}
.tab[aria-selected="true"]::after {
	content: "";
	position: absolute;
	right: 18px;
	bottom: -1px;
	left: 18px;
	height: 3px;
	background: var(--bright-teal);
}

.registration-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.registration-row {
	position: relative;
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr) 18px;
	gap: 15px;
	align-items: start;
	min-height: 112px;
	padding: 18px 0;
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--rule);
}
.registration-row:focus-visible {
	outline: 3px solid var(--sky);
	outline-offset: 5px;
}
.row-image {
	width: 112px;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	background: var(--soft);
	border-radius: 3px;
}
.row-copy {
	min-width: 0;
}
.row-title {
	display: block;
	margin: 0 0 5px;
	font: 700 17px / 1.2 var(--heading);
	letter-spacing: -0.01em;
}
.row-meta {
	display: block;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.35;
}
.row-ticket {
	display: block;
	margin-top: 5px;
	color: var(--charcoal);
	font-size: 14px;
	line-height: 1.3;
}
.financial-status {
	display: inline-flex;
	align-items: center;
	margin-top: 7px;
	color: var(--deep-teal);
	font-size: 14px;
	font-weight: 700;
}
.financial-status.balance_due {
	color: var(--ink);
}
.row-chevron {
	align-self: center;
	color: #a3a3a3;
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	margin: 0 0 24px;
	padding: 0 18px;
	background: var(--soft);
	color: var(--ink);
	text-decoration: none;
	border-radius: 999px;
	font: 700 15px / 1 var(--heading);
}
.hero-image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--soft);
	border-radius: 3px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.event-title {
	margin: 27px 0 20px;
	font-size: clamp(30px, 8vw, 46px);
	line-height: 1.12;
	letter-spacing: -0.035em;
}
.event-meta {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px 16px;
	margin-bottom: 26px;
	color: var(--muted);
	font-size: 17px;
}
.meta-item {
	display: flex;
	align-items: center;
	gap: 9px;
}
.event-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	max-width: 390px;
	margin: 0 auto 36px;
}
.utility-action {
	display: grid;
	justify-items: center;
	gap: 9px;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	font-size: 16px;
}
.utility-icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	background: var(--soft);
	border-radius: 50%;
}

.section {
	padding: 31px 0;
	border-top: 1px solid var(--rule);
}
.section-title {
	margin: 0 0 19px;
	color: var(--ink);
	font: 700 13px / 1.2 var(--heading);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.ticket-line {
	display: flex;
	gap: 11px;
	align-items: center;
	margin-bottom: 18px;
	font-size: 17px;
	font-weight: 600;
}
.money-table {
	width: 100%;
	margin: 16px 0 23px;
	border-collapse: collapse;
	font-size: 16px;
}
.money-table th,
.money-table td {
	padding: 7px 0;
}
.money-table th {
	color: var(--muted);
	text-align: left;
	font-weight: 400;
}
.money-table td {
	text-align: right;
}
.money-table .balance-row th,
.money-table .balance-row td {
	padding-top: 14px;
	color: var(--ink);
	border-top: 1px solid var(--rule);
	font-weight: 700;
}
.detail-list {
	display: grid;
	gap: 14px;
	margin: 0;
}
.detail-pair {
	display: grid;
	grid-template-columns: minmax(120px, 38%) 1fr;
	gap: 14px;
}
.detail-pair dt {
	color: var(--muted);
}
.detail-pair dd {
	margin: 0;
	overflow-wrap: anywhere;
}
.registration-id {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 13px;
}

.button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 54px;
	width: 100%;
	padding: 13px 18px;
	border-radius: 999px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font: 700 14px / 1.2 var(--heading);
	letter-spacing: 0.035em;
	text-transform: uppercase;
}
.button-primary {
	background: var(--ink);
	color: var(--white);
}
.button-secondary {
	background: var(--white);
	color: var(--deep-teal);
	border: 2px solid var(--deep-teal);
}
.button-quiet {
	background: var(--soft);
	color: var(--ink);
}
.button-danger {
	background: var(--white);
	color: var(--danger);
	border: 2px solid var(--danger);
}
.button + .button {
	margin-top: 12px;
}
.text-button {
	padding: 2px;
	background: transparent;
	color: var(--deep-teal);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.event-description {
	margin: 0 0 25px;
	color: var(--charcoal);
	font-size: 18px;
	line-height: 1.52;
}
.contact-row {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 13px;
	margin: 17px 0;
	color: var(--charcoal);
	font-size: 17px;
	line-height: 1.35;
}
.contact-row strong {
	color: var(--ink);
}
.contact-row a {
	text-underline-offset: 3px;
}
.prototype-note {
	margin: 34px 0 0;
	padding-top: 18px;
	color: var(--muted);
	border-top: 1px solid var(--rule);
	font-size: 13px;
	line-height: 1.4;
}

.state {
	display: grid;
	justify-items: center;
	min-height: 360px;
	padding: 70px 20px;
	text-align: center;
}
.state-symbol {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 20px;
	background: var(--soft);
	border-radius: 50%;
	color: var(--deep-teal);
	font: 700 23px / 1 var(--heading);
}
.state h2 {
	margin: 0 0 8px;
	font-size: 22px;
}
.state p {
	max-width: 390px;
	margin: 0 0 22px;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.45;
}
.skeleton {
	overflow: hidden;
	position: relative;
	background: #eceeef;
}
.skeleton::after {
	content: "";
	position: absolute;
	inset: 0;
	transform: translateX(-100%);
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.75),
		transparent
	);
	animation: shimmer 1.2s infinite;
}
.skeleton-title {
	width: 72%;
	height: 38px;
	margin: 6px 0 34px;
}
.skeleton-row {
	height: 112px;
	margin: 0 0 1px;
	border-bottom: 1px solid white;
}
@keyframes shimmer {
	100% {
		transform: translateX(100%);
	}
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto;
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
	}
}

.icon {
	display: inline-flex;
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
}
.icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.hub-icon .icon,
.row-chevron .icon {
	width: 20px;
	height: 20px;
}

.toast-region {
	position: fixed;
	z-index: 90;
	right: 16px;
	bottom: max(18px, env(safe-area-inset-bottom));
	left: 16px;
	display: grid;
	justify-items: center;
	pointer-events: none;
}
.toast {
	max-width: 520px;
	padding: 12px 17px;
	background: var(--ink);
	color: white;
	border-radius: 5px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	font-size: 15px;
}
.modal-backdrop {
	position: fixed;
	z-index: 100;
	inset: 0;
	display: grid;
	align-items: end;
	padding: 18px;
	background: rgba(0, 0, 0, 0.52);
}
.modal {
	width: min(100%, 520px);
	margin: 0 auto;
	padding: 26px 22px max(22px, env(safe-area-inset-bottom));
	background: white;
	border-radius: 10px 10px 4px 4px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}
.modal h2 {
	margin: 0 0 10px;
	font-size: 22px;
}
.modal p {
	margin: 0 0 23px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.45;
}

:focus-visible {
	outline: 3px solid var(--sky);
	outline-offset: 3px;
}
@media (min-width: 680px) {
	.app-shell {
		padding-right: 34px;
		padding-left: 34px;
	}
	.registration-row {
		grid-template-columns: 150px minmax(0, 1fr) 24px;
		padding: 22px 0;
	}
	.row-image {
		width: 150px;
	}
	.row-title {
		font-size: 20px;
	}
	.detail-pair {
		grid-template-columns: 220px 1fr;
	}
	.modal-backdrop {
		align-items: center;
	}
	.modal {
		border-radius: 8px;
	}
}
