
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #080b09;
  --panel: #0e1311;
  --panel-2: #141a17;
  --panel-3: #1a211d;
  --line: rgba(235, 245, 230, .08);
  --line-2: rgba(235, 245, 230, .15);
  --text: #f1f4e9;
  --muted: #9aa79c;
  --faint: #6d7a70;
  --lime: #c9f24d;
  --lime-2: #ddfa74;
  --lime-deep: #7d9c22;
  --coral: #ff8a63;
  --ink: #0a0d06;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 85% -100px, rgba(201, 242, 77, .09), transparent 68%),
    radial-gradient(700px 480px at -8% 10%, rgba(96, 140, 255, .06), transparent 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.topbar { padding: 20px 0; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .05em; }
.brand-text small { color: var(--muted); font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; margin-top: 3px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13.5px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.back-link:hover { color: var(--text); border-color: var(--line-2); }
.back-link svg { width: 15px; height: 15px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  height: 46px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), filter .16s;
}
.btn svg { width: 16px; height: 16px; }
.btn-lime {
  background: linear-gradient(180deg, var(--lime-2), var(--lime));
  color: var(--ink);
  box-shadow: 0 5px 0 var(--lime-deep), 0 14px 26px rgba(0, 0, 0, .4);
}
.btn-lime:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-lime:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--lime-deep), 0 8px 14px rgba(0, 0, 0, .4); }
.btn-ghost {
  background: rgba(255, 255, 255, .05);
  border-color: var(--line-2);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .09); transform: translateY(-2px); }
.btn-block { width: 100%; }

.auth-main { flex: 1; display: grid; place-items: center; padding: 30px 0 60px; }
.auth-card {
  width: min(430px, 100%);
  padding: 34px 30px 30px;
  border-radius: 26px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(201, 242, 77, .08), transparent 55%),
    linear-gradient(180deg, #151c18, #0d1210 70%);
  box-shadow: 0 16px 0 -8px #040705, 0 40px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
  text-align: center;
}
.auth-gem { width: 62px; height: 62px; margin: 0 auto 14px; filter: drop-shadow(0 0 20px rgba(201, 242, 77, .4)); }
.auth-card h1 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 6vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.auth-sub { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #0b100d;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { border-color: rgba(201, 242, 77, .55); box-shadow: 0 0 0 3px rgba(201, 242, 77, .12); }
.field input.is-error { border-color: rgba(255, 138, 99, .7); }
.field-icon { position: relative; display: block; }
.field-icon svg {
  position: absolute;
  left: 14px;
  top: 50%;
  translate: 0 -50%;
  width: 17px;
  height: 17px;
  color: var(--faint);
  pointer-events: none;
}
.field-icon input { padding-left: 42px; }
.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .15s var(--ease);
}
.social-btn:hover { background: rgba(255, 255, 255, .09); transform: translateY(-1px); }
.social-btn svg { width: 17px; height: 17px; flex: none; }
.social-note { display: none; margin-top: 8px; color: var(--coral); font-size: 12px; }
.social-note.is-on { display: block; }
.auth-legal { margin: 16px 0 0; color: var(--faint); font-size: 11.5px; line-height: 1.5; }
.field .field-err { display: none; margin-top: 5px; color: var(--coral); font-size: 12px; }
.field.has-error .field-err { display: block; }
.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}
.auth-check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--lime); flex: none; }
.auth-note { margin: 18px 0 0; color: var(--faint); font-size: 13px; }
.auth-note a { color: var(--lime-2); font-weight: 600; text-decoration: none; }
.auth-note a:hover { text-decoration: underline; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-success { display: none; }
.auth-success.is-on { display: block; animation: pop-in .5s var(--ease) both; }
.auth-success .success-ico {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--lime-2), var(--lime));
  color: var(--ink);
  box-shadow: 0 5px 0 var(--lime-deep), 0 0 30px rgba(201, 242, 77, .45);
}
.auth-success .success-ico svg { width: 30px; height: 30px; }
@keyframes pop-in { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }

