:root {
  --ink: #071627;
  --muted: #5c6670;
  --line: #dfe8e4;
  --paper: #ffffff;
  --soft: #f4f8f5;
  --green: #1f7a3f;
  --green-dark: #0f4d2a;
  --lime: #93c83e;
  --blue: #06245c;
  --orange: #e77822;
  --shadow: 0 22px 60px rgba(7, 22, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  cursor: url("../public/assets/brand/lure-cursor.svg") 5 16, auto;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  cursor: url("../public/assets/brand/lure-cursor.svg") 5 16, pointer;
  text-decoration: none;
}

button,
.button,
[role="button"] {
  cursor: url("../public/assets/brand/lure-cursor.svg") 5 16, pointer;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 232, 228, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 72px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--green-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 20px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--green-dark);
}

.button.secondary {
  color: var(--green-dark);
  border-color: var(--line);
  background: #fff;
}

.button.dark {
  color: #fff;
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: clamp(640px, 82vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
}

.hero.compact {
  min-height: 560px;
  background: #fff;
}

.hero.clean-hero {
  min-height: 520px;
  color: var(--blue);
  background: #fff;
}

.hero.clean-hero .hero-inner {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 116px 0 120px;
}

.hero.clean-hero .page-title {
  max-width: 980px;
  color: var(--blue);
}

.hero.clean-hero p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #2d3e55;
}

.hero.clean-hero .eyebrow {
  color: var(--green);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.bass-swim {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: none;
  mix-blend-mode: normal;
}

.bass-swim img,
.bass-swim video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 42%;
  display: block;
  border: 0;
  border-radius: 0;
}

