:root {
  --mobile-navy: #12213b;
  --mobile-blue: #2779e8;
  --mobile-blue-soft: #eef5ff;
  --mobile-purple: #6955d9;
  --mobile-green: #76c126;
  --mobile-orange: #f48120;
  --mobile-coral: #ff6f61;
  --mobile-line: #dbe4ef;
}

body {
  background: #fff;
  color: var(--mobile-navy);
}

.container {
  max-width: none;
  padding: 0;
}

.mobile-first-page {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

.mobile-first-shell {
  width: min(100% - 24px, 440px);
  margin: 0 auto;
}

.mobile-first-hero {
  overflow: hidden;
  background: #fff;
}

.mobile-first-hero .mobile-first-shell {
  position: relative;
  z-index: 2;
  padding: max(23px, env(safe-area-inset-top)) 0 16px;
  text-align: center;
}

.mobile-first-logo {
  display: block;
  width: min(350px, 100%);
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

.mobile-first-orange-rule {
  width: min(350px, 100%);
  height: 4px;
  margin-top: 6px;
  margin-right: auto;
  margin-left: auto;
  background: var(--mobile-orange);
}

.mobile-first-orange-rule-secondary {
  margin-top: 15px;
}

.mobile-first-hero h1 {
  margin: 17px 0 0;
  color: var(--mobile-navy);
  font-size: clamp(1.55rem, 6.7vw, 1.8rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.mobile-first-hero h1 strong {
  display: block;
  margin-top: 14px;
  color: var(--mobile-coral);
  font-weight: inherit;
}

.mobile-first-hero-lead {
  margin: 15px 0 0;
  color: #000;
  font-size: clamp(0.98rem, 4.1vw, 1.08rem);
  font-weight: 900;
  line-height: 1.5;
}

.mobile-first-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 8px;
  width: min(100%, 238px);
  margin: 12px auto 0;
}

.mobile-first-form input,
.mobile-first-action {
  width: 100%;
  min-height: 34px;
  box-sizing: border-box;
  font: inherit;
}

.mobile-first-form input {
  grid-column: 1 / -1;
  padding: 0 16px;
  border: 1px solid #aebbd0;
  outline: none;
  background: #fff;
  color: var(--mobile-navy);
  border-radius: 8px;
  font-size: 0.75rem;
}

.mobile-first-form input:focus {
  border-color: var(--mobile-blue);
  box-shadow: 0 0 0 3px rgba(39, 121, 232, 0.15);
}

.mobile-first-action {
  justify-self: center;
  width: min(68%, 240px);
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.mobile-first-action-primary {
  background: var(--mobile-coral);
  color: #fff;
  box-shadow: 0 5px 0 #cf4f43;
}

@media (max-width: 1023px) {
  .mobile-first-action-register {
    grid-column: 1;
    grid-row: 2;
    border-color: transparent;
    background: var(--mobile-coral);
    color: #fff;
    box-shadow: 0 4px 0 #cf4f43;
  }

  .mobile-first-action-register:hover {
    border-color: transparent;
    background: #f86154;
    color: #fff;
  }

  .mobile-first-action.mobile-first-action-demo {
    grid-column: 1;
    grid-row: 3;
    border-color: #aebbd0;
    background: #fff;
    color: var(--mobile-navy);
    box-shadow: none;
  }

  .mobile-first-action.mobile-first-action-demo:hover {
    border-color: var(--mobile-navy);
    background: #fff;
    color: var(--mobile-navy);
  }
}

.mobile-first-action-primary:hover {
  background: #f86154;
  color: #fff;
}

.mobile-first-action-secondary {
  border-color: #aebbd0;
  background: #fff;
  color: var(--mobile-navy);
}

.mobile-first-action-secondary:hover {
  border-color: var(--mobile-navy);
  color: var(--mobile-navy);
}

.mobile-first-recover-link {
  justify-self: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #52627a;
  font: inherit;
  font-size: 0.72rem;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.mobile-first-recover-link:hover {
  color: var(--mobile-blue);
}

.mobile-first-section {
  position: relative;
  padding: 86px 20px 78px;
  background: #fff;
}

.mobile-first-section + .mobile-first-section {
  padding-top: 40px;
  border-top: 1px solid #edf1f6;
}

.mobile-first-section:not(.mobile-first-login) {
  padding-bottom: 40px;
}

.mobile-first-section-heading {
  position: relative;
  z-index: 2;
}

.mobile-first-section-number {
  margin: 0 0 17px;
  color: var(--mobile-blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.mobile-first-section h2 {
  margin: 0;
  color: var(--mobile-navy);
  font-size: clamp(1.55rem, 6.5vw, 2rem);
  font-weight: 750;
  line-height: 1.32;
  letter-spacing: -0.055em;
}

.mobile-first-section-heading > p:not(.mobile-first-section-number):not(.mobile-first-organizer-note) {
  margin: 20px 0 0;
  color: #586a82;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.75;
}

.mobile-first-hub {
  padding-right: 0;
  padding-left: 0;
  background: #fff;
}

.mobile-first-hub .mobile-first-section-heading {
  padding: 0 20px;
}

.mobile-first-hub-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 12px;
  width: auto;
  margin-top: 38px;
  padding: 0 20px;
  background: #fff;
}

.mobile-first-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 152px;
  margin: 0;
  pointer-events: none;
  user-select: none;
}

.mobile-first-node img {
  display: block;
  width: 100%;
  height: 126px;
  min-height: 0;
  flex: 1;
  object-fit: contain;
  filter: drop-shadow(0 9px 12px rgba(18, 33, 59, 0.1));
}

.mobile-first-node figcaption {
  align-self: flex-start;
  margin-bottom: 6px;
  padding: 2px 0 2px 10px;
  border-left: 4px solid currentColor;
  background: transparent;
  color: var(--mobile-blue);
  font-size: clamp(0.82rem, 3.5vw, 0.96rem);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.mobile-first-node-attendance {
  grid-column: 1 / -1;
  width: calc((100% - 12px) / 2);
  min-height: 170px;
  justify-self: center;
}

.mobile-first-node-attendance img {
  height: 144px;
}

.mobile-first-node-matchup {
  color: var(--mobile-purple);
}

.mobile-first-node-matchup figcaption {
  color: var(--mobile-purple);
}

.mobile-first-node-personal figcaption {
  color: var(--mobile-green);
}

.mobile-first-node-club figcaption {
  color: var(--mobile-purple);
}

.mobile-first-matchups {
  background: #fff;
}

.mobile-first-process {
  display: grid;
  justify-items: center;
  margin-top: 32px;
}

.mobile-first-mobile-composite {
  position: relative;
  width: 100%;
  margin: 0;
}

.mobile-first-mobile-composite > img {
  display: block;
  width: 100%;
  height: auto;
}

.mobile-first-mobile-label {
  position: absolute;
  z-index: 2;
  left: 4%;
  padding-left: 11px;
  border-left: 4px solid currentColor;
  color: var(--mobile-blue);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.mobile-first-mobile-label-attendance {
  top: 1.5%;
}

.mobile-first-mobile-label-matchup {
  top: 55%;
  color: var(--mobile-purple);
}

.mobile-first-process > .mobile-first-weave,
.mobile-first-process > figure,
.mobile-first-process > .mobile-first-process-line {
  display: none;
}

.mobile-first-process figure,
.mobile-first-record-flow figure {
  position: relative;
  width: 100%;
  margin: 0;
}

.mobile-first-process figure span,
.mobile-first-record-flow figure span {
  position: absolute;
  z-index: 2;
  top: 2%;
  left: 4%;
  padding-left: 11px;
  border-left: 4px solid currentColor;
  color: var(--mobile-blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.mobile-first-process figure img,
.mobile-first-record-flow figure img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 18px rgba(18, 33, 59, 0.11));
}

.mobile-first-process > figure:first-of-type {
  width: 70%;
}

.mobile-first-process figure:last-child {
  width: 88%;
}

.mobile-first-process figure:last-child span {
  color: var(--mobile-purple);
}

.mobile-first-process-line {
  position: relative;
  z-index: 1;
  width: 140px;
  height: 270px;
  margin: -58px 0 -52px;
}

.mobile-first-process-line img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mobile-first-records {
  background: #fff;
}

.mobile-first-records .mobile-first-section-number {
  color: var(--mobile-orange);
}

.mobile-first-record-flow {
  margin-top: 46px;
}

.mobile-first-record-mobile-composite {
  position: relative;
  width: 100%;
  margin: 0;
}

.mobile-first-record-mobile-composite > img {
  display: block;
  width: 100%;
  height: auto;
}

.mobile-first-record-mobile-label {
  position: absolute;
  z-index: 2;
  padding: 2px 18px 2px 11px;
  border-left: 4px solid currentColor;
  background: linear-gradient(90deg, #fff 0%, #fff 72%, rgba(255, 255, 255, 0) 100%);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.mobile-first-record-mobile-label-score {
  top: 14%;
  left: 19%;
  color: var(--mobile-orange);
}

.mobile-first-record-mobile-label-personal {
  top: 48%;
  left: 0;
  color: var(--mobile-green);
}

.mobile-first-record-mobile-label-club {
  top: 48%;
  left: 56%;
  color: var(--mobile-purple);
}

.mobile-first-record-flow > figure,
.mobile-first-record-flow > .mobile-first-record-branch,
.mobile-first-record-flow > .mobile-first-record-results,
.mobile-first-record-flow > .mobile-first-weave {
  display: none;
}

.mobile-first-record-flow figure {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.mobile-first-record-flow figure span {
  position: static;
  align-self: flex-start;
  margin: 0 0 10px;
  padding-left: 11px;
}

.mobile-first-record-score {
  width: 78% !important;
  margin: 0 auto !important;
}

.mobile-first-record-score span {
  color: var(--mobile-orange) !important;
}

.mobile-first-record-branch {
  position: relative;
  z-index: 1;
  width: 54%;
  height: clamp(160px, 42vw, 205px);
  margin: -32px auto -66px;
}

.mobile-first-record-branch img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.mobile-first-record-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  margin: 0 -13px;
}

.mobile-first-record-results figure span {
  color: var(--mobile-green);
  font-size: 0.82rem;
}

.mobile-first-record-results figure:last-child span {
  color: var(--mobile-purple);
}

.mobile-first-record-flow > figure.mobile-first-record-score,
.mobile-first-record-flow > .mobile-first-record-branch,
.mobile-first-record-flow > .mobile-first-record-results,
.mobile-first-record-flow > .mobile-first-weave {
  display: none;
}

.mobile-first-login {
  overflow: hidden;
  padding-bottom: 24px;
  background: #fff;
  color: var(--mobile-navy);
}

.mobile-first-login::before {
  content: none;
}

.mobile-first-login .mobile-first-section-number {
  color: var(--mobile-blue);
}

.mobile-first-login h2,
.mobile-first-login .mobile-first-section-heading > p:not(.mobile-first-section-number):not(.mobile-first-organizer-note) {
  color: var(--mobile-navy);
}

.mobile-first-login .mobile-first-section-heading > p:not(.mobile-first-section-number):not(.mobile-first-organizer-note) {
  color: #586a82;
}

.mobile-first-login-visual {
  position: relative;
  z-index: 2;
  margin: 10px -10px 0;
}

.mobile-first-share-scene {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.mobile-first-share-scene-desktop {
  display: none;
}

.mobile-first-organizer-note {
  position: relative;
  z-index: 2;
  margin: 8px 0 0;
  color: #65768d;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

.mobile-first-weave {
  display: none;
}

.mobile-first-desktop-composite {
  display: none;
}

.site-footer {
  max-width: none;
  margin: 0 auto;
  box-sizing: border-box;
  background: #fff;
}

@media (max-width: 1023px) {
  .mobile-first-records .mobile-first-record-flow {
    margin-top: -52px;
    margin-bottom: -80px;
  }
}

@media (max-width: 360px) {
  .mobile-first-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .mobile-first-hub .mobile-first-section-heading {
    padding-right: 16px;
    padding-left: 16px;
  }

}

@media (min-width: 521px) {
  .mobile-first-page,
  .site-footer {
    border-right: 0;
    border-left: 0;
  }

  .mobile-first-section {
    width: min(100%, 520px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (min-width: 1024px) {
  .mobile-first-page {
    max-width: none;
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .mobile-first-hero .mobile-first-shell {
    width: min(calc(100% - 96px), 1180px);
    padding: 76px 0 90px;
    text-align: center;
  }

  .mobile-first-logo {
    width: 350px;
    margin: 0 auto;
  }

  .mobile-first-orange-rule {
    width: 350px;
    margin-right: auto;
    margin-left: auto;
  }

  .mobile-first-orange-rule-secondary {
    display: block;
    margin-top: 34px;
  }

  .mobile-first-hero h1 {
    margin-top: 34px;
    font-size: clamp(2.45rem, 3.4vw, 3.1rem);
    line-height: 1.2;
    letter-spacing: -0.055em;
    white-space: nowrap;
  }

  .mobile-first-hero h1 br {
    display: none;
  }

  .mobile-first-hero h1 strong {
    display: inline;
    margin-top: 0;
  }

  .mobile-first-hero-lead {
    font-size: 1.08rem;
    white-space: nowrap;
  }

  .mobile-first-form {
    grid-template-columns: 1fr;
    gap: 12px;
    width: min(100%, 420px);
    margin: 42px auto 0;
  }

  .mobile-first-form input,
  .mobile-first-action {
    min-height: 54px;
    border-radius: 12px;
  }

  .mobile-first-action {
    width: min(68%, 240px);
    padding: 0 18px;
    font-size: 1rem;
    border-radius: 999px;
  }

  .mobile-first-action-register {
    grid-column: 1;
    grid-row: 2;
  }

  .mobile-first-action-demo {
    grid-column: 1;
    grid-row: 3;
  }

  .mobile-first-recover-link {
    grid-column: 1;
    grid-row: 4;
    font-size: 0.86rem;
  }

  .mobile-first-section {
    display: block;
    width: min(calc(100% - 96px), 1180px);
    min-height: 0;
    margin: 0 auto;
    padding: 96px 0 104px;
    box-sizing: border-box;
  }

  .mobile-first-section h2 {
    font-size: clamp(2rem, 2.6vw, 2.35rem);
    line-height: 1.3;
    white-space: nowrap;
  }

  .mobile-first-section-heading br {
    display: none;
  }

  .mobile-first-section-heading > p:not(.mobile-first-section-number):not(.mobile-first-organizer-note) {
    max-width: none;
    margin-top: 16px;
    font-size: 1.05rem;
    line-height: 1.6;
    white-space: nowrap;
  }

  .mobile-first-hub {
    padding: 96px 0 104px;
  }

  .mobile-first-hub .mobile-first-section-heading {
    padding: 0;
  }

  .mobile-first-hub-visual {
    position: relative;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 42px 36px;
    width: min(100%, 1120px);
    margin: 58px auto 0;
    padding: 0;
  }

  .mobile-first-node {
    position: relative;
    z-index: 2;
    grid-column: span 2;
    min-height: 300px;
  }

  .mobile-first-node img {
    height: clamp(245px, 22vw, 320px);
  }

  .mobile-first-node-attendance {
    grid-column: span 2;
    width: auto;
    min-height: 300px;
  }

  .mobile-first-node-attendance img {
    height: clamp(245px, 22vw, 320px);
  }

  .mobile-first-node-personal {
    grid-column: 2 / span 2;
  }

  .mobile-first-node-club {
    grid-column: 4 / span 2;
  }

  .mobile-first-node figcaption {
    font-size: 1rem;
  }

  .mobile-first-process {
    position: relative;
    display: block;
    width: min(100%, 1120px);
    margin: 16px auto 0;
    overflow: hidden;
  }

  .mobile-first-process > .mobile-first-desktop-composite {
    margin-top: -42px;
  }

  .mobile-first-process > :not(.mobile-first-desktop-composite) {
    display: none;
  }

  .mobile-first-record-flow {
    position: relative;
    width: min(100%, 1120px);
    margin: 58px auto 0;
  }

  .mobile-first-record-flow > :not(.mobile-first-desktop-composite) {
    display: none;
  }

  .mobile-first-desktop-composite {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
  }

  .mobile-first-desktop-composite::after {
    position: absolute;
    z-index: 1;
    inset: -1px;
    background:
      linear-gradient(to right,
        #fff 0%,
        rgba(255, 255, 255, 0.94) 1.5%,
        rgba(255, 255, 255, 0) 7%,
        rgba(255, 255, 255, 0) 93%,
        rgba(255, 255, 255, 0.94) 98.5%,
        #fff 100%),
      linear-gradient(to bottom,
        #fff 0%,
        rgba(255, 255, 255, 0.9) 2%,
        rgba(255, 255, 255, 0) 10%,
        rgba(255, 255, 255, 0) 88%,
        rgba(255, 255, 255, 0.92) 97%,
        #fff 100%);
    content: "";
    pointer-events: none;
  }

  .mobile-first-composite-art {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
  }

  .mobile-first-composite-label {
    position: absolute;
    z-index: 4;
    padding-left: 11px;
    border-left: 4px solid currentColor;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    text-shadow: 0 2px 12px #fff, 0 2px 12px #fff;
  }

  .mobile-first-label-attendance {
    top: 15%;
    left: 2.5%;
    color: var(--mobile-blue);
  }

  .mobile-first-label-matchup {
    top: 21%;
    right: auto;
    left: 72%;
    color: var(--mobile-purple);
  }

  .mobile-first-label-score {
    top: -2%;
    left: 34.5%;
    color: var(--mobile-orange);
  }

  .mobile-first-label-personal {
    top: 34%;
    left: 5%;
    color: var(--mobile-green);
  }

  .mobile-first-label-club {
    top: 34%;
    right: auto;
    left: 75%;
    color: var(--mobile-purple);
  }

  .mobile-first-login-visual {
    width: min(100%, 1120px);
    margin: 16px auto 0;
    overflow: hidden;
  }

  .mobile-first-login {
    padding-bottom: 32px;
  }

  .mobile-first-share-scene-mobile {
    display: none;
  }

  .mobile-first-share-scene-desktop {
    display: block;
    margin-top: -42px;
  }

  .mobile-first-organizer-note {
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    white-space: nowrap;
  }

  .site-footer {
    max-width: none;
    border-right: 0;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
