:root {
  --bg: #eef1f4;
  --bg-secondary: #f8fafb;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.84);
  --text: #17212b;
  --muted: #5e6b78;
  --border: rgba(255, 255, 255, 0.7);
  --line: rgba(21, 35, 49, 0.08);
  --shadow: 0 14px 40px rgba(25, 42, 62, 0.08);
  --shadow-soft: 0 10px 24px rgba(22, 34, 51, 0.06);
  --orange: #ff7a18;
  --pink: #fe205f;
  --yellow: #f4e428;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --anchor-offset: 92px;
  color-scheme: light;
}

body[data-theme="dark"] {
  --bg: #0f141a;
  --bg-secondary: #171f27;
  --panel: rgba(21, 29, 38, 0.76);
  --panel-strong: rgba(24, 33, 43, 0.9);
  --text: #edf3f8;
  --muted: #9eb0bf;
  --border: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.26);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 122, 24, 0.08), transparent 24%),
    radial-gradient(circle at 85% 14%, rgba(254, 32, 95, 0.08), transparent 18%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg-secondary) 70%, white 30%) 0%, var(--bg) 52%, color-mix(in srgb, var(--bg) 88%, black 12%) 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(28, 41, 56, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 41, 56, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 95%);
  opacity: 0.65;
}

body[data-theme="dark"]::before {
  opacity: 0.32;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 24px 0 48px;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  margin-bottom: 26px;
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 16px;
  z-index: 200;
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 28px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: translateX(-50%);
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    top 180ms ease;
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 23px;
}

.nav-toggle span:nth-child(3) {
  top: 30px;
}

.topbar.menu-open .nav-toggle span:nth-child(1) {
  top: 23px;
  transform: translateX(-50%) rotate(45deg);
}

