:root {
  color-scheme: dark;
  --bg: #050816;
  --bg-soft: #0b1022;
  --panel: rgba(13, 20, 42, 0.82);
  --panel-strong: rgba(18, 28, 58, 0.94);
  --text: #f8fbff;
  --muted: #9eacc8;
  --line: rgba(160, 180, 220, 0.18);
  --blue: #58a6ff;
  --cyan: #3ddbd9;
  --green: #75e0a7;
  --amber: #f4c56a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(61, 219, 217, 0.18), transparent 28rem),
    radial-gradient(circle at 84% 12%, rgba(88, 166, 255, 0.18), transparent 30rem),
    linear-gradient(180deg, #050816 0%, #07101e 44%, #08111f 100%);
  min-height: 100vh;
  letter-spacing: 0;
}

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

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

.topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo,
.brand-badge {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.brand-logo {
  display: block;
  border-radius: 8px;
}

.brand-badge {
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #04111f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 10px 34px rgba(61, 219, 217, 0.24);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 18px;
}

.brand-copy span,
.nav-links a,
.notice span,
p {
  color: var(--muted);
}

.brand-copy span {
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links .nav-primary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.notice,
.hero,
.feature-grid article,
.product-card,
.split,
.faq-list article {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
}

.notice strong {
  color: var(--amber);
  white-space: nowrap;
}

.hero {
  margin-top: 18px;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(88, 166, 255, 0.14), transparent 38%),
    radial-gradient(circle at 76% 28%, rgba(117, 224, 167, 0.14), transparent 22rem);
  pointer-events: none;
}

.hero-copy,
.member-card {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(61, 219, 217, 0.28);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(61, 219, 217, 0.08);
  font-size: 13px;
  font-weight: 700;
}

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

h1 {
  margin-top: 18px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy p {
  margin-top: 22px;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.8;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chips span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  color: #dbeafe;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 700;
  font-size: 14px;
}

.button.primary {
  color: #04111f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-color: transparent;
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.button.ghost {
  color: var(--text);
  background: transparent;
}

.member-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel-strong);
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.card-head span {
  color: var(--muted);
  font-size: 13px;
}

.card-head strong {
  font-size: 18px;
}

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

.metric-grid div {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.metric-grid span,
.steps p,
.faq-list p,
.product-card p,
.feature-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.metric-grid strong {
  color: var(--text);
}

.panel-link {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border-radius: 8px;
  color: #04111f;
  background: var(--green);
  font-weight: 800;
}

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

.feature-grid article,
.product-card,
.faq-list article {
  border-radius: 8px;
  padding: 22px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #06101c;
  background: var(--cyan);
  font-weight: 900;
}

.feature-grid h2,
.product-card h3,
.faq-list h3 {
  margin-top: 16px;
  margin-bottom: 10px;
  font-size: 20px;
}

.section {
  padding: 72px 0 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0;
}

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

.product-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 300px;
}

.product-card .button {
  margin-top: auto;
  width: fit-content;
}

.accent-blue {
  border-top: 3px solid var(--blue);
}

.accent-cyan {
  border-top: 3px solid var(--cyan);
}

.accent-green {
  border-top: 3px solid var(--green);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 30px;
  border-radius: 8px;
}

.section-head.compact {
  display: block;
  margin-bottom: 0;
}

.steps {
  display: grid;
  gap: 12px;
}

.steps article {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.steps span {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #05111e;
  background: var(--blue);
  font-weight: 900;
}

.steps h3 {
  margin-bottom: 4px;
  font-size: 17px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.footer a {
  color: var(--text);
}

.footer span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.contact-hero {
  min-height: 440px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-list article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.contact-list span {
  color: var(--muted);
  font-size: 13px;
}

.contact-list a {
  color: var(--text);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-list p {
  line-height: 1.65;
}

.qr-frame {
  width: 200px;
  height: 200px;
  max-width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 8px;
  background: #fff;
}

.qr-placeholder {
  color: var(--muted);
  font-size: 14px;
}

.contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.contact-line strong {
  overflow-wrap: anywhere;
}

.text-button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.admin-form {
  display: grid;
  gap: 16px;
  max-width: 680px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.admin-form label {
  display: grid;
  gap: 8px;
}

.admin-form label span,
.form-note,
.form-status {
  color: var(--muted);
}

.field {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

.file-field {
  padding: 10px 12px;
}

.form-status {
  min-height: 24px;
}

@media (max-width: 920px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 20px, 1180px);
  }

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

  .hero {
    padding: 22px;
  }

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

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

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

  .split {
    padding: 18px;
  }
}
