* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #0a0a0e;
  color: #f0f0f5;
  line-height: 1.55;
}
a { color: #ff6b6b; text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px 48px; }
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 1100;
}
.site-masthead {
  border-bottom: 1px solid #252530;
  background: rgba(10, 10, 14, 0.92);
  backdrop-filter: blur(8px);
}
.mast-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.mast-inner .nav-toggle { margin-left: auto; }
.brand { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.03em; color: #fff; flex-shrink: 0; }
.brand span { color: #e53935; }
.mast-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1;
}
.mast-brand:hover { opacity: 0.92; text-decoration: none; }
.mast-brand:hover .brand { color: #fff; }
.mast-brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #333;
  border-radius: 8px;
  background: #14141c;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-chrome.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-chrome.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-chrome.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop { display: none; }
.nav { font-size: 0.92rem; }
.nav-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.nav a { color: #ccc; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav a.nav-active { color: #fff; font-weight: 700; }
.nav a.btn-primary:hover { color: #fff; }
.nav-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.nav-actions form { margin: 0; display: block; }
.nav-btn { padding: 8px 14px !important; font-size: 0.85rem !important; }
body.nav-menu-open { overflow: hidden; }

@media (max-width: 899px) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1202;
  }
  .site-masthead {
    position: relative;
    z-index: 1202;
  }
  body.nav-menu-open .site-chrome {
    z-index: 1300;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #0a0a0e;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1290;
  }
  body.nav-menu-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .site-chrome .nav {
    position: fixed;
    inset: 0;
    z-index: 1310;
    display: flex;
    flex-direction: column;
    background: #0a0a0e;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    overflow: hidden;
  }
  body.nav-menu-open .site-chrome .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-panel {
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 72px 24px 32px;
    padding-top: calc(72px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
  }
  .nav-panel > a,
  .nav-panel .nav-link-item {
    display: block;
    width: 100%;
    padding: 20px 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: #e8e8ee;
    border-bottom: 1px solid #252530;
    line-height: 1.3;
  }
  .nav-panel > a.nav-active {
    color: #fff;
    border-bottom-color: #e53935;
  }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 24px;
    padding: 24px 0 0;
    border-top: 1px solid #252530;
  }
  .nav-actions .nav-link-item {
    display: block;
    width: 100%;
    padding: 20px 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: #e8e8ee;
    text-align: left;
    border-bottom: 1px solid #252530;
  }
  .nav-actions a.nav-link-item:hover { color: #fff; text-decoration: none; }
  .nav-actions .btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 20px !important;
    font-size: 1.05rem !important;
    border-radius: 10px;
  }
}

@media (min-width: 900px) {
  .site-chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    background: rgba(10, 10, 14, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #252530;
  }
  .site-masthead {
    flex: 0 0 auto;
    background: transparent;
    backdrop-filter: none;
    border: none;
  }
  .mast-inner {
    padding: 14px 0;
  }
  .mast-inner.wrap {
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: static;
    flex: 1 1 auto;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    background: transparent;
    pointer-events: auto;
    overflow: visible;
  }
  .nav-panel {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 8px 20px;
  }
  .nav-actions {
    flex-wrap: nowrap;
    gap: 8px 12px;
  }
  .nav-backdrop { display: none !important; }
}
.btn { display: inline-block; padding: 10px 18px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; border: none; cursor: pointer; text-decoration: none; }
.btn-primary { background: #e53935; color: #fff; }
.btn-primary:hover { background: #c62828; text-decoration: none; color: #fff; }
.btn-secondary { background: #252530; color: #fff; }
.btn-secondary:hover { background: #333; text-decoration: none; color: #fff; }
.form-section-title { font-size: 1.05rem; margin: 0 0 12px; color: #e8e8ee; }
.branding-fields { border: 1px solid #252530; border-radius: 10px; padding: 16px 18px; margin: 16px 0; }
.branding-fields legend { padding: 0 8px; color: #ccc; font-size: 0.9rem; }
.branding-hint { color: #888; font-size: 0.88rem; margin: 0 0 12px; }
.branding-preview { margin: 8px 0 12px; }
.color-field { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.color-swatch { display: inline-block; width: 28px; height: 28px; border-radius: 6px; border: 1px solid #444; vertical-align: middle; }
.team-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.club-header { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.club-header-logo { border-radius: 10px; object-fit: contain; }
.club-meta { color: #aaa; margin: 4px 0 0; font-size: 0.92rem; }
.flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
.flash.notice { background: #1b3d2a; color: #a5f0b8; }
.flash.alert { background: #3d1b1b; color: #ffb4b4; }
.hero-split {
  padding: 40px 0 48px;
  text-align: left;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px;
  border: 1px solid #3a3a48;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
}
.hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e53935;
  box-shadow: 0 0 10px rgba(229, 57, 53, 0.8);
}
.hero-split h1 {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  margin: 0 0 18px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-accent { color: #e53935; }
.hero-split .tagline {
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  color: #b8b8c4;
  max-width: none;
  margin: 0 0 28px;
  line-height: 1.65;
}
.hero-split .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-bottom: 32px;
}
.hero-features {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 560px;
}
.hero-feature-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 20px;
  box-sizing: border-box;
}
.hero-feature-item:not(.hero-feature-item--last)::after {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  right: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 12%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.08) 88%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}
.hero-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: #e53935;
  font-size: 1.4rem;
  line-height: 1;
}
.hero-feature-icon i {
  display: block;
}
.hero-feature-label {
  display: block;
  width: 100%;
  max-width: 9.5rem;
  margin: 0 auto;
  text-align: center;
  font-size: 0.82rem;
  color: #ccc;
  line-height: 1.4;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: min(420px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.22) 0%, transparent 68%);
  pointer-events: none;
}
.hero-devices-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
}

@media (max-width: 899px) {
  .hero-split { padding: 28px 0 36px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-content { max-width: none; }
  .hero-features {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-feature-item {
    padding: 16px 18px;
  }
  .hero-feature-item:not(.hero-feature-item--last)::after {
    display: none;
  }
  .hero-feature-item:nth-child(odd):not(:nth-child(3))::after {
    display: block;
  }
  .hero-feature-item:nth-child(1)::before,
  .hero-feature-item:nth-child(2)::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.08) 12%,
      rgba(255, 255, 255, 0.32) 50%,
      rgba(255, 255, 255, 0.08) 88%,
      rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
  }
  .hero-visual { min-height: 200px; }
  .hero-devices-img { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero-split .hero-cta { flex-direction: column; }
  .hero-split .hero-cta .btn { width: 100%; text-align: center; }
}
.section { padding: 40px 0; }
.section h2 { font-size: 1.6rem; margin: 0 0 20px; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { background: #14141c; border: 1px solid #2a2a36; border-radius: 12px; padding: 22px; }
.step--visual { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.step--visual .step-num,
.step--visual h3,
.step--visual p { padding-left: 22px; padding-right: 22px; }
.step--visual .step-num { padding-top: 18px; margin: 0; }
.step--visual h3 { margin: 8px 0 0; padding-bottom: 0; }
.step--visual p { margin: 8px 0 0; padding-bottom: 22px; color: #aaa; font-size: 0.92rem; }
.step-visual {
  width: 100%;
  background: #0a0a0e;
  border-bottom: 1px solid #2a2a36;
  line-height: 0;
}
.step-visual-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.step-num { color: #e53935; font-weight: 800; font-size: 0.85rem; }
.plans-teaser { text-align: center; }
.plans-teaser-lead {
  color: #aaa;
  max-width: 520px;
  margin: 0 auto 28px;
}
.plans-teaser-visual {
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 0;
}
.plans-teaser-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.plan-card { background: #14141c; border: 1px solid #2a2a36; border-radius: 14px; padding: 24px; }
.plan-card.featured { border-color: #e53935; }
.plan-card h3 { margin: 0 0 8px; }
.plan-price { font-size: 1.8rem; font-weight: 800; margin: 12px 0; }
.plan-card ul { padding-left: 18px; color: #bbb; margin: 0 0 20px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature-card { background: #14141c; border-radius: 12px; padding: 20px; border: 1px solid #2a2a36; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.site-footer { border-top: 1px solid #252530; padding: 32px 0; margin-top: 40px; color: #888; font-size: 0.88rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.9rem; }
.compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid #2a2a36; text-align: left; }
.compare-table th { color: #aaa; font-weight: 600; }
.card { background: #14141c; border: 1px solid #2a2a36; border-radius: 12px; padding: 20px; margin-bottom: 16px; }

.seo-prose { max-width: 720px; margin: 0 auto; color: #bbb; line-height: 1.65; }
.seo-prose h2 { color: #fff; font-size: 1.25rem; margin: 28px 0 12px; }
.seo-prose h2:first-child { margin-top: 0; }
.seo-prose p { margin: 0 0 14px; }
.seo-prose ul { margin: 0 0 16px; padding-left: 1.25rem; }
.seo-prose a { color: #e53935; }
.seo-page .seo-lead { color: #aaa; max-width: 640px; line-height: 1.55; margin-bottom: 28px; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: #14141c;
  border: 1px solid #2a2a36;
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0 18px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  padding: 16px 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: #e53935;
  font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: #aaa; margin: 0 0 16px; line-height: 1.55; font-size: 0.95rem; }

.legal-doc { max-width: 760px; padding-top: 24px; padding-bottom: 48px; color: #bbb; line-height: 1.65; font-size: 0.95rem; }
.legal-doc h1 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.legal-doc h2 { color: #fff; font-size: 1.1rem; margin: 28px 0 10px; }
.legal-doc p { margin: 0 0 12px; }
.legal-doc ul { margin: 0 0 14px; padding-left: 1.25rem; }
.legal-doc a { color: #e53935; }
.legal-meta { color: #888; font-size: 0.88rem; margin-bottom: 24px; }
.legal-back { margin-top: 32px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 0.88rem; }
.legal-table th, .legal-table td { border: 1px solid #2a2a36; padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-table th { background: #14141c; color: #ccc; }
.legal-accept {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 20px 0 10px;
  font-size: 0.9rem;
  color: #c8c8d4;
  line-height: 1.5;
  cursor: pointer;
}
.legal-accept input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 3px 0 0;
  flex-shrink: 0;
  accent-color: #e53935;
  cursor: pointer;
}
.legal-accept-text { flex: 1; min-width: 0; }
.legal-accept-text a { color: #e53935; text-decoration: underline; }
.legal-accept-hint {
  font-size: 0.82rem;
  color: #9a9aaa;
  margin: 0 0 18px;
  line-height: 1.5;
  padding-left: 30px;
}
.auth-forgot { margin: 4px 0 14px; font-size: 0.88rem; text-align: right; }
.auth-forgot a { color: #e53935; }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { padding: 8px; border-bottom: 1px solid #2a2a36; text-align: left; }
input, select {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #3d3d4a;
  background: #1c1c26;
  color: #fff;
  font-size: 1rem;
}
input:focus, select:focus {
  outline: none;
  border-color: #e53935;
  box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.25);
}
input::placeholder { color: #666; }
label { display: block; margin-bottom: 6px; font-size: 0.9rem; color: #c8c8d4; font-weight: 500; }
.auth-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 48px 20px 64px;
  text-align: center;
}
.auth-page h1 { margin: 0 0 8px; color: #fff; }
.auth-page .auth-lead { color: #b8b8c4; margin: 0 0 24px; max-width: 480px; line-height: 1.5; }
.auth-page .card {
  width: 100%;
  max-width: 440px;
  margin: 0;
  padding: 28px 26px;
  text-align: left;
  background: #16161e;
  border: 1px solid #3a3a48;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.auth-page .card form .btn-primary {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  font-size: 1rem;
}
.auth-page .card-wide { max-width: 480px; }
.auth-page .auth-footer { margin-top: 20px; font-size: 0.92rem; color: #aaa; text-align: center; }