.bass-swim::after {
  content: "";
  position: absolute;
  right: clamp(72px, 10vw, 170px);
  bottom: clamp(48px, 10vh, 118px);
  width: 260px;
  height: 92px;
  background: #fff;
  border-radius: 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.hero h1,
.page-title {
  max-width: 780px;
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.strip-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.strip-item {
  padding: 22px 18px;
  border-left: 1px solid var(--line);
}

.strip-item:last-child {
  border-right: 1px solid var(--line);
}

.strip-item strong {
  display: block;
  font-size: 24px;
  color: var(--green-dark);
}

.strip-item span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

.section.soft {
  background: #fff;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head.center {
  margin: 0 auto 48px;
  text-align: center;
}

.section-kicker {
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

h2 {
  margin: 8px 0 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 294px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.feature-card:hover {
  box-shadow: var(--shadow);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green-dark);
  font-size: 22px;
}

.feature-card .icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card p {
  color: var(--muted);
}

.feature-card .link {
  color: var(--green-dark);
  font-weight: 800;
}

.community-overview .community-detail-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px;
}

.community-overview .detail-card {
  width: 100%;
  min-height: 0;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 42px;
  align-items: center;
  border: 0;
  border-radius: 0;
  padding: 46px 42px;
  background: transparent;
  overflow: visible;
}

.community-overview .detail-card-reverse .detail-copy {
  order: 2;
}

.community-overview .detail-card-reverse .circle-device-mask {
  order: 1;
}

.community-overview .detail-copy p {
  max-width: 760px;
  color: var(--muted);
}

.community-overview .detail-card > .device-frame,
.community-overview .detail-card > .device-cluster {
  align-self: center;
  justify-self: center;
  max-width: 100%;
}

.circle-device-mask {
  width: min(340px, 100%);
  aspect-ratio: 1;
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #eaf8fb;
  box-shadow: 0 28px 70px rgba(23, 72, 92, 0.12);
}

.circle-device-mask .circle-device,
.circle-device-mask .social-circle-device {
  width: 205px;
  max-width: none;
  margin-top: 56px;
  transform: rotateY(-5deg) rotateX(2deg) translateY(58px);
}

.circle-device-mask .compact-phone {
  max-height: 420px;
}

.gear-circle-mask {
  width: min(360px, 100%);
}

.gear-circle-mask .gear-device-cluster {
  width: 390px;
  min-height: 390px;
  transform: translateY(42px);
}

.feature-circle-mask {
  width: min(390px, 100%);
}

.feature-circle-mask .circle-device {
  width: 230px;
  transform: rotateY(-5deg) rotateX(2deg) translateY(54px);
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.mini-list li {
  position: relative;
  padding-left: 18px;
}

.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.compact-phone {
  max-height: 380px;
}

.compact-device {
  width: min(220px, 100%);
  justify-self: center;
  border-radius: 42px;
  padding: 10px;
  transform: rotateY(-7deg) rotateX(2deg);
}

.compact-device::before {
  top: 18px;
  width: 70px;
  height: 20px;
}

.device-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  perspective: 1200px;
}

.mini-device {
  width: min(170px, 46%);
}

.mini-device:nth-child(1) {
  transform: rotateY(-10deg) rotateX(2deg) translateY(12px);
}

.mini-device:nth-child(2) {
  transform: rotateY(8deg) rotateX(2deg) translateY(-12px);
}

.device-cluster .compact-device {
  animation: none;
}

.gear-device-cluster {
  width: min(430px, 100%);
  min-height: 430px;
  gap: 0;
}

.gear-device-cluster .mini-device {
  width: min(230px, 52vw);
  flex: 0 0 min(230px, 52vw);
}

.gear-device-cluster .mini-device:nth-child(1) {
  z-index: 2;
  margin-right: -58px;
  transform: rotateY(-8deg) rotateX(2deg) translateY(8px);
}

.gear-device-cluster .mini-device:nth-child(2) {
  z-index: 1;
  margin-left: -16px;
  transform: rotateY(8deg) rotateX(2deg) translateY(-16px);
}

.gear-device-cluster .compact-phone {
  max-height: 430px;
}

.orange {
  color: var(--orange);
}

.orange-button,
.feature-card .orange-icon {
  background: var(--orange);
}

.reference-frame {
  height: 620px;
  border: 1px solid rgba(231, 120, 34, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.reference-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  animation: slow-pan 18s ease-in-out infinite alternate;
}

.reference-frame.small {
  height: 520px;
}

.reference-frame.wide {
  height: 460px;
}

.float-card {
  animation: float-card 5s ease-in-out infinite;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.capability-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(7, 22, 39, 0.08);
}

.capability-card img {
  width: 100%;
  height: 340px;
  border-radius: 6px;
  object-fit: cover;
  object-position: top;
}

.capability-card h3 {
  margin-top: 20px;
  color: var(--orange);
}

.capability-card p {
  color: var(--muted);
}

.motion-panel {
  transform: rotate(-1deg);
  animation: float-card 5.5s ease-in-out infinite;
}

.page-hero {
  display: block;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-hero-inner {
  padding: 72px 0 76px;
  text-align: center;
}

.page-hero-inner .page-title,
.page-hero-inner .lead {
  margin-left: auto;
  margin-right: auto;
}

.page-hero-inner .lead {
  max-width: 780px;
}

.tournament-page .page-hero-inner .page-title {
  max-width: 1000px;
  white-space: nowrap;
}

.center-actions {
  justify-content: center;
}

.tournament-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.tournament-showcase.reverse .showcase-copy {
  order: 2;
}

.tournament-showcase.reverse .showcase-media {
  order: 1;
}

.showcase-copy,
.showcase-media {
  min-width: 0;
}

.showcase-media {
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}

.showcase-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.45s ease;
}

.showcase-media:hover img {
  transform: scale(1.025);
}

.showcase-media.contain-media {
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.showcase-media.contain-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

.showcase-media.contain-media:hover img {
  transform: none;
}

.showcase-media.contain-media.desktop-media img {
  width: min(100%, 640px);
}

.showcase-media.contain-media.judge-media img {
  height: 520px;
  max-height: 70vh;
}

.showcase-media.contain-media.sponsor-media img {
  height: 560px;
  max-height: 76vh;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.process-card strong {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green-dark);
}

.process-card p {
  color: var(--muted);
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes slow-pan {
  0% {
    object-position: top;
  }
  100% {
    object-position: bottom;
  }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 72px;
}

.split.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.split > * {
  min-width: 0;
}

.phone-stage {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.weather-ui-stage {
  min-height: 620px;
}

.weather-dashboard-mock {
  width: min(390px, 84vw);
  min-height: 690px;
  padding: 22px;
  border: 12px solid #111820;
  border-radius: 54px;
  background: #f7fbff;
  box-shadow:
    30px 34px 70px rgba(7, 22, 39, 0.2),
    8px 8px 0 rgba(8, 13, 20, 0.86),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  transform: rotateY(-8deg) rotateX(2deg);
}

.mock-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.weather-main-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 150px;
  border-radius: 28px;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 8%, rgba(255,255,255,0.34), transparent 30%),
    linear-gradient(135deg, #0f766e, #14532d 58%, #0f2540);
}

.weather-main-card strong {
  display: block;
  font-size: 54px;
  line-height: 0.95;
}

.weather-main-card span,
.weather-main-card small {
  display: block;
  margin-top: 8px;
}

.weather-main-card small {
  color: rgba(255,255,255,0.78);
}

.cloud-mark {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: rgba(255,255,255,0.18);
  font-size: 54px;
}

.weather-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.weather-metrics div,
.bite-card {
  border: 1px solid rgba(210, 221, 229, 0.9);
  border-radius: 22px;
  padding: 16px;
  background: #fff;
}

.weather-metrics span,
.bite-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.weather-metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 22px;
}

.weather-metrics small {
  color: var(--muted);
}

.bite-card {
  margin-top: 14px;
}

.bite-card strong {
  display: inline-block;
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 46px;
}

.bite-card em {
  display: block;
  color: var(--muted);
  font-style: normal;
}

.phone {
  width: min(330px, 78vw);
  max-height: 680px;
  object-fit: cover;
  object-position: top;
  border: 10px solid #111;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: #fff;
}

.phone.tall {
  max-height: 760px;
}

.device-frame {
  position: relative;
  width: min(360px, 82vw);
  border-radius: 52px;
  padding: 13px;
  background:
    linear-gradient(135deg, #f3f4f2 0%, #858b92 18%, #1a222b 34%, #0a1018 56%, #c9c9c2 100%);
  box-shadow:
    30px 34px 70px rgba(7, 22, 39, 0.22),
    8px 8px 0 rgba(8, 13, 20, 0.86),
    inset 0 0 0 1px rgba(255, 255, 255, 0.48);
  transform: rotateY(-10deg) rotateX(3deg) rotateZ(0.5deg);
  transform-style: preserve-3d;
}

.device-frame::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 50%;
  z-index: 2;
  width: 92px;
  height: 26px;
  border-radius: 999px;
  background: #070b10;
  box-shadow: inset 12px 0 14px rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
}

.device-frame::after {
  content: "";
  position: absolute;
  inset: 18px auto auto -5px;
  width: 5px;
  height: 86px;
  border-radius: 999px 0 0 999px;
  background: #202934;
}

.device-frame .phone {
  width: 100%;
  max-height: 760px;
  border: 0;
  border-radius: 38px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    inset 0 0 0 2px rgba(7, 22, 39, 0.08);
}

.device-frame.pro-phone {
  animation: device-breathe 6s ease-in-out infinite;
}

.device-frame.compact-device {
  animation: compact-device-breathe 6s ease-in-out infinite;
}

.phone-showcase {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
}

.phone-showcase.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.phone-showcase .phone-stage {
  width: 100%;
  min-height: 560px;
  padding: 0;
  background: transparent;
  perspective: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plain-image-stage {
  perspective: none;
}

.plain-app-image {
  display: block;
  width: auto;
  height: 520px;
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.plain-app-image.tall {
  height: 560px;
}

.phone-showcase .device-frame,
.phone-showcase .device-frame.pro-phone,
.phone-showcase .device-frame.compact-device {
  width: auto;
  max-width: 100%;
  padding: 11px;
  border: 0;
  border-radius: 46px;
  background: linear-gradient(145deg, #d9dee2 0%, #26323d 18%, #05070a 52%, #8b949b 100%);
  box-shadow: 0 26px 64px rgba(4, 18, 33, 0.18);
  transform: none;
  animation: none;
  position: relative;
  overflow: visible;
}

.phone-showcase .device-frame::before,
.phone-showcase .device-frame::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  width: 4px;
  border-radius: 999px;
  background: #1f2933;
}

.phone-showcase .device-frame::before {
  left: -4px;
  top: 88px;
  height: 70px;
}

.phone-showcase .device-frame::after {
  right: -4px;
  top: 170px;
  height: 96px;
}

.phone-showcase .device-frame .phone,
.phone-showcase .device-frame .phone.tall {
  display: block;
  width: auto;
  height: 520px;
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 34px;
  box-shadow: none;
  background: #fff;
  position: relative;
  z-index: 1;
}

@keyframes device-breathe {
  0%,
  100% {
    transform: rotateY(-10deg) rotateX(3deg) rotateZ(0.5deg) translateY(0);
  }
  50% {
    transform: rotateY(-7deg) rotateX(4deg) rotateZ(0.5deg) translateY(-10px);
  }
}

@keyframes compact-device-breathe {
  0%,
  100% {
    transform: rotateY(-7deg) rotateX(2deg) translateY(0);
  }
  50% {
    transform: rotateY(-5deg) rotateX(3deg) translateY(-8px);
  }
}

.image-panel {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  border-top: 3px solid var(--green);
  padding: 22px 0 0;
}

.step strong {
  color: var(--green-dark);
}

.step p {
  color: var(--muted);
}

.cta-band {
  color: var(--ink);
  background: #fff;
  border-top: 1px solid var(--line);
}

.cta-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-inner h2 {
  max-width: 720px;
}

.cta-inner p {
  max-width: 560px;
  color: var(--muted);
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.site-footer::before {
  content: none;
}

.site-footer::after {
  content: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 34px;
}

.footer-grid h4 {
  margin: 0 0 12px;
  color: var(--ink);
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: inherit;
}

.site-footer .brand {
  color: var(--ink);
}

.site-footer p {
  color: var(--muted);
}

.footer-icp {
  width: min(1180px, calc(100% - 40px));
  margin: 26px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.footer-icp a {
  color: inherit;
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(7, 22, 39, 0.55);
}

.qr-modal.is-open {
  display: grid;
}

.qr-box {
  width: min(420px, 100%);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.qr-placeholder {
  width: 210px;
  height: 210px;
  margin: 20px auto;
  display: grid;
  place-items: center;
  border: 1px dashed var(--green);
  color: var(--green-dark);
  background: #fff;
  text-align: center;
  font-weight: 800;
}

.qr-placeholder.qr-image {
  width: min(260px, 100%);
  height: auto;
  aspect-ratio: 892 / 1173;
  padding: 0;
  border: 0;
  background: #fff;
  overflow: hidden;
}

.qr-placeholder.qr-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-box p {
  color: var(--muted);
}

.qr-caption {
  text-align: center;
  font-weight: 800;
  color: var(--ink);
}

.partnership-value-lead {
  font-size: 20px;
}

.footer-miniapp {
  display: grid;
  gap: 10px;
  justify-items: center;
  align-content: start;
  color: var(--muted);
  font-weight: 700;
}

.footer-miniapp img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 8px;
}

.close-row {
  display: flex;
  justify-content: flex-end;
}

.plain-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 24px;
}

@media (max-width: 940px) {
  .menu-button {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-actions .button {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .bass-swim {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
  }

  .bass-swim img {
    object-position: 64% center;
  }

  .page-hero-inner {
    padding: 44px 0 54px;
  }

  .strip-inner,
  .feature-grid,
  .community-detail-grid,
  .capability-grid,
  .process-grid,
  .workflow,
  .footer-grid,
  .tournament-showcase,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .phone-showcase,
  .phone-showcase.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .phone-showcase .phone-stage {
    min-height: auto;
  }

  .phone-showcase .device-frame .phone,
  .phone-showcase .device-frame .phone.tall {
    height: 430px;
    max-height: 68vh;
  }

  .tournament-showcase.reverse .showcase-copy,
  .tournament-showcase.reverse .showcase-media {
    order: initial;
  }

  .detail-card,
  .community-overview .detail-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }

  .community-overview .detail-card-reverse .detail-copy,
  .community-overview .detail-card-reverse .circle-device-mask {
    order: initial;
  }

  .compact-phone,
  .community-overview .compact-phone {
    justify-self: center;
    max-height: 420px;
  }

  .community-overview .compact-device {
    width: min(240px, 100%);
  }

  .circle-device-mask {
    width: min(300px, 100%);
  }

  .circle-device-mask .circle-device,
  .circle-device-mask .social-circle-device {
    width: 198px;
  }

  .feature-circle-mask {
    width: min(320px, 100%);
  }

  .gear-circle-mask .gear-device-cluster {
    width: 350px;
    min-height: 350px;
  }

  .reference-frame,
  .reference-frame.small,
  .reference-frame.wide {
    height: 520px;
  }

  .hero-strip {
    position: static;
  }

  .strip-item {
    border-right: 1px solid var(--line);
  }

  .section {
    padding: 72px 0;
  }

  .phone-stage {
    min-height: auto;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .center-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .nav-wrap,
  .container,
  .hero-inner,
  .cta-inner,
  .footer-grid,
  .strip-inner {
    width: min(100% - 28px, 1180px);
  }

  .hero h1,
  .page-title {
    font-size: 42px;
  }

  .bass-swim {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
  }

  .bass-swim img {
    object-position: 62% center;
  }

  .page-hero-inner {
    padding: 34px 0 44px;
  }

  .tournament-page .page-hero-inner .page-title {
    white-space: normal;
  }

  .feature-card {
    min-height: 240px;
  }

  .image-panel img {
    height: 360px;
  }

  .showcase-media img {
    height: 360px;
  }

  .phone-showcase .device-frame .phone,
  .phone-showcase .device-frame .phone.tall {
    height: 360px;
    max-height: 65vh;
  }

  .detail-card,
  .community-overview .detail-card {
    padding: 22px;
  }

  .community-overview .compact-phone {
    max-height: 380px;
  }

  .circle-device-mask {
    width: min(280px, 100%);
  }

  .circle-device-mask .circle-device,
  .circle-device-mask .social-circle-device {
    width: 185px;
  }

  .feature-circle-mask {
    width: min(292px, 100%);
  }

  .gear-device-cluster {
    min-height: 410px;
  }

  .gear-device-cluster .mini-device {
    width: min(230px, 62vw);
    flex-basis: min(230px, 62vw);
  }

  .gear-device-cluster .mini-device:nth-child(1) {
    margin-right: -52px;
  }

  .gear-device-cluster .mini-device:nth-child(2) {
    margin-left: -18px;
  }

  .capability-card img {
    height: 300px;
  }

  .reference-frame,
  .reference-frame.small,
  .reference-frame.wide {
    height: 430px;
  }
}

/* Unified feature phone frames */
.phone-showcase .phone-stage,
.section .container.split > .phone-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  perspective: none;
}

.phone-showcase .phone-stage .device-frame,
.phone-showcase .phone-stage .device-frame.pro-phone,
.section .container.split > .phone-stage .device-frame,
.section .container.split > .phone-stage .device-frame.pro-phone {
  position: relative;
  width: auto;
  max-width: 100%;
  padding: 11px;
  border: 0;
  border-radius: 46px;
  background: linear-gradient(145deg, #d9dee2 0%, #27323d 18%, #05070a 54%, #8b949b 100%);
  box-shadow: 0 26px 64px rgba(4, 18, 33, 0.18);
  transform: none;
  animation: none;
  overflow: visible;
}

.phone-showcase .phone-stage .device-frame::before,
.phone-showcase .phone-stage .device-frame::after,
.section .container.split > .phone-stage .device-frame::before,
.section .container.split > .phone-stage .device-frame::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 4px;
  border-radius: 999px;
  background: #202a34;
}

.phone-showcase .phone-stage .device-frame::before,
.section .container.split > .phone-stage .device-frame::before {
  left: -4px;
  top: 88px;
  height: 70px;
}

.phone-showcase .phone-stage .device-frame::after,
.section .container.split > .phone-stage .device-frame::after {
  right: -4px;
  top: 170px;
  height: 96px;
}

.phone-showcase .phone-stage .device-frame .phone,
.phone-showcase .phone-stage .device-frame .phone.tall,
.section .container.split > .phone-stage .device-frame .phone,
.section .container.split > .phone-stage .device-frame .phone.tall {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: 520px;
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 34px;
  background: #fff;
  box-shadow: none;
}

@media (max-width: 760px) {
  .phone-showcase .phone-stage,
  .section .container.split > .phone-stage {
    min-height: auto;
  }

  .phone-showcase .phone-stage .device-frame .phone,
  .phone-showcase .phone-stage .device-frame .phone.tall,
  .section .container.split > .phone-stage .device-frame .phone,
  .section .container.split > .phone-stage .device-frame .phone.tall {
    height: min(500px, 74vh);
  }
}
/* End unified feature phone frames */

@media (max-width: 560px) {
  body {
    overflow-x: hidden;
  }

  .nav-wrap {
    min-height: 64px;
    gap: 12px;
  }

  .brand {
    gap: 8px;
    font-size: 15px;
  }

  .brand-logo {
    width: 58px;
    height: 31px;
  }

  .menu-button {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    left: 14px;
    right: 14px;
    top: 64px;
  }

  .hero {
    min-height: 520px;
    align-items: end;
  }

  .hero-inner {
    padding: 42px 0 54px;
  }

  .hero h1,
  .page-title {
    font-size: 38px;
    line-height: 1.08;
  }

  .hero p,
  .lead {
    font-size: 16px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .bass-swim img,
  .bass-swim video {
    object-position: 67% 38%;
  }

  .bass-swim::after {
    display: none;
  }

  .section {
    padding: 54px 0;
  }

  .section-head,
  .section-head.center {
    margin-bottom: 28px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 21px;
  }

  .feature-grid,
  .community-overview .community-detail-grid,
  .capability-grid,
  .process-grid,
  .workflow,
  .tournament-showcase,
  .split,
  .split.reverse,
  .phone-showcase,
  .phone-showcase.reverse {
    gap: 24px;
  }

  .feature-card {
    min-height: 0;
    padding: 20px;
  }

  .community-overview .detail-card,
  .detail-card {
    gap: 22px;
    padding: 22px 0;
  }

  .circle-device-mask {
    width: min(260px, 100%);
  }

  .circle-device-mask .circle-device,
  .circle-device-mask .social-circle-device {
    width: 168px;
    transform: rotateY(-5deg) rotateX(2deg) translateY(44px);
  }

  .feature-circle-mask {
    width: min(270px, 100%);
  }

  .gear-circle-mask {
    width: min(292px, 100%);
  }

  .gear-circle-mask .gear-device-cluster,
  .gear-device-cluster {
    width: min(292px, 100%);
    min-height: 330px;
    justify-self: center;
  }

  .gear-device-cluster .mini-device {
    width: min(180px, 52vw);
    flex-basis: min(180px, 52vw);
  }

  .gear-device-cluster .mini-device:nth-child(1) {
    margin-right: -42px;
  }

  .gear-device-cluster .mini-device:nth-child(2) {
    margin-left: -20px;
  }

  .gear-device-cluster .compact-phone {
    max-height: 330px;
  }

  .phone-showcase .phone-stage .device-frame .phone,
  .phone-showcase .phone-stage .device-frame .phone.tall,
  .section .container.split > .phone-stage .device-frame .phone,
  .section .container.split > .phone-stage .device-frame .phone.tall {
    height: min(410px, 68vh);
  }

  .image-panel img,
  .showcase-media img {
    height: 260px;
  }

  .showcase-media.contain-media img,
  .showcase-media.contain-media.judge-media img,
  .showcase-media.contain-media.sponsor-media img {
    width: 100%;
    height: auto;
    max-height: 430px;
  }

  .reference-frame,
  .reference-frame.small,
  .reference-frame.wide {
    height: 330px;
  }

  .capability-card img {
    height: 240px;
  }

  .cta-inner {
    padding: 52px 0;
  }

  .footer-grid {
    gap: 22px;
  }

  .footer-miniapp {
    justify-items: start;
  }

  .footer-miniapp img {
    width: 96px;
    height: 96px;
  }

  .qr-box {
    padding: 22px;
  }
}