.help-hero { padding: 46px 0 26px; text-align: center; }
.help-hero h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.03em;
}
.help-hero h1 em { font-style: normal; color: var(--lime); }
.help-hero p { margin: 0 auto 24px; max-width: 520px; color: var(--muted); font-size: 15px; }
.help-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 8px 0 16px;
  height: 54px;
  border-radius: 15px;
  border: 1px solid var(--line-2);
  background: #0c110e;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .4);
}
.help-search svg { width: 18px; height: 18px; color: var(--faint); flex: none; }
.help-search input {
  flex: 1;
  height: 100%;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: none;
}
.help-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 22px 0 0; }
.help-chip {
  padding: 8px 15px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.help-chip:hover { color: var(--text); }
.help-chip.is-active { background: linear-gradient(180deg, var(--lime-2), var(--lime)); color: var(--ink); border-color: transparent; box-shadow: 0 3px 0 var(--lime-deep); }

.faq-list { display: flex; flex-direction: column; gap: 12px; margin: 34px auto 0; max-width: 760px; }
.faq-item {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #121814, #0d110e);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.is-open { border-color: rgba(201, 242, 77, .35); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 17px 20px;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-q svg { width: 16px; height: 16px; flex: none; color: var(--lime); transition: transform .25s var(--ease); }
.faq-item.is-open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 18px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.faq-item.is-open .faq-a { display: block; }
.faq-item.is-hidden { display: none; }
.faq-empty { display: none; margin: 30px 0 10px; color: var(--faint); text-align: center; }
.faq-empty.is-on { display: block; }

.help-cta {
  margin: 40px auto 70px;
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 26px 28px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(110% 130% at 100% 0%, rgba(201, 242, 77, .1), transparent 55%),
    linear-gradient(180deg, #151c18, #0d1210);
  box-shadow: 0 14px 0 -7px #040705, 0 30px 60px rgba(0, 0, 0, .5);
}
.help-cta h2 { margin: 0 0 4px; font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.help-cta p { margin: 0; color: var(--muted); font-size: 14px; }

.legal { max-width: 780px; margin: 26px auto 70px; }
.legal .legal-kicker { color: var(--lime); font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.legal h1 { margin: 8px 0 4px; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 7vw, 3rem); line-height: 1.05; letter-spacing: -.03em; }
.legal .legal-updated { margin: 0 0 26px; color: var(--faint); font-size: 12.5px; }
.legal h2 { margin: 28px 0 8px; font-family: var(--display); font-weight: 800; font-size: 1.25rem; }
.legal p, .legal li { color: var(--muted); font-size: 14px; line-height: 1.7; }
.legal ul { margin: 8px 0; padding-left: 20px; }
.legal li { margin: 5px 0; }
.legal strong { color: var(--text); }
.legal a { color: var(--lime-2); }

@media (max-width: 520px) {
  .auth-card { padding: 26px 20px 22px; }
  .help-cta { flex-direction: column; align-items: flex-start; }
  .help-cta .btn { width: 100%; }
}

@media (max-width: 430px) {
  .wrap { width: calc(100% - 28px); }
  .topbar { padding: 14px 0; }
  .back-link span { display: none; }
  .auth-main { padding: 16px 0 46px; }
  .auth-card { padding: 24px 18px 20px; border-radius: 22px; }
  .field input, .help-search input { font-size: 16px; }
  .help-hero { padding: 30px 0 20px; }
  .help-hero h1 { font-size: clamp(2rem, 10vw, 2.6rem); }
  .help-chips { gap: 7px; }
  .help-chip { padding: 9px 13px; font-size: 12.5px; }
  .faq-q { padding: 15px 16px; font-size: 14.5px; }
  .faq-a { padding: 0 16px 15px; }
  .help-cta { padding: 22px 18px; margin: 32px auto 50px; }
}
a, button, input { -webkit-tap-highlight-color: transparent; }