.topbar.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.topbar.menu-open .nav-toggle span:nth-child(3) {
  top: 23px;
  transform: translateX(-50%) rotate(-45deg);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.support-toggle {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
  color: var(--pink);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.support-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.theme-toggle {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
  position: relative;
}

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

.theme-toggle:focus-visible {
  outline: 2px solid rgba(255, 122, 24, 0.45);
  outline-offset: 3px;
}

.theme-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.theme-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.theme-icon-moon {
  opacity: 0;
  transform: scale(0.7) rotate(-16deg);
}

body[data-theme="dark"] .theme-toggle {
  background: rgba(18, 25, 33, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}

body[data-theme="dark"] .support-toggle,
body[data-theme="dark"] .nav-toggle {
  background: rgba(18, 25, 33, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}

body[data-theme="dark"] .theme-icon-sun {
  opacity: 0;
  transform: scale(0.7) rotate(16deg);
}

body[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--orange);
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.nav-cta {
  color: #fff;
  background: linear-gradient(180deg, #ff8c34 0%, var(--orange) 100%);
  box-shadow: 0 12px 24px rgba(255, 122, 24, 0.22);
}

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

.section {
  padding: 18px 0 34px;
  scroll-margin-top: var(--anchor-offset);
}

.hero {
  padding-top: 18px;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 26%);
  pointer-events: none;
}

.hero-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(1.7rem, 2.15vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.hero-text,
.section-heading p,
.text-panel p,
.card p,
.split-grid p,
.support-panel p,
.footer p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1rem;
}

.hero-text p {
  margin: 0 0 12px;
}

.hero-text p:last-child {
  margin-bottom: 0;
}

.hero-video {
  margin-top: 18px;
}

.video-wrapper {
  max-width: 560px;
}

.video-wrapper .eyebrow {
  margin-bottom: 10px;
}

.video-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.7);
}

.video-frame iframe {
  width: 100%;
  height: 315px;
  display: block;
  border: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 26px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #ff8d35 0%, var(--orange) 100%);
  box-shadow: 0 12px 28px rgba(255, 122, 24, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 122, 24, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

body[data-theme="dark"] .button-secondary,
body[data-theme="dark"] .status-pill,
body[data-theme="dark"] .mini-card,
body[data-theme="dark"] .station,
body[data-theme="dark"] .theme-toggle {
  background: rgba(18, 25, 33, 0.8);
}

body[data-theme="dark"] .video-frame {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(12, 17, 23, 0.9);
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-orange {
  background: var(--orange);
}

.dot-pink {
  background: var(--pink);
}

.dot-yellow {
  background: var(--yellow);
}

.radar-panel {
  padding: 22px;
}

.radar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.83rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #32c16c;
  box-shadow: 0 0 0 6px rgba(50, 193, 108, 0.12);
}

.radar-map {
  position: relative;
  min-height: 320px;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(244, 228, 40, 0.18), transparent 18%),
    radial-gradient(circle at 76% 68%, rgba(254, 32, 95, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 250, 251, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.embed-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 247, 250, 0.92)),
    linear-gradient(135deg, rgba(255, 122, 24, 0.05), rgba(254, 32, 95, 0.04));
}

body[data-theme="dark"] .radar-map {
  background:
    radial-gradient(circle at 18% 22%, rgba(244, 228, 40, 0.12), transparent 18%),
    radial-gradient(circle at 76% 68%, rgba(254, 32, 95, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(24, 33, 43, 0.88), rgba(17, 24, 32, 0.96));
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .embed-shell {
  background:
    linear-gradient(180deg, rgba(24, 33, 43, 0.88), rgba(16, 22, 29, 0.96)),
    linear-gradient(135deg, rgba(255, 122, 24, 0.06), rgba(254, 32, 95, 0.05));
}

.embed-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(255, 122, 24, 0.06), rgba(255, 255, 255, 0));
  transition: opacity 180ms ease;
}

body[data-theme="dark"] .embed-overlay {
  background:
    linear-gradient(180deg, rgba(15, 20, 26, 0.18), rgba(15, 20, 26, 0.76)),
    linear-gradient(135deg, rgba(255, 122, 24, 0.08), rgba(255, 255, 255, 0));
}

.embed-overlay strong {
  color: var(--text);
  font-size: 1rem;
}

.embed-overlay p {
  margin: 0;
}

.embed-shell:not(.is-loading) .embed-overlay {
  opacity: 0;
  pointer-events: none;
}

.radar-embed {
  width: 100%;
  min-height: 320px;
  border: 0;
  display: block;
  background: #f7f8fa;
}

body[data-theme="dark"] .radar-embed {
  background: #131a21;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 36, 50, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 36, 50, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}

.route,
.train {
  position: absolute;
}

.route {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 122, 24, 0.12), rgba(255, 122, 24, 0.9));
  transform-origin: left center;
}

.route-a {
  width: 58%;
  left: 12%;
  top: 42%;
  transform: rotate(12deg);
}

.route-b {
  width: 42%;
  left: 38%;
  top: 58%;
  transform: rotate(-24deg);
}

.station {
  position: absolute;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 0.78rem;
  box-shadow: var(--shadow-soft);
}

.station-a {
  left: 15%;
  top: 26%;
}

.station-b {
  left: 48%;
  top: 40%;
}

.station-c {
  right: 14%;
  bottom: 18%;
}

.train {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 8px rgba(255, 122, 24, 0.14);
}

.train-a {
  top: 38%;
  left: 33%;
}

.train-b {
  top: 54%;
  left: 61%;
  background: var(--pink);
  box-shadow: 0 0 0 8px rgba(254, 32, 95, 0.12);
}

.train-c {
  top: 68%;
  left: 48%;
  background: #ffb449;
  box-shadow: 0 0 0 8px rgba(244, 228, 40, 0.18);
}

.radar-stats,
.stat-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.radar-stats {
  grid-template-columns: 1fr;
}

.mini-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.mini-card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.mini-card strong {
  font-size: 1.4rem;
  line-height: 1;
}

.mini-card strong a {
  color: var(--orange);
}

.launch-card strong {
  font-size: 2rem;
}

.compact-status {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.compact-status-copy {
  margin-bottom: 14px;
}

.compact-status-copy .eyebrow {
  margin-bottom: 10px;
}

.compact-status-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.compact-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.compact-status-card {
  padding: 14px;
}

.compact-status-card strong {
  font-size: 1.15rem;
}

.compact-note {
  margin-top: 14px;
}

.hero-separator {
  height: 2px;
  width: 100%;
  margin-top: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 122, 24, 0.9), rgba(255, 122, 24, 0.18));
  box-shadow: 0 0 28px rgba(255, 122, 24, 0.25);
}

.section-heading {
  max-width: none;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.status-note {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.status-note a {
  color: var(--orange);
  font-weight: 700;
}

.text-panel {
  max-width: none;
}

.about-join-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: center;
}

.about-join-media {
  display: flex;
  align-items: stretch;
}

.image-popup-trigger {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.about-screenshot {
  width: 100%;
  min-height: 260px;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  display: block;
}

.about-join-copy p:last-child {
  margin-bottom: 0;
}

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

.card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.screenshot-placeholder {
  display: flex;
  align-items: stretch;
}

.section-screenshot {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: left top;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  display: block;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 14, 20, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 500;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  max-width: min(92vw, 1500px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(18, 25, 33, 0.9);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.download-info h3 {
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 16px;
}

.download-info ul {
    margin: 6px 0 10px 18px;
}

.download-info a {
    color: #ff7a18;
    text-decoration: none;
}

.download-info a:hover {
    text-decoration: underline;
}

.download-info .note {
    font-size: 0.9em;
    color: #666;
}

.paypal-button{
	margin-bottom:0;
}

.kofi-button{
	margin-top:0;
}

.donation-footnote{
	margin-top:25px;
	color:#666;
}

.paypal-modern{
	background:#0070ba;
	color:white;
	border:none;
	padding:14px 30px;
	font-size:16px;
	border-radius:6px;
	cursor:pointer;
	font-weight:600;
}

.paypal-modern:hover{
	background:#005ea6;
}


.placeholder-frame {
  min-height: 280px;
  width: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px dashed rgba(255, 122, 24, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(247, 249, 251, 0.85)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 122, 24, 0.04),
      rgba(255, 122, 24, 0.04) 12px,
      rgba(255, 255, 255, 0.25) 12px,
      rgba(255, 255, 255, 0.25) 24px
    );
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
}

body[data-theme="dark"] .placeholder-frame {
  border-color: rgba(255, 122, 24, 0.28);
  background:
    linear-gradient(180deg, rgba(21, 29, 38, 0.74), rgba(17, 24, 32, 0.92)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 122, 24, 0.05),
      rgba(255, 122, 24, 0.05) 12px,
      rgba(255, 255, 255, 0.03) 12px,
      rgba(255, 255, 255, 0.03) 24px
    );
}

body[data-theme="dark"] .about-screenshot {
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .compact-status {
  background: rgba(18, 25, 33, 0.76);
  border-color: rgba(255, 255, 255, 0.08);
}

.stat-stack {
  grid-template-columns: 1fr;
}

.mini-card.large strong {
  font-size: 1.55rem;
}

.tutorial-card a {
  margin-top: 18px;
  color: var(--orange);
  font-weight: 600;
}

.card-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--orange);
  background: rgba(255, 122, 24, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-section {
  padding-top: 44px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 248, 243, 0.75)),
    var(--panel-strong);
}

body[data-theme="dark"] .cta-panel {
  background:
    linear-gradient(135deg, rgba(24, 33, 43, 0.92), rgba(18, 25, 33, 0.86)),
    var(--panel-strong);
}

.compact {
  margin-bottom: 0;
}

.support-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 22px;
}

.support-actions {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-grid p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.6;
}

.about-grid p:last-child {
  margin-bottom: 0;
}

.about-grid a {
  color: var(--orange);
  font-weight: 600;
}

.footer {
  margin-top: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer h2 {
  margin: 0 0 8px;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .topbar {
    border-radius: 28px;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--panel-strong);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    z-index: 210;
  }

  .topbar.menu-open .nav {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topbar-actions {
    justify-self: end;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .card-grid,
  .cta-panel,
  .support-panel,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .support-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .radar-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  :root {
    --anchor-offset: 0px;
  }

  .page-shell {
    width: min(calc(100% - 20px), var(--container));
    padding-top: 12px;
  }

  .topbar {
    padding: 18px;
    grid-template-columns: 1fr auto auto;
    top: 10px;
  }

  .topbar-actions {
    width: auto;
    justify-content: flex-end;
  }

  .nav {
    font-size: 0.9rem;
  }

  .panel {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-meta {
    flex-direction: column;
    gap: 12px;
  }

  .card-grid,
  .radar-stats,
  .compact-status-grid,
  .about-join-panel {
    grid-template-columns: 1fr;
  }

  .compact-status-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 16px 0 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
