:root{
  --ct-primary: #5751E1;
  --ct-shadow: rgba(3, 0, 113, 0.85);
  --ct-text: #141431;
  --ct-muted: rgba(11, 11, 20, 0.62);
  --ct-border: rgba(87, 81, 225, 0.28);
  --ct-border-strong: rgba(87, 81, 225, 0.55);
  --ct-bg: #ffffff;
  --ct-field-bg: #ffffff;
  --ct-radius: 14px;
}

.ct-page{
  background: var(--ct-bg);
}

/* hero wrapper */
.ct-hero__container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 90px 20px 80px;
}

.ct-title{
  margin: 0 0 26px;
  font-family: var(--font);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ct-text);
  text-align: center;
}

/* form card-ish */
.ct-form{
  max-width: 820px;
  margin: 0 auto;
  padding: 26px;
  border: 1.6px solid var(--ct-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(11,11,20,0.06);
}

.ct-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.ct-field--full{
  grid-column: 1 / -1;
}

.ct-label{
  display: block;
  margin-bottom: 8px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: rgba(20,20,49,0.78);
  letter-spacing: 0.02em;
}

/* inputs */
.ct-input,
.ct-select{
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: var(--ct-radius);
  border: 1.6px solid var(--ct-border);
  background: var(--ct-field-bg);
  color: var(--ct-text);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color .14s ease, box-shadow .14s ease, transform .08s ease;
}

.ct-select{
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(20,20,49,0.55) 50%),
    linear-gradient(135deg, rgba(20,20,49,0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 12px) 19px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.ct-input::placeholder{
  color: rgba(20,20,49,0.45);
  font-weight: 500;
}

.ct-input:focus,
.ct-select:focus{
  border-color: var(--ct-border-strong);
  box-shadow: 0 0 0 4px rgba(87,81,225,0.12);
}

/* social row */
.ct-social-row{
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 12px;
}

.ct-select--compact{
  height: 46px;
}

/* actions */
.ct-actions{
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ct-submit{
  min-width: 180px;
}

.ct-hint{
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: rgba(20,20,49,0.55);
}

.ct-status{
  margin-top: 12px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: rgba(20,20,49,0.78);
  min-height: 18px;
}

/* socials */
.ct-socials{
  max-width: 820px;
  margin: 22px auto 0;
  text-align: center;
}

.ct-socials__title{
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: rgba(20,20,49,0.55);
  margin-bottom: 10px;
}

.ct-socials__icons{
  display: flex;
  justify-content: center;
  gap: 12px;
}

.ct-icon{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.6px solid var(--ct-border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  opacity: .7;
}

.ct-icon:hover{
  transform: translateY(-1px);
  border-color: rgba(87,81,225,0.45);
  box-shadow: 0 14px 30px rgba(11,11,20,0.10);
  opacity: 1;
}

.ct-icon img{
  width: 44px;
  height: 44px;
  display: block;
}

/* mobile */
@media (max-width: 720px){
  .ct-hero__container{ padding: 40px 14px 64px; }

  /* форма ниже по высоте */
  .ct-form{ padding: 14px; }

  .ct-grid{
    grid-template-columns: 1fr;
    gap: 12px; /* было 16px 18px на desktop */
  }

  .ct-label{ margin-bottom: 6px; }

  /* поля ниже */
  .ct-input,
  .ct-select{
    height: 42px;      /* было 46px */
    padding: 0 12px;   /* было 14px */
    font-size: 13px;   /* было 14px */
  }

  .ct-social-row{ grid-template-columns: 1fr; }

  .ct-actions{
    margin-top: 14px; /* было 18px */
    flex-direction: column;
    align-items: stretch;
    gap: 12px;        /* было 16px */
  }

  .ct-submit{ width: 100%; }

  .ct-title{ font-size: 26px; } /* было 28px */
}

