/* ============================================
   Aevum Labs — Get Connected page
   ============================================ */

.cn-hero{
  position: relative;
  padding: 90px 0 60px;
  border-bottom: 1px dashed var(--border);
}
.cn-hero-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 68px;
}
.cn-hero-inner .testnet-badge{ margin-bottom: 22px; display: inline-flex; }
.cn-title{
  font-family: var(--sans);
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.cn-title .dim{ color: var(--fg-dim); font-weight: 600; }
.cn-title .bright{ color: var(--fg); }
.cn-desc{
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--fg-dim);
  max-width: 62ch;
  margin: 0;
}

.cn-section{
  padding: 76px 0;
  border-bottom: 1px dashed var(--border);
}
.cn-section-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 68px;
}
.cn-section-head{ max-width: 620px; margin-bottom: 40px; }
.cn-section-head h2{
  font-family: var(--sans);
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 10px;
}
.cn-section-head p{
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--fg-dim);
  margin: 0;
}

/* ---- Tool grid ---- */
.cn-tool-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.cn-tool-card{
  display: block;
  padding: 24px 24px 26px;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transition: background .15s ease;
}
.cn-tool-card:hover{ background: rgba(255,255,255,0.02); }
.cn-tool-card:nth-child(3n+1){ border-left: none; }
.cn-tool-card:nth-child(-n+3){ border-top: none; }
.cn-tool-card.is-locked{ cursor: not-allowed; }
.cn-tool-card.is-locked:hover{ background: transparent; }
.cn-tool-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cn-tool-card h3{
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  margin: 0;
}
.cn-tool-card.is-locked h3{ color: var(--fg-dim); }
.cn-tool-lock{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--fg-dimmer);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 2px 6px;
  flex-shrink: 0;
}
.cn-tool-card p{
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg-dim);
  margin: 0;
}

/* ---- Signup form ---- */
.cn-form-grid{
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 60px;
  align-items: start;
}
.cn-form-copy p{
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  color: var(--fg-dim);
  margin: 0;
  max-width: 42ch;
}
.cn-form{ max-width: 460px; }
.cn-field{ margin-bottom: 18px; }
.cn-label{
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  margin-bottom: 9px;
}
.cn-select, .cn-textarea, .cn-input{
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 13px 15px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg);
  transition: border-color .15s ease;
}
.cn-select:focus, .cn-textarea:focus, .cn-input:focus{ outline: none; border-color: var(--accent); }
.cn-textarea{ resize: vertical; min-height: 72px; }
.cn-input::placeholder, .cn-textarea::placeholder{ color: var(--fg-dimmer); }
.cn-input.has-error{ border-color: #e2685f; }
.cn-error{
  display: block;
  min-height: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #e2685f;
  margin-top: 7px;
}
.cn-submit{
  width: 100%;
  padding: 15px 18px;
  background: var(--accent);
  color: #06110a;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 6px;
  transition: background .15s ease;
}
.cn-submit:hover{ background: #cfff77; }
.cn-privacy{
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dimmer);
  margin: 14px 0 0;
  line-height: 1.6;
}
.cn-privacy a{ color: var(--fg-dim); text-decoration: underline; text-decoration-color: var(--fg-dimmer); }

.cn-success{
  max-width: 460px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: rgba(186,255,61,0.06);
  border: 1px solid rgba(186,255,61,0.3);
  border-radius: 8px;
}
.cn-success[hidden]{ display: none; }
.cn-success-icon{
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(186,255,61,0.15);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.cn-success p{
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-dim);
  margin: 0;
}
.cn-success strong{ color: var(--fg); font-weight: 600; }

/* ---- Footer CTA ---- */
.cn-cta{ padding: 70px 0; text-align: center; border-bottom: none; }
.cn-cta h2{
  font-family: var(--sans);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 24px;
}
.cn-cta-actions{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 940px){
  .cn-hero-inner, .cn-section-inner{ padding: 0 24px; }
  .cn-tool-grid{ grid-template-columns: 1fr; }
  .cn-tool-card{ border-left: none !important; }
  .cn-tool-card:nth-child(n){ border-top: 1px solid var(--border); }
  .cn-tool-card:first-child{ border-top: none; }
  .cn-form-grid{ grid-template-columns: 1fr; gap: 32px; }
}
