@font-face {
  font-family: SCUFFExpanded;
  src: url("/assets/fonts/SF-Pro-Expanded-Black.ttf") format("truetype");
  font-display: swap;
}
:root {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: #171819;
  background: #f7f7f5;
  font-synthesis: none;
  --muted: #666a6b;
  --line: #dedfdb;
  --surface: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: #171819;
  padding: 15px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 550;
  min-height: 48px;
}
button:hover,
.button:hover {
  background: #ededeb;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.primary {
  background: #171819;
  color: white;
  border-color: #171819;
}
.primary:hover {
  background: #303334;
}
.secondary {
  background: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #747b89;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.muted {
  color: var(--muted);
}
.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}
.brand img {
  width: 95px;
  filter: brightness(0);
}
.brand span {
  font-size: 14px;
}
.landing {
  min-height: 100svh;
}
.landing-photo {
  position: fixed;
  inset: 0 50% 0 0;
}
.landing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% center;
}
.landing-header {
  position: absolute;
  top: 0;
  left: 50%;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 42px 7%;
  gap: 20px;
  font-size: 14px;
  z-index: 1;
}
.landing-copy {
  min-height: 100svh;
  margin-left: 50%;
  padding: 150px 7% 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.landing-copy h1 {
  font-size: clamp(38px, 4.5vw, 76px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0 0 28px;
}
.landing-copy p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 290px;
  margin: 0 0 36px;
}
.landing-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-direction: column;
  max-width: 310px;
}
.landing-actions .primary {
  justify-content: space-between;
}
.landing-foot {
  position: absolute;
  bottom: 40px;
  font-size: 12px;
  color: var(--muted);
}
.workspace-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 5%;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.workspace-header nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.onboarding {
  max-width: 570px;
  margin: 10vh auto 70px;
  padding: 0 24px;
}
.step-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 30px;
}
.text-button {
  border: 0;
  padding: 4px;
  min-height: 36px;
  background: transparent;
}
.onboarding h1 {
  font-size: clamp(30px, 5vw, 44px);
  letter-spacing: -0.045em;
  line-height: 1.15;
  margin: 0 0 24px;
  min-height: 1.2em;
}
.step-body {
  animation: step-in 0.22s ease-out;
}
.step-body p {
  line-height: 1.6;
  color: var(--muted);
}
label {
  display: block;
  font-size: 14px;
  margin: 20px 0;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid #cfd1cc;
  background: white;
  border-radius: 10px;
  padding: 15px;
  color: inherit;
  min-width: 0;
}
textarea {
  min-height: 100px;
}
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.status {
  color: #a53428;
  font-size: 14px;
  line-height: 1.5;
  min-height: 20px;
}
.match {
  display: flex;
  gap: 16px;
  text-align: left;
  justify-content: flex-start;
  width: 100%;
  margin: 12px 0;
  padding: 18px;
}
.match img,
.mini-avatar {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  background: #e7e8e5;
  flex-shrink: 0;
}
.match small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.recorded-event {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.recorded-event small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}
.dashboard-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: calc(100svh - 88px);
}
.dashboard-sidebar {
  padding: 40px 28px;
  border-right: 1px solid var(--line);
}
.dashboard-sidebar a {
  display: block;
  padding: 12px 10px;
  font-size: 14px;
  border-radius: 10px;
  margin-bottom: 8px;
}
.dashboard-sidebar a.active {
  background: #e9eae6;
}
.dashboard-main {
  max-width: 1250px;
  width: 100%;
  padding: 50px 6%;
}
.dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 35px;
}
.dashboard-heading h1 {
  font-size: 36px;
  letter-spacing: -0.045em;
  margin: 0 0 8px;
}
.dashboard-heading select {
  width: auto;
  max-width: 240px;
}
.identity-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 42px;
}
.summary-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 25px;
}
.summary-card strong {
  display: block;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.summary-card span {
  font-size: 13px;
  color: var(--muted);
}
section {
  scroll-margin-top: 30px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  margin-bottom: 20px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.event-row {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.event-row h3 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 550;
}
.event-row p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.event-stats {
  text-align: right;
  flex-shrink: 0;
  font-size: 14px;
}
.event-stats button {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  min-height: 36px;
  padding: 8px 12px;
}
.empty {
  padding: 30px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.spotify {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 45px;
}
.spotify h2 {
  margin: 0 0 8px;
}
.spotify p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: var(--muted);
}
.soon {
  font-size: 12px;
  white-space: nowrap;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}
.claim-state {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin: 15px 0;
  line-height: 1.6;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  width: calc(100% - 32px);
  max-width: 560px;
  max-height: 85svh;
  overflow: auto;
}
dialog::backdrop {
  background: rgba(20, 25, 24, 0.25);
  backdrop-filter: blur(8px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-top h2 {
  margin: 0;
}
.search-results button {
  margin-top: 12px;
  width: 100%;
  text-align: left;
  justify-content: space-between;
}
.account-id {
  font-size: 12px;
  overflow-wrap: anywhere;
  color: var(--muted);
}
@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1050px) {
  .landing-header {
    padding: 30px 5%;
  }
  .landing-copy {
    padding-left: 5%;
    padding-right: 5%;
  }
  .landing-header .brand span {
    display: none;
  }
  .dashboard-layout {
    grid-template-columns: 170px 1fr;
  }
  .dashboard-sidebar {
    padding: 30px 16px;
  }
}
@media (max-width: 700px) {
  .landing-photo {
    position: relative;
    inset: auto;
    height: 43svh;
    min-height: 250px;
  }
  .landing-photo img {
    object-position: 50% 47%;
  }
  .landing-header {
    left: 0;
    right: 0;
    padding: 25px;
    color: white;
  }
  .landing-header .brand img {
    filter: brightness(0) invert(1);
  }
  .landing-header .brand span {
    display: block;
  }
  .landing-copy {
    min-height: 57svh;
    margin: 0;
    padding: 36px 28px 70px;
    justify-content: flex-start;
  }
  .landing-copy h1 {
    font-size: 44px;
    margin-bottom: 20px;
  }
  .landing-copy p {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .landing-actions {
    max-width: none;
    flex-direction: row;
    gap: 10px;
  }
  .landing-actions .button {
    font-size: 13px;
    padding: 14px 12px;
    gap: 10px;
    flex: 1;
  }
  .landing-foot {
    position: static;
    margin-top: 28px;
  }
  .workspace-header {
    padding: 24px;
  }
  .workspace-header .brand span {
    display: none;
  }
  .dashboard-layout {
    display: block;
  }
  .dashboard-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    overflow: auto;
  }
  .dashboard-sidebar a {
    white-space: nowrap;
    margin: 0;
  }
  .dashboard-main {
    padding: 30px 24px;
  }
  .dashboard-heading {
    flex-wrap: wrap;
  }
  .dashboard-heading h1 {
    font-size: 30px;
  }
  .summary-grid {
    gap: 8px;
  }
  .summary-card {
    padding: 17px 12px;
  }
  .summary-card strong {
    font-size: 27px;
  }
  .summary-card span {
    font-size: 11px;
  }
  .event-row {
    align-items: flex-start;
  }
  .spotify {
    padding: 20px;
  }
  .onboarding {
    margin-top: 7vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
