:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: #0d0f12;
  color: #f5f7fb;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 220, 255, 0.12),
      transparent 24%
    ),
    linear-gradient(135deg, #0d0f12 0%, #06070a 100%);
}

body {
  line-height: 1.6;
}

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

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

.page-shell {
  min-height: 100vh;
  padding: 2rem 1rem 3rem;
  display: flex;
  align-items: center;
}

.page-inner {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.site-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.6rem;
  background: rgba(15, 18, 22, 0.95);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  min-width: 300px;
  max-width: 100%;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.logo-text {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: lowercase;
}

.logo-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  display: inline-block;
}

.dot-1 {
  background: #09a9ff;
}

.dot-2 {
  background: #05f3ff;
}

.dot-3 {
  background: #a4f52a;
}

.dot-4 {
  background: #ffe15f;
}

.dot-5 {
  background: #f96fff;
}

.brand-copy {
  display: grid;
  gap: 0.15rem;
}

.brand-copy .brand-title {
  color: #f8fbff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-copy .brand-subtitle {
  color: #9ca3af;
  font-size: 0.9rem;
}

.header-panel {
  margin-bottom: 2rem;
  padding: 1.4rem 1.6rem;
  border-radius: 2rem;
  border: 1px solid rgba(148, 232, 255, 0.18);
  background: rgba(10, 12, 16, 0.82);
}

.header-panel p,
.header-panel h1 {
  margin: 0;
}

.header-panel p:first-child {
  color: #c3e4ff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.02;
  margin: 1rem 0 0.9rem;
  color: #fff;
}

.hero-copy {
  max-width: 720px;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.8;
}

.split-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: start;
}

.panel {
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 13, 18, 0.92);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px);
  padding: 2rem;
}

.panel h2,
.panel h3 {
  margin: 0;
  color: #fff;
}

.panel h2 {
  font-size: 2rem;
  margin-top: 0.6rem;
  margin-bottom: 0.75rem;
}

.panel p {
  color: #bfcfe8;
}

.support-card {
  border-radius: 1.75rem;
  padding: 1.4rem;
  margin-bottom: 1.1rem;
  background: linear-gradient(
    180deg,
    rgba(52, 211, 153, 0.12),
    rgba(15, 23, 42, 0.92)
  );
  border: 1px solid rgba(132, 204, 22, 0.24);
}

.support-card.blue {
  background: linear-gradient(
    180deg,
    rgba(56, 189, 248, 0.12),
    rgba(15, 23, 42, 0.85)
  );
  border-color: rgba(56, 189, 248, 0.24);
}

.support-card.dark {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
}

.support-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.support-card p {
  margin: 0;
  color: #d1d9e4;
}

.support-card a,
.support-card button {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 0;
  background: #06b6d4;
  color: #08101b;
  padding: 0.8rem 1.15rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.support-card button:hover,
.support-card a:hover {
  transform: translateY(-1px);
  background: #0ea5e9;
}

.support-card.dark a {
  background: rgba(56, 189, 248, 0.14);
  color: #bae6fd;
}

.support-card.dark a:hover {
  background: rgba(56, 189, 248, 0.26);
}

.form-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.form-block label {
  display: block;
  color: #e2e8f0;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
}

.form-field {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 19, 29, 0.96);
  color: #eef2ff;
  padding: 0.95rem 1rem;
  min-height: 48px;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-field:focus {
  outline: none;
  border-color: #ffe600;
  box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.18);
}

.form-field::placeholder {
  color: rgba(226, 232, 240, 0.6);
}

textarea.form-field {
  min-height: 140px;
  resize: vertical;
}

select.form-field {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #ffe600 50%),
    linear-gradient(135deg, #ffe600 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

.grid-cols-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.button-primary {
  width: 100%;
  border-radius: 1rem;
  border: none;
  padding: 1rem 1.2rem;
  background: #ffe600;
  color: #2e2e38;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(255, 230, 0, 0.2);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.button-primary:hover:not(:disabled) {
  background: #2e2e38;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(46, 46, 56, 0.24);
}

.button-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.message-banner {
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  color: #d9f99d;
  background: rgba(132, 204, 22, 0.14);
  border: 1px solid rgba(132, 204, 22, 0.22);
  margin-top: 0.5rem;
}

.error-text {
  margin-top: 0.45rem;
  color: #fca5a5;
  font-size: 0.95rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #67e8f9;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section-label::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #22d3ee;
}

.support-links {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.support-pill {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-note {
  margin-top: 1.1rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

@media (max-width: 940px) {
  .page-shell {
    padding: 2rem 1rem 2.5rem;
  }

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

  .grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .site-brand {
    align-items: flex-start;
  }

  .support-links {
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .page-shell {
    padding-top: 1.6rem;
  }

  .site-brand {
    flex-direction: column;
    align-items: stretch;
  }

  .brand-logo {
    width: 100%;
  }

  .header-panel {
    padding: 1.25rem 1rem;
  }

  .hero-title {
    font-size: 2.7rem;
  }

  .support-card {
    padding: 1.25rem;
  }
}
