:root {
  color-scheme: dark;
  --bg: #06080d;
  --bg-soft: #0a0f17;
  --surface: #101722;
  --surface-soft: #151f2c;
  --line: #263345;
  --line-soft: rgba(255, 255, 255, 0.08);
  --ink: #f5f7fb;
  --muted: #9ba8b8;
  --muted-2: #6f7d8f;
  --red: #e13548;
  --red-dark: #961d2b;
  --blue: #3e91cf;
  --gold: #dfb85a;
  --green: #39c277;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 28px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(140deg, #05070b 0%, #0a1018 48%, #07090e 100%);
  background-size: 58px 58px, 58px 58px, auto;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 280px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px;
  background: rgba(5, 7, 11, 0.92);
  border-right: 1px solid var(--line-soft);
  backdrop-filter: blur(16px);
}

main,
.footer {
  margin-left: 280px;
}

.brand {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1.05rem;
  font-weight: 900;
}

.brand img {
  width: 100%;
  height: 78px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  background: #e8edf1;
}

.brand span {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.top-nav a,
.session-button,
.primary-link,
.secondary-link,
.primary-button,
.ghost-button,
.card-button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--ink);
  font-weight: 900;
}

.top-nav a {
  width: 100%;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.07);
  color: #b5c1ce;
}

.top-nav a:hover {
  background: rgba(225, 53, 72, 0.12);
  border-color: rgba(225, 53, 72, 0.38);
  color: #fff;
}

.session-button {
  width: 100%;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.session-button:hover,
.secondary-link:hover,
.ghost-button:hover,
.card-button.muted:hover {
  background: rgba(255, 255, 255, 0.13);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(26px, 4vw, 58px);
  align-items: center;
  padding: clamp(90px, 9vw, 118px) clamp(22px, 4vw, 68px) clamp(48px, 7vw, 92px);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 4.8rem;
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

p,
li,
td,
th,
dd,
span,
strong {
  overflow-wrap: anywhere;
}

.lead,
.section-title p,
.product-card p,
.feedback-grid p,
.project-note p,
.status-grid p {
  color: var(--muted);
}

.lead {
  max-width: 650px;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.primary-link,
.primary-button,
.card-button {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 14px 34px rgba(225, 53, 72, 0.24);
}

.primary-link:hover,
.primary-button:hover,
.card-button:hover {
  filter: brightness(1.08);
}

.secondary-link,
.ghost-button,
.card-button.muted {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.11);
}

.hero-card,
.product-card,
.feedback-grid article,
.status-grid article,
.join-card,
.project-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(21, 31, 44, 0.96), rgba(10, 15, 23, 0.98));
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  display: block;
  background: #e7edf2;
}

.hero-card-body {
  padding: 20px;
}

.mini-label,
.hero-card-body p {
  margin-bottom: 5px;
  color: var(--muted);
}

.hero-card-body > strong {
  display: block;
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.72rem;
  line-height: 1.05;
}

.status-line {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.status-line b {
  color: #fff;
  font-size: 1.28rem;
}

.section {
  padding: clamp(48px, 7vw, 88px) clamp(22px, 4vw, 68px);
}

.section-title {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-title p:last-child {
  max-width: 660px;
  margin-top: 12px;
  margin-bottom: 0;
}

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

.product-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.product-card.featured {
  border-color: rgba(225, 53, 72, 0.65);
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tag {
  min-height: 30px;
  border: 1px solid rgba(57, 194, 119, 0.25);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  background: rgba(57, 194, 119, 0.12);
  color: #72e0a3;
  font-weight: 900;
  white-space: nowrap;
}

.tag.blue {
  background: rgba(62, 145, 207, 0.14);
  border-color: rgba(62, 145, 207, 0.34);
  color: #80c4f4;
}

.tag.gold {
  background: rgba(223, 184, 90, 0.14);
  border-color: rgba(223, 184, 90, 0.34);
  color: #f1d082;
}

.price {
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.product-card ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 24px;
  padding-left: 20px;
  color: #ccd7e1;
}

.product-card .card-button {
  width: 100%;
  margin-top: auto;
}

.feedback-section,
.status-section {
  background: rgba(255, 255, 255, 0.025);
}

.feedback-grid,
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
}

.feedback-grid article,
.status-grid article {
  min-height: 150px;
  padding: 18px;
}

.feedback-grid strong,
.status-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.feedback-grid span {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 900;
}

.status-grid article {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.dot.online {
  background: var(--green);
  box-shadow: 0 0 24px rgba(57, 194, 119, 0.72);
}

.dot.wait {
  background: var(--gold);
  box-shadow: 0 0 24px rgba(223, 184, 90, 0.72);
}

.status-grid p {
  margin-bottom: 0;
}

.join-section {
  padding-top: 76px;
}

.join-layout {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.join-card,
.project-note {
  padding: 22px;
}

.join-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.full-field {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 7px;
  color: #cbd6e2;
  font-size: 0.92rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #304154;
  border-radius: 8px;
  background: #080d14;
  color: #fff;
  outline: none;
  padding: 10px 12px;
}

select {
  appearance: none;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 53, 72, 0.18);
}

.project-note dl {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.project-note div {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.project-note dt {
  color: #fff;
  font-weight: 900;
}

.project-note dd {
  margin: 0;
  color: var(--muted);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer {
  min-height: 76px;
  padding: 18px clamp(22px, 4vw, 68px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

@media (max-width: 1240px) and (min-width: 981px) {
  .hero,
  .join-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 520px;
  }

  .product-grid,
  .feedback-grid,
  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid > :last-child,
  .feedback-grid > :last-child,
  .status-grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  section {
    scroll-margin-top: 190px;
  }

  .site-header,
  .footer {
    flex-direction: column;
  }

  .site-header {
    position: sticky;
    width: auto;
    min-height: 0;
    height: auto;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  main,
  .footer {
    margin-left: 0;
  }

  .brand {
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    padding-bottom: 12px;
  }

  .brand img {
    height: 50px;
  }

  .top-nav {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .top-nav a {
    min-height: 38px;
    justify-content: center;
  }

  .hero,
  .join-layout,
  .join-form {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .feedback-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 560px) {
  section {
    scroll-margin-top: 280px;
  }

  .top-nav a,
  .session-button,
  .hero-actions a,
  .primary-button,
  .ghost-button,
  .card-button {
    width: 100%;
  }

  .top-nav {
    grid-template-columns: 1fr;
    padding-right: 0;
  }

  .top-nav a {
    justify-content: flex-start;
  }

  .session-button {
    min-width: 0;
    padding: 0 12px;
    order: 3;
  }

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

  .brand img {
    height: 68px;
  }

  .join-card,
  .project-note,
  .product-card {
    padding: 16px;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.45rem;
  }
}
