@font-face {
  font-family: "adidas Compressed";
  src: url("/assets/adidasFG-Compressed.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #0b0b0c;
  --paper: #f3f1eb;
  --purple: #241836;
  --purple-deep: #110b1e;
  --lime: #d8ff44;
  --line: rgba(11, 11, 12, 0.22);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--purple-deep);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.app-shell {
  min-height: 100vh;
  min-height: 100dvh;
}

.page-nav {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 20;
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(17, 11, 30, 0.9);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.page-nav__item {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.page-nav__item:hover {
  color: white;
}

.page-nav__item.is-active {
  color: var(--ink);
  background: var(--lime);
}

.screen {
  display: none;
  min-height: 100vh;
  min-height: 100dvh;
  animation: reveal 420ms ease both;
}

.screen.is-active {
  display: flex;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.screen--form {
  background: var(--paper);
}

.form-panel,
.lookup-card {
  width: min(100%, 760px);
  padding: clamp(28px, 5vw, 70px);
}

.form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100dvh;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(55px, 9vh, 110px);
}

.brand-mark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 31px;
  transform: skew(-27deg);
}

.brand-mark i {
  width: 12px;
  background: var(--ink);
}

.brand-mark i:nth-child(1) {
  height: 13px;
}

.brand-mark i:nth-child(2) {
  height: 22px;
}

.brand-mark i:nth-child(3) {
  height: 31px;
}

.brand-divider {
  width: 1px;
  height: 36px;
  background: var(--ink);
}

.event-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 0.95;
}

.step-label,
.eyebrow {
  margin: 0 0 18px;
  color: #655c6d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "adidas Compressed", Impact, sans-serif;
  font-size: clamp(58px, 9vw, 104px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.lead {
  max-width: 520px;
  margin: 30px 0 38px;
  color: #5e5961;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.5;
}

form {
  width: min(100%, 520px);
}

label {
  display: block;
  margin: 22px 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field {
  position: relative;
  border-bottom: 2px solid var(--ink);
}

input,
textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

input {
  height: 58px;
  font-size: 22px;
}

textarea {
  min-height: 118px;
  padding: 15px 58px 18px 0;
  resize: none;
  font-family: "adidas Compressed", Impact, sans-serif;
  font-size: 35px;
  line-height: 1;
  text-transform: uppercase;
}

input::placeholder,
textarea::placeholder {
  color: #9a959c;
  opacity: 1;
}

.counter {
  position: absolute;
  right: 0;
  bottom: 15px;
  color: #79737b;
  font-size: 11px;
}

.counter b {
  font-weight: 400;
}

.primary-button {
  display: flex;
  width: 100%;
  min-height: 62px;
  margin-top: 28px;
  padding: 0 22px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  color: white;
  background: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-button:hover {
  background: #332841;
}

.primary-button:active {
  transform: scale(0.99);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.primary-button span {
  font-size: 25px;
  font-weight: 400;
}

.text-button {
  align-self: flex-start;
  margin-top: 22px;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.form-message {
  min-height: 18px;
  margin: 12px 0 -12px;
  color: #b42318;
  font-size: 13px;
}

.form-message.is-success {
  color: #327206;
}

.accent-panel {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 100dvh;
  align-items: flex-end;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 42%),
    var(--purple);
}

.accent-panel::after {
  position: absolute;
  top: 3%;
  right: -18%;
  width: 82%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(255, 255, 255, 0.025), 0 0 0 17vw rgba(255, 255, 255, 0.02);
  content: "";
}

.accent-panel span {
  margin: 48px;
  color: rgba(255, 255, 255, 0.7);
  font-family: "adidas Compressed", Impact, sans-serif;
  font-size: 26px;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
}

.screen--lookup {
  color: white;
  background: var(--purple);
}

.lookup-card {
  position: relative;
  display: flex;
  flex: 1 0 52%;
  flex-direction: column;
  justify-content: center;
}

.back-button {
  position: absolute;
  top: clamp(24px, 4vw, 45px);
  left: clamp(24px, 4vw, 45px);
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: white;
  background: transparent;
  font-size: 23px;
  cursor: pointer;
}

.step-label--light {
  color: #c8bbd6;
}

.lookup-card .lead {
  color: #c9c2d0;
}

.field--dark {
  border-color: white;
}

.field--dark input {
  color: white;
}

.field--dark input::placeholder {
  color: #91899d;
}

.form-message--light {
  color: #ffb4a9;
}

.primary-button--light {
  color: var(--ink);
  background: var(--lime);
}

.primary-button--light:hover {
  background: white;
}

.lookup-photo {
  flex: 1 0 48%;
  min-height: 100dvh;
  background:
    linear-gradient(90deg, var(--purple) 0%, transparent 22%),
    url("/assets/background.jpg") center 38% / cover;
  filter: saturate(0.88);
}

.screen--result {
  min-height: 100dvh;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
  background: var(--paper);
}

.result-header {
  position: relative;
  display: flex;
  width: min(100%, 1160px);
  padding: 34px clamp(24px, 6vw, 80px) 26px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.result-header h1 {
  font-size: clamp(48px, 6vw, 76px);
}

.result-header .eyebrow {
  margin-bottom: 12px;
}

.back-button--dark {
  top: 50%;
  left: clamp(24px, 6vw, 80px);
  border-color: rgba(0, 0, 0, 0.3);
  color: var(--ink);
  transform: translateY(-50%);
}

.poster-wrap {
  width: min(100%, 720px);
  padding: 0 24px;
}

.poster {
  position: relative;
  width: 100%;
  aspect-ratio: 1800 / 2683;
  overflow: hidden;
  background: var(--purple-deep);
  box-shadow: 0 20px 60px rgba(16, 9, 30, 0.25);
}

.poster img {
  display: block;
  width: 100%;
  height: 100%;
}

.poster-phrase {
  position: absolute;
  top: 37.2%;
  left: 8.8%;
  display: flex;
  width: 82.4%;
  height: 25.5%;
  margin: 0;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: "adidas Compressed", Impact, sans-serif;
  font-size: clamp(26px, 5.25vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.075em;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.48);
  text-transform: uppercase;
}

.poster-phrase[data-size="medium"] {
  font-size: clamp(23px, 4.6vw, 51px);
}

.poster-phrase[data-size="small"] {
  font-size: clamp(20px, 4vw, 45px);
}

.result-actions {
  width: min(calc(100% - 48px), 672px);
  padding-bottom: 40px;
}

.result-actions .text-button {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10;
  max-width: calc(100% - 44px);
  padding: 14px 18px;
  color: white;
  background: #1a1323;
  font-size: 13px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 200ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 820px) {
  .accent-panel {
    display: none;
  }

  .form-panel {
    margin: 0 auto;
  }

  .screen--lookup {
    background:
      linear-gradient(rgba(25, 17, 39, 0.72), rgba(17, 11, 30, 0.98)),
      url("/assets/background.jpg") center / cover;
  }

  .lookup-card {
    min-height: 100dvh;
  }

  .lookup-photo {
    display: none;
  }
}

@media (max-width: 520px) {
  .page-nav {
    top: 12px;
    width: calc(100% - 24px);
  }

  .page-nav__item {
    flex: 1;
    padding: 0 8px;
    font-size: 10px;
  }

  .form-panel,
  .lookup-card {
    padding: 82px 24px 36px;
  }

  .brand-header {
    margin-bottom: 50px;
  }

  .result-header {
    padding-top: 86px;
  }

  .back-button--dark {
    top: 28px;
    transform: none;
  }

  .poster-wrap {
    padding: 0 14px;
  }

  .result-actions {
    width: calc(100% - 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Operator control panel */
.operator-body {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 85% 5%, rgba(106, 73, 140, 0.14), transparent 28%),
    var(--paper);
}

.operator-shell {
  width: min(100%, 1440px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 28px clamp(24px, 5vw, 72px) 64px;
}

.operator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.operator-brand {
  margin: 0;
}

.operator-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.connection-status {
  color: #6d6870;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.connection-status i,
.display-connection i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #65bd2f;
  box-shadow: 0 0 0 4px rgba(101, 189, 47, 0.13);
}

.display-link {
  padding: 13px 17px;
  color: white;
  background: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.display-link span {
  margin-left: 12px;
  font-size: 16px;
}

.operator-intro {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(260px, 0.65fr);
  width: min(100%, 980px);
  margin: clamp(55px, 9vh, 105px) 0 42px;
  align-items: end;
  gap: 50px;
}

.operator-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -26px;
}

.operator-intro h1 {
  font-size: clamp(64px, 8vw, 108px);
}

.operator-intro > p:last-child {
  margin: 0 0 4px;
  color: #67616a;
  font-size: 16px;
  line-height: 1.55;
}

.operator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.operator-card {
  min-height: 590px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(11, 11, 12, 0.12);
  background: rgba(255, 255, 255, 0.54);
}

.operator-card--dark {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--purple);
}

.operator-card--dark::after {
  position: absolute;
  right: -140px;
  bottom: -210px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.card-heading {
  display: flex;
  margin-bottom: 36px;
  align-items: center;
  gap: 18px;
}

.card-heading p {
  margin: 0 0 5px;
  color: #7a747d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.operator-card--dark .card-heading p {
  color: #aea5ba;
}

.card-heading h2 {
  margin: 0;
  font-family: "adidas Compressed", Impact, sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(11, 11, 12, 0.28);
  border-radius: 50%;
  font-size: 24px;
}

.card-icon--light {
  border-color: rgba(255, 255, 255, 0.35);
}

.operator-card form {
  position: relative;
  z-index: 1;
  width: 100%;
}

.operator-card--dark .form-message.is-success {
  color: var(--lime);
}

.lookup-help {
  margin: 18px 0 0;
  color: #bdb4c8;
  font-size: 13px;
  line-height: 1.45;
}

.last-result {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  padding: 18px 20px;
  border-left: 3px solid var(--lime);
  background: rgba(255, 255, 255, 0.07);
}

.last-result span {
  color: #bdb4c8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.last-result p {
  margin: 8px 0 0;
  font-family: "adidas Compressed", Impact, sans-serif;
  font-size: 26px;
  line-height: 1.05;
  text-transform: uppercase;
}

/* Public result display */
.public-display {
  min-height: 100dvh;
  overflow: hidden;
  color: white;
  background: var(--purple-deep);
}

.display-stage {
  display: grid;
  width: 100vw;
  height: 100dvh;
  place-items: center;
  overflow: hidden;
}

.display-idle {
  text-align: center;
}

.display-brand {
  justify-content: center;
  margin: 0 0 80px;
}

.brand-mark--light i {
  background: white;
}

.brand-divider--light {
  background: white;
}

.display-idle > p {
  color: #afa3bb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.display-idle h1 {
  font-size: clamp(80px, 10vw, 150px);
}

.display-idle__pulse {
  display: block;
  width: 10px;
  height: 10px;
  margin: 55px auto 0;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(216, 255, 68, 0.5);
  animation: display-pulse 1.8s infinite;
}

@keyframes display-pulse {
  70% {
    box-shadow: 0 0 0 18px rgba(216, 255, 68, 0);
  }
}

.display-result {
  width: 100%;
  height: 100%;
}

.display-result.is-refreshing {
  animation: result-refresh 500ms ease both;
}

@keyframes result-refresh {
  from {
    opacity: 0.25;
    transform: scale(1.015);
  }
}

.poster {
  container-type: inline-size;
}

.poster--display {
  width: min(100vw, 67.1dvh);
  height: auto;
  margin: 0 auto;
  box-shadow: 0 0 90px rgba(0, 0, 0, 0.45);
}

.poster--display .poster-phrase {
  font-size: min(11.5cqw, 205px);
}

.poster--display .poster-phrase[data-size="medium"] {
  font-size: min(9.8cqw, 175px);
}

.poster--display .poster-phrase[data-size="small"] {
  font-size: min(8.4cqw, 150px);
}

.display-tools {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.18;
  transition: opacity 180ms ease;
}

.display-tools:hover {
  opacity: 1;
}

.display-connection,
.display-tools button {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  background: rgba(10, 7, 15, 0.78);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.display-connection i {
  background: #e59b30;
  box-shadow: none;
}

.display-connection.is-connected i {
  background: #65bd2f;
}

.display-tools button {
  cursor: pointer;
}

@media (max-width: 700px) {
  .operator-header {
    align-items: flex-start;
  }

  .operator-header__actions {
    flex-direction: column;
    align-items: flex-end;
  }

  .operator-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .operator-intro .eyebrow {
    margin-bottom: -5px;
  }

  .operator-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .operator-shell {
    padding: 22px 16px 40px;
  }

  .connection-status {
    display: none;
  }

  .display-link {
    max-width: 150px;
    text-align: center;
  }

  .operator-intro {
    margin-top: 60px;
  }

  .operator-card {
    min-height: 0;
    padding: 28px 22px;
  }
}

/* Authenticated operator flow */
.flow-body {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 90% 4%, rgba(94, 58, 128, 0.14), transparent 28%),
    var(--paper);
}

.flow-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 28px clamp(24px, 5vw, 72px);
  align-items: center;
  justify-content: space-between;
}

.session-actions {
  align-items: center;
  gap: 16px;
}

.session-actions:not([hidden]) {
  display: flex;
}

.session-actions span {
  color: #736d76;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.session-actions button,
.view-back {
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.flow-main {
  min-height: calc(100dvh - 95px);
}

.flow-view {
  width: min(100%, 1440px);
  min-height: calc(100dvh - 95px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px);
}

.login-view:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.75fr);
  padding-top: 10px;
  gap: 18px;
}

.login-art {
  display: flex;
  min-height: 650px;
  padding: clamp(38px, 6vw, 80px);
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  background:
    linear-gradient(180deg, transparent 25%, rgba(14, 8, 24, 0.88)),
    url("/assets/background.jpg") center 26% / cover;
}

.login-art p {
  margin: 0 0 25px;
  font-family: "adidas Compressed", Impact, sans-serif;
  font-size: 26px;
  letter-spacing: 0.22em;
}

.login-art h1 {
  font-size: clamp(76px, 9vw, 132px);
}

.login-panel {
  display: flex;
  min-height: 650px;
  padding: clamp(36px, 6vw, 76px);
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(11, 11, 12, 0.12);
  background: rgba(255, 255, 255, 0.62);
}

.login-panel h2 {
  margin: 0;
  font-family: "adidas Compressed", Impact, sans-serif;
  font-size: clamp(58px, 7vw, 90px);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.view-description {
  margin: 22px 0 28px;
  color: #69636c;
  font-size: 15px;
  line-height: 1.5;
}

.moment-view:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(560px, 1.15fr);
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
}

.moment-heading h1 {
  font-size: clamp(80px, 10vw, 138px);
}

.moment-heading > p:last-child {
  max-width: 380px;
  margin: 28px 0 0;
  color: #6c6670;
  line-height: 1.55;
}

.moment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.moment-card {
  position: relative;
  display: flex;
  min-height: 480px;
  padding: 34px;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(11, 11, 12, 0.14);
  color: var(--ink);
  background: white;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.moment-card:hover {
  z-index: 2;
  box-shadow: 0 24px 60px rgba(22, 13, 34, 0.2);
  transform: translateY(-5px);
}

.moment-card--result {
  border-color: var(--purple);
  color: white;
  background: var(--purple);
}

.moment-card__number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
}

.moment-card__time {
  margin-bottom: 12px;
  color: #79727c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.moment-card--result .moment-card__time {
  color: #b9afc4;
}

.moment-card strong {
  font-family: "adidas Compressed", Impact, sans-serif;
  font-size: clamp(43px, 4vw, 62px);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.moment-card small {
  margin-top: 22px;
  color: #716b74;
  font-size: 12px;
}

.moment-card--result small {
  color: #b9afc4;
}

.moment-card i {
  position: absolute;
  right: 30px;
  bottom: 26px;
  font-size: 29px;
  font-style: normal;
}

.task-view {
  position: relative;
}

.task-view--result {
  color: white;
  background: var(--purple);
}

.view-back {
  margin-bottom: clamp(45px, 8vh, 85px);
  color: #6e6871;
}

.view-back--light {
  color: #c2b8cc;
}

.task-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 0.7fr);
  align-items: center;
  justify-content: space-between;
  gap: clamp(50px, 10vw, 150px);
}

.task-copy h1 {
  font-size: clamp(78px, 9vw, 130px);
}

.task-copy > p:last-of-type {
  max-width: 510px;
  margin: 30px 0;
  color: #6b6570;
  font-size: 16px;
  line-height: 1.55;
}

.task-view--result .task-copy > p:last-of-type {
  color: #c1b7ca;
}

.task-view--result .eyebrow {
  color: #c1b7ca;
}

.task-card {
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid rgba(11, 11, 12, 0.13);
  background: rgba(255, 255, 255, 0.66);
}

.task-card--dark {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(11, 7, 18, 0.24);
}

.task-card form {
  width: 100%;
}

.task-card--dark .form-message.is-success {
  color: var(--lime);
}

.task-copy .display-link {
  display: inline-block;
  margin-top: 8px;
  background: var(--lime);
  color: var(--ink);
}

.records-view {
  padding-top: 35px;
}

.records-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.records-header h1 {
  font-size: clamp(76px, 9vw, 126px);
}

.records-header > div:first-child > p:last-child {
  max-width: 580px;
  margin: 22px 0 0;
  color: #6d6770;
  line-height: 1.5;
}

.records-summary {
  min-width: 170px;
  padding: 22px;
  border-left: 3px solid var(--purple);
}

.records-summary strong {
  display: block;
  font-family: "adidas Compressed", Impact, sans-serif;
  font-size: 58px;
  font-weight: 400;
  line-height: 0.8;
}

.records-summary span {
  color: #777079;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.records-actions {
  display: flex;
  margin-top: 45px;
  align-items: flex-end;
  gap: 12px;
}

.records-search {
  width: min(100%, 480px);
}

.secondary-button {
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.records-download {
  width: auto;
  min-width: 205px;
  min-height: 58px;
  margin-top: 0;
}

.records-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid rgba(11, 11, 12, 0.14);
  background: rgba(255, 255, 255, 0.58);
}

.records-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.records-table th {
  padding: 16px 20px;
  color: #6f6872;
  background: rgba(20, 13, 30, 0.05);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.records-table td {
  padding: 19px 20px;
  border-top: 1px solid rgba(11, 11, 12, 0.1);
  font-size: 13px;
  line-height: 1.4;
}

.records-table td:first-child {
  width: 18%;
  font-weight: 700;
}

.records-table td:nth-child(2) {
  width: 57%;
  font-family: "adidas Compressed", Impact, sans-serif;
  font-size: 22px;
  text-transform: uppercase;
}

.records-table td:last-child {
  color: #716a74;
  white-space: nowrap;
}

.records-empty {
  margin: 0;
  padding: 55px 20px;
  color: #777079;
  text-align: center;
}

@media (max-width: 920px) {
  .login-view:not([hidden]),
  .moment-view:not([hidden]),
  .task-layout {
    grid-template-columns: 1fr;
  }

  .login-art {
    display: none;
  }

  .login-panel {
    width: min(100%, 600px);
    min-height: 620px;
    margin: 0 auto;
  }

  .moment-view {
    align-content: start;
  }

  .moment-heading {
    max-width: 600px;
  }

  .task-layout {
    gap: 45px;
  }
}

@media (max-width: 620px) {
  .flow-header,
  .flow-view {
    padding-right: 18px;
    padding-left: 18px;
  }

  .session-actions span {
    display: none;
  }

  .moment-options {
    grid-template-columns: 1fr;
  }

  .moment-card {
    min-height: 330px;
  }

  .task-card,
  .login-panel {
    padding: 32px 24px;
  }

  .records-header,
  .records-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .records-summary {
    min-width: 0;
  }

  .records-search,
  .records-download {
    width: 100%;
  }
}
