:root {
  --bg: #050505;
  --card: #111111;
  --card-strong: #151515;
  --text: #ffffff;
  --muted: #a6a6a6;
  --line: #262626;
  --green: #39ff14;
  --green-alt: #7cff00;
  --danger: #ff5c5c;
}

@font-face {
  font-family: "VEXA";
  src: url("assets/VEXA.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "VEXA";
  src: url("assets/VEXAlight.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "VEXA";
  src: url("assets/VEXAthin.ttf") format("truetype");
  font-weight: 100 200;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(57, 255, 20, 0.16), transparent 28rem),
    linear-gradient(180deg, #050505 0%, #080808 56%, #050505 100%);
  font-family:
    "VEXA",
    "Tahoma",
    Arial,
    sans-serif;
  line-height: 1.6;
}

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

.page-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 24px 16px 18px;
}

.hero {
  display: grid;
  gap: 20px;
}

.brand {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.brand-logo {
  display: block;
  width: min(210px, 72vw);
  height: auto;
}

.intro {
  display: grid;
  gap: 10px;
  text-align: center;
}

.launch-note {
  margin: 0;
  color: var(--green-alt);
  font-size: 0.88rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(124, 255, 0, 0.5);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 10vw, 4.9rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
}

.signup-card {
  background: rgba(17, 17, 17, 0.96);
  border: 1px solid rgba(57, 255, 20, 0.22);
  box-shadow:
    0 0 30px rgba(57, 255, 20, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.5);
  padding: 20px;
}

.signup-card h2 {
  margin-bottom: 16px;
  font-size: 1.35rem;
  line-height: 1.25;
}

form {
  display: grid;
  gap: 14px;
}

.field {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
}

label,
.radio-label {
  color: #ececec;
  font-size: 0.93rem;
  font-weight: 700;
  direction: rtl;
  text-align: right;
}

.radio-label {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0 0 14px;
  padding: 0;
  white-space: normal;
  overflow-wrap: normal;
}

input,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid #343434;
  border-radius: 0;
  outline: 0;
  background: #080808;
  color: var(--text);
  padding: 13px 14px;
  direction: rtl;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

input:focus,
textarea:focus {
  border-color: var(--green);
  background: #050505;
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.12);
}

.custom-select {
  position: relative;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 52px;
  border: 1px solid #343434;
  border-radius: 0;
  background: #080808;
  color: var(--text);
  padding: 13px 14px;
  text-align: right;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.custom-select-trigger:focus-visible,
.custom-select.open .custom-select-trigger {
  border-color: var(--green);
  background: #050505;
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.12);
}

.select-arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%2339FF14' stroke-width='2.4' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform 160ms ease;
}

.custom-select.open .select-arrow {
  transform: rotate(180deg);
}

.custom-options {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: grid;
  max-height: 240px;
  overflow: auto;
  border: 1px solid rgba(57, 255, 20, 0.42);
  background: #080808;
  box-shadow:
    0 0 26px rgba(57, 255, 20, 0.12),
    0 18px 50px rgba(0, 0, 0, 0.62);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.custom-select.open .custom-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.custom-options button {
  min-height: 50px;
  border: 0;
  border-bottom: 1px solid #202020;
  border-radius: 0;
  background: #080808;
  color: var(--text);
  padding: 12px 14px;
  text-align: right;
  cursor: pointer;
}

.custom-options button:last-child {
  border-bottom: 0;
}

.custom-options button:hover,
.custom-options button:focus-visible,
.custom-options button[aria-selected="true"] {
  outline: 0;
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.15), #101010);
  color: var(--green);
}

.radio-group {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 0;
}

.radio-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.radio-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #303030;
  background: #090909;
  padding: 11px 12px;
  cursor: pointer;
  overflow: hidden;
}

.radio-options span {
  min-width: 0;
  overflow-wrap: normal;
  white-space: normal;
}

.radio-options input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--green);
}

.form-message {
  min-height: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-message.success {
  color: var(--green);
}

.form-message.error {
  color: var(--danger);
}

.submit-button {
  min-height: 56px;
  border: 1px solid var(--green);
  border-radius: 0;
  background: linear-gradient(135deg, var(--green), var(--green-alt));
  color: #020202;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 26px rgba(57, 255, 20, 0.26);
  transition:
    filter 160ms ease,
    transform 160ms ease,
    opacity 160ms ease;
}

.submit-button:active {
  transform: translateY(1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.7;
  filter: grayscale(0.35);
}

.success-panel {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 22px 0 4px;
  text-align: center;
}

.success-panel[hidden] {
  display: none;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 28px rgba(57, 255, 20, 0.22);
}

.success-panel h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.success-panel p {
  color: var(--muted);
}

.share-button {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--green);
  border-radius: 0;
  background: #080808;
  color: var(--green);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.12);
  transition:
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.share-button:hover,
.share-button:focus-visible {
  outline: 0;
  background: var(--green);
  color: #020202;
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.26);
}

.share-message {
  min-height: 22px;
  font-size: 0.9rem;
}

.benefits {
  display: grid;
  gap: 10px;
}

.benefits div {
  border-right: 3px solid var(--green);
  background: rgba(17, 17, 17, 0.74);
  color: #eeeeee;
  padding: 12px 14px;
  font-size: 0.95rem;
}

.footer {
  display: grid;
  gap: 8px;
  justify-items: center;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 18px 16px 28px;
  color: #8d8d8d;
  text-align: center;
  font-size: 0.88rem;
}

.footer a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.policy-shell {
  max-width: 860px;
}

.policy-header {
  display: flex;
  justify-content: center;
  padding: 4px 0 20px;
}

.policy-logo-link {
  display: inline-flex;
}

.policy-card {
  display: grid;
  gap: 20px;
  border: 1px solid rgba(57, 255, 20, 0.24);
  background: rgba(17, 17, 17, 0.96);
  padding: 18px;
}

.policy-title {
  display: grid;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.policy-title p,
.policy-title h1,
.policy-title span,
.policy-intro,
.policy-section p {
  margin: 0;
}

.policy-title p {
  color: var(--green);
  font-weight: 900;
}

.policy-title h1 {
  font-size: clamp(2rem, 9vw, 3.2rem);
}

.policy-title span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.policy-intro,
.policy-section p,
.policy-steps {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.95;
}

.policy-steps {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-inline-start: 24px;
}

.policy-section {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.policy-section h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
}

.policy-section a {
  color: var(--green);
  font-weight: 900;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.english-fallback {
  direction: ltr;
  text-align: left;
}

@media (min-width: 760px) {
  .page-shell {
    padding: 34px 24px 26px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    align-items: start;
    gap: 28px;
  }

  .brand {
    grid-column: 1 / -1;
  }

  .brand-logo {
    width: 244px;
  }

  .intro {
    position: sticky;
    top: 32px;
    min-height: 520px;
    align-content: center;
    text-align: right;
  }

  .subtitle {
    margin: 0;
    font-size: 1.08rem;
  }

  .signup-card {
    padding: 24px;
  }

  .policy-card {
    padding: 26px;
  }

  .benefits {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1080px) {
  .page-shell {
    padding-top: 42px;
  }

  .hero {
    gap: 42px;
  }

  .signup-card {
    margin-top: 8px;
  }
}
