@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/BricolageGrotesque.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/Figtree.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}
:root {
  --ink: #05090f;
  --panel: #0e1823;
  --inset: #0e1b27;
  --line: #1c2a38;
  --slate: #9bb1c2;
  --teal: #3fc4a0;
  --orange: #f6a01a;
  --text: #e8eef4;
  --danger: #f26468;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--ink);
  color: var(--text);
  font-family:
    'Figtree',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
p {
  margin: 0;
}
a {
  color: var(--teal);
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.noscript {
  padding: 48px 24px;
  text-align: center;
}

/* Wordmark */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.wordmark .word {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
}
.wordmark.big {
  flex-direction: column;
  gap: 16px;
}
.wordmark.big .word {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: 5px;
}
.got {
  color: var(--orange);
}
.crew {
  color: var(--teal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-weight: 800;
  color: var(--text);
  background: none;
  cursor: pointer;
}
.btn:disabled {
  opacity: 0.55;
  cursor: default;
}
.btn.primary {
  background: var(--teal);
  color: var(--ink);
}
.btn.quiet {
  color: var(--teal);
  font-weight: 700;
}
.btn.small {
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
}
.btn.pass {
  flex: 1;
  background: var(--panel);
  border-color: var(--line);
}
.btn.hoist {
  flex: 1.4;
  background: var(--orange);
  color: var(--ink);
  font-size: 18px;
}

/* Sign in, create account */
.auth {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 460px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 48px 24px;
  justify-content: center;
  text-align: center;
}
.auth h1,
.notice h1 {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.auth form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.lede {
  color: var(--slate);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
}
.field input {
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--inset);
  color: var(--text);
  font: inherit;
  font-size: 17px;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 44px;
  cursor: pointer;
}
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--teal);
}
.seg {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.seg legend {
  padding: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
}
.seg label {
  flex: 1;
}
.seg input {
  position: absolute;
  opacity: 0;
}
.seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--inset);
  font-weight: 700;
  cursor: pointer;
}
.seg input:checked + span {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--ink);
}
.seg input:focus-visible + span {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.fine {
  font-size: 13px;
  color: var(--slate);
}
.error {
  color: var(--danger);
  font-weight: 600;
  text-align: center;
}
.muted {
  color: var(--slate);
  font-size: 15px;
}
.center {
  text-align: center;
}

/* Browse */
.shell {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.top {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 20px;
  background: rgb(5 9 15 / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.modes {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}
.modes button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--slate);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.modes .on {
  background: var(--text);
  color: var(--ink);
}
.stage {
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 16px 24px;
}
.loading {
  padding: 96px 0;
  text-align: center;
  color: var(--slate);
  font-weight: 700;
}
.notice {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 72px 8px;
  text-align: center;
}
.notice p {
  color: var(--slate);
}
.card {
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink);
}
.hero {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 68dvh;
  width: 100%;
  background: #12202e;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgb(5 9 15 / 0.45),
    transparent 30%,
    transparent 45%,
    rgb(5 9 15 / 0.92)
  );
  pointer-events: none;
}
.nophoto {
  display: grid;
  place-items: center;
  height: 100%;
  opacity: 0.35;
}
.bars {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 6px;
}
.bars i {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgb(232 238 244 / 0.35);
}
.bars .on {
  background: var(--text);
}
.photonav {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 50%;
  border: 0;
  background: none;
  cursor: pointer;
}
.photonav.prev {
  left: 0;
}
.photonav.next {
  right: 0;
}
.photonav:focus-visible {
  outline-offset: -6px;
}
.herotext {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  pointer-events: none;
}
.herotext h1 {
  font-family: var(--display);
  font-size: clamp(30px, 8vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  color: #fff;
}
.tagline {
  font-size: 19px;
  font-weight: 700;
  color: var(--orange);
}
.subline {
  font-weight: 500;
}
.tag {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}
.tag.orange {
  background: var(--orange);
}
.tag.teal {
  background: var(--teal);
}
.body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}
.tracked {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--teal);
  color: var(--ink);
}
.tracked strong {
  font-size: 20px;
  font-weight: 800;
}
.tracked span {
  font-size: 13px;
  font-weight: 700;
}
.panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}
.panel h2 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--slate);
}
.bigtext {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.about {
  white-space: pre-line;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--line);
  font-size: 15px;
  font-weight: 600;
}
.chips.teal li {
  border-color: var(--teal);
  background: none;
}
.chips.orange li {
  border-color: var(--orange);
  background: none;
}
.row,
.review {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.panel h2 + .row,
.panel h2 + .review {
  padding-top: 0;
  border-top: 0;
}
.row span,
.review span {
  font-size: 14px;
  color: var(--slate);
}
.reviewline {
  font-size: 15px;
}
.actions {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--ink) 35%);
}
.toast {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(5 9 15 / 0.88);
}
.toast > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 380px;
  text-align: center;
}
.toast h1 {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
}
.toast p {
  color: var(--slate);
}
